/* Statusseite (Fahrplan 925): Gestaltung wie die Website, Schriften aus /fonts (kein Fremdabruf), keine Inline-Stile. */
:root {
  --bg: #F7F4ED; --fg: #1C1B1A; --muted: #6B6358; --line: #E8E2D5; --karte: #FFFFFF;
  --ok: #2F6B3F; --ok-flaeche: #3F8A52; --warn: #8F5B0C; --warn-flaeche: #D69E2E; --fehler: #A8322A; --fehler-flaeche: #C4453B;
  --wartung: #2F5F96; --wartung-flaeche: #4A82C4; --unbekannt: #6B6358; --unbekannt-flaeche: #A39B8C; --leer: #E8E2D5;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.01em; margin: 0; }
a { color: inherit; }
.rahmen { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 20px; }
main { flex: 1; padding-bottom: 48px; }
.kopf { border-bottom: 1px solid var(--line); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-text { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.logo-zusatz { color: var(--muted); font-size: .9rem; border-left: 1px solid var(--line); padding-left: 10px; margin-left: 2px; }
.zurueck { font-size: .9rem; color: var(--muted); }
.zurueck:hover { color: var(--fg); }

.gesamt { display: flex; align-items: center; gap: 16px; margin: 32px 0 24px; padding: 22px 24px; border-radius: 14px; background: var(--karte); border: 1px solid var(--line); border-left-width: 6px; }
.gesamt h1 { font-size: 1.6rem; line-height: 1.25; }
.gesamt .punkt { width: 16px; height: 16px; border-radius: 50%; flex: none; background: var(--unbekannt-flaeche); }
.klein { font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
.hinweis { padding: 12px 16px; background: var(--karte); border: 1px solid var(--line); border-radius: 10px; }
.fehler { margin: 0 0 24px; padding: 14px 18px; border-radius: 10px; background: #FBEDEA; border: 1px solid #E8B9B3; color: #6E1F18; }
.fehler[hidden], [hidden] { display: none !important; }

.s-betriebsbereit { border-left-color: var(--ok-flaeche); } .s-betriebsbereit .punkt { background: var(--ok-flaeche); }
.s-beeintraechtigt { border-left-color: var(--warn-flaeche); } .s-beeintraechtigt .punkt { background: var(--warn-flaeche); }
.s-gestoert { border-left-color: var(--fehler-flaeche); } .s-gestoert .punkt { background: var(--fehler-flaeche); }
.s-wartung { border-left-color: var(--wartung-flaeche); } .s-wartung .punkt { background: var(--wartung-flaeche); }
.s-unbekannt { border-left-color: var(--unbekannt-flaeche); } .s-unbekannt .punkt { background: var(--unbekannt-flaeche); }

.block { margin-top: 36px; }
.block h2 { font-size: 1.3rem; margin-bottom: 14px; }

.systeme { list-style: none; margin: 0; padding: 0; background: var(--karte); border: 1px solid var(--line); border-radius: 14px; }
.system { padding: 16px 20px; border-top: 1px solid var(--line); }
.system:first-child { border-top: 0; }
.system-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.system-name { font-weight: 600; }
.system-text { color: var(--muted); font-size: .85rem; margin: 2px 0 0; }
.marke { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 500; white-space: nowrap; }
.marke::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.m-betriebsbereit { color: var(--ok); } .m-beeintraechtigt { color: var(--warn); } .m-gestoert { color: var(--fehler); }
.m-wartung { color: var(--wartung); } .m-unbekannt { color: var(--unbekannt); }
.tage { list-style: none; margin: 12px 0 4px; padding: 0; display: flex; gap: 2px; height: 30px; }
.tag { flex: 1 1 0; min-width: 0; border-radius: 2px; background: var(--leer); }
.t-betriebsbereit { background: var(--ok-flaeche); } .t-beeintraechtigt { background: var(--warn-flaeche); } .t-gestoert { background: var(--fehler-flaeche); }
.t-keine_daten { background: var(--leer); }
.tage-fuss { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }

.meldung { background: var(--karte); border: 1px solid var(--line); border-left-width: 5px; border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.meldung h3 { font-size: 1.1rem; }
.meldung-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.meldung p { margin: 8px 0 0; white-space: pre-line; }
.meldung .betrifft { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.verlauf-liste { list-style: none; padding: 0; margin: 12px 0 0; border-left: 2px solid var(--line); }
.verlauf-liste li { padding: 0 0 10px 14px; }
.verlauf-liste time { display: block; font-size: .8rem; color: var(--muted); }
.tagesgruppe { margin-bottom: 20px; }
.tagesgruppe h3 { font-family: 'Inter', system-ui, sans-serif; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.leer { color: var(--muted); padding: 14px 0; }

.fuss { border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.fuss-innen { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
@media (max-width: 520px) {
  .gesamt { padding: 18px 16px; } .gesamt h1 { font-size: 1.3rem; }
  .system { padding: 14px 14px; } .tage { height: 24px; gap: 1px; }
}
