:root {
  --grund: #f6f7f5; --flaeche: #ffffff; --text: #1d2420; --leise: #5c6660; --linie: #dde2dd;
  --marke: #1f5f8b; --gruen: #2e7d4f; --gelb: #c08a12; --rot: #b23a2f;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --grund: #141816; --flaeche: #1c211e; --text: #e7ece8; --leise: #a3ada6; --linie: #2c332e; --marke: #6fb0dd; }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--grund); color: var(--text); line-height: 1.5; }
.kopf { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.marke { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.logo { color: var(--marke); }
nav { display: flex; gap: 12px; align-items: center; }
nav form { margin: 0; }
.wer { color: var(--leise); font-size: .9rem; }
.knopf { display: inline-block; padding: 8px 14px; border-radius: 6px; background: var(--marke); color: #fff; text-decoration: none; border: 0; font: inherit; cursor: pointer; }
.knopf.zweitrangig { background: transparent; color: var(--marke); border: 1px solid var(--linie); }
.inhalt { max-width: 960px; margin: 0 auto; padding: 24px 16px; }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; padding: 20px; }
.karte h1 { margin-top: 0; font-size: 1.4rem; }
.ampel { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 16px; }
.feld { background: var(--flaeche); border: 1px solid var(--linie); border-left: 6px solid; border-radius: 8px; padding: 12px 14px; display: flex; justify-content: space-between; }
.feld.gruen { border-left-color: var(--gruen); } .feld.gelb { border-left-color: var(--gelb); } .feld.rot { border-left-color: var(--rot); }
.fuss { text-align: center; color: var(--leise); font-size: .8rem; padding: 24px 16px; }
.laden { padding: 24px; color: var(--leise); }
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: var(--rot); color: #fff; }
#blazor-error-ui a { color: #fff; }
