/* Michel ID: Anmeldeseiten. Werte aus michel.to v3 (site.css), siehe docs/design-briefing.md */
@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 {
  --bg: #fbfbfd; --bg-2: #f2f3f7; --panel: #ffffff; --panel-2: #f6f7fa;
  --ink: #0b0d14; --soft: #555b6c; --faint: #868c9c;
  --line: rgb(11 13 20 / .08); --line-strong: rgb(11 13 20 / .15);
  --accent: #2d5be3; --accent-ink: #ffffff; --accent-zart: #e9eefc;
  --mint: #1b8f5f; --mint-zart: #e6f4ee; --amber: #b7791f; --amber-zart: #fbf1e1; --rot: #c03535; --rot-zart: #fbeaea;
  --shadow: 0 1px 2px rgb(11 13 20 / .04), 0 24px 60px -30px rgb(11 13 20 / .28);
  --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: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07090f; --bg-2: #0c0f18; --panel: #11151f; --panel-2: #161b27;
    --ink: #eef1f8; --soft: #a0a7b8; --faint: #6f7689;
    --line: rgb(160 175 220 / .10); --line-strong: rgb(160 175 220 / .2);
    --accent: #7c9bff; --accent-ink: #07090f; --accent-zart: #1a2140;
    --mint: #7fdcb0; --mint-zart: #11261d; --amber: #f0c060; --amber-zart: #2a2111; --rot: #ff8a8a; --rot-zart: #2a1416;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 30px 70px -30px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}

* { 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;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.buehne { flex: 1; display: grid; place-items: start center; padding: 12vh 16px 48px; }
.karte {
  width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 32px 32px 28px;
}
.karte.breit { max-width: 560px; }
.marke { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-weight: 600; letter-spacing: -.01em; }
.marke .zeichen {
  width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; font-family: var(--f-serif); font-size: 19px; line-height: 1;
}
h1 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; margin: 0 0 4px; }
.unter { color: var(--soft); margin: 0 0 24px; }
.unter b { color: var(--ink); font-weight: 500; }

form { margin: 0; }
.feld { display: block; margin-bottom: 16px; }
.feld span { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.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: 15px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 8px; transition: border-color .12s, box-shadow .12s;
}
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: 8px; cursor: pointer;
  border: 1px solid transparent; background: var(--accent); color: var(--accent-ink); transition: filter .12s, background .12s;
}
.knopf:hover { filter: brightness(1.06); text-decoration: none; }
.knopf.leer { background: var(--panel); color: var(--ink); border-color: var(--line-strong); }
.knopf.leer:hover { background: var(--panel-2); filter: none; }
.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); filter: none; }
.knopf[disabled] { opacity: .55; 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: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 16px; }
.hinweis.fehler { background: var(--rot-zart); color: var(--rot); }
.hinweis.ok { background: var(--mint-zart); color: var(--mint); }
.hinweis.info { background: var(--panel-2); color: var(--soft); }

.geheim {
  font-family: var(--f-mono); font-size: 15px; letter-spacing: .04em; word-spacing: .2em; background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 8px; 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: 3px; border-radius: 3px; background: var(--line-strong); }
.schritte i.an { background: var(--accent); }
ol.anleitung { padding-left: 18px; margin: 0 0 16px; color: var(--soft); }
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: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; margin: 0 0 8px; color: var(--soft); }
.zeile { display: flex; gap: 8px; flex-wrap: wrap; }
.fuss { text-align: center; color: var(--faint); font-size: 12px; padding: 0 16px 24px; }
.fuss a { color: var(--faint); }
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: 12px; }
}
.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; }
