@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("schrift/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("schrift/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --text:#111827; --leise:#6b7280; --rand:#e5e7eb; --grund:#f6f7f9; --karte:#ffffff; --flaeche:#f1f3f5;
  --akzent:#0b6e4f; --akzent-hell:#e7f4ee; --akzent-text:#ffffff; --schatten:0 1px 2px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.06);
  --frei:#1a9850; --belegt:#f39c12; --gestoert:#d73027; --unbekannt:#9e9e9e; --gold:#f5b301;
  --radius:16px; --nav-h:64px;
}
:root[data-thema="dunkel"] { --text:#e5e7eb; --leise:#9ca3af; --rand:#2b3441; --grund:#0d1117; --karte:#161b22; --flaeche:#1f2630;
          --akzent:#34d399; --akzent-hell:#10302a; --akzent-text:#06281d; --schatten:0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.35); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin:0; font: 16px/1.5 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-feature-settings: "cv11", "ss01"; color:var(--text); background:var(--grund); }
a { color: var(--akzent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
main { max-width: 1200px; margin: 0 auto; padding: 0 16px 40px; }
h1 { font-size: clamp(24px, 4vw, 36px); line-height:1.15; letter-spacing:-.02em; margin: 24px 0 12px; }
h2 { font-size: clamp(19px, 2.5vw, 24px); letter-spacing:-.01em; margin: 32px 0 12px; }
.symbol { width:22px; height:22px; fill: currentColor; flex: none; }
.unsichtbar { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* Kopf und Navigation */
.kopf { position: sticky; top:0; z-index: 20; display:flex; align-items:center; justify-content:space-between; gap:16px;
        padding: 10px 16px; background: color-mix(in srgb, var(--karte) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px);
        border-bottom:1px solid var(--rand); }
.marke { display:flex; align-items:center; gap:8px; font-weight:800; font-size:18px; color:var(--text); letter-spacing:-.01em; }
.marke:hover { text-decoration:none; }
.marke-zeichen { display:block; width:32px; height:32px; border-radius:9px; }
.hauptnav { display:flex; gap:4px; }
.hauptnav a { display:flex; align-items:center; gap:6px; padding:8px 12px; border-radius:999px; color:var(--leise); font-weight:600; font-size:15px; }
.hauptnav a:hover { background:var(--flaeche); color:var(--text); text-decoration:none; }
.hauptnav a.aktiv { background:var(--akzent-hell); color:var(--akzent); }
.hauptnav .symbol { width:18px; height:18px; }
.hauptnav .kurz { display:none; }
@media (max-width: 760px) { .hauptnav .kurz { display:inline; } }
@media (max-width: 760px) {
  body { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
  .kopf { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--karte); }
  .hauptnav { position: fixed; left:0; right:0; bottom:0; z-index: 30; justify-content: space-around; gap:0;
              padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--karte); border-top:1px solid var(--rand);
              box-shadow: 0 -4px 16px rgba(16,24,40,.06); }
  .hauptnav a { flex-direction: column; gap:2px; padding:6px 8px; font-size:11px; border-radius:12px; min-width:64px; }
  .hauptnav .symbol { width:22px; height:22px; }
  .hauptnav a.aktiv { background:none; }
  .hauptnav a span { white-space: nowrap; }
  .hauptnav .lang { display:none; }
}

/* Fuß */
.fuss { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; max-width:1200px; margin:0 auto; padding:20px 16px 28px;
        color:var(--leise); font-size:14px; border-top:1px solid var(--rand); }
.fuss nav { display:flex; gap:16px; }
.fuss a { color:var(--leise); }

/* Suche */
.held { padding-top: 4px; }
.suchleiste { display:flex; align-items:center; gap:8px; background:var(--karte); border:1px solid var(--rand); border-radius:999px;
              padding:6px 6px 6px 16px; box-shadow:var(--schatten); max-width:640px; }
.suchleiste:focus-within { border-color: var(--akzent); }
.suchleiste .symbol { color: var(--leise); }
.suchleiste input { flex:1; min-width:0; border:0; outline:0; background:transparent; color:var(--text); font-size:16px; padding:8px 0; }
.rund { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; border:0; background:var(--akzent); color:var(--akzent-text); cursor:pointer; }
.vorschlaege { list-style:none; margin:8px 0 0; padding:6px; max-width:640px; background:var(--karte); border:1px solid var(--rand); border-radius:var(--radius); box-shadow:var(--schatten); }
.vorschlaege li { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:4px 6px; border-radius:10px; }
.vorschlaege li:hover { background:var(--flaeche); }
.vorschlaege button { flex:1; background:none; border:0; color:var(--text); text-align:left; cursor:pointer; padding:8px 4px; font-size:15px; }

/* Filter-Chips */
.finder { margin: 16px 0 8px; }
.filterleiste { display:flex; flex-wrap:wrap; gap:8px; padding: 4px 2px 10px; }
@media (max-width: 760px) { .filterleiste { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; } }
.filterleiste::-webkit-scrollbar { display:none; }
.chip { flex:none; display:inline-flex; align-items:center; gap:6px; height:38px; padding:0 14px; border-radius:999px; border:1px solid var(--rand);
        background:var(--karte); color:var(--text); font-family:inherit; font-weight:600; font-size:14px; line-height:1; cursor:pointer; white-space:nowrap; }
.chip:hover { border-color: var(--leise); }
.chip[aria-pressed="true"], .chip.an { background:var(--akzent); border-color:var(--akzent); color:var(--akzent-text); }
.chip[aria-pressed="true"] .punkt { box-shadow: 0 0 0 2px #fff; }
.chip-auswahl { padding:0 6px 0 12px; position:relative; }
.chip-auswahl select { font-size:14px; font-weight:600; appearance:none; -webkit-appearance:none; border:0; background:transparent; color:inherit; font:inherit; padding:0 22px 0 0; cursor:pointer; height:100%; }
.chip-auswahl::after { content:""; position:absolute; right:12px; top:50%; width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events:none; }
.chip-sort { margin-left:auto; }
.chip-auswahl select option { color:#111827; }

/* Karte + Liste */
.ansicht-umschalter { display:none; }
.finder-flaeche { display:grid; grid-template-columns: minmax(0, 1fr) 380px; gap:16px; }
.karten-rahmen, .listen-rahmen { background:var(--karte); border:1px solid var(--rand); border-radius:var(--radius); box-shadow:var(--schatten); overflow:hidden; }
#karte { height: 68vh; min-height: 420px; }
.legende { display:flex; flex-wrap:wrap; gap:4px 14px; padding:10px 14px; font-size:13px; color:var(--leise); border-top:1px solid var(--rand); }
.listen-rahmen { display:flex; flex-direction:column; max-height: calc(68vh + 42px); min-height: 420px; }
.hinweis { margin:0; padding:12px 14px; font-size:13px; color:var(--leise); border-bottom:1px solid var(--rand); }
.stationsliste { list-style:none; margin:0; padding:8px; overflow-y:auto; flex:1; }
.station { padding:12px; border-radius:12px; cursor:pointer; border:1px solid transparent; }
.station + .station { margin-top:4px; }
.station:hover, .station:focus-visible { background:var(--flaeche); outline:none; border-color:var(--rand); }
.station-kopf { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.preis { font-size:20px; font-weight:800; letter-spacing:-.01em; }
.preis small { font-size:13px; font-weight:600; color:var(--leise); }
.kw { font-size:12px; font-weight:700; padding:3px 8px; border-radius:999px; background:var(--flaeche); }
.kw.schnell { background:#fff4d6; color:#7a5200; }
:root[data-thema="dunkel"] .kw.schnell { background:#3a2e0b; color:#ffd36b; }
.status-pille { margin-left:auto; font-size:12px; font-weight:700; padding:3px 8px; border-radius:999px; color:#fff; background:var(--unbekannt); }
.status-pille.frei { background:var(--frei); } .status-pille.belegt { background:var(--belegt); } .status-pille.gestoert { background:var(--gestoert); }
.station-name { font-weight:600; margin-top:6px; }
.station-adresse { font-size:14px; color:var(--leise); }
.station-fuss { display:flex; align-items:center; gap:8px; margin-top:8px; }
.station-info { font-size:12px; color:var(--leise); flex:1; min-width:0; }
.knopf-klein { display:inline-flex; align-items:center; height:32px; padding:0 12px; border-radius:999px; border:1px solid var(--rand); background:var(--karte); color:var(--text); font-family:inherit; font-weight:600; font-size:13px; line-height:1; cursor:pointer; white-space:nowrap; }
.knopf-klein:hover { text-decoration:none; border-color:var(--leise); }
.knopf-klein.primaer { background:var(--akzent); border-color:var(--akzent); color:var(--akzent-text); }
.knopf-klein[aria-pressed="true"] { color:#7a5200; border-color:var(--gold); background:#fff8e1; }
.knopf-leise { font-weight:600; font-size:14px; }
@media (max-width: 900px) {
  .finder-flaeche { grid-template-columns: 1fr; }
  .ansicht-umschalter { display:flex; gap:4px; padding:4px; margin-bottom:10px; background:var(--flaeche); border-radius:999px; width:max-content; }
  .ansicht-umschalter button { border:0; background:transparent; color:var(--leise); font-family:inherit; font-weight:600; font-size:14px; line-height:1; padding:9px 20px; border-radius:999px; cursor:pointer; }
  .ansicht-umschalter button[aria-selected="true"] { background:var(--karte); color:var(--text); box-shadow:var(--schatten); }
  .finder-flaeche[data-ansicht="karte"] .listen-rahmen, .finder-flaeche[data-ansicht="liste"] .karten-rahmen { display:none; }
  #karte { height: 60vh; min-height: 340px; }
  .listen-rahmen { max-height:none; min-height:0; }
  .chip-sort { margin-left:0; }
}

/* Popup */
.maplibregl-popup-content { border-radius:14px !important; padding:14px !important; box-shadow:var(--schatten) !important; }
.popup { font-size:14px; color:#1f2933; } .popup .adresse { color:#6b7280; margin-bottom:4px; } .popup .status { margin:4px 0; }
.popup-aktionen { display:flex; gap:8px; margin-top:10px; }
.popup .knopf-klein { background:#fff; color:#1f2933; border-color:#e5e7eb; }
.popup .knopf-klein.primaer { background:#0b6e4f; color:#fff; border-color:#0b6e4f; }

/* Bausteine */
.punkt { display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:5px; vertical-align:middle; }
.punkt.frei { background:var(--frei); } .punkt.belegt { background:var(--belegt); } .punkt.gestoert { background:var(--gestoert); } .punkt.unbekannt { background:var(--unbekannt); }
.klein { font-size:13px; color:var(--leise); }
.unterzeile { color:var(--leise); margin-top:0; }
.brotkrumen { font-size:14px; color:var(--leise); margin-top:16px; }
.abschnitt-kopf { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.kacheln { display:grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap:12px; margin:16px 0; }
.kachel { background:var(--karte); border:1px solid var(--rand); border-radius:var(--radius); padding:14px 16px; box-shadow:var(--schatten); }
.kachel b { display:block; font-size:26px; letter-spacing:-.02em; } .kachel span { color:var(--leise); font-size:14px; }
.frei-text { color: var(--frei); }
.tabelle { width:100%; border-collapse:collapse; font-size:15px; display:block; overflow-x:auto; background:var(--karte); border:1px solid var(--rand); border-radius:var(--radius); }
.tabelle th, .tabelle td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--rand); white-space:nowrap; }
.tabelle th { font-size:13px; color:var(--leise); font-weight:600; }
.tabelle tr:last-child td { border-bottom:0; }
.ortkacheln { list-style:none; padding:0; margin:0; display:grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap:8px; }
.ortkacheln a { display:block; padding:12px 14px; background:var(--karte); border:1px solid var(--rand); border-radius:12px; color:var(--text); font-weight:600; }
.ortkacheln a:hover { border-color:var(--akzent); color:var(--akzent); text-decoration:none; }
.ortliste { list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:6px 14px; }
.betreiber { list-style:none; padding:0; margin:0; max-width:520px; background:var(--karte); border:1px solid var(--rand); border-radius:var(--radius); }
.betreiber li { display:flex; justify-content:space-between; padding:10px 14px; border-bottom:1px solid var(--rand); }
.betreiber li:last-child { border-bottom:0; }
.warnung { background:#fff3cd; color:#664d03; padding:10px 12px; border-radius:12px; }
.quellen li { margin-bottom:8px; }
.fakten { padding-left: 18px; } .fakten li { margin-bottom: 6px; }

/* Mitmachen: Standortwünsche */
.karte-wunsch { height: 60vh; min-height: 320px; border-radius: var(--radius); margin: 12px 0; border:1px solid var(--rand); }
.wunschform { display: grid; gap: 10px; max-width: 640px; background:var(--karte); border:1px solid var(--rand); border-radius:var(--radius); padding:16px; }
.wunschform fieldset { border: 0; padding: 0; display: grid; gap: 6px; }
.wunschform textarea { width: 100%; font: inherit; border:1px solid var(--rand); border-radius:10px; padding:8px; background:var(--grund); color:var(--text); }
.wunschform button { justify-self:start; height:42px; padding:0 20px; border:0; border-radius:999px; background:var(--akzent); color:var(--akzent-text); font-family:inherit; font-weight:700; font-size:15px; line-height:1; cursor:pointer; }

/* Bezahlarten */
.bezahlen { display:flex; flex-wrap:wrap; gap:4px; margin-top:6px; }
.bezahl { font-size:12px; font-weight:600; padding:2px 8px; border-radius:999px; background:var(--flaeche); color:var(--leise); border:1px solid var(--rand); }
.bezahl.ohne-vertrag { background:var(--akzent-hell); color:var(--akzent); border-color:transparent; }
.popup .bezahl { background:#f1f3f5; color:#4b5563; border-color:#e5e7eb; }
.popup .bezahl.ohne-vertrag { background:#e7f4ee; color:#0b6e4f; }
.popup-titel { font-size:12px; font-weight:700; color:#6b7280; margin-top:8px; text-transform:uppercase; letter-spacing:.04em; }

/* Ratgeber */
.ratgeber-raster { display:grid; gap:8px; max-width:820px; }
.ratgeber details { background:var(--karte); border:1px solid var(--rand); border-radius:var(--radius); padding:14px 16px; }
.ratgeber summary { font-weight:700; cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:8px; }
.ratgeber summary::-webkit-details-marker { display:none; }
.ratgeber summary::after { content:"+"; color:var(--leise); font-weight:400; }
.ratgeber details[open] summary::after { content:"–"; }
.ratgeber p { margin:10px 0 0; color:var(--leise); font-size:15px; }

/* Orte-Seite */
.orte-suche { margin: 8px 0 14px; }
.land-sprung { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px; }
.land-sprung .chip { height:32px; font-size:13px; }
.land-sprung .chip:hover { text-decoration:none; }
.land-gruppe { scroll-margin-top: 80px; }
.land-gruppe h2 .anzahl { font-size:14px; font-weight:500; color:var(--leise); margin-left:6px; }
.ortkacheln small { display:block; font-size:12px; font-weight:500; color:var(--leise); }

/* Liste erst nach Ortswahl; Karte sonst volle Breite */
.finder-flaeche[data-liste="aus"] { grid-template-columns: 1fr; }
.finder-flaeche[data-liste="aus"] .listen-rahmen { display:none; }
.karten-hinweis { margin-left:auto; color:var(--leise); font-weight:600; }
@media (max-width: 900px) { .ansicht-umschalter:has(+ .finder-flaeche[data-liste="aus"]) { display:none; } }

/* „In meiner Nähe“ */
.naehe { display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 14px; border:0; border-radius:999px;
         background:var(--akzent-hell); color:var(--akzent); font-family:inherit; font-weight:700; font-size:14px; cursor:pointer; white-space:nowrap; }
.naehe:hover { background:var(--akzent); color:var(--akzent-text); }
.suchleiste .naehe .symbol { color: currentColor; width:18px; height:18px; }
@media (max-width: 480px) { .naehe span { display:none; } .naehe { padding:0 11px; } }

/* Merkmale, Umgebung, Melden, Dialog */
.merkmale { display:flex; flex-wrap:wrap; gap:4px; margin-top:6px; }
.merkmale span { font-size:11px; font-weight:700; padding:2px 7px; border-radius:6px; background:var(--flaeche); color:var(--text); border:1px solid var(--rand); }
.umgebung { margin-top:4px; font-size:13px; color:#374151; }
.melden { margin-top:10px; font-size:13px; }
.melden summary { cursor:pointer; color:#6b7280; font-weight:600; }
.melde-form { display:grid; gap:6px; margin-top:8px; }
.melde-form select, .melde-form input { font:inherit; font-size:13px; padding:6px 8px; border:1px solid #e5e7eb; border-radius:8px; }
.dialog { border:0; border-radius:var(--radius); padding:20px; max-width:420px; width:calc(100% - 32px); background:var(--karte); color:var(--text); box-shadow:0 20px 60px rgba(0,0,0,.3); }
.dialog::backdrop { background:rgba(15,23,42,.45); }
.dialog h2 { margin-top:0; }
.dialog fieldset { border:0; padding:0; margin:12px 0; display:grid; gap:6px; }
.dialog legend { font-weight:700; margin-bottom:6px; }
.dialog select { display:block; margin-top:6px; font:inherit; padding:8px; border-radius:10px; border:1px solid var(--rand); background:var(--grund); color:var(--text); width:100%; }
.dialog-knoepfe { display:flex; justify-content:space-between; gap:8px; margin-top:16px; }
.dialog-kopf { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.dialog-kopf h2 { margin:0; }
.dialog-zu { border:0; background:var(--flaeche); color:var(--text); width:36px; height:36px; border-radius:50%; font-size:16px; cursor:pointer; }

/* App installieren */
.kopf-links { display:flex; align-items:center; gap:10px; }
.installieren-hilfe { max-width:1200px; margin:10px auto 0; padding:12px 16px; background:var(--akzent-hell); color:var(--text); border-radius:12px; font-size:14px; }
.alarm { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:8px; }
.alarm .klein { flex-basis:100%; }
.alarm-preis { font:inherit; font-size:13px; padding:5px 6px; border:1px solid #e5e7eb; border-radius:8px; }

/* Rechtstexte */
.rechtstext { max-width: 780px; }
.rechtstext h2 { font-size: 20px; margin-top: 28px; }
.rechtstext h3 { font-size: 16px; margin: 18px 0 6px; }
.rechtstext p, .rechtstext li { color: var(--text); line-height: 1.6; }
.anschrift { background: var(--karte); border: 1px solid var(--rand); border-radius: 12px; padding: 12px 16px; }

/* Bürgerbeteiligung */
.beteiligung-absender { color: var(--akzent); font-weight: 700; margin: 20px 0 0; }
.beteiligung-leiste { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.beteiligung-leiste .chip { cursor: default; }

/* Kopfbereich (Startseite) */
.held { margin: 20px 0 8px; border-radius: 24px; overflow: hidden; position: relative;
        background: radial-gradient(120% 140% at 0% 0%, #12a37a 0%, #0b6e4f 45%, #08473a 100%); color: #fff; }
.held::after { content: ""; position: absolute; inset: 0; pointer-events: none;
               background: radial-gradient(60% 80% at 100% 0%, rgba(255,255,255,.14), transparent 60%),
                           radial-gradient(40% 60% at 85% 100%, rgba(52,211,153,.25), transparent 70%); }
.held-inhalt { position: relative; z-index: 1; padding: clamp(22px, 4vw, 44px); }
.held h1 { color: #fff; margin: 4px 0 18px; max-width: 760px; font-weight: 800; letter-spacing: -.03em; }
.held-marke { display: inline-block; margin: 0; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.15);
              font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.held .suchleiste { border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.held .vorschlaege { color: var(--text); }
.held-zahlen { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 22px 0 0; }
.held-zahlen li { display: flex; flex-direction: column; }
.held-zahlen b { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.held-zahlen span { font-size: 13px; opacity: .85; }

/* Filter */
.filter-zahl { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
               background: var(--akzent); color: var(--akzent-text); font-size: 12px; }
.chip.an .filter-zahl { background: #fff; color: var(--akzent); }
.chip .symbol { width: 18px; height: 18px; }
.filter-raster { display: grid; gap: 14px; margin: 14px 0 4px; }
.feld { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.feld select { font: inherit; font-weight: 500; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rand); background: var(--grund); color: var(--text); }
.chip-breit { justify-content: center; width: 100%; height: 44px; }

/* Karte, Karten, Feinschliff */
.karten-rahmen, .listen-rahmen { box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 12px 32px rgba(16,24,40,.08); }
.station { transition: background .15s ease, transform .15s ease; }
.station:hover { transform: translateY(-1px); }
.chip { transition: background .15s ease, border-color .15s ease, color .15s ease; }
.ortkacheln a { transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.ortkacheln a:hover { transform: translateY(-1px); box-shadow: var(--schatten); }
h1, h2 { font-weight: 800; }

[hidden] { display: none !important; }

/* Laden vs. Tanken */
.vergleich-liste { list-style:none; padding:0; margin:0 0 8px; display:grid; gap:8px; max-width:820px; }
.vergleich-liste li { display:grid; grid-template-columns: minmax(150px, 1.2fr) 2fr auto; align-items:center; gap:12px;
  background:var(--karte); border:1px solid var(--rand); border-radius:var(--radius); padding:12px 16px; }
.vergleich-name { font-weight:600; } .vergleich-name small { display:block; font-weight:400; color:var(--leise); font-size:13px; }
.vergleich-balken { width:100%; height:12px; } .vergleich-balken rect { fill:var(--akzent); }
.vergleich-e5 .vergleich-balken rect, .vergleich-diesel .vergleich-balken rect { fill:var(--leise); }
.vergleich-liste b { font-size:20px; letter-spacing:-.02em; min-width:5.5em; text-align:right; }
.vergleich > .klein { max-width:820px; }
@media (max-width: 560px) {
  .vergleich-liste li { grid-template-columns: 1fr auto; }
  .vergleich-balken { grid-column: 1 / -1; grid-row: 2; }
}
.popup .vergleich-popup { margin-top:4px; }
.popup .vergleich-popup .spar { color:var(--frei); font-weight:600; } .popup .vergleich-popup .mehr { color:var(--gestoert); font-weight:600; }

/* Farbschema: hell Standard, dunkel per Umschalter; Druck immer hell. Kopf/Seitenleiste immer im Logo-Dunkelgrün. */
:root { color-scheme: light; } :root[data-thema="dunkel"] { color-scheme: dark; }
@media print { :root[data-thema="dunkel"] { color-scheme: light; --text:#111827; --leise:#6b7280; --rand:#e5e7eb; --grund:#f6f7f9; --karte:#ffffff; --flaeche:#f1f3f5; --akzent:#0b6e4f; --akzent-hell:#e7f4ee; --akzent-text:#ffffff; } }
.maplibregl-popup-content { background:var(--karte) !important; color:var(--text); }
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip, .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip, .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { border-top-color:var(--karte) !important; }
.maplibregl-popup-anchor-top .maplibregl-popup-tip, .maplibregl-popup-anchor-top-left .maplibregl-popup-tip, .maplibregl-popup-anchor-top-right .maplibregl-popup-tip { border-bottom-color:var(--karte) !important; }
.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color:var(--karte) !important; } .maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color:var(--karte) !important; }
.maplibregl-popup-close-button { color:var(--leise); }
:root[data-thema="dunkel"] .popup .knopf-klein { background:var(--flaeche); color:var(--text); border-color:var(--rand); }
:root[data-thema="dunkel"] .popup .knopf-klein.primaer { background:var(--akzent); color:var(--akzent-text); border-color:var(--akzent); }
:root[data-thema="dunkel"] .popup .bezahl { background:var(--flaeche); color:var(--leise); border-color:var(--rand); }
:root[data-thema="dunkel"] .popup .bezahl.ohne-vertrag { background:var(--akzent-hell); color:var(--akzent); }
:root[data-thema="dunkel"] .popup-titel { color:var(--leise); }
:root[data-thema="dunkel"] .knopf-klein[aria-pressed="true"] { color:#ffd36b; background:#3a2e0b; }
:root[data-thema="dunkel"] .warnung { background:#3a2e0b; color:#ffd36b; }
:root[data-thema="dunkel"] .maplibregl-ctrl-group { background:var(--karte); } :root[data-thema="dunkel"] .maplibregl-ctrl-group button + button { border-top-color:var(--rand); }
:root[data-thema="dunkel"] .maplibregl-ctrl button .maplibregl-ctrl-icon { filter: invert(1); }
:root[data-thema="dunkel"] .maplibregl-ctrl-attrib { background:rgba(22,27,34,.75) !important; } :root[data-thema="dunkel"] .maplibregl-ctrl-attrib a { color:var(--leise); }
.thema-knopf { display:inline-grid; place-items:center; width:36px; height:36px; border-radius:999px; border:1px solid var(--rand); background:var(--karte); color:var(--text); cursor:pointer; }
.thema-knopf svg { width:18px; height:18px; fill:currentColor; }

/* Kopf immer im Logo-Dunkelgrün (Logo steht auf dunklem Grund) */
.kopf { background:#0f2a24 !important; border-bottom-color:#0f2a24; }
.kopf .marke { color:#ffffff; }
.kopf .thema-knopf { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.18); color:#ffffff; }
.kopf #installieren { background:rgba(255,255,255,.1); color:#ffffff; border-color:rgba(255,255,255,.2); }
@media (min-width: 761px) {
  .kopf .hauptnav a { color:#c4d3cd; }
  .kopf .hauptnav a:hover { background:rgba(255,255,255,.08); color:#ffffff; }
  .kopf .hauptnav a.aktiv { background:rgba(52,211,153,.16); color:#34d399; }
}

/* Details am Handy: Blatt von unten */
.blatt-unten { position:fixed; inset:auto 0 0 0; margin:0; width:100%; max-width:none; max-height:85vh; overflow-y:auto;
  border:0; border-radius:20px 20px 0 0; padding:8px 16px calc(20px + env(safe-area-inset-bottom));
  background:var(--karte); color:var(--text); box-shadow:0 -10px 40px rgba(0,0,0,.25); }
.blatt-unten::backdrop { background:rgba(15,23,42,.35); }
.blatt-griff { width:40px; height:5px; border-radius:3px; background:var(--rand); margin:2px auto 6px; }
.blatt-zu { position:sticky; top:0; float:right; z-index:1; }
.blatt-unten .popup { padding-top:4px; }

/* iPhone/Chrome färben automatisch ausgefüllte Felder gelb – im Suchfeld unerwünscht */
.suchleiste input:-webkit-autofill, .suchleiste input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 40px var(--karte) inset; box-shadow: 0 0 0 40px var(--karte) inset; -webkit-text-fill-color: var(--text);
}
