/* Anmeldeseiten – Akademie für Gewaltprävention.
   Bewusst feste Farben (unabhängig von Hell/Dunkel und Zusatzfarbe):
   weiße Karte wie die Logo-Kachel, Schrift im Logo-Blau, Rot als Akzent. */
:root{--blau:#072867;--rot:#A00000;--grau:#4a5675;--rand:#d5dbe8}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--blau);color:var(--blau);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;padding:16px}
.karte{background:#fff;width:min(26rem,100%);aspect-ratio:1/1;border-radius:16px;padding:1.4rem 1.6rem;box-shadow:0 12px 34px rgba(0,0,0,.35);text-align:center;position:relative;display:flex;flex-direction:column;justify-content:center}
.karte form{margin:0}
.logo{height:76px;width:auto;margin:0 auto .5rem}
h1{font-size:1.25rem;margin:.2rem 0 1rem;color:var(--blau)}
.text{margin:0 0 1rem;color:var(--grau);font-size:.95rem}
a{color:var(--blau);text-decoration:underline}
a:has(> button){text-decoration:none}
button.gross{display:flex;align-items:center;justify-content:center;gap:.6rem;width:100%;padding:1rem;border:0;border-radius:12px;background:var(--blau);color:#fff;font-size:1.05rem;font-weight:700;cursor:pointer;margin-top:.6rem}
button.gross:hover{background:#0a3182}
button.gross:disabled{opacity:.6;cursor:wait}
.finger{font-size:1.5rem;line-height:1}
input.code{width:100%;font-size:1.6rem;letter-spacing:.3em;text-align:center;padding:.6rem;border:2px solid var(--rand);border-radius:12px;background:#fff;color:var(--blau)}
input.code:focus{outline:none;border-color:var(--blau)}
.meldung{margin:.9rem 0 0;font-size:.92rem;min-height:1.4em;color:var(--blau)}
.meldung.fehler{color:var(--rot);font-weight:600}
.klein{font-size:.85rem;color:var(--grau);margin:1.1rem 0 0}
.trenner{display:flex;align-items:center;gap:.6rem;color:var(--grau);font-size:.85rem;margin:1.2rem 0 .4rem}
.trenner::before,.trenner::after{content:"";flex:1;border-top:1px solid var(--rand)}
.ok{background:#eef2f9;color:var(--blau);border-radius:8px;padding:.5rem .7rem;font-size:.9rem;margin-bottom:1rem}
