/* ============================================================
   umfrage.css — Animierte Multi-Step-Umfrage
   Design-System: dark/cream/amber/green
   Font: Atkinson Hyperlegible
   ============================================================ */

/* ============================================================
   1. Reset & Base
   ============================================================ */

/* ============================================================
   0. Schriftarten (lokal — kein Google Fonts nötig)
   ============================================================ */

@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../schriften/9Bt43C1KxNDXMspQ1lPyU89-1h6ONRlW45G056IkUwCybQ.woff2') format('woff2');
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../schriften/9Bt43C1KxNDXMspQ1lPyU89-1h6ONRlW45G056IqUwA.woff2') format('woff2');
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../schriften/9Bt93C1KxNDXMspQ1lPyU89-1h6ONRlW45G056qRdhWDTFieFA.woff2') format('woff2');
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../schriften/9Bt93C1KxNDXMspQ1lPyU89-1h6ONRlW45G056qRdhWNTFg.woff2') format('woff2');
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../schriften/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G07JIoSwQ.woff2') format('woff2');
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../schriften/9Bt23C1KxNDXMspQ1lPyU89-1h6ONRlW45G04pIo.woff2') format('woff2');
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../schriften/9Bt73C1KxNDXMspQ1lPyU89-1h6ONRlW45G8Wbc9eiWPVFw.woff2') format('woff2');
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../schriften/9Bt73C1KxNDXMspQ1lPyU89-1h6ONRlW45G8Wbc9dCWP.woff2') format('woff2');
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    background: #0f0d08;
    color: #f5f0e8;
    font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
    line-height: 1.6;
}

/* ============================================================
   2. Keyframes
   ============================================================ */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-12px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(122, 170, 90, 0.4);
    }
    50% {
        box-shadow: 0 0 24px rgba(122, 170, 90, 0.8);
    }
}

/* ============================================================
   3. Skip-Link
   ============================================================ */

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    background: #e8a94a;
    color: #0f0d08;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 0.5rem 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* ============================================================
   4. Progress-Balken
   ============================================================ */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1e2e1a;
    z-index: 500;
}

.progress-fill {
    background: #e8a94a;
    height: 100%;
    width: var(--progress, 0%);
    transition: width 0.4s ease;
}

/* ============================================================
   5. Step-Counter
   ============================================================ */

.step-counter {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.85;
    color: #f5f0e8;
    z-index: 400;
    pointer-events: none;
}

/* ============================================================
   6. Main & Steps
   ============================================================ */

main {
    position: fixed;
    inset: 0;
}

.step {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.step.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    animation: fadeUp 0.4s ease forwards;
}

.step.exiting {
    pointer-events: none;
    visibility: visible;
    animation: fadeOut 0.25s ease forwards;
}

.step-inner {
    margin: auto;
    padding: 3.5rem 1.5rem 7rem;
    max-width: 720px;
    width: 100%;
}

/* ============================================================
   7. Typografie
   ============================================================ */

h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-family: Georgia, serif;
    color: #e8a94a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #f5f0e8;
    margin-bottom: 1.5rem;
    outline: none;
}

.back-to-presentation {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #7aaa5a;
    font-size: 0.9rem;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.back-to-presentation:hover {
    opacity: 1;
    text-decoration: underline;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
    max-width: 640px;
}

.intro-pillars {
    font-weight: 700;
    color: #e8a94a;
    font-size: 1.15rem;
    margin: 1.5rem 0;
    letter-spacing: 0.02em;
}

.intro-meta {
    list-style: none;
    margin: 1.5rem 0;
    font-size: 1rem;
}

.intro-meta li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.intro-meta li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #7aaa5a;
}

.intro-sign {
    margin-top: 2rem;
    font-style: italic;
    opacity: 0.9;
    font-size: 1rem;
}

/* ============================================================
   8. Fieldset & Legend
   ============================================================ */

fieldset {
    border: none;
    padding: 0;
}

legend {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f5f0e8;
}

/* ============================================================
   9. Option-Grid (Checkbox & Radio)
   ============================================================ */

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: #1e2e1a;
    border: 2px solid #3d5c3a;
    border-radius: 0.75rem;
    cursor: pointer;
    min-height: 52px;
    transition: all 0.2s ease;
    font-size: 1rem;
    color: #f5f0e8;
    user-select: none;
}

.option-label:hover {
    border-color: #e8a94a;
    background: #2a4025;
}

.option-label:has(input:focus-visible) {
    outline: none;
    border-color: #e8a94a;
    box-shadow: 0 0 0 2px #0f0d08, 0 0 0 4px #e8a94a, 0 0 16px rgba(232, 169, 74, 0.6);
}

.option-label:has(input:checked) {
    border-color: #e8a94a;
    background: #3d5c3a;
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(232, 169, 74, 0.25);
}


.option-label input[type="checkbox"],
.option-label input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    margin: -1px;
}

.custom-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #7aaa5a;
    border-radius: 4px;
    background: transparent;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-label:has(input[type="radio"]) .custom-check {
    border-radius: 50%;
}

.option-label:has(input:checked) .custom-check {
    background: #e8a94a;
    border-color: #e8a94a;
}

.custom-check::after {
    content: '✓';
    font-size: 0.8rem;
    color: #0f0d08;
    opacity: 0;
}

.option-label:has(input[type="checkbox"]:checked) .custom-check::after {
    opacity: 1;
}

.option-text {
    flex: 1;
    line-height: 1.4;
}

/* ============================================================
   10. Staggered Animations
   ============================================================ */

.option-label {
    opacity: 0;
    animation: fadeUp 0.4s ease forwards;
}

.d1  { animation-delay: 0.05s; }
.d2  { animation-delay: 0.12s; }
.d3  { animation-delay: 0.19s; }
.d4  { animation-delay: 0.26s; }
.d5  { animation-delay: 0.33s; }
.d6  { animation-delay: 0.40s; }
.d7  { animation-delay: 0.47s; }
.d8  { animation-delay: 0.54s; }
.d9  { animation-delay: 0.61s; }
.d10 { animation-delay: 0.68s; }
.d11 { animation-delay: 0.75s; }
.d12 { animation-delay: 0.82s; }
.d13 { animation-delay: 0.89s; }
.d14 { animation-delay: 0.96s; }
.d15 { animation-delay: 1.03s; }
.d16 { animation-delay: 1.10s; }
.d17 { animation-delay: 1.17s; }
.d18 { animation-delay: 1.24s; }
.d19 { animation-delay: 1.31s; }
.d20 { animation-delay: 1.38s; }
.d21 { animation-delay: 1.45s; }

/* ============================================================
   11. Skala (F6)
   ============================================================ */

.scale-wrapper {
    margin: 1.5rem 0;
}

.scale-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.scale-btn {
    min-width: 60px;
    min-height: 60px;
    border: 2px solid #3d5c3a;
    background: #1e2e1a;
    color: #f5f0e8;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scale-btn:hover {
    border-color: #e8a94a;
    background: #2a4025;
    transform: translateY(-2px);
}

.scale-btn.selected {
    background: #e8a94a;
    color: #0f0d08;
    border-color: #e8a94a;
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(232, 169, 74, 0.5);
}

.scale-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #0f0d08, 0 0 0 4px #e8a94a, 0 0 14px rgba(232, 169, 74, 0.55);
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    opacity: 0.85;
    color: #f5f0e8;
    max-width: 420px;
    margin: 0 auto;
}

/* ============================================================
   12. Textarea & Text-Inputs
   ============================================================ */

.text-input {
    width: 100%;
    max-width: 640px;
    padding: 1rem 1.25rem;
    background: #1e2e1a;
    border: 2px solid #3d5c3a;
    border-radius: 0.75rem;
    color: #f5f0e8;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    min-height: 140px;
    display: block;
    transition: border-color 0.2s;
}

.text-input:focus-visible {
    border-color: #e8a94a;
    outline: none;
    box-shadow: 0 0 0 2px #0f0d08, 0 0 0 4px #e8a94a, 0 0 14px rgba(232, 169, 74, 0.55);
}

.text-input::placeholder {
    color: #a89070;
    opacity: 1;
}

.email-input {
    min-height: auto;
    padding: 0.9rem 1.25rem;
}

/* ============================================================
   13. Disclaimer (F7)
   ============================================================ */

.disclaimer {
    background: #1e2e1a;
    border: 1px solid #3d5c3a;
    border-left: 3px solid #e8a94a;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: #f5f0e8;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* ============================================================
   14. Sonstiges-Freitext (F3)
   ============================================================ */

.sonstiges-wrapper {
    margin-top: 0.75rem;
    max-width: 480px;
}

.sonstiges-input {
    min-height: 80px;
}


/* ============================================================
   15a. Range-Slider (F1, F10, F13)
   ============================================================ */

.slider-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin: 2rem 0;
}

.slider-value-display {
    font-size: 4rem;
    font-weight: 700;
    color: #e8a94a;
    line-height: 1;
    min-width: 5rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 500px;
    height: 6px;
    background: linear-gradient(to right, #e8a94a var(--val, 50%), #3d5c3a var(--val, 50%));
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    border: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    background: #e8a94a;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.range-slider::-moz-range-thumb {
    width: 32px;
    height: 32px;
    background: #e8a94a;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: transform 0.15s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(232, 169, 74, 0.2), 0 2px 10px rgba(0,0,0,0.5);
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
}

.range-slider:focus-visible {
    box-shadow: 0 0 0 2px #0f0d08, 0 0 0 5px #e8a94a;
    border-radius: 3px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 500px;
    font-size: 0.9rem;
    opacity: 0.85;
    color: #f5f0e8;
}

/* ============================================================
   15. Optionale Angaben — Abschnittstrennlinie
   ============================================================ */

.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #3d5c3a 20%, #7aaa5a 50%, #3d5c3a 80%, transparent);
    margin: 2.25rem 0;
    opacity: 0.6;
}

.optional-intro {
    margin-bottom: 2rem;
    opacity: 0.85;
    font-size: 1rem;
}

.email-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.email-block label {
    font-size: 1rem;
    font-weight: 700;
    color: #f5f0e8;
}

/* ============================================================
   16. Navigation Buttons
   ============================================================ */

.nav-row {
    position: fixed;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 100;
}

.btn-nav {
    pointer-events: all;
    padding: 0.9rem 2rem;
    min-height: 52px;
    min-width: 120px;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-prev {
    background: transparent;
    border: 2px solid #3d5c3a;
    color: #f5f0e8;
}

.btn-prev:hover {
    border-color: #e8a94a;
    color: #e8a94a;
}

.btn-next {
    background: #e8a94a;
    border: 2px solid #e8a94a;
    color: #0f0d08;
}

.btn-next:hover {
    background: #c4852a;
    border-color: #c4852a;
    transform: translateY(-2px);
}

.btn-nav:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #0f0d08, 0 0 0 4px #e8a94a, 0 0 14px rgba(232, 169, 74, 0.55);
}

.btn-nav[hidden] {
    display: none;
}


/* ============================================================
   17. A11y-Widget — Styles werden von a11y.css geliefert
   ============================================================ */



/* ============================================================
   18. A11y-Klassen (auf html-Element)
   ============================================================ */

html.high-contrast body {
    background: #000 !important;
    color: #fff !important;
}

html.high-contrast .option-label {
    background: #000;
    border-color: #fff;
    color: #fff;
}

html.high-contrast .option-label:has(input:checked) {
    background: #ff0;
    color: #000;
    border-color: #ff0;
}

html.high-contrast .btn-next {
    background: #fff;
    color: #000;
    border-color: #fff;
}

html.high-contrast .btn-prev {
    border-color: #fff;
    color: #fff;
}

html.high-contrast .scale-btn {
    background: #000;
    border-color: #fff;
    color: #fff;
}

html.high-contrast .scale-btn.selected {
    background: #ff0;
    color: #000;
    border-color: #ff0;
}

html.high-contrast .text-input {
    background: #000;
    border-color: #fff;
    color: #fff;
}

html.high-contrast .progress-fill {
    background: #fff;
}

html.large-targets .option-label {
    min-height: 64px;
    padding: 1.25rem 1.5rem;
}

html.large-targets .btn-nav {
    min-height: 64px;
    min-width: 160px;
}

html.large-targets .scale-btn {
    min-width: 72px;
    min-height: 72px;
}


html.line-height-mode body {
    line-height: 1.9;
}

html.line-height-mode .option-label {
    line-height: 1.9;
}

html.font-large {
    font-size: 120%;
}

html.font-xlarge {
    font-size: 145%;
}

html.reduced-motion *,
html.reduced-motion *::before,
html.reduced-motion *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
}

/* ============================================================
   19. prefers-reduced-motion (system)
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   20. sr-only
   ============================================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   21. Responsive (Mobile)
   ============================================================ */

@media (max-width: 600px) {
    .option-grid {
        grid-template-columns: 1fr;
    }

    .scale-group {
        gap: 0.3rem;
    }

    .scale-btn {
        min-width: 46px;
        min-height: 46px;
        font-size: 1.1rem;
    }

    .scale-labels {
        font-size: 0.8rem;
    }

    .nav-row {
        bottom: 1rem;
        padding: 0 1rem;
    }

    .btn-nav {
        min-width: 90px;
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
    }

    .step-inner {
        padding: 3rem 1rem 7rem;
    }

    .a11y-widget {
        top: 0.5rem;
        right: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }
}

/* ============================================================
   22. FAB oben rechts (Umfrage-Override)
   ============================================================ */

@media (max-width: 600px) {
    #a11y-widget-panel {
        position: fixed !important;
        top: 4rem !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: calc(100vh - 4rem) !important;
        border-radius: 0 !important;
    }
}

/* ============================================================
   22. Dyslexie-Schriften
   ============================================================ */

html.font-opendyslexic,
html.font-opendyslexic * {
    font-family: 'OpenDyslexic', cursive !important;
}

html.font-comicsans,
html.font-comicsans * {
    font-family: 'Comic Sans MS', 'Chalkboard SE', cursive !important;
}

html.font-lexend,
html.font-lexend * {
    font-family: 'Lexend', system-ui, sans-serif !important;
}


/* ============================================================
   23. Globaler Focus-Glow
   ============================================================ */

*:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #0f0d08, 0 0 0 4px #e8a94a, 0 0 14px rgba(232, 169, 74, 0.55);
}

html.high-contrast *:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 3px !important;
    box-shadow: none !important;
}

html.high-contrast .option-label:has(input:focus-visible) {
    outline: 3px solid #fff !important;
    outline-offset: 3px !important;
    border-color: #fff !important;
    box-shadow: none !important;
}

html.high-contrast .text-input::placeholder {
    color: #bbb !important;
    opacity: 1 !important;
}

/* ============================================================
   Cookie Banner
   ============================================================ */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #1a1a15;
    color: #f0ece4;
    padding: 0.9rem 2rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    border-top: 2px solid #7aaa5a;
    min-height: 60px;
}
#cookie-banner.visible { display: flex; }
.cookie-text { margin: 0; flex: 1; line-height: 1.5; }
.cookie-text a { color: #a8d48a; text-underline-offset: 3px; }
.cookie-text a:hover { color: #c4f0a0; }
.cookie-btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
#cookie-accept {
    background: #7aaa5a;
    color: #0f1a0c;
    border: none;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.875rem;
    font-family: inherit;
}
#cookie-decline {
    background: transparent;
    color: #f0ece4;
    border: 1px solid #555;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.875rem;
    font-family: inherit;
}
#cookie-accept:hover,
#cookie-accept:focus-visible { background: #8aba6a; outline: 2px solid #8aba6a; outline-offset: 2px; }
#cookie-decline:hover,
#cookie-decline:focus-visible { border-color: #aaa; outline: 2px solid #aaa; outline-offset: 2px; }
@media (max-width: 600px) {
    #cookie-banner { flex-direction: column; align-items: flex-start; padding: 1rem; }
    .cookie-btns { width: 100%; }
    #cookie-accept, #cookie-decline { flex: 1; text-align: center; }
}

/* ── Glass-Overlay (solange Cookies nicht akzeptiert) ───── */
#glass-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    backdrop-filter: blur(12px) brightness(0.6);
    -webkit-backdrop-filter: blur(12px) brightness(0.6);
    background: rgba(15, 13, 8, 0.25);
    pointer-events: none;
}
#glass-overlay.visible { display: block; }
#cookie-overlay.visible { display: flex; }

.cookie-overlay-box {
    background: #1a2416;
    border: 1px solid #3d5c3a;
    border-radius: 12px;
    padding: 2rem 2rem 1.75rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.cookie-overlay-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #e8a94a;
}

.cookie-overlay-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f5f0e8;
    margin: 0 0 0.6rem;
}

.cookie-overlay-text {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.8);
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.cookie-overlay-accept {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #e8a94a;
    color: #0f0d08;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 0.75rem;
    transition: background 0.15s;
    min-height: 48px;
}
.cookie-overlay-accept:hover { background: #c4852a; }
.cookie-overlay-accept:focus-visible { outline: 3px solid #f5f0e8; outline-offset: 3px; }

.cookie-overlay-back {
    display: inline-block;
    font-size: 0.85rem;
    color: rgba(245, 240, 232, 0.6);
    text-decoration: none;
    padding: 0.25rem 0;
}
.cookie-overlay-back:hover { color: #f5f0e8; }
