/* SprachKasten · Website
   Aufbau: am Handy eine Spalte, ab 900 px zwei. Ein einziges kräftiges Blau, viel Raum,
   grosse Schrift. Farben und Schrift wie in der App. Kontraste: siehe README (werkzeuge/kontrast.py). */

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

:root {
  --grund: #F5F8FD;
  --flaeche: #FFFFFF;
  --flaeche-2: #EEF3FB;
  --text: #0B1B33;
  --leise: #4A5B78;
  --linie: #D5DEEC;
  --blau: #1552D0;
  --blau-tief: #0F3F9F;
  --blau-hauch: #E8F0FE;
  --auf-blau: #FFFFFF;
  --blau-text: #1552D0;
  --gut: #0B6B43;
  --gut-hauch: #E3F6EC;
  --warn: #8A4B00;
  --warn-hauch: #FFF4DC;
  --offen: #FFE27A;
  --auf-offen: #3A2A00;
  --band: #1E3A5F;
  --band-tief: #152B47;
  --auf-band: #FFFFFF;
  --auf-band-leise: #DCE8FF;
  --pegel: #CFDFFC;
  --kopf: #1E3A5F;
  --kopf-tief: #152B47;
  --kopf-linie: #152B47;
  --auf-kopf: #FFFFFF;
  --auf-kopf-leise: #CBD5E0;
  --orange: #EA580C;
  --geraet: #0B1B33;
  --geraet-rand: #2A3D5E;
  --schatten: 0 1px 2px rgba(11, 27, 51, .05), 0 8px 24px rgba(11, 27, 51, .06);
  --schatten-hoch: 0 2px 4px rgba(11, 27, 51, .08), 0 24px 48px -12px rgba(11, 27, 51, .28);
  --schatten-knopf: 0 1px 2px rgba(15, 63, 159, .3), 0 10px 22px -8px rgba(21, 82, 208, .55);

  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rund: 1.375rem;
  --rund-gross: 2rem;
  --breite: 70rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0A1424;
    --flaeche: #121F36;
    --flaeche-2: #182946;
    --text: #EAF0FA;
    --leise: #A3B3CD;
    --linie: #24375A;
    --blau: #7FAEFF;
    --blau-tief: #A5C6FF;
    --blau-hauch: #17305E;
    --auf-blau: #06122B;
    --blau-text: #8FB6FF;
    --gut: #8EE0B6;
    --gut-hauch: #0C2F20;
    --warn: #FFD58A;
    --warn-hauch: #3A2A08;
    --offen: #5C4700;
    --auf-offen: #FFEDB0;
    --band: #17305E;
    --band-tief: #0E1D3A;
    --auf-band: #EAF0FA;
    --auf-band-leise: #C3D3EE;
    --pegel: #21427F;
    --kopf: #1E3A5F;
    --kopf-tief: #152B47;
    --kopf-linie: #2A4A73;
    --geraet: #050B16;
    --geraet-rand: #33486F;
    --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --schatten-hoch: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 48px -12px rgba(0, 0, 0, .7);
    --schatten-knopf: 0 1px 2px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

/* ---------- Grund ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--schrift);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.12; letter-spacing: -0.028em; }
h1 { font-size: clamp(2.375rem, 1.2rem + 5.4vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 2.75rem); font-weight: 750; letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blau-text); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
strong { font-weight: 700; }
abbr { text-decoration: none; }
::selection { background: var(--blau); color: var(--auf-blau); }
:focus-visible { outline: 3px solid var(--blau-text); outline-offset: 3px; border-radius: .375rem; }

.rahmen {
  width: 100%;
  max-width: calc(var(--breite) + 2.5rem);
  margin-inline: auto;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.fest { white-space: nowrap; }
.waehlbar { user-select: all; font-weight: 600; color: var(--text); white-space: nowrap; }

.sprung {
  position: absolute; left: 1rem; top: -5rem; z-index: 50;
  padding: .75rem 1.25rem; border-radius: .75rem;
  background: var(--blau); color: var(--auf-blau); font-weight: 650; text-decoration: none;
}
.sprung:focus { top: 1rem; outline-color: var(--text); }

/* ---------- Knöpfe und Links ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  min-height: 3.5rem; padding: .75rem 1.5rem;
  border-radius: 1rem;
  background: var(--blau); color: var(--auf-blau);
  font-weight: 650; font-size: 1.125rem; letter-spacing: -0.01em; text-decoration: none;
  box-shadow: var(--schatten-knopf);
  -webkit-tap-highlight-color: transparent;
}
.knopf:hover { background: var(--blau-tief); }
.knopf:active { transform: scale(.98); }
.knopf.klein { min-height: 2.75rem; padding: .5rem 1rem; font-size: .9375rem; border-radius: .75rem; box-shadow: none; }
.textlink {
  display: inline-flex; align-items: center; gap: .375rem;
  min-height: 3.5rem; padding-inline: .375rem;
  color: var(--blau-text); font-weight: 650; text-decoration: none; white-space: nowrap;
}
.textlink:hover { text-decoration: underline; text-underline-offset: .25em; }
.textlink .icon { width: 1.25rem; height: 1.25rem; }
.knopfreihe { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }

/* ---------- Kopf ----------
   Navy wie im Logo von Lucio (#1E3A5F), in hell und dunkel gleich. Darauf das Logo mit weisser Schrift. */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: var(--kopf);
  color: var(--auf-kopf);
  border-bottom: 1px solid var(--kopf-linie);
  padding-top: env(safe-area-inset-top, 0px);
}
.kopf-reihe { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 4rem; }
.kopf-rechts { display: flex; align-items: center; gap: 1.25rem; }
.marke {
  display: inline-flex; align-items: center; flex: none;
  color: var(--text); text-decoration: none; border-radius: .5rem;
}
.marke picture { display: block; }
.marke .logo { display: block; width: auto; height: 2rem; }
.kopf .marke { padding-block: .375rem; }
.kopf :focus-visible { outline-color: var(--auf-kopf); }
.fuss .marke .logo { height: 2.5rem; }
.land { display: none; gap: .125rem; font-size: .9375rem; font-weight: 600; }
.land a {
  display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem;
  color: var(--auf-kopf-leise); text-decoration: none; border-radius: .625rem;
}
.land a:hover { color: var(--auf-kopf); background: var(--kopf-tief); }
.land a[aria-current] { color: var(--auf-kopf); }
.land a[aria-current] abbr { border-bottom: 2px solid var(--orange); padding-bottom: .0625rem; }
.kopf .knopf.klein { background: var(--auf-kopf); color: var(--kopf); }
.kopf .knopf.klein:hover { background: var(--auf-kopf-leise); }
@media (max-width: 24.3125rem) { .kopf .marke .logo { height: 1.75rem; } .kopf .knopf.klein { padding-inline: .75rem; } }
@media (max-width: 22.4375rem) { .kopf .marke .logo { height: 2.5rem; } .kopf .marke { padding-block: .25rem; } }
@media (min-width: 40rem) { .land { display: flex; } }
@media (min-width: 56.25rem) { .kopf-reihe { min-height: 4.5rem; } .kopf .marke .logo { height: 2.375rem; } }

/* ---------- Held ---------- */
.held { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 5rem); }
.held-raster { display: grid; gap: 2.5rem; }
.held-text { display: grid; gap: 1.5rem; justify-items: start; align-content: center; }
.held h1 span { display: block; }
.held h1 .blau { color: var(--blau-text); }
.vorzeile {
  font-size: .9375rem; font-weight: 650; letter-spacing: .01em; color: var(--blau-text);
}
.held .vorzeile {
  padding: .375rem .875rem; border-radius: 999px; background: var(--blau-hauch);
}
.einstieg { font-size: clamp(1.1875rem, 1rem + .8vw, 1.375rem); line-height: 1.5; color: var(--leise); max-width: 34rem; }
.kurzliste { display: grid; gap: .5rem; font-size: 1rem; font-weight: 550; }
.kurzliste li { display: flex; align-items: center; gap: .625rem; }
.kurzliste .icon { width: 1.25rem; height: 1.25rem; color: var(--blau-text); stroke-width: 2.25; }

.buehne {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--rund-gross);
  background: var(--blau-hauch);
}
.pegel {
  position: absolute; inset: 0; z-index: -1;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: 5%;
}
.pegel span {
  width: clamp(.5rem, 2.8%, .875rem); height: var(--h, 30%);
  border-radius: 999px; background: var(--pegel);
}
.pegel span:nth-child(1) { --h: 10%; }  .pegel span:nth-child(2) { --h: 22%; }
.pegel span:nth-child(3) { --h: 38%; }  .pegel span:nth-child(4) { --h: 26%; }
.pegel span:nth-child(5) { --h: 52%; }  .pegel span:nth-child(6) { --h: 36%; }
.pegel span:nth-child(7) { --h: 64%; }  .pegel span:nth-child(8) { --h: 74%; }
.pegel span:nth-child(9) { --h: 58%; }  .pegel span:nth-child(10) { --h: 42%; }
.pegel span:nth-child(11) { --h: 56%; } .pegel span:nth-child(12) { --h: 30%; }
.pegel span:nth-child(13) { --h: 40%; } .pegel span:nth-child(14) { --h: 20%; }
.pegel span:nth-child(15) { --h: 12%; }

@media (min-width: 56.25rem) {
  .held-raster { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 3rem; align-items: stretch; }
}

/* ---------- Handy-Rahmen ---------- */
.handy {
  --hb: 15.5rem;
  width: min(var(--hb), 100%);
  padding: calc(var(--hb) * .034);
  border-radius: calc(var(--hb) * .165);
  background: var(--geraet);
  box-shadow: inset 0 0 0 1px var(--geraet-rand), var(--schatten-hoch);
}
.handy img {
  width: 100%; height: auto; aspect-ratio: 390 / 844;
  border-radius: calc(var(--hb) * .132);
  background: var(--flaeche-2);
}
.buehne .handy { --hb: 16.5rem; }
@media (min-width: 56.25rem) { .buehne .handy { --hb: 17rem; } }
figcaption { margin-top: 1rem; font-size: 1rem; color: var(--leise); text-align: center; text-wrap: balance; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.abschnitt.hell { background: var(--flaeche); border-block: 1px solid var(--linie); }
.abschnitt-kopf { display: grid; gap: 1rem; max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.einleitung { font-size: clamp(1.125rem, 1rem + .5vw, 1.25rem); line-height: 1.55; color: var(--leise); max-width: 38rem; }

.feld {
  display: grid; place-items: center; flex: none;
  width: 3rem; height: 3rem; border-radius: .875rem;
  background: var(--blau-hauch); color: var(--blau-text);
}
.stand {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .1875rem .625rem .1875rem .5rem; border-radius: 999px;
  font-size: .875rem; font-weight: 650; letter-spacing: 0; line-height: 1.4; white-space: nowrap;
}
.stand .icon { width: 1rem; height: 1rem; stroke-width: 2.25; }
.stand.gut { background: var(--gut-hauch); color: var(--gut); }
.stand.warn { background: var(--warn-hauch); color: var(--warn); }

.haken { display: grid; gap: .875rem; }
.haken li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: .75rem; align-items: start; }
.haken .icon { width: 1.25rem; height: 1.25rem; margin-top: .22em; color: var(--blau-text); stroke-width: 2.25; }

/* ---------- 2 · Schritte ---------- */
.schritte { display: grid; gap: 1.25rem; }
.schritt {
  display: flex; flex-direction: column;
  border-radius: var(--rund); overflow: hidden;
  background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten);
}
.schritt-text { display: grid; gap: .75rem; align-content: start; padding: 1.75rem 1.5rem 2rem; }
.schritt-bild { display: grid; place-items: center; flex: 1; padding: 2rem 1.5rem; background: var(--flaeche-2); }
.schritt .handy { --hb: 13rem; }
.nr {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: .5rem;
  border-radius: 50%; background: var(--blau); color: var(--auf-blau);
  font-weight: 750; font-size: 1.125rem; font-variant-numeric: tabular-nums;
}
.beispiel {
  margin-top: .25rem; padding: .75rem .875rem; border-radius: .875rem; background: var(--flaeche-2);
  font-size: 1rem; line-height: 1.9;
}
.beispiel-wort { display: block; font-size: .875rem; font-weight: 650; color: var(--leise); line-height: 1.4; }
.beispiel mark {
  padding: .125rem .375rem; border-radius: .375rem;
  background: var(--blau-hauch); color: var(--blau-text); font-weight: 650; white-space: nowrap;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blau-text) 22%, transparent);
}
@media (min-width: 40rem) and (max-width: 56.24rem) {
  .schritt { flex-direction: row; }
  .schritt-text { flex: 1 1 0; min-width: 0; align-content: center; padding: 2rem; }
  .schritt-bild { flex: 0 0 18rem; padding: 2rem 0; }
}
@media (min-width: 56.25rem) {
  .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .schritt-bild { order: -1; flex: none; padding-block: 2.25rem; }
  .schritt-text { padding: 1.75rem 1.75rem 2.25rem; }
  .schritt .handy { --hb: 14rem; }
}

/* ---------- 3 · Was drin ist ---------- */
.karten { display: grid; gap: 1.25rem; }
.karte {
  display: grid; gap: .75rem; align-content: start;
  padding: 1.75rem 1.5rem 2rem;
  border-radius: var(--rund);
  background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten);
}
.karte h3 { margin-top: .5rem; font-size: 1.5rem; letter-spacing: -0.03em; }
.karte-satz { color: var(--leise); }
.karte .haken { margin-top: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); font-size: 1.0625rem; line-height: 1.5; }
@media (min-width: 56.25rem) {
  .karten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .karte { padding: 2rem 1.75rem 2.25rem; }
}

.einblick {
  margin-top: 1.5rem; padding-block: 2rem 1.25rem;
  border-radius: var(--rund-gross); background: var(--flaeche-2); overflow: hidden;
}
.einblick-titel { padding-inline: 1.5rem; margin-bottom: 1.5rem; text-align: center; color: var(--leise); font-size: 1.0625rem; font-weight: 650; letter-spacing: 0; }
.einblick-reihe {
  display: flex; gap: 1.5rem;
  padding: .25rem 1.5rem 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.5rem;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.einblick-reihe:focus-visible { outline-offset: -3px; border-radius: var(--rund-gross); }
.einblick-reihe li { flex: none; width: 13.5rem; scroll-snap-align: center; }
.einblick-reihe .handy { --hb: 13.5rem; }
@media (min-width: 56.25rem) {
  .einblick { padding-block: 3rem 2rem; }
  .einblick-reihe { justify-content: center; gap: clamp(2rem, 6vw, 5rem); overflow: visible; }
  .einblick-reihe li { width: 15rem; }
  .einblick-reihe .handy { --hb: 15rem; }
}

/* ---------- 4 · Unterschied und 9 · Fragen: Kopf links, Liste rechts ---------- */
.zweispalter { display: grid; gap: 0; }
.punkte li {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.25rem;
  padding-block: 1.75rem; border-top: 1px solid var(--linie);
}
.punkte li:last-child { padding-bottom: 0; }
.punkte h3 { margin-bottom: .5rem; font-size: 1.375rem; letter-spacing: -0.025em; }
@media (min-width: 56.25rem) {
  .zweispalter { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
  .zweispalter > .abschnitt-kopf { position: sticky; top: 6.5rem; margin-bottom: 0; }
  .punkte li:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- 5 · Neben der Software ---------- */
.software-raster { display: grid; gap: 2.5rem; }
.faelle { display: grid; gap: 1rem; }
.fall {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--rund);
  background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten);
}
.fall > div { display: grid; gap: .625rem; justify-items: start; }
.software-bild {
  display: grid; justify-items: center; align-content: center;
  padding: 2.5rem 1.5rem 1.75rem;
  border-radius: var(--rund-gross); background: var(--blau-hauch);
}
.software-bild .handy { --hb: 15.5rem; }
@media (max-width: 26rem) {
  .fall { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}
@media (min-width: 56.25rem) {
  .software-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; align-items: stretch; }
  .software-bild .handy { --hb: 17rem; }
}

/* ---------- 6 · Nichts geht ohne dein OK raus ---------- */
.band {
  padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem);
  border-radius: var(--rund-gross);
  background: var(--band); color: var(--auf-band);
}
.band :focus-visible { outline-color: var(--auf-band); }
.band-kopf { display: grid; gap: 1.25rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.band-kopf h2 { font-size: clamp(2.125rem, 1.3rem + 3.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.band-kopf .einleitung { color: var(--auf-band-leise); font-size: clamp(1.1875rem, 1rem + .8vw, 1.375rem); }
.band-zeichen {
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
  border-radius: 1rem; background: var(--band-tief); color: var(--auf-band);
}
.band-zeichen .icon { width: 1.75rem; height: 1.75rem; }
.band-karten { display: grid; gap: 1rem; }
.band-karte {
  display: grid; gap: .75rem; align-content: start;
  padding: 1.5rem; border-radius: 1.25rem; background: var(--band-tief);
}
.band-karte h3 { display: flex; align-items: center; gap: .625rem; }
.band-karte p { color: var(--auf-band-leise); font-size: 1.0625rem; }
.band-karte p strong { color: var(--auf-band); font-size: 1.125rem; line-height: 1.4; }
@media (max-width: 39.99rem) {
  .band-abschnitt > .rahmen { padding-inline: 0; }
  .band {
    border-radius: 0;
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  }
}
@media (min-width: 56.25rem) { .band-karten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }

/* ---------- 7 · Daten: am Handy eine Liste, ab 640 px Kacheln ---------- */
.daten {
  padding-inline: 1.25rem; border-radius: var(--rund);
  background: var(--flaeche); border: 1px solid var(--linie);
}
.daten li {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .375rem 1rem; align-items: start;
  padding-block: 1.375rem; border-bottom: 1px solid var(--linie);
}
.daten li:last-child { border-bottom: 0; }
.daten .feld { grid-row: 1 / span 2; }
.daten h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .75rem; min-height: 1.75rem; }
.daten p { font-size: 1.0625rem; line-height: 1.55; }
@media (max-width: 25.99rem) {
  .daten { padding-inline: 1rem; }
  .daten li { grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: .75rem; }
  .daten .feld { width: 2.5rem; height: 2.5rem; border-radius: .75rem; }
}
@media (min-width: 40rem) {
  .daten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0; background: none; border: 0; border-radius: 0; }
  .daten li, .daten li:last-child {
    grid-template-columns: minmax(0, 1fr); gap: .625rem; align-content: start; justify-items: start;
    padding: 1.5rem; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--flaeche);
  }
  .daten .feld { grid-row: auto; }
  .daten h3 { margin-top: .5rem; }
}
@media (min-width: 56.25rem) { .daten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } .daten li, .daten li:last-child { padding: 1.75rem; } }

/* ---------- 8 · Testphase ---------- */
.test {
  display: grid; gap: 2rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border-radius: var(--rund-gross);
  background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten-hoch);
}
.test-text { display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
.eckdaten { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--linie); }
.eckdaten li { display: grid; gap: .125rem; padding-block: .875rem; border-bottom: 1px solid var(--linie); }
.eckdaten strong { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.02em; }
.eckdaten span { color: var(--leise); font-size: 1.0625rem; }
.adresse { color: var(--leise); font-size: 1.0625rem; }
.test-liste {
  display: grid; gap: 1.25rem; align-content: start;
  padding: 1.5rem; border-radius: var(--rund); background: var(--flaeche-2);
}
.test-fuss { padding-top: 1.25rem; border-top: 1px solid var(--linie); font-weight: 650; }
@media (min-width: 30rem) { .eckdaten li { grid-template-columns: minmax(0, 15.5rem) minmax(0, 1fr); align-items: baseline; gap: 1rem; } }
@media (min-width: 56.25rem) {
  .test { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; align-items: start; }
  .test-liste { padding: 2rem; }
}

/* ---------- 9 · Fragen ---------- */
.fragen { border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.25rem .75rem; margin-inline: -.75rem; min-height: 4rem; border-radius: .75rem;
  font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.35;
  cursor: pointer; list-style: none;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: ""; flex: none; width: .75rem; height: .75rem; margin: 0 .5rem .25rem;
  border-right: 2.5px solid var(--blau-text); border-bottom: 2.5px solid var(--blau-text);
  transform: rotate(45deg);
}
.fragen details[open] summary::after { transform: rotate(-135deg); margin-bottom: -.25rem; }
.fragen summary:hover { color: var(--blau-text); }
.fragen summary:focus-visible { outline-offset: -3px; border-radius: .75rem; }
.fragen details p { max-width: 40rem; padding-bottom: 1.25rem; }
.fragen summary + p { padding-top: .25rem; }
.fragen details p:last-child { padding-bottom: 1.75rem; }

/* ---------- Fuss ---------- */
.fuss { margin-top: clamp(1rem, 4vw, 3rem); padding-block: 3rem calc(3rem + env(safe-area-inset-bottom, 0px)); background: var(--flaeche); border-top: 1px solid var(--linie); }
.fuss-raster { display: grid; gap: 1.25rem; }
.fuss-marke { display: grid; gap: .75rem; }
.fuss-satz { color: var(--leise); max-width: 22rem; }
.fuss-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.fuss-links a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  color: var(--text); font-weight: 600; text-decoration: none;
}
.fuss-links a:hover { color: var(--blau-text); text-decoration: underline; }
.fuss-links a[aria-current] { color: var(--leise); font-weight: 500; }
.fuss-klein { margin-top: .5rem; color: var(--leise); font-size: .9375rem; }
@media (min-width: 56.25rem) {
  .fuss-raster { grid-template-columns: minmax(0, 2fr) auto auto; gap: 2rem 4rem; align-items: start; }
  .fuss-links { flex-direction: column; gap: 0; }
  .fuss-klein { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--linie); }
}

/* ---------- Textseiten: Impressum, Datenschutz, 404 ---------- */
.textseite { padding-block: clamp(2.5rem, 6vw, 5rem); }
.schmal { max-width: calc(44rem + 2.5rem); }
.textseite .schmal { display: grid; gap: 1.125rem; }
.textseite h1 { font-size: clamp(2.25rem, 1.5rem + 3.5vw, 3.25rem); margin-bottom: .5rem; }
.textseite h2 { font-size: 1.5rem; letter-spacing: -0.025em; margin-top: 1.75rem; }
.textseite ul { display: grid; gap: .5rem; padding-left: 1.25rem; list-style: disc; }
.textseite li::marker { color: var(--blau-text); }
.hinweis { padding: 1rem 1.25rem; border-radius: 1rem; background: var(--warn-hauch); color: var(--warn); }
mark.offen {
  padding: .1em .35em; border-radius: .35em;
  background: var(--offen); color: var(--auf-offen);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.zurueck { margin-top: 2rem; font-weight: 650; }
.fehlseite { min-height: 50vh; align-content: center; justify-items: start; }

/* ---------- Bewegung: dezent, nur wenn erwünscht ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .knopf { transition: background-color .15s ease, transform .08s ease; }
  .land a, .fragen summary { transition: color .15s ease, background-color .15s ease; }
  .fragen summary::after { transition: transform .2s ease; }
  .pegel span { animation: pegel 2.6s ease-in-out infinite; transform-origin: center; }
  .pegel span:nth-child(3n) { animation-duration: 3.2s; animation-delay: -.9s; }
  .pegel span:nth-child(3n + 1) { animation-duration: 2.3s; animation-delay: -1.6s; }
  .pegel span:nth-child(4n) { animation-delay: -.4s; }
  .pegel span:nth-child(5n) { animation-duration: 3.6s; }
  .buehne .handy { animation: auftritt .7s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes pegel { 0%, 100% { transform: scaleY(.62); } 50% { transform: scaleY(1); } }
@keyframes auftritt { from { transform: translateY(1.25rem); } to { transform: none; } }

@media print {
  .kopf, .sprung, .buehne .pegel { display: none; }
  body { background: #fff; color: #000; }
}
