/* Trapezis Produktseite
   Farben aus design/tokens/trapezis.tokens.json (Grundwerte -> Bedeutung -> Bauteil).
   Keine externen Schriften: Überschriften in einer Buchschrift des Systems, Text in Inter,
   falls installiert, sonst in der Systemschrift. */

/* ---------- Grundwerte (primitive) ---------- */
:root {
  --neutral-0: #FFFFFF;
  --neutral-25: #FBFCFD;
  --neutral-50: #F4F6F9;
  --neutral-100: #E9EDF2;
  --neutral-200: #D7DEE6;
  --neutral-300: #B6C2CF;
  --neutral-500: #647387;
  --neutral-600: #4A586A;
  --neutral-700: #36424F;
  --neutral-800: #26303B;
  --neutral-850: #1C242D;
  --neutral-900: #141A21;
  --neutral-950: #0D1217;
  --petrol-50: #EEF5FA;
  --petrol-100: #D6E7F2;
  --petrol-200: #AFCFE5;
  --petrol-300: #82B3D6;
  --petrol-400: #5596C4;
  --petrol-500: #2E77AA;
  --petrol-600: #1F5F8D;
  --petrol-700: #1A4C72;
  --petrol-800: #163E5D;
  --petrol-900: #112E46;
  --petrol-950: #0C2234;
  --green-50: #ECFDF3;
  --green-400: #47CD89;
  --green-700: #067647;
  --green-900: #0A2E1D;
  --red-300: #FDA29B;
  --red-700: #B42318;
  --amber-50: #FFFAEB;
  --amber-300: #FEC84B;
  --amber-700: #A84505;
  --amber-900: #3B2208;

  --schrift-titel: "Sitka Heading", "Sitka Display", "Iowan Old Style", "Charter", "Bitstream Charter", "Source Serif Pro", Cambria, Georgia, serif;
  --schrift-text: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;

  --raster: 1240px;
  --rand: clamp(16px, 4vw, 48px);
  --bluten: calc(-1 * max(var(--rand), (100vw - var(--raster)) / 2 + var(--rand)));
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-xl: 12px;

  /* ---------- Bedeutung (semantic), hell ---------- */
  --grund: var(--neutral-50);
  --flaeche: var(--neutral-0);
  --linie: var(--neutral-200);
  --linie-stark: var(--neutral-500);
  --text: var(--neutral-900);
  --text-leise: var(--neutral-600);
  --primaer: var(--petrol-600);
  --primaer-hover: var(--petrol-700);
  --auf-primaer: var(--neutral-0);
  --fokus: var(--petrol-500);
  --strom: var(--petrol-400);
  --ausgabe: var(--red-700);
  --erfolg: var(--green-700);
  --erfolg-flaeche: var(--green-50);
  --warnung: var(--amber-700);
  --warnung-flaeche: var(--amber-50);
  --tief: var(--petrol-950);
  --tief-text: var(--neutral-50);
  --tief-leise: var(--petrol-200);
  --tief-linie: var(--petrol-800);
  --schatten: 0 1px 2px rgb(20 26 33 / .06), 0 18px 48px -18px rgb(12 34 52 / .32);
  --rahmen-geraet: var(--neutral-900);
  --leiste: var(--neutral-100);
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: var(--neutral-950);
    --flaeche: var(--neutral-900);
    --linie: var(--neutral-700);
    --linie-stark: var(--neutral-500);
    --text: var(--neutral-50);
    --text-leise: var(--neutral-300);
    --primaer: var(--petrol-300);
    --primaer-hover: var(--petrol-200);
    --auf-primaer: var(--neutral-950);
    --fokus: var(--petrol-300);
    --strom: var(--petrol-300);
    --ausgabe: var(--red-300);
    --erfolg: var(--green-400);
    --erfolg-flaeche: var(--green-900);
    --warnung: var(--amber-300);
    --warnung-flaeche: var(--amber-900);
    --tief: var(--petrol-900);
    --tief-linie: var(--petrol-800);
    --schatten: 0 1px 2px rgb(0 0 0 / .4), 0 18px 48px -18px rgb(0 0 0 / .7);
    --rahmen-geraet: var(--neutral-700);
    --leiste: var(--neutral-850);
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; min-width: 0; }
picture { display: block; }
p { margin: 0 0 1em; }
a { color: var(--primaer); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--primaer-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--flaeche); color: var(--text); padding: 10px 14px; border-radius: var(--radius-md);
}
.skip:focus { top: 12px; }

.betrag { font-variant-numeric: tabular-nums; white-space: nowrap; }
.betrag--aus { color: var(--ausgabe); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--grund) 92%, transparent);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  max-width: var(--raster); margin: 0 auto; padding: 14px var(--rand);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.marke { display: block; flex: none; }
.marke img { width: 164px; height: auto; }
.navi ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2.4vw, 32px); }
.navi a { color: var(--text); text-decoration: none; font-size: .9375rem; font-weight: 500; padding: 6px 0; }
.navi a:hover { color: var(--primaer); text-decoration: underline; }
@media (max-width: 760px) { .navi__weit { display: none; } }

/* ---------- Bausteine ---------- */
.knopf {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  background: var(--primaer); color: var(--auf-primaer);
  border-radius: var(--radius-md); font-weight: 600; text-decoration: none;
  transition: background-color .15s ease;
}
.knopf:hover { background: var(--primaer-hover); color: var(--auf-primaer); text-decoration: none; }
.textlink { font-weight: 600; }

.ueberschrift {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0 0 .7em;
  text-wrap: balance;
}

.abschnitt {
  max-width: var(--raster); margin: 0 auto;
  padding: clamp(64px, 9vw, 128px) var(--rand) 0;
}

/* Fensterrahmen für Desktop-Bilder */
.fenster {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 10px;
  box-shadow: var(--schatten);
  overflow: hidden;
}
.fenster__leiste {
  display: flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 0 0 12px;
  background: var(--leiste); border-bottom: 1px solid var(--linie);
  font-size: .75rem; color: var(--text-leise);
}
.fenster__leiste img { width: 14px; height: 14px; }
.fenster__leiste span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fenster__leiste i { width: 42px; height: 34px; position: relative; flex: none; }
.fenster__leiste i::before { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 1px; background: currentColor; }
.fenster__leiste i:nth-of-type(2)::before { height: 10px; background: none; border: 1px solid currentColor; }
.fenster__leiste i:nth-of-type(3)::before,
.fenster__leiste i:nth-of-type(3)::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 1px; background: currentColor; transform: rotate(45deg); }
.fenster__leiste i:nth-of-type(3)::after { transform: rotate(-45deg); }

/* Handyrahmen */
.telefon {
  width: 100%; max-width: 260px;
  border: 7px solid var(--rahmen-geraet);
  border-radius: 34px;
  overflow: hidden;
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.telefon img { border-radius: 27px; }

/* ---------- Einstieg ---------- */
.einstieg {
  max-width: var(--raster); margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--rand) 0;
}
.einstieg__text { max-width: 54rem; }
@media (min-width: 1000px) {
  .einstieg__text {
    max-width: none;
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 0 clamp(32px, 5vw, 80px); align-items: end;
  }
  .einstieg__text .titel { font-size: clamp(3rem, 1rem + 4.6vw, 5.4rem); max-width: 14ch; margin-bottom: 0; }
  .einstieg__seite .einstieg__stand { margin-bottom: .2em; }
}
.titel {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(2.5rem, 1.1rem + 5.6vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -.022em;
  margin: 0 0 .45em;
  text-wrap: balance;
  max-width: 13ch;
}
.vorspann { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); max-width: 40rem; line-height: 1.55; }
.einstieg__wege { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 28px 0 18px; }
.einstieg__stand { font-size: .9375rem; color: var(--text-leise); max-width: 34rem; }

.buehne {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 24%) minmax(0, 1fr);
  align-items: center;
  margin-top: clamp(32px, 4vw, 56px);
  margin-right: 0;
  padding-bottom: 40px;
}
.stroeme { position: relative; align-self: stretch; min-height: 260px; }
.stroeme__linien { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stroeme__linien path {
  fill: none; stroke: var(--strom); stroke-width: 11; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.strom {
  position: absolute; left: 0;
  display: grid; gap: 0; font-size: .8125rem; line-height: 1.3;
  background: var(--grund); padding: 4px 10px 4px 0;
  transform: translateY(-120%);
}
.strom b { font-weight: 600; }
.strom .betrag { color: var(--text-leise); }
.strom .betrag--aus { color: var(--ausgabe); }
.strom--1 { top: 13.3%; }
.strom--2 { top: 50%; }
/* Below its line: the bottom strand rises right where a label above it would sit. */
.strom--3 { top: 86.7%; transform: translateY(26%); }

.fenster--gross { position: relative; z-index: 1; margin-right: clamp(40px, 6vw, 96px); }
.telefon--einstieg {
  position: absolute; z-index: 2; right: 0; bottom: 0;
  width: clamp(130px, 17vw, 220px);
}


/* Einmalige Bewegung: die drei Ströme fließen beim Laden zusammen. */
@media (prefers-reduced-motion: no-preference) {
  .stroeme__linien path { stroke-dashoffset: 1; animation: fluss 1.4s cubic-bezier(.3,.1,.2,1) .2s forwards; }
  .stroeme__linien path:nth-child(2) { animation-delay: .35s; }
  .stroeme__linien path:nth-child(3) { animation-delay: .5s; }
  .strom { opacity: 0; animation: auftauchen .5s ease .15s forwards; }
  .fenster--gross { opacity: 0; transform: translateX(24px); animation: hereinschieben .8s cubic-bezier(.2,.7,.2,1) 1.1s forwards; }
  .telefon--einstieg { opacity: 0; transform: translateY(24px); animation: hereinschieben .8s cubic-bezier(.2,.7,.2,1) 1.45s forwards; }
}
@keyframes fluss { to { stroke-dashoffset: 0; } }

/* Points on the strands: their offset follows the scroll position (--fluss, set by js/fluss.js). */
.stroeme__linien .stroeme__punkte path {
  animation: none;
  fill: none; stroke: var(--grund); stroke-width: 4; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 0 .085;
  stroke-dashoffset: calc(var(--fluss, 0) * -1);
  opacity: .9;
}
.stroeme__linien .stroeme__punkte path:nth-child(2) { stroke-dashoffset: calc(var(--fluss, 0) * -1 - .03); }
.stroeme__linien .stroeme__punkte path:nth-child(3) { stroke-dashoffset: calc(var(--fluss, 0) * -1 - .055); }
@keyframes auftauchen { to { opacity: 1; } }
@keyframes hereinschieben { to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .buehne { grid-template-columns: minmax(0, 1fr); margin-right: 0; padding-bottom: 56px; }
  .stroeme { display: none; }
  .fenster--gross { margin-right: 0; }
  .telefon--einstieg { right: 12px; width: 36%; max-width: 150px; border-width: 5px; border-radius: 22px; }
  .telefon--einstieg img { border-radius: 17px; }
}

/* ---------- Datenhaltung (dunkles Band) ---------- */
.daten {
  margin-top: clamp(72px, 10vw, 140px);
  background: var(--tief);
  color: var(--tief-text);
}
.daten__innen {
  max-width: var(--raster); margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--rand);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(32px, 6vw, 96px);
}
.daten .ueberschrift { color: var(--neutral-0); }
.daten__text p { color: var(--neutral-100); max-width: 34rem; }
.daten a { color: var(--petrol-200); }

.weg { list-style: none; margin: 0; padding: 0; align-self: center; position: relative; }
.weg::before {
  content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px;
  background: var(--petrol-400);
}
.weg__station { position: relative; padding: 0 0 34px 48px; display: grid; gap: 4px; }
.weg__station:last-child { padding-bottom: 0; }
.weg__station::before {
  content: ""; position: absolute; left: 2px; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--tief); border: 3px solid var(--petrol-300);
}
.weg__ort { font-size: .875rem; color: var(--tief-leise); }
.weg__ding { font-family: var(--schrift-titel); font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.25; color: var(--neutral-0); }
.weg__ding.datei { font-family: var(--schrift-text); font-weight: 600; letter-spacing: -.01em; }
.weg__notiz { font-size: .9375rem; color: var(--neutral-200); }
.weg__nicht {
  grid-column: 2; margin: 8px 0 0;
  padding: 18px 20px 18px 48px; position: relative;
  border: 1px dashed var(--petrol-400); border-radius: var(--radius-md);
  color: var(--neutral-100); font-size: .9375rem;
}
.weg__nicht .weg__ort { display: block; text-decoration: line-through; text-decoration-color: var(--red-300); text-decoration-thickness: 2px; }
.weg__nicht::before,
.weg__nicht::after {
  content: ""; position: absolute; left: 13px; top: 24px; width: 20px; height: 2px; background: var(--red-300);
  transform: rotate(45deg);
}
.weg__nicht::after { transform: rotate(-45deg); }

@media (max-width: 900px) {
  .daten__innen { grid-template-columns: minmax(0, 1fr); }
  .weg__nicht { grid-column: 1; }
}

/* ---------- Ordnung ---------- */
.ordnung {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 40px clamp(32px, 5vw, 72px); align-items: center;
}
.ordnung__bild { margin: 0; }
.ordnung__text p { max-width: 30rem; }
@media (max-width: 900px) {
  .ordnung { grid-template-columns: minmax(0, 1fr); }
  .ordnung__bild { margin-left: 0; border-left: 1px solid var(--linie); border-radius: 10px; }
  .ordnung__text { order: -1; }
}

/* ---------- Zahlungen ---------- */
.zahlungen__kopf {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 clamp(32px, 6vw, 96px);
  align-items: start;
}
.zahlungen__vorspann p { max-width: 36rem; }
.zahlungen__bilder { position: relative; margin-top: clamp(24px, 4vw, 48px); padding-bottom: 48px; }
.zahlungen__haupt { width: 82%; }
.dialog-bild {
  position: absolute; right: 0; bottom: 0; width: min(34%, 380px);
}
.dialog-bild img {
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 1px var(--linie), var(--schatten);
}
.dialog-bild figcaption {
  margin-top: 14px; font-size: .9375rem; line-height: 1.45; color: var(--text-leise);
  padding-left: 14px; border-left: 3px solid var(--ausgabe);
}
@media (max-width: 900px) {
  .zahlungen__kopf { grid-template-columns: minmax(0, 1fr); }
  .zahlungen__haupt { width: 100%; }
  .dialog-bild { position: relative; width: min(100%, 420px); margin: -40px 0 0 auto; }
}

/* Funktionsliste in der Art der Umsatzliste der Anwendung */
.kasse {
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 2px solid var(--text);
}
.kasse__titel {
  font-size: 1rem; font-weight: 600; margin: 0; padding: 14px 0;
  border-bottom: 1px solid var(--linie);
}
.kasse__liste { list-style: none; margin: 0; padding: 0; }
.posten {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr) 10.5rem;
  gap: 4px 24px; align-items: center;
  min-height: 64px; padding: 12px 0;
  border-bottom: 1px solid var(--linie);
}
.posten__name { font-weight: 600; }
.posten__text { color: var(--text-leise); font-size: .9688rem; line-height: 1.45; }
.chip {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px 0 8px; border-radius: 999px;
  font-size: .8125rem; font-weight: 500; white-space: nowrap;
}
.chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip--ja { color: var(--erfolg); background: var(--erfolg-flaeche); }
.chip--bald { color: var(--warnung); background: var(--warnung-flaeche); }
@media (max-width: 760px) {
  .posten { grid-template-columns: minmax(0, 1fr) auto; }
  .posten__text { grid-column: 1 / -1; grid-row: 2; }
  .chip { grid-column: 2; grid-row: 1; }
}

/* ---------- Umzug ---------- */
.umzug {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 32px clamp(32px, 6vw, 96px); align-items: center;
}
.umzug__text p { max-width: 32rem; }
.umzug__bild {
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--linie); box-shadow: var(--schatten);
  background: var(--neutral-50);
}
@media (max-width: 900px) { .umzug { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Notfallblatt ---------- */
.notfall {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  gap: 40px clamp(32px, 6vw, 96px); align-items: center;
}
.notfall__bilder { position: relative; padding: 0 0 72px; }
.blatt {
  width: 86%;
  background: var(--neutral-0);
  padding: 4% 4% 0;
  box-shadow: 0 1px 1px rgb(20 26 33 / .08), 0 22px 40px -22px rgb(20 26 33 / .45);
  transform: rotate(-2.2deg);
}
.karte-bild {
  position: absolute; right: 0; bottom: 0; width: 64%;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--linie); box-shadow: var(--schatten);
  background: var(--neutral-0);
}
.notfall__text p { max-width: 32rem; }
@media (max-width: 900px) { .notfall { grid-template-columns: minmax(0, 1fr); } .notfall__bilder { max-width: 560px; } }

/* ---------- Handy ---------- */
.handy {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 40px clamp(32px, 6vw, 96px); align-items: center;
}
.handy__text p { max-width: 30rem; }
.hinweis {
  display: inline-block; font-size: .9375rem; color: var(--warnung);
  background: var(--warnung-flaeche); padding: 4px 12px; border-radius: 999px;
}
.handy__geraete { display: flex; align-items: flex-start; justify-content: center; gap: clamp(16px, 4vw, 48px); }
.handy__geraete .telefon { width: 46%; }
.telefon--versetzt { margin-top: 64px; }
@media (max-width: 900px) { .handy { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) {
  .handy__geraete .telefon { border-width: 5px; border-radius: 24px; }
  .handy__geraete .telefon img { border-radius: 19px; }
  .telefon--versetzt { margin-top: 32px; }
}

/* ---------- Stand ---------- */
.stand { margin-top: clamp(80px, 11vw, 150px); background: var(--primaer); color: var(--auf-primaer); }
@media (prefers-color-scheme: dark) { .stand { background: var(--petrol-800); color: var(--neutral-0); } }
.stand__innen {
  max-width: var(--raster); margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--rand);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start;
}
.stand__titel {
  font-family: var(--schrift-titel); font-weight: 600;
  font-size: clamp(2.2rem, 1.2rem + 3.8vw, 4.2rem); line-height: 1.02; letter-spacing: -.02em;
  margin: 0; max-width: 11ch;
}
.stand__text p { max-width: 30rem; }
.stand__text p:last-child { margin-bottom: 0; }
.am-stueck { white-space: nowrap; }
.knopf--hell { background: var(--neutral-0); color: var(--petrol-800); }
.knopf--hell:hover { background: var(--petrol-50); color: var(--petrol-900); }
@media (max-width: 760px) { .stand__innen { grid-template-columns: minmax(0, 1fr); } }

/* Platzhalter, die Ralph noch füllen muss: absichtlich auffällig */
.todo { outline: 2px dashed var(--warnung); outline-offset: 3px; }
.stand .todo { outline-color: var(--amber-300); }

/* ---------- Fuß ---------- */
.fuss { border-top: 1px solid var(--linie); }
.fuss__innen {
  max-width: var(--raster); margin: 0 auto; padding: 40px var(--rand) 48px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 24px; align-items: start;
  font-size: .9375rem; color: var(--text-leise);
}
.fuss__zeichen { width: 32px; height: 32px; }
.fuss p { margin: 0; }
.fuss__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.fuss__links a { white-space: nowrap; }
.fuss__links a { color: var(--text); }
.fuss__klein { grid-column: 2 / -1; font-size: .875rem; }
@media (max-width: 760px) {
  .fuss__innen { grid-template-columns: auto minmax(0, 1fr); }
  .fuss__links, .fuss__klein { grid-column: 2; }
}

/* The points show up once the strands are drawn. */
@media (prefers-reduced-motion: no-preference) {
  .stroeme__punkte { opacity: 0; animation: auftauchen .5s ease 1.7s forwards; }
}

/* ---------- Formular für den Beta-Test ---------- */
.formular { display: grid; gap: 14px; margin-top: 8px; max-width: 30rem; }
.formular__feld { display: grid; gap: 4px; }
.formular label { font-weight: 600; font-size: .9375rem; }
.formular__frei { font-weight: 400; opacity: .85; }
.formular input, .formular textarea {
  font: inherit; font-size: 1rem; color: var(--neutral-900); background: var(--neutral-0);
  border: 1px solid var(--petrol-200); border-radius: var(--radius-sm); padding: 10px 12px; width: 100%;
}
.formular textarea { resize: vertical; min-height: 88px; }
.formular input:focus-visible, .formular textarea:focus-visible { outline: 3px solid var(--amber-300); outline-offset: 2px; }
.formular__falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular__hinweis { font-size: .875rem; margin: 0; }
.formular__hinweis a { color: inherit; }
.formular button { justify-self: start; border: 0; cursor: pointer; font: inherit; }

/* ---------- Antwortseite des Formulars ---------- */
.antwort { max-width: 40rem; margin: 0 auto; padding: clamp(64px, 10vw, 120px) var(--rand); }
.antwort h1 { font-family: var(--schrift-titel); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.1; margin: 0 0 .6em; }
.antwort ul { padding-left: 1.2em; }

/* ---------- Impressum und Datenschutz ---------- */
.rechtstext { max-width: 46rem; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--rand) clamp(64px, 9vw, 112px); }
.rechtstext h1 { font-family: var(--schrift-titel); font-weight: 600; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); line-height: 1.05; margin: 0 0 .7em; }
.rechtstext h2 { font-size: 1.125rem; margin: 2em 0 .5em; }
.rechtstext p, .rechtstext li { max-width: 40rem; }
.rechtstext ul { padding-left: 1.2em; }
.rechtstext li + li { margin-top: .4em; }
.rechtstext__stand { color: var(--text-leise); margin-top: 2.5em; }

