/* Outfit (variable font, SIL Open Font License) – lokal gehostet, keine Verbindung zu Google */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Color Palette - Modern Naturalism */
    --primary-color: #2E4033;
    /* Dark Green */
    --secondary-color: #D9C8A9;
    /* Beige/Sand */
    --accent-color: #D98E32;
    /* Soft Orange/Gold */
    --text-color: #1A1A1A;
    --background-light: #F9F7F2;
    /* Off-white */
    --white: #FFFFFF;

    /* Spacing */
    --container-padding: 2rem;
    --section-spacing: 5rem;

    /* Transitions */
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--background-light);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll "tearing" */
    width: 100%;
}

img {
    max-width: 100%;
    /* Prevent image overflow globally */
    height: auto;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hidden {
    display: none !important;
}

/* Typography */
h1,
h2,
h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

/* Removed partial h2.eyebrow rule */

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--accent-color);
    /* Highlight color */
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.result-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-color);
}

.result-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.result-card p {
    font-style: italic;
    color: #555;
}

/* Result Card Updates */
.story-image-placeholder {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ Styles */
.faq-accordion {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.two-columns {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.faq-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    height: 100%;
    /* Equal height */
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    min-height: 1.25em;
    /* Alignment aid */
}

.close-quiz {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-color);
}

/* Buttons */
.cta-button {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform var(--transition-speed), background-color var(--transition-speed);
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #C07A25;
    /* Slightly darker accent */
}

/* SVG Icon in buttons */
.btn-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover .btn-icon {
    transform: scale(1.1);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    /* In case it becomes a link later */
}

.logo-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centered relative to each other */
    line-height: 1.1;
}

.logo-brand {
    font-weight: 800;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Gradient Text */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 3px;
    /* Elegant spacing */
    text-transform: uppercase;
    margin-top: 2px;
}

.logo img {
    height: 70px;
    /* Larger */
    width: auto;
    border-radius: 50%;
    /* Optional: Makes it round if square, looks nice */
    object-fit: cover;
}


/* Hero Section - Redesign */
/* Hero Section - Split Layout Redesign */
.hero-section.split-hero {
    padding: 0;
    display: flex;
    min-height: 85vh;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    text-align: left;
    /* Reset */
}

/* Clear old BG from base class overrides */
.hero-section {
    background-image: none !important;
    display: block;
}

.hero-text-side {
    flex: 1;
    /* Left Half */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Align content block to right */
    padding: 4rem 4rem;
    background: var(--primary-color);
    /* Solid color to match overlay */
    color: var(--white);
    z-index: 2;
    text-align: right;
    /* Text Right Aligned */
}

.hero-text-content {
    max-width: 650px;
    margin-right: 0;
    margin-left: auto;
    display: flex;
    /* Establish flex context */
    flex-direction: column;
    align-items: flex-end;
    /* Align all children to right */
    text-align: right;
    /* Ensure text inherits right alignment */
}

.hero-text-content h1 {
    text-align: right;
    width: 100%;
}

.hero-sub {
    text-align: right;
    width: 100%;
}

.hero-image-side {
    flex: 1;
    /* Right Half */
    background-image: url('Images/Wolfram_12.webp');
    background-size: cover;
    background-position: center center;
    position: relative;
    min-height: 400px;
}

/* Gradient overlay for soft transition from text to image */
.hero-image-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Seamless fade: Solid primary color -> Transparent */
    background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) 2%, rgba(46, 64, 51, 0) 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-section h1 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 3.5rem;
    line-height: 1.1;
    text-align: right;
    text-shadow: none;
}

.hero-sub {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
    text-align: right;
}

.hero-cta-wrapper {
    display: flex;
    justify-content: flex-end;
}

/* Old .eyebrow rule removed */

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-section.split-hero {
        flex-direction: column-reverse;
        height: auto;
        min-height: auto;
    }

    .eyebrow {
        margin: 0 auto 1rem auto;
        /* Center on mobile */
    }


    .hero-image-side {
        height: 350px;
        width: 100%;
        flex: none;
    }

    .hero-text-side {
        padding: 4rem 2rem;
        text-align: center;
        justify-content: center;
    }

    .hero-text-content {
        margin: 0 auto;
    }

    .hero-cta-wrapper {
        justify-content: center;
    }

    .hero-section h1,
    .hero-sub {
        text-align: center;
    }
}

/* ... existing styles ... */

/* Helper for flipping image */
.flip-horizontal {
    transform: scaleX(-1) !important;
    /* Force flip */
}

.hero-section h1 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 3.5rem;
    text-shadow: none;
    /* Clean look */
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

/* --- Modern Setup & Utilities --- */
/* --- Modern Setup & Utilities --- */
:root {
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    --radius-lg: 20px;
    --radius-md: 12px;
    --spacing-section: 120px;
    /* Increased vertical breathing room */

    /* Refined Palette */
    --primary-color: #2E4033;
    --secondary-color: #D9C8A9;
    --accent-color: #D98E32;
    --background-sage: #E3E6E1;
    /* Soft Sage Green Base */
    --text-color: #1A1A1A;
    --white: #FFFFFF;
}

section {
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

/* ... typography unchanged ... */

/* --- Support Section (Bento Vibe) --- */
.support-section {
    background-color: var(--white);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.support-item {
    padding: 3.5rem 2.5rem;
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    /* Subtle gradient */
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Decorative background circle on hover */
.support-item::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    opacity: 0.05;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.support-item:hover::after {
    transform: scale(2);
}

.support-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 16px;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(46, 64, 51, 0.2);
}

.support-item:hover .support-icon {
    transform: scale(1.1) rotate(3deg);
    background: var(--accent-color);
}

.support-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
}

/* --- About / Wolfram Section (Split & Floating) --- */
.about-section {
    background-color: var(--background-sage);
    /* The Sage Green feature background */
    position: relative;
}

.about-list {
    list-style: none;
    margin-bottom: 3rem;
    display: grid;
    gap: 1.5rem;
}

.about-list li {
    font-size: 1.15rem;
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.85);
    /* Slightly more opaque */
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    line-height: 1.5;
    transition: all 0.3s ease;
    /* Smooth transition */
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Subtle border */
}

.about-list li:hover {
    transform: translateY(-5px) scale(1.02);
    /* Lift and scale up */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--accent-color);
    /* Highlight border color */
}

.about-list .icon {
    margin-right: 1.5rem;
    /* More space between icon and text */
    color: var(--accent-color);
    font-size: 1.8rem;
    /* Larger icon */
    transform: translateY(-2px);
    /* Optical alignment */
    flex-shrink: 0;
    /* Prevent icon shrinking */
}

.list-content {
    flex: 1;
    /* Take remaining width */
}

/* Decorative background shape */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6rem;
    position: relative;
    z-index: 1;
    /* Above decoration */
}

.about-image-wrapper {
    flex: 1;
    min-width: 320px;
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: var(--radius-lg);
    /* Professional Frame Effect */
    border: 8px solid var(--white);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.05),
        /* Subtle defining line */
        0 20px 40px -10px rgba(0, 0, 0, 0.2);
    /* Deep shadow */
    position: relative;
    z-index: 2;
    transform: rotate(-2deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy smooth transition */
}

.about-image-wrapper:hover .about-image {
    transform: rotate(0deg) scale(1.05) translateY(-10px);
    /* Straighten, grow, lift */
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 30px 60px -12px rgba(0, 0, 0, 0.25);
    /* Deeper shadow on hover */
}

.about-text {
    flex: 1;
    min-width: 320px;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.1;
}

.about-intro {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}



/* --- 6 Reasons Section (Bento Grid) --- */
.reasons-section {
    background-color: #f8f9fa;
    /* Distinct light grey bg */
}

.reasons-section .section-title {
    margin-bottom: 4rem;
    /* More space below headline */
}

.reasons-bento-wrapper {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1fr;
    /* Left (Reasons), Middle (Image), Right (Reasons) */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.reasons-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.reasons-image-col {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-hover);
    min-height: 400px;
}

/* --- Gallery Section --- */
.gallery-section {
    background-color: var(--background-sage);
    /* Light Green "Sage" */
    color: var(--text-color);
    /* Dark Text */
    padding-bottom: 4rem;
    /* Special padding */
    overflow: hidden;
}

.gallery-section h2,
.gallery-section p {
    color: var(--primary-color);
    /* Dark Green Headline */
    text-align: center;
}

.gallery-slider-track {
    margin-top: 3rem;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}

.gallery-slide-track {
    display: flex;
    width: calc(300px * 12);
    /* Adjusted for new width */
    animation: scroll 40s linear infinite;
    gap: 1.5rem;
}

.gallery-slide {
    width: 300px;
    /* Slimmer portrait width */
    height: 400px;
    /* Taller portrait height */
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* Focus on faces */
    transition: transform 0.6s ease;
}

.gallery-slide:hover {
    transform: scale(1.1);
    /* Significant zoom on container */
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.gallery-slide:hover img {
    transform: scale(1.15);
    /* Additional zoom on image */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 6 - 1.5rem * 6));
    }
}


.reasons-center-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.reasons-image-col:hover .reasons-center-image {
    transform: scale(1.05);
}

.image-overlay-text {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.image-overlay-text span {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reason-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    /* Center vertically if text is short */
    gap: 1.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    /* Fill space */
}

.reason-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateX(5px);
}

/* Accent Card Variant */
.accent-card {
    background: linear-gradient(135deg, var(--accent-color), #E8A855);
    color: var(--white);
    border: none;
}

.accent-card h4,
.accent-card p {
    color: var(--white) !important;
}

.accent-card .check-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    box-shadow: none;
}

.check-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--background-sage);
    /* Softer icon bg */
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.reason-card h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.reason-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .reasons-bento-wrapper {
        grid-template-columns: 1fr;
    }

    .reasons-image-col {
        height: 300px;
        order: -1;
        /* Image first on mobile */
    }
}

.center-cta {
    text-align: center;
    margin-top: 3rem;
}

/* --- Results / Testimonials --- */
.results-section {
    background-color: #f8f9fa;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.result-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.story-image-placeholder {
    width: 100px;
    height: 100px;
    background-color: #e0e0e0;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #888;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.story-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
    object-position: center;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover .story-image {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.result-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.result-card p {
    font-style: italic;
    color: #666;
    line-height: 1.8;
}

/* --- FAQ --- */
.faq-section {
    background-color: var(--white);
}

.faq-accordion.two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
}

.faq-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    height: 100%;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-soft);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.footer p {
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white);
    margin: 0 1rem;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* --- Quiz Overlay (Keep Existing) --- */
.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 28, 28, 0.95);
    /* Dark backdrop */
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.quiz-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quiz-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-top: 5px solid var(--accent-color);
}

.close-quiz {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-quiz:hover {
    color: var(--primary-color);
}

/* Opt-In Form Styles - Revamped */
.quiz-form {
    text-align: left;
    max-width: 480px;
    /* Slightly wider */
    margin: 0 auto;
    background: #fff;
    padding: 1rem 0;
}



.quiz-intro-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.quiz-intro-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    text-align: left;
    /* Ensure aligns with input */
}

/* Modern Input Fields */
.form-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    /* Big, comfortable touch targets */
    border: 2px solid #EEE;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #FAFAFA;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #FFF;
    box-shadow: 0 4px 12px rgba(217, 142, 50, 0.15);
    transform: translateY(-2px);
    /* Subtle lift */
}

.privacy-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 2rem;
    background: #F2F4F3;
    /* Soft Sage Tint */
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.5;
    text-align: left;
}

.submit-btn {
    width: 100%;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #c07d2b 100%);
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(217, 142, 50, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(217, 142, 50, 0.4);
}

/* Quiz Specific Styles */
.quiz-step {
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.quiz-subtext {
    color: #666;
    margin-bottom: 2rem;
}

.options-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.option-btn {
    background-color: var(--background-light);
    border: 2px solid var(--secondary-color);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.option-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #EEE;
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.quiz-result {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.quiz-result h2 {
    color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quiz Result Actions */
.result-actions-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

.result-actions-grid .cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.3;
    text-decoration: none;
    width: 100%;
    margin: 0;
    /* Override default button margin if any */
}

.result-actions-grid small {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.3rem;
}

.whatsapp-btn {
    background-color: #25D366 !important;
    /* WhatsApp Green Force */
    color: white !important;
}

.phone-btn {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.zoom-btn {
    background-color: #2D8CFF !important;
    /* Zoom Blue Force */
    color: white !important;
}

.quiz-result.disqualified {
    text-align: center;
}

/* FINAL Fix for Eyebrow Text Alignment */
.eyebrow {
    display: inline-block !important;
    text-align: right;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    /* Increased size */
    margin-bottom: 1rem;
    /* Removed background, padding, border-radius */
    /* No float needed if parent is flex-end */
}

.hero-text-content h1 {
    text-align: right;
}

/* Mobile Header Optimization (Consolidated V4 - Ultra Compact) */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0.5rem 1rem;
        justify-content: center;
        /* Center logo if button is gone */
    }

    .logo-name {
        display: none;
    }

    .logo-brand {
        font-size: 1.1rem;
    }

    .logo img {
        height: 40px;
    }

    /* Hide the 'Jetzt Bewerben' button in the header on mobile to save space ('Headermenü rausnehmen') */
    .nav-cta {
        display: none !important;
    }

    /* Hero Text Adjustments for Mobile - CENTERED & SMALLER */
    .hero-section h1 {
        font-size: 1.6rem !important;
        /* Reduced from 1.8rem */
        line-height: 1.25;
        text-align: center !important;
        margin-bottom: 1rem;
    }

    .hero-sub {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
        text-align: center !important;
        padding: 0 1rem;
    }

    /* Reset Layout for Mobile to be Center-Aligned */
    .hero-text-side {
        padding: 2rem 1rem;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
    }

    .hero-text-content {
        align-items: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        width: 100%;
    }
}

/* Mobile Header Optimization (Consolidated V4 - Ultra Compact) */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0.5rem 1rem;
        justify-content: center;
        /* Center logo if button is gone */
    }

    .logo-name {
        display: none;
    }

    .logo-brand {
        font-size: 1.1rem;
    }

    .logo img {
        height: 40px;
    }

    /* Hide the 'Jetzt Bewerben' button in the header on mobile to save space ('Headermenü rausnehmen') */
    .nav-cta {
        display: none !important;
    }

    /* Hero Text Adjustments for Mobile - CENTERED & SMALLER */
    .hero-section h1 {
        font-size: 1.6rem !important;
        /* Reduced from 1.8rem */
        line-height: 1.25;
        text-align: center !important;
        margin-bottom: 1rem;
    }

    .hero-sub {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
        text-align: center !important;
        padding: 0 1rem;
    }

    /* Reset Layout for Mobile to be Center-Aligned */
    .hero-text-side {
        padding: 2rem 1rem;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
    }

    .hero-text-content {
        align-items: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        width: 100%;
    }

    .eyebrow {
        text-align: center !important;
        display: block !important;
        width: 100%;
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem;
    }

    .hero-cta-wrapper {
        justify-content: center !important;
        width: 100%;
    }

    .hero-cta {
        font-size: 1rem !important;
        padding: 0.8rem 1.5rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile Form Optimization */
@media (max-width: 600px) {
    .quiz-container {
        padding: 1.5rem !important;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
        /* Scroll if still too tall */
        margin-top: 5vh;
        /* Ensure it doesn't get cut off at top */
    }

    .quiz-form {
        padding: 0;
    }

    .form-group input {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }

    .form-group label {
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }

    .submit-btn {
        margin-top: 1rem;
        padding: 0.9rem;
        font-size: 1rem;
    }

    /* Ensure title is smaller */
    .quiz-intro-text h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .quiz-intro-text p {
        font-size: 0.9rem;
    }

    .privacy-note {
        padding: 0.8rem;
        margin-top: 1rem;
        font-size: 0.75rem;
    }

    .close-quiz {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
    }
}

/* =========================================
   Cookie Consent Banner
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1e1e1e;
    /* Dark background */
    color: #fff;
    padding: 1.5rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid #444;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-text {
    flex: 1 1 600px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0e0e0;
}

.cookie-text a {
    color: #B5C6BB;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-btn.accept-all {
    background-color: #B5C6BB;
    color: #1e1e1e;
}

.cookie-btn.accept-all:hover {
    background-color: #a3b5aa;
}

.cookie-btn.essentials {
    background-color: transparent;
    border: 1px solid #666;
    color: #ccc;
}

.cookie-btn.essentials:hover {
    border-color: #999;
    color: #fff;
}