:root {
  color-scheme: light dark;
  --flaeche: light-dark(#f3f7f9, #0e1a20);
  --karte: light-dark(#ffffff, #16262e);
  --text: light-dark(#12232b, #e8f1f4);
  --gedaempft: light-dark(#4d626c, #a9bcc5);
  --rand: light-dark(#c9d6dc, #33505c);
  --akzent: light-dark(#0b6e8a, #5cc3dd);
  --akzent-text: light-dark(#ffffff, #06222b);
  --fehler: light-dark(#b3261e, #ffb4ab);
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 16px;
  background: var(--flaeche); color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.karte {
  width: 100%; max-width: 400px; padding: 32px 24px;
  background: var(--karte); border: 1px solid var(--rand); border-radius: 12px;
}
.logo { display: block; max-width: 100%; height: auto; margin: 0 0 24px; padding: 8px 12px; background: #ffffff; border-radius: 8px; }
h1 { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.2; }
.hinweis { margin: 0 0 24px; color: var(--gedaempft); }
label { display: block; margin: 0 0 6px; font-weight: 600; }
input {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit;
  color: var(--text); background: var(--flaeche);
  border: 1px solid var(--rand); border-radius: 8px;
}
button {
  width: 100%; min-height: 48px; margin-top: 16px; font: inherit; font-weight: 600;
  color: var(--akzent-text); background: var(--akzent);
  border: 0; border-radius: 8px; cursor: pointer;
}
input:focus-visible, button:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.fehler { margin: 10px 0 0; color: var(--fehler); font-weight: 600; }
