/* Schlichtes Übergangs-Design bis zu den Design-Tokens (Stopp-Punkt vor 0.2.0). */
:root {
  --hg: #f7f7f5; --flaeche: #ffffff; --text: #1d1d1b; --leise: #6b6b66; --linie: #e2e2dc;
  --akzent: #2f5d8a; --akzent-text: #ffffff; --fehler: #a4262c; --hinweis: #2e6b3a;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --hg: #161615; --flaeche: #1f1f1d; --text: #ececea; --leise: #a3a39e; --linie: #34342f; --akzent: #7aa7d6; --akzent-text: #0e1a26; --fehler: #ef8a8f; --hinweis: #8fcf9b; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--hg); color: var(--text); }
.kopf { display: flex; gap: 1rem; align-items: center; padding: .75rem 1rem; background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.kopf form { margin-left: auto; }
.marke { font-weight: 700; color: var(--text); text-decoration: none; }
.wer { color: var(--leise); }
main { max-width: 40rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
h1 { font-size: 1.5rem; margin: 0 0 1rem; }
h2 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
section { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 8px; padding: .25rem 1rem 1rem; margin-bottom: 1rem; }
.formular { display: grid; gap: .75rem; max-width: 24rem; }
.zeile { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; }
label { display: grid; gap: .25rem; font-size: .9rem; color: var(--leise); }
input, select { font: inherit; padding: .5rem .6rem; border: 1px solid var(--linie); border-radius: 6px; background: var(--flaeche); color: var(--text); }
button, .knopf { font: inherit; display: inline-block; padding: .5rem .9rem; border: 0; border-radius: 6px; background: var(--akzent); color: var(--akzent-text); cursor: pointer; text-decoration: none; }
button.zweit, .knopf.zweit { background: transparent; color: var(--akzent); border: 1px solid var(--akzent); }
button.leise { background: transparent; color: var(--leise); padding: .25rem .5rem; }
a { color: var(--akzent); }
.meldung { padding: .6rem .8rem; border-radius: 6px; border: 1px solid currentColor; }
.meldung.fehler { color: var(--fehler); }
.meldung.hinweis { color: var(--hinweis); }
.klein { font-size: .85rem; color: var(--leise); }
.qr svg { width: 200px; height: 200px; background: #fff; padding: 8px; border-radius: 6px; }
.codes { columns: 2; font-size: 1.05rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
