:root {
  --grund: #f7f6f2; --flaeche: #ffffff; --text: #1f2328; --leise: #5b6270; --linie: #d9d6cc;
  --akzent: #1f5f8b; --akzent-text: #ffffff; --fehler: #a4262c; --ok: #1e6b3a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #16181c; --flaeche: #1f2227; --text: #e8e6e1; --leise: #a3a9b4; --linie: #3a3e45;
    --akzent: #6fb1e0; --akzent-text: #0d1b26; --fehler: #ff8a8f; --ok: #7fd49b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text);
       font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; overflow-wrap: anywhere; }
a { color: var(--akzent); }
code { font-size: .9em; }
.kopf { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
        padding: .5rem 1rem; background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.marke { font-weight: 700; text-decoration: none; color: var(--text); padding: .5rem 0; }
.kopf nav { display: flex; align-items: center; gap: .25rem; }
.kopf nav a { display: inline-block; padding: .6rem .5rem; min-height: 44px; }
.kopf form { margin: 0; }
main { max-width: 40rem; margin: 0 auto; padding: 1rem 1rem 3rem; }
h1 { font-size: 1.5rem; margin: .5rem 0 1rem; }
h2 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
button { font: inherit; min-height: 44px; padding: .55rem 1rem; border-radius: 10px; cursor: pointer;
         border: 1px solid var(--linie); background: var(--flaeche); color: var(--text); }
button.haupt { background: var(--akzent); color: var(--akzent-text); border-color: var(--akzent); font-weight: 600; }
button.gross { display: block; width: 100%; min-height: 56px; font-size: 1.1rem; }
button.leise { border-color: transparent; background: transparent; color: var(--akzent); padding: .55rem .5rem; }
button:disabled { opacity: .6; cursor: progress; }
label { display: block; margin: .9rem 0; font-weight: 500; }
input, select { display: block; width: 100%; margin-top: .3rem; font: inherit; min-height: 44px; padding: .5rem .7rem;
                border: 1px solid var(--linie); border-radius: 8px; background: var(--flaeche); color: var(--text); }
.hinweis { color: var(--leise); font-size: .95rem; }
.fehler { color: var(--fehler); font-weight: 600; }
.ok { color: var(--ok); font-weight: 600; }
.anmelden .hinweis { text-align: center; margin: .4rem 0 1.5rem; }
.ersatzweg { border-top: 1px solid var(--linie); padding-top: 1rem; }
.ersatzweg summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--akzent); }
.ersatzweg form button { width: 100%; margin-top: .5rem; }
.leer { font-size: 1.1rem; font-weight: 600; }
.ordner, .passkeys { list-style: none; padding: 0; margin: 0 0 1rem; }
.ordner li, .passkeys li { display: flex; justify-content: space-between; align-items: center; gap: .75rem;
                           padding: .75rem 1rem; background: var(--flaeche); border: 1px solid var(--linie);
                           border-radius: 10px; margin-bottom: .5rem; }
.ordner strong { font-size: 1.25rem; }
.passkeys form { margin: 0; flex-shrink: 0; }
.geraet { margin-top: 1.5rem; }
