/* ==========================================================================
           DESIGN SYSTEM & CSS VARIABLES
           Abgestimmt auf die ruhige, neurodivergenz-freundliche TagesTaktik-Farbpalette:
           Beruhigendes Slate/Sky-Blau, Erdungston Salbei-Grün, sanftes Koralle für Notfälle.
           ========================================================================== */
        :root {
            --primary: #1E3A8A;           /* Deep Trust Blue */
            --primary-light: #2563EB;     /* Vibrant Sky Blue */
            --primary-soft: #EFF6FF;      /* Very soft Blue tint */
            --accent-green: #10B981;      /* Grounding Green */
            --accent-green-soft: #ECFDF5;
            --accent-coral: #EF4444;      /* Emergency Alert Coral */
            --accent-coral-soft: #FEF2F2;
            --accent-amber: #F59E0B;      /* Warm Energy */
            --accent-amber-soft: #FFFBEB;
            --accent-purple: #8B5CF6;     /* Hyperfocus / Mind */
            --accent-purple-soft: #F5F3FF;
            
            --bg-body: #F8FAFC;          /* Calming low-glare background */
            --surface-card: #FFFFFF;
            --surface-subtle: #F1F5F9;
            --border-color: #E2E8F0;
            --border-hover: #CBD5E1;
            
            --text-heading: #0F172A;     /* High contrast slate */
            --text-body: #334155;        /* Soft readable charcoal */
            --text-muted: #475569;       /* Low priority text */
            
            --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
            --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
            --shadow-lg: 0 14px 28px -6px rgba(15, 23, 42, 0.12), 0 8px 12px -4px rgba(15, 23, 42, 0.06);
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-full: 9999px;
            --container-max: 1140px;
            --nav-bg: rgba(255, 255, 255, 0.94);
        }

        /* --- DARK THEME OVERRIDES --- */
        [data-theme="dark"] {
            --primary: #3B82F6;
            --primary-light: #60A5FA;
            --primary-soft: #1E293B;
            --accent-green: #34D399;
            --accent-green-soft: #064E3B;
            --accent-coral: #F87171;
            --accent-coral-soft: #450A0A;
            --accent-amber: #FBBF24;
            --accent-amber-soft: #451A03;
            --accent-purple: #A78BFA;
            --accent-purple-soft: #2E1065;

            --bg-body: #0F172A;
            --surface-card: #1E293B;
            --surface-subtle: #192437;
            --border-color: #334155;
            --border-hover: #475569;

            --text-heading: #F8FAFC;
            --text-body: #CBD5E1;
            --text-muted: #94A3B8;

            --nav-bg: rgba(15, 23, 42, 0.94);
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 14px 28px rgba(0, 0, 0, 0.5);
        }

        /* --- BASE STYLES & RESET --- */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--bg-body);
            color: var(--text-body);
            line-height: 1.65;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
        }

        a {
            color: var(--primary-light);
            text-decoration: none;
            transition: color 0.2s ease;
        }
        a:hover {
            color: var(--primary);
        }

        img {
            max-width: 100%;
            display: block;
        }

        button {
            font-family: inherit;
            cursor: pointer;
            border: none;
            background: none;
        }

        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        /* --- HEADER & NAVIGATION --- */
        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: var(--nav-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            transition: box-shadow 0.25s ease, background-color 0.25s ease;
        }
        header.scrolled {
            box-shadow: var(--shadow-sm);
        }

        nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
        }

        .brand-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            object-fit: cover;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            background: var(--primary-soft);
        }

        .brand-text {
            display: flex;
            flex-direction: column;
        }

        .brand-name {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--text-heading);
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .brand-tagline {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 1.75rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-body);
            font-size: 0.95rem;
            font-weight: 500;
            padding: 0.25rem 0;
            position: relative;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary-light);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            margin-left: 1rem;
            padding-left: 1rem;
            border-left: 1px solid var(--border-color);
        }

        .theme-toggle-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: var(--radius-full);
            background: var(--surface-subtle);
            border: 1px solid var(--border-color);
            color: var(--text-heading);
            font-size: 1.15rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .theme-toggle-btn:hover {
            border-color: var(--border-hover);
            transform: scale(1.06);
            background: var(--border-color);
        }
        .theme-icon-dark { display: none; }
        .theme-icon-light { display: inline-block; }
        [data-theme="dark"] .theme-icon-dark { display: inline-block; }
        [data-theme="dark"] .theme-icon-light { display: none; }

        .nav-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--primary);
            color: #ffffff !important;
            padding: 0.6rem 1.25rem;
            border-radius: var(--radius-full);
            font-weight: 600;
            font-size: 0.9rem;
            box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
            transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
        }

        .nav-cta:hover {
            background: #1e40af;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(30, 58, 138, 0.28);
        }

        /* --- BUTTONS --- */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            padding: 0.85rem 1.75rem;
            border-radius: var(--radius-md);
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease;
            line-height: 1.2;
        }

        .btn-primary {
            background-color: var(--primary);
            color: #ffffff;
            box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
        }
        .btn-primary:hover {
            background-color: #1e40af;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
        }

        .btn-secondary {
            background-color: var(--surface-card);
            color: var(--text-heading);
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
        }
        .btn-secondary:hover {
            border-color: var(--border-hover);
            background-color: var(--surface-subtle);
            color: var(--text-heading);
            transform: translateY(-2px);
        }

        .btn-outline {
            border: 1.5px solid var(--primary-light);
            color: var(--primary-light);
            background: transparent;
        }
        .btn-outline:hover {
            background: var(--primary-soft);
            color: var(--primary);
        }

        /* --- GOOGLE PLAY BADGE --- */
        .playstore-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.85rem;
            background: #000000;
            color: #ffffff !important;
            padding: 0.55rem 1.35rem;
            border-radius: var(--radius-md);
            border: 1px solid rgba(255, 255, 255, 0.25);
            text-decoration: none;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
            transition: all 0.2s ease;
        }
        .playstore-badge:hover {
            background: #111827;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
            border-color: rgba(255, 255, 255, 0.45);
        }
        .play-icon {
            flex-shrink: 0;
            width: 26px;
            height: 26px;
        }
        .play-text {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            line-height: 1.15;
        }
        .play-sub {
            font-size: 0.65rem;
            font-weight: 500;
            letter-spacing: 0.05em;
            color: #9CA3AF;
            text-transform: uppercase;
        }
        .play-brand {
            font-size: 1.15rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.01em;
        }

        /* --- BADGES --- */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.825rem;
            font-weight: 600;
            padding: 0.35rem 0.85rem;
            border-radius: var(--radius-full);
            letter-spacing: 0.01em;
            margin-bottom: 1.25rem;
        }
        .badge-soft-blue {
            background: #DBEAFE;
            color: #1E40AF;
        }
        .badge-soft-green {
            background: #D1FAE5;
            color: #065F46;
        }
        .badge-soft-coral {
            background: #FEE2E2;
            color: #991B1B;
        }

        /* --- HERO SECTION --- */
        .hero {
            padding: 5rem 0 4.5rem;
            position: relative;
            overflow: hidden;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 3.5rem;
            align-items: center;
        }

        .hero-content h1 {
            font-size: 2.85rem;
            font-weight: 800;
            line-height: 1.18;
            color: var(--text-heading);
            letter-spacing: -0.03em;
            margin-bottom: 1.25rem;
        }

        .hero-content h1 span.highlight {
            color: var(--primary-light);
            background: linear-gradient(120deg, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 100%);
            padding: 0 4px;
            border-radius: 4px;
        }

        .hero-content p.hero-sub {
            font-size: 1.18rem;
            color: var(--text-body);
            line-height: 1.6;
            margin-bottom: 2rem;
            max-width: 580px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 2.5rem;
        }

        .trust-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 1.25rem;
            border-top: 1px solid var(--border-color);
            padding-top: 1.75rem;
        }

        .trust-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text-muted);
        }

        .trust-item svg {
            width: 18px;
            height: 18px;
            color: var(--accent-green);
        }

        /* --- PHONE MOCKUP (INTERACTIVE CSS MOCKUP) --- */
        .mockup-container {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .phone-frame {
            width: 100%;
            max-width: 340px;
            background: #0f172a;
            border-radius: 42px;
            padding: 11px;
            box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
            position: relative;
        }

        .phone-notch {
            position: absolute;
            top: 22px;
            left: 50%;
            transform: translateX(-50%);
            width: 110px;
            height: 20px;
            background: #0f172a;
            border-radius: 0 0 14px 14px;
            z-index: 10;
        }

        .phone-screen {
            background: #F7F9FA;
            border-radius: 32px;
            padding: 2.25rem 1rem 1.25rem;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
            border: 1px solid rgba(0,0,0,0.06);
        }

        .mockup-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 0.25rem;
        }

        .mockup-greeting {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 500;
        }
        .mockup-app-title {
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--text-heading);
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }

        .mockup-battery-card {
            background: #ffffff;
            border-radius: var(--radius-md);
            padding: 0.75rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
        }
        .mockup-card-label {
            font-size: 0.68rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: var(--text-muted);
            margin-bottom: 0.35rem;
            display: flex;
            justify-content: space-between;
        }
        .mockup-meter {
            height: 8px;
            background: #E2E8F0;
            border-radius: 4px;
            overflow: hidden;
        }
        .mockup-meter-fill {
            height: 100%;
            width: 65%;
            background: linear-gradient(90deg, #10B981, #2563EB);
            border-radius: 4px;
        }

        .mockup-bento-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.65rem;
        }

        .mockup-bento-card {
            background: #ffffff;
            border-radius: var(--radius-md);
            padding: 0.75rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
        }
        .mockup-bento-card.alert-card {
            border-color: #FECACA;
            background: #FFF5F5;
        }
        .mockup-bento-title {
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-heading);
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }
        .mockup-bento-sub {
            font-size: 0.68rem;
            color: var(--text-muted);
            line-height: 1.3;
        }

        .mockup-task-item {
            background: #ffffff;
            border-radius: var(--radius-md);
            padding: 0.75rem;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
        }
        .mockup-task-head {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-heading);
            margin-bottom: 0.4rem;
        }
        .mockup-microstep {
            font-size: 0.7rem;
            color: var(--text-body);
            background: var(--surface-subtle);
            padding: 0.35rem 0.5rem;
            border-radius: 6px;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .mockup-pet {
            background: linear-gradient(135deg, #EFF6FF, #F3E8FF);
            border-radius: var(--radius-md);
            padding: 0.65rem 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            border: 1px solid #DBEAFE;
        }
        .mockup-pet-emoji {
            font-size: 1.4rem;
        }
        .mockup-pet-text {
            font-size: 0.72rem;
            color: var(--text-heading);
            font-weight: 600;
            line-height: 1.25;
        }
        .mockup-pet-text span {
            font-size: 0.65rem;
            color: var(--text-muted);
            font-weight: 400;
            display: block;
        }

        /* --- SECTION HEADINGS --- */
        .section-header {
            text-align: center;
            max-width: 720px;
            margin: 0 auto 3.5rem;
        }

        .section-header h2 {
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--text-heading);
            letter-spacing: -0.025em;
            line-height: 1.25;
            margin-bottom: 1rem;
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* --- PAIN VS SOLUTION SECTION --- */
        .philosophy-section {
            padding: 5rem 0;
            background: var(--surface-card);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        .contrast-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .contrast-col {
            border-radius: var(--radius-lg);
            padding: 2.25rem;
        }

        .contrast-col.bad {
            background: #FEF2F2;
            border: 1px solid #FCA5A5;
        }

        .contrast-col.good {
            background: #F0FDF4;
            border: 1px solid #86EFAC;
            box-shadow: var(--shadow-sm);
        }

        .contrast-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1.25rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
        }
        .contrast-col.bad .contrast-header {
            color: #991B1B;
        }
        .contrast-col.good .contrast-header {
            color: #166534;
        }

        .contrast-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 1.15rem;
        }

        .contrast-list li {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            font-size: 0.975rem;
            line-height: 1.5;
        }

        .contrast-col.bad .contrast-list li {
            color: #7F1D1D;
        }
        .contrast-col.good .contrast-list li {
            color: #14532D;
        }

        .contrast-bullet {
            flex-shrink: 0;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.8rem;
            margin-top: 1px;
        }
        .contrast-col.bad .contrast-bullet {
            background: #FCA5A5;
            color: #7F1D1D;
        }
        .contrast-col.good .contrast-bullet {
            background: #86EFAC;
            color: #14532D;
        }

        /* --- TIMELINE: EIN TAG MIT TAGESTAKTIK --- */
        .timeline-section {
            padding: 5.5rem 0;
            background: var(--bg-body);
            border-bottom: 1px solid var(--border-color);
        }

        .timeline-grid {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            max-width: 860px;
            margin: 0 auto;
            position: relative;
        }

        .timeline-card {
            background: var(--surface-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 1.75rem 2rem;
            box-shadow: var(--shadow-sm);
            display: grid;
            grid-template-columns: 140px 1fr;
            gap: 1.5rem;
            align-items: flex-start;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .timeline-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
            border-color: var(--border-hover);
        }

        .timeline-time {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }

        .time-badge {
            font-size: 0.85rem;
            font-weight: 800;
            color: var(--primary-light);
            letter-spacing: 0.05em;
        }

        .timeline-tag {
            font-size: 0.72rem;
            font-weight: 700;
            color: var(--text-muted);
            background: var(--surface-subtle);
            padding: 0.2rem 0.55rem;
            border-radius: var(--radius-full);
            display: inline-block;
            width: fit-content;
        }

        .timeline-content h3 {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--text-heading);
            margin-bottom: 0.5rem;
            letter-spacing: -0.01em;
        }

        .timeline-situation {
            font-size: 0.92rem;
            color: var(--text-muted);
            margin-bottom: 0.75rem;
            line-height: 1.5;
        }

        .timeline-solution {
            display: flex;
            align-items: flex-start;
            gap: 0.65rem;
            background: var(--primary-soft);
            border: 1px solid rgba(37, 99, 235, 0.15);
            padding: 0.85rem 1rem;
            border-radius: var(--radius-md);
            font-size: 0.9rem;
            color: var(--text-heading);
            line-height: 1.5;
        }

        .solution-icon {
            font-size: 1.15rem;
            flex-shrink: 0;
            margin-top: -1px;
        }

        @media (max-width: 640px) {
            .timeline-card {
                grid-template-columns: 1fr;
                gap: 0.75rem;
                padding: 1.25rem;
            }
            .timeline-time {
                flex-direction: row;
                align-items: center;
                gap: 0.75rem;
            }
        }

        /* --- DARK THEME COMPONENT OVERRIDES --- */
        [data-theme="dark"] .contrast-col.bad {
            background: #2D1517;
            border-color: #7F1D1D;
        }
        [data-theme="dark"] .contrast-col.bad .contrast-header { color: #F87171; }
        [data-theme="dark"] .contrast-col.bad .contrast-list li { color: #FECACA; }
        [data-theme="dark"] .contrast-col.bad .contrast-bullet { background: #7F1D1D; color: #FECACA; }

        [data-theme="dark"] .contrast-col.good {
            background: #0B2518;
            border-color: #166534;
        }
        [data-theme="dark"] .contrast-col.good .contrast-header { color: #4ADE80; }
        [data-theme="dark"] .contrast-col.good .contrast-list li { color: #BBF7D0; }
        [data-theme="dark"] .contrast-col.good .contrast-bullet { background: #14532D; color: #BBF7D0; }

        [data-theme="dark"] .timeline-solution {
            background: #172554;
            border-color: #1E3A8A;
            color: #E2E8F0;
        }
        [data-theme="dark"] .phone-screen {
            background: #0B132B;
        }
        [data-theme="dark"] .mockup-battery-card,
        [data-theme="dark"] .mockup-bento-card,
        [data-theme="dark"] .mockup-task-item {
            background: #1E293B;
            border-color: #334155;
        }
        [data-theme="dark"] .mockup-bento-card.alert-card {
            background: #2D1517;
            border-color: #7F1D1D;
        }
        [data-theme="dark"] .mockup-pet {
            background: linear-gradient(135deg, #1E293B, #2E1065);
            border-color: #3B82F6;
        }
        [data-theme="dark"] .tool-interactive-box {
            background: var(--bg-body);
            border-color: var(--border-color);
        }
        [data-theme="dark"] .dopa-card {
            background: var(--surface-card);
            border-color: var(--border-color);
        }
        [data-theme="dark"] .dopa-cat-btn {
            background: var(--surface-card);
            border-color: var(--border-color);
            color: var(--text-body);
        }
        [data-theme="dark"] .dopa-cat-btn.active {
            background: #1E3A8A;
            color: #DBEAFE;
            border-color: #3B82F6;
        }
        [data-theme="dark"] .dopa-cat-btn.trap-btn.active {
            background: #7F1D1D;
            color: #FEE2E2;
            border-color: #EF4444;
        }
        [data-theme="dark"] .dopa-card.is-trap {
            background: #2D1517;
            border-color: #7F1D1D;
        }
        [data-theme="dark"] .dopa-info-box {
            background: #172554;
            border-color: #1E3A8A;
            color: #BFDBFE;
        }
        [data-theme="dark"] .ampel-preview-content {
            background: var(--surface-card);
            border-color: var(--border-color);
        }
        [data-theme="dark"] .faq-item {
            background: var(--surface-card);
            border-color: var(--border-color);
        }
        [data-theme="dark"] .legal-box {
            background: var(--surface-subtle);
            border-color: var(--border-color);
        }

        /* --- FEATURES SECTION --- */
        .features-section {
            padding: 5.5rem 0;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 1.75rem;
        }

        .feature-card {
            background: var(--surface-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
            display: flex;
            flex-direction: column;
        }

        .feature-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
            border-color: var(--border-hover);
        }

        .feature-icon-box {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.25rem;
        }
        .feature-icon-box svg {
            width: 28px;
            height: 28px;
        }

        .icon-coral { background: var(--accent-coral-soft); color: var(--accent-coral); }
        .icon-blue { background: var(--primary-soft); color: var(--primary-light); }
        .icon-green { background: var(--accent-green-soft); color: var(--accent-green); }
        .icon-amber { background: var(--accent-amber-soft); color: var(--accent-amber); }
        .icon-purple { background: var(--accent-purple-soft); color: var(--accent-purple); }

        .feature-card h3 {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--text-heading);
            margin-bottom: 0.65rem;
            letter-spacing: -0.015em;
        }

        .feature-card p {
            color: var(--text-body);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.25rem;
            flex-grow: 1;
        }

        .feature-bullets {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.45rem;
            font-size: 0.85rem;
            color: var(--text-muted);
            border-top: 1px solid var(--border-color);
            padding-top: 1rem;
        }

        .feature-bullets li {
            display: flex;
            align-items: center;
            gap: 0.45rem;
        }
        .feature-bullets li svg {
            width: 14px;
            height: 14px;
            color: var(--accent-green);
            flex-shrink: 0;
        }

        /* --- INTERACTIVE TOOLS PREVIEW / TESTBED --- */
        .interactive-section {
            padding: 5rem 0;
            background: var(--surface-card);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        .tool-interactive-box {
            background: var(--bg-body);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 2rem;
            max-width: 800px;
            margin: 0 auto;
            box-shadow: var(--shadow-sm);
        }

        .tool-tabs {
            display: flex;
            gap: 0.5rem;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 1rem;
            margin-bottom: 1.5rem;
            overflow-x: auto;
        }

        .tool-tab-btn {
            padding: 0.5rem 1rem;
            border-radius: var(--radius-full);
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text-muted);
            background: transparent;
            transition: all 0.2s;
        }

        .tool-tab-btn.active {
            background: var(--primary);
            color: #ffffff;
        }

        .tool-pane {
            display: none;
        }
        .tool-pane.active {
            display: block;
        }

        /* Interactive: Dopamin-Menü Demo */
        .dopa-categories {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.25rem;
        }
        .dopa-cat-btn {
            padding: 0.5rem 0.9rem;
            border-radius: var(--radius-full);
            font-size: 0.85rem;
            font-weight: 700;
            background: #ffffff;
            border: 1.5px solid var(--border-color);
            color: var(--text-body);
            transition: all 0.2s;
        }
        .dopa-cat-btn:hover {
            border-color: var(--primary-light);
            color: var(--primary-light);
        }
        .dopa-cat-btn.active {
            background: #DBEAFE;
            color: #1E40AF;
            border-color: #93C5FD;
        }
        .dopa-cat-btn.trap-btn.active {
            background: #FEE2E2;
            color: #991B1B;
            border-color: #FCA5A5;
        }
        .dopa-items-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
            gap: 0.75rem;
            margin-bottom: 1.25rem;
        }
        .dopa-card {
            background: #ffffff;
            border: 1.5px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 0.85rem 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            box-shadow: var(--shadow-sm);
            transition: transform 0.15s, border-color 0.15s;
        }
        .dopa-card:hover {
            transform: translateY(-2px);
            border-color: var(--border-hover);
        }
        .dopa-card.is-trap {
            background: #FFF5F5;
            border-color: #FECACA;
        }
        .dopa-emoji {
            font-size: 1.5rem;
            flex-shrink: 0;
        }
        .dopa-text-box {
            display: flex;
            flex-direction: column;
        }
        .dopa-title {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--text-heading);
            line-height: 1.3;
        }
        .dopa-desc {
            font-size: 0.75rem;
            color: var(--text-muted);
        }
        .dopa-info-box {
            background: #EFF6FF;
            border: 1px solid #BFDBFE;
            border-radius: var(--radius-md);
            padding: 1rem 1.25rem;
            font-size: 0.875rem;
            color: #1E3A8A;
            line-height: 1.5;
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
        }

        /* Interactive: Ampel Demo */
        .ampel-buttons {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.5rem;
            margin-bottom: 1.25rem;
        }
        .ampel-btn {
            padding: 0.75rem 0.5rem;
            border-radius: var(--radius-md);
            font-weight: 700;
            font-size: 0.85rem;
            border: 2px solid transparent;
            text-align: center;
            transition: all 0.2s;
        }
        .ampel-green { background: #D1FAE5; color: #065F46; }
        .ampel-yellow { background: #FEF3C7; color: #92400E; }
        .ampel-orange { background: #FFEDD5; color: #9A3412; }
        .ampel-red { background: #FEE2E2; color: #991B1B; }

        .ampel-btn.selected {
            transform: scale(1.02);
            box-shadow: 0 0 0 3px rgba(0,0,0,0.15);
        }

        .ampel-preview-content {
            background: #ffffff;
            border-radius: var(--radius-md);
            padding: 1.25rem;
            border: 1px solid var(--border-color);
        }
        .ampel-preview-head {
            font-weight: 800;
            font-size: 1rem;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* --- PRIVACY SECTION --- */
        .privacy-section {
            padding: 5rem 0;
            background: var(--bg-body);
        }

        .privacy-box {
            background: linear-gradient(135deg, #1E293B, #0F172A);
            border-radius: var(--radius-lg);
            color: #ffffff;
            padding: 3.5rem 3rem;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }

        .privacy-box h2 {
            font-size: 2.15rem;
            font-weight: 800;
            margin-bottom: 1.25rem;
            letter-spacing: -0.02em;
        }

        .privacy-box p.lead {
            font-size: 1.15rem;
            color: #94A3B8;
            max-width: 650px;
            margin-bottom: 2.5rem;
            line-height: 1.6;
        }

        .privacy-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
        }

        .p-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-md);
            padding: 1.5rem;
        }

        .p-card-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: #F8FAFC;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .p-card p {
            font-size: 0.875rem;
            color: #94A3B8;
            line-height: 1.5;
        }

        /* --- FAQ SECTION --- */
        .faq-section {
            padding: 5.5rem 0;
            background: var(--surface-card);
            border-top: 1px solid var(--border-color);
        }

        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .faq-item {
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            background: var(--surface-card);
            transition: border-color 0.2s ease;
        }

        .faq-item:hover {
            border-color: var(--border-hover);
        }

        .faq-question {
            width: 100%;
            text-align: left;
            padding: 1.25rem 1.5rem;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-heading);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: transparent;
        }

        .faq-icon {
            font-size: 1.25rem;
            color: var(--text-muted);
            transition: transform 0.2s ease;
        }

        .faq-answer {
            padding: 0 1.5rem 1.25rem;
            font-size: 0.95rem;
            color: var(--text-body);
            line-height: 1.6;
            display: none;
            border-top: 1px solid var(--surface-subtle);
            margin-top: 0.5rem;
            padding-top: 0.75rem;
        }

        .faq-item.open .faq-answer {
            display: block;
        }

        .faq-item.open .faq-icon {
            transform: rotate(45deg);
        }

        /* --- DOWNLOAD / CTA BANNER --- */
        .cta-section {
            padding: 5rem 0;
            background: var(--bg-body);
            text-align: center;
        }

        .cta-card {
            background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 100%);
            color: #ffffff;
            border-radius: var(--radius-lg);
            padding: 3.5rem 2rem;
            max-width: 900px;
            margin: 0 auto;
            box-shadow: var(--shadow-lg);
        }

        .cta-card h2 {
            font-size: 2.35rem;
            font-weight: 800;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .cta-card p {
            font-size: 1.15rem;
            color: #DBEAFE;
            max-width: 600px;
            margin: 0 auto 2rem;
            line-height: 1.6;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        /* --- LEGAL / IMPRESSUM & DATENSCHUTZ --- */
        .legal-section {
            padding: 4.5rem 0 3rem;
            background: var(--surface-card);
            border-top: 1px solid var(--border-color);
        }

        .legal-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem;
        }

        .legal-box {
            background: var(--surface-subtle);
            padding: 2rem;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
        }

        .legal-box h3 {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--text-heading);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-color);
        }

        .legal-box p {
            font-size: 0.9rem;
            color: var(--text-body);
            line-height: 1.6;
            margin-bottom: 0.75rem;
        }

        /* --- FOOTER --- */
        footer {
            background: #0F172A;
            color: #94A3B8;
            padding: 3rem 0 2rem;
            font-size: 0.875rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .footer-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            max-width: 100%;
            gap: 1.5rem;
            list-style: none;
        }

        .footer-links a {
            color: #94A3B8;
            transition: color 0.2s;
        }
        .footer-links a:hover {
            color: #ffffff;
        }

        .footer-bottom {
            padding-top: 1.75rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            font-size: 0.8rem;
        }

        /* --- RESPONSIVE BREAKPOINTS --- */
        @media (max-width: 992px) {
            .hero-grid {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }
            .hero-content p.hero-sub {
                margin: 0 auto 2rem;
            }
            .hero-actions {
                justify-content: center;
            }
            .trust-pills {
                justify-content: center;
            }
            .contrast-grid {
                grid-template-columns: 1fr;
            }
            .legal-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: flex; /* Without JavaScript the navigation stays accessible. */
            }
            .hero-content h1 {
                font-size: 2.2rem;
            }
            .section-header h2 {
                font-size: 1.85rem;
            }
            .ampel-buttons {
                grid-template-columns: 1fr 1fr;
            }
        }

        /* Mobile navigation: links remain usable without JavaScript. */
        .menu-toggle { display: none; min-height: 44px; padding: .55rem .8rem; border: 1px solid var(--border-color); border-radius: var(--radius-md); color: var(--text-heading); background: var(--surface-card); font-size: .9rem; font-weight: 600; }
        .brand, .brand-text, .hero-grid > *, .feature-card, .dopa-text-box { min-width: 0; }
        .brand-tagline, .nav-cta { white-space: nowrap; }
        .brand-icon { flex-shrink: 0; }
        .nav-links { gap: 1rem; }
        .nav-links a { white-space: nowrap; }
        .features-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
        .dopa-items-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
        .footer-links a { display: inline-block; padding: .4rem 0; }
        @media (max-width: 1100px) {
            nav { position: relative; flex-wrap: wrap; height: auto; min-height: 72px; padding: .65rem 0; gap: .75rem; }
            .nav-actions { margin-left: auto; padding-left: .75rem; gap: .65rem; }
            .nav-links { order: 3; width: 100%; flex-wrap: wrap; padding: .75rem 0; }
            .js .menu-toggle { display: inline-flex; align-items: center; }
            .js .nav-links { display: none; }
            .js .nav-links.is-open { display: flex; }
            .nav-links a { display: inline-block; min-height: 44px; padding: .6rem .75rem; }
        }
        @media (max-width: 600px) {
            .container { padding-inline: 1.25rem; }
            .brand-tagline, .nav-cta { display: none; }
            .brand-name { font-size: 1.05rem; }
            .brand-icon { width: 36px; height: 36px; }
            .brand { gap: .5rem; }
            .nav-actions { padding-left: .65rem; gap: .5rem; }
            .theme-toggle-btn { width: 44px; height: 44px; flex-shrink: 0; }
            .hero { padding: 3rem 0; }
            .tool-interactive-box, .feature-card, .legal-box { padding: 1.25rem; }
            .privacy-box { padding: 2rem 1.25rem; }
            .privacy-cards { grid-template-columns: 1fr; }
            .tool-tabs { flex-wrap: wrap; overflow: visible; }
            .tool-tab-btn { flex: 1 1 100%; }
            .dopa-card { padding: .85rem; }
            .legal-box { overflow-wrap: anywhere; }
            .contrast-col { padding: 1.5rem; }
            .hero-content h1 { font-size: clamp(1.9rem, 7vw, 2.2rem); }
            .section-header h2, .privacy-box h2, .cta-card h2 { font-size: 1.75rem; }
            .hero-sub { font-size: 1.05rem !important; }
        }

        /* Semantic colors cover both static and generated demo cards. */
        :root { --accent-green: #047857; --accent-coral: #B91C1C; --accent-amber: #92400E; --accent-purple: #6D28D9; }
        [data-theme="dark"] { --primary: #60A5FA; --accent-green: #6EE7B7; --accent-coral: #FCA5A5; --accent-amber: #FDE68A; --accent-purple: #C4B5FD; color-scheme: dark; }
        .nav-cta, .btn-primary, .tool-tab-btn.active { background: #1E40AF; color: #FFFFFF; }
        .cta-card { background: #1E3A8A; }
        .ampel-preview-content { --ampel-heading: #065F46; }
        .ampel-preview-content[data-level="yellow"] { --ampel-heading: #92400E; }
        .ampel-preview-content[data-level="orange"] { --ampel-heading: #9A3412; }
        .ampel-preview-content[data-level="red"] { --ampel-heading: #991B1B; }
        [data-theme="dark"] .ampel-preview-content[data-level="green"] { --ampel-heading: #6EE7B7; }
        [data-theme="dark"] .ampel-preview-content[data-level="yellow"] { --ampel-heading: #FDE68A; }
        [data-theme="dark"] .ampel-preview-content[data-level="orange"] { --ampel-heading: #FDBA74; }
        [data-theme="dark"] .ampel-preview-content[data-level="red"] { --ampel-heading: #FCA5A5; }
        .mockup-bento-title[style], .mockup-card-label span[style], .mockup-microstep span[style] { color: var(--accent-green) !important; }
        .alert-card .mockup-bento-title[style] { color: var(--accent-coral) !important; }
        .mockup-bento-card:not(.alert-card) .mockup-bento-title[style] { color: var(--primary-light) !important; }
        .dopa-cat-btn.random-button { background: #1E40AF; color: #FFF; border-color: #1E40AF; }
        [data-theme="dark"] .dopa-cat-btn.random-button { background: #1E40AF; color: #FFF; border-color: #60A5FA; }

        /* Keyboard, anchors, and reduced motion. */
        [id] { scroll-margin-top: 100px; }
        :focus-visible { outline: 3px solid var(--primary-light); outline-offset: 4px; }
        button, .nav-cta { min-height: 44px; }
        .faq-question { gap: 1rem; }
        .skip-link { position: fixed; top: .5rem; left: 1rem; z-index: 2000; padding: .7rem 1rem; border-radius: 8px; background: var(--surface-card); color: var(--text-heading); transform: translateY(-180%); }
        .skip-link:focus { transform: none; }
        .faq-answer { display: block; }
        .js .faq-answer { display: none; }
        .js .faq-item.open .faq-answer { display: block; }
        .tool-pane { display: block; }
        .js .tool-pane { display: none; }
        .js .tool-pane.active { display: block; }
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            *, *::before, *::after { animation: none !important; transition: none !important; }
        }

        .mockup-container { flex-direction: column; gap: 1rem; }
        .mockup-caption { text-align: center; color: var(--text-muted); font-size: .8rem; max-width: 320px; }
        .benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
        .benefit-card { padding: 1.5rem; border: 1px solid var(--border-color); border-radius: var(--radius-lg); background: var(--bg-body); }
        .benefit-card h3 { color: var(--text-heading); margin: .6rem 0; font-size: 1.2rem; }
        .benefit-number { color: var(--primary-light); font-size: .85rem; font-weight: 700; }
        .philosophy-section, .timeline-section, .features-section, .interactive-section, .privacy-section, .faq-section, .cta-section { padding: 3.75rem 0; }
        .section-header { margin-bottom: 2rem; }
        .timeline-card p { color: var(--text-body); }
        @media (max-width: 768px) { .benefit-grid { grid-template-columns: 1fr; } }

        .legal-document { max-width: 800px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
        .legal-document h1 { overflow-wrap: anywhere; hyphens: auto; color: var(--text-heading); font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.2; margin: 1rem 0; }
        .legal-document h2 { color: var(--text-heading); font-size: 1.35rem; margin: 2rem 0 .75rem; line-height: 1.35; }
        .legal-document h3 { color: var(--text-heading); font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
        .legal-document p, .legal-document ul, .legal-document address { margin-bottom: 1rem; }
        .legal-document address { font-style: normal; }
        .legal-document ul { padding-left: 1.25rem; }
        .legal-document a, .legal-box a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
        .legal-document .stand { color: var(--text-muted); font-size: .9rem; }
        .legal-document .notice { padding: 1.25rem; background: var(--primary-soft); border-left: 3px solid var(--primary-light); border-radius: 8px; }
        .legal-page nav { height: auto; min-height: 72px; gap: 1rem; flex-wrap: wrap; padding-block: .75rem; }
        .legal-page .nav-actions { border: 0; padding: 0; gap: .8rem; }
        .legal-page .nav-actions a { min-height: 44px; display: inline-flex; align-items: center; }
        .playstore-badge { background: transparent; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
        .playstore-badge:hover { background: transparent; box-shadow: none; }
        .playstore-badge img { width: 210px; height: auto; }
        /* Flat surfaces make contrast predictable in both themes. */
        .hero-content h1 span.highlight { background: var(--primary-soft); }
        .mockup-pet, [data-theme="dark"] .mockup-pet { background: var(--primary-soft); }
        .privacy-box { background: #0F172A; }
