@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(fonts/geist-normal-300-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(fonts/geist-normal-300-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/geist-mono-normal-400-latin.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/instrument-serif-normal-400-latin.woff2) format("woff2"); }

:root, :root[data-theme="dark"] {
  --bg: #1f2125; --bg-2: #1c1e21; --panel: #25262a; --panel-2: #2d2e35;
  --ink: #e6e7ea; --soft: #9a9ca3; --faint: #8b8e96;
  --line: rgb(255 255 255 / .065); --line-strong: rgb(255 255 255 / .12);
  --accent: #8b97f5; --accent-ink: #15161a; --accent-zart: rgb(139 157 255 / .14); --glow: rgb(139 157 255 / .35);
  --mint: #4cc38a; --mint-zart: rgb(76 195 138 / .10); --amber: #e5a54b; --amber-zart: rgb(229 165 75 / .08);
  --rot: #f26d6d; --rot-zart: rgb(242 109 109 / .10);
  --shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 24px 60px -24px rgb(0 0 0 / .9);
  --f: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-serif: "Instrument Serif", Georgia, serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fbfbfc; --bg-2: #f4f4f6; --panel: #ffffff; --panel-2: #f4f4f6;
  --ink: #0b0c10; --soft: #565862; --faint: #6b6d76;
  --line: rgb(10 10 20 / .08); --line-strong: rgb(10 10 20 / .14);
  --accent: #3d5afe; --accent-ink: #ffffff; --accent-zart: rgb(61 90 254 / .10); --glow: rgb(61 90 254 / .25);
  --mint: #157a4c; --mint-zart: rgb(21 122 76 / .08); --amber: #94600f; --amber-zart: rgb(148 96 15 / .08);
  --rot: #c22f2f; --rot-zart: rgb(194 47 47 / .08);
  --shadow: 0 0 0 1px rgb(10 10 20 / .06), 0 24px 60px -30px rgb(10 10 20 / .25);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--f); font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
  font-variant-numeric: tabular-nums;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--accent-zart); border-radius: 6px; }

.buehne { flex: 1; display: grid; place-items: start center; padding: 14vh 16px 48px;
  background: radial-gradient(600px 240px at 50% 0, var(--accent-zart), transparent 70%); }
.karte {
  width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 32px 32px 28px; position: relative;
}
.karte::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow), transparent); }
.karte.breit { max-width: 560px; }
.marke { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font-weight: 500; font-size: 13px; color: var(--soft); }
.marke .zeichen {
  width: 24px; height: 24px; border-radius: 6px; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; font-family: var(--f-serif); font-size: 17px; line-height: 1;
}
h1 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; margin: 0 0 4px; }
.unter { color: var(--soft); margin: 0 0 24px; font-size: 13.5px; }
.unter b { color: var(--ink); font-weight: 500; }

form { margin: 0; }
.feld { display: block; margin-bottom: 16px; }
.feld span { display: block; font-size: 12.5px; font-weight: 500; margin-bottom: 6px; color: var(--soft); }
.feld small { display: block; color: var(--faint); font-size: 12px; margin-top: 6px; }
input[type=text], input[type=email], input[type=password] {
  width: 100%; height: 44px; padding: 0 12px; font: inherit; font-size: 14px; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 6px; transition: border-color .12s, box-shadow .12s;
}
input::placeholder { color: var(--faint); }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-zart); }
input.code { font-family: var(--f-mono); font-size: 22px; letter-spacing: .35em; text-align: center; height: 52px; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px;
  padding: 0 16px; font: inherit; font-weight: 500; font-size: 14px; border-radius: 6px; cursor: pointer;
  border: 1px solid transparent; background: var(--ink); color: var(--bg); transition: opacity .12s, background .12s;
}
.knopf:hover { opacity: .9; text-decoration: none; }
.knopf.leer { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.knopf.leer:hover { background: var(--panel-2); opacity: 1; }
.knopf.klein { width: auto; min-height: 36px; font-size: 13px; padding: 0 12px; }
.knopf.gefahr { background: transparent; color: var(--rot); border-color: transparent; }
.knopf.gefahr:hover { background: var(--rot-zart); }
.knopf[disabled] { opacity: .45; cursor: default; }
.trenner { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12px; margin: 20px 0; }
.trenner::before, .trenner::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.hinweis { border-radius: 6px; padding: 10px 12px; font-size: 13px; margin-bottom: 16px; border: 1px solid transparent; }
.hinweis.fehler { background: var(--rot-zart); color: var(--rot); border-color: rgb(242 109 109 / .2); }
.hinweis.ok { background: var(--mint-zart); color: var(--mint); border-color: rgb(76 195 138 / .2); }
.hinweis.info { background: var(--panel-2); color: var(--soft); border-color: var(--line); }

.qr { display: grid; place-items: center; margin: 4px 0 12px; }
.qr svg { width: 176px; height: 176px; border-radius: 8px; display: block; }
.geheim {
  font-family: var(--f-mono); font-size: 14px; letter-spacing: .04em; word-spacing: .2em; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin: 8px 0 16px; user-select: all; text-align: center;
}
.schritte { display: flex; gap: 6px; margin-bottom: 20px; }
.schritte i { flex: 1; height: 2px; border-radius: 2px; background: var(--line-strong); }
.schritte i.an { background: var(--accent); }
ol.anleitung { padding-left: 18px; margin: 0 0 16px; color: var(--soft); font-size: 13.5px; }
ol.anleitung li { margin-bottom: 4px; }

.liste { list-style: none; padding: 0; margin: 0 0 8px; border-top: 1px solid var(--line); }
.liste li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); min-height: 56px; }
.liste .was { flex: 1; min-width: 0; }
.liste .was b { display: block; font-weight: 500; }
.liste .was small { color: var(--faint); }
.pille { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--panel-2); color: var(--soft); white-space: nowrap; }
.abschnitt { margin-top: 28px; }
.abschnitt h2 { font-size: 12.5px; font-weight: 500; margin: 0 0 8px; color: var(--soft); }
.zeile { display: flex; gap: 8px; flex-wrap: wrap; }
.fuss { display: flex; gap: 14px; justify-content: center; align-items: center; color: var(--faint); font-size: 12px; padding: 0 16px 24px; flex-wrap: wrap; }
.fuss a { color: var(--faint); }
.thema { background: none; border: 1px solid var(--line); color: var(--faint); font: inherit; font-size: 12px; border-radius: 6px;
  min-height: 32px; padding: 0 10px; cursor: pointer; }
.thema:hover { color: var(--ink); border-color: var(--line-strong); }
details summary { cursor: pointer; color: var(--accent); font-weight: 500; min-height: 44px; display: flex; align-items: center; }
@media (max-width: 480px) {
  .buehne { padding-top: 24px; }
  .karte { padding: 24px 20px; border-radius: 10px; }
}
.feld.fuellen { flex: 1; margin: 0; min-width: 180px; }
.oben { margin-top: 12px; }
.visuell-weg { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Logo (20.10.2026) */
.marke .zeichen-bild { width: 26px; height: 26px; flex: none; display: block; object-fit: contain; }
