/* Anmeldeformular – an pvw.at angelehnt (Dunkelblau #292e69, Türkis #0ab2e8, Figtree) */
:root {
  --blau: #292e69;
  --tuerkis: #0ab2e8;
  --rot: #e63512;
  --text: #2c3e50;
  --grau: #959ea9;
  --linie: #e6e6e6;
  --flaeche: #f6f8fb;
  --radius: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: transparent; }
body {
  font-family: Figtree, "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}
.gp { max-width: 900px; margin: 0 auto; padding: 4px 2px 24px; }
.gp-intro { margin: 0 0 20px; }
.gp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.gp-schritt { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.gp-schritt legend {
  font-size: 1.25em; font-weight: 700; color: var(--blau); padding: 0; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.gp-nr {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--tuerkis); color: #fff; font-size: .8em;
}

.gp-kurse { display: grid; gap: 14px; }
.gp-kurs { border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px; background: #fff; }
.gp-kurs h3 { margin: 0; color: var(--blau); font-size: 1.15em; }
.gp-meta { margin: 2px 0 0; color: #5b6573; font-size: .92em; }
.gp-hinweis {
  display: inline-block; margin: 8px 0 0; padding: 2px 10px; border-radius: 999px;
  background: #fff1ec; color: var(--rot); font-size: .85em; font-weight: 600;
}
.gp-beschreibung { margin: 8px 0 0; font-size: .95em; }
.gp-termine { display: grid; gap: 8px; margin-top: 12px; }
.gp-termin {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 10px 14px; border: 2px solid var(--linie); border-radius: 8px; cursor: pointer;
  background: var(--flaeche); transition: border-color .15s, background .15s;
}
.gp-termin:hover { border-color: #bfe9f8; }
.gp-termin:has(input:checked) { border-color: var(--tuerkis); background: #eaf8fe; }
.gp-termin input { width: 20px; height: 20px; accent-color: var(--tuerkis); margin: 0; }
.gp-termin-text { display: flex; flex-direction: column; }
.gp-termin-text span { font-size: .88em; color: #5b6573; }
.gp-plaetze { font-size: .85em; font-weight: 600; color: #1b7f4b; white-space: nowrap; }
.gp-voll .gp-plaetze { color: var(--rot); }
.gp-vormerken { background: #fff; border-style: dashed; }
.gp-leer { padding: 16px; background: var(--flaeche); border-radius: var(--radius); }

.gp-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.gp-breit { grid-column: 1 / -1; }
.gp-feld { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .95em; color: var(--blau); }
.gp-feld input, .gp-feld textarea {
  font: inherit; font-weight: 400; color: var(--text); padding: 10px 12px; border: 1px solid #c9d1db;
  border-radius: 8px; background: #fff; width: 100%;
}
.gp-feld input:focus, .gp-feld textarea:focus { outline: 3px solid #bfe9f8; border-color: var(--tuerkis); }
.gp-feld.gp-ungueltig input { border-color: var(--rot); }
.gp-hilfe { font-weight: 400; font-size: .82em; color: var(--grau); }
.gp-feldfehler { color: var(--rot); font-weight: 600; font-size: .85em; margin: 2px 0 0; }
.gp-feldfehler:empty { display: none; }
.gp-fehler-box { background: #fff1ec; color: var(--rot); border-radius: 8px; padding: 10px 14px; font-weight: 600; }

.gp-check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 2px; cursor: pointer; }
.gp-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--tuerkis); flex: none; }
.gp-check a { color: var(--blau); }
.gp-senden {
  margin-top: 18px; font: inherit; font-weight: 700; color: #fff; background: var(--blau); border: 0;
  border-radius: 999px; padding: 13px 30px; cursor: pointer;
}
.gp-senden:hover { background: #1d2150; }
.gp-senden:disabled { opacity: .6; cursor: wait; }
.gp-klein { font-size: .8em; color: var(--grau); }
.gp-link { font: inherit; background: none; border: 0; padding: 0; color: var(--blau); text-decoration: underline; cursor: pointer; }

.gp-erfolg {
  border-radius: var(--radius); padding: 24px; background: #eaf8fe; border: 2px solid var(--tuerkis);
}
.gp-erfolg h2 { margin: 0 0 8px; color: var(--blau); }

@media (max-width: 620px) {
  body { font-size: 16px; }
  .gp-raster { grid-template-columns: 1fr; }
  .gp-termin { grid-template-columns: auto 1fr; }
  .gp-plaetze { grid-column: 2; }
}
