/* Kursanmeldung Stark mit Köpfchen. Farben und Schriften aus 05-Ressourcen/corporate-identity.md (SmK). */
@font-face { font-family: "Nunito Sans"; src: url("schrift/NunitoSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("schrift/NunitoSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("schrift/PlayfairDisplay-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --rot: #8C1C13;
  --rot-hell: #B5352A;
  --hauch: #F5E8E7;
  --schwarz: #1A1A1A;
  --text: #3A3A3A;
  --sand: #F5F0E8;
  --sand-dunkel: #E8DFD0;
  --weiss: #FDFBF8;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--rot-hell); }
a:hover { color: var(--rot); }

.kopf { background: var(--weiss); border-bottom: 3px solid var(--rot); padding: 12px 16px; text-align: center; }
.kopf img { display: inline-block; height: auto; max-width: 150px; }

.inhalt { max-width: 760px; margin: 0 auto; padding: 32px 16px 48px; }

.augenbraue { color: var(--rot-hell); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin: 0 0 6px; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; color: var(--rot); line-height: 1.2; }
h1 { font-size: 2.1rem; margin: 0 0 20px; }
h2 { font-size: 1.5rem; margin: 0 0 12px; }

.eckdaten { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 24px; }
.eckdaten div { background: var(--weiss); border-left: 4px solid var(--rot); padding: 12px 16px; }
.eckdaten dt { font-weight: 700; color: var(--schwarz); font-size: 0.9rem; }
.eckdaten dd { margin: 2px 0 0; }

.platzhinweis { background: var(--rot); color: var(--weiss); font-weight: 700; padding: 10px 16px; border-radius: 4px; }

.kurstext { margin: 0 0 32px; }
.kurstext .einstieg { font-size: 1.15rem; color: var(--schwarz); }
.kurstext ul { padding-left: 22px; }

.formular, .geschlossen { background: var(--weiss); border-radius: 6px; padding: 28px 24px; box-shadow: 0 1px 0 var(--sand-dunkel); }
.pflichthinweis { font-size: 0.9rem; margin-top: -4px; }

fieldset { border: 0; border-top: 1px solid var(--rot); margin: 24px 0 0; padding: 16px 0 0; }
legend { font-weight: 700; color: var(--schwarz); font-size: 1.1rem; padding: 0 8px 0 0; }
.frei { font-weight: 400; font-size: 0.85rem; color: var(--text); }

label { display: block; font-weight: 700; color: var(--schwarz); margin: 0 0 14px; font-size: 0.95rem; }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px;
  font: inherit; font-weight: 400; color: var(--schwarz);
  background: #fff; border: 1px solid #CFC5B4; border-radius: 4px;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--hauch); border-color: var(--rot); }
.reihe { display: flex; gap: 16px; }
.reihe > label { flex: 1; }
.reihe > .schmal { flex: 0 0 120px; }
label.schmal { max-width: 240px; }
.feldhinweis { display: block; font-weight: 400; font-size: 0.85rem; color: var(--text); margin: 2px 0 0; }
.werbehinweis { font-size: 0.95rem; color: var(--text); margin: 4px 0 12px; }

.haken { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.haken input { margin-top: 5px; width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--rot); }

.knopf {
  display: inline-block; margin-top: 20px; padding: 14px 32px;
  background: var(--rot); color: var(--weiss); border: 0; border-radius: 4px;
  font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; text-decoration: none;
}
.knopf:hover { background: var(--rot-hell); color: var(--weiss); }
.knopf-hell { background: transparent; color: var(--rot); border: 2px solid var(--rot); }
.knopf-hell:hover { background: var(--rot); }

.fehler { background: var(--hauch); border-left: 4px solid var(--rot); padding: 10px 14px; color: var(--schwarz); font-weight: 700; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hinweis-test { background: #FFF3C4; padding: 8px 12px; font-weight: 700; }
.kontakt { margin-top: 28px; font-size: 0.95rem; }

.fuss { border-top: 1px solid var(--sand-dunkel); padding: 20px 16px; text-align: center; font-size: 0.85rem; color: #8A8A8A; }
.fuss nav { margin-top: 6px; }
.fuss a { color: #8A8A8A; margin: 0 8px; }

.rechtstext h2 { font-size: 1.25rem; margin-top: 28px; }
.rechtstext table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; background: var(--weiss); font-size: 0.95rem; }
.rechtstext th, .rechtstext td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--sand-dunkel); }
.rechtstext th { color: var(--schwarz); }

@media (max-width: 600px) {
  .rechtstext table, .rechtstext tbody, .rechtstext tr, .rechtstext td { display: block; width: 100%; }
  .rechtstext thead { display: none; }
  .rechtstext td:first-child { font-weight: 700; color: var(--schwarz); border-bottom: 0; padding-bottom: 0; }
  h1 { font-size: 1.7rem; }
  .eckdaten { grid-template-columns: 1fr; }
  .reihe { flex-direction: column; gap: 0; }
  .reihe > .schmal { flex: 1; }
  .formular, .geschlossen { padding: 20px 16px; }
}
