/* ==========================================================================
   Mempool-Secure – grafik.css
   Ergänzt style.css (wird direkt danach geladen). Kein Framework, keine
   externen Anfragen. Alles Bildhafte ist selbst gebaut (Canvas, SVG, CSS).

   INHALT
   1. Kachelfarben (eigene Palette aus Petrol und Kupfer, hell/dunkel)
   2. Mempool-Hintergrund: Canvas-Ebenen (von grafik.js eingehängt)
   3. Kopfbereich: Hero und Seitenkopf mit Bühne für den Mempool
   4. Flächen abstimmen (Hintergrund scheint dezent durch)
   5. Allgemeine Auffrischung, Einblenden beim Scrollen
   6. Inline-Grafiken: .grafik-platz und Zeichenklassen für die SVG-Bausteine
   7. Bausteine: Erklärgrafik, Krypto-Verlauf, Stationen
   8. Kästen: .bekommen, .preis-karte, #kein-geld
   9. Bewegung (nur ohne „weniger Bewegung“), Druck
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Kachelfarben
   -------------------------------------------------------------------------- */
:root {
  /* Rückfall ohne light-dark(): helle Werte */
  --kachel-1: #5fa3ac;   /* Petrol */
  --kachel-2: #2c7b88;   /* Tiefpetrol */
  --kachel-3: #d6935c;   /* Kupfer */
  --kachel-4: #b96f41;   /* Rost */
  --kachel-5: #8db591;   /* Salbei */
  --kachel-6: #d3bd80;   /* Sand */
  --kachel-7: #8aa2cc;   /* Schiefer */
  --kachel-8: #b295be;   /* Malve */

  /* Höhe der Bühne (Mempool groß) am unteren Rand des Kopfbereichs */
  --buehne-hero: clamp(10.5rem, 7.6rem + 11vw, 15rem);
  --buehne-kopf: clamp(8rem, 6.6rem + 5.5vw, 10.5rem);
}
@supports (color: light-dark(#fff, #000)) {
  :root {
    --kachel-1: light-dark(#5fa3ac, #6fc3cc);
    --kachel-2: light-dark(#2c7b88, #2e8c9a);
    --kachel-3: light-dark(#d6935c, #eba566);
    --kachel-4: light-dark(#b96f41, #c8703a);
    --kachel-5: light-dark(#8db591, #8fc49d);
    --kachel-6: light-dark(#d3bd80, #e6d49c);
    --kachel-7: light-dark(#8aa2cc, #7c9fd6);
    --kachel-8: light-dark(#b295be, #b693c9);
  }
}

/* Ohne JavaScript gibt es keinen Umschalter: dann gilt die Voreinstellung dunkel.
   Mit JavaScript setzt das Inline-Skript im <head> data-theme (siehe LIESMICH). */
html:not(.js):not([data-theme]) { color-scheme: dark; }

/* --------------------------------------------------------------------------
   2. Mempool-Hintergrund (Canvas-Ebenen aus grafik.js)
   .mps-grund  – feste Ebene hinter der ganzen Seite, dezent
   .mps-buehne – Ebene im Kopfbereich (.hero / .seitenkopf), groß und deutlich
   -------------------------------------------------------------------------- */
.mps-grund {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 100vw;
  block-size: 100vh;
  block-size: 100lvh;        /* größte Höhe: kein Neuzeichnen, wenn die Adressleiste einklappt */
  max-inline-size: none;
  z-index: -1;
  pointer-events: none;
}
.mps-buehne {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
  z-index: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. Kopfbereich
   -------------------------------------------------------------------------- */
.hero, .seitenkopf {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-block-end: 1px solid var(--linie);
  background:
    radial-gradient(110% 85% at 72% 100%, color-mix(in srgb, var(--akzent) 13%, transparent), transparent 64%),
    linear-gradient(to bottom, transparent 35%, color-mix(in srgb, var(--flaeche-2) 60%, transparent));
}
.hero > .huelle, .seitenkopf > .huelle { position: relative; z-index: 1; }

/* Platz für die Bühne. Fest reserviert, damit beim Laden nichts springt. */
.hero { padding-block-end: calc(var(--a-6) + var(--buehne-hero)); }
.seitenkopf { padding-block-end: calc(var(--a-5) + var(--buehne-kopf)); }
.hero + .abschnitt:not(.abschnitt--getoent) { padding-block-start: var(--a-abschnitt); }

/* Textblöcke im Seitenkopf nur so breit wie ihr Inhalt: rechts bleibt Raum für Kacheln */
.seitenkopf .huelle > * { justify-self: start; }

/* Ohne JavaScript: ruhiges Standbild als Rückfall (eigene Zeichnung, dunkle Farbwelt) */
html:not(.js) :is(.hero, .seitenkopf)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: .75rem;
  block-size: calc(var(--buehne-kopf) - 1.5rem);
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 120'%3E%3Cg%3E%3Crect x='20' y='14' width='28' height='28' rx='4' fill='%236fc3cc'/%3E%3Crect x='70' y='52' width='44' height='44' rx='5' fill='%23eba566'/%3E%3Crect x='130' y='20' width='14' height='14' rx='3' fill='%238fc49d'/%3E%3Crect x='160' y='44' width='28' height='28' rx='4' fill='%237c9fd6'/%3E%3Crect x='204' y='84' width='14' height='14' rx='3' fill='%23e6d49c'/%3E%3Crect x='226' y='16' width='44' height='44' rx='5' fill='%232e8c9a'/%3E%3Crect x='286' y='70' width='28' height='28' rx='4' fill='%23b693c9'/%3E%3Crect x='330' y='30' width='14' height='14' rx='3' fill='%23c8703a'/%3E%3Crect x='352' y='58' width='14' height='14' rx='3' fill='%236fc3cc'/%3E%3C/g%3E%3Crect x='400' y='12' width='96' height='96' rx='8' fill='none' stroke='%236f8088' stroke-width='2' stroke-dasharray='6 6'/%3E%3Crect x='406' y='70' width='44' height='32' rx='4' fill='%232e8c9a'/%3E%3Crect x='456' y='70' width='34' height='32' rx='4' fill='%23eba566'/%3E%3Crect x='406' y='46' width='20' height='18' rx='3' fill='%238fc49d'/%3E%3Crect x='432' y='46' width='30' height='18' rx='3' fill='%237c9fd6'/%3E%3Cpath d='M496 60h40M632 60h40M768 60h40' stroke='%236f8088' stroke-width='2'/%3E%3Cg fill='%2316323a' stroke='%236fc3cc' stroke-width='2'%3E%3Crect x='536' y='12' width='96' height='96' rx='8'/%3E%3Crect x='672' y='12' width='96' height='96' rx='8' opacity='.75'/%3E%3Crect x='808' y='12' width='96' height='96' rx='8' opacity='.45'/%3E%3C/g%3E%3Cpath d='M566 61l12 12 24-26M702 61l12 12 24-26' fill='none' stroke='%236fc3cc' stroke-width='5'/%3E%3C/svg%3E") center / auto 100% no-repeat;
  opacity: .9;
}

/* --------------------------------------------------------------------------
   4. Flächen abstimmen: der Hintergrund scheint dezent durch.
   Karten, Hinweise, Formularflächen und Tabellen bleiben deckend.
   -------------------------------------------------------------------------- */
.abschnitt--getoent { background: color-mix(in srgb, var(--flaeche-2) 80%, transparent); }
.fuss { background: color-mix(in srgb, var(--flaeche-2) 86%, transparent); }
.cta-band { background: color-mix(in srgb, var(--band-grund) 93%, transparent); }
.schritt::before, .abschnitt--getoent .schritt::before { background: var(--grund); }
.schritt:last-child::before, .abschnitt--getoent .schritt:last-child::before { background: var(--akzent); }

/* Fragen und Leistungszeilen stehen frei auf dem Grund: leichter Schleier für ruhigen Lesegrund */
.frage, .leistung-text, .rechtstext, .textblock, .abschnitt-kopf, .bestaetigung, .fehlerseite, .schritte--lang .schritt > p {
  background: color-mix(in srgb, var(--grund) 68%, transparent);
  box-shadow: 0 0 0 .5rem color-mix(in srgb, var(--grund) 68%, transparent);
  border-radius: 2px;
}
.frage { box-shadow: none; border-radius: 0; }
.abschnitt--getoent :is(.textblock, .abschnitt-kopf, .rechtstext, .leistung-text) { background: none; box-shadow: none; }
.cta-band :is(.textblock, .abschnitt-kopf), :is(.hero, .seitenkopf) :is(.textblock, .abschnitt-kopf) { background: none; box-shadow: none; }

/* --------------------------------------------------------------------------
   5. Allgemeine Auffrischung
   -------------------------------------------------------------------------- */
.karte, .person, .pruefkarte, .formular-schritt, .zusammenfassung { box-shadow: var(--schatten); }
.karte { transition: border-color .2s, translate .2s; }
.pruefkarte { border-block-start: 3px solid var(--akzent); }

/* Einblenden beim Scrollen: rein in CSS (scroll-gesteuert). Browser ohne
   Unterstützung zeigen alles sofort; ohne JavaScript ebenso. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .abschnitt .abschnitt-kopf,
    .abschnitt .raster > *,
    .abschnitt .schritt,
    .abschnitt .textblock,
    .abschnitt .hinweis--gross,
    .abschnitt .grafik-platz {
      animation: mps-einblenden linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 9rem;
    }
  }
}
@keyframes mps-einblenden {
  from { opacity: 0; translate: 0 1rem; }
  to   { opacity: 1; translate: 0 0; }
}

/* --------------------------------------------------------------------------
   6. Inline-Grafiken
   <div class="grafik-platz" data-grafik="NAME"> … Baustein … </div>
   -------------------------------------------------------------------------- */
.grafik-platz {
  display: block;
  container: grafik / inline-size;
  margin: 0;
}
.grafik-platz > svg { display: block; inline-size: 100%; block-size: auto; }

/* kleine Bilder (160 × 120): fester Platz, kein Springen */
.grafik-platz:is([data-grafik="keine-garantie"], [data-grafik="kein-zugriff"], [data-grafik="kein-ersatz"],
                 [data-grafik="leistungen"], [data-grafik="preismodell"], [data-grafik="danke"]) {
  inline-size: min(100%, 11rem);
  aspect-ratio: 4 / 3;
}
.grafik-platz--gross:is([data-grafik="leistungen"], [data-grafik="preismodell"], [data-grafik="danke"],
                        [data-grafik="keine-garantie"], [data-grafik="kein-zugriff"], [data-grafik="kein-ersatz"]) {
  inline-size: min(100%, 17rem);
}
/* in Karten: Bild auf ruhiger, eingelassener Fläche über die ganze Kartenbreite */
:is(.karte, .preis-karte) > .grafik-platz {
  display: grid;
  place-items: center;
  inline-size: auto;
  aspect-ratio: auto;
  margin-block-end: var(--a-2);
  padding: var(--a-4);
  background: var(--grund);
  border: 1px solid var(--linie);
  border-radius: var(--r-2);
}
:is(.karte, .preis-karte) > .grafik-platz > svg { inline-size: min(100%, 12.5rem); }
/* Tafel: kleines Bild frei im Abschnitt, auf eigener ruhiger Fläche */
.grafik-platz.grafik-platz--tafel {
  display: grid;
  place-items: center;
  inline-size: 100%;
  max-inline-size: 20rem;
  aspect-ratio: auto;
  padding: var(--a-5);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--r-3);
  box-shadow: var(--schatten);
}
.grafik-platz--tafel > svg { inline-size: min(100%, 13rem); }
.leistung-kopf > .grafik-platz--tafel { margin-block-start: var(--a-3); }

/* Bild neben Text oder Hinweis: schmal untereinander, breit nebeneinander */
.grafik-neben { display: grid; gap: var(--a-5); align-items: center; }
.grafik-neben > .grafik-platz--tafel { justify-self: center; }
@container huelle (min-width: 46rem) {
  .grafik-neben { grid-template-columns: minmax(0, 1fr) minmax(11rem, 17rem); gap: var(--a-6); }
  .grafik-neben--links { grid-template-columns: minmax(11rem, 17rem) minmax(0, 1fr); }
}
/* Danke-Seite: Bild rechts neben dem Text */
@media (min-width: 64rem) {
  #danke > .huelle:has(> .grafik-platz--tafel) {
    display: grid;
    grid-template-columns: minmax(0, 46rem) minmax(0, 1fr);
    gap: var(--a-7);
    align-items: start;
  }
  #danke > .huelle > .grafik-platz--tafel { order: 2; justify-self: center; }
}
#danke .grafik-platz--tafel { margin-block-end: var(--a-5); }

/* große Bausteine: Mindesthöhe, solange der Platz noch leer ist */
.grafik-platz[data-grafik="mempool-erklaert"]:empty { min-block-size: 16rem; }
.grafik-platz[data-grafik="krypto-verlauf"]:empty { min-block-size: 13rem; }
.grafik-platz[data-grafik="ablauf"]:empty { min-block-size: 7rem; }
.abschnitt-kopf + .grafik-platz, .grafik-platz + .grafik-platz { margin-block-start: var(--a-6); }
.grafik-platz + :is(.raster, .schritte, .textblock) { margin-block-start: var(--a-7); }

/* Zeichenklassen: Farben kommen aus den Token, damit beide Themen stimmen */
.grafik-platz svg, .gz {
  fill: none;
  stroke: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.gf-flaeche   { fill: var(--flaeche); }
.gf-grund     { fill: var(--grund); }
.gf-leise     { fill: var(--akzent-leise); }
.gf-akzent    { fill: var(--akzent); }
.gf-aktext    { fill: var(--akzent-text); }
.gf-siegel    { fill: var(--siegel); }
.gf-siegel-leise { fill: var(--siegel-leise); }
.gf-linie     { fill: var(--linie); }
.gf-stark     { fill: var(--linie-stark); }
.gf-text      { fill: var(--text); }
.gs-linie     { stroke: var(--linie); }
.gs-stark     { stroke: var(--linie-stark); }
.gs-text      { stroke: var(--text-leise); }
.gs-akzent    { stroke: var(--akzent); }
.gs-aktext    { stroke: var(--akzent-text); }
.gs-siegel    { stroke: var(--siegel); }
.gs-strich    { stroke-dasharray: 5 6; }
.gs-dick      { stroke-width: 4; }
.gs-fein      { stroke-width: 1.75; }
.gf-k1 { fill: var(--kachel-1); } .gf-k2 { fill: var(--kachel-2); }
.gf-k3 { fill: var(--kachel-3); } .gf-k4 { fill: var(--kachel-4); }
.gf-k5 { fill: var(--kachel-5); } .gf-k6 { fill: var(--kachel-6); }
.gf-k7 { fill: var(--kachel-7); } .gf-k8 { fill: var(--kachel-8); }
.g-schrift {
  font-family: var(--schrift);
  font-weight: 800;
  letter-spacing: -.01em;
  stroke: none;
}
.g-mono { font-family: var(--schrift-mono); font-weight: 700; stroke: none; }
.g-frei { paint-order: stroke; stroke: var(--akzent-leise); stroke-width: 5; stroke-linejoin: round; }

/* Etikett „Beispiel“ */
.beispiel-marke {
  display: inline-block;
  padding: .1em .5em;
  border: 1.5px dashed var(--siegel);
  border-radius: var(--r-1);
  background: var(--siegel-leise);
  color: var(--text);
  font-family: var(--schrift-mono);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   7a. Erklärgrafik „Was ist der Mempool?“ (data-grafik="mempool-erklaert")
   -------------------------------------------------------------------------- */
.erklaer {
  display: grid;
  gap: var(--a-3);
  padding: var(--a-5);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--r-3);
  box-shadow: var(--schatten);
}
.erklaer-teil {
  display: grid;
  grid-template-columns: minmax(6.5rem, 40%) minmax(0, 1fr);
  gap: var(--a-4);
  align-items: center;
}
.erklaer-teil svg { display: block; inline-size: 100%; block-size: auto; }
.erklaer-teil p { font-size: var(--gr-0); line-height: 1.45; color: var(--text-leise); }
.erklaer-teil strong { display: block; color: var(--text); font-size: var(--gr-1); letter-spacing: -.01em; }
.erklaer-nr {
  display: inline-block;
  margin-block-end: var(--a-1);
  font-family: var(--schrift-mono);
  font-size: var(--gr-klein);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--siegel);
}
.erklaer-pfeil {
  justify-self: start;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  margin-inline-start: calc(20% - .75rem);
  background: var(--linie-stark);
  mask: var(--bild-pfeil) center / contain no-repeat;
  rotate: 90deg;
}
@container grafik (min-width: 44rem) {
  .erklaer {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: var(--a-4);
    align-items: start;
    padding: var(--a-6);
  }
  .erklaer-teil { grid-template-columns: minmax(0, 1fr); gap: var(--a-4); align-items: start; }
  .erklaer-teil svg { max-inline-size: 17rem; margin-inline: auto; }
  .erklaer-pfeil { rotate: none; margin: 0; align-self: start; margin-block-start: clamp(2.5rem, 7cqi, 4.5rem); }
}

/* --------------------------------------------------------------------------
   7b. Krypto-Verlauf (data-grafik="krypto-verlauf")
   Schmal: senkrecht. Breit (ab 60rem Platz): waagerecht.
   -------------------------------------------------------------------------- */
.verlauf {
  display: grid;
  gap: var(--a-4);
  margin: 0;
  padding: var(--a-5);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--r-3);
  box-shadow: var(--schatten);
}
.verlauf-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: var(--a-2) var(--a-3); }
.verlauf-kopf p { font-weight: 750; letter-spacing: -.01em; }
.verlauf-kette { display: grid; margin: 0; padding: 0; list-style: none; }
.verlauf-station {
  display: grid;
  grid-template-columns: var(--block) minmax(0, 1fr);
  gap: 0 var(--a-3);
  align-items: center;
  padding: var(--a-3);
  background: var(--grund);
  border: 1.5px solid var(--linie-stark);
  border-radius: var(--r-2);
}
.verlauf-station--ziel { border-color: var(--siegel); border-style: dashed; }
.verlauf-bild {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  inline-size: var(--block);
  block-size: var(--block);
  border-radius: var(--r-2);
  background: var(--akzent-leise);
}
.verlauf-station--ziel .verlauf-bild { background: var(--siegel-leise); }
.verlauf-bild svg { inline-size: 1.75rem; block-size: 1.75rem; }
.verlauf-name { font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.verlauf-code {
  font-family: var(--schrift-mono);
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--text-leise);
  overflow-wrap: anywhere;
}
.verlauf-code small {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--siegel);
}
.verlauf-weg {
  position: relative;
  display: grid;
  grid-template-columns: var(--block) minmax(0, 1fr);
  gap: 0 var(--a-3);
  align-items: center;
  min-block-size: 4.25rem;
  padding-inline: var(--a-3);
}
.verlauf-linie {
  position: relative;
  justify-self: center;
  inline-size: 2px;
  block-size: 100%;
  background: var(--linie-stark);
  overflow: hidden;
  overflow: clip;
  overflow-clip-margin: 6px;
}
.verlauf-linie::after {           /* Pfeilspitze */
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 50%;
  inline-size: 9px;
  block-size: 9px;
  border-inline-end: 2px solid var(--linie-stark);
  border-block-end: 2px solid var(--linie-stark);
  translate: -50% -1px;
  rotate: 45deg;
}
.verlauf-linie i {                /* wandernder Impuls */
  position: absolute;
  inset-inline-start: -4px;
  inset-block-start: 38%;
  inline-size: 10px;
  block-size: 10px;
  border-radius: 3px;
  background: var(--siegel);
}
@container grafik (min-width: 60rem) {
  .verlauf { padding: var(--a-6); gap: var(--a-5); }
  .verlauf-kette {
    grid-template-columns: minmax(0, 1fr) minmax(9.5rem, .8fr) minmax(0, 1fr) minmax(9.5rem, .8fr) minmax(0, 1fr) minmax(9.5rem, .8fr) minmax(0, 1fr);
    align-items: center;
  }
  .verlauf-station { grid-template-columns: minmax(0, 1fr); gap: var(--a-1); align-content: start; align-self: stretch; padding: var(--a-4) var(--a-3); }
  .verlauf-bild { grid-row: auto; margin-block-end: var(--a-2); }
  .verlauf-weg {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: var(--a-2);
    min-block-size: 0;
    padding: 0 var(--a-2);
    text-align: center;
  }
  .verlauf-weg .verlauf-code { order: -1; }
  .verlauf-linie { inline-size: 100%; block-size: 2px; }
  .verlauf-linie::after { inset-block-end: auto; inset-block-start: 50%; inset-inline-start: auto; inset-inline-end: 0; translate: -1px -50%; rotate: -45deg; }
  .verlauf-linie i { inset-block-start: -4px; inset-inline-start: 38%; }
}

/* --------------------------------------------------------------------------
   7c. Stationen (data-grafik="ablauf")
   -------------------------------------------------------------------------- */
.stationen {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--a-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stationen::before {              /* Verbindungslinie */
  content: "";
  position: absolute;
  inset-block-start: calc(2rem - 1px);
  inset-inline: 12.5%;
  block-size: 2px;
  background: var(--linie-stark);
}
.stationen-impuls {
  position: absolute;
  inset-block-start: calc(2rem - 5px);
  inset-inline-start: 12.5%;
  inline-size: 75%;
  block-size: 10px;
  pointer-events: none;
}
.stationen-impuls i {
  position: absolute;
  inset-inline-start: 62%;
  inline-size: 10px;
  block-size: 10px;
  margin-inline-start: -5px;
  border-radius: 3px;
  background: var(--siegel);
}
.station { position: relative; display: grid; gap: var(--a-2); justify-items: center; text-align: center; }
.station-bild {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  inline-size: 4rem;
  block-size: 4rem;
  border: 2px solid var(--akzent);
  border-radius: var(--r-2);
  background: var(--flaeche);
}
.station:last-child .station-bild { background: var(--akzent); }
.station-bild svg { inline-size: 2.25rem; block-size: 2.25rem; }
.station-name {
  font-size: var(--gr-klein);
  font-weight: 750;
  line-height: 1.3;
  hyphens: auto;
  color: var(--text);
}
.station-name small {
  display: block;
  font-family: var(--schrift-mono);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--siegel);
}
@container grafik (max-width: 22rem) {
  .stationen { gap: var(--a-1); }
  .station-name { font-size: .75rem; letter-spacing: -.02em; }
}
@container grafik (min-width: 36rem) {
  .station-bild { inline-size: 5rem; block-size: 5rem; }
  .station-bild svg { inline-size: 2.75rem; block-size: 2.75rem; }
  .stationen::before { inset-block-start: calc(2.5rem - 1px); }
  .stationen-impuls { inset-block-start: calc(2.5rem - 5px); }
  .station-name { font-size: var(--gr-0); }
}

/* --------------------------------------------------------------------------
   8. Kästen
   -------------------------------------------------------------------------- */

/* „Was Sie bekommen“ in den Ablauf-Schritten */
.bekommen {
  display: grid;
  gap: var(--a-1);
  margin-block-start: var(--a-2);
  padding: var(--a-3) var(--a-4) var(--a-4);
  background: var(--akzent-leise);
  border: 1.5px solid color-mix(in srgb, var(--akzent) 45%, transparent);
  border-radius: var(--r-2);
  color: var(--text);
}
.bekommen > * + * { margin-block-start: 0; }
.bekommen-titel {
  display: flex;
  align-items: center;
  gap: .55em;
  font-family: var(--schrift-mono);
  font-size: var(--gr-klein);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--akzent);
}
.bekommen-titel::before {         /* kleines Symbol: Block mit Haken */
  content: "";
  flex: none;
  inline-size: 1.125rem;
  block-size: 1.125rem;
  border-radius: 3px;
  background: var(--akzent);
  mask: var(--bild-haken) center / 100% no-repeat, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.bekommen p, .schritt .bekommen p, .bekommen li { color: var(--text); }
.bekommen ul { padding-inline-start: 1.2em; list-style: square; }
.bekommen li::marker { color: var(--akzent); }
.bekommen strong { color: inherit; }

/* Preiskarten */
.preis-karte {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--a-3);
  padding: var(--a-5);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-block-start: 3px solid var(--akzent);
  border-radius: var(--r-3);
  box-shadow: var(--schatten);
}
.preis-karte p { color: var(--text-leise); }
.preis-karte ul { padding-inline-start: 1.2em; list-style: square; color: var(--text-leise); }
.preis-karte li + li { margin-block-start: var(--a-1); }
.preis-karte li::marker { color: var(--siegel); }
.preis-zeile, .preis-karte p.preis-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--a-1) var(--a-3);
  padding-block: var(--a-3);
  border-block: 1px dashed var(--linie-stark);
  color: var(--text);
  font-size: var(--gr-2);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.preis-zeile .platzhalter { font-size: .85em; font-weight: 700; }
.preis-zeile small { font-size: var(--gr-0); font-weight: 600; letter-spacing: 0; color: var(--text-leise); }

/* Hinweis-Kästen „Wir nehmen kein Geld entgegen“ (leistungen.html #kein-geld, index.html #kein-geld-kurz):
   kräftiger Rahmen in der Farbe des Hinweises, sonst unverändert */
#kein-geld, #kein-geld-kurz {
  border: 2px solid var(--hinweis-farbe);
  border-inline-start-width: 6px;
  border-radius: var(--r-2) var(--r-3) var(--r-3) var(--r-2);
  box-shadow: var(--schatten);
}

/* Abstände zwischen Bausteinen, die direkt aufeinander folgen (statt Inline-Stilen in den Seiten) */
.raster + .hinweis, .hinweis + .raster, .grafik-neben + .raster, .grafik-neben + .hinweis { margin-block-start: var(--a-6); }
.datenliste + .raster { margin-block-start: var(--a-7); }
.hinweis + .textlink { margin-block-start: var(--a-5); }
.preis-karte > .preis-zeile { margin-block-start: auto; }
.textblock + .grafik-platz, .grafik-platz + .textblock { margin-block-start: var(--a-6); }
.grafik-platz + .schritte { margin-block-start: var(--a-7); }

/* --------------------------------------------------------------------------
   9. Bewegung der Inline-Grafiken. Grundzustand ist immer das fertige Bild;
   bewegt wird nur, wenn keine reduzierte Bewegung gewünscht ist.
   -------------------------------------------------------------------------- */
.ani-waage, .ani-lupe, .ani-buegel, .ani-schweben, .ani-halo, .ani-fallen, .ani-schub {
  transform-box: view-box;
}
@media (prefers-reduced-motion: no-preference) {
  .ani-strich { stroke-dasharray: 1; animation: mps-strich 9s ease-in-out infinite; }
  .ani-schweben { animation: mps-schweben 7s ease-in-out infinite alternate; }
  .ani-buegel { animation: mps-buegel 7s ease-in-out infinite; }
  .ani-waage { transform-origin: 118px 36px; animation: mps-waage 8s ease-in-out infinite alternate; }
  .ani-fluss { animation: mps-fluss 2.4s linear infinite; }
  .ani-schub { animation: mps-schub 6s ease-in-out infinite; }
  .ani-lupe { animation: mps-lupe 11s ease-in-out infinite alternate; }
  .ani-halo { transform-origin: 110px 60px; animation: mps-halo 5s ease-in-out infinite; }
  .ani-fallen { animation: mps-fallen 7s ease-in-out infinite; }
  .ani-puls { animation: mps-puls 5s ease-in-out infinite; }

  .verlauf-linie i { animation: mps-impuls-y 9s linear infinite both; }
  .verlauf-weg:nth-of-type(4) .verlauf-linie i { animation-delay: 3s; }
  .verlauf-weg:nth-of-type(6) .verlauf-linie i { animation-delay: 6s; }
  .stationen-impuls i { animation: mps-stationen 12s ease-in-out infinite; }
  @container grafik (min-width: 60rem) {
    .verlauf-linie i { animation-name: mps-impuls-x; }
  }
}
@keyframes mps-strich {
  0%   { stroke-dashoffset: 1; opacity: 1; }
  14%  { stroke-dashoffset: 0; }
  90%  { stroke-dashoffset: 0; opacity: 1; }
  97%  { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes mps-schweben { from { translate: 0 -2.5px; } to { translate: 0 2.5px; } }
@keyframes mps-buegel { 0%, 70%, 100% { translate: 0 0; } 80%, 88% { translate: 0 -4px; } }
@keyframes mps-waage { from { rotate: -3deg; } to { rotate: 3deg; } }
@keyframes mps-fluss { to { stroke-dashoffset: -22; } }
@keyframes mps-schub { 0%, 100% { translate: 0 0; } 50% { translate: 5px 0; } }
@keyframes mps-lupe { from { translate: -40px 0; } to { translate: 26px 0; } }
@keyframes mps-halo { 0%, 100% { opacity: .15; scale: .96; } 50% { opacity: .7; scale: 1.03; } }
@keyframes mps-fallen {
  0%   { translate: -34px -46px; opacity: 0; }
  12%  { translate: -34px -46px; opacity: 1; }
  45%, 88% { translate: 0 0; opacity: 1; }
  100% { translate: 0 0; opacity: 0; }
}
@keyframes mps-puls { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes mps-impuls-y {
  0%   { inset-block-start: 0%; opacity: 0; }
  3%   { opacity: 1; }
  30%  { inset-block-start: calc(100% - 10px); opacity: 1; }
  33%, 100% { inset-block-start: calc(100% - 10px); opacity: 0; }
}
@keyframes mps-impuls-x {
  0%   { inset-inline-start: 0%; opacity: 0; }
  3%   { opacity: 1; }
  30%  { inset-inline-start: calc(100% - 10px); opacity: 1; }
  33%, 100% { inset-inline-start: calc(100% - 10px); opacity: 0; }
}
@keyframes mps-stationen {
  0%   { inset-inline-start: 0%; opacity: 0; }
  4%   { opacity: 1; }
  22%, 30% { inset-inline-start: 33.3%; }
  48%, 56% { inset-inline-start: 66.6%; }
  76%, 90% { inset-inline-start: 100%; opacity: 1; }
  96%, 100% { inset-inline-start: 100%; opacity: 0; }
}

/* --------------------------------------------------------------------------
   Druck: kein Hintergrund, helles Schema, keine Bewegung
   -------------------------------------------------------------------------- */
@media print {
  :root, :root[data-theme], html:not(.js):not([data-theme]) { color-scheme: light !important; }
  .mps-grund, .mps-buehne { display: none !important; }
  .hero, .seitenkopf { background: none; padding-block-end: var(--a-6); }
  html:not(.js) :is(.hero, .seitenkopf)::after { display: none; }
  .abschnitt .abschnitt-kopf, .abschnitt .raster > *, .abschnitt .schritt, .abschnitt .textblock,
  .abschnitt .hinweis--gross, .abschnitt .grafik-platz { animation: none !important; opacity: 1 !important; translate: none !important; }
  .frage, .leistung-text, .rechtstext, .textblock, .abschnitt-kopf { background: none; box-shadow: none; }
}
