/* TAVIROO – Webseite (Startseite, Rechtliches, Hilfe, Konto löschen).
   Gestaltung: docs/web/gestaltung.md. Schrift: Jost (SIL OFL 1.1, selbst gehostet, schriften/OFL-Jost.txt).
   CSP: nur 'self' – keine Inline-Stile, keine externen Quellen. Kontraste (WCAG 2.x) in docs/web/gestaltung.md. */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/schriften/jost.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --papier: #f6f5f1;          /* Seitengrund hell (aus dem App-Symbol #FAF7F0 abgeleitet) */
  --flaeche: #ffffff;
  --flaeche-2: #eceae4;
  --text: #1a2321;            /* 14,7:1 auf Papier */
  --text-2: #4b5753;          /* 6,9:1 auf Papier */
  --linie: #dcdad2;
  --akzent: #0f6b63;          /* Petrol aus dem App-Symbol; 5,8:1 auf Papier, Weiß darauf 6,4:1 */
  --akzent-stark: #0b5751;    /* 7,7:1 auf Papier */
  --akzent-zart: #dcebe7;
  --auf-akzent: #ffffff;
  --nacht: #0c1110;           /* Markengrund: fast schwarz */
  --nacht-2: #141b1a;
  --nacht-text: #e9efed;      /* 16,4:1 auf Nacht */
  --nacht-text-2: #a9b6b2;    /* 9,1:1 auf Nacht */
  --nacht-akzent: #5ed3c1;    /* 10,5:1 auf Nacht */
  --nacht-linie: #26302e;
  --fokus: #0b5751;
  --radius: 18px;
  --radius-klein: 12px;
  --schatten: 0 1px 2px rgba(12, 17, 16, .06), 0 12px 32px rgba(12, 17, 16, .08);
  --max: 1120px;
  --schrift: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier: #0c1110;
    --flaeche: #141b1a;
    --flaeche-2: #1b2422;
    --text: #e9efed;
    --text-2: #a9b6b2;
    --linie: #26302e;
    --akzent: #5ed3c1;
    --akzent-stark: #8fe3d5;
    --akzent-zart: #12302c;
    --auf-akzent: #0c1110;
    --fokus: #8fe3d5;
    --schatten: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
a { color: var(--akzent-stark); text-underline-offset: .18em; }
a:hover { color: var(--akzent); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 6px; }
.nacht :focus-visible, .kopf :focus-visible { outline-color: var(--nacht-akzent); }

h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 7.2vw, 4rem); font-weight: 400; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.6rem); font-weight: 400; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; }

.huelle { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 50; background: var(--nacht-akzent); color: var(--nacht);
  padding: 10px 16px; border-radius: 0 0 var(--radius-klein) 0; font-weight: 600; }
.skip:focus { left: 0; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Wortmarke und Leiste ---------- */
.wortmarke {
  font-weight: 300;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--nacht-text);
  text-decoration: none;
  padding-left: .34em; /* optische Mitte trotz Sperrung */
  white-space: nowrap;
}
.wortmarke:hover { color: #fff; }
.leiste { background: var(--nacht); border-bottom: 1px solid var(--nacht-linie); }
.leiste .huelle { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.leiste nav { display: flex; gap: 4px 22px; flex-wrap: wrap; justify-content: flex-end; }
.leiste nav a { color: var(--nacht-text-2); text-decoration: none; font-size: .95rem; padding: 8px 0; }
.leiste nav a:hover { color: var(--nacht-text); }
.leiste .nur-breit { display: none; }

/* ---------- Knöpfe ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: inherit; font-weight: 500; font-size: 1rem; text-decoration: none; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}
.knopf:active { transform: translateY(1px); }
.knopf-primaer { background: var(--akzent); color: var(--auf-akzent); }
.knopf-primaer:hover { background: var(--akzent-stark); color: var(--auf-akzent); }
.knopf-hell { background: var(--nacht-akzent); color: var(--nacht); }
.knopf-hell:hover { background: #8fe3d5; color: var(--nacht); }
.knopf-rand { background: transparent; color: var(--nacht-text); border-color: #3c4946; }
.knopf-rand:hover { border-color: var(--nacht-text-2); color: #fff; }
.knopf-bald { background: transparent; color: var(--nacht-text-2); border: 1px dashed #3c4946; cursor: default; }
.knopf-bald small { font-size: .78rem; opacity: .9; }
.knopf-gefahr { background: #b3261e; color: #fff; }
@media (prefers-color-scheme: dark) { .knopf-gefahr { background: #f2b8b5; color: #2b0b09; } }

.klein { font-size: .875rem; color: var(--text-2); margin: 0; }
.kopf .klein, .nacht .klein { color: var(--nacht-text-2); }

/* ---------- Kopf (alle Seiten) ---------- */
.kopf { position: relative; background: var(--nacht); color: var(--nacht-text); overflow: hidden; isolation: isolate; }
.kopf h1 { color: #fff; }
.kopf .unterzeile { color: var(--nacht-text-2); font-size: clamp(1.05rem, 2.6vw, 1.25rem); max-width: 40ch; }
.kopf-schlicht { padding-top: 48px; padding-bottom: 44px; }
.kopf-schlicht h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
.marke { /* ältere Unterseiten: Wortmarke als Zeile */
  font-weight: 300; letter-spacing: .34em; text-transform: uppercase; color: var(--nacht-text-2); margin: 0 0 12px; font-size: .9rem; }

/* Held */
.held { padding: 40px 0 56px; }
.held-raster { display: grid; gap: 40px; align-items: end; }
.held-text { padding-bottom: 8px; }
.zeile-klein { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--nacht-akzent); margin: 0 0 18px; font-weight: 500; }
.held h1 { max-width: 15ch; }
.held h1 .akzent { color: var(--nacht-akzent); }
/* Bewegte Linien im Kopf (SVG, reine CSS-Animation) */
.held-linien { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.held-linien .linie { fill: none; stroke: #5ed3c1; stroke-width: 1; opacity: .28; stroke-dasharray: 2400; stroke-dashoffset: 2400;
  animation: zeichnen 2.4s cubic-bezier(.2, .7, .2, 1) forwards; }
.held-linien .linie.l2 { animation-delay: .25s; opacity: .18; }
.held-linien .linie.l3 { animation-delay: .5s; opacity: .14; }
.held-linien .linie.l4 { animation-delay: .75s; opacity: .22; stroke: #e9efed; }
.held-linien .strahl { fill: none; stroke: #8fe3d5; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 90 2310; stroke-dashoffset: 2400;
  opacity: .85; animation: strahl 9s linear infinite; }
.held-linien .strahl.s2 { animation-duration: 13s; animation-delay: -5s; opacity: .55; }
.held-linien .knoten { fill: #5ed3c1; opacity: 0; animation: knoten 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.held-linien .knoten.k2 { animation-delay: -2s; }
.held-linien .knoten.k3 { animation-delay: -4s; }
.held-schleier { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 80% at 85% 0%, rgba(15, 107, 99, .28), rgba(12, 17, 16, 0) 60%); }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@keyframes strahl { to { stroke-dashoffset: 0; } }
@keyframes knoten { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .9; transform: scale(1); } }
.held h1 .w { display: inline-block; animation: wort-ein .9s cubic-bezier(.2, .7, .2, 1) both; }
.held h1 .w2 { animation-delay: .15s; }
.held h1 .w3 { animation-delay: .3s; }
@keyframes wort-ein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.held-bild { display: flex; justify-content: center; }
.held-bild .handy { width: 260px; }


/* ---------- Handy-Darstellung (Beispieldaten) ---------- */
.handy {
  width: 280px; max-width: 78vw; aspect-ratio: 9 / 19; flex: none; margin: 0;
  background: transparent; border-radius: 42px; padding: 9px;
  border: 1.5px solid #5ed3c1; box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.abschnitt:not(.nacht) .handy { border-color: #0f6b63; }
.bildschirm {
  height: 100%; border-radius: 33px; overflow: hidden; display: flex; flex-direction: column;
  background: #f6f5f1; color: #1a2321; font-size: 13px; line-height: 1.35; text-align: left;
}
.bs-status { display: flex; justify-content: space-between; padding: 10px 22px 4px; font-size: 11px; font-weight: 600; }
.bs-status i { width: 74px; height: 20px; border: 1.5px solid #0f6b63; border-radius: 999px; }
.bs-titel { padding: 6px 18px 10px; }
.bs-titel b { display: block; font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.bs-titel small { color: #4b5753; font-size: 11.5px; }
.bs-liste { list-style: none; margin: 0; padding: 0 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.bs-liste li { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.bs-kreis { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #dcebe7; color: #0b5751; font-weight: 600; font-size: 12px; }
.bs-liste .bs-name { flex: 1; min-width: 0; }
.bs-liste b { display: block; font-weight: 600; font-size: 13px; }
.bs-liste small { display: block; color: #4b5753; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-marke { font-style: normal; font-size: 10px; font-weight: 600; border-radius: 999px; padding: 3px 8px; background: #0f6b63; color: #fff; white-space: nowrap; }
.bs-marke.ruhig { background: #eceae4; color: #1a2321; }
.bs-fortschritt { margin: 12px 18px 0; height: 6px; background: #e3e1da; border-radius: 99px; overflow: hidden; }
.bs-fortschritt i { display: block; width: 34%; height: 100%; background: #0f6b63; }
.bs-fuss { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 16px; border-top: 1px solid #e3e1da; background: #fff;
  font-size: 10px; color: #4b5753; }
.bs-fuss .an { color: #0b5751; font-weight: 600; }
.bs-karte { margin: 0 12px 8px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.bs-karte b { display: block; font-size: 12px; color: #0b5751; font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.bs-karte p { margin: 0 0 4px; font-size: 12.5px; }
.bs-schloss { display: flex; gap: 6px; align-items: center; font-size: 11px; color: #0b5751; margin: 0 18px 10px; }
/* Ablauf im Kopf-Handy: Link teilen, Analyse kommt an, Heute nachfassen, erledigt (14-s-Schleife) */
.ablauf .bs-liste li { opacity: 0; transform: translateY(14px); animation-duration: 14s; animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
.ablauf .ab1 { animation-name: ab1; }
.ablauf .ab2 { animation-name: ab2; }
.ablauf .ab3 { animation-name: ab3; }
.ablauf .ab4 { animation-name: ab4; }
@keyframes ab1 { 0% { opacity: 0; transform: translateY(14px); } 5%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ab2 { 0%, 18% { opacity: 0; transform: translateY(14px); } 24%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes ab3 { 0%, 38% { opacity: 0; transform: translateY(14px); } 44%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes ab4 { 0%, 58% { opacity: 0; transform: translateY(14px); } 64%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.ablauf .haken path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: haken 14s infinite; }
@keyframes haken { 0%, 64% { stroke-dashoffset: 24; } 70%, 100% { stroke-dashoffset: 0; } }
.ablauf .bs-fortschritt i { animation: fortschritt 14s infinite; }
@keyframes fortschritt { 0%, 64% { width: 25%; } 72%, 100% { width: 50%; } }
.bs-symbol { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #dcebe7; color: #0b5751; }
.bs-symbol svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bs-symbol.fertig { background: #0f6b63; color: #fff; }

/* So funktioniert es: Fluss-Grafik */
.fluss { margin-top: 32px; border: 1px solid var(--nacht-linie); border-radius: var(--radius); background: var(--nacht-2); padding: 18px 12px; }
.fluss svg { width: 100%; height: auto; }
.fluss .bahn { fill: none; stroke: #3c4946; stroke-width: 2; stroke-dasharray: 6 8; }
.fluss .bahn-licht { fill: none; stroke: #5ed3c1; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 120 1000; stroke-dashoffset: 1120;
  animation: bahn 5s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes bahn { to { stroke-dashoffset: 0; } }
.fluss .station { fill: #0c1110; stroke: #5ed3c1; stroke-width: 1.5; }
.fluss .symbol { fill: none; stroke: #e9efed; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fluss .puls { fill: none; stroke: #5ed3c1; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: puls 5s ease-out infinite; }
.fluss .puls.p2 { animation-delay: 1.9s; }
.fluss .puls.p3 { animation-delay: 3.8s; }
@keyframes puls { 0% { opacity: .9; transform: scale(1); } 35%, 100% { opacity: 0; transform: scale(1.45); } }
.fluss text { fill: #a9b6b2; font-family: var(--schrift); font-size: 26px; text-anchor: middle; }

/* Datenschutz: verschlüsselter Umschlag Browser, Server, Handy */
.schutz-grafik { border: 1px solid var(--nacht-linie); border-radius: var(--radius); background: var(--nacht-2); padding: 18px 12px; }
.schutz-grafik svg { width: 100%; height: auto; }
.schutz-grafik .rahmen { fill: #0c1110; stroke: #5ed3c1; stroke-width: 1.5; }
.schutz-grafik .rahmen.server { stroke: #3c4946; }
.schutz-grafik .zeile { stroke: #3c4946; stroke-width: 6; stroke-linecap: round; }
.schutz-grafik .weg { stroke: #3c4946; stroke-width: 2; stroke-dasharray: 4 7; fill: none; }
.schutz-grafik text { fill: #a9b6b2; font-family: var(--schrift); font-size: 15px; text-anchor: middle; }
.schutz-grafik .umschlag { animation: umschlag 7s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes umschlag { 0%, 6% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; } 38%, 54% { transform: translate(190px, 0); }
  84% { transform: translate(380px, 0); opacity: 1; } 92%, 100% { transform: translate(380px, 0); opacity: 0; } }
.schutz-grafik .umschlag rect { fill: #0f6b63; stroke: #5ed3c1; stroke-width: 1.2; }
.schutz-grafik .umschlag path { fill: none; stroke: #e9efed; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.schutz-grafik .offen { opacity: 0; animation: offen 7s infinite; }
@keyframes offen { 0%, 84% { opacity: 0; } 88%, 97% { opacity: 1; } 100% { opacity: 0; } }
.schutz-grafik .offen path { fill: none; stroke: #5ed3c1; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Einblenden beim Scrollen (nur mit JavaScript, nur ohne reduzierte Bewegung) */
.js-bewegung [data-einblenden] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-bewegung [data-einblenden].sichtbar { opacity: 1; transform: none; }
.js-bewegung [data-einblenden].v2 { transition-delay: .12s; }
.js-bewegung [data-einblenden].v3 { transition-delay: .24s; }

/* Branchen */
.branchen { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.branchen li { border: 1px solid #3c4946; color: var(--nacht-text); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }

.bildunterschrift { font-size: .8rem; color: var(--text-2); text-align: center; margin: 14px 0 0; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 72px 0; }
.abschnitt-flaeche { background: var(--flaeche-2); }
.nacht { background: var(--nacht); color: var(--nacht-text); }
.nacht h2, .nacht h3 { color: #fff; }
.nacht p, .nacht li { color: var(--nacht-text-2); }
.einleitung { max-width: 60ch; color: var(--text-2); font-size: 1.1rem; }
.nacht .einleitung { color: var(--nacht-text-2); }
.ueberzeile { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--akzent-stark); margin: 0 0 12px; font-weight: 500; }
.nacht .ueberzeile { color: var(--nacht-akzent); }

/* Vorteile */
.vorteile { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.vorteil { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; box-shadow: var(--schatten); }
.vorteil svg { width: 40px; height: 40px; color: var(--akzent); margin-bottom: 16px; }
.vorteil h3 { margin-bottom: 8px; }
.vorteil p { color: var(--text-2); margin: 0; }
.vorteil .statt { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linie); font-size: .92rem; color: var(--text-2); }
.vorteil .statt b { color: var(--text); font-weight: 600; }

/* Schritte */
.schritte { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: schritt; }
.schritt { position: relative; padding: 24px; border-radius: var(--radius); background: var(--nacht-2); border: 1px solid var(--nacht-linie); }
.schritt::before { counter-increment: schritt; content: counter(schritt); display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--nacht-akzent); color: var(--nacht-akzent); font-weight: 500; margin-bottom: 16px; }
.schritt h3 { margin-bottom: 6px; }
.schritt p { margin: 0; }

/* Funktion mit Handy */
.funktion { display: grid; gap: 32px; align-items: center; padding: 40px 0; }
.funktion + .funktion { border-top: 1px solid var(--linie); }
.funktion .handy { margin: 0 auto; }
.funktion h3 { font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 400; }
.funktion ul { padding-left: 0; list-style: none; margin: 18px 0 0; display: grid; gap: 10px; }
.funktion li { position: relative; padding-left: 30px; color: var(--text-2); }
.funktion li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px;
  border-left: 2px solid var(--akzent); border-bottom: 2px solid var(--akzent); transform: rotate(-45deg); }

/* Kacheln (weitere Funktionen) */
.kacheln { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.kachel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-klein); padding: 20px; }
.kachel h3 { font-size: 1.05rem; margin-bottom: 4px; }
.kachel p { margin: 0; color: var(--text-2); font-size: .97rem; }

/* Datenschutz */
.schutz { display: grid; gap: 32px; align-items: center; }
.schutz-liste { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.schutz-liste li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.schutz-liste svg { width: 28px; height: 28px; color: var(--nacht-akzent); }
.schutz-liste strong { color: #fff; font-weight: 500; display: block; }

/* Film */
.film { margin: 32px 0 0; }
.film video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; border: 1px solid var(--linie); }
.film figcaption { font-size: .85rem; color: var(--text-2); margin-top: 10px; }

/* Preise */
.preis-hinweis { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--akzent-stark); background: var(--akzent-zart); border-radius: 999px; padding: 4px 12px; margin: 0 0 16px; }
.preise { list-style: none; margin: 28px 0 18px; padding: 0; display: grid; gap: 16px; }
.preis { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px; }
.preis-hervor { border: 2px solid var(--akzent); }
.preis h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-2); font-weight: 500; }
.betrag { font-size: 2.2rem; font-weight: 400; color: var(--text); margin: 0 0 4px; letter-spacing: -.02em; }
.betrag small { font-size: 1rem; color: var(--text-2); margin-left: 4px; }
.preis ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--text-2); }
.preis li { margin-bottom: 4px; }

/* FAQ */
.fragen { margin-top: 28px; display: grid; gap: 10px; max-width: 820px; }
details { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-klein); }
summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 500; position: relative; min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--akzent); border-bottom: 2px solid var(--akzent); transform: rotate(45deg); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details > p { margin: 0; padding: 0 20px 18px; color: var(--text-2); }

/* Schluss */
.schluss { text-align: center; }
.schluss .knoepfe { justify-content: center; }
.schluss h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }

/* Fuß */
.fuss { background: var(--nacht); color: var(--nacht-text-2); padding: 48px 0 40px; border-top: 1px solid var(--nacht-linie); }
.fuss .huelle { display: grid; gap: 22px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fuss nav a { color: var(--nacht-text); text-decoration: none; padding: 6px 0; font-size: .95rem; }
.fuss nav a:hover { text-decoration: underline; }
.fuss .klein { color: var(--nacht-text-2); }

/* ---------- Rechtliches, Hilfe, Konto löschen ---------- */
.recht { padding: 40px 0 72px; }
.recht .huelle { max-width: 820px; }
.recht .entwurf { background: var(--akzent-zart); border: 1px solid var(--akzent); border-radius: var(--radius-klein);
  padding: 14px 18px; margin: 0 0 24px; color: var(--text); font-weight: 500; }
.recht section { padding: 32px 0; border-bottom: 1px solid var(--linie); }
.recht section:last-child { border-bottom: 0; }
.recht h2 { font-size: clamp(1.5rem, 4vw, 2rem); scroll-margin-top: 20px; }
.recht h3 { margin-top: 1.4em; font-size: 1.1rem; }
.recht ul { padding-left: 1.2em; color: var(--text-2); }
.recht li { margin-bottom: 6px; }
.recht address { font-style: normal; }
.recht .platzhalter { background: var(--flaeche-2); border: 1px dashed var(--text-2); border-radius: 8px; padding: 1px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; color: var(--text); }
.inhalt-sprung { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.recht .inhalt-sprung { padding: 0; }
.inhalt-sprung a { display: inline-block; padding: 8px 14px; border: 1px solid var(--linie); border-radius: 999px; text-decoration: none;
  color: var(--text); background: var(--flaeche); font-size: .95rem; }
.inhalt-sprung a:hover { border-color: var(--akzent); }

.formular { display: grid; gap: 10px; max-width: 420px; margin: 0 0 20px; }
.formular label { font-weight: 500; }
.formular input[type="email"], .formular input[type="text"] {
  font: inherit; min-height: 48px; padding: 10px 14px; border: 1px solid var(--text-2); border-radius: var(--radius-klein);
  background: var(--flaeche); color: var(--text); }
.formular .wahl { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.formular .wahl input { width: 22px; height: 22px; margin-top: 3px; flex: none; }
.formular button:disabled { opacity: .5; cursor: default; }
.meldung { padding: 12px 16px; border-radius: var(--radius-klein); background: var(--flaeche-2); border: 1px solid var(--linie); }

/* ---------- Größere Bildschirme ---------- */
@media (min-width: 720px) {
  .huelle { padding: 0 32px; }
  .leiste .nur-breit { display: inline; }
  .vorteile { grid-template-columns: repeat(3, 1fr); }
  .schritte { grid-template-columns: repeat(3, 1fr); }
  .kacheln { grid-template-columns: repeat(2, 1fr); }
  .preise { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
  .abschnitt { padding: 104px 0; }
  .funktion { grid-template-columns: 1fr 1fr; padding: 56px 0; }
  .funktion-gedreht .funktion-text { order: 2; }
  .schutz { grid-template-columns: 1.1fr 1fr; }
}
@media (min-width: 960px) {
  .held { padding: 72px 0 72px; }
  .held-raster { grid-template-columns: 1.25fr .75fr; }
  .held-bild .handy { width: 300px; }
  .kacheln { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-color-scheme: dark) {
  .nacht, .fuss { background: #070a0a; }   /* dunkle Bänder im dunklen Schema leicht absetzen */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  /* Endzustand statt Bewegung */
  .held-linien .linie { stroke-dashoffset: 0; }
  .held-linien .strahl, .held-linien .knoten, .fluss .bahn-licht, .fluss .puls { display: none; }
  .ablauf .bs-liste li { opacity: 1; transform: none; }
  .ablauf .haken path { stroke-dashoffset: 0; }
  .schutz-grafik .umschlag { transform: translate(190px, 0); opacity: 1; }
}

@media print {
  .leiste nav, .held-linien, .held-schleier, .film, .skip { display: none !important; }
  .kopf, .nacht, .fuss { background: #fff; color: #000; }
}
