/* ── Self-hosted Fonts (keine Google-Verbindung) ── */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/inter-variable.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/playfair-600.woff') format('woff');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/playfair-400-italic.woff') format('woff');
}

:root {
            /* App Theme (Deep Indigo) applied to Concept A Design */
            --color-bg: #110e2d; /* Deep Indigo from App */
            --color-surface: rgba(79, 70, 229, 0.05); /* Indigo tint */
            --color-surface-elevated: rgba(79, 70, 229, 0.1);
            --color-accent: #4f46e5; /* Primary Indigo */
            --color-accent-soft: rgba(79, 70, 229, 0.15);
            --color-accent-glow: rgba(79, 70, 229, 0.4);
            --color-accent-medium: rgba(79, 70, 229, 0.3);
            --color-text: #e0e7ff; /* App Light Indigo text */
            --color-text-muted: #a5b4fc;
            --color-text-subtle: #6366f1;
            --color-border: rgba(79, 70, 229, 0.2);
            --color-border-light: rgba(79, 70, 229, 0.1);
            --color-warm: #ff8000; /* True Orange Accent */
            --color-warm-soft: rgba(255, 128, 0, 0.15);
            --color-warm-medium: rgba(255, 128, 0, 0.3);
            --color-warm-glow: rgba(255, 128, 0, 0.2);
            --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-display: 'Playfair Display', Georgia, serif;
            --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        button,
        input,
        textarea,
        select {
            font: inherit;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--color-bg);
            color: var(--color-text);
            line-height: 1.75;
            font-size: 20px;
            -webkit-font-smoothing: antialiased;
        }

        body.menu-open {
            overflow: hidden;
        }

        a:focus-visible,
        button:focus-visible,
        summary:focus-visible {
            outline: 2px solid var(--color-warm);
            outline-offset: 4px;
        }

        /* ── Dynamic Organic Mesh Background ── */
        .bg-container {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            z-index: -5;
            overflow: hidden;
            pointer-events: none;
        }

        .ambient-glow {
            position: absolute;
            border-radius: 50%;
            filter: blur(120px);
            opacity: 0.6;
            animation: floatGlow 15s ease-in-out infinite alternate;
        }

        .glow-1 {
            width: 800px; height: 800px;
            background: rgba(251, 191, 36, 0.12); /* App Amber */
            top: -10%; right: -10%;
        }

        .glow-2 {
            width: 900px; height: 900px;
            background: rgba(79, 70, 229, 0.2); /* Deep Indigo */
            bottom: -20%; left: -10%;
            animation-delay: -5s;
        }

        /* ── Canvas 3D Net ── */
        #bg-canvas {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            z-index: -10;
            pointer-events: none;
        }

        .ambient-mesh {
            display: none; /* Replaced by Canvas */
        }

        @keyframes floatGlow {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(-60px, 80px) scale(1.1); }
        }

        /* ── Hero ── */
        .hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 2rem;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, var(--color-warm-soft) 0%, transparent 60%);
            pointer-events: none;
            filter: blur(80px);
            z-index: -1;
        }

        .hero-label {
            display: inline-block;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--color-warm);
            margin-bottom: 1.5rem;
            background: var(--color-warm-soft);
            border: 1px solid var(--color-warm-medium);
            padding: 0.4rem 1.2rem;
            border-radius: 100px;
            box-shadow: 0 0 20px var(--color-warm-glow);
        }

        .hero h1 {
            font-family: var(--font-display);
            font-size: clamp(2.4rem, 5vw, 4.2rem);
            font-weight: 600;
            line-height: 1.15;
            margin-bottom: 1.5rem;
            max-width: 900px;
            color: #ffffff;
            text-shadow: 0 4px 20px rgba(0,0,0,0.5);
        }

        .hero h1 em {
            font-style: italic;
            color: var(--color-warm);
            text-shadow: 
                0 0 10px var(--color-warm-glow),
                0 0 20px var(--color-warm-medium);
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--color-warm); /* Netz-Farbe Orange */
            text-shadow: 0 0 15px var(--color-warm-glow);
            max-width: 560px;
            margin-bottom: 2.5rem;
            font-weight: 400;
            line-height: 1.7;
        }

        .scroll-hint {
            position: absolute;
            bottom: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            color: var(--color-text-subtle);
            font-size: 0.8rem;
            letter-spacing: 0.1em;
            animation: float 3s ease-in-out infinite;
        }

        .scroll-hint svg {
            width: 20px;
            height: 20px;
            stroke: var(--color-text-subtle);
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(6px); }
        }

        /* ── Article ── */
        .article, .article-wide {
            margin: 0 auto 2rem auto;
            padding: 4rem;
            scroll-margin-top: 2rem;
            background: rgba(13, 17, 23, 0.65);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid var(--color-border);
            border-radius: 32px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
            position: relative;
            z-index: 10;
        }

        .article {
            max-width: 800px;
        }

        .article-wide {
            max-width: 1020px;
        }

        .section-label {
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--color-warm);
            margin-bottom: 1rem;
            display: inline-block;
            text-shadow: 0 0 10px var(--color-warm-glow);
        }

        .article h2 {
            font-family: var(--font-display);
            font-size: clamp(1.9rem, 3.5vw, 2.6rem);
            font-weight: 600;
            line-height: 1.3;
            margin-bottom: 1.5rem;
            color: #ffffff;
        }

        .article h3 {
            font-size: 1.15rem;
            font-weight: 600;
            margin-top: 2.5rem;
            margin-bottom: 0.75rem;
            color: #e2e8f0;
        }

        .article p {
            color: var(--color-text-muted);
            margin-bottom: 1.25rem;
            font-weight: 300;
        }

        .article p strong {
            color: #ffffff;
            font-weight: 500;
        }

        .article ul {
            list-style: none;
            margin: 1rem 0 1.5rem 0;
        }

        .article ul li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--color-text-muted);
            font-weight: 300;
        }

        .article ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.65rem;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--color-warm);
            box-shadow: 0 0 8px var(--color-warm-glow);
        }

        /* ── Divider ── */
        .divider {
            max-width: 740px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        .divider hr {
            border: none;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--color-border), transparent);
        }

        /* ── Glassmorphism Shared ── */
        .glass-panel {
            background: var(--color-surface);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--color-border);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        }

        /* ── Quote ── */
        .quote-block {
            border-left: 3px solid var(--color-warm);
            padding: 1.5rem 2rem;
            margin: 2rem 0;
            background: linear-gradient(90deg, var(--color-warm-soft), transparent);
            border-radius: 0 16px 16px 0;
            position: relative;
        }

        .quote-block p {
            font-family: var(--font-display);
            font-style: italic;
            font-size: 1.1rem;
            color: #ffffff;
            margin-bottom: 0;
            line-height: 1.6;
        }

        /* ── Stack Grid ── */
        .stack-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1px;
            background: var(--color-border);
            border: 1px solid var(--color-border);
            border-radius: 16px;
            overflow: hidden;
            margin: 2rem 0;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
        }

        .stack-item {
            background: rgba(13, 17, 23, 0.95);
            backdrop-filter: blur(16px);
            padding: 1.25rem 1.5rem;
            transition: background 0.3s;
        }

        .stack-item:hover {
            background: rgba(255, 255, 255, 0.03);
        }

        .stack-toggle {
            width: 100%;
            background: none;
            border: 0;
            color: inherit;
            text-align: left;
            cursor: pointer;
        }

        .stack-item-label {
            display: block;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--color-warm);
            margin-bottom: 0.4rem;
        }

        .stack-item-value {
            display: block;
            font-size: 1rem;
            font-weight: 600;
            color: #ffffff;
        }

        .stack-item-note {
            display: block;
            font-size: 0.85rem;
            color: var(--color-text-muted);
            margin-top: 0.25rem;
            font-weight: 300;
        }

        /* ── Learning Cards (Accordion) ── */
        .learning-grid {
            display: grid;
            gap: 0.75rem;
            margin: 2rem 0;
        }

        .learning-card {
            background: var(--color-surface);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--color-border);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s;
        }

        .learning-card:hover {
            border-color: rgba(255, 255, 255, 0.15);
        }

        .learning-card.open {
            border-color: var(--color-accent);
            box-shadow: 0 0 20px var(--color-accent-glow);
            background: var(--color-surface-elevated);
        }

        .learning-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.25rem 1.5rem;
            cursor: pointer;
            user-select: none;
            width: 100%;
            border: 0;
            background: none;
            text-align: left;
        }

        .learning-number {
            font-size: 0.75rem;
            font-weight: 800;
            letter-spacing: 0.1em;
            color: #080614;
            background: var(--color-warm);
            width: 28px;
            height: 28px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 0 12px var(--color-warm-glow);
        }

        .learning-title {
            font-size: 1.05rem;
            font-weight: 600;
            margin: 0;
            color: #ffffff;
            flex: 1;
        }

        .learning-chevron {
            width: 20px;
            height: 20px;
            stroke: var(--color-text-subtle);
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .learning-card.open .learning-chevron {
            transform: rotate(180deg);
            stroke: var(--color-accent);
        }

        .learning-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
        }

        .learning-body-inner {
            padding: 0 1.5rem 1.5rem;
            padding-left: calc(1.5rem + 28px + 1rem); 
        }

        .learning-body p {
            font-size: 0.95rem;
            color: var(--color-text-muted);
            margin-bottom: 0.75rem;
            font-weight: 300;
            line-height: 1.7;
        }

        .learning-body .example {
            margin-top: 0.75rem;
            padding: 0.75rem 1rem;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--color-border-light);
            border-radius: 10px;
            font-size: 0.9rem;
            color: var(--color-text-muted);
            line-height: 1.6;
        }

        .learning-body .example::before {
            content: '\2192  ';
            color: var(--color-warm);
            font-weight: 600;
        }

        .learning-body .example strong {
            color: #ffffff;
            font-weight: 500;
        }

        /* ── Transfer Cards ── */
        .transfer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.25rem;
            margin: 2rem 0;
        }

        .transfer-card {
            background: var(--color-surface);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--color-border);
            border-radius: 16px;
            padding: 1.5rem;
            transition: all 0.3s;
        }

        .transfer-card:hover {
            border-color: var(--color-warm);
            box-shadow: 0 0 20px var(--color-warm-glow);
            transform: translateY(-2px);
        }

        .transfer-card h4 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--color-warm);
        }

        .transfer-card p {
            font-size: 0.92rem;
            margin-bottom: 0;
            color: var(--color-text-muted);
            font-weight: 300;
        }

        .transfer-card .transfer-tip {
            margin-top: 0.75rem;
            padding-top: 0.75rem;
            border-top: 1px solid var(--color-border-light);
            font-size: 0.85rem;
            color: var(--color-text-subtle);
        }

        .transfer-card .transfer-tip::before {
            content: '\1F4A1  ';
        }

        /* ── Tool Journey ── */
        .tool-journey {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin: 1.5rem 0;
            flex-wrap: wrap;
        }

        .tool-badge {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid var(--color-border);
            border-radius: 100px;
            padding: 0.5rem 1.2rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--color-text-muted);
            white-space: nowrap;
        }

        .tool-badge.active {
            border-color: var(--color-accent);
            color: #ffffff;
            background: var(--color-accent-soft);
            box-shadow: 0 0 10px var(--color-accent-glow);
            font-weight: 600;
        }

        .tool-arrow {
            color: var(--color-text-subtle);
            font-size: 1.1rem;
        }

        /* ── Closing ── */
        .closing {
            text-align: center;
            padding: 2rem 2rem 8rem;
            max-width: 700px;
            margin: 0 auto;
        }

        .closing-quote {
            font-family: var(--font-display);
            font-style: italic;
            font-size: 1.25rem;
            color: #ffffff;
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        .closing-name {
            margin-top: 2rem;
            font-weight: 600;
            color: var(--color-accent);
            font-size: 1.1rem;
        }

        /* ── Nav Dots ── */
        .nav-dots {
            position: fixed;
            right: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            z-index: 100;
        }

        .nav-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--color-border);
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            padding: 0;
        }

        .nav-dot:hover {
            background: var(--color-accent);
            transform: scale(1.3);
        }

        .nav-dot.active {
            background: var(--color-warm);
            box-shadow: 0 0 10px var(--color-warm-glow);
            width: 16px;
            border-radius: 4px;
        }

        .btn-disabled {
            cursor: default;
            pointer-events: none;
            opacity: 0.92;
        }

        .btn-disabled:hover {
            transform: none;
            background: inherit;
            border-color: inherit;
        }

        .store-status-note {
            margin-top: 1rem;
            color: var(--color-text-muted);
            font-size: 0.95rem;
            font-weight: 300;
        }

        /* ── Responsive ── */
        @media (max-width: 640px) {
            body { font-size: 18px; }
            .hero { padding: 1.5rem; }
            .article, .article-wide {
                padding: 2.5rem 1.5rem;
                margin: 0 1rem 2rem 1rem;
                border-radius: 24px;
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                background: rgba(13, 17, 23, 0.9);
            }
            .glass-panel,
            .learning-card,
            .transfer-card,
            .cookie-banner {
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
            }
            .ambient-glow {
                filter: blur(80px);
            }
            .divider { padding: 3rem 1.5rem; }
            .nav-dots { display: none; }
            .stack-grid { grid-template-columns: 1fr; }
            .transfer-grid { grid-template-columns: 1fr; }
            .tool-arrow { display: none; }
            .learning-body-inner { padding-left: 1.5rem; }
        }

        /* ── Fade-in ── */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }

            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }

            .fade-in {
                opacity: 1;
                transform: none;
            }
        }

        footer p {
            color: var(--color-text-muted);
            font-size: 0.9rem;
        }

        footer a {
            color: var(--color-text-muted);
            text-decoration: underline;
        }

        /* Wellness-Hinweis: gleicher Wortlaut wie im Impressum, hier sichtbar
           fuer alle, die nicht bis ins Impressum klicken. */
        footer .footer-hinweis {
            max-width: 46rem;
            margin: 0 auto 1.1rem;
            font-size: 0.82rem;
            line-height: 1.55;
            opacity: 0.85;
        }

        footer a:hover {
            color: #fff;
        }

        .muted-text {
            color: var(--color-text-muted);
            font-weight: 300;
        }

        .feature-card p {
            color: var(--color-text-muted);
            font-weight: 300;
        }

        /* ── Landing Page: Method Section ── */
        .method-section {
            padding: 4rem 2rem;
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

        .method-section-title {
            text-align: center;
            margin-bottom: 4rem;
        }

        .method-section-title h2 {
            font-family: var(--font-display);
            font-size: 2.5rem;
            color: #fff;
            font-weight: 600;
        }

        .method-steps {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .method-step h3 {
            color: #fff;
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }

        .method-step p,
        .method-step ul {
            color: var(--color-text-muted);
            font-weight: 300;
            line-height: 1.6;
        }

        .method-step ul {
            padding-left: 1.5rem;
            margin-top: 0.5rem;
        }

        .method-step strong {
            color: #fff;
        }

        .tip-box {
            margin-top: 1rem;
            padding: 1rem;
            background: rgba(255,255,255,0.02);
            border: 1px dashed rgba(255,255,255,0.2);
            border-radius: 12px;
            color: var(--color-text-muted);
            font-size: 0.95rem;
        }

        .tip-box-focus {
            margin-top: 1rem;
            padding: 1rem;
            background: rgba(255,255,255,0.02);
            border: 1px dashed rgba(255,255,255,0.2);
            border-radius: 12px;
            color: var(--color-text-muted);
            font-size: 0.95rem;
        }

        .tip-box-focus strong {
            color: var(--color-warm);
        }

        /* ── Landing Page: Audio CTA Section ── */
        .audio-cta-section {
            padding-top: 2rem;
            min-height: auto;
            margin-bottom: 6rem;
            align-items: center;
            gap: 6rem;
        }

        .audio-cta-image {
            width: 100%;
            max-width: 550px;
            display: block;
            margin: 0 auto;
            filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
            transform: scale(1.4);
            transform-origin: center;
        }

        .audio-cta-title {
            font-family: var(--font-display);
            font-size: clamp(2rem, 3vw, 2.8rem);
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            color: #ffffff;
        }

        .audio-cta-text {
            font-size: 1.15rem;
            color: var(--color-text-muted);
            font-weight: 300;
            line-height: 1.6;
        }

        /* ── Landing Page: FAQ Section ── */
        .faq-section {
            padding: 2rem 2rem 6rem;
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        /* ── Landing Page: Closing Section ── */
        .closing-section {
            padding: 2rem 2rem 8rem;
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .closing-section .hero-content {
            margin-bottom: 4rem;
        }

        .closing-section h2 {
            font-family: var(--font-display);
            font-size: clamp(2rem, 3.5vw, 2.6rem);
            font-weight: 600;
            line-height: 1.2;
            color: #ffffff;
        }

        .closing-section p {
            font-size: 1.15rem;
            color: var(--color-text-muted);
            font-weight: 300;
            margin-top: 1rem;
        }

        .closing-section .store-buttons {
            margin-top: 7rem;
            justify-content: center;
        }

        .closing-section .phone-mockup {
            max-width: 260px;
            transform: rotate(0deg);
            margin: 0 auto;
        }

        /* ── Cookie Banner ── */
        .cookie-banner {
            position: fixed !important;
            bottom: 0 !important;
            left: 0;
            right: 0;
            z-index: 10000;
            background: rgba(13, 17, 23, 0.97);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-top: 1px solid var(--color-border);
            padding: 1.25rem 2rem;
            display: none;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .cookie-banner.visible {
            display: flex;
        }

        .cookie-banner p {
            color: var(--color-text-muted);
            font-size: 0.9rem;
            line-height: 1.5;
            margin: 0;
            max-width: 600px;
        }

        .cookie-banner a {
            color: var(--color-warm);
            text-decoration: underline;
        }

        .cookie-banner-btn {
            background: var(--color-warm);
            color: #110e2d;
            border: none;
            padding: 0.6rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            font-family: var(--font-body);
            white-space: nowrap;
            transition: opacity 0.3s;
        }

        .cookie-banner-btn:hover {
            opacity: 0.85;
        }
