/* ============================================================
   FG-Autopflege — Gemeinsames Basis-Stylesheet (core.css)
   Enthält alle seitenübergreifenden Komponenten:
   Fonts, Design-Tokens, Reset, Skip-Link, Cursor-Glow,
   Navigation, Buttons, Sektions-Basis, Reveal, Footer,
   Modal (inkl. Rechtstext-Quellen), Cookie-Consent.
   Seitenspezifisches CSS bleibt in der jeweiligen HTML-Datei.
   Bei Änderungen: ?v=-Parameter in den <link>-Tags hochzählen!
   ============================================================ */


        
        /* figtree-regular - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: normal;
        font-weight: 400;
        src: url('/fonts/figtree-v9-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        /* figtree-italic - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: italic;
        font-weight: 400;
        src: url('/fonts/figtree-v9-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        /* figtree-500 - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: normal;
        font-weight: 500;
        src: url('/fonts/figtree-v9-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        /* figtree-500italic - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: italic;
        font-weight: 500;
        src: url('/fonts/figtree-v9-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        /* figtree-600 - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: normal;
        font-weight: 600;
        src: url('/fonts/figtree-v9-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        /* figtree-600italic - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: italic;
        font-weight: 600;
        src: url('/fonts/figtree-v9-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        /* figtree-700 - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: normal;
        font-weight: 700;
        src: url('/fonts/figtree-v9-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        /* figtree-700italic - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: italic;
        font-weight: 700;
        src: url('/fonts/figtree-v9-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        /* figtree-800 - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: normal;
        font-weight: 800;
        src: url('/fonts/figtree-v9-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        /* figtree-800italic - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: italic;
        font-weight: 800;
        src: url('/fonts/figtree-v9-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        /* figtree-900 - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: normal;
        font-weight: 900;
        src: url('/fonts/figtree-v9-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        /* figtree-900italic - latin */
        @font-face {
        font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'FigtreeWeb';
        font-style: italic;
        font-weight: 900;
        src: url('/fonts/figtree-v9-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

/* ============================================
           CSS CUSTOM PROPERTIES
           ============================================ */
        :root {
            --bg-primary:            #06080d;
            --bg-secondary:          #0b0e17;
            --bg-card:               #111522;
            --bg-glass:              rgba(255, 255, 255, 0.025);
            --border-glass:          rgba(255, 255, 255, 0.06);
            --accent:                #3b82f6;
            --accent-light:          #60a5fa;
            --accent-dark:           #1d4ed8;
            --accent-dim:            rgba(59, 130, 246, 0.12);
            --accent-glow:           rgba(59, 130, 246, 0.35);
            --accent-secondary:      #0ea5e9;
            --accent-secondary-dim:  rgba(14, 165, 233, 0.12);
            --accent-tertiary:       #8b5cf6;
            --accent-tertiary-dim:   rgba(139, 92, 246, 0.12);
            --text-primary:          #f8fafc;
            --text-secondary:        #94a3b8;
            --text-muted:            #7c8a9f;
            --gradient-accent:       linear-gradient(135deg, #3b82f6, #0ea5e9);
            --gradient-deep:         linear-gradient(135deg, #1e3a8a, #3b82f6);
            --gradient-cool:         linear-gradient(135deg, #0369a1, #0ea5e9);
            --gradient-warm:         linear-gradient(135deg, #0ea5e9, #8b5cf6);
            --radius-sm:             4px;
            --radius-md:             8px;
            --radius-lg:             12px;
            --radius-xl:             16px;
            --radius-2xl:            24px;
            --transition-fast:       0.2s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-base:       0.4s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-slow:       0.6s cubic-bezier(0.4, 0, 0.2, 1);
            --ease-out-expo:         cubic-bezier(0.16, 1, 0.3, 1);
            --ease-out-quint:        cubic-bezier(0.22, 1, 0.36, 1);
            --shadow-glow:           0 0 40px rgba(59, 130, 246, 0.18);
            --shadow-glow-sky:       0 0 40px rgba(14, 165, 233, 0.25);
            --shadow-glow-purple:    0 0 40px rgba(139, 92, 246, 0.2);
            --font-primary:          'FigtreeWeb', sans-serif;
            --nav-height:            72px;
        }

/* ============================================
           RESET & BASE
           ============================================ */
        /* Markierter Text in Markenfarbe (2026-07-14) */
        ::selection { background: rgba(59, 130, 246, 0.35); color: #f8fafc; }
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
            scrollbar-width: thin;
            scrollbar-color: var(--accent) var(--bg-secondary);
            overflow-x: hidden;
        }
        html::-webkit-scrollbar       { width: 6px; }
        html::-webkit-scrollbar-track { background: var(--bg-secondary); }
        html::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

        body {
            font-family: var(--font-primary);
            background: var(--bg-primary);
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
        }
        /* Feine Film-/Grain-Textur - nimmt dem Dunkel die flache Wirkung */
        body::after {
            content: '';
            position: fixed;
            inset: 0;
            z-index: 9990;
            pointer-events: none;
            opacity: 0.15;
            mix-blend-mode: overlay;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        }

/* ============================================
           SKIP LINK & ACCESSIBILITY
           ============================================ */
        .skip-link {
            position: absolute;
            top: -100%;
            left: 16px;
            background: var(--accent);
            color: var(--bg-primary);
            padding: 10px 20px;
            font-weight: 600;
            font-family: var(--font-primary);
            border-radius: 0 0 var(--radius-md) var(--radius-md);
            z-index: 99999;
            text-decoration: none;
            transition: top 0.2s ease;
        }
        .skip-link:focus { top: 0; }
        .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;
        }

/* ============================================
           CURSOR GLOW
           ============================================ */
        .cursor-glow {
            position: fixed;
            top: 0;
            left: 0;
            width: 560px;
            height: 560px;
            border-radius: 50%;
            pointer-events: none;
            z-index: 0;
            /* Bewusst dezent (Beschluss 2026-07-14): vorher 0.07 / 0.04 */
            background: radial-gradient(circle,
                        rgba(59, 130, 246, 0.05) 0%,
                        rgba(14, 165, 233, 0.03) 35%,
                        transparent 70%);
            /* GPU-beschleunigt: kein Layout-Reflow durch left/top */
            transform: translate3d(-50%, -50%, 0);
            will-change: transform;
        }

/* ============================================
           NAVIGATION
           ============================================ */
        .navbar {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 1000;
            padding: 0 48px;
            height: var(--nav-height);
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(6, 8, 13, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-glass);
            transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
        }
        .navbar.scrolled {
            background: rgba(6, 8, 13, 0.9);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border-bottom-color: rgba(255, 255, 255, 0.08);
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
        }
        .nav-logo {
            font-size: 1.35rem;
            font-weight: 700;
            text-decoration: none;
            color: var(--text-primary);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            letter-spacing: -0.02em;
        }
        .nav-logo .dot {
            width: 7px;
            height: 7px;
            background: var(--accent);
            border-radius: 50%;
            display: inline-block;
            animation: pulse-dot 2.5s ease-in-out infinite;
        }
        @keyframes pulse-dot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50%       { opacity: 0.35; transform: scale(0.7); }
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 36px;
            list-style: none;
        }
        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            letter-spacing: 0.01em;
            transition: color var(--transition-fast);
            position: relative;
        }
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px; left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width var(--transition-base);
            border-radius: 1px;
        }

        /* Aktueller Menuepunkt (Unterseiten setzen class="active"; Beschluss: Akzentfarbe) */
        .nav-links a.active        { color: var(--accent-light); }
        .nav-links a.active::after { width: 100%; }
        .nav-links a:hover        { color: var(--text-primary); }
        .nav-links a:hover::after { width: 100%; }
        .nav-links a:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 4px;
            border-radius: 2px;
            color: var(--text-primary);
        }
        .nav-cta {
            padding: 10px 22px;
            background: var(--accent);
            color: var(--bg-primary) !important;
            border-radius: 100px;
            font-weight: 600;
            font-size: 0.85rem;
            transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
        }
        .nav-cta::after { display: none !important; }
        .nav-cta:hover {
            background: var(--accent-light) !important;
            transform: translateY(-1px);
            box-shadow: var(--shadow-glow);
        }
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 8px;
            z-index: 1001;
            background: none;
            border: none;
        }
        .menu-toggle span {
            width: 24px;
            height: 2px;
            background: var(--text-primary);
            transition: transform var(--transition-fast), opacity var(--transition-fast);
            border-radius: 1px;
            display: block;
        }
        .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
        .menu-toggle.active span:nth-child(2) { opacity: 0; }
        .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
        .nav-logo-img { height: 36px; width: auto; display: block; image-rendering: auto; }

/* ============================================
           BUTTONS
           ============================================ */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 30px;
            border-radius: 100px;
            font-size: 0.9rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            border: none;
            transition:
                background-color var(--transition-base),
                transform var(--transition-fast),
                box-shadow var(--transition-base),
                border-color var(--transition-base),
                color var(--transition-fast);
            font-family: var(--font-primary);
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-dark) 100%);
            color: var(--bg-primary);
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(59, 130, 246, 0.28);
        }
        /* Lichtsweep beim Hover */
        .btn-primary::after {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.32) 50%, transparent 75%);
            transform: translateX(-130%);
            transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.45);
        }
        .btn-primary:hover::after { transform: translateX(130%); }
        .btn-secondary {
            background-color: transparent;
            color: var(--text-primary);
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-glass);
        }

        .btn-secondary:hover {
            background-color: var(--accent-dim);
            border-color: rgba(59,130,246,.4);
            color: var(--accent-light);
            transform: translateY(-2px);
        }
        .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

        /* Dezente Druck-Rückmeldung beim Klicken (2026-07-14) */
        .btn:active { transform: translateY(1px) scale(0.99); }

        /* Markierte, klickbare Inline-Links im Fließtext */
        .inline-link {
            color: var(--accent-light);
            text-decoration: none;
            font-weight: 600;
            background-image: linear-gradient(var(--accent), var(--accent));
            background-size: 0% 1.5px;
            background-position: 0 100%;
            background-repeat: no-repeat;
            transition: background-size var(--transition-base), color var(--transition-fast);
        }
        .inline-link:hover { color: var(--accent); background-size: 100% 1.5px; }
        .inline-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

        /* Zentrierter Button am Ende einer Sektion */
        .section-cta { text-align: center; margin-top: 52px; }
        .btn .btn-ico { display: inline-flex; transition: transform var(--transition-base); }
        .btn:hover .btn-ico { transform: translateX(3px); }

/* ============================================
           SECTION GLOBAL STYLES
           ============================================ */
        section {
            padding: 120px 48px;
            position: relative;
            scroll-margin-top: var(--nav-height);
        }
        .section-container { max-width: 1200px; margin: 0 auto; }
        .section-header    { text-align: center; margin-bottom: 64px; }
        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 16px;
        }
        .section-label::before,
        .section-label::after {
            content: '';
            width: 22px;
            height: 1px;
            background: var(--accent);
            opacity: 0.4;
        }
        .section-title {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 700;
            letter-spacing: -0.025em;
            line-height: 1.1;
            margin-bottom: 16px;
        }
        .section-desc {
            font-size: 1.05rem;
            color: var(--text-secondary);
            max-width: 760px;
            margin: 0 auto;
            line-height: 1.78;
        }

/* ============================================
           REVEAL ANIMATIONS
           ============================================ */
        .reveal {
            opacity: 0;
            transform: translateY(28px);
            filter: blur(6px);
            transition: opacity 0.85s var(--ease-out-expo),
                        transform 0.85s var(--ease-out-expo),
                        filter 0.85s var(--ease-out-expo);
        }
        .reveal.visible    { opacity: 1; transform: translateY(0); filter: blur(0); }
        .reveal-delay-1    { transition-delay: 0.09s; }
        .reveal-delay-2    { transition-delay: 0.18s; }
        .reveal-delay-3    { transition-delay: 0.27s; }
        .reveal-delay-4    { transition-delay: 0.36s; }

/* ============================================
           FOOTER
           ============================================ */
        .footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-glass);
            padding: 64px 48px 32px;
        }
        .footer-container { max-width: 1200px; margin: 0 auto; }
        .footer-top {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 52px;
        }
        .footer-brand .nav-logo { margin-bottom: 14px; display: inline-flex; }
        .footer-brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.75; max-width: 280px; }
        .footer-social { display: flex; gap: 10px; margin-top: 20px; }
        .footer-social-link {
            width: 36px; height: 36px;
            border-radius: 50%;
            background: var(--bg-glass);
            border: 1px solid var(--border-glass);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: var(--text-muted);
            transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
        }
        .footer-social-link:hover {
            color: var(--text-primary);
            border-color: rgba(255, 255, 255, 0.16);
            background: rgba(255, 255, 255, 0.06);
        }
        .footer-col h4 {
            font-size: 0.76rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-primary);
            margin-bottom: 20px;
        }
        .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
        .footer-col a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.85rem;
            transition: color var(--transition-fast);
        }
        .footer-col a:hover { color: var(--accent); }
        .footer-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 24px;
            border-top: 1px solid var(--border-glass);
            flex-wrap: wrap;
            gap: 16px;
        }
        .footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
        .footer-bottom-links { display: flex; gap: 24px; }
        .footer-bottom-links a {
            font-size: 0.8rem;
            color: var(--text-muted);
            text-decoration: none;
            transition: color var(--transition-fast);
        }
        .footer-bottom-links a:hover { color: var(--accent); }
/* ============================================
           MODAL
           ============================================ */
        /* Rechtstext-Quellen: unsichtbar, solange JS die Modals bedient */
        .legal-doc {
            display: none;
            /* Anker-Sprungziel ohne JS: nicht unter der fixen Navbar landen */
            scroll-margin-top: calc(var(--nav-height, 72px) + 24px);
        }
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.82);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity var(--transition-base), visibility var(--transition-base);
            padding: 20px;
        }
        .modal-overlay.active { opacity: 1; visibility: visible; }
        .modal {
            background: var(--bg-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: var(--radius-xl);
            width: min(640px, 100%);
            max-height: 85vh;
            overflow-y: auto;
            padding: 40px;
            transform: scale(0.92) translateY(16px);
            transition: transform var(--transition-base);
            position: relative;
            word-break: break-word;
        }
        .modal-overlay.active .modal { transform: scale(1) translateY(0); }
        .modal-close {
            position: absolute;
            top: 16px; right: 16px;
            width: 34px; height: 34px;
            border-radius: 50%;
            background: var(--bg-glass);
            border: 1px solid var(--border-glass);
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background var(--transition-fast), color var(--transition-fast);
        }
        .modal-close:hover { background: var(--accent-dim); color: var(--accent); }
        .modal h2    { font-size: 1.45rem; font-weight: 700; margin-bottom: 24px; letter-spacing: -0.02em; }
        .modal p, .modal address { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.85; margin-bottom: 12px; font-style: normal; }
        .modal h3    { font-size: 0.95rem; font-weight: 600; margin-top: 24px; margin-bottom: 8px; color: var(--text-primary); }
        .modal ul {
            margin: 0 0 12px;
            padding-left: 20px;
        }
        .modal ul li {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.85;
            margin-bottom: 6px;
        }
        .modal ul li::marker {
            color: var(--accent);
        }

/* ============================================
           COOKIE CONSENT
           ============================================ */
        .cookie-consent {
            position: fixed;
            left: 24px;
            bottom: 24px;
            z-index: 9998;
            width: min(380px, calc(100vw - 48px));
            background: rgba(11, 14, 23, 0.92);
            border: 1px solid var(--border-glass);
            border-radius: var(--radius-xl);
            padding: 22px 22px 20px;
            backdrop-filter: blur(22px);
            -webkit-backdrop-filter: blur(22px);
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
            transform: translateY(140%);
            opacity: 0;
            visibility: hidden;
            transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
        }
        .cookie-consent.visible {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }
        .cookie-consent::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: var(--gradient-accent);
            border-radius: var(--radius-xl) var(--radius-xl) 0 0;
            pointer-events: none;
        }
        .cookie-consent h4 {
            font-size: 0.98rem;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: -0.01em;
        }
        .cookie-consent p {
            font-size: 0.82rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 18px;
        }
        .cookie-consent p a {
            color: var(--accent-light);
            text-decoration: none;
            font-weight: 600;
        }
        .cookie-consent p a:hover { color: var(--accent); }
        .cookie-actions { display: flex; gap: 10px; }
        .cookie-btn {
            flex: 1;
            padding: 11px 16px;
            border-radius: var(--radius-md);
            font-family: var(--font-primary);
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
        }
        .cookie-btn:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
        .cookie-btn--accept {
            background: var(--accent);
            color: var(--bg-primary);
            border: 1px solid var(--accent);
        }
        .cookie-btn--accept:hover { background: var(--accent-light); transform: translateY(-1px); }
        .cookie-btn--decline {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border-glass);
        }
        .cookie-btn--decline:hover { color: var(--text-primary); border-color: rgba(255, 255, 255, 0.16); }
        @media (max-width: 480px) {
            .cookie-consent { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 20px 18px; }
        }
