/* Sparkurve.
 *
 * Mobil zuerst, und zwar nicht als Floskel: rund vier Fuenftel des Verkehrs
 * kommt vom Telefon, und dort liegt die Absprungrate ohnehin zwoelf Punkte
 * hoeher als am Schreibtisch. Jede Regel hier gilt zuerst fuer 390 px; die
 * Medienabfragen bauen nach oben aus, nie zurueck.
 *
 * Kein Javascript, nirgends. Aufklappen macht <details>, Sprungmarken machen
 * Anker, Hervorhebungen macht :hover und :focus-visible.
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--akzent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
h1 { font-size: clamp(30px, 7.2vw, 46px); margin: 0 0 12px; }
h2 { font-size: clamp(22px, 4.6vw, 30px); margin: 0 0 12px; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 16px; }

.nur-vorleser {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 50;
  background: var(--akzent); color: #fff; padding: 10px 16px; border-radius: var(--r-btn);
  text-decoration: none; font-weight: 600;
}
.skip:focus { left: 8px; }

/* --- Bahn: eine Breite fuer alles, damit nichts springt --- */
.hero, main > *, .fuss-innen, .kopf-innen, .krumen {
  max-width: 1080px; margin-left: auto; margin-right: auto;
  padding-left: var(--rand); padding-right: var(--rand);
}
main > * { margin-top: var(--block); margin-bottom: var(--block); }

/* --- Kopf --------------------------------------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: var(--papier);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  display: flex; align-items: center; gap: 16px;
  min-height: 56px; padding-top: 8px; padding-bottom: 8px;
}
.marke {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--akzent); text-decoration: none; flex: none;
}
.marke-zeichen { width: 28px; height: 20px; }
.marke-wort {
  font-family: var(--f-marke); font-weight: 800; font-size: 19px;
  letter-spacing: -.03em; color: var(--text);
}
/* Waagerecht scrollbare Chipreihe statt Aufklappmenue: sichtbare Links
   kosten kein Antippen und werden auch gecrawlt. */
.bereichsnav {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin-left: auto; -webkit-overflow-scrolling: touch;
  /* Verlauf am rechten Rand: ohne ihn sieht die Reihe auf dem Telefon aus,
     als waeren es nur zwei Bereiche. */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
}
@media (min-width: 980px) {
  .bereichsnav { -webkit-mask-image: none; mask-image: none; }
}
.bereichsnav::-webkit-scrollbar { display: none; }
.bereichsnav a {
  flex: none; padding: 7px 12px; border-radius: var(--r-chip);
  font-size: 14px; font-weight: 600; color: var(--text-2);
  text-decoration: none; white-space: nowrap;
}
.bereichsnav a:hover { background: var(--chip-flaeche); color: var(--text); }
.bereichsnav a[aria-current="page"] { background: var(--akzent); color: #fff; }
/* Der aktive Bereich zuerst: sonst steht er auf dem Telefon ausserhalb des
   sichtbaren Ausschnitts und wird ausgerechnet vom Verlauf verdeckt. */
.bereichsnav a[aria-current="page"] { order: -1; }
@media (min-width: 980px) { .bereichsnav a[aria-current="page"] { order: 0; } }

/* --- Brotkrumen --------------------------------------------------------- */
.krumen {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 13px; color: var(--text-3);
  padding-top: 14px; padding-bottom: 2px;
  max-width: 1080px;
}
.krumen a { color: var(--text-3); text-decoration: none; }
.krumen a:hover { color: var(--akzent); text-decoration: underline; }
.krumen [aria-current] { color: var(--text-2); font-weight: 600; }

/* --- Hero --------------------------------------------------------------- */
.hero { padding-top: 20px; padding-bottom: 4px; display: grid; gap: 20px; }
.chip-rubrik {
  display: inline-block; margin-bottom: 12px; padding: 5px 11px;
  background: var(--chip-flaeche); border-radius: var(--r-chip);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-auf-flaeche);
}
.lead { font-size: clamp(17px, 3.4vw, 20px); color: var(--text-2); margin: 0; max-width: 62ch; }

/* --- Antwortkarte: das Leitelement -------------------------------------- */
.antwort {
  background: var(--dunkelflaeche); color: var(--auf-dunkel-text);
  border-radius: var(--r-gross); padding: 22px var(--karte-innen) 24px;
  box-shadow: var(--sch-antwort);
}
.antwort .vorzeile {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--auf-dunkel-meta); margin: 0 0 10px;
}
.antwort-satz {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(24px, 5.6vw, 34px); line-height: 1.14; letter-spacing: -.03em;
  margin: 0 0 8px; color: #fff;
}
.antwort .differenz {
  font-family: var(--f-mono); font-size: 13px; color: var(--auf-dunkel-lead);
  margin: 0 0 10px;
}
.antwort .erklaerung { font-size: 15px; color: var(--auf-dunkel-lead); margin: 0; }
.antwort .erklaerung + * { margin-top: 18px; }
.nicht-liste { list-style: none; margin: 0 0 14px; padding: 0; }
.nicht-liste li {
  padding: 8px 0 8px 26px; position: relative;
  border-bottom: 1px solid var(--auf-dunkel-linie); font-size: 15px;
}
.nicht-liste li:last-child { border-bottom: 0; }
.nicht-liste li::before {
  content: "×"; position: absolute; left: 4px; top: 6px;
  color: var(--auf-dunkel-meta); font-size: 17px; font-weight: 700;
}

/* Zustandschip. Auf dunklem Grund gelten eigene Werte -- ein Chip in
   Akzentblau auf der Dunkelflaeche waere praktisch unlesbar. Das ist genau
   der Fehler, der bei den ersten Pins passiert ist. */
.zustand {
  display: inline-block; margin-bottom: 10px; padding: 5px 11px;
  border-radius: var(--r-chip); font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.antwort .zustand.gut { background: #D8F0DC; color: #14532C; }
.antwort .zustand.warten { background: var(--sand); color: #5A4A22; }
.antwort .zustand.unbekannt { background: #2C4160; color: var(--auf-dunkel-text); }
.karte .zustand.gut { background: #D8F0DC; color: #14532C; }
.karte .zustand.warten { background: var(--sand); color: #5A4A22; }
.karte .zustand.unbekannt { background: var(--chip-flaeche); color: var(--text-auf-flaeche); }

/* --- Preiskurve --------------------------------------------------------- */
.kurve {
  display: block; width: 100%; height: 150px;
  background: rgba(255, 255, 255, .06); border-radius: var(--r-karte);
}
.kurve .gitter { stroke: rgba(234, 240, 247, .18); stroke-width: 1; vector-effect: non-scaling-stroke; }
.kurve .flaeche { fill: rgba(126, 168, 224, .24); }
.kurve .linie {
  fill: none; stroke: #8FB6E8; stroke-width: 2.5; vector-effect: non-scaling-stroke;
  stroke-linejoin: round; stroke-linecap: round;
}
.kurve .marker-heute { fill: #fff; stroke: #16273F; stroke-width: 2; vector-effect: non-scaling-stroke; }
.kurve .marker-tief { fill: #9FE0B4; }
/* Auf hellem Grund kehren sich alle Werte um. Ein Akzentblau auf der
   Dunkelflaeche waere praktisch unsichtbar -- genau der Fehler, der bei den
   ersten Pins passiert ist. */
.karte .kurve, .mini .kurve, .anschluss .kurve { background: var(--kurven-flaeche); }
.karte .kurve .gitter, .mini .kurve .gitter { stroke: rgba(35, 64, 107, .12); }
.karte .kurve .flaeche, .mini .kurve .flaeche { fill: rgba(35, 64, 107, .14); }
.karte .kurve .linie, .mini .kurve .linie { stroke: var(--akzent); }
.karte .kurve .marker-heute, .mini .kurve .marker-heute { fill: var(--akzent); stroke: #fff; }
.karte .kurve .marker-tief { fill: #1E7A44; }
.kurve-klein { height: 32px; width: 84px; border-radius: 6px; }
.kurve-achse {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 11px; color: var(--auf-dunkel-meta);
  margin-top: 6px;
}
.karte .kurve-achse { color: var(--text-3); }
.kurve-leer {
  margin: 0; padding: 22px 16px; text-align: center;
  background: rgba(255, 255, 255, .06); border-radius: var(--r-karte);
  font-size: 13px; color: var(--auf-dunkel-meta); line-height: 1.5;
}
.karte .kurve-leer { background: var(--kurven-flaeche); color: var(--text-3); }

/* --- Monatsband: erklaert die Seite in einem Blick ----------------------- */
.band { margin: 0; }
.band-reihe { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.band-feld {
  display: flex; align-items: center; justify-content: center;
  height: 34px; border-radius: 6px;
  background: rgba(255, 255, 255, .10);
  font-family: var(--f-mono); font-size: 11px; color: var(--auf-dunkel-meta);
}
.band-feld.gut { background: #8FB6E8; color: #14273F; font-weight: 700; }
.band-feld.jetzt { box-shadow: inset 0 0 0 2px #fff; }
.band figcaption {
  margin-top: 10px; font-size: 13px; color: var(--auf-dunkel-lead); line-height: 1.5;
}
.band-ja { color: #B7E8C6; }
/* Auf hellem Grund (Bereichsseite, Startkacheln) kehrt sich alles um. */
.saison .band-feld, .verwandt-karte .band-feld { background: var(--chip-flaeche); color: var(--text-3); }
.saison .band-feld.gut, .verwandt-karte .band-feld.gut { background: var(--akzent); color: #fff; }
.saison .band-feld.jetzt, .verwandt-karte .band-feld.jetzt { box-shadow: inset 0 0 0 2px var(--text); }
.saison figcaption, .verwandt-karte figcaption { color: var(--text-2); }
.saison .band-ja, .verwandt-karte .band-ja { color: #14532C; }
.verwandt-karte .band { margin-top: 12px; }
.verwandt-karte .band-feld { height: 20px; font-size: 0; }
/* Die Kurzbeschriftung bleibt sichtbar. Gefaerbte Kaestchen ohne Erklaerung
   waeren Dekoration, und die hat auf einer Belegseite nichts verloren. */
.band-kurz figcaption {
  margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--text-2);
}

/* --- Reifegrad: die ehrlichste Zahl der Seite --------------------------- */
.reife {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-karte); padding: var(--karte-innen);
}
.reife-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.reife-titel { font-weight: 700; font-size: 14px; }
.reife-zahl { font-family: var(--f-mono); font-size: 13px; color: var(--text-3); }
.reife-bahn {
  height: 8px; background: var(--sand); border-radius: 99px; overflow: hidden; margin: 10px 0 12px;
}
.reife-fuellung { height: 100%; background: var(--akzent); border-radius: 99px; }
.reife p { margin: 0; font-size: 14px; color: var(--text-2); }

/* --- Inhaltsverzeichnis ------------------------------------------------- */
.ivz {
  background: var(--chip-flaeche); border-radius: var(--r-karte);
  padding: var(--karte-innen);
}
.ivz h2 {
  font-family: var(--f-text); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-auf-flaeche);
  margin: 0 0 10px;
}
.ivz ol { margin: 0; padding-left: 20px; }
.ivz li { margin-bottom: 6px; }
.ivz li::marker { color: var(--text-3); font-family: var(--f-mono); font-size: 13px; }
.ivz a { color: var(--text); text-decoration-color: var(--linie); }
.ivz a:hover { color: var(--akzent); }

/* --- Fliesstext --------------------------------------------------------- */
/* Die Textspalte bekommt KEINE eigene Breite. Sonst zentriert die
   auto-Marge der Bahn sie, und ihre linke Kante springt gegenueber allen
   anderen Bloecken nach innen. Begrenzt wird stattdessen die Zeilenlaenge
   der einzelnen Elemente. */
.text > *, .text > section > * { max-width: 68ch; }
.text-breit > *, .text-breit > section > * { max-width: 72ch; }
.text section + section { margin-top: 32px; }
.text h2 { margin-top: 0; scroll-margin-top: 76px; }
.text ul, .text ol { padding-left: 22px; }
.text li { margin-bottom: 8px; }

.kasten {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-left: 4px solid var(--akzent);
  border-radius: var(--r-karte); padding: var(--karte-innen); margin: 20px 0;
}
.kasten h3 { font-family: var(--f-text); font-size: 14px; letter-spacing: .02em; }
.kasten table { width: 100%; border-collapse: collapse; }
.kasten td { padding: 7px 0; border-bottom: 1px solid var(--linie-zart); font-size: 15px; }
.kasten tr:last-child td { border-bottom: 0; }
.kasten .zahl {
  text-align: right; font-family: var(--f-mono); font-size: 13px;
  color: var(--text-2); padding-left: 12px;
}

/* --- Werbehinweis: muss vor dem ersten Angebotslink stehen -------------- */
.hinweis {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--sand); border-radius: var(--r-karte); padding: 14px var(--karte-innen);
}
.hinweis-neutral { background: var(--chip-flaeche); }
.hinweis .label {
  flex: none; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--text); color: var(--papier); padding: 3px 7px; border-radius: 5px; margin-top: 2px;
}
.hinweis-neutral .label { background: var(--text-auf-flaeche); }
.hinweis p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* --- Vergleichstabelle -------------------------------------------------- */
.tabelle-huelle { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vergleich {
  width: 100%; min-width: 560px; border-collapse: collapse;
  background: var(--flaeche); border-radius: var(--r-karte); overflow: hidden;
  box-shadow: var(--sch-karte);
}
.vergleich caption {
  caption-side: bottom; text-align: left; padding-top: 10px;
  font-size: 12px; color: var(--text-3);
}
.vergleich th, .vergleich td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--linie-zart);
  font-size: 14px; vertical-align: middle;
}
.vergleich thead th {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-auf-flaeche); background: var(--chip-flaeche); border-bottom: 1px solid var(--linie);
}
.vergleich tbody tr:last-child th, .vergleich tbody tr:last-child td { border-bottom: 0; }
.vergleich tbody tr:hover { background: #FAF8F4; }
.vergleich tbody th { font-weight: 600; max-width: 260px; }
.vergleich .zahl { text-align: right; white-space: nowrap; font-family: var(--f-mono); }
.vergleich .zahl strong { font-size: 15px; display: block; }
.vergleich .mehr { font-size: 12px; color: var(--text-3); }
.vergleich .bestwert { font-size: 11px; color: #14532C; font-weight: 700; }
.vergleich .stand { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); white-space: nowrap; }
.vergleich .mini { width: 92px; }

/* --- Angebotskarten ----------------------------------------------------- */
.angebote { display: grid; gap: 16px; }
.karte {
  position: relative; background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-karte); padding: var(--karte-innen);
  box-shadow: var(--sch-karte);
}
.karte-leit { border-color: var(--akzent); border-width: 2px; }
.karte-fahne {
  position: absolute; top: -11px; left: var(--karte-innen);
  background: var(--akzent); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; padding: 4px 10px; border-radius: 99px;
}
.karte-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.karte-kopf h3 { margin: 0 0 6px; font-family: var(--f-text); font-size: 16px; font-weight: 700; }
.karte .zustand { margin: 0; flex: none; }
.karte-bild {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain;
  background: var(--kurven-flaeche); border-radius: var(--r-karte); margin: 12px 0;
}
.karte-kurve { margin: 12px 0; }
.karte-kurve .kurve { height: 110px; }
.karte-preis { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.karte-preis .preis {
  font-family: var(--f-display); font-weight: 700; font-size: 28px; letter-spacing: -.03em;
}
.karte-preis .bei { font-size: 14px; color: var(--text-3); }
.kennzahlen {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--linie-zart); border-radius: 10px; overflow: hidden; margin: 0 0 12px;
}
.kennzahlen > div { background: var(--flaeche); padding: 9px 11px; }
.kennzahlen dt { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.kennzahlen dd { margin: 2px 0 0; font-family: var(--f-mono); font-size: 14px; font-weight: 600; }
.kennzahlen-hell { background: var(--auf-dunkel-linie); margin-top: 14px; }
.kennzahlen-hell > div { background: #1D3252; }
.kennzahlen-hell dt { color: var(--auf-dunkel-meta); }
.kennzahlen-hell dd { color: #fff; }
.karte .stand { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); margin: 0 0 12px; }
.kein-link {
  margin: 0; padding: 11px 13px; background: var(--chip-flaeche);
  border-radius: var(--r-btn); font-size: 13px; color: var(--text-2);
}

/* --- Knoepfe: Beschriftung nennt Ziel und Anbieter, nie "hier klicken" --- */
.knopf, .knopf-klein {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--akzent); color: #fff; text-decoration: none; font-weight: 700;
  border-radius: var(--r-btn); text-align: center;
}
.knopf { width: 100%; min-height: 52px; padding: 13px 18px; font-size: 16px; flex-wrap: wrap; }
.knopf-klein { min-height: 40px; padding: 8px 14px; font-size: 13px; white-space: nowrap; }
.knopf:hover, .knopf-klein:hover { background: var(--akzent-gedrueckt); }
.knopf-meta { width: 100%; font-weight: 400; font-size: 13px; opacity: .85; }

/* --- Anschluss vom Ratgeber auf die Daten ------------------------------- */
.anschluss {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-karte); padding: var(--karte-innen);
}
.anschluss h2 { font-size: 20px; }
.anschluss p { font-size: 15px; color: var(--text-2); }
.anschluss .knopf { width: auto; }

/* --- Preisalarm --------------------------------------------------------- */
.alarm {
  background: var(--dunkelflaeche); color: var(--auf-dunkel-text);
  border-radius: var(--r-gross); padding: 24px var(--karte-innen);
}
.alarm h2 { color: #fff; font-size: 22px; }
.alarm-text p { color: var(--auf-dunkel-lead); font-size: 15px; margin-bottom: 18px; }
.alarm-form { display: grid; gap: 10px; }
.alarm-form input[type="email"] {
  width: 100%; min-height: 52px; padding: 13px 15px;
  border: 1px solid var(--auf-dunkel-linie); border-radius: var(--r-btn);
  background: #fff; color: var(--text); font-family: var(--f-text); font-size: 16px;
}
.alarm-form input::placeholder { color: var(--text-3); }
.alarm-form button {
  min-height: 52px; padding: 13px 20px; border: 0; border-radius: var(--r-btn);
  background: #8FB6E8; color: #14273F;
  font-family: var(--f-text); font-weight: 700; font-size: 16px; cursor: pointer;
}
.alarm-form button:hover { background: #A8C7EF; }
.alarm-klein { margin: 2px 0 0; font-size: 12px; color: var(--auf-dunkel-meta); line-height: 1.5; }

/* --- Fragen ------------------------------------------------------------- */
.faq details {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-karte); margin-bottom: 8px; overflow: hidden;
}
.faq summary {
  padding: 15px var(--karte-innen); cursor: pointer; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-family: var(--f-mono); font-size: 20px; color: var(--text-3);
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--linie-zart); }
.faq details p { margin: 0; padding: 14px var(--karte-innen); font-size: 15px; color: var(--text-2); }

/* --- Methodik und Belege ------------------------------------------------ */
.methodik, .belege {
  background: var(--chip-flaeche); border-radius: var(--r-gross); padding: 24px var(--karte-innen);
}
.methodik h2, .belege h2 { font-size: 20px; }
.methodik > p { font-size: 15px; color: var(--text-2); max-width: 62ch; }
.methodik-kacheln {
  display: grid; gap: 1px; background: var(--linie); border-radius: 12px; overflow: hidden; margin: 0;
}
.methodik-kacheln > div { background: var(--papier); padding: 12px 14px; }
.methodik-kacheln dt {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-3);
}
.methodik-kacheln dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; }
.methodik-kacheln .grenze dd { font-weight: 400; color: var(--text-2); font-size: 14px; }
.methodik-mehr { margin: 14px 0 0; font-size: 14px; }
.belege ul { margin: 0 0 14px; padding-left: 20px; }
.belege li { font-size: 14px; color: var(--text-2); margin-bottom: 7px; }
.belege-hinweis { margin: 0; font-size: 13px; color: var(--text-3); }

/* --- Verwandte Seiten, Bereiche, Startkacheln --------------------------- */
.verwandt-raster { display: grid; gap: 12px; }
.verwandt-karte {
  display: block; background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-karte); padding: var(--karte-innen);
  text-decoration: none; color: var(--text);
  transition: border-color .15s ease, transform .15s ease;
}
.verwandt-karte:hover { border-color: var(--akzent); transform: translateY(-2px); }
.verwandt-meta {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 6px;
}
.verwandt-titel {
  display: block; font-family: var(--f-display); font-weight: 700;
  font-size: 18px; letter-spacing: -.02em; line-height: 1.25;
}
.verwandt-daten { border-left: 4px solid var(--akzent); }
.chip-reihe { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px; background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-chip); font-size: 14px; font-weight: 600;
  color: var(--text); text-decoration: none;
}
.chip:hover { border-color: var(--akzent); color: var(--akzent); }

/* --- Zahlenreihen (Start, Bereich) -------------------------------------- */
.start-zahlen, .hub-zahlen {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--linie); border-radius: 12px; overflow: hidden; margin-top: 20px;
}
.start-zahlen > div, .hub-zahlen > div {
  background: var(--papier); padding: 14px 12px; display: grid; gap: 2px;
}
.start-zahlen .gross, .hub-zahlen .gross {
  font-family: var(--f-display); font-weight: 700; font-size: 26px; letter-spacing: -.03em;
}
.start-zahlen span:last-child, .hub-zahlen span:last-child {
  font-size: 12px; color: var(--text-3); line-height: 1.35;
}

/* --- So messen wir ------------------------------------------------------ */
.schritte { counter-reset: s; list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; }
.schritte li { counter-increment: s; position: relative; padding-left: 44px; font-size: 15px; color: var(--text-2); }
.schritte li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 99px;
  background: var(--akzent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 14px; font-weight: 600;
}
.schritte strong { color: var(--text); }

/* --- Fuss --------------------------------------------------------------- */
.fuss { background: var(--dunkelflaeche); color: var(--auf-dunkel-lead); margin-top: 48px; }
.fuss-innen { padding-top: 36px; padding-bottom: 40px; }
.fuss-raster { display: grid; gap: 26px; }
.fuss-spalte { display: grid; gap: 8px; align-content: start; }
.fuss-spalte h2 {
  font-family: var(--f-text); font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--auf-dunkel-meta); margin: 0 0 2px;
}
.fuss-spalte a { color: var(--auf-dunkel-text); text-decoration: none; font-size: 15px; }
.fuss-spalte a:hover { text-decoration: underline; }
.fuss-wort {
  font-family: var(--f-marke); font-weight: 800; font-size: 20px;
  letter-spacing: -.03em; color: #fff;
}
.fuss-marke p { margin: 4px 0 0; font-size: 14px; }
.fuss-klein {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--auf-dunkel-linie);
  display: grid; gap: 10px;
}
.fuss-klein p { margin: 0; font-size: 12px; color: var(--auf-dunkel-meta); line-height: 1.55; }

/* --- Mobile Leiste: der eine kontextuelle naechste Schritt -------------- */
body:has(.leiste) { padding-bottom: 4px; }
body:has(.leiste) .fuss-innen { padding-bottom: 96px; }
.leiste {
  position: sticky; bottom: 0; z-index: 15;
  padding: 10px var(--rand) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 249, 245, .96); border-top: 1px solid var(--linie);
}
.leiste a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; background: var(--akzent); color: #fff;
  border-radius: var(--r-btn); text-decoration: none; font-weight: 700; font-size: 15px;
}
.leiste a:hover { background: var(--akzent-gedrueckt); }

/* --- Ab Tablet ---------------------------------------------------------- */
@media (min-width: 700px) {
  body { font-size: 18px; }
  .angebote { grid-template-columns: repeat(2, 1fr); }
  .verwandt-raster { grid-template-columns: repeat(2, 1fr); }
  .kennzahlen { grid-template-columns: repeat(4, 1fr); }
  .methodik-kacheln { grid-template-columns: repeat(2, 1fr); }
  .alarm { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
  .alarm-form { grid-template-columns: 1fr auto; align-items: start; }
  .alarm-form button { grid-column: 2; }
  .alarm-klein { grid-column: 1 / -1; }
  .fuss-raster { grid-template-columns: 1.4fr 1fr 1fr; }
  .fuss-klein { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* --- Ab Schreibtisch ---------------------------------------------------- */
@media (min-width: 980px) {
  .hero { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 32px; padding-top: 28px; }
  .hero-text-seite { grid-template-columns: 1fr; }
  .hero-hub { grid-template-columns: 1.4fr .6fr; }
  .hub-zahlen { grid-template-columns: 1fr; margin-top: 0; }
  .antwort { padding: 26px 24px 28px; position: sticky; top: 72px; }
  .verwandt-raster { grid-template-columns: repeat(3, 1fr); }
  .methodik-kacheln { grid-template-columns: repeat(4, 1fr); }
  /* Die Leiste ist eine Kruecke fuer kleine Bildschirme. Am Schreibtisch
     steht die Navigation ohnehin vollstaendig im Kopf. */
  .leiste { display: none; }
}

@media print {
  .kopf, .leiste, .alarm, .bereichsnav { display: none; }
  body { background: #fff; }
  .antwort { background: #fff; color: #000; box-shadow: none; border: 2px solid #000; }
  .antwort-satz, .alarm h2 { color: #000; }
}
