/* Anmeldestelle. Bewusst nüchtern und ohne eigene Schriften: diese Seite
   sieht man drei Sekunden lang, und sie soll auch dann noch lesbar sein,
   wenn sonst nichts mehr geht. Systemschriften laden nicht nach. */

:root {
  --grund: #F4F4F2;  --flaeche: #FFFFFF;  --flaeche-2: #EDEDE9;
  --tinte: #1B1C1A;  --leise: #6B6D68;    --linie: #DEDEDA;
  --warn: #96601A;   --warn-grund: #FBF0DC;
  --schlecht: #A6382D; --schlecht-grund: #F9E7E4;
  --gut: #35683F;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --grund: #141513;  --flaeche: #1D1F1C;  --flaeche-2: #262825;
    --tinte: #ECEEE9;  --leise: #979A93;    --linie: #2E312D;
    --warn: #D8A75C;   --warn-grund: #2A2214;
    --schlecht: #E88C7F; --schlecht-grund: #2C1916;
    --gut: #7FBD8B;
  }
}
:root[data-theme="dark"] {
  --grund: #141513;  --flaeche: #1D1F1C;  --flaeche-2: #262825;
  --tinte: #ECEEE9;  --leise: #979A93;    --linie: #2E312D;
  --warn: #D8A75C;   --warn-grund: #2A2214;
  --schlecht: #E88C7F; --schlecht-grund: #2C1916;
  --gut: #7FBD8B;
}

* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 24px;
  background: var(--grund); color: var(--tinte);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.55;
}
.blatt { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 20px; }
.kopf { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.kopf h1 { margin: 0; font-size: 1.5rem; letter-spacing: -.01em; }
.zeichen { font-size: 2rem; }

h2 { margin: 0; font-size: 1.2rem; }
h3 { margin: 18px 0 0; font-size: .95rem; }
p { margin: 0; }
a { color: var(--tinte); }

.karte {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px;
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.feld { display: flex; flex-direction: column; gap: 5px; }
.feld label { font-size: .74rem; font-weight: 700; letter-spacing: .07em;
              text-transform: uppercase; color: var(--leise); }
input {
  font: inherit; width: 100%; padding: 11px 13px;
  border: 1px solid var(--linie); border-radius: 9px;
  background: var(--grund); color: var(--tinte);
}
input:focus { outline: 2px solid var(--tinte); outline-offset: 1px; border-color: transparent; }

.knopf, .knopf-still {
  font: inherit; font-weight: 600; font-size: .92rem; padding: 12px 18px;
  border: 1px solid transparent; border-radius: 9px; cursor: pointer;
  background: var(--tinte); color: var(--grund); text-align: center;
  text-decoration: none; display: inline-block;
}
.knopf-still { background: transparent; border-color: var(--linie); color: var(--tinte); }
.knopf-still.gefahr { color: var(--schlecht); }
.reihe { display: flex; gap: 10px; flex-wrap: wrap; }

.meldung { background: var(--schlecht-grund); color: var(--schlecht);
           padding: 11px 14px; border-radius: 9px; font-size: .9rem; }
.meldung.warnend { background: var(--warn-grund); color: var(--warn); }
.leise { color: var(--leise); }
.klein { font-size: .84rem; }
.hinweis { color: var(--leise); font-size: .82rem; line-height: 1.45; }
.gut { color: var(--gut); font-weight: 600; }
.warn { color: var(--warn); font-weight: 600; }
.mono, code { font-family: ui-monospace, SFMono-Regular, monospace; font-size: .88em; }

.code {
  font-family: ui-monospace, monospace; font-size: 1.15rem; letter-spacing: .1em;
  background: var(--flaeche-2); padding: 12px 16px; border-radius: 9px;
  word-break: break-all; user-select: all;
}
.codes { list-style: none; margin: 0; padding: 0;
         display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.codes li { background: var(--flaeche-2); padding: 9px 12px; border-radius: 8px;
            text-align: center; user-select: all; }

.protokoll { list-style: none; margin: 0; padding: 0; display: flex;
             flex-direction: column; gap: 5px; font-size: .84rem; }
.protokoll li { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline;
                padding: 6px 10px; border-radius: 7px; background: var(--flaeche-2); }
.protokoll li.nicht-ok { background: var(--schlecht-grund); color: var(--schlecht); }
