/* TANKORAKEL v6 „Pauls Antwort" — Grundlage für alle Seiten + Startseite.
   Palette aus Pauls Welt: Paulgelb (Bühne/Marke), Ölnacht (Schrift/Paul), Dunst (Flächen),
   Grün/Rot nur als Datenfarben. Schriften: Bricolage Grotesque (Anzeige) + Hanken Grotesk (Text). */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/HankenGrotesk-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --gelb: #FFB81C;
  --gelb-hell: #FFD772;
  --gelb-tief: #E89F00;
  --nacht: #0E1B3D;
  --nacht-2: #1B2B57;
  --leise: #4A5676;
  --papier: #FFFFFF;
  --dunst: #F1F4FA;
  --linie: #DBE1EE;
  --gruen: #0A7F4C;
  --gruen-fl: #DCF3E6;
  --rot: #C93A26;
  --rot-fl: #FBE4DF;

  --anzeige: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --breite: 78rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --innen: max(var(--rand), calc((100% - var(--breite)) / 2));
  --r-gross: 28px;
  --r: 16px;
  --schatten: 0 18px 40px -22px rgba(14, 27, 61, .45);
  --raus: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0; background: var(--papier); color: var(--nacht);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.5;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--nacht); outline-offset: 3px; border-radius: 6px; }
.nachtband :focus-visible, .fuss :focus-visible { outline-color: var(--gelb); }
sup { font-size: .58em; vertical-align: .62em; line-height: 0; margin-left: .04em; }

h2 { font-family: var(--anzeige); font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.04; letter-spacing: -.015em; }
.gruen { color: var(--gruen); }
.rot { color: var(--rot); }

/* ── Kopf ───────────────────────────────────────────────── */
.kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--innen); background: var(--gelb);
}
.wortmarke { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--anzeige); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; color: var(--nacht); }
.wortmarke img { width: 44px; height: 47px; flex: none; }
.kopf-nav { display: flex; gap: clamp(.9rem, 2.4vw, 2rem); font-weight: 650; font-size: 1rem; }
.kopf-nav a { text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.kopf-nav a:hover, .kopf-nav a[aria-current] { border-bottom-color: var(--nacht); }
@media (max-width: 560px) {
  .wortmarke { font-size: 1.2rem; gap: .4rem; }
  .wortmarke img { width: 36px; height: 38px; }
  .kopf-nav { font-size: .95rem; }
  .kopf-nav .nur-breit { display: none; }
}

/* ── Knöpfe ─────────────────────────────────────────────── */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--nacht); color: #fff; border: 0; border-radius: 999px;
  padding: .8rem 1.4rem; font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s;
}
.knopf:hover { background: var(--nacht-2); }
.knopf.gelb { background: var(--gelb); color: var(--nacht); }
.knopf.gelb:hover { background: var(--gelb-hell); }
.knopf.still { background: transparent; color: var(--nacht); box-shadow: inset 0 0 0 2px var(--nacht); }
.knopf.still:hover { background: var(--nacht); color: #fff; }

/* ── Bühne: Pauls Antwort ───────────────────────────────── */
.buehne { background: var(--gelb); padding: .5rem var(--innen) 0; position: relative; }
.steuerung { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: start; max-width: 46rem; position: relative; z-index: 5; }
.sorten-toggle { display: inline-flex; background: rgba(14, 27, 61, .12); border-radius: 999px; padding: 4px; }
.sorten-toggle button { border: 0; background: transparent; border-radius: 999px; padding: .62rem 1.05rem; font-weight: 700; font-size: 1rem; color: var(--nacht); min-height: 48px; }
.sorten-toggle button[aria-selected="true"] { background: var(--nacht); color: #fff; }
.ort-feldwrap { position: relative; display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 4px 4px 4px 1rem; min-height: 56px; box-shadow: 0 2px 0 rgba(14, 27, 61, .18); }
.ort-feldwrap:focus-within { box-shadow: 0 0 0 3px var(--nacht); }
.ort-pin { flex: none; color: var(--nacht); }
.ort-feldwrap input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .5rem .6rem; font-size: 1.0625rem; font-weight: 600; outline: none; }
.ort-feldwrap input::placeholder { color: var(--leise); font-weight: 500; }
.ort-los { flex: none; border: 0; background: var(--nacht); color: #fff; border-radius: 999px; padding: 0 1.15rem; height: 48px; font-weight: 700; }
.ort-los:hover { background: var(--nacht-2); }
.ort-standort { flex: none; border: 0; background: transparent; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--nacht); }
.ort-standort:hover { background: var(--dunst); }
.vorschlaege { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: var(--r); box-shadow: var(--schatten); overflow: hidden; z-index: 20; }
.vorschlaege li { padding: .7rem 1rem; cursor: pointer; font-weight: 600; }
.vorschlaege li:hover, .vorschlaege li.aktiv { background: var(--dunst); }
.ort-status { grid-column: 1 / -1; font-weight: 600; min-height: 0; font-size: .95rem; }
.ort-status:empty { display: none; }

.antwort-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem clamp(1rem, 3vw, 3rem); align-items: center; padding-top: clamp(.6rem, 1.6vw, 1.4rem); }
.antwort-text { padding-block: 1rem clamp(1.6rem, 3vw, 2.6rem); min-width: 0; }
.antwort-text h1 { font-family: var(--text); font-size: 1rem; font-weight: 650; letter-spacing: 0; color: var(--nacht); opacity: .82; }
.antwort {
  font-family: var(--anzeige); font-weight: 800; letter-spacing: -.03em; line-height: .94;
  font-size: clamp(2.9rem, 8.4vw, 6.4rem); margin-top: .18em; text-wrap: balance;
}
.antwort-grund { font-size: clamp(1.08rem, 1.7vw, 1.35rem); font-weight: 550; line-height: 1.35; margin-top: .9rem; max-width: 34ch; }
.antwort-grund strong { font-weight: 800; }
.teilen { margin-top: .9rem; display: flex; align-items: center; gap: .8rem; font-weight: 650; font-size: .95rem; }
.teilen-knopf { border: 0; background: transparent; padding: .4rem 0; font-weight: 750; text-decoration: underline; text-decoration-thickness: 2.5px; text-underline-offset: 4px; }
.teilen-knopf:hover { text-decoration-color: #fff; }
.ort-quittung { font-size: .92rem; font-weight: 600; margin-top: .6rem; opacity: 0; transition: opacity .4s; min-height: 1.4em; }
.ort-quittung.sichtbar { opacity: .85; }
.paul-wahl { justify-self: center; align-self: end; position: relative; width: min(100%, 27rem); margin-bottom: -.4rem; z-index: 1; }
.paul-wahl img { display: block; width: 100%; height: auto; transform-origin: 50% 90%; rotate: -2deg; filter: drop-shadow(0 16px 14px rgba(14, 27, 61, .28)); }
.paul-wahl.denkt img { animation: paul-denkt 1.1s ease-in-out infinite alternate; }
@keyframes paul-denkt { from { rotate: -4deg; } to { rotate: 2deg; } }

/* Der Antwortzettel: drei Fragen, ein Blatt */
.zettel-zone { background: linear-gradient(var(--gelb) 0 3.2rem, var(--papier) 3.2rem); padding: 0 var(--innen) clamp(1.6rem, 4vw, 3rem); }
.zettel { background: #fff; border-radius: var(--r-gross); box-shadow: var(--schatten), 0 0 0 1px rgba(14, 27, 61, .06); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; z-index: 2; }
.frage { padding: clamp(1.1rem, 2.2vw, 1.7rem) clamp(1.1rem, 2.4vw, 1.9rem); min-width: 0; display: flex; flex-direction: column; gap: .35rem; }
.frage + .frage { border-left: 1px solid var(--linie); }
.frage-titel { font-family: var(--anzeige); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--leise); }
.frage-wert { font-family: var(--anzeige); font-weight: 800; font-size: clamp(1.7rem, 2.9vw, 2.5rem); line-height: 1.02; letter-spacing: -.02em; }
.frage-wert small { font-family: var(--text); font-size: .42em; font-weight: 700; letter-spacing: 0; margin-left: .25em; }
.frage-satz { font-size: .98rem; line-height: 1.4; color: var(--nacht); }
.frage-satz strong { font-weight: 750; }
.frage-links { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; gap: .2rem 1.3rem; }
.frage-mehr { font-weight: 700; font-size: .98rem; padding: .35rem 0; text-decoration: underline; text-decoration-thickness: 2.5px; text-underline-offset: 4px; text-decoration-color: var(--gelb); }
.frage-mehr:hover { text-decoration-color: var(--nacht); }
.frage-bild { display: block; }
.funke-wrap { display: block; margin: .15rem 0 .1rem; }
.funke-bild { display: block; position: relative; height: 54px; }
.funke { display: block; width: 100%; height: 100%; overflow: visible; }
.funke .f-typ { fill: none; stroke: #B4BED4; stroke-width: 2; }
.funke .f-ist { fill: none; stroke: var(--nacht); stroke-width: 2.6; stroke-linejoin: round; }
.funke .f-fenster { fill: var(--gruen-fl); }
.funke-jetzt { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--gelb); border: 2.5px solid var(--nacht); translate: -50% -50%; }
.funke-achse { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 650; color: var(--leise); margin-top: 2px; }
.funke-achse i { font-style: normal; }
.zehn { display: inline-flex; gap: 4px; vertical-align: middle; }
.zehn i { width: 11px; height: 11px; border-radius: 50%; background: var(--linie); }
.zehn i.an { background: var(--gruen); }
.zehn.schlecht i.an { background: var(--rot); }
.wochenbalken { display: flex; align-items: flex-end; gap: 5px; height: 58px; margin: .15rem 0 .1rem; }
.wochenbalken i { flex: 1; min-width: 0; border-radius: 5px 5px 2px 2px; background: var(--linie); min-height: 8px; }
.wochenbalken i.heute { background: var(--nacht); }
.wochenbalken i.runter { background: var(--gruen); }
.wochenbalken i.rauf { background: var(--rot); }

@media (max-width: 900px) {
  .zettel { grid-template-columns: 1fr; }
  .frage + .frage { border-left: 0; border-top: 1px solid var(--linie); }
  .frage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); column-gap: 1rem; row-gap: .2rem; align-items: center; }
  .frage > * { grid-column: 1; }
  .frage > .frage-bild { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
  .frage-links { padding-top: .1rem; }
  .frage:first-child > * { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .steuerung { grid-template-columns: minmax(0, 1fr); }
  .sorten-toggle { display: grid; grid-template-columns: repeat(3, 1fr); }
  .sorten-toggle button { padding-inline: .4rem; }
  .ort-los { padding: 0 .9rem; }
  /* Handy: die Antwort bekommt die volle Breite (lange Wörter wie „Donnerstag."), Paul sitzt neben der Begründung. */
  .antwort-grid { grid-template-columns: minmax(0, 1fr) 40%; align-items: center; gap: 0 .5rem; padding-top: .8rem; padding-bottom: 1rem; }
  .antwort-text { display: contents; }
  .antwort-text > * { grid-column: 1; }
  .antwort-text > h1, .antwort-text > .antwort, .antwort-text > .ort-quittung { grid-column: 1 / -1; }
  .antwort { font-size: clamp(2.5rem, 13vw, 3.7rem); overflow-wrap: break-word; margin-bottom: .5rem; }
  .antwort-grund { font-size: 1.02rem; margin-top: 0; }
  .paul-wahl { grid-column: 2; grid-row: 3 / span 2; margin-bottom: 0; align-self: center; width: 100%; }
  .zettel-zone { background: linear-gradient(var(--gelb) 0 2rem, var(--papier) 2rem); }
}

/* ── Abschnitte ─────────────────────────────────────────── */
.abschnitt { padding: clamp(2.2rem, 5.5vw, 4.5rem) var(--innen); }
.abschnitt.dunst { background: var(--dunst); }
.abschnitt-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; margin-bottom: clamp(1rem, 2.4vw, 1.8rem); }
.abschnitt-kopf p { color: var(--leise); font-weight: 550; max-width: 60ch; }
.abschnitt-kopf.gestapelt { display: block; }
.abschnitt-kopf.gestapelt p { margin-top: .5rem; font-size: 1.08rem; }

/* ── Karte + Liste ──────────────────────────────────────── */
.karte-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.6rem); align-items: start; }
.karte-rahmen { position: relative; border-radius: var(--r-gross); overflow: hidden; background: var(--dunst); height: clamp(360px, 62vh, 640px); box-shadow: 0 0 0 1px var(--linie); }
.map { position: absolute; inset: 0; z-index: 0; }
.osm-kacheln { filter: saturate(.55) contrast(.95) brightness(1.04); }
.karte-platzhalter { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); align-items: center; gap: 1rem; padding: clamp(1.2rem, 4vw, 3rem); background: var(--dunst); }
.karte-platzhalter .kp-titel { font-family: var(--anzeige); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.05; letter-spacing: -.02em; }
.karte-platzhalter p { margin-top: .6rem; max-width: 34ch; }
.karte-platzhalter .knopf { margin-top: 1rem; }
.karte-platzhalter img { width: 100%; height: auto; }
.karte-laedt { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; background: var(--nacht); color: #fff; border-radius: 999px; padding: .6rem 1.2rem; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.lauflicht { display: inline-flex; gap: 4px; margin-right: .6rem; }
.lauflicht i { width: 7px; height: 7px; border-radius: 50%; background: var(--gelb); animation: lauf 1s infinite ease-in-out; }
.lauflicht i:nth-child(2) { animation-delay: .15s; } .lauflicht i:nth-child(3) { animation-delay: .3s; }
@keyframes lauf { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.demo-hinweis { background: #FFF4D6; border-radius: 12px; padding: .6rem .9rem; font-size: .9rem; margin-bottom: .8rem; }

.empfehlung { background: var(--gruen-fl); border-radius: var(--r); padding: 1rem 1.15rem; }
.empfehlung.neutral { background: var(--dunst); }
.emp-zeile1 { font-family: var(--anzeige); font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.12; letter-spacing: -.015em; }
.emp-zeile2 { margin-top: .35rem; font-size: .97rem; }
.emp-zeile2 strong { color: var(--gruen); }
.stationen { margin-top: .6rem; }
.station { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: .05rem; padding: .8rem .7rem; margin-inline: -.7rem; border-bottom: 1px solid var(--linie); cursor: pointer; }
.station:hover, .station.gewaehlt { background: var(--dunst); }
.station:focus-visible { border-radius: 0; outline-offset: -3px; }
.st-name { font-weight: 750; font-size: 1.06rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-preis { font-family: var(--anzeige); font-weight: 800; font-size: 1.35rem; line-height: 1.1; text-align: right; }
.station.best .st-preis { color: var(--gruen); }
.st-adresse, .st-effektiv { font-size: .88rem; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-effektiv { text-align: right; }
.st-badge { grid-column: 1 / -1; justify-self: start; margin-top: .3rem; background: var(--gruen); color: #fff; border-radius: 999px; padding: .12rem .65rem; font-size: .8rem; font-weight: 700; }
.st-badge--warn { background: var(--rot); }
.station.unplausibel .st-preis { color: var(--leise); text-decoration: line-through; }
.mehr-zeile { padding-top: .9rem; }
.mehr-btn { border: 0; background: transparent; box-shadow: inset 0 0 0 2px var(--nacht); border-radius: 999px; padding: .65rem 1.2rem; font-weight: 700; }
.mehr-btn:hover { background: var(--nacht); color: #fff; }
.karte-fuss { margin-top: .9rem; font-size: .86rem; color: var(--leise); }

.preisschild { display: inline-flex; align-items: center; background: var(--nacht); color: #fff; font-family: var(--text); font-weight: 800; font-size: 13px; border-radius: 9px; padding: 3px 8px; border: 2px solid #fff; box-shadow: 0 3px 10px -2px rgba(14, 27, 61, .5); white-space: nowrap; translate: -50% -100%; position: relative; cursor: pointer; }
.preisschild::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 10px; background: inherit; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateX(-50%) rotate(45deg); }
.preisschild sup { font-size: .62em; }
.preisschild.best { background: var(--gruen); font-size: 15px; padding: 4px 10px; }
.preisschild.teuerste { background: var(--rot); }
.preisschild.start { background: var(--gelb); color: var(--nacht); border-color: var(--nacht); }
.preisschild.start::after { border-color: var(--nacht); }
.preisschild.unplausibel { background: #8E97AD; text-decoration: line-through; }
.preisschild.gewaehlt, .preispunkt.gewaehlt { outline: 3px solid var(--gelb); }
.preispunkt { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--nacht); border: 2px solid #fff; translate: -50% -50%; cursor: pointer; }
.karte-einblend .preisschild, .karte-einblend .preispunkt { animation: schild-rein .45s var(--raus) both; }
@keyframes schild-rein { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }

@media (max-width: 900px) {
  .karte-grid { grid-template-columns: 1fr; }
  .karte-rahmen { height: clamp(300px, 52vh, 460px); border-radius: var(--r); }
  .karte-platzhalter { grid-template-columns: minmax(0, 1fr) 30%; }
}

/* ── 14 Tage ────────────────────────────────────────────── */
.tendenz { font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-weight: 550; max-width: 58ch; margin-top: .6rem; }
.tendenz strong.steigt { color: var(--rot); } .tendenz strong.faellt { color: var(--gruen); }
.tage { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: clamp(3px, .6vw, 10px); align-items: end; margin-top: 1.4rem; }
.tag { border: 0; background: transparent; padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: .3rem; text-align: center; min-width: 0; border-radius: 12px; }
.tag-saeule { height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; }
.tag-preis { font-weight: 750; font-size: clamp(.72rem, 1.05vw, .98rem); letter-spacing: -.02em; }
.tag-saeule i { display: block; flex: 0 0 40%; width: 100%; border-radius: 9px 9px 3px 3px; background: #C9D1E3; transform-origin: 50% 100%; }
.tag.v-guenstig .tag-saeule i { background: var(--gruen); }
.tag.v-teuer .tag-saeule i { background: var(--rot); }
.tag.heute .tag-saeule i { background: var(--nacht); }
.tag.bester .tag-saeule i { box-shadow: 0 0 0 3px var(--gelb); }
.tag-wt { font-size: clamp(.7rem, .95vw, .88rem); font-weight: 650; color: var(--leise); line-height: 1.15; }
.tag-nr { font-family: var(--anzeige); font-weight: 800; font-size: clamp(.95rem, 1.5vw, 1.3rem); line-height: 1; border-radius: 8px; padding: .14em 0; }
.tag[aria-selected="true"] .tag-nr { background: var(--gelb); }
.tag:hover .tag-saeule i { filter: brightness(.92); }
.tag-detail { margin-top: 1.1rem; background: #fff; border-radius: var(--r); padding: .85rem 1.1rem; display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: 1rem; box-shadow: 0 0 0 1px var(--linie); }
.detail-datum { font-weight: 800; }
.chancen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; margin-top: 1.6rem; }
.chance { display: flex; flex-direction: column; gap: .3rem; }
.chance b { font-family: var(--anzeige); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.chance span { font-size: .96rem; }
.kalender-fuss { margin-top: 1.4rem; font-size: .93rem; color: var(--leise); display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.kalender-fuss a { font-weight: 650; }
.meta-zeile { display: block; }
@media (max-width: 700px) {
  .tage { grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 1.2rem; }
  .tag-saeule { height: 96px; }
  .chancen { grid-template-columns: 1fr; gap: .9rem; }
  .chance { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .2rem .7rem; }
}

/* ── Heute stündlich ────────────────────────────────────── */
.tv-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 3rem); align-items: center; }
.tv-panel { background: #fff; border-radius: var(--r-gross); padding: clamp(.9rem, 2vw, 1.5rem); box-shadow: 0 0 0 1px var(--linie); min-width: 0; }
.tv-kopf { display: flex; justify-content: space-between; font-weight: 750; margin-bottom: .3rem; }
.tv-sorte { color: var(--leise); }
.tv-chartwrap { position: relative; }
.tv-chart { display: block; width: 100%; }
.tvc-grid { stroke: var(--linie); stroke-width: 1; }
.tvc-achse { fill: var(--leise); font-size: 12px; font-family: var(--text); font-weight: 600; }
.tvc-fenster { fill: var(--gruen-fl); }
.tvc-fenster-label { fill: var(--gruen); font-size: 12.5px; font-weight: 800; font-family: var(--text); }
.tvc-typisch { fill: none; stroke: #A9B4CC; stroke-width: 2; stroke-dasharray: 5 5; }
.tvc-gemessen { fill: none; stroke: var(--nacht); stroke-width: 3; stroke-linejoin: round; }
.tvc-jetzt-ring { fill: none; stroke: var(--gelb); stroke-width: 5; }
.tvc-jetzt { fill: var(--gelb); stroke: var(--nacht); stroke-width: 2.5; }
.tvc-jetzt-label { fill: var(--nacht); font-size: 13px; font-weight: 800; font-family: var(--text); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.tvc-cursor { stroke: var(--nacht); stroke-width: 1; stroke-dasharray: 3 3; }
.tv-tooltip { position: absolute; top: 0; transform: translateX(-50%); background: var(--nacht); color: #fff; border-radius: 8px; padding: .25rem .6rem; font-size: .84rem; font-weight: 700; white-space: nowrap; pointer-events: none; }
.tv-legende { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .86rem; color: var(--leise); font-weight: 600; margin-top: .4rem; }
.tvl::before { content: ''; display: inline-block; width: 18px; height: 0; border-top: 3px solid var(--nacht); vertical-align: middle; margin-right: .4rem; }
.tvl-typisch::before { border-top: 2px dashed #A9B4CC; }
.tvl-fenster::before { height: 10px; border: 0; background: var(--gruen-fl); box-shadow: 0 0 0 1px var(--gruen); border-radius: 3px; }
.tv-panel.ohne-messung .tvl-gemessen { display: none; }
.tv-text h2 { margin-bottom: .8rem; }
.tv-lead { font-size: 1.12rem; }
.tv-hinweis { margin-top: .8rem; font-size: .93rem; color: var(--leise); }
@media (max-width: 900px) { .tv-grid { grid-template-columns: 1fr; } .tv-text { order: -1; } }

/* ── Umweg-Rechner ──────────────────────────────────────── */
.fuellung-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2.4rem); align-items: start; }
.fuellung-eingabe { display: grid; gap: 1.1rem; }
.fe-feld label { font-weight: 700; display: block; margin-bottom: .2rem; }
.einheit-zeile { display: flex; align-items: baseline; gap: .6rem; }
.einheit-zeile input { width: 5.2ch; border: 0; border-bottom: 3px solid var(--nacht); background: transparent; font-family: var(--anzeige); font-weight: 800; font-size: 2.4rem; line-height: 1.1; padding: 0; border-radius: 0; -moz-appearance: textfield; }
.einheit-zeile input::-webkit-outer-spin-button, .einheit-zeile input::-webkit-inner-spin-button { -webkit-appearance: none; }
.einheit-zeile input:focus-visible { outline: none; border-bottom-color: var(--gelb-tief); }
.einheit-zeile span { font-weight: 650; color: var(--leise); white-space: nowrap; }
.profil-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.profil-chips button { border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linie); border-radius: 999px; padding: .5rem .95rem; font-weight: 650; font-size: .94rem; }
.profil-chips button.aktiv { background: var(--nacht); color: #fff; box-shadow: none; }
.rechnung-frage { font-weight: 700; color: var(--leise); }
.rechnung-titel { font-family: var(--anzeige); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em; margin: .2rem 0 .7rem; }
.rechnung-titel .betrag { color: var(--gruen); white-space: nowrap; }
.rechnung-text { font-size: 1rem; }
.vergleich { margin: .2rem 0 .9rem; }
.vg-zeile { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--linie); align-items: baseline; }
.vg-kopf { font-size: .86rem; font-weight: 700; color: var(--leise); }
.vg-name { font-weight: 750; min-width: 0; }
.vg-name small { display: block; font-weight: 500; color: var(--leise); font-size: .86rem; }
.vg-summe { white-space: nowrap; font-size: .95rem; color: var(--leise); text-align: right; }
.vg-summe strong { color: var(--nacht); font-size: 1.08rem; }
.vg-zeile.best .vg-summe strong { color: var(--gruen); }
.faustregel { margin-top: .8rem; font-size: .93rem; color: var(--leise); }
.faustregel strong { color: var(--nacht); }
.rechenweg { margin-top: 1.6rem; max-width: 70ch; }
.rechenweg summary { font-weight: 700; cursor: pointer; }
.rechenweg p { margin-top: .6rem; font-size: .96rem; color: var(--leise); }
@media (max-width: 960px) { .fuellung-grid { grid-template-columns: 1fr; } .fuellung-eingabe { grid-template-columns: 1fr 1fr; } .profil-chips { grid-column: 1 / -1; } }
@media (max-width: 560px) { .einheit-zeile input { width: 3.6ch; font-size: 2.1rem; } .vg-zeile { flex-wrap: wrap; gap: .1rem 1rem; } .vg-summe { margin-left: auto; } }

/* ── Tank-Alarm (Nachtband) ─────────────────────────────── */
.nachtband { background: var(--nacht); color: #fff; padding: clamp(2rem, 5vw, 3.6rem) var(--innen); display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(1rem, 3vw, 3rem); align-items: center; }
.nachtband img { width: 100%; height: auto; }
.nachtband h2 { color: var(--gelb); }
.nachtband p { margin-top: .5rem; color: #D5DBEC; font-size: 1.06rem; max-width: 38ch; }
.alarm-form { display: flex; gap: .5rem; background: #fff; border-radius: 999px; padding: 4px; }
.alarm-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .6rem 1rem; color: var(--nacht); font-weight: 600; outline: none; }
.alarm-form:focus-within { box-shadow: 0 0 0 3px var(--gelb); }
.alarm-form button { border: 0; background: var(--gelb); color: var(--nacht); border-radius: 999px; padding: 0 1.2rem; min-height: 48px; font-weight: 800; white-space: nowrap; }
.alarm-status { grid-column: 2 / -1; font-weight: 650; color: var(--gelb-hell); }
.alarm-status:empty { display: none; }
@media (max-width: 900px) { .nachtband { grid-template-columns: 5.5rem minmax(0, 1fr); } .alarm-form, .alarm-status { grid-column: 1 / -1; } }
@media (max-width: 420px) { .alarm-form { flex-direction: column; border-radius: 22px; } .alarm-form button { width: 100%; } }

/* ── FAQ, Städte, Lesetext ──────────────────────────────── */
.faq-liste { max-width: 52rem; }
.faq-liste details { border-bottom: 1px solid var(--linie); }
.faq-liste summary { font-family: var(--anzeige); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.3rem); padding: 1rem 2.2rem 1rem 0; cursor: pointer; list-style: none; position: relative; }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after { content: ''; position: absolute; right: .3rem; top: 50%; width: 11px; height: 11px; border-right: 3px solid var(--nacht); border-bottom: 3px solid var(--nacht); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-liste details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-liste details p { padding: 0 0 1.1rem; max-width: 66ch; }
.faq-liste a, .lesetext a { font-weight: 650; }
.staedte-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.staedte-links a { background: #fff; box-shadow: inset 0 0 0 1.5px var(--linie); border-radius: 999px; padding: .45rem 1rem; text-decoration: none; font-weight: 650; }
.staedte-links a:hover { background: var(--gelb); box-shadow: none; }
.staedte-links a strong { color: var(--gruen); margin-left: .25rem; }
.themen { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0 2rem; margin-top: 1.8rem; }
.themen a { display: block; padding: 1rem 0; border-top: 2px solid var(--nacht); text-decoration: none; }
.themen a b { display: block; font-family: var(--anzeige); font-weight: 800; font-size: 1.25rem; letter-spacing: -.015em; }
.themen a span { color: var(--leise); font-size: .97rem; }
.themen a:hover b { text-decoration: underline; text-decoration-color: var(--gelb); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.lesetext { max-width: 68ch; }
.lesetext h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 2rem 0 .6rem; }
.lesetext h2:first-child { margin-top: 0; }
.lesetext p + p { margin-top: .7rem; }

/* ── Fuß ────────────────────────────────────────────────── */
.fuss { background: var(--nacht); color: #C5CCE0; padding: clamp(2rem, 4vw, 3rem) var(--innen) calc(2rem + env(safe-area-inset-bottom)); font-size: .93rem; }
.fuss-inhalt { display: grid; gap: .7rem; max-width: 60rem; }
.fuss-marke { font-family: var(--anzeige); font-weight: 800; font-size: 1.3rem; color: var(--gelb); }
.fuss a { color: #fff; }
.fuss-links { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-weight: 650; }

/* ── Große Bildschirme (2K/4K): eine Stufe größer ───────── */
@media (min-width: 2200px) {
  html { font-size: 125%; }
  :root { --breite: 88rem; }
}
@media (min-width: 3200px) { html { font-size: 160%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
