/* TANKORAKEL v6 — Unterseiten (Orte, Städte-Übersicht, Themen, Daten, Widget-Doku, Rechtliches).
   Baut auf orakel.css auf. */

.brotkrumen { font-size: .92rem; font-weight: 650; padding-top: .3rem; }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { text-decoration: underline; }
.buehne-seite .antwort { font-size: clamp(2.3rem, 6.2vw, 4.6rem); }
.buehne-seite .paul-wahl { width: min(100%, 21rem); }
.buehne-seite .antwort-grund a { font-weight: 750; }
.buehne-knopf { margin-top: 1.2rem; }

h3 { font-family: var(--anzeige); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; margin: 1.6rem 0 .6rem; }
.abschnitt h3:first-child, .zwei-spalten > div > h3:first-child { margin-top: 0; }
.klein { font-size: .93rem; color: var(--leise); margin-top: 1rem; max-width: 80ch; }
.klein a, .lesetext a { font-weight: 650; }
.leer { color: var(--leise); }
.zwei-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 4vw, 4rem); align-items: start; }
.zwei-spalten.breit-schmal { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.zwei-spalten.breit-schmal > :only-child { grid-column: 1 / -1; }
.lesetext h3 { margin-top: 1.4rem; }

/* Tabellen */
.tabelle { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--linie); font-size: 1rem; }
.tabelle th { text-align: left; font-size: .86rem; font-weight: 700; color: var(--leise); padding: .7rem .9rem; border-bottom: 1px solid var(--linie); }
.tabelle td { padding: .7rem .9rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle td.preis, .tabelle th:not(:first-child) { text-align: right; white-space: nowrap; }
.tabelle td.preis { font-weight: 800; }
.tabelle td.preis small { display: block; font-weight: 650; font-size: .82rem; color: var(--leise); }
.tabelle td.preis small.rot, .tabelle td.preis.rot { color: var(--rot); }
.tabelle td.preis small.gruen, .tabelle td.preis.gruen { color: var(--gruen); }
.stationen-tabelle th:nth-child(2), .stationen-tabelle td:nth-child(2), .stationen-tabelle th:nth-child(3), .stationen-tabelle td:nth-child(3) { text-align: left; }
.stationen-tabelle td:first-child { font-weight: 750; }
.stationen-tabelle tr.best td { background: var(--gruen-fl); }
.stationen-tabelle tr.best td.preis { color: var(--gruen); }
.hub-tabelle a { text-decoration: none; font-weight: 700; }
.hub-tabelle a:hover { text-decoration: underline; text-decoration-color: var(--gelb); text-decoration-thickness: 3px; }
.horizont-tabelle { margin-top: 1.2rem; }
.laender { columns: 2 24rem; column-gap: clamp(1.5rem, 4vw, 4rem); }
.laender > div { break-inside: avoid; margin-bottom: 2.4rem; }
.laender h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: .7rem; }
.sprungmarken { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin-top: 1.6rem; font-weight: 650; }

/* Säulen auf Unterseiten: nicht anklickbar */
.tage[role="list"] .tag { cursor: default; }
.tage + h3 { margin-top: 2.2rem; }

/* Verlaufsgrafiken */
.verlauf { display: block; width: 100%; height: auto; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--linie); }
.vs-grid { stroke: var(--linie); stroke-width: 1; }
.vs-achse { fill: var(--leise); font-family: var(--text); font-size: 12.5px; font-weight: 600; }
.vs-linie { fill: none; stroke: var(--nacht); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.vs-prognose { fill: none; stroke: var(--nacht); stroke-width: 2.5; stroke-dasharray: 3 6; stroke-linecap: round; }
.vs-band { fill: var(--gelb); opacity: .35; }
.vs-punkt { fill: var(--gelb); stroke: var(--nacht); stroke-width: 2.5; }
.sp-guenstig { fill: var(--gruen); opacity: .55; }
.sp-teuer { fill: var(--rot); opacity: .8; }
.sp-best { fill: var(--gelb); stroke: var(--nacht); stroke-width: 2; }
.verlauf + .zwei-spalten, .verlauf + .tabelle { margin-top: 1.5rem; }

/* Zahlenreihe (Tankrabatt) */
.zahlenreihe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem clamp(1rem, 3vw, 3rem); }
.zahlenreihe div { border-top: 3px solid var(--nacht); padding-top: .8rem; }
.zahlenreihe b { display: block; font-family: var(--anzeige); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.zahlenreihe span { display: block; margin-top: .4rem; color: var(--leise); font-weight: 550; }

/* Statische Textseiten (Daten, Widget, Impressum, Datenschutz, English) */
.seite { padding: clamp(1.6rem, 4vw, 3rem) var(--innen) clamp(3rem, 6vw, 5rem); }
.seite > * { max-width: 52rem; }
.seite > .tabelle, .seite > .verlauf, .seite > .kennzahlen, .seite > table { max-width: 60rem; }
.seite h1 { font-family: var(--anzeige); font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -.025em; margin: .3em 0 .5em; }
.seite h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 2.2em 0 .5em; }
.seite p, .seite li { line-height: 1.6; }
.seite p + p { margin-top: .7rem; }
.seite ul { list-style: disc; padding-left: 1.3rem; }
.seite a { font-weight: 650; }
.seite .lead { font-size: 1.15rem; }
.seite .stand { font-size: .92rem; font-weight: 650; color: var(--leise); }
.seite details { border-bottom: 1px solid var(--linie); }
.seite summary { font-family: var(--anzeige); font-weight: 700; font-size: 1.15rem; padding: .9rem 0; cursor: pointer; }
.seite details p { padding: 0 0 1rem; }
.seite table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--linie); margin: .8rem 0; }
.seite th, .seite td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--linie); }
.seite th { font-size: .86rem; color: var(--leise); }
.code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88rem; background: var(--nacht); color: #E8ECF8; border-radius: 12px; padding: 1rem 1.1rem; overflow-x: auto; white-space: pre; margin: .7rem 0 1rem; }
.seite code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9em; background: var(--dunst); border-radius: 5px; padding: .08em .35em; overflow-wrap: anywhere; }
.seite { overflow-wrap: anywhere; }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; margin: 1rem 0; }
.kz { background: var(--dunst); border-radius: var(--r); padding: .9rem 1rem; }
.kz-wert { display: block; font-family: var(--anzeige); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -.02em; }
.kz-label { display: block; font-size: .88rem; font-weight: 600; color: var(--leise); margin-top: .35rem; }
.seite .cta, .seite a.cta { display: inline-flex; background: var(--nacht); color: #fff; border-radius: 999px; padding: .8rem 1.4rem; font-weight: 700; text-decoration: none; }
.seite .staedte-links a strong { color: var(--gruen); }

@media (max-width: 900px) {
  .zwei-spalten, .zwei-spalten.breit-schmal { grid-template-columns: minmax(0, 1fr); }
  .zahlenreihe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .buehne-seite .antwort-grid { grid-template-columns: minmax(0, 1fr) 36%; }
  .buehne-seite .antwort { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .buehne-seite .paul-wahl { grid-row: 3; }
  .buehne-seite .antwort-text > .buehne-knopf { grid-column: 1 / -1; margin-top: .9rem; }
  .buehne-seite .buehne-knopf .knopf { white-space: normal; text-align: center; }
  .stationen-tabelle th:nth-child(2), .stationen-tabelle td:nth-child(2) { display: none; }
  .tabelle { font-size: .93rem; }
  .tabelle th, .tabelle td { padding: .6rem .55rem; }
  .horizont-tabelle th:nth-child(4), .horizont-tabelle td:nth-child(4) { display: none; }
}
