/* Omnes: gemeinsame Gestaltung (TauRes-Farben). Navy trägt, Gold markiert den Ursprung, Stahlblau das Team darunter. */
@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Palanquin'; src: url('/fonts/palanquin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Palanquin'; src: url('/fonts/palanquin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
:root {
  --grund: #F5F3EE; --karte: #FFFFFF; --tinte: #0E2340; --tinte-2: #56657A; --linie: #E2DED4;
  --navy: #003572; --stahl: #4C719C; --gold: #DDAE36; --gold-text: #8E6A12; --hell: #A9C0DC;
  --rot: #B4352B; --gruen: #2B7353; --ocker: #9A6410; --fokus: #4C719C;
  --knopf: #003572; --knopf-text: #FFFFFF;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root {
  --grund: #06111F; --karte: #0D1E36; --tinte: #E9EEF5; --tinte-2: #9AABC2; --linie: #1B3150;
  --navy: #8FB3E0; --stahl: #8FB3E0; --gold: #E3B84A; --gold-text: #E3B84A; --hell: #A9C0DC;
  --rot: #E8776B; --gruen: #6CC39A; --ocker: #E0A64F; --fokus: #8FB3E0;
  --knopf: #E3B84A; --knopf-text: #06111F;
  color-scheme: dark;
} }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--tinte); font: 400 16px/1.5 'Palanquin', ui-sans-serif, system-ui, sans-serif; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--fokus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
a { color: var(--stahl); }

/* Kopf mit Zeichen und Motto */
.marke-kopf { display: flex; align-items: center; gap: 12px; }
.marke-kopf img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.marke-kopf .wort { font-family: 'Newsreader', Georgia, serif; font-weight: 600; font-size: 26px; letter-spacing: -0.01em; line-height: 1; }
.motto { font-family: 'Newsreader', Georgia, serif; font-style: italic; color: var(--gold-text); letter-spacing: 0.01em; }
h1, h2.gross { font-family: 'Newsreader', Georgia, serif; font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; }
h1 { font-size: 36px; margin: 18px 0 6px; }

/* Bausteine */
.kasten { background: var(--karte); border: 1px solid var(--linie); border-radius: 16px; }
label { display: block; font-weight: 700; margin: 14px 0 6px; font-size: 15px; }
input, select, textarea { width: 100%; font-size: 17px; border: 1px solid var(--linie); background: var(--karte); border-radius: 12px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--stahl); }
.knopf { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; border-radius: 12px; padding: 13px 18px; font-size: 16px; font-weight: 700; background: var(--knopf); color: var(--knopf-text); cursor: pointer; text-decoration: none; }
.knopf.breit { width: 100%; margin-top: 18px; padding: 14px; font-size: 17px; }
.knopf.leise { background: transparent; color: var(--stahl); border: 1px solid var(--linie); }
.knopf.gefahr { background: transparent; color: var(--rot); border: 1px solid color-mix(in srgb, var(--rot) 35%, transparent); }
.knopf:disabled { opacity: .55; cursor: default; }
.klein { font-size: 14px; color: var(--tinte-2); }
.fehler { color: var(--rot); font-weight: 700; min-height: 24px; margin: 10px 0 0; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--tinte); color: var(--grund); padding: 10px 16px; border-radius: 12px; font-weight: 700; z-index: 9; max-width: calc(100% - 32px); }

/* Anmelden / Einladung: schmale Karte mittig */
.eingang { min-height: 100vh; display: grid; place-items: center; padding: calc(24px + env(safe-area-inset-top)) 16px 32px; }
.eingang main { width: 100%; max-width: 400px; }
.eingang .motto { margin: 10px 0 0; font-size: 17px; }
.eingang p.text { margin: 0 0 6px; color: var(--tinte-2); }
