/* =============================================================================
   Veloratio – Website
   Dasselbe Designsystem wie die App (frontend/lib/core/app_theme.dart):
   Navy als Primärfarbe, Teal als Akzent, heller Grund. Ruhig und seriös —
   die Seite soll Vertrauen für Geschäfts- und Rechnungsdaten schaffen.
   ============================================================================= */

:root {
    /* ── Farben (identisch zur App) ────────────────────────────────────── */
    --navy:          #1A237E;
    --navy-light:    #283593;
    --navy-dark:     #0D1B2A;
    --teal:          #00897B;
    --teal-light:    #4DB6AC;
    --success:       #4CAF50;
    --warning:       #FF9800;

    --bg:            #F5F7FA;
    --surface:       #FFFFFF;
    --surface-alt:   #FAFBFC;
    --text:          #1A1F36;
    --text-muted:    #6B7280;
    --text-on-dark:  #FFFFFF;
    --text-on-dark-muted: rgba(255, 255, 255, 0.72);
    --divider:       #E5E7EB;

    /* ── Form ──────────────────────────────────────────────────────────── */
    --radius-sm:  10px;
    --radius:     12px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    --shadow-card:  0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lift:  0 8px 24px rgba(26, 35, 126, 0.12);
    --shadow-focus: 0 0 0 3px rgba(26, 35, 126, 0.15);

    /* ── Abstände ──────────────────────────────────────────────────────── */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-6: 3rem;
    --space-8: 4rem;
    --space-12: 6rem;

    --container: 1120px;
    --nav-height: 72px;

    /* Systemschrift: rendert nativ auf iOS/macOS/Windows, lädt nichts nach.
       Google Fonts vom CDN wären ein Datentransfer in die USA bei jedem
       Seitenaufruf — in Deutschland bereits abgemahnt. */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ── Typografie: sechs Stufen, mehr nicht ──────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-muted); }
.caption { font-size: 0.875rem; color: var(--text-muted); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: var(--space-12) 0; }
@media (max-width: 720px) { section { padding: var(--space-8) 0; } }

.section-head { max-width: 680px; margin: 0 auto var(--space-6); text-align: center; }
.section-head h2 { margin-bottom: var(--space-2); }

/* ── Eyebrow / Badge ───────────────────────────────────────────────────── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 137, 123, 0.10);
    border: 1px solid rgba(0, 137, 123, 0.22);
    color: #00695C;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--teal);
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease,
                background-color .15s ease, border-color .15s ease;
}
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 2px 6px rgba(26,35,126,.2); }
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-secondary { background: var(--surface); color: var(--navy); border-color: var(--divider); }
.btn-secondary:hover { border-color: var(--navy); transform: translateY(-1px); }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.btn-block { width: 100%; }

/* ── Navigation ────────────────────────────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 50;
    height: var(--nav-height);
    background: rgba(245, 247, 250, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--divider); background: rgba(245,247,250,.95); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.02em; color: var(--navy); }
.brand svg { flex: none; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color .15s ease, background-color .15s ease;
}
.nav-links a:hover { color: var(--navy); background: rgba(26,35,126,.06); }
.nav-links a.btn { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; background: var(--navy-light); }
.nav-cta { margin-left: 12px; min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    background: none; border: 1px solid var(--divider);
    border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span {
    display: block; width: 18px; height: 2px; background: var(--navy);
    border-radius: 2px; position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px;
    background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: absolute; left: 0; right: 0; top: var(--nav-height);
        flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px 24px 20px;
        background: var(--surface);
        border-bottom: 1px solid var(--divider);
        box-shadow: var(--shadow-card);
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { min-height: 48px; padding: 0 14px; font-size: 1rem; }
    .nav-cta { margin: 8px 0 0; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; padding-top: var(--space-8); padding-bottom: var(--space-8); }
/* Weiche Farbflächen hinter dem Hero — reines CSS, kein Bild, kein Request. */
.hero::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: calc(-1 * var(--nav-height)) 0 0 0;
    background:
        radial-gradient(640px 420px at 82% 30%, rgba(77,182,172,.18), transparent 70%),
        radial-gradient(560px 360px at 8% 0%, rgba(26,35,126,.07), transparent 70%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-8);
    align-items: center;
}
.hero h1 { margin: var(--space-3) 0 var(--space-3); }
.hero .lead { max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-4); }
.hero-checks {
    list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px;
    margin-top: var(--space-3); font-size: 0.875rem; color: var(--text-muted);
}
.hero-checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero-checks svg { color: var(--teal); flex: none; }

/* ── Auf einen Blick ───────────────────────────────────────────────────── */
section.facts-band { padding: 0 0 var(--space-4); }
.facts {
    list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--surface); border: 1px solid var(--divider);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.facts li { padding: 20px 24px; display: grid; gap: 2px; }
.facts li + li { border-left: 1px solid var(--divider); }
.facts strong { color: var(--navy); font-size: 1.0625rem; letter-spacing: -0.01em; }
.facts span { color: var(--text-muted); font-size: 0.875rem; line-height: 1.45; }
@media (max-width: 860px) {
    .facts { grid-template-columns: repeat(2, 1fr); }
    .facts li:nth-child(3) { border-left: 0; }
    .facts li:nth-child(n+3) { border-top: 1px solid var(--divider); }
}
@media (max-width: 480px) {
    .facts { grid-template-columns: 1fr; }
    .facts li + li { border-left: 0; border-top: 1px solid var(--divider); }
}

@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ── Demo: Sprache → Rechnung ──────────────────────────────────────────── */
.demo {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 22px;
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
}
.demo-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.demo-mic {
    width: 40px; height: 40px; flex: none;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
}
.demo-wave { display: flex; align-items: center; gap: 3px; height: 28px; flex: 1; }
.demo-wave i {
    display: block; width: 3px; border-radius: 2px;
    background: var(--teal-light);
    height: 55%;
}
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 92%; } }

.demo-quote {
    display: grid;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: 0.9375rem;
    color: var(--text);
    border-left: 3px solid var(--teal);
    min-height: 76px;
}
.demo-transcript, .demo-typing { grid-area: 1 / 1; }
.demo-transcript { opacity: 0; } /* Reserves text height and a stable screen-reader transcript. */
.demo-quote .cursor {
    visibility: hidden;
    display: inline-block; width: 2px; height: 1.05em;
    background: var(--teal); vertical-align: -0.16em;
}
@keyframes blink { 50% { opacity: 0; } }

.demo-arrow { display: grid; place-items: center; padding: 14px 0; color: var(--text-muted); }

.demo-doc { border: 1px solid var(--divider); border-radius: var(--radius); overflow: hidden; }
.demo-doc-head {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 12px 16px; background: var(--surface-alt);
    border-bottom: 1px solid var(--divider);
}
.demo-doc-head strong { font-size: 0.9375rem; }
.demo-doc-head span { font-size: 0.75rem; color: var(--text-muted); }
.demo-row {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 9px 16px; font-size: 0.875rem;
    border-bottom: 1px solid var(--divider);
    opacity: 1;
}
.demo-row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-row.total {
    border-bottom: none; background: var(--surface-alt);
    font-weight: 700; color: var(--navy); padding: 12px 16px;
}
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Static HTML remains complete without JavaScript or outside the viewport. */
.demo[data-demo-state="waiting"] .demo-row,
.demo[data-demo-state="typing"] .demo-row { opacity: 0; }
.demo[data-demo-state="invoice"] .demo-row { opacity: 0; animation: rowIn .45s ease forwards; }
.demo[data-demo-state="typing"] .demo-wave i { animation: wave 1.4s ease-in-out infinite; }
.demo[data-demo-state="typing"] .cursor { visibility: visible; animation: blink 1s step-end infinite; }

@media (prefers-reduced-motion: reduce) {
    .demo[data-demo-state] .demo-row { opacity: 1; animation: none; }
    .demo[data-demo-state] .demo-wave i { animation: none; }
    .demo[data-demo-state] .cursor { visibility: hidden; }
    .demo-wave i, .demo-quote .cursor { animation: none; }
    .demo-wave i { height: 55%; }
    .demo-row { opacity: 1; animation: none; }
    html { scroll-behavior: auto; }
}

/* ── Schritte ──────────────────────────────────────────────────────────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
/* Verbindungslinie zwischen den Schritten — sichtbar in den Lücken. */
.steps::before {
    content: ""; position: absolute; top: calc(var(--space-4) + 18px); left: 10%; right: 10%;
    height: 2px; background: linear-gradient(90deg, var(--teal-light), var(--navy)); opacity: .35;
}
.step { position: relative; }
.step {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}
.step-no {
    width: 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--navy); color: #fff;
    box-shadow: 0 4px 10px rgba(26,35,126,.25);
    font-weight: 700; font-size: 0.9375rem;
    margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.9375rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* ── Features ──────────────────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.feature {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: rgba(26,35,126,.18); }
@media (prefers-reduced-motion: reduce) { .feature, .feature:hover { transition: none; transform: none; } }
.feature-icon {
    width: 40px; height: 40px; border-radius: 11px;
    display: grid; place-items: center;
    background: rgba(0,137,123,.10); color: var(--teal);
    margin-bottom: 12px;
}
.feature h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.feature p { font-size: 0.9062rem; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .features { grid-template-columns: 1fr; } }

/* ── Für wen ───────────────────────────────────────────────────────────── */
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); align-items: center; }
.audience-list { list-style: none; display: grid; gap: 12px; }
.audience-list li { display: flex; gap: 12px; align-items: flex-start; }
.audience-list svg { flex: none; margin-top: 3px; color: var(--teal); }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }

/* ── Dunkler Kontrastblock (Sicherheit) ────────────────────────────────── */
.dark {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--text-on-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-4);
    margin: 0 24px;
}
.dark .section-head p, .dark p { color: var(--text-on-dark-muted); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
.trust-item {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
}
.trust-item h3 { font-size: 1rem; margin-bottom: 6px; }
.trust-item p { font-size: 0.875rem; line-height: 1.5; }
.trust-item svg { color: var(--teal-light); margin-bottom: 10px; }
@media (max-width: 980px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .trust { grid-template-columns: 1fr; } .dark { margin: 0 16px; padding: var(--space-6) var(--space-3); } }

/* ── Beta + Anmeldung ──────────────────────────────────────────────────── */
.beta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
@media (max-width: 900px) { .beta-grid { grid-template-columns: 1fr; } }

.beta-points { list-style: none; display: grid; gap: 14px; margin-top: var(--space-3); }
.beta-points li { display: flex; gap: 12px; align-items: flex-start; }
.beta-points svg { flex: none; margin-top: 3px; color: var(--teal); }

.signup {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: var(--space-4);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--text-muted); }
.field input, .field select {
    width: 100%; min-height: 52px;
    padding: 0 14px;
    background: var(--bg);
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus {
    outline: none; border-color: var(--navy); box-shadow: var(--shadow-focus); background: var(--surface);
}
.field input[aria-invalid="true"] { border-color: #E53935; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.consent input {
    width: 22px; height: 22px; min-height: 0; flex: none;
    margin: 2px 0 0; accent-color: var(--navy);
    /* Tippfläche auf 44 px vergrößern, ohne das Kästchen zu verändern */
    outline-offset: 11px;
    position: relative;
}
.consent input::before {
    content: ""; position: absolute;
    top: -11px; left: -11px; width: 44px; height: 44px;
}
.consent label { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; font-weight: 400; }
.consent a { color: var(--navy); text-decoration: underline; }

/* Honeypot – für Menschen unsichtbar, für Bots nicht */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg {
    margin-top: 14px; padding: 14px 16px;
    border-radius: var(--radius); font-size: 0.9375rem;
    display: none;
}
.form-msg.show { display: block; }
.form-msg.ok   { background: rgba(76,175,80,.10);  border: 1px solid rgba(76,175,80,.3);  color: #2E7D32; }
.form-msg.err  { background: rgba(229,57,53,.08);  border: 1px solid rgba(229,57,53,.28); color: #C62828; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.faq summary {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 10px; height: 10px;
    border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.faq .answer { padding: 0 20px 18px; color: var(--text-muted); font-size: 0.9375rem; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--divider); padding: var(--space-6) 0 var(--space-4); margin-top: var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-4); }
.footer h4, .footer .footer-heading { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 12px; }
.footer-col a {
    display: flex; align-items: center; min-height: 44px;
    color: var(--text-muted); font-size: 0.9375rem;
}
.footer-col a:hover { color: var(--navy); }
.footer-bottom {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
    margin-top: var(--space-4); padding-top: var(--space-3);
    border-top: 1px solid var(--divider);
    font-size: 0.875rem; color: var(--text-muted);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Rechtsseiten ──────────────────────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { margin-bottom: var(--space-3); }
.legal h2 { font-size: 1.375rem; margin: var(--space-4) 0 var(--space-1); }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.notice {
    background: rgba(255,152,0,.10);
    border: 1px solid rgba(255,152,0,.35);
    border-radius: var(--radius);
    padding: 16px 18px; margin-bottom: var(--space-4);
    font-size: 0.9375rem;
}
.notice strong { display: block; margin-bottom: 4px; }
.legal h3 { font-size: 1.0625rem; margin: var(--space-3) 0 6px; }
.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.legal-meta { font-size: 0.875rem; color: var(--text-muted); margin-top: calc(-1 * var(--space-2)); }
/* Platzhalter fallen sofort auf — so geht keiner versehentlich live. */
.ph { background: rgba(255,152,0,.18); color: inherit; padding: 0 3px; border-radius: 4px; }
.toc {
    background: var(--surface); border: 1px solid var(--divider);
    border-radius: var(--radius); padding: 18px 22px; margin-bottom: var(--space-4);
}
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.toc li { margin: 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ── Einblenden beim Scrollen ──────────────────────────────────────────── */
.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Skip-Link (Tastaturbedienung) ─────────────────────────────────────── */
.skip {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--navy); color: #fff; padding: 12px 18px;
    border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* Product proof uses a real simulator screenshot with fictional fixture data. */
.product-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.product-grid h2 { margin: 20px 0; }
.product-grid .btn { margin-top: 28px; }
/* Der Leuchteffekt hinter dem Screenshot darf auf schmalen Displays nicht
   seitlich überstehen (sonst horizontales Scrollen auf iOS). */
.product-preview { overflow-x: clip; }
.app-figure { position: relative; isolation: isolate; max-width: 300px; margin-inline: auto; }
.app-figure::before {
    content: ""; position: absolute; z-index: -1; inset: 6% -30% 14%;
    background: radial-gradient(closest-side, rgba(77,182,172,.28), transparent);
}
.app-figure img { border: 1px solid var(--divider); border-radius: 24px; box-shadow: var(--shadow-card); }
.app-figure figcaption { margin-top: 12px; text-align: center; font-size: .8125rem; color: var(--text-muted); }
.btn:disabled { cursor: default; opacity: .7; transform: none; }
@media (max-width: 920px) {
    .hero { padding-top: 32px; }
    .hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
}
@media (max-width: 720px) {
    .product-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-actions { display: grid; }
    .hero-actions .btn { padding-inline: 14px; }
    .hero-checks { margin-top: 16px; }
}

.legal h1 { overflow-wrap: anywhere; hyphens: auto; }
.nav .legal-nav { display: flex; position: static; padding: 0; border: 0; background: transparent; box-shadow: none; }
