/* Farben aus dem Logo (Petrol #005D7B), Aufbau aus den Skizzen W6. Schriften vom System (keine fremden Server). */
:root{
  --bg:#EEF2F4; --surface:#FFFFFF; --surface-2:#F4F7F8; --ink:#16212A; --muted:#5A6A73; --line:#D6DFE3;
  --accent:#005D7B; --accent-ink:#FFFFFF; --accent-soft:#DCEBF0;
  --shadow:0 1px 2px rgba(22,33,42,.06),0 4px 14px rgba(22,33,42,.06);
  --body:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
@media (prefers-color-scheme: dark){
  :root{
    color-scheme:dark;
    --bg:#0F1417; --surface:#172126; --surface-2:#1D282E; --ink:#E3ECEF; --muted:#93A4AC; --line:#2B3A41;
    --accent:#5FB4CF; --accent-ink:#06202A; --accent-soft:#16323D; --shadow:0 1px 2px rgba(0,0,0,.3);
  }
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.45}
button,input,select,textarea{font:inherit;color:inherit}
a{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}

.seite{max-width:440px;margin:0 auto;padding:24px 16px 48px;min-height:100dvh;display:flex;flex-direction:column;gap:22px}
.karte{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px 20px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:10px}
.karte.mitte{margin-block:auto;text-align:center;align-items:center}
.karte h1{margin:0;font-size:26px;line-height:1.1;letter-spacing:-.01em}
.karte p{margin:0}
.marke{font-size:12px;letter-spacing:.06em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.leise{color:var(--muted)}
.hinweis{font-size:13px;color:var(--muted)}

/* Anmeldung: Logo über der Karte, beides in der Mitte der Seite */
.anmeldung{margin-block:auto;display:flex;flex-direction:column;gap:28px}
.anmeldung .karte.mitte{margin-block:0}
/* Das Logo hat schwarze Schrift: im dunklen Modus auf hellem Grund, damit es lesbar bleibt */
.logo{display:block;align-self:center;width:100%;max-width:320px;height:auto}
@media (prefers-color-scheme: dark){ .logo{background:#FFFFFF;border-radius:12px;padding:10px 14px} }

.knopf{border:0;border-radius:10px;padding:11px 16px;font-weight:700;font-size:15px;background:var(--accent);color:var(--accent-ink);text-decoration:none;display:inline-block;cursor:pointer;margin-top:6px}
.knopf:disabled{opacity:.45;cursor:not-allowed}

/* Hinweise, z.B. nach abgebrochener Anmeldung oder nach dem Abmelden */
.meldung{margin:0;padding:10px 12px;border-radius:10px;background:var(--accent-soft);font-size:14px}
.liste{display:flex;flex-direction:column;gap:8px;width:100%}
.knopf.leise-knopf{background:var(--surface-2);color:var(--ink);border:1px solid var(--line);font-weight:600}

/* Rahmen für angemeldete Seiten: Kopf oben, Leiste unten (docs/screens/rahmen.md, im Durchstich nur Heute und Mehr) */
.kopf{display:flex;justify-content:space-between;align-items:center;max-width:440px;margin:0 auto;padding:14px 16px 0}
.seite.mit-leiste{min-height:auto;padding-bottom:96px}
.leiste{position:fixed;inset:auto 0 0 0;display:flex;justify-content:space-around;background:var(--surface);border-top:1px solid var(--line);padding:8px 16px calc(8px + env(safe-area-inset-bottom))}
.leiste a{flex:1;max-width:160px;text-align:center;padding:10px 0;border-radius:10px;color:var(--muted);text-decoration:none;font-weight:600}
.leiste a[aria-current="page"]{color:var(--accent);background:var(--accent-soft)}
.zeile{display:block;padding:12px 0;border-bottom:1px solid var(--line);text-decoration:none;font-weight:600}
