/* Warteliste – gut lesbar ohne Lesebrille, aber ruhig und modern (kein Senioren-Look).
   Farben wie Folie 35. Überschriften Montserrat, Text Atkinson Hyperlegible – wie Folien und Umfragezettel. Schriften lokal (SIL Open Font License, Lizenztexte in fonts/). */
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("fonts/atkinson-hyperlegible-latin-400-normal.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: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("fonts/atkinson-hyperlegible-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("fonts/atkinson-hyperlegible-latin-700-normal.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: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("fonts/atkinson-hyperlegible-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700-normal.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: "Montserrat"; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F7F4EF; --karte: #ffffff; --text: #2b2230; --leise: #5a4f5e;
  --lila: #6d3f6a; --lila-hell: #f1e6ef; --linie: #cfc3cc; --fehler: #a3261f; --fehler-hell: #fbeceb;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  font-size: 18px; line-height: 1.55;
  padding: 16px 16px 40px;
}
.karte {
  max-width: 560px; margin: 0 auto; background: var(--karte);
  border-radius: 20px; padding: 28px 22px; box-shadow: 0 1px 3px rgba(60, 30, 60, .08);
}
@media (max-width: 420px) { body { padding: 0 0 24px; } .karte { border-radius: 0; padding: 24px 18px; box-shadow: none; background: var(--bg); } }

h1, h2 { font-family: "Montserrat", "Segoe UI", system-ui, sans-serif; font-weight: 700; color: var(--lila); line-height: 1.2; margin: 0 0 14px; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.15rem; margin-top: 26px; margin-bottom: 6px; }
p { margin: 0 0 14px; }
a { color: var(--lila); text-underline-offset: 3px; }
a:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid var(--lila); outline-offset: 2px; }

form { margin-top: 22px; }
.feld, fieldset { margin: 0 0 26px; }
fieldset { border: 0; padding: 0; min-width: 0; }
label[for], legend { display: block; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
legend { padding: 0; }
.klein { font-size: 16px; color: var(--leise); margin: -2px 0 10px; }

input[type="text"], input[type="email"] {
  width: 100%; min-height: 54px; padding: 12px 14px;
  font: inherit; font-size: 18px; color: var(--text); background: #fff;
  border: 2px solid var(--linie); border-radius: 12px;
}
input[type="text"]:focus, input[type="email"]:focus { border-color: var(--lila); }

/* Kästchen und Kreise: große Trefferfläche, ganze Zeile antippbar */
.wahl { display: flex; align-items: flex-start; gap: 14px; padding: 9px 0; cursor: pointer; font-weight: 400; }
.wahl input { flex: none; width: 28px; height: 28px; margin: 0; accent-color: var(--lila); cursor: pointer; }
.wahl span { padding-top: 1px; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.dreispaltig { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 28px; }

.hinweis { background: var(--lila-hell); border-radius: 14px; padding: 16px 18px; }
.einwilligung .wahl span { font-size: 17px; }
.einwilligung .klein { margin: 4px 0 0 42px; }

button {
  display: block; width: 100%; min-height: 58px; margin-top: 8px; padding: 14px 18px;
  font: inherit; font-weight: 700; font-size: 19px; color: #fff; background: var(--lila);
  border: 0; border-radius: 14px; cursor: pointer;
}
button:hover { background: #5a3258; }

.fehler { color: var(--fehler); font-weight: 700; font-size: 17px; margin: 8px 0 0; }
.fehler-box { background: var(--fehler-hell); color: var(--fehler); font-weight: 700; border-radius: 12px; padding: 14px 16px; }
[aria-invalid="true"] input[type="checkbox"], input[aria-invalid="true"] { border-color: var(--fehler); outline: 2px solid var(--fehler); outline-offset: 1px; }

dl { margin: 18px 0; }
dt { font-weight: 700; margin-top: 12px; }
dd { margin: 0; }

.fuss { text-align: center; font-size: 16px; margin: 30px 0 0; }
.lock { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
