:root {
  --grund: #f5f6f8; --flaeche: #ffffff; --text: #14181f; --leise: #5b6472; --linie: #dfe3e9;
  --ok: #17854a; --ausfall: #c62828; --teilweise: #b26a00; --unbekannt: #8a93a1; --leer: #e3e7ed;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0e1116; --flaeche: #171b22; --text: #e8ebf0; --leise: #98a2b3; --linie: #2a303a;
    --ok: #3ecf8e; --ausfall: #ff6b6b; --teilweise: #f0a83c; --unbekannt: #6b7483; --leer: #262c36;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 860px; margin: 0 auto; padding: 32px 16px 48px; }
header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
h1 { font-size: 1.5rem; margin: 0; letter-spacing: -0.01em; }
h1 span { font-weight: 400; color: var(--leise); }
h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--leise); margin: 32px 0 8px; }
p { margin: 0; }
.leise { color: var(--leise); font-size: 0.875rem; }
a { color: inherit; }
.lage { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 18px 20px; border-radius: 12px; background: var(--flaeche); border: 1px solid var(--linie); border-left: 6px solid var(--farbe); }
.lage strong { font-size: 1.15rem; }
.punkt { width: 14px; height: 14px; border-radius: 50%; background: var(--farbe); flex: none; }
.ok { --farbe: var(--ok); } .ausfall { --farbe: var(--ausfall); } .teilweise { --farbe: var(--teilweise); } .unbekannt { --farbe: var(--unbekannt); }
.ziel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; }
.kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.name { font-weight: 600; }
.marke { color: var(--farbe); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.marke::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--farbe); margin-right: 7px; }
.verlauf { display: flex; gap: 2px; height: 30px; margin: 10px 0 6px; }
.verlauf i { flex: 1; min-width: 0; border-radius: 2px; background: var(--leer); }
.verlauf i.ok { background: var(--ok); } .verlauf i.teilweise { background: var(--teilweise); } .verlauf i.ausfall { background: var(--ausfall); }
.fuss { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer { margin-top: 36px; display: grid; gap: 8px; }
