/* ============================================================
   Heike's Nudelliebe — Color & Style Overrides
   Loaded only on heike-page. Overrides Gillmann's custom.css
   ============================================================ */

:root {
    --h-primary: #a0856b;
    --h-primary-dark: #7a6450;
    --h-primary-light: #c4aa8e;
    --h-bg: #faf6f1;
    --h-card-border: #e8ddd0;
    --h-text: #4a3f35;
    --h-text-muted: #7a6e62;
    --h-accent: #d4a574;
    --h-white: #ffffff;
}

/* ============================================================
   Base
   ============================================================ */

.heike-page {
    background: var(--h-bg);
    color: var(--h-text);
}

.heike-page a {
    color: var(--h-primary);
}

.heike-page a:hover {
    color: var(--h-primary-dark);
}

/* ============================================================
   Header
   ============================================================ */

.heike-page #header {
    background: var(--h-primary-dark) !important;
    border-bottom: none;
    box-shadow: 0 1px 6px rgba(74, 63, 53, 0.15);
}

.heike-page #header a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.heike-page #header a:hover,
.heike-page #header a.active {
    color: var(--h-white) !important;
}

/* ============================================================
   Buttons
   ============================================================ */

.heike-page .btn,
.heike-page a.btn {
    background: var(--h-primary);
    border-color: var(--h-primary);
    color: var(--h-white);
}

.heike-page .btn:hover,
.heike-page a.btn:hover {
    background: var(--h-primary-dark);
    border-color: var(--h-primary-dark);
}

.heike-page .btn:active,
.heike-page .btn:focus {
    background: var(--h-primary-dark);
    border-color: var(--h-primary-dark);
    color: var(--h-white);
}

.heike-page .btn-outline,
.heike-page a.btn-outline {
    background: transparent;
    border-color: var(--h-primary);
    color: var(--h-primary);
}

.heike-page .btn-outline:hover,
.heike-page a.btn-outline:hover {
    background: var(--h-primary);
    color: var(--h-white);
}

/* ============================================================
   Content overrides
   ============================================================ */

.heike-page #body-wrapper h1,
.heike-page #body-wrapper h2,
.heike-page #body-wrapper h3,
.heike-page .section-title {
    color: var(--h-text);
}

.heike-page .section-divider {
    background: var(--h-accent);
}

.heike-page .section-description {
    color: var(--h-text-muted);
}

.heike-page #body-wrapper a:not(.btn) {
    color: var(--h-primary);
}

.heike-page #body-wrapper a:not(.btn):hover {
    color: var(--h-primary-dark);
}

/* ============================================================
   Hero
   ============================================================ */

/* Hero Slider */
.heike-hero-slider {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    height: 60svh;
    min-height: 350px;
    max-height: 550px;
    overflow: hidden;
}

.heike-swiper-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.heike-swiper-bg .swiper {
    width: 100%;
    height: 100%;
}

.heike-swiper-bg .swiper-wrapper {
    height: 100%;
}

.heike-swiper-bg .swiper-slide {
    width: 100%;
    height: 100%;
    background: var(--h-primary-dark);
}

.heike-swiper-bg .swiper-image-container {
    width: 100%;
    height: 100%;
}

.heike-swiper-bg .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.heike-swiper-bg .swiper-scrollbar,
.heike-swiper-bg .swiper-pagination,
.heike-swiper-bg .swiper-button-next,
.heike-swiper-bg .swiper-button-prev {
    display: none !important;
}

.heike-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--h-white);
}

.heike-hero-overlay .hero-content {
    background: rgba(74, 63, 53, 0.9);
    padding: 2.5rem 3.5rem;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    max-width: 550px;
}

.heike-hero-overlay h1,
.heike-hero-overlay .hero-content h1 {
    color: var(--h-white) !important;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.heike-hero-overlay .hero-tagline {
    font-size: clamp(0.85rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 0;
}

.heike-logo {
    max-width: 180px;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* ============================================================
   Cards — override Gillmann card colors
   ============================================================ */

.heike-page .card {
    border-color: var(--h-card-border);
    border-top-color: var(--h-accent);
}

.heike-page .card:hover {
    box-shadow: 0 4px 12px rgba(74, 63, 53, 0.1);
}

.heike-page .card h3 {
    color: var(--h-text);
    margin-top: 0.25rem;
}

.heike-page .card {
    padding: 1rem 1.25rem 0.75rem;
}

.heike-page .card p {
    color: var(--h-text-muted);
}

.heike-page .section-description + .section-description {
    margin-top: -1.5rem;
}

/* ============================================================
   Forms
   ============================================================ */

.heike-page input:focus,
.heike-page select:focus,
.heike-page textarea:focus {
    border-color: var(--h-primary) !important;
    box-shadow: 0 0 0 3px rgba(160, 133, 107, 0.15) !important;
}

/* ============================================================
   Footer
   ============================================================ */

.heike-page #footer {
    background: var(--h-text) !important;
    color: rgba(255, 255, 255, 0.6);
}

.heike-page #footer a {
    color: rgba(255, 255, 255, 0.7);
}

.heike-page #footer a:hover {
    color: var(--h-white);
}

.heike-page #footer h6 {
    color: var(--h-accent);
}

/* ============================================================
   Mobile overlay
   ============================================================ */

.heike-page .mobile-container .overlay {
    background: var(--h-primary-dark) !important;
    opacity: 1 !important;
}

.heike-page .mobile-menu .button_container span,
.heike-page .mobile-menu .button_container.active span {
    background: var(--h-white);
}

.heike-page .mobile-container .overlay-menu a,
.heike-page .mobile-container .overlay-menu ul.tree a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem;
}

.heike-page .mobile-container .overlay-menu a:hover,
.heike-page .mobile-container .overlay-menu a.active {
    color: #fff !important;
}

.heike-page .mobile-container .overlay-menu ul.tree li {
    list-style: none;
    margin-bottom: 0.75rem;
    border: none;
    background: none;
    padding: 0;
}

.heike-page .mobile-container .overlay-menu ul.tree a {
    border: none !important;
    background: none !important;
    padding: 0.5rem 0 !important;
    display: inline-block;
    text-decoration: none;
    border-bottom: 2px solid transparent !important;
    transition: border-color 0.2s;
}

.heike-page .mobile-container .overlay-menu ul.tree a:hover {
    border-bottom-color: #fff !important;
    text-decoration: none !important;
}

.heike-page .mobile-container .overlay-menu ul.tree .toggler {
    display: none;
}

.heike-page .mobile-logo {
    padding: 1.5rem 0;
}

.heike-page .mobile-logo img {
    height: 70px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
    .heike-hero-slider {
        height: 50svh;
        min-height: 300px;
    }

    .heike-hero-overlay .hero-content {
        padding: 1.75rem 2rem;
        margin: 0 1rem;
    }

    .heike-hero-overlay h1 {
        font-size: 1.6rem;
    }

    .heike-logo {
        max-width: 80px;
    }
}
