/* ==========================================================================
   Julia Holzschuh — Tierarztpraxis
   Hero Section Styles
   ========================================================================== */

/* ----------------------------- Font Face ----------------------------- */
@font-face {
    font-family: 'Noto Sans Display';
    src: url('../assets/fonts/NotoSansDisplay-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 62.5% 100%;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans Display';
    src: url('../assets/fonts/NotoSansDisplay-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 62.5% 100%;
    font-style: italic;
    font-display: swap;
}

/* ----------------------------- CSS Variables ----------------------------- */
:root {
    --color-primary: #2a6041;
    --color-primary-light: #3a7d57;
    --color-primary-dark: #1d4a30;
    --color-accent: #c8a96e;
    --color-accent-light: #dcc28e;
    --color-blue: #7a0000;
    --color-blue-dark: #5a0000;
    --color-white: #ffffff;
    --color-off-white: #f8f6f3;
    --color-dark: #1a1a1a;
    --color-text: #2c2c2c;
    --color-text-light: rgba(255, 255, 255, 0.85);

    --font-primary: 'Noto Sans Display', system-ui, -apple-system, sans-serif;

    --nav-height: 80px;
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----------------------------- Reset & Base ----------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--color-text);
    background: var(--color-dark);
    overflow-x: hidden;
}

/* Lock body during preloader */
body.is-loading {
    overflow: hidden;
    height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Selection */
::selection {
    background: var(--color-accent);
    color: var(--color-dark);
}

/* ========================================================================
   PRELOADER
   ======================================================================== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.preloader-logo img {
    width: 240px;
    opacity: 0;
    transform: translateY(12px);
}

.preloader-bar-track {
    width: 200px;
    height: 2px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.preloader-text {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(8px);
}

/* ========================================================================
   NAVIGATION
   ======================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease, transform 0.4s ease;
}

.navbar.is-hidden {
    transform: translateY(-100%);
}

.navbar.is-scrolled {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    opacity: 0;
}

.navbar-logo img {
    height: 120px;
    width: auto;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--color-text-light);
    position: relative;
    padding: 4px 0;
    opacity: 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-accent);
    transition: width 0.35s var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link:hover::after {
    width: 100%;
}

/* CTA Button in Nav */
.navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-dark);
    background: var(--color-accent);
    padding: 10px 22px;
    border-radius: 50px;
    opacity: 0;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar-cta:hover {
    background: var(--color-accent-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(200, 169, 110, 0.3);
}

.navbar-cta .cta-icon {
    display: flex;
    align-items: center;
}

/* Mobile Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video Background */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.25) 40%,
            rgba(0, 0, 0, 0.35) 70%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 860px;
    padding: 0 32px;
    padding-top: var(--nav-height);
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 28px;
    opacity: 0;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.6);
    }
}

/* Title */
.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line-inner {
    display: inline-block;
    transform: translateY(110%);
}

.hero-title em {
    font-style: italic;
    color: var(--color-blue);
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 580px;
    margin: 0 auto 36px;
    opacity: 0;
    transform: translateY(20px);
}

/* Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.35s var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-dark);
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(200, 169, 110, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

/* Info Strip */
.hero-info-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 48px;
    opacity: 0;
    transform: translateY(16px);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

.info-item svg {
    opacity: 0.5;
    stroke: var(--color-accent-light);
}

.info-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    50.01% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

/* ========================================================================
   MOBILE NAVIGATION OVERLAY
   ======================================================================== */
.mobile-nav-overlay {
    display: none;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 960px) {
    .navbar-links {
        display: none;
    }

    .navbar-cta {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    /* Mobile Nav Overlay */
    .mobile-nav-overlay {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(26, 26, 26, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .mobile-nav-overlay.is-open {
        opacity: 1;
        pointer-events: all;
    }

    .mobile-nav-overlay .nav-link {
        font-size: 1.5rem;
        font-weight: 300;
        letter-spacing: 0.04em;
        color: var(--color-white);
        padding: 12px 0;
        opacity: 1;
    }

    .mobile-nav-overlay .mobile-nav-cta {
        margin-top: 24px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--color-dark);
        background: var(--color-accent);
        padding: 14px 28px;
        border-radius: 50px;
    }

    /* Toggle animation */
    .navbar-toggle.is-active .toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar-toggle.is-active .toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.is-active .toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 640px) {
    .navbar-inner {
        padding: 0 20px;
    }

    .hero-content {
        padding: 0 20px;
        padding-top: var(--nav-height);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-info-strip {
        flex-direction: column;
        gap: 12px;
    }

    .info-divider {
        display: none;
    }

    .hero-scroll-indicator {
        bottom: 20px;
    }
}

/* ========================================================================
   SHARED SECTION STYLES
   ======================================================================== */
.section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--color-blue);
}

.section-desc {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: #666;
}

/* ========================================================================
   SERVICES SECTION
   ======================================================================== */
.section-services {
    background: var(--color-off-white);
}

/* Tabs */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.service-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #666;
    background: var(--color-white);
    border: 1px solid #e0dbd4;
    cursor: pointer;
    transition: all 0.35s ease;
}

.service-tab svg {
    stroke: #999;
    transition: stroke 0.35s ease;
}

.service-tab:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}

.service-tab:hover svg {
    stroke: var(--color-primary);
}

.service-tab.is-active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.service-tab.is-active svg {
    stroke: var(--color-white);
}

/* Panels */
.service-panel {
    display: none;
}

.service-panel.is-active {
    display: block;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* Service Card */
.service-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 28px 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-left: 3px solid var(--color-primary);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.6;
    color: #777;
}

/* ========================================================================
   FACTS SECTION
   ======================================================================== */
.section-facts {
    background: var(--color-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.facts-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(42, 96, 65, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(200, 169, 110, 0.12) 0%, transparent 60%);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.fact-item {
    text-align: center;
}

.fact-number {
    display: block;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.fact-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 4px;
}

.fact-detail {
    display: block;
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================================================
   ABOUT SECTION
   ======================================================================== */
.section-about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--color-accent);
    border-radius: 20px;
    z-index: -1;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 12px 32px rgba(42, 96, 65, 0.3);
}

.experience-icon {
    display: flex;
    align-items: center;
}

.experience-icon svg {
    stroke: var(--color-accent);
}

.about-text-col .section-tag {
    color: var(--color-accent);
}

.about-text-col .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
    margin-bottom: 36px;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-dark);
}

.highlight-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 96, 65, 0.08);
    border-radius: 8px;
    flex-shrink: 0;
}

.highlight-icon svg {
    stroke: var(--color-primary);
    width: 14px;
    height: 14px;
}

/* Button Dark Variant */
.btn-dark {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-dark:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(42, 96, 65, 0.3);
}

/* ========================================================================
   GALLERY SECTION
   ======================================================================== */
.section-gallery {
    background: var(--color-off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.gallery-item-large {
    grid-column: span 2;
}

/* ========================================================================
   CONTACT SECTION
   ======================================================================== */
.section-contact {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info-col .section-title {
    margin-bottom: 20px;
}

.contact-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 96, 65, 0.07);
    border-radius: 14px;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    stroke: var(--color-primary);
}

.contact-detail-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 2px;
}

.contact-detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

a.contact-detail-value:hover {
    color: var(--color-primary);
}

/* Contact Form */
.contact-form {
    background: var(--color-off-white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-dark);
    background: var(--color-white);
    border: 1px solid #ddd;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(42, 96, 65, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
    font-weight: 300;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.form-privacy input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.form-privacy label {
    font-size: 0.8rem;
    font-weight: 300;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-status {
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 400;
    text-align: center;
    display: none;
}

.form-status.is-success {
    display: block;
    color: var(--color-primary);
}

.form-status.is-error {
    display: block;
    color: #c0392b;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
    background: var(--color-white);
    padding: 64px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-logo {
    height: 88px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand-text {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: #666;
    max-width: 300px;
}

.footer-links-col h4,
.footer-contact-col h4 {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.footer-links-col ul,
.footer-contact-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col ul li a {
    font-size: 0.85rem;
    font-weight: 300;
    color: #666;
    transition: color 0.3s ease;
}

.footer-links-col ul li a:hover {
    color: var(--color-blue);
}

.footer-contact-col ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 300;
    color: #666;
}

.footer-contact-col ul li svg {
    stroke: var(--color-blue);
    opacity: 0.8;
    flex-shrink: 0;
}

.footer-contact-col ul li a {
    color: #666;
    transition: color 0.3s ease;
}

.footer-contact-col ul li a:hover {
    color: var(--color-blue);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.78rem;
    font-weight: 300;
    color: #999;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.78rem;
    font-weight: 300;
    color: #999;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--color-blue);
}

/* ========================================================================
   WHY CHOOSE US SECTION
   ======================================================================== */
.section-why {
    background: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-card {
    background: var(--color-off-white);
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.why-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-blue);
    opacity: 0.4;
    margin-bottom: 16px;
    line-height: 1;
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: #666;
}

/* ========================================================================
   FAQ SECTION
   ======================================================================== */
.section-faq {
    background: var(--color-off-white);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.faq-info-col .section-tag {
    text-align: left;
}

.faq-info-col .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.faq-intro-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: #666;
    margin-bottom: 32px;
}

.faq-list-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.35s var(--transition-smooth);
    stroke: #999;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
    stroke: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--transition-smooth), padding 0.4s ease;
}

.faq-answer.is-open {
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
}

.faq-answer a {
    color: var(--color-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: var(--color-primary-dark);
}

/* ========================================================================
   CTA BANNER SECTION
   ======================================================================== */
.section-cta {
    padding: 80px 0;
    background: var(--color-white);
}

.cta-banner {
    background: var(--color-primary);
    border-radius: 24px;
    padding: 60px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-banner-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.cta-banner-content p {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
}

.cta-banner-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.btn-outline-light {
    color: var(--color-white) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
}

/* ========================================================================
   COOKIE CONSENT BANNER
   ======================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.5s var(--transition-smooth);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner-inner p {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.cookie-banner-inner p a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-sm {
    padding: 10px 24px !important;
    font-size: 0.82rem !important;
    border-radius: 50px;
    flex-shrink: 0;
}

/* ========================================================================
   SUCCESS POPUP
   ======================================================================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.popup-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
}

.popup-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 48px 40px 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s var(--transition-spring);
}

.popup-overlay.is-visible .popup-card {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #999;
    transition: background 0.3s ease, color 0.3s ease;
}

.popup-close:hover {
    background: var(--color-off-white);
    color: var(--color-dark);
}

.popup-icon {
    margin-bottom: 20px;
}

.popup-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.popup-card p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: #666;
    margin-bottom: 28px;
}

.popup-close-btn {
    padding: 12px 36px !important;
}

/* ========================================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ======================================================================== */
.page-legal {
    background: var(--color-off-white);
}

.page-legal .navbar.is-static {
    position: relative;
    background: var(--color-dark);
}

.page-legal .navbar.is-static .navbar-inner {
    border-bottom: none;
}

.legal-content {
    padding: 80px 0 120px;
}

.legal-content h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content ul li {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: #444;
    margin-bottom: 4px;
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--color-primary-dark);
}

.legal-content strong {
    font-weight: 600;
    color: var(--color-dark);
}

.legal-back {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-dark {
    background: var(--color-dark) !important;
    color: var(--color-white) !important;
}

.btn-dark:hover {
    background: #333 !important;
}

.legal-back .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ========================================================================
   RESPONSIVE — NEW SECTIONS
   ======================================================================== */
@media (max-width: 960px) {
    .section {
        padding: 80px 0;
    }

    .container {
        padding: 0 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrap img {
        height: 360px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-item-large {
        grid-column: span 1;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 48px 36px;
    }

    .cta-banner-content p {
        max-width: 100%;
    }

    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 64px 0;
    }

    .container {
        padding: 0 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .service-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .facts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .section-facts {
        padding: 64px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 36px 24px;
    }

    .cta-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-banner-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}