/* myDESK Downloadbereich: bewusst dunkel, passend zum leuchtenden Logo. */
:root {
  color-scheme: dark;
  --grund: #0a1020;
  --flaeche: #111a2e;
  --flaeche-hoch: #162239;
  --linie: #243150;
  --text: #e6ecf5;
  --leise: #93a1b8;
  --akzent: #2ea6ff;
  --akzent-hell: #63d6ff;
  --akzent-text: #04111f;
  --ok: #3ddc97;
  --fehler: #ff7a7a;
  --fehler-grund: #3a1620;
  --rund: 12px;
  --schrift: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "DejaVu Sans Mono", monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; font-family: var(--schrift); font-size: 16px; line-height: 1.55;
  color: var(--text); background: var(--grund);
  background-image: radial-gradient(900px 480px at 50% -120px, #12305a 0%, rgba(10,16,32,0) 70%);
  display: flex; flex-direction: column;
}
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: 1.75rem; font-weight: 700; }
h2 { font-size: 1.25rem; font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 650; }
code { font-family: var(--mono); font-size: .86em; background: var(--flaeche-hoch); border: 1px solid var(--linie); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
.leise { color: var(--leise); }
a { color: var(--akzent-hell); }
:focus-visible { outline: 2px solid var(--akzent-hell); outline-offset: 2px; }

/* Anmeldung */
.anmeldung { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 40px 16px; }
.anmeldung .logo { width: 220px; height: auto; }
.karte { width: 100%; max-width: 380px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.karte p { margin: 0; }
label { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; color: var(--leise); }
input { font: inherit; color: var(--text); background: var(--grund); border: 1px solid var(--linie); border-radius: 8px; padding: 11px 12px; }
input:focus { border-color: var(--akzent); outline: none; box-shadow: 0 0 0 3px rgba(46,166,255,.25); }
button, .knopf {
  font: inherit; font-weight: 650; cursor: pointer; border: 0; border-radius: 8px; padding: 11px 18px;
  background: var(--akzent); color: var(--akzent-text); text-decoration: none; text-align: center; white-space: nowrap;
}
button:hover, .knopf:hover { background: var(--akzent-hell); }
.meldung { background: var(--fehler-grund); color: var(--fehler); border-radius: 8px; padding: 10px 12px; font-size: .95rem; }

/* Kopf */
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--linie); background: rgba(10,16,32,.7); }
.kopf img { height: 52px; width: auto; }
.abmelden { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.leise-knopf { background: transparent; color: var(--text); border: 1px solid var(--linie); padding: 7px 14px; }
.leise-knopf:hover { background: var(--flaeche-hoch); }

/* Inhalt */
.inhalt { width: 100%; max-width: 880px; margin: 0 auto; padding: 28px 16px 40px; display: flex; flex-direction: column; gap: 22px; flex: 1; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 14px 18px; font-size: .93rem; }
.punkt { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: -10px; }
.punkt.an { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.punkt.aus { background: var(--fehler); box-shadow: 0 0 10px var(--fehler); }
.zahl b { font-variant-numeric: tabular-nums; }
.adresse { margin-left: auto; color: var(--leise); }

.plattform { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.plattform-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.plattform-kopf .leise { font-size: .9rem; }
.leer { margin: 0; color: var(--leise); font-style: italic; }
.datei { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--linie); border-radius: 10px; background: var(--grund); }
.datei.hervor { border-color: rgba(46,166,255,.55); box-shadow: inset 0 0 0 1px rgba(46,166,255,.15); }
.datei-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.datei-text .leise { font-size: .87rem; overflow-wrap: anywhere; }
.pruefsumme { font-size: .82rem; color: var(--leise); }
.pruefsumme summary { cursor: pointer; }
.pruefsumme code { display: block; margin-top: 4px; }
.hinweis { margin: 0; font-size: .9rem; color: var(--leise); border-left: 3px solid var(--linie); padding: 2px 0 2px 12px; }
.msix { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--linie); }
.anleitung { background: var(--flaeche-hoch); border: 1px solid var(--linie); border-radius: 10px; padding: 14px 16px; font-size: .93rem; }
.anleitung summary { cursor: pointer; font-weight: 650; }
.anleitung p, .anleitung ol { margin: 10px 0 0; }
.anleitung li { margin: 6px 0; }
.anleitung ul { margin: 6px 0 0; padding-left: 20px; }
.fuss { text-align: center; color: var(--leise); font-size: .8rem; padding: 18px 16px 24px; }

@media (max-width: 620px) {
  .kopf { padding: 12px 16px; }
  .kopf img { height: 40px; }
  .abmelden .leise { display: none; }
  .datei { flex-direction: column; align-items: stretch; }
  .adresse { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Öffentliche Seite und Statuskacheln */
.einleitung { display: flex; flex-direction: column; gap: 8px; }
.einleitung p { margin: 0; max-width: 62ch; }
.kopf .leise-knopf { text-decoration: none; font-size: .9rem; border-radius: 8px; }
.anmeldung > a.leise { font-size: .9rem; }
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kachel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.kachel span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.kachel b { font-size: 2rem; font-variant-numeric: tabular-nums; }
@media (max-width: 620px) { .kacheln { grid-template-columns: 1fr; } }
