/* Echt Stuttgart App – Gestaltung
   Schriften: Fraunces (Ueberschriften, Zahlen), Inter (alles andere) – lokal ausgeliefert, kein Google.
   Farben: Echt-Rot #B00009, Ressortfarben wie auf der Website. */

@font-face { font-family: 'Fraunces'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/fraunces-600.woff') format('woff'); }
@font-face { font-family: 'Fraunces'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/fraunces-700.woff') format('woff'); }
@font-face { font-family: 'Fraunces'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/fraunces-400i.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/inter-400.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/inter-500.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/inter-600.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-style: normal; font-display: swap; src: url('fonts/inter-800.woff') format('woff'); }

:root {
  --papier: #FFFFFF;
  --grund: #EEEFF2;
  --flaeche: #F4F5F7;
  --tinte: #111111;
  --text: #2A2B2F;
  --grau: #686970;
  --hell: #8E8F96;
  --linie: #E3E4E8;
  --rot: #B00009;
  --rot-text: #B00009;
  --rot-flaeche: #FBEDEE;
  --nacht: #15171C;
  --logo-rot: #B00009;
  --gruen: #1A8A4A;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --sa-t: env(safe-area-inset-top, 0px);
  --sa-b: env(safe-area-inset-bottom, 0px);
  --kopf-h: 62px;
  --leiste-h: 64px;
  --breite: 680px;
  --r: 8px;
  --schatten: 0 1px 2px rgba(17, 17, 17, .06), 0 6px 24px rgba(17, 17, 17, .07);
  --a-schrift: 17.5px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="hell"]) {
    --papier: #16171A; --grund: #0B0C0E; --flaeche: #202227; --tinte: #F2F2F4; --text: #D8D9DD;
    --grau: #A0A1A8; --hell: #75767D; --linie: #2B2D33; --rot-text: #FF5A62; --rot-flaeche: #3A1518;
    --nacht: #0F1013; --logo-rot: #E0303A; --gruen: #3BC27A;
    --schatten: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dunkel"] {
  --papier: #16171A; --grund: #0B0C0E; --flaeche: #202227; --tinte: #F2F2F4; --text: #D8D9DD;
  --grau: #A0A1A8; --hell: #75767D; --linie: #2B2D33; --rot-text: #FF5A62; --rot-flaeche: #3A1518;
  --nacht: #0F1013; --logo-rot: #E0303A; --gruen: #3BC27A;
  --schatten: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--grund); }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent;
}
body.gesperrt { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--rot-text); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.es { max-width: var(--breite); margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--papier); position: relative; }

/* ---------------- Kopf ---------------- */
.kopf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  max-width: var(--breite); margin: 0 auto;
  padding-top: var(--sa-t); background: var(--papier);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.ist-app .kopf::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: var(--sa-t); background: #000; }
.kopf.mit-linie { border-bottom-color: var(--linie); }
.kopf-in { height: var(--kopf-h); display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 16px; }
.kopf-logo { display: block; color: var(--tinte); line-height: 0; }
.es-logo { height: 42px; width: auto; display: block; }
.kopf-akt { display: flex; gap: 2px; }
.knopf-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 22px; color: var(--tinte); }
.knopf-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.knopf-icon:active { background: var(--flaeche); }

.ptr { position: absolute; left: 50%; top: calc(var(--sa-t) + var(--kopf-h) + 8px); width: 28px; height: 28px; margin-left: -14px; opacity: 0; pointer-events: none; }
.ptr span { display: block; width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--linie); border-top-color: var(--rot-text); }
.ptr.laedt span { animation: dreh .8s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }

/* ---------------- Buehne + Leiste ---------------- */
.buehne { padding-top: calc(var(--sa-t) + var(--kopf-h)); padding-bottom: calc(var(--leiste-h) + var(--sa-b) + 24px); min-height: 100vh; }
.leiste {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; max-width: var(--breite); margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--leiste-h) + var(--sa-b)); padding-bottom: var(--sa-b);
  background: var(--papier); border-top: 1px solid var(--linie);
}
.leiste a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--hell); font: 600 11px/1 var(--sans); letter-spacing: .01em; position: relative; }
.leiste .ik { width: 56px; height: 30px; border-radius: 15px; display: grid; place-items: center; transition: background .2s; }
.leiste svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.leiste svg .f, .tool-ik svg .f, .schnell-chip svg .f { fill: transparent; transition: fill .2s; }
.leiste a:active .ik { background: var(--flaeche); }
.leiste a[aria-current="page"] { color: var(--tinte); }
.leiste a[aria-current="page"] .ik { background: var(--rot-flaeche); }
.leiste a[aria-current="page"] svg { stroke: var(--rot-text); stroke-width: 1.9; }
.leiste a[aria-current="page"] svg .f { fill: var(--rot-text); fill-opacity: .2; }
.leiste a .punkt { position: absolute; top: 8px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 4px; background: var(--rot); border: 2px solid var(--papier); }

/* ---------------- Typografische Bausteine ---------------- */
.dach { margin: 0 0 4px; font: 800 12px/1.3 var(--sans); letter-spacing: .02em; color: var(--rot-text); }
.titel-xl { margin: 0; font: 700 30px/1.1 var(--serif); color: var(--tinte); letter-spacing: -.01em; }
.titel-l { margin: 0; font: 700 26px/1.14 var(--serif); color: var(--tinte); letter-spacing: -.005em; }
.titel-m { margin: 0; font: 600 18px/1.24 var(--serif); color: var(--tinte); }
.titel-s { margin: 0; font: 600 16px/1.28 var(--serif); color: var(--tinte); }
.meta { margin: 6px 0 0; font: 500 12.5px/1.4 var(--sans); color: var(--grau); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.meta .ressort { font-weight: 600; color: var(--rf, var(--grau)); }
.marke { display: inline-block; font: 700 11px/1 var(--sans); padding: 4px 7px 4px; border-radius: 4px; letter-spacing: .02em; vertical-align: 2px; }
.marke--eil { background: var(--rot); color: #fff; }
.marke--anz { border: 1px solid var(--linie); color: var(--grau); padding: 3px 6px; }
.block { padding: 26px 16px 28px; border-top: 8px solid var(--grund); }
.block:first-child { border-top: 0; }
.block-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.block-titel { margin: 0; font: 700 22px/1.2 var(--serif); color: var(--tinte); }
.block-sub { margin: 4px 0 0; font: 400 14px/1.45 var(--sans); color: var(--grau); }
.block-link { font: 600 14px/1.2 var(--sans); color: var(--rot-text); white-space: nowrap; }
.quelle { margin: 14px 0 0; font: 400 12px/1.45 var(--sans); color: var(--hell); }
.quelle a { text-decoration: underline; text-underline-offset: 2px; }
.leer { padding: 40px 20px; color: var(--grau); font-size: 15px; }
.leer h3 { margin: 0 0 6px; font: 700 20px/1.25 var(--serif); color: var(--tinte); }
.leer p { margin: 0 0 14px; max-width: 34em; }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 22px; font: 600 15px/1 var(--sans); background: var(--tinte); color: var(--papier); }
.knopf--rot { background: var(--rot); color: #fff; }
.knopf--rand { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--linie); }
.knopf--klein { min-height: 36px; padding: 0 14px; font-size: 14px; }
.knopf--breit { width: 100%; }
.knopf:disabled { opacity: .5; }
.knopf:active { transform: scale(.98); }

/* ---------------- Aktuell: Datumszeile, Live-Chips ---------------- */
.ausgabe { padding: 6px 16px 2px; }
.ausgabe-datum { margin: 0; font: 400 italic 17px/1.3 var(--serif); color: var(--grau); }
.live { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 6px; scrollbar-width: none; }
.live::-webkit-scrollbar { display: none; }
.live-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 10px; border-radius: 17px; background: var(--flaeche); font: 600 13.5px/1 var(--sans); color: var(--text); }
.live-chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.live-chip .ok { color: var(--gruen); }
.live-chip .warn { color: var(--rot-text); }

.hinweis-zeile { margin: 10px 16px 0; padding: 12px 14px; border-radius: var(--r); background: var(--rot-flaeche); color: var(--tinte); font: 600 14.5px/1.4 var(--sans); display: block; }

/* Ressort-Leiste */
.chips-wrap { position: sticky; top: calc(var(--sa-t) + var(--kopf-h)); z-index: 10; background: var(--papier); border-bottom: 1px solid var(--linie); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; height: 34px; padding: 0 14px; border-radius: 17px; box-shadow: inset 0 0 0 1px var(--linie); font: 600 14px/34px var(--sans); color: var(--text); white-space: nowrap; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--rf, var(--rot)); display: inline-block; }
.chip[aria-pressed="true"] { background: var(--tinte); color: var(--papier); box-shadow: none; }
.chip-zahl { font-weight: 500; color: var(--hell); }

/* ---------------- Beitraege ---------------- */
.liste { list-style: none; margin: 0; padding: 0; }
.aufmacher { display: block; padding: 0 0 22px; border-bottom: 1px solid var(--linie); }
.aufmacher .bild { aspect-ratio: 3 / 2; }
.aufmacher-text { padding: 16px 16px 0; }
.aufmacher .titel-l { font-size: 28px; }
.anriss { margin: 10px 0 0; font: 400 16px/1.5 var(--sans); color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.bild { position: relative; overflow: hidden; background: var(--flaeche); }
.bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bild--leer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--flaeche), var(--linie)); }

.eintrag { display: grid; grid-template-columns: 1fr 96px; gap: 14px; padding: 16px; border-bottom: 1px solid var(--linie); align-items: start; }
.eintrag--ohne-bild { grid-template-columns: 1fr; }
.eintrag .bild { width: 96px; height: 96px; border-radius: 6px; }
.eintrag .titel-m { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.eintrag:active, .aufmacher:active, .gross:active { background: var(--flaeche); }

.gross { display: block; padding: 18px 16px 18px; border-bottom: 1px solid var(--linie); }
.gross .bild { aspect-ratio: 16 / 9; border-radius: 6px; margin-bottom: 12px; }
.gross .titel-m { font-size: 21px; line-height: 1.2; }

.mehr-status { padding: 22px 16px 8px; text-align: center; color: var(--hell); font-size: 14px; }
.skelett { background: linear-gradient(90deg, var(--flaeche) 0%, var(--linie) 50%, var(--flaeche) 100%); background-size: 200% 100%; animation: schimmer 1.3s ease-in-out infinite; border-radius: 4px; }
@keyframes schimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.sk-zeile { height: 14px; margin: 8px 0; }
.sk-titel { height: 20px; margin: 6px 0; }

/* Meistgelesen */
.meist { padding: 24px 0 20px; border-bottom: 1px solid var(--linie); background: var(--flaeche); }
.meist .block-kopf { padding: 0 16px; }
.meist-reihe { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 4px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.meist-reihe::-webkit-scrollbar { display: none; }
.meist-karte { flex: 0 0 76%; max-width: 300px; scroll-snap-align: start; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 14px 16px; background: var(--papier); border-radius: var(--r); }
.meist-nr { font: 700 40px/.9 var(--serif); color: var(--rot-text); font-variant-numeric: lining-nums; min-width: 26px; }
.meist-karte .titel-s { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Partnerplatz */
.partner { display: block; margin: 0; padding: 14px 16px 18px; background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.partner-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font: 600 12px/1 var(--sans); color: var(--grau); }
.partner-kopf b { font-weight: 800; color: var(--grau); letter-spacing: .02em; }
.partner-inhalt { display: grid; grid-template-columns: 1fr; gap: 12px; background: var(--papier); border-radius: var(--r); overflow: hidden; box-shadow: var(--schatten); }
.partner .bild { aspect-ratio: 2 / 1; }
.partner-text { padding: 2px 14px 16px; }
.partner-text p { margin: 6px 0 12px; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.partner .knopf { min-height: 38px; font-size: 14px; }

/* Systemkarten im Feed (Installieren, Eilmeldungen) */
.karte-hinweis { margin: 14px 16px; padding: 16px; border-radius: var(--r); background: var(--nacht); color: #F2F2F4; position: relative; }
.karte-hinweis h3 { margin: 0 34px 6px 0; font: 700 19px/1.25 var(--serif); color: #fff; }
.karte-hinweis p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.45; color: #C9CAD0; }
.karte-hinweis .knopf { background: #fff; color: #111; }
.karte-hinweis .knopf--rand { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.karte-hinweis .zu { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; display: grid; place-items: center; color: #9A9BA1; }
.karte-hinweis .zu svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.knopf-reihe { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------- Ansichten (Artikel, Ressort, Viertel) ---------------- */
.ebene { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.ansicht {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0; max-width: var(--breite); margin: 0 auto;
  background: var(--papier); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  pointer-events: auto; transform: translateX(0); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
  padding-bottom: calc(var(--sa-b) + 40px);
}
.ansicht.rein { transform: translateX(100%); }
.ansicht.raus { transform: translateX(100%); }
.ansicht.verdeckt { transform: translateX(-18%); }
.ansicht-leiste {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 2px;
  padding: var(--sa-t) 4px 0; height: calc(var(--sa-t) + 52px);
  background: var(--papier); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.ist-app .ansicht-leiste::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: var(--sa-t); background: #000; }
.ansicht-leiste.mit-linie { border-bottom-color: var(--linie); }
.ansicht-leiste .knopf-icon svg { width: 24px; height: 24px; }
.ansicht-titel { flex: 1; min-width: 0; font: 600 15px/1.2 var(--sans); color: var(--tinte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .2s; }
.ansicht-leiste.mit-linie .ansicht-titel, .ansicht-titel.immer { opacity: 1; }
.knopf-icon.an svg { fill: var(--rot-text); stroke: var(--rot-text); }
.fortschritt { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--rot); width: 0; }

.seite-kopf { padding: 8px 16px 16px; }
.seite-kopf .block-sub { max-width: 34em; }
.seite-kopf--farbe { border-top: 4px solid var(--rf, var(--rot)); padding-top: 18px; }

/* ---------------- Artikel ---------------- */
.a-bild { margin: 0; }
.a-bild .bild { aspect-ratio: 3 / 2; }
.a-bild figcaption { padding: 8px 16px 0; font: 400 12.5px/1.45 var(--sans); color: var(--grau); }
.a-kopf { padding: 18px 16px 0; }
.a-kopf .titel-xl { font-size: 30px; }
.a-lead { margin: 14px 0 0; font: 600 calc(var(--a-schrift) + .5px)/1.5 var(--sans); color: var(--tinte); }
.a-meta { margin: 16px 0 0; padding: 14px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); font: 500 13.5px/1.5 var(--sans); color: var(--grau); }
.a-meta strong { color: var(--tinte); font-weight: 600; }
.a-text { padding: 6px 16px 8px; font: 400 var(--a-schrift)/1.65 var(--sans); color: var(--text); overflow-wrap: break-word; }
.a-text > * { max-width: 36em; }
.a-text p { margin: 0 0 1.05em; }
.a-text h2 { margin: 1.6em 0 .5em; font: 700 calc(var(--a-schrift) + 5.5px)/1.22 var(--serif); color: var(--tinte); }
.a-text h3, .a-text h4 { margin: 1.4em 0 .4em; font: 600 calc(var(--a-schrift) + 2.5px)/1.28 var(--serif); color: var(--tinte); }
.a-text a { color: var(--rot-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.a-text strong { color: var(--tinte); font-weight: 600; }
.a-text ul, .a-text ol { margin: 0 0 1.1em; padding-left: 1.25em; }
.a-text li { margin: 0 0 .45em; }
.a-text li::marker { color: var(--rot-text); }
.a-text blockquote { margin: 1.4em 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--rot); font: 400 italic calc(var(--a-schrift) + 2px)/1.5 var(--serif); color: var(--tinte); }
.a-text blockquote p:last-child { margin-bottom: 0; }
.a-text figure { margin: 1.4em -16px; max-width: none; }
.a-text figure img { width: 100%; height: auto; background: var(--flaeche); }
.a-text figcaption { padding: 8px 16px 0; font: 400 12.5px/1.45 var(--sans); color: var(--grau); }
.a-text hr { border: 0; border-top: 1px solid var(--linie); margin: 2em 0; }
.a-text .tabelle { overflow-x: auto; margin: 0 0 1.2em; }
.a-text table { border-collapse: collapse; font-size: 14.5px; min-width: 100%; }
.a-text th, .a-text td { border-bottom: 1px solid var(--linie); padding: 8px 10px 8px 0; text-align: left; vertical-align: top; }
.a-text blockquote[data-es="einbettung"], .a-text p[data-es] { font: inherit; border: 0; padding: 0; margin: 1.4em 0; }
.a-text blockquote[data-es="einbettung"] a, .a-text p[data-es] a {
  display: grid; grid-template-columns: 1fr 22px; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r);
  background: var(--flaeche); text-decoration: none; color: var(--tinte); font: 600 16px/1.3 var(--serif);
}
.a-text blockquote[data-es="einbettung"] a::before { content: 'Auch lesenswert'; grid-column: 1 / -1; font: 800 11.5px/1 var(--sans); color: var(--rot-text); letter-spacing: .02em; }
.a-text p[data-es] a { font: 600 15px/1.3 var(--sans); }
.a-text p[data-es] a::after, .a-text blockquote[data-es="einbettung"] a::after { content: ''; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--pfeil) center / 20px no-repeat; mask: var(--pfeil) center / 20px no-repeat; grid-row: span 1; }
.a-text p[data-es="video"] a::after { -webkit-mask-image: var(--play); mask-image: var(--play); }
:root { --pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); --play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='black'/%3E%3C/svg%3E"); }
.a-text blockquote[data-es="social"] { font: 400 15px/1.5 var(--sans); border-left-color: var(--linie); }
.a-ende { padding: 8px 16px 0; }
.a-aktionen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 8px; }
.a-aktionen .knopf { width: 100%; }
.a-dank { margin: 26px 0 0; padding: 18px; border-radius: var(--r); background: var(--flaeche); }
.a-dank h3 { margin: 0 0 6px; font: 700 18px/1.25 var(--serif); color: var(--tinte); }
.a-dank p { margin: 0 0 12px; font-size: 14.5px; color: var(--text); }
.a-fehler { padding: 30px 16px; }

/* ---------------- Heute: der Kesselblick ---------------- */
.kessel { position: relative; color: #fff; padding: 22px 18px 0; overflow: hidden; background: linear-gradient(180deg, var(--h1), var(--h2)); --h1: #2F6FB3; --h2: #7FB6E6; }
.kessel[data-himmel="klar"]     { --h1: #1F5FA8; --h2: #79B4E6; }
.kessel[data-himmel="wolkig"]   { --h1: #4D5D70; --h2: #93A3B4; }
.kessel[data-himmel="regen"]    { --h1: #2E3B4C; --h2: #627488; }
.kessel[data-himmel="gewitter"] { --h1: #221D35; --h2: #4B4268; }
.kessel[data-himmel="schnee"]   { --h1: #4F6884; --h2: #95A9BF; }
.kessel[data-himmel="nebel"]    { --h1: #6A7077; --h2: #A3A8AE; }
.kessel[data-himmel="hitze"]    { --h1: #B0461A; --h2: #EE9A3C; }
.kessel[data-himmel="frost"]    { --h1: #2E5A80; --h2: #8DB5D6; }
.kessel[data-himmel="nacht"]    { --h1: #0A1428; --h2: #23385E; }
.kessel-gruss { margin: 0; font: 700 25px/1.15 var(--serif); letter-spacing: -.005em; }
.kessel-datum { margin: 4px 0 0; font: 500 14px/1.4 var(--sans); color: rgba(255,255,255,.82); }
.kessel-wetter { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: end; margin-top: 14px; }
.kessel-temp { font: 700 88px/.86 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.kessel-lage { padding-bottom: 6px; font: 600 16px/1.3 var(--sans); }
.kessel-lage span { display: block; font-weight: 500; font-size: 13.5px; color: rgba(255,255,255,.82); margin-top: 3px; }
.kessel-kom { margin: 16px 0 0; max-width: 30em; font: 400 italic 17px/1.45 var(--serif); color: rgba(255,255,255,.95); }
.kessel-bild { position: relative; margin: 2px -18px 0; height: 134px; }
.kessel-bild svg { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 134px; }
.kessel-sonne { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; font: 600 12px/1 var(--sans); color: var(--grau); z-index: 2; }
.kessel-tag { padding: 6px 16px 18px; font: 500 14px/1.45 var(--sans); color: var(--grau); }
.kessel-tag strong { color: var(--tinte); font-weight: 600; }

.stunden { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
.stunden::-webkit-scrollbar { display: none; }
.stunde { flex: 0 0 58px; text-align: center; padding: 10px 0 12px; border-radius: var(--r); background: var(--flaeche); }
.stunde b { display: block; font: 600 12px/1 var(--sans); color: var(--grau); }
.stunde svg { width: 26px; height: 26px; margin: 8px auto 6px; display: block; fill: none; stroke: var(--tinte); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stunde strong { display: block; font: 700 18px/1 var(--serif); color: var(--tinte); }
.stunde small { display: block; margin-top: 5px; font: 600 11px/1 var(--sans); color: #2F7BC0; min-height: 11px; }
.tage { list-style: none; margin: 18px 0 0; padding: 0; }
.tage li { display: grid; grid-template-columns: 74px 28px 1fr 44px; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--linie); font: 500 15px/1.2 var(--sans); }
.tage li:last-child { border-bottom: 0; }
.tage svg { width: 24px; height: 24px; fill: none; stroke: var(--tinte); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tage .spanne { position: relative; height: 6px; border-radius: 3px; background: var(--flaeche); }
.tage .spanne i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(90deg, #6BA7D9, #F0A23B); }
.tage .grad { font: 600 15px/1 var(--sans); color: var(--tinte); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tage .grad span { color: var(--hell); font-weight: 500; }
.tage .tagname { color: var(--tinte); font-weight: 600; }
.tage .tagname small { display: block; color: #2F7BC0; font-size: 11.5px; font-weight: 600; margin-top: 2px; }
.luft { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.luft span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 15px; background: var(--flaeche); font: 600 13px/1 var(--sans); color: var(--text); }
.luft span i { width: 9px; height: 9px; border-radius: 50%; }

/* Fahrplan */
.vvs-status { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; margin-bottom: 4px; }
.vvs-status .ring { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--flaeche); }
.vvs-status .ring svg { width: 20px; height: 20px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vvs-status p { margin: 0; font: 600 16px/1.35 var(--sans); color: var(--tinte); }
.vvs-liste { list-style: none; margin: 12px 0 0; padding: 0; }
.vvs-liste li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--linie); font: 400 14.5px/1.45 var(--sans); }
.linien { display: flex; flex-wrap: wrap; gap: 4px; width: 66px; align-content: flex-start; }
.linie { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 5px; border-radius: 4px; font: 800 12px/1 var(--sans); color: #fff; background: #5F6068; }
.linie--s { background: #2E8B3E; border-radius: 11px; }
.linie--u { background: #1167B1; }
.linie--n { background: #1F2A44; }
.linie--r { background: #8A1C2A; }
.vvs-liste small { display: block; margin-top: 3px; color: var(--grau); font-size: 12.5px; }

/* Termine */
.tag-kopf { margin: 18px 0 4px; font: 700 13px/1 var(--sans); color: var(--grau); letter-spacing: .02em; }
.tag-kopf:first-child { margin-top: 0; }
.termine { list-style: none; margin: 0; padding: 0; }
.termin { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.termin-zeit { font: 700 17px/1.2 var(--serif); color: var(--tinte); font-variant-numeric: tabular-nums; }
.termin-zeit small { display: block; font: 600 11.5px/1.2 var(--sans); color: var(--grau); }
.termin h3 { margin: 0; font: 600 15.5px/1.3 var(--sans); color: var(--tinte); }
.termin p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--grau); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Feste */
.fest { padding: 14px 0; border-bottom: 1px solid var(--linie); }
.fest:last-child { border-bottom: 0; }
.fest h3 { margin: 0; font: 600 17px/1.25 var(--serif); color: var(--tinte); }
.fest p { margin: 3px 0 0; font-size: 13.5px; color: var(--grau); }
.fest-stand { display: flex; justify-content: space-between; margin-top: 10px; font: 600 13px/1 var(--sans); color: var(--tinte); }
.balken { margin-top: 7px; height: 6px; border-radius: 3px; background: var(--flaeche); overflow: hidden; }
.balken i { display: block; height: 100%; background: var(--rot); border-radius: 3px; }

/* Wohin heute */
.tipps { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.tipps::-webkit-scrollbar { display: none; }
.tipp { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; border-radius: var(--r); overflow: hidden; background: var(--flaeche); display: block; }
.tipp .bild { aspect-ratio: 4 / 3; }
.tipp-text { padding: 12px 14px 16px; }
.tipp-text b { display: block; font: 800 11.5px/1 var(--sans); color: var(--rot-text); letter-spacing: .02em; margin-bottom: 6px; }
.tipp-text h3 { margin: 0 0 6px; font: 600 18px/1.22 var(--serif); color: var(--tinte); }
.tipp-text p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text); }

/* Gut zu wissen */
.wissen { list-style: none; margin: 0; padding: 0; }
.wissen li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.wissen li:last-child { border-bottom: 0; }
.wissen svg { width: 22px; height: 22px; fill: none; stroke: var(--rot-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.wissen b { display: block; font: 600 15px/1.35 var(--sans); color: var(--tinte); }
.wissen span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--grau); margin-top: 2px; }

/* Kalenderblatt */
.kalender { background: var(--nacht); color: #E9E9EC; border-top-color: var(--grund); }
.kalender .block-titel { color: #fff; }
.kalender .block-sub { color: #A6A7AE; }
.kb-eintrag { padding: 16px 0 0; }
.kb-eintrag + .kb-eintrag { border-top: 1px solid #2C2E35; margin-top: 16px; }
.kb-jahr { display: block; font: 700 44px/1 var(--serif); color: #FF5A62; font-variant-numeric: lining-nums; letter-spacing: -.01em; }
.kb-eintrag h3 { margin: 8px 0 6px; font: 600 20px/1.25 var(--serif); color: #fff; }
.kb-eintrag p { margin: 0; font-size: 15px; line-height: 1.55; color: #C9CAD0; max-width: 34em; }
.kalender .knopf--rand { color: #fff; box-shadow: inset 0 0 0 1.5px #3A3C44; margin-top: 18px; }

/* ---------------- Entdecken ---------------- */
.seiten-titel { padding: 18px 16px 6px; }
.seiten-titel h1 { margin: 0; font: 700 34px/1.05 var(--serif); color: var(--tinte); letter-spacing: -.01em; }
.viertel-karte { border-radius: var(--r); background: var(--flaeche); padding: 16px; }
.viertel-name { margin: 0; font: 700 26px/1.1 var(--serif); color: var(--tinte); }
.viertel-zahl { margin: 4px 0 0; font-size: 14px; color: var(--grau); }
.viertel-liste { list-style: none; margin: 12px 0 0; padding: 0; }
.viertel-liste a { display: block; padding: 11px 0; border-top: 1px solid var(--linie); }
.viertel-auswahl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.vfb-kopf { display: flex; align-items: center; gap: 10px; }
.vfb-kopf::before { content: ''; width: 4px; height: 26px; background: var(--rot); border-radius: 2px; }
.vfb-spiel { margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--flaeche); }
.vfb-wann { margin: 0; font: 600 13px/1.3 var(--sans); color: var(--grau); }
.vfb-paar { margin: 8px 0 0; font: 700 21px/1.2 var(--serif); color: var(--tinte); }
.vfb-paar span { color: var(--hell); font-weight: 600; }
.vfb-count { margin: 10px 0 0; font: 600 14px/1.3 var(--sans); color: var(--rot-text); }
.ergebnisse { list-style: none; margin: 14px 0 0; padding: 0; }
.ergebnisse li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linie); font: 500 14.5px/1.3 var(--sans); color: var(--text); }
.erg { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; font: 800 12.5px/1 var(--sans); color: #fff; }
.erg--s { background: #1A8A4A; }
.erg--u { background: #7A7B82; }
.erg--n { background: #C2410C; }
.ergebnisse b { font: 700 16px/1 var(--serif); color: var(--tinte); font-variant-numeric: tabular-nums; }
.tabelle-mini { width: 100%; border-collapse: collapse; margin-top: 14px; font: 500 14px/1.2 var(--sans); }
.tabelle-mini td { padding: 8px 4px; border-bottom: 1px solid var(--linie); color: var(--text); font-variant-numeric: tabular-nums; }
.tabelle-mini td:first-child { width: 28px; color: var(--grau); }
.tabelle-mini td.z { text-align: right; width: 44px; }
.tabelle-mini tr.vfb td { font-weight: 700; color: var(--tinte); }
.tabelle-mini tr.vfb td:first-child { color: var(--rot-text); }

.frage { border-radius: var(--r); padding: 18px 16px; background: var(--flaeche); }
.frage-f { margin: 0; font: 700 21px/1.25 var(--serif); color: var(--tinte); }
.frage-a { margin: 12px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.frage .knopf { margin-top: 14px; }

.specials { list-style: none; margin: 0; padding: 0; }
.specials a { display: grid; grid-template-columns: 4px 1fr 20px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.specials li:last-child a { border-bottom: 0; }
.specials .farbe { align-self: stretch; border-radius: 2px; background: var(--sf); }
.specials h3 { margin: 0; font: 600 17px/1.25 var(--serif); color: var(--tinte); }
.specials p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--grau); }
.pfeil { width: 20px; height: 20px; fill: none; stroke: var(--hell); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.zeilen { list-style: none; margin: 0; padding: 0; }
.zeilen a, .zeilen button { width: 100%; display: grid; grid-template-columns: 1fr auto 20px; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--linie); text-align: left; font: 500 16px/1.3 var(--sans); color: var(--tinte); }
.zeilen li:last-child a, .zeilen li:last-child button { border-bottom: 0; }
.zeilen .zahl { font: 500 13.5px/1 var(--sans); color: var(--hell); }
.zeilen .rf { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rf); margin-right: 10px; vertical-align: 1px; }

/* ---------------- Suche ---------------- */
.suchfeld-wrap { position: sticky; top: calc(var(--sa-t) + var(--kopf-h)); z-index: 10; background: var(--papier); padding: 8px 16px 12px; }
.suchfeld { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 6px 0 14px; border-radius: 23px; background: var(--flaeche); }
.suchfeld svg { width: 20px; height: 20px; fill: none; stroke: var(--grau); stroke-width: 2; stroke-linecap: round; flex: none; }
.suchfeld input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: 500 17px/1 var(--sans); color: var(--tinte); outline: none; -webkit-appearance: none; appearance: none; }
.suchfeld input::placeholder { color: var(--hell); }
.suchfeld input::-webkit-search-cancel-button { display: none; }
.suchfeld .leeren { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 17px; }
.such-gruppe { padding: 12px 16px 6px; }
.such-gruppe h2 { margin: 0 0 10px; font: 700 13px/1 var(--sans); color: var(--grau); letter-spacing: .02em; }
.chips-umbruch { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------- Gemerkt ---------------- */
.umschalter { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 12px 16px 6px; padding: 4px; border-radius: 12px; background: var(--flaeche); }
.umschalter button { height: 38px; border-radius: 9px; font: 600 14.5px/1 var(--sans); color: var(--grau); }
.umschalter button[aria-pressed="true"] { background: var(--papier); color: var(--tinte); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.lesestand { height: 3px; border-radius: 2px; background: var(--flaeche); margin-top: 9px; overflow: hidden; }
.lesestand i { display: block; height: 100%; background: var(--rot); }
.gm { display: grid; grid-template-columns: 1fr 44px; border-bottom: 1px solid var(--linie); }
.gm .eintrag { border-bottom: 0; padding-right: 4px; }
.entfernen { width: 44px; height: 44px; margin-top: 10px; display: grid; place-items: center; color: var(--hell); }
.entfernen svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------------- Blatt (Einstellungen, Hinweise) ---------------- */
.blatt-hg { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.42); opacity: 0; transition: opacity .2s; }
.blatt-hg.offen { opacity: 1; }
.blatt {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-width: var(--breite); margin: 0 auto;
  max-height: calc(100vh - var(--sa-t) - 24px); max-height: calc(100dvh - var(--sa-t) - 24px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--papier); border-radius: 16px 16px 0 0; padding: 8px 16px calc(var(--sa-b) + 24px);
  transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
}
.blatt.offen { transform: translateY(0); }
.blatt-griff { width: 40px; height: 5px; border-radius: 3px; background: var(--linie); margin: 2px auto 12px; }
.blatt-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.blatt-kopf h2 { margin: 0; font: 700 24px/1.2 var(--serif); color: var(--tinte); }
.gruppe { margin: 18px 0 0; }
.gruppe h3 { margin: 0 0 8px; font: 700 13px/1 var(--sans); color: var(--grau); letter-spacing: .02em; }
.gruppe-box { border-radius: 12px; background: var(--flaeche); padding: 2px 14px; }
.reihe { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 50px; padding: 10px 0; border-bottom: 1px solid var(--linie); font: 500 15.5px/1.35 var(--sans); color: var(--tinte); width: 100%; text-align: left; }
.gruppe-box > :last-child { border-bottom: 0; }
.reihe small { display: block; font-size: 13px; color: var(--grau); font-weight: 400; margin-top: 2px; }
.reihe .wert { color: var(--grau); font-weight: 500; white-space: nowrap; }
.segment { display: inline-grid; grid-auto-flow: column; gap: 2px; padding: 3px; border-radius: 10px; background: var(--grund); }
.segment button { height: 32px; padding: 0 11px; border-radius: 8px; font: 600 13.5px/1 var(--sans); color: var(--grau); }
.segment button[aria-pressed="true"] { background: var(--papier); color: var(--tinte); box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.schalter { position: relative; width: 51px; height: 31px; flex: none; border-radius: 16px; background: var(--linie); transition: background .2s; }
.schalter::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; }
.schalter[aria-checked="true"] { background: var(--gruen); }
.schalter[aria-checked="true"]::after { transform: translateX(20px); }
.schritte { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: s; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--linie); font-size: 15.5px; line-height: 1.45; color: var(--tinte); }
.schritte li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tinte); color: var(--papier); font: 700 15px/1 var(--serif); }
.schritte svg { width: 20px; height: 20px; vertical-align: -4px; fill: none; stroke: #1E7CF2; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bezirke-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bezirke-wahl button { min-height: 46px; padding: 8px 12px; border-radius: 10px; background: var(--flaeche); text-align: left; font: 600 14.5px/1.25 var(--sans); color: var(--tinte); }
.bezirke-wahl button small { display: block; font-weight: 500; font-size: 12px; color: var(--grau); margin-top: 2px; }
.bezirke-wahl button[aria-pressed="true"] { background: var(--tinte); color: var(--papier); }
.bezirke-wahl button[aria-pressed="true"] small { color: inherit; opacity: .7; }
.version { margin: 22px 0 0; font-size: 12.5px; color: var(--hell); }

/* ---------------- Toast, Offline ---------------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--leiste-h) + var(--sa-b) + 14px); z-index: 60;
  width: max-content; max-width: calc(100% - 32px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 16px; border-radius: 12px; background: #1D1E22; color: #fff; font: 500 14.5px/1.35 var(--sans);
  box-shadow: 0 8px 30px rgba(0,0,0,.25); transition: opacity .2s, transform .2s; display: flex; align-items: center; gap: 14px;
}
.toast.zeigen { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { color: #FF8A90; font-weight: 700; white-space: nowrap; }
.offline { position: fixed; left: 0; right: 0; top: calc(var(--sa-t) + var(--kopf-h)); z-index: 29; max-width: var(--breite); margin: 0 auto; padding: 8px 16px; background: #3A3B40; color: #fff; font: 600 13px/1.3 var(--sans); text-align: center; }


/* Dunkel: Ressortfarben fuer Text aufhellen (Kontrast), Hinweiskarte mit Kontur */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="hell"]) .meta .ressort { color: color-mix(in srgb, var(--rf, #888) 62%, #fff); }
  :root:not([data-theme="hell"]) .karte-hinweis { box-shadow: inset 0 0 0 1px #2B2D33; }
}
:root[data-theme="dunkel"] .meta .ressort { color: color-mix(in srgb, var(--rf, #888) 62%, #fff); }
:root[data-theme="dunkel"] .karte-hinweis { box-shadow: inset 0 0 0 1px #2B2D33; }

@media (min-width: 700px) {
  body { padding: 0; }
  .es { box-shadow: 0 0 0 1px var(--linie); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* ---------------- App 2.0: Icons, Saison, Lotse (Liniennetz), Stadt, Ich ---------------- */
.chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chip svg .f { fill: transparent; }
.chip[aria-pressed="true"] svg { stroke: var(--papier); }

/* Saison: Schlagzeilenzeilen mit Farbstreifen */
.saison { padding: 24px 16px 4px; }
.saison-kopf { padding: 0 0 6px; }
.saison-kopf h2 { margin: 0; font: 700 24px/1.1 var(--serif); color: var(--tinte); letter-spacing: -.01em; }
.saison-reihe { display: block; }
.saison-karte { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0 14px 16px; position: relative; border-bottom: 1px solid var(--linie); }
.saison-karte::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 2px; background: var(--sf); }
.saison-karte:last-child { border-bottom: 0; }
.saison-karte:active { background: var(--flaeche); }
.saison-t { font: 600 19px/1.25 var(--serif); color: var(--tinte); }
.saison-b { align-self: start; padding-top: 4px; font: 600 13px/1 var(--sans); color: var(--grau); white-space: nowrap; }
.saison-x { grid-column: 1 / -1; font: 400 14px/1.4 var(--sans); color: var(--grau); }

/* Tools und Ich: schlichte Listenzeilen */
.tool-raster, .ich-raster { display: block; padding: 0; }
.ich-raster { padding: 4px 16px 0; }
.tool, .ich-kachel { display: grid; grid-template-columns: 30px 1fr 12px; grid-template-areas: "ik t pf" "ik x pf"; column-gap: 14px; align-items: center; width: 100%; padding: 13px 0; border-bottom: 1px solid var(--linie); text-align: left; background: none; border-radius: 0; min-width: 0; }
.tool::after, .ich-kachel::after { content: ''; grid-area: pf; width: 7px; height: 7px; border-top: 1.8px solid var(--hell); border-right: 1.8px solid var(--hell); transform: rotate(45deg); }
.tool:active, .ich-kachel:active { background: var(--flaeche); }
.tool-ik { grid-area: ik; width: 28px; height: 28px; display: grid; place-items: center; color: var(--rot-text); }
.tool-ik svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tool-ik svg .f { fill: currentColor; fill-opacity: .14; }
.tool-t { grid-area: t; font: 600 17px/1.25 var(--serif); color: var(--tinte); }
.tool-x { grid-area: x; font: 400 13.5px/1.35 var(--sans); color: var(--grau); overflow-wrap: anywhere; }
.ich-kopf { padding: 28px 16px 0; margin: 0 0 6px; }
.ich-kopf h2 { margin: 0; font: 700 24px/1.1 var(--serif); color: var(--tinte); letter-spacing: -.01em; }

.lotse-suche { margin: 14px 16px 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 46px; border-radius: 23px; background: var(--flaeche); color: var(--grau); }
.lotse-suche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.lotse-suche input { flex: 1; min-width: 0; border: 0; background: none; font: 400 16px/1 var(--sans); color: var(--tinte); outline: none; }
.lotse-treffer { padding: 6px 16px 0; margin: 10px 0 0; }
.lotse-leer { padding: 18px 0; color: var(--grau); font: 400 15px/1.45 var(--sans); }
.zeilen small { display: block; margin-top: 2px; font: 400 13px/1.3 var(--sans); color: var(--hell); }
.schnell { display: flex; flex-wrap: wrap; gap: 8px; }
.schnell-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--linie); font: 600 14px/1 var(--sans); color: var(--text); }
.schnell-chip svg { width: 20px; height: 20px; fill: none; stroke: var(--rot-text); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.schnell-chip svg .f { fill: transparent; }
.schnell-chip:active { background: var(--flaeche); }

/* Lotse als Liniennetz: Nummer, Name, Strecke mit einer Haltestelle je Ratgeber */
.lo-netz { display: block; }
.lo-zeile { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.lo-zeile:last-child { border-bottom: 0; }
.lo-zeile:active { background: var(--flaeche); }
.lo-nr { display: grid; place-items: center; width: 42px; height: 28px; border-radius: 6px; background: var(--sf); color: #fff; font: 800 15px/1 var(--sans); letter-spacing: .01em; }
.lo-nr.gross { width: 58px; height: 38px; border-radius: 8px; font-size: 21px; }
.lo-text { min-width: 0; display: grid; gap: 9px; }
.lo-t { font: 600 18px/1.2 var(--serif); color: var(--tinte); }
.lo-strecke { position: relative; display: flex; justify-content: space-between; align-items: center; height: 10px; }
.lo-strecke::before { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; margin-top: -1.5px; background: var(--sf); border-radius: 2px; }
.lo-strecke i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--papier); box-shadow: 0 0 0 2px var(--sf); }
.lo-strecke i:first-child, .lo-strecke i:last-child { width: 10px; height: 10px; background: var(--sf); }
.lo-z { font: 700 20px/1 var(--serif); color: var(--tinte); text-align: right; }
.lo-z small { display: block; margin-top: 3px; font: 500 11px/1 var(--sans); color: var(--grau); }
.lotse-linie { padding-bottom: 8px; }
.lo-kopf { padding: 22px 16px 10px; }
.lo-kopf .lo-nr { margin-bottom: 14px; }
.lo-kopf h1 { margin: 0; font: 700 32px/1.1 var(--serif); color: var(--tinte); letter-spacing: -.015em; }
.lo-sub { margin: 8px 0 0; font: 400 15px/1.4 var(--sans); color: var(--grau); }
.lo-fahrplan { list-style: none; margin: 14px 16px 24px; padding: 0; position: relative; }
.lo-fahrplan::before { content: ''; position: absolute; left: 8px; top: 24px; bottom: 24px; width: 4px; margin-left: -2px; background: var(--sf); border-radius: 2px; transform-origin: top; animation: lo-zeichnen .7s cubic-bezier(.3, .7, .2, 1) both; }
.lo-fahrplan li { position: relative; padding-left: 36px; animation: lo-halt .35s ease-out both; animation-delay: calc(var(--i) * 45ms + 120ms); }
.lo-fahrplan li::before { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -9px; border-radius: 50%; background: var(--papier); box-shadow: 0 0 0 3px var(--sf); }
.lo-fahrplan li:first-child::before, .lo-fahrplan li:last-child::before { background: var(--sf); }
.lo-fahrplan a { display: block; padding: 14px 0; font: 500 17px/1.3 var(--sans); color: var(--tinte); }
.lo-fahrplan a:active { color: var(--rot-text); }
@keyframes lo-zeichnen { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes lo-halt { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lo-fahrplan::before, .lo-fahrplan li { animation: none; } }

.a-tools { position: sticky; bottom: calc(-1 * (var(--sa-b) + 40px)); z-index: 5; display: flex; justify-content: space-around; padding: 6px 12px calc(6px + var(--sa-b)); margin-top: 24px; background: var(--papier); border-top: 1px solid var(--linie); }
.a-tool { width: auto; height: auto; min-width: 72px; padding: 6px 10px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 3px; font: 600 11px/1 var(--sans); color: var(--grau); }
.a-tool svg { width: 24px; height: 24px; }
.a-tool.an { color: var(--rot-text); }
.a-tool.an svg { fill: var(--rot-text); stroke: var(--rot-text); }
.lo-nr { padding-bottom: 1px; }
.lo-nr.gross { padding-bottom: 2px; }

/* ---------------- Web-Rahmen (Specials in der App) ---------------- */
.ansicht--web { overflow: hidden; padding-bottom: 0; }
.ansicht--web .ansicht-leiste { position: absolute; left: 0; right: 0; top: 0; }
.web-rahmen { position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--sa-t) + 52px); width: 100%; height: calc(100% - var(--sa-t) - 52px); border: 0; background: var(--papier); }
.web-lade { position: absolute; left: 0; right: 0; top: calc(var(--sa-t) + 52px); padding: 24px 16px; font: 500 14px/1.4 var(--sans); color: var(--grau, #666); }

/* ---------------- Heute: Fotos ---------------- */
.saison-karte--foto { grid-template-columns: 1fr 88px; grid-template-rows: auto auto auto; column-gap: 14px; }
.saison-karte--foto .saison-t { grid-column: 1; grid-row: 1; }
.saison-karte--foto .saison-b { grid-column: 1; grid-row: 2; padding-top: 0; }
.saison-karte--foto .saison-x { grid-column: 1; grid-row: 3; }
.saison-foto { grid-column: 2; grid-row: 1 / 4; align-self: center; width: 88px; height: 88px; border-radius: 6px; }
.specials a.mit-foto { grid-template-columns: 4px 1fr 56px 20px; }
.sp-foto { width: 56px; height: 56px; border-radius: 6px; }
.h-neu { padding-top: 28px; }
.h-neu-kopf { display: flex; align-items: baseline; justify-content: space-between; padding: 0 16px 14px; }
.h-neu-kopf h2 { margin: 0; font: 700 24px/1.1 var(--serif); color: var(--tinte); letter-spacing: -.01em; }
.h-neu-mehr { font: 600 14px/1 var(--sans); color: var(--rot-text); }
.bild-streifen { display: flex; gap: 14px; overflow-x: auto; padding: 18px 0 6px 16px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.bild-streifen::-webkit-scrollbar { display: none; }
.bs-karte { flex: 0 0 220px; scroll-snap-align: start; display: block; }
.bs-karte .bild { aspect-ratio: 4 / 3; border-radius: 6px; margin-bottom: 10px; }
.bs-titel { margin: 0 0 6px; font: 600 17px/1.25 var(--serif); color: var(--tinte); }
@media (min-width: 700px) { .bs-karte { flex-basis: 250px; } }
.bild-streifen { scroll-padding-left: 16px; }
.bild-streifen::after { content: ''; flex: 0 0 2px; }

/* ---------------- Specials-Tab ---------------- */
.sp-haupt { display: block; padding: 4px 0 24px; border-bottom: 1px solid var(--linie); border-top: 0; position: relative; }
.sp-haupt .bild { aspect-ratio: 3 / 2; }
.sp-haupt-text { padding: 16px 16px 0; border-left: 4px solid var(--sf); margin: 16px 0 0 16px; padding-left: 14px; }
.sp-haupt-text .dach { margin: 0 0 6px; }
.sp-haupt .titel-l { font-size: 28px; }

/* ---------------- Heute: schlanker Kopf, Top-Story, Auf einen Blick ---------------- */
.h-top-karte { display: block; padding: 16px 16px 4px; }
.h-top-karte .bild { aspect-ratio: 16 / 9; border-radius: 6px; }
.h-top-label { position: absolute; left: 0; top: 0; padding: 5px 9px; background: var(--rot); font: 700 12px/1 var(--sans); color: #fff; }
.h-top-text { padding: 12px 0 0; }
.h-top-text h2 { margin: 0; font: 700 23px/1.2 var(--serif); letter-spacing: -.01em; color: var(--tinte); }
.h-top-dach { margin: 6px 0 0; font: 500 14.5px/1.4 var(--sans); color: var(--grau); }
.h-blick { padding: 26px 16px 4px; }
.h-blick-titel { margin: 0 0 4px; font: 700 24px/1.1 var(--serif); color: var(--tinte); letter-spacing: -.01em; }
.blick { list-style: none; margin: 0; padding: 0; }
.blick a { display: grid; grid-template-columns: 28px 1fr 20px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.blick li:last-child a { border-bottom: 0; }
.blick-ik svg { width: 26px; height: 26px; fill: none; stroke: var(--rot-text); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; display: block; }
.blick-ik svg .f { fill: transparent; }
.blick strong { display: block; font: 600 16px/1.3 var(--sans); color: var(--tinte); }
.blick small { display: block; margin-top: 2px; font: 400 13.5px/1.4 var(--sans); color: var(--grau); }
.blick a.warn .blick-ik svg { stroke: #C2410C; }

/* ---------------- Heute: Luft im Kopf ---------------- */
.kessel-luft { margin-top: 14px; }
.kl-kopf { margin: 0 0 7px; font: 500 13px/1.3 var(--sans); color: rgba(255,255,255,.86); }
.kl-ort { padding: 0; border: 0; background: none; color: #fff; font: 600 13px/1.3 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.kl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kl-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.16); font: 500 13px/1.2 var(--sans); color: #fff; }
.kl-chip i { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.kl-chip b { font-weight: 700; }

/* v2.1: Newsletter-Karte auf Heute */
.h-nl { display: flex; align-items: center; gap: 12px; margin: 18px 16px 0; padding: 14px; border-radius: var(--r); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--linie); color: var(--tinte); }
.h-nl-ik { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--rot); color: #fff; display: grid; place-items: center; }
.h-nl-ik svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; display: block; }
.h-nl-ik svg .f { fill: transparent; }
.h-nl-t { flex: 1 1 auto; min-width: 0; display: block; text-align: left; }
.h-nl-t strong { display: block; font: 600 16px/1.25 var(--serif, Fraunces, Georgia, serif); }
.h-nl-t small { display: block; margin-top: 3px; font: 400 13.5px/1.4 var(--sans); color: var(--grau); }
.h-nl-k { flex: 0 0 auto; padding: 8px 14px; border-radius: 18px; background: var(--tinte); color: var(--papier); font: 600 14px/1 var(--sans); }
@media (max-width: 360px) { .h-nl-k { display: none; } }

/* v2.1: Heute anpassen */
#tab-heute[data-aus~="top"] #h-top, #tab-heute[data-aus~="blick"] #h-blick, #tab-heute[data-aus~="saison"] .saison,
#tab-heute[data-aus~="luft"] #kessel-luft, #tab-heute[data-aus~="wetter"] #h-wetter, #tab-heute[data-aus~="bahn"] #h-vvs,
#tab-heute[data-aus~="termine"] #h-termine, #tab-heute[data-aus~="neu"] #h-neu, #tab-heute[data-aus~="viertel"] #h-viertel, #tab-heute[data-aus~="newsletter"] .h-nl,
#tab-heute[data-aus~="feste"] #h-feste, #tab-heute[data-aus~="tipps"] #h-tipps, #tab-heute[data-aus~="wissen"] #h-wissen,
#tab-heute[data-aus~="kalender"] #h-kalender { display: none !important; }
.h-anpassen { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 32px); margin: 28px 16px 12px; padding: 13px 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--linie); background: transparent; color: var(--tinte); font: 600 15px/1 var(--sans); }
.h-anpassen svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.h-anpassen svg .f { fill: transparent; }

.saison-pv { grid-column: 1 / -1; font: 600 12px/1.3 var(--sans); color: var(--grau); }
.saison-karte--foto .saison-pv { grid-column: 1; grid-row: 4; }
#h-viertel .viertel-liste { margin-top: 4px; }

/* v2.3: Bewegung */
.kopf-logo { position: relative; }
.es-logo path { transform-box: fill-box; }
.es-logo path:first-of-type { transform-origin: 25% 100%; }
.lo-start .es-logo { animation: lo-sw .75s cubic-bezier(.2,.7,.2,1) both; }
.lo-start .es-logo path:first-of-type { animation: lo-rot .9s .5s cubic-bezier(.3,1.5,.5,1) both; }
.lo-wippen .es-logo path:first-of-type { animation: lo-wipp 1.1s ease-in-out; }
.lo-glanz .es-logo {
  -webkit-mask-image: linear-gradient(105deg, #000 38%, rgba(0,0,0,.3) 50%, #000 62%); mask-image: linear-gradient(105deg, #000 38%, rgba(0,0,0,.3) 50%, #000 62%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; animation: lo-gl 1.4s ease-in-out;
}
@keyframes lo-sw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lo-rot { 0% { opacity: 0; transform: translateY(-7px) rotate(-10deg); } 55% { opacity: 1; transform: rotate(4deg); } 100% { opacity: 1; transform: none; } }
@keyframes lo-wipp { 0%, 100% { transform: none; } 18% { transform: rotate(-8deg) translateY(-2px); } 36% { transform: rotate(5deg); } 54% { transform: rotate(-3deg); } 72% { transform: rotate(1.5deg); } }
@keyframes lo-gl { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }

.kopf-lauf { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rot); transform-origin: left center; pointer-events: none; z-index: 6; animation: lauf .65s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes lauf { 0% { transform: scaleX(0); opacity: 1; } 65% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

.tab-r { animation: tab-r .38s cubic-bezier(.2, .7, .2, 1); }
.tab-l { animation: tab-l .38s cubic-bezier(.2, .7, .2, 1); }
@keyframes tab-r { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes tab-l { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.leiste a[aria-current="page"] svg { animation: tab-pop .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tab-pop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .lo-start .es-logo, .lo-start .es-logo path, .lo-wippen .es-logo path, .lo-glanz .es-logo, .kopf-lauf, .tab-r, .tab-l { animation: none !important; } }

/* Verkehrsseite */
.verkehr { padding: 0 16px 56px; }
.verkehr .seiten-titel { padding: 18px 0 10px; }
.verkehr .vvs-status { margin-bottom: 14px; }
.verkehr .segment { display: flex; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.verkehr .segment::-webkit-scrollbar { display: none; }
.verkehr .segment button { flex: none; }
.verkehr .block, .termine-seite .block { margin: 0 -16px; padding: 28px 16px 0; }
.verkehr > .quelle, .termine-seite > .quelle { margin-bottom: 26px; }
.verkehr .knopf { margin-top: 28px; width: 100%; }
.verkehr .vvs-liste .leer { display: block; padding: 18px 0; }

.linie.auto-sperrung, .linie.auto-unfall { background: #B00009; color: #fff; }
.linie.auto-stau { background: #D9730D; color: #fff; }
.linie.auto-gefahr { background: #6b7280; color: #fff; }
.auto-box .linie { border-radius: 11px; }

/* Meine Linien */
.meine-linien { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 4px; }
.meine-linien-text { margin: 0; font: 400 13.5px/1.4 var(--sans); color: var(--grau); }
.meine-linien.betrifft .meine-linien-text { color: var(--rot-text); }
.meine-linien .chip { height: 30px; font-size: 13px; line-height: 30px; }
.linien-eingabe { display: flex; gap: 8px; margin: 14px 0 6px; }
.linien-feld { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--linie); background: var(--papier); color: var(--text); font: 400 16px/1 var(--sans); }
.linien-titel { margin: 18px 0 8px; font: 700 15px/1.2 var(--sans); }
.linien-eingabe, #blatt .chips-umbruch { margin-top: 12px; }

/* Sicherungscode */
.sicher-feld { display: block; width: 100%; box-sizing: border-box; margin: 10px 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--linie); background: var(--papier); color: var(--text); font: 400 13px/1.4 ui-monospace, Menlo, monospace; word-break: break-all; resize: none; }

.termin-zeile { border-bottom: 1px solid var(--linie); }
.termin-zeile .termin { border-bottom: 0; padding-bottom: 6px; }
.termin-kal { margin: 0 0 12px 70px; padding: 8px 14px; min-height: 36px; border: 1px solid var(--linie); border-radius: 999px; background: transparent; color: var(--tinte); font: 600 13px/1 var(--sans); cursor: pointer; }
.termin-kal:focus-visible { outline: 2px solid var(--rot-text); outline-offset: 2px; }
.termine-seite .segment { margin: 4px 0 14px; }
.termine-seite { padding: 0 16px 56px; }
.termine-seite .seiten-titel { padding: 18px 0 10px; }
.termine-seite .segment { display: flex; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.termine-seite .segment::-webkit-scrollbar { display: none; }
.termin-kal { margin-left: 70px; }
.termine-seite .termin p { display: block; -webkit-line-clamp: unset; overflow: visible; }

.partner--banner { text-align: center; }
.partner--banner .partner-kopf { justify-content: flex-start; }
.partner-banner { display: block; width: 300px; max-width: 100%; margin: 0 auto; line-height: 0; border-radius: var(--r); overflow: hidden; }
.partner-banner img { display: block; width: 100%; height: auto; }

/* 2.13.0 Einstellungen: Icons je Thema, ruhiger Modus, Artikelschrift */
.reihe > span:not(.r-ico):not(.wert) { flex: 1 1 auto; min-width: 0; }
.r-ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--linie); color: var(--rot-text); }
.r-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.r-ico svg .f, .g-ico svg .f { fill: currentColor; fill-opacity: .16; }
.gruppe h3 { display: flex; align-items: center; gap: 8px; }
.g-ico { display: inline-grid; place-items: center; color: var(--rot-text); }
.g-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
html.ruhig *, html.ruhig *::before, html.ruhig *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.serif-text .a-text { font-family: var(--serif); }

/* Einstellungen: Zeilen mit breitem Segment (z. B. Startseite der App) umbrechen statt zu ueberlappen */
.reihe-voll { flex-wrap: wrap; row-gap: 10px; }
.reihe-voll .segment { order: 3; flex: 1 1 100%; display: grid; grid-auto-columns: 1fr; }
.reihe-voll .segment button { padding: 0 4px; }

/* 2.14.0 Heute: Grundansicht, auffaelliger Anpassen-Knopf, Anleitung */
.h-anpassen--neu { position: relative; overflow: hidden; background: var(--rot); color: #fff; box-shadow: 0 6px 18px rgba(176,0,9,.3); padding: 17px 16px; font-size: 16px; animation: hAnpPuls 2.6s ease-out infinite; }
.h-anpassen--neu > span { display: inline-flex; animation: hAnpWippe 2.6s ease-in-out infinite; }
.h-anpassen--neu::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); animation: hAnpGlanz 3.4s ease-in-out infinite; pointer-events: none; }
@keyframes hAnpPuls { 0% { box-shadow: 0 6px 18px rgba(176,0,9,.3), 0 0 0 0 rgba(176,0,9,.45); } 70%, 100% { box-shadow: 0 6px 18px rgba(176,0,9,.3), 0 0 0 14px rgba(176,0,9,0); } }
@keyframes hAnpWippe { 0%, 60%, 100% { transform: rotate(0); } 68% { transform: rotate(-14deg); } 76% { transform: rotate(12deg); } 84% { transform: rotate(-8deg); } 92% { transform: rotate(0); } }
@keyframes hAnpGlanz { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.h-anpassen-hinweis { margin: 0 20px 8px; text-align: left; color: var(--grau); font: 400 13.5px/1.45 var(--sans); }
.hi-lead { margin: 0 0 14px; color: var(--text); font: 400 15.5px/1.5 var(--sans); }
.hi-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hi-schritte li { display: flex; gap: 12px; align-items: flex-start; }
.hi-nr { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--rot); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--sans); }
.hi-t { color: var(--text); font: 400 14.5px/1.45 var(--sans); }
.hi-t b { display: block; color: var(--tinte); font-weight: 700; margin-bottom: 1px; }
.hi-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hi-chips span { padding: 6px 11px; border-radius: 16px; background: var(--flaeche); color: var(--grau); font: 500 13px/1 var(--sans); box-shadow: inset 0 0 0 1px var(--linie); }
.hi-reset { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 8px; }
@media (prefers-reduced-motion: reduce) { .h-anpassen--neu, .h-anpassen--neu > span, .h-anpassen--neu::after { animation: none !important; } }

/* 2.15.0 Einladung Eilmeldungen / Morgenbriefing / Wochenendtipp */
.pe-lead { margin: 0 0 14px; color: var(--text); font: 400 15.5px/1.5 var(--sans); }
.pe-liste { display: grid; gap: 10px; }
.pe-karte { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--linie); }
.pe-karte--gross { background: var(--rot-flaeche); box-shadow: inset 0 0 0 1.5px var(--rot); }
.pe-ik { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--rot); color: #fff; }
.pe-ik svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.pe-ik svg .f { fill: transparent; }
.pe-t { color: var(--text); font: 400 14.5px/1.45 var(--sans); }
.pe-t b { display: block; color: var(--tinte); font: 700 16px/1.3 var(--sans); margin-bottom: 2px; }
.pe-fuss { margin: 12px 0 8px; color: var(--grau); font: 400 13px/1.45 var(--sans); }

/* 2.15.2 Termine: Symbol statt Zeittext, voller Beschreibungstext, kein Link zur Veranstaltung */
.termin { grid-template-columns: 44px 1fr; }
.termin-zeit { display: flex; flex-direction: column; align-items: center; gap: 3px; padding-top: 1px; }
.termin-ik svg { display: block; width: 26px; height: 26px; fill: none; stroke: var(--rot-text); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.termin-ik svg .f { fill: transparent; }
.termin-zeit small { font: 600 11.5px/1.1 var(--sans); color: var(--grau); font-variant-numeric: tabular-nums; }
.termin p, .termine-seite .termin p { display: block; -webkit-line-clamp: unset; -webkit-box-orient: unset; overflow: visible; }
.termin-kal { margin-left: 56px; }
