/* Snowwing – Stylesheet der Webseiten. ERZEUGT von scripts/web/erzeuge-webseiten.mjs,
   Farben aus src/theme/tokens.ts. Nicht von Hand bearbeiten.
   Auch die Seiten des Snowwing-Dienstes (Vormerkliste bestätigen/austragen)
   nutzen dieses Stylesheet – siehe Abschnitt „Seiten des Dienstes". */
@font-face { font-family: "Nunito"; font-weight: 900; font-style: normal; font-display: swap; src: url("/schrift/Nunito_900Black.ttf") format("truetype"); }

:root {
  color-scheme: light dark;
  --grund: #F5F7FC; --flaeche: #FFFFFF; --flaeche2: #EEF2FB;
  --text: #0B1430; --leise: #56627C; --zart: #8A94AA;
  --akzent: #2350C9; --auf-akzent: #FFFFFF; --akzent-zart: rgba(35,80,201,0.09); --linie: rgba(11,20,48,0.08); --linie-stark: rgba(11,20,48,0.16);
  --gut: #12805C; --gut-zart: rgba(18,128,92,0.10); --warn: #B45309; --warn-zart: rgba(180,83,9,0.10); --glut: #E2763A;
  --held-von: #08112A; --held-bis: #1E45B0; --nacht: #0F2156; --eis: #8DB2FF; --eis-hell: #C3D5FF; --tief: #050A1C;
  /* Fokusring: auf hellem Grund der Akzent, auf dunklen Flächen Eisblau –
     so hat er überall mindestens 3 : 1 Kontrast (WCAG 2.4.13). */
  --fokus: var(--akzent);
  --schatten: 0 1px 2px rgba(11,20,48,.06), 0 12px 32px rgba(11,20,48,.08);
  --schatten-gross: 0 30px 80px rgba(2,10,24,.45);
  --rund: 20px; --rund-gross: 28px;
  --schrift-titel: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --schrift-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0A1020; --flaeche: #111A30; --flaeche2: #18233D;
    --text: #ECF1FF; --leise: #9AA8C4; --zart: #6E7C98;
    --akzent: #86AAFF; --auf-akzent: #08112A; --akzent-zart: rgba(134,170,255,0.14); --linie: rgba(255,255,255,0.08); --linie-stark: rgba(255,255,255,0.16);
    --gut: #4ADE80; --gut-zart: rgba(74,222,128,0.12); --warn: #FBBF24; --warn-zart: rgba(251,191,36,0.12); --glut: #FB923C;
    --schatten: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
  }
}
.kopf, .held, .schluss, .fuss, .karte-akzent, .vormerken-tafel, body.dienst { --fokus: var(--eis); }

* { box-sizing: border-box; }
/* Sprungmarken landen unter der festen Kopfleiste, nicht dahinter. */
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; background: var(--grund); color: var(--text); font: 17px/1.6 var(--schrift-text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 900; letter-spacing: -0.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
code, .code { font: 0.88em/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; background: var(--flaeche2); border: 1px solid var(--linie); border-radius: 6px; padding: 2px 6px; overflow-wrap: anywhere; }
.symbol { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.symbol-klein { width: 18px; height: 18px; }
.symbol-knopf { width: 20px; height: 20px; }
.symbol-punkt { width: 22px; height: 22px; color: var(--akzent); margin-top: 2px; }
.rahmen { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sprung { position: absolute; left: -9999px; top: 8px; background: var(--flaeche); color: var(--text); padding: 12px 16px; border-radius: 10px; z-index: 10; font-weight: 700; }
.sprung:focus { left: 12px; }

/* ------------------------------------------------ Kopfleiste (alle Seiten) */
.kopf { position: sticky; top: 0; z-index: 5; background: rgba(8,17,42,.94); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.kopf-zeile { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--schrift-titel); font-weight: 900; font-size: 1.2rem; letter-spacing: -0.01em; min-height: 44px; border-radius: 8px; }
.marke img { width: 44px; height: auto; }
.kopf-nav { display: flex; gap: 4px; margin-left: auto; }
.kopf-nav a { color: rgba(255,255,255,.84); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; }
.kopf-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.kopf-zeile > .knopf { margin-left: auto; white-space: nowrap; }
.kopf-nav + .knopf { margin-left: 0; }
@media (max-width: 760px) { .kopf-nav { display: none; } .kopf-nav + .knopf { margin-left: auto; } }

/* ------------------------------------------------ Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px; font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease; }
.knopf:hover { transform: translateY(-1px); }
.knopf:active { transform: translateY(0) scale(.98); }
.knopf-gross { min-height: 56px; padding: 0 26px; font-size: 1.05rem; border-radius: 16px; }
.knopf-klein { min-height: 44px; padding: 0 16px; font-size: .92rem; border-radius: 12px; }
/* Auf dunklem Grund: Eisblau mit Nachtschrift (über 9 : 1). */
.knopf-eis { background: var(--eis); color: #08112A; box-shadow: 0 10px 30px rgba(141,178,255,.32); }
.knopf-eis:hover { background: var(--eis-hell); }
.knopf-glas { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.knopf-glas:hover { background: rgba(255,255,255,.16); }
/* Auf hellem Grund (Unterseiten). */
.knopf-voll { background: var(--akzent); color: var(--auf-akzent); box-shadow: 0 8px 24px rgba(35,80,201,.22); }
.knopf-voll:hover { filter: brightness(1.08); }
.knopf-rand { background: transparent; color: var(--text); border: 1.5px solid var(--linie-stark); }
.knopf-rand:hover { border-color: var(--akzent); color: var(--akzent); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.ueberzeile { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--akzent); margin-bottom: 14px; }
.ueberzeile-hell { color: var(--eis); }
/* Zweiteilige Überzeile: bricht am Trenner, nie mitten im Teil – und auf dem
   Telefon ohne einsamen Punkt am Zeilenende. */
.ueberzeile > span:not(.trenner) { white-space: nowrap; }
@media (max-width: 480px) { .ueberzeile .trenner { display: none; } .ueberzeile > span:not(.trenner) { display: block; } }
.lead { font-size: 1.15rem; color: var(--leise); margin-top: 18px; }
.klein { color: var(--leise); font-size: .95rem; margin-top: 24px; }

/* ------------------------------------------------ Startseite: Held */
.held { background: radial-gradient(1200px 520px at 78% 18%, rgba(141,178,255,.20), transparent 60%), linear-gradient(160deg, var(--held-von) 0%, var(--nacht) 55%, var(--held-bis) 100%); color: #fff; overflow: hidden; position: relative; }
.held::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: linear-gradient(to bottom, transparent, var(--grund)); pointer-events: none; }
.held-raster { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; position: relative; z-index: 1; }
.held h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -0.035em; }
.held .betont { background: linear-gradient(90deg, var(--eis-hell), var(--eis) 60%, #A9C4FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.held-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.84); margin-top: 24px; max-width: 34em; }
.bald { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: rgba(255,255,255,.76); font-size: .95rem; font-weight: 600; }
.versprechen-leiste { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.versprechen-leiste li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.92); }
.versprechen-leiste .symbol { color: #4ADE80; }
.held-bild { position: relative; justify-self: center; }

.telefon { margin: 0; width: min(330px, 78vw); padding: 10px; border-radius: 48px; background: linear-gradient(145deg, #1C2B44, #070D18); box-shadow: var(--schatten-gross), inset 0 0 0 1.5px rgba(255,255,255,.14); }
.telefon img { border-radius: 38px; width: 100%; aspect-ratio: 375 / 812; object-fit: cover; background: #0B1220; }
.telefon-held { transform: rotate(-2deg); }
@media (prefers-reduced-motion: no-preference) { .telefon-held { animation: schweben 7s ease-in-out infinite; } }
@keyframes schweben { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-8px); } }

/* Schwebende Karten über dem Telefon: nur über der KARTE, nie über den
   Zahlen des Live-Blatts – die sind die eigentliche Aussage des Bildes. */
.schwebe { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: #FFFFFF; color: #0B1430; box-shadow: 0 18px 50px rgba(2,10,24,.38); max-width: 290px; }
.schwebe strong { display: block; font-family: var(--schrift-titel); font-weight: 900; font-size: 1rem; line-height: 1.25; }
.schwebe small { display: block; color: #56627C; font-size: .8rem; line-height: 1.35; margin-top: 2px; }
.schwebe-rueckweg { left: -104px; top: 23%; }
.schwebe-freund { right: -84px; top: 12%; }
.schwebe-symbol { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.schwebe-gut { background: rgba(18,128,92,0.10); color: #12805C; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--schrift-titel); font-weight: 900; font-size: 1.05rem; flex: none; border: 2.5px solid #fff; box-shadow: 0 4px 12px rgba(15,23,42,.25); }
.avatar-lila { background: #7C3AED; }

/* ------------------------------------------------ Startseite: Abschnitte */
.abschnitt { padding: 96px 0; }
.abschnitt-getoent { background: var(--flaeche2); }
h2.gross { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 22ch; }
.abschnitt h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.geteilt-text .lead, .geteilt-text .punkte { max-width: 36em; }

.karten-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.karten-raster-vier { grid-template-columns: repeat(4, 1fr); }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 28px; box-shadow: var(--schatten); }
.karte h3 { font-size: 1.3rem; margin-top: 18px; }
.karte p { color: var(--leise); margin-top: 10px; }
.karte-klein { padding: 24px; }
.karte-klein h3 { font-size: 1.12rem; }
.karte-klein p { font-size: .96rem; }
.karte-symbol { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--akzent-zart); color: var(--akzent); }
.karte-symbol .symbol { width: 26px; height: 26px; }
.karte-akzent { background: linear-gradient(160deg, var(--held-von), var(--nacht)); border-color: transparent; color: #fff; }
.karte-akzent p { color: rgba(255,255,255,.84); }
.karte-akzent .karte-symbol { background: rgba(141,178,255,.16); color: var(--eis); }

.geteilt { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.geteilt-bild { justify-self: center; }
.geteilt-umgekehrt .geteilt-bild { order: 2; }
.geteilt-bild-doppel { display: flex; gap: 22px; align-items: flex-start; }
.geteilt-bild-doppel .telefon { width: min(270px, 42vw); }
.telefon-versetzt { margin-top: 64px; }
.punkte { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.punkte li { display: flex; gap: 14px; align-items: flex-start; color: var(--leise); }
.punkte strong { color: var(--text); }
.randnotiz { margin-top: 26px; padding: 14px 18px; border-left: 3px solid var(--akzent); background: var(--flaeche); border-radius: 0 12px 12px 0; color: var(--leise); font-size: .95rem; max-width: 36em; }

.versprechen { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.versprechen li { display: flex; gap: 16px; align-items: flex-start; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 22px 24px; box-shadow: var(--schatten); }
.versprechen li:first-child { grid-column: 1 / -1; }
.versprechen h3 { font-size: 1.18rem; }
.versprechen p { color: var(--leise); margin-top: 6px; }
.versprechen-symbol { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gut-zart); color: var(--gut); flex: none; }
.versprechen-symbol .symbol { width: 22px; height: 22px; stroke-width: 2.4; }

.gebiete { text-align: center; }
.gebiete h2.gross { margin: 0 auto; }
.gebiete .lead { max-width: 40em; margin-left: auto; margin-right: auto; }
.gebiete-liste { list-style: none; padding: 0; margin: 34px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.gebiete-liste li { padding: 10px 16px; border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie); font-weight: 600; font-size: .95rem; }
.gebiete-liste .gebiete-mehr { background: var(--akzent-zart); color: var(--akzent); border-color: transparent; }

.schluss { background: radial-gradient(900px 420px at 50% 0%, rgba(141,178,255,.22), transparent 65%), linear-gradient(180deg, var(--nacht), var(--held-von)); color: #fff; padding: 110px 0; text-align: center; }
.schluss-inhalt { display: flex; flex-direction: column; align-items: center; }
.schluss-symbol { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 20px 60px rgba(141,178,255,.32); }
.schluss h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-top: 28px; }
.schluss-inhalt > p { color: rgba(255,255,255,.84); font-size: 1.12rem; margin-top: 16px; max-width: 34em; }
.schluss .vormerken { margin-top: 34px; }

/* ------------------------------------------------ Vormerkliste: Formular
   Liegt immer auf dunklem Grund (.schluss oder .vormerken-tafel). */
.vormerken { display: grid; gap: 14px; width: 100%; max-width: 520px; text-align: left; color: #fff; }
.vormerken-feld { display: grid; gap: 8px; }
.vormerken-feld label { font-weight: 700; font-size: .95rem; color: rgba(255,255,255,.92); }
.eingabe { width: 100%; min-height: 56px; padding: 0 18px; border-radius: 14px; border: 2px solid transparent; background: #FFFFFF; color: #0B1430; font: inherit; font-size: 1.05rem; }
.eingabe::placeholder { color: #6B7590; opacity: 1; }
.eingabe:focus-visible { outline: 3px solid var(--eis); outline-offset: 2px; }
.eingabe:user-invalid { border-color: #F87171; }
.zustimmung { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); cursor: pointer; font-size: .95rem; line-height: 1.5; color: rgba(255,255,255,.9); }
.zustimmung:hover { border-color: rgba(255,255,255,.3); }
.zustimmung input { width: 24px; height: 24px; margin: 1px 0 0; flex: none; accent-color: var(--eis); cursor: pointer; }
.zustimmung input:focus-visible { outline: 3px solid var(--eis); outline-offset: 2px; }
.vormerken-details { font-size: .9rem; margin-top: -4px; }
.vormerken-details a { color: var(--eis-hell); font-weight: 600; display: inline-block; padding: 6px 0; }
.vormerken .knopf { width: 100%; margin-top: 4px; }
.vormerken-zusatz { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.vormerken-tafel { margin-top: 28px; padding: 32px 28px; border-radius: var(--rund-gross); color: #fff; background: radial-gradient(700px 320px at 50% 0%, rgba(141,178,255,.20), transparent 65%), linear-gradient(170deg, var(--nacht), var(--held-von)); box-shadow: var(--schatten); }
.vormerken-tafel h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); }
.vormerken-tafel > p { color: rgba(255,255,255,.84); margin-top: 10px; }
.vormerken-tafel .vormerken { margin-top: 22px; max-width: none; }

/* ------------------------------------------------ Unterseiten */
/* Fußzeile auch auf kurzen Seiten (Ergebnisse, 404) unten, ohne Leerfläche darunter. */
body.seite { min-height: 100vh; display: flex; flex-direction: column; }
body.seite > .inhalt { flex: 1 0 auto; width: 100%; }
/* Über hellem Seitengrund wäre die durchscheinende Leiste grau statt Nachtblau. */
.seite .kopf { background: var(--held-von); }
.inhalt { max-width: 760px; margin: 0 auto; padding: 0 20px 80px; }
.inhalt-schmal { max-width: 660px; }
.unternav { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; }
.unternav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie); color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.unternav a:hover { border-color: var(--linie-stark); }
.unternav a[aria-current="page"] { background: var(--akzent); border-color: transparent; color: var(--auf-akzent); }
.inhalt > h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin: 32px 0 20px; }
.hinweis { color: var(--warn); font-weight: 600; margin: 0 0 16px; }
.rechtstext section { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 24px 26px 12px; margin: 16px 0; box-shadow: var(--schatten); }
.rechtstext h2 { font-size: 1.22rem; margin: 0 0 10px; }
.rechtstext p { color: var(--leise); margin: 0 0 12px; overflow-wrap: anywhere; hyphens: auto; }
.rechtstext p a { font-weight: 600; }

/* Ergebnisse der Vormerkliste, 404 */
.ergebnis { margin-top: 40px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 36px 32px; box-shadow: var(--schatten); }
.ergebnis-symbol { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; background: var(--akzent-zart); color: var(--akzent); }
.ergebnis-symbol .symbol { width: 28px; height: 28px; }
.ergebnis-gut { background: var(--gut-zart); color: var(--gut); }
.ergebnis-warn { background: var(--warn-zart); color: var(--warn); }
.ergebnis h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.ergebnis p { color: var(--leise); margin-top: 14px; font-size: 1.05rem; }
.ergebnis .knopf-reihe { margin-top: 28px; }

/* Einladungen (/f/, /g/) */
.einladung-kopf { padding-top: 44px; }
.einladung-symbol { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--schatten); margin-bottom: 26px; }
.einladung-kopf h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
.einladung-teil { margin-top: 32px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 28px; box-shadow: var(--schatten); }
.einladung-teil h2 { font-size: 1.45rem; margin-top: 18px; }
.schritte { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: schritt; display: grid; gap: 14px; }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; color: var(--leise); }
.schritte li::before { content: counter(schritt); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--akzent-zart); color: var(--akzent); font-weight: 800; font-size: .95rem; }
.schritte strong { color: var(--text); }
.einladung-teil .klein { margin-top: 20px; }

/* ------------------------------------------------ Fußzeile */
.fuss { background: var(--tief); color: rgba(255,255,255,.74); padding: 40px 0 48px; font-size: .92rem; }
.fuss-zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.fuss-zeile:last-child { padding-bottom: 0; border-bottom: 0; }
.marke-fuss { font-size: 1.05rem; }
.marke-fuss img { width: 36px; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.fuss-nav a { color: rgba(255,255,255,.86); text-decoration: none; padding: 0 10px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.fuss-nav a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: underline; }
.fuss-klein { margin-top: 16px; font-size: .8rem; line-height: 1.55; color: rgba(255,255,255,.6); overflow-wrap: anywhere; }

/* ------------------------------------------------ Seiten des Dienstes
   Die Bestätigungs- und Abmeldeseiten der Vormerkliste erzeugt der
   Snowwing-Dienst (server/) selbst. Gerüst:
     <body class="dienst">
       <main class="dienst-karte">
         <a class="dienst-marke" href="/"><img src="/bilder/app-symbol.png" alt="" width="56" height="56"><span>Snowwing</span></a>
         <h1>…</h1> <p>…</p>
         <p class="dienst-hinweis">…</p>                     (optional, Warnung)
         <form class="dienst-formular" method="post" action="/vormerken/bestaetigen">
           <input type="hidden" name="t" value="…">
           <button class="dienst-knopf" type="submit">…</button>   (.dienst-knopf-ruhig = zweitrangig)
         </form>
         <p class="dienst-klein">… <a href="/datenschutz/">Datenschutz</a></p>
       </main>
     </body> */
body.dienst { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(900px 420px at 50% 0%, rgba(141,178,255,.22), transparent 65%), linear-gradient(170deg, var(--held-von), var(--nacht) 60%, var(--held-bis)); }
.dienst-karte { width: 100%; max-width: 480px; background: var(--flaeche); color: var(--text); border-radius: var(--rund-gross); padding: 32px 28px; box-shadow: var(--schatten-gross); --fokus: var(--akzent); }
.dienst-marke { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-family: var(--schrift-titel); font-weight: 900; font-size: 1.15rem; min-height: 44px; border-radius: 8px; }
.dienst-marke img { width: 44px; height: 44px; border-radius: 12px; }
.dienst-karte h1 { font-size: clamp(1.6rem, 6vw, 2rem); margin-top: 22px; }
.dienst-karte p { color: var(--leise); margin-top: 12px; }
.dienst-hinweis { padding: 12px 14px; border-radius: 12px; background: var(--warn-zart); color: var(--text) !important; }
.dienst-formular { margin-top: 24px; display: grid; gap: 12px; }
.dienst-knopf { width: 100%; min-height: 56px; padding: 0 22px; border: 0; border-radius: 16px; background: var(--akzent); color: var(--auf-akzent); font-family: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.dienst-knopf:hover { filter: brightness(1.08); }
.dienst-knopf-ruhig { background: transparent; color: var(--text); border: 1.5px solid var(--linie-stark); }
.dienst-knopf-ruhig:hover { filter: none; border-color: var(--akzent); }
.dienst-klein { font-size: .88rem; margin-top: 22px !important; }

/* ------------------------------------------------ Schmal */
@media (max-width: 1020px) {
  .held-raster { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
  .held-bild { margin: 0 auto; }
  .karten-raster-vier { grid-template-columns: repeat(2, 1fr); }
  .schwebe-rueckweg { left: -40px; }
  .schwebe-freund { right: -40px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .abschnitt { padding: 68px 0; }
  .karten-raster, .karten-raster-vier { grid-template-columns: 1fr; }
  .geteilt { grid-template-columns: 1fr; gap: 40px; }
  /* Auf dem Telefon erst der Text, dann das Bild – in beiden Abschnitten gleich. */
  .geteilt-bild, .geteilt-umgekehrt .geteilt-bild { order: 2; }
  .geteilt-bild .telefon { width: min(300px, 80vw); }
  .geteilt-bild-doppel .telefon { width: min(220px, 43vw); }
  .versprechen { grid-template-columns: 1fr; }
  .schwebe { max-width: 250px; padding: 10px 12px 10px 10px; }
  .schwebe-rueckweg { left: -8px; top: 21%; }
  .schwebe-freund { right: -8px; top: 36px; }
  .kopf-zeile > .knopf { padding: 0 14px; font-size: .88rem; }
  .knopf-reihe .knopf { width: 100%; }
  .telefon-versetzt { margin-top: 40px; }
  .schluss { padding: 80px 0; }
  .karte, .einladung-teil { padding: 24px 22px; }
  .ergebnis { padding: 28px 22px; margin-top: 28px; }
  .vormerken-tafel { padding: 26px 20px; }
  .rechtstext section { padding: 20px 20px 8px; }
  /* Reiter „Rechtliches" in EINER Zeile zum Wischen statt drei Zeilen Knöpfe
     vor der Überschrift. Die Seite selbst scrollt dabei nie seitlich. */
  .unternav { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 20px 20px 4px; scrollbar-width: none; }
  .unternav::-webkit-scrollbar { display: none; }
  .unternav a { flex: none; }
  .fuss-nav { display: grid; grid-template-columns: 1fr 1fr; width: calc(100% + 20px); margin-left: -10px; }
  .fuss-nav a:last-child { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .schwebe-freund { display: none; }
}

/* ------------------------------------------------ Drucken (Rechtstexte) */
@media print {
  .kopf, .sprung, .unternav, .fuss-nav, .knopf, .knopf-reihe, .vormerken-tafel { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .rechtstext section, .ergebnis { box-shadow: none; border-color: #bbb; background: #fff; }
  .rechtstext p { color: #000; }
  .fuss { background: none; color: #000; padding: 0; }
  .fuss-klein { color: #333; }
}
