/*
 * Pausewave Website – Design „Welle“.
 *
 * Farben, Schriften und Radien sind bewusst die der App (Markenentscheidung
 * vom 20.11.2026, PLAN.md 10.2/10.3, app/src/components/colors.ts und
 * theme.ts): Sand, Salbei, Lehm und die beiden App-Schriften. Nicht gegen einen
 * „neutraleren“ Look tauschen, die Website soll wie die App aussehen.
 * unslop-ignore: Sand/Salbei/Fraunces sind die Marke der App, kein Default.
 *
 * Leitmotiv ist die Welle, ehrlich gezeichnet (PLAN.md 10.4): gleich hohe
 * Wellen, keine Skala, der vorausliegende Teil flach gestrichelt.
 */

@font-face { font-family: "Fraunces"; font-weight: 300; font-style: normal; font-display: swap; src: url("/static/fonts/Fraunces_300Light.woff2") format("woff2"); } /* unslop-ignore: App-Schrift */
@font-face { font-family: "Fraunces"; font-weight: 400; font-style: normal; font-display: swap; src: url("/static/fonts/Fraunces_400Regular.woff2") format("woff2"); } /* unslop-ignore: App-Schrift */
@font-face { font-family: "Fraunces"; font-weight: 400; font-style: italic; font-display: swap; src: url("/static/fonts/Fraunces_400Regular_Italic.woff2") format("woff2"); } /* unslop-ignore: App-Schrift */
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/static/fonts/DMSans_400Regular.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/static/fonts/DMSans_500Medium.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/static/fonts/DMSans_600SemiBold.woff2") format("woff2"); }

:root {
    /* Palette „Welle“, hell (unslop-ignore) */
    --primary: #4F7A65;          /* unslop-ignore */
    --primary-strong: #3F6653;
    --primary-soft: #DDE8E0;
    --on-primary: #FFFFFF;
    --wave: #CFE0D5;
    --wave-ahead: #CFC8B8;
    --bg: #F4F1EA;               /* unslop-ignore */
    --bg-soft: #EEEAE1;
    --bg-secondary: #E9E4D8;
    --surface: #FFFFFF;
    --text: #1E2420;
    --text-secondary: #5C6058;
    --text-muted: #7E8178;
    --clay: #C07A55;
    --clay-text: #9A5A38;
    --border: #E2DDD2;
    --draft-bg: #F5EBD6;
    --draft-text: #7A5418;
    --shadow: 0 18px 40px -24px rgba(30, 36, 32, 0.35);

    --font-display: "Fraunces", Georgia, serif;  /* unslop-ignore */
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 28px;
    --gutter: 20px;
    --max: 1120px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #8DBFA4;
        --primary-strong: #A6D0B8;
        --primary-soft: #22312A;
        --on-primary: #121614;
        --wave: #2A3D33;
        --wave-ahead: #3A423D;
        --bg: #121614;
        --bg-soft: #171C19;
        --bg-secondary: #232925;
        --surface: #1B201D;
        --text: #ECEBE4;
        --text-secondary: #A2A89E;
        --text-muted: #8A9087;
        --clay: #D99A78;
        --clay-text: #E2AC8E;
        --border: #2A302C;
        --draft-bg: #3A2F1A;
        --draft-text: #F0D49A;
        --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
    }
}

/* ---------- Grundlagen ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img, svg { max-width: 100%; }

a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-strong); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

h1, h2 {
    font-family: var(--font-display);
    font-weight: 300;
    letter-spacing: -0.015em;
    line-height: 1.12;
    margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.08rem; font-weight: 600; margin: 0 0 0.4em; line-height: 1.35; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow-wrap { max-width: 780px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }

.eyebrow {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-secondary); margin-bottom: 1rem;
}
.lead { font-size: 1.15rem; color: var(--text-secondary); max-width: 38em; }
.muted, .hint { color: var(--text-muted); font-size: 0.92rem; }

.btn {
    display: inline-block; border: 0; cursor: pointer;
    background: var(--primary); color: var(--on-primary);
    font: 600 1rem/1 var(--font-body);
    padding: 15px 26px; border-radius: 999px; text-decoration: none; /* unslop-ignore: Pillenknopf wie in der App (PLAN.md 10.3) */
}
.btn:hover { background: var(--primary-strong); color: var(--on-primary); }
.btn:disabled { opacity: 0.6; cursor: default; }

.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-head { margin-bottom: 40px; }

/* ---------- Krisenleiste, Kopf, Fuß ---------- */

.crisis-bar { background: var(--bg-secondary); font-size: 0.9rem; color: var(--text-secondary); }
.crisis-bar p { margin: 0; padding: 9px 0; }
.crisis-bar a { white-space: nowrap; font-weight: 500; }

.site-header { padding: 18px 0; }
.header-row { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-icon { border-radius: 10px; width: 40px; height: 40px; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; letter-spacing: -0.01em; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; }
.main-nav a:hover { color: var(--text); }
.lang-switch { display: flex; gap: 4px; font-size: 0.85rem; font-weight: 600; }
.lang-switch a, .lang-current { padding: 5px 9px; border-radius: 8px; text-decoration: none; color: var(--text-secondary); }
.lang-current { background: var(--primary-soft); color: var(--text); }

@media (max-width: 860px) {
    .main-nav { display: none; }
    .lang-switch { margin-left: auto; }
}

.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; font-size: 0.95rem; color: var(--text-secondary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-name { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.3rem; color: var(--text); margin-bottom: 0.4em; }
.footer-name img { border-radius: 7px; }
.footer-note { font-size: 0.85rem; color: var(--text-muted); max-width: 34em; }
.footer-h { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 12px; color: var(--text-muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-secondary); }
.footer-base { margin-top: 36px; font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Hero ---------- */

.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero h1 em { display: block; font-style: italic; color: var(--primary); }
.for-whom { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--text); margin-top: -0.2em; }
.hero-note { font-size: 0.92rem; color: var(--text-muted); margin-top: 14px; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-btn {
    display: inline-flex; flex-direction: column; justify-content: center;
    min-width: 168px; padding: 10px 22px; border-radius: var(--r-md);
    background: var(--text); color: var(--bg); text-decoration: none; line-height: 1.2;
}
.store-btn small { font-size: 0.72rem; opacity: 0.8; }
.store-btn span { font-size: 1.1rem; font-weight: 600; }
.store-btn:hover { color: var(--bg); opacity: 0.92; }
.store-btn.is-soon { background: transparent; color: var(--text); border: 1px dashed var(--text-muted); }
.store-note { font-size: 0.85rem; color: var(--text-muted); margin: 10px 0 0; }

/* Abwarten-Bildschirm als Illustration (kein Screenshot) */
.wait-card {
    margin: 0; background: var(--surface); border-radius: var(--r-xl);
    padding: 26px 26px 22px; box-shadow: var(--shadow); position: relative;
}
.wait-card-head { display: flex; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary-soft); color: var(--text);
    padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; /* unslop-ignore: Chip „Festgehalten“ wie in der App */
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.countdown {
    font-family: var(--font-display); font-weight: 300; font-size: clamp(3.4rem, 7vw, 5.2rem);
    letter-spacing: -0.03em; line-height: 1; margin: 22px 0 10px; font-variant-numeric: tabular-nums;
}
.countdown span { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; color: var(--text-secondary); }
.wave-svg { display: block; width: 100%; height: auto; aspect-ratio: 600 / 64; overflow: visible; margin-top: 18px; }
.wave-fill { fill: var(--wave); }
.wave-line { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wave-ahead { stroke: var(--wave-ahead); stroke-width: 2.5; stroke-dasharray: 6 8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.wave-axis { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.wave-halo { fill: var(--primary); opacity: 0.18; }
.wave-dot { fill: var(--primary); stroke: var(--surface); stroke-width: 3; }
.wave-labels { position: relative; display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; height: 1.4em; }
.wave-labels .here { position: absolute; transform: translateX(-50%); color: var(--primary); font-weight: 600; }
.wave-caption { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; text-align: center; margin: 18px 0 0; color: var(--text-secondary); }
.wave-disclaimer { font-size: 0.78rem; color: var(--text-muted); margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border); text-align: center; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .wave-labels .here { display: none; }
}

/* ---------- Ablauf Abwarten ---------- */

.flow { background: var(--bg-soft); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before {
    content: ""; position: absolute; left: 22px; right: 22px; top: 22px;
    border-top: 2px dashed var(--wave-ahead);
}
.step { position: relative; }
.step-no {
    position: relative; display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; background: var(--primary-soft); color: var(--primary);
    font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 18px;
    box-shadow: 0 0 0 6px var(--bg-soft);
}
.step p { color: var(--text-secondary); }
.flow-note { margin: 36px 0 0; font-size: 0.95rem; color: var(--text-secondary); }
@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; gap: 26px; }
    .steps::before { left: 21px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 2px dashed var(--wave-ahead); }
    .step { padding-left: 64px; }
    .step-no { position: absolute; left: 0; top: -4px; }
}

/* ---------- Funktionen ---------- */

.feature-list { margin: 0; }
.feature-row { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 12px 48px; padding: 26px 0; border-top: 1px solid var(--border); }
.feature-row:last-child { border-bottom: 1px solid var(--border); }
.feature-row dt { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.feature-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; line-height: 1.2; }
.feature-row dd { margin: 0; color: var(--text-secondary); max-width: 40em; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.tag-free { background: var(--primary-soft); color: var(--primary); }
.tag-partly { background: var(--bg-secondary); color: var(--text-secondary); }
.tag-pro { background: transparent; color: var(--clay-text); border: 1px solid var(--clay); }
@media (max-width: 720px) { .feature-row { grid-template-columns: 1fr; } }

/* ---------- Ehrlich ---------- */

.honest { background: var(--bg-soft); }
.honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 12px; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.is-list li::before, .check-list li::before {
    content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px;
    border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg);
}
.isnt-list li::before {
    content: ""; position: absolute; left: 2px; top: 0.78em; width: 13px; border-top: 2px solid var(--clay);
}
.purpose { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 16px; }
.purpose summary { cursor: pointer; font-weight: 600; }
.purpose p { margin-top: 12px; font-size: 0.95rem; color: var(--text-secondary); max-width: 52em; }
@media (max-width: 720px) { .honest-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Gründer ---------- */

.founder-wrap { max-width: 820px; }
.founder-text { margin: 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--wave); font-size: 1.12rem; }
.founder-text footer { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; }
.draft-note { font-size: 0.9rem; color: var(--text-secondary); }
mark.draft {
    background: var(--draft-bg); color: var(--draft-text); padding: 1px 6px; border-radius: 6px;
    font-size: 0.85em; font-style: normal; font-family: var(--font-body);
    outline: 1px dashed currentColor; outline-offset: -1px;
}

/* ---------- Preise ---------- */

.pricing { background: var(--bg-soft); }
.tiers { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; align-items: start; }
.tier { border-radius: var(--r-lg); padding: 30px; }
.tier-free { border: 1px solid var(--border); }
.tier-pro { background: var(--surface); }
.tier h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 18px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 26px; border-top: 1px solid var(--border); }
.plan { padding: 18px 14px 4px 0; }
.plan + .plan { padding-left: 14px; border-left: 1px solid var(--border); }
.plan-name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.plan-price { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.15; margin-bottom: 4px; }
.plan-price span { display: block; font-family: var(--font-body); font-size: 0.85rem; color: var(--text-secondary); }
.plan-note { font-size: 0.88rem; color: var(--primary); font-weight: 500; }
.fine { margin-top: 24px; font-size: 0.85rem; color: var(--text-muted); max-width: 52em; }
@media (max-width: 860px) {
    .tiers { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; }
    .plan, .plan + .plan { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--border); }
}

/* ---------- Datenschutz ---------- */

.privacy-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.privacy-list li::before {
    content: ""; position: absolute; left: 3px; top: 0.6em; width: 9px; height: 9px; border-radius: 50%;
    background: var(--primary);
}
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- FAQ ---------- */

.faq { background: var(--bg-soft); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
    font-weight: 500; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
    border-right: 2px solid var(--text-secondary); border-bottom: 2px solid var(--text-secondary);
    transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { color: var(--text-secondary); padding-bottom: 8px; max-width: 44em; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* ---------- Abschluss ---------- */

.closing-wrap { text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing-wrap .lead { margin-left: auto; margin-right: auto; }
.closing-wave { width: min(420px, 100%); height: auto; aspect-ratio: 600 / 28; overflow: visible; margin-bottom: 24px; }
.closing-wave path { fill: none; stroke: var(--primary); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.closing .store-row { justify-content: center; }

/* ---------- Krisenhilfe ---------- */

.crisis-top { padding-bottom: 24px; }
.crisis-general { border-left: 3px solid var(--clay); padding-left: 20px; margin: 8px 0 28px; }
.country-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.country-nav a {
    display: inline-block; padding: 7px 14px; border-radius: var(--r-sm); background: var(--surface);
    text-decoration: none; color: var(--text); font-size: 0.92rem; border: 1px solid var(--border);
}
.country-nav a:hover { border-color: var(--primary); }
.crisis-list { padding-top: 24px; }
.country { background: var(--surface); border-radius: var(--r-lg); padding: 28px; margin-bottom: 20px; scroll-margin-top: 16px; }
.country h2 { font-size: 1.9rem; }
.crisis-block { padding: 14px 0; border-top: 1px solid var(--border); }
.crisis-block h3 { margin-bottom: 8px; }
.big-number { font-family: var(--font-display); font-size: 2.4rem; line-height: 1.1; margin-bottom: 8px; }
.big-number a { text-decoration: none; }
.big-number .note { font-family: var(--font-body); font-size: 0.95rem; color: var(--text-secondary); }
.contact-list { list-style: none; padding: 0; margin: 0 0 12px; }
.contact-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 6px 0; }
.contact-number { font-weight: 600; font-size: 1.12rem; white-space: nowrap; }
.contact-link { font-weight: 600; }
.contact-meta { color: var(--text-secondary); font-size: 0.92rem; }
.back-top { margin: 6px 0 0; font-size: 0.85rem; }
.checked { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Support ---------- */

.callout { background: var(--bg-secondary); border-radius: var(--r-md); padding: 14px 18px; font-size: 0.95rem; }
.support-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; margin-top: 36px; }
.support-grid h2 { font-size: 1.6rem; }
.mail { font-size: 1.1rem; font-weight: 600; word-break: break-all; }
.support-form label { display: block; font-weight: 500; margin: 14px 0 6px; }
.support-form textarea, .support-form input {
    width: 100%; font: inherit; color: var(--text); background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 14px;
}
.support-form textarea:focus, .support-form input:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }
.support-form .btn { margin-top: 16px; }
.form-status.is-error { color: var(--clay-text); }
.form-success { color: var(--primary); font-weight: 600; margin-top: 12px; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Rechtstexte, Fehler ---------- */

.legal-page h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal-page h2 { font-size: 1.5rem; margin-top: 2em; }
.legal-page h3 { margin-top: 1.4em; }
.legal-page li { margin-bottom: 6px; }
.legal-page .stand { color: var(--text-muted); }
.binding-notice { background: var(--bg-secondary); border-radius: var(--r-md); padding: 12px 16px; font-size: 0.92rem; }
.error-page { text-align: left; }
