/* Nunito, selbst gehostet (SIL Open Font License, siehe fonts/OFL.txt).
   Die Token-Variablen kommen aus tokens.css (erzeugt aus brand/tokens.json). */
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/nunito-400.woff2") format("woff2");
}
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/nunito-600.woff2") format("woff2");
}
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/nunito-700.woff2") format("woff2");
}
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/nunito-800.woff2") format("woff2");
}

* { box-sizing: border-box; }
html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-rounded);
  font-size: 16px;
  line-height: 1.55;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-family: var(--font-rounded); color: var(--ink); line-height: 1.2; margin: 0; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 32px; margin-bottom: 10px; }
h3 { font-size: 19px; margin-bottom: 6px; font-weight: 700; }
p { margin: 0 0 12px; }
a { color: var(--sage-strong); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--sage-strong); margin-bottom: 10px; }
.eyebrow-amber { color: var(--action); }
.lead { font-size: 18px; color: var(--ink-muted); max-width: 720px; }
section { padding: 56px 0; }
.section-flush-top { padding-top: 0; }

/* Punkte-Reihe als Abschnittstrenner (Gewusel, das sich ordnet). */
.dots { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 0; }
.dots span { display: block; border-radius: 999px; }
.dots span:nth-child(1) { width: 16px; height: 16px; background: var(--coral); }
.dots span:nth-child(2) { width: 13px; height: 13px; background: var(--sage); }
.dots span:nth-child(3) { width: 10px; height: 10px; background: var(--sun); }
.dots span:nth-child(4) { width: 7px; height: 7px; background: var(--sage); }
.dots span:nth-child(5) { width: 5px; height: 5px; background: var(--coral); }

/* Hero (immer dunkler Bereich) */
.hero { background: var(--surface); color: var(--ink); padding: 56px 0 64px; }
.hero .topnav { margin-bottom: 40px; }

/* Kopf-Navigation. Hero (dunkel) und helle Unterseiten teilen die Struktur;
   die Farben kommen ueber var(--ink)/var(--action) aus dem jeweiligen Thema.
   Eine Flexzeile, 72 px hoch, alles auf der vertikalen Mitte. */
.topnav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.topnav-brand { display: inline-flex; align-items: center; }
.topnav-brand img { height: 32px; width: auto; display: block; }
/* Ausklappmenue auf Mobil ueber details/summary, ohne JavaScript, CSP-tauglich.
   Das Menue ist ein eigenes div NEBEN der details (nicht darin), damit die
   UA-Regel, die den Inhalt einer geschlossenen details verbirgt, es nicht
   trifft; der Umschalter steuert das Dropdown ueber .nav-collapse[open] ~. */
.nav-collapse { display: block; }
.nav-toggle { display: none; list-style: none; cursor: pointer; }
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle svg { stroke: var(--action); fill: none; stroke-width: 2; stroke-linecap: round; }
.topnav-menu { display: flex; align-items: center; gap: 32px; }
.topnav-menu a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; }
.topnav-menu a:hover, .topnav-menu a:focus-visible { text-decoration: underline; }
.topnav-menu a[aria-current="page"] { text-decoration: underline; }
/* Ruhiger Umriss-Knopf im Kopf; der grosse gefuellte Knopf bleibt dem Hero. */
.btn-nav { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border: 2px solid var(--action); border-radius: var(--radius-pill); background: transparent; color: var(--action); font-weight: 700; font-size: 17px; line-height: 1; text-decoration: none; }
.btn-nav:hover, .btn-nav:focus-visible { text-decoration: none; background: var(--action); color: var(--on-action); }

/* Kopfzeile der hellen Unterseiten (So geht's, Funktionen) */
.site-head { background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.site-head .topnav { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

/* Hilfeseiten (So geht's, Funktionen) */
.doc { padding: 48px 0 8px; }
.doc h1 { font-size: 34px; margin-bottom: 10px; }
.doc .lead { margin-bottom: 8px; }
.doc section { padding: 18px 0; }
.doc h2 { font-size: 24px; margin: 18px 0 10px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc code { background: var(--surface-soft); border-radius: 6px; padding: 2px 6px; font-size: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
/* Hero-Inhalt linksbuendig auf einer Kante, feste Abstandsstufen
   (space-4 = 16 px, space-6 = 24 px). */
.hero h1 { color: var(--ink); font-size: 48px; max-width: 760px; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .sub { font-size: 20px; color: var(--ink-muted); max-width: 680px; margin: 0 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--ink); }
.btn { display: inline-block; background: var(--action); color: var(--on-action); font-weight: 700; padding: 14px 26px; border-radius: var(--radius-pill); text-decoration: none; }
.hero .btn { margin-top: 24px; }
/* KI-Hinweis als ruhige Zeile unter dem Knopf, kein Kasten, mit sage-Punkt. */
.ki { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--ink-muted); font-size: 15px; }
.ki::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--sage); flex: none; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; margin-top: 18px; }
.quote { background: var(--surface-soft); border-left: 4px solid var(--coral); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 22px 24px; font-size: 19px; color: var(--ink); }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-plain li:last-child { border-bottom: 0; }
.stat-block { margin-top: 18px; }
.stat { font-size: 44px; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-note { font-size: 13px; color: var(--ink-muted); }

/* Karten */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; break-inside: avoid; page-break-inside: avoid; }
.card p { color: var(--ink-muted); font-size: 15px; margin: 0; }
.icon { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; margin-top: 12px; color: var(--ink); }
.tag.now { background: var(--surface-soft); }
.tag.soon { background: var(--coral-soft); }
.soon-note { margin-top: 10px; padding: 8px 12px; border-left: 3px solid var(--coral-soft); background: var(--surface-soft); font-size: 14px; }

/* USP (immer dunkler Bereich) */
.usp { background: var(--surface); color: var(--ink); }
.usp h2, .usp h3 { color: var(--ink); }
.usp .lead { color: var(--ink-muted); }
.usp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.usp-card { background: var(--surface-raised); border-radius: var(--radius-md); padding: 24px; break-inside: avoid; page-break-inside: avoid; }
.usp-card p { color: var(--ink-muted); margin: 0; font-size: 15px; }
.usp-card .num { color: var(--action); font-weight: 800; font-size: 28px; margin-bottom: 6px; }

/* Vergleich */
table { width: 100%; border-collapse: collapse; margin-top: 22px; background: var(--surface-raised); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; color: var(--ink); }
th { background: var(--surface-soft); color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--sage-strong); font-weight: 700; }
td.no { color: var(--ink-muted); }

/* Ein Tag */
.day { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.moment { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; break-inside: avoid; page-break-inside: avoid; }
.moment .time { font-weight: 700; color: var(--sage-strong); font-size: 14px; margin-bottom: 8px; }
.bubble { background: var(--surface-soft); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 14px; margin: 12px 0 0; color: var(--ink); }
.bubble.me { background: var(--action); color: var(--on-action); border-radius: 14px 14px 4px 14px; margin-left: 24px; }

/* Vertrauen */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.trust div { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; font-size: 14px; color: var(--ink-muted); break-inside: avoid; page-break-inside: avoid; }
.trust strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }

/* CTA */
.cta { background: var(--surface-soft); text-align: center; }
.cta .lead { margin: 0 auto 6px; }
.cta .btn { margin-top: 22px; }
.small { font-size: 12px; color: var(--ink-muted); margin-top: 18px; }
footer { padding: 26px 0 40px; font-size: 12px; color: var(--ink-muted); text-align: center; }
footer a { color: var(--ink-muted); }
footer nav { margin-top: 8px; font-size: 13px; }

@media (max-width: 820px) {
  .grid, .day, .usp-grid, .trust, .problem-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}

/* Mobil: Logo links, Menue-Knopf rechts, Links im Ausklappmenue. */
@media (max-width: 640px) {
  .topnav { position: relative; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid var(--action); border-radius: var(--radius-pill); }
  .topnav-menu { display: none; }
  .nav-collapse[open] ~ .topnav-menu { display: flex; flex-direction: column; align-items: stretch; gap: 16px; position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 16px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); z-index: 10; }
  .btn-nav { width: 100%; }
  .hero .btn { display: block; width: 100%; text-align: center; }
}

/* Rechtstexte (Impressum, Datenschutz) */
.legal { padding: 56px 0; }
.legal h1 { font-size: 34px; margin-bottom: 18px; }
.legal h2 { font-size: 22px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal a { color: var(--sage-strong); }
.back { display: inline-block; margin-bottom: 24px; font-size: 14px; color: var(--sage-strong); text-decoration: none; }
