:root {
  --blau: #00325b;
  --himmel: #009ee3;
  --limette: #d3d800;
  --sand: #cbcdb9;
  --sandhell: #f4f4ee;
  --himmelhell: #e5f5fc;
  --text: #3c3c3b;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--sandhell);
  color: var(--text);
  min-height: 100dvh;
}
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; }
button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--limette); outline-offset: 2px;
}
img { max-width: 100%; }
code { font-family: Menlo, Consolas, monospace; font-size: .92em; background: rgba(0,50,91,.08); padding: 1px 5px; }

/* ---------- Kopf ---------- */
.hkopf { background: var(--blau); padding: 26px 22px 30px; }
.label {
  display: inline-block; background: var(--himmel); color: #fff; font-weight: 700;
  font-size: 12px; letter-spacing: 1.2px; padding: 6px 14px;
}
.titel {
  display: inline-block; background: var(--limette); color: var(--blau); font-weight: 700;
  padding: 8px 20px; font-size: clamp(22px, 5vw, 34px); line-height: 1.15;
}
.hsub { color: #bfd3e2; font-size: 13px; margin-top: 12px; line-height: 1.5; word-break: break-word; }

/* ---------- Inhalt ---------- */
.inhalt { padding: 26px 22px 48px; }
.seite-schmal .inhalt { max-width: 560px; margin: 0 auto; }
.inhalt.breit { max-width: 1200px; margin: 0 auto; }

.karte { background: #fff; padding: 22px; margin-bottom: 22px; border-radius: 2px; }
.schritt {
  display: inline-block; background: var(--himmel); color: #fff; font-weight: 700;
  font-size: 12px; letter-spacing: 1.2px; padding: 5px 11px; margin-bottom: 12px;
}
.hfrage { font-size: 19px; font-weight: 700; color: var(--blau); margin-bottom: 16px; line-height: 1.3; }
.text { font-size: 15px; line-height: 1.55; margin-bottom: 16px; }
.hinweis { font-size: 12px; color: #6d6d6c; line-height: 1.5; margin-top: 10px; }
.fussnote { font-size: 13px; color: #6d6d6c; text-align: center; line-height: 1.6; }
.fussnote a { color: var(--blau); }

/* ---------- Meldungen ---------- */
.meldung { padding: 14px 16px; font-size: 14px; line-height: 1.5; margin-bottom: 22px; border-radius: 2px; }
.meldung.fehler { background: var(--sand); color: var(--blau); font-weight: 700; }
.meldung.ok { background: var(--himmelhell); color: var(--blau); }
.meldung.warnung { background: var(--limette); color: var(--blau); font-weight: 700; }

/* ---------- Formulare ---------- */
.feldlabel { display: block; font-size: 13px; font-weight: 700; color: var(--blau); margin: 18px 0 6px; }
.feld {
  width: 100%; border: 2px solid var(--sand); padding: 14px 16px; font-size: 17px;
  color: var(--text); background: #fff; border-radius: 2px;
}
.feld:focus { border-color: var(--himmel); }
.feldgross { line-height: 1.45; resize: vertical; }
.senden {
  display: block; width: 100%; margin-top: 22px; padding: 18px;
  background: var(--limette); color: var(--blau); font-weight: 700; font-size: 18px;
  border-radius: 2px; text-align: center;
}
.senden.alsLink { text-decoration: none; }
.senden:disabled { opacity: .45; }

/* ---------- Zahlung ---------- */
.qrkasten { background: #fff; padding: 16px; margin-top: 20px; text-align: center; }
.qrkasten img { width: min(280px, 100%); height: auto; display: inline-block; }

/* ---------- Adminübersicht ---------- */
.verteilung { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.verteilung li {
  display: flex; justify-content: space-between; gap: 16px;
  background: var(--sandhell); padding: 10px 14px; font-size: 15px;
}
.verteilung b { color: var(--blau); }

.tabellenhuelle { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabelle th, .tabelle td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--sand);
  vertical-align: top;
}
.tabelle th { font-size: 12px; letter-spacing: 1px; color: var(--himmel); white-space: nowrap; }
.tabelle td.themen { min-width: 240px; line-height: 1.45; }
.tabelle .offen { color: #9a9a98; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
