/* Tanzkurs-Anmeldung — eigenständig, damit das Theme (OceanWP) nichts verschiebt.
   ALLE Größen in em, bezogen auf .tk: OceanWP setzt html auf 10 px (62,5 %), rem wäre winzig.
   Akzentfarbe #556ea0 ist die Hauptfarbe von roj-bw.de. */
.tk {
  --tk-akzent: #556ea0;
  --tk-akzent-dunkel: #3e5382;
  --tk-hell: #eef2f8;
  --tk-rand: #cfd6e3;
  --tk-text: #1f2633;
  --tk-leise: #5b6475;
  --tk-rot: #b3261e;
  --tk-rot-hell: #fdeceb;
  --tk-gelb: #fff6d6;
  max-width: 760px;
  margin: 0 auto 3em;
  padding: 0 16px;
  color: var(--tk-text);
  font-size: 16px;
  line-height: 1.55;
  box-sizing: border-box;
}
.tk *, .tk *::before, .tk *::after { box-sizing: inherit; }
.tk [hidden] { display: none !important; }

.tk-kopf { padding: 1.5em 0 1em; border-bottom: 3px solid var(--tk-akzent); margin-bottom: 1.5em; }
.tk-ueber { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .8em; color: var(--tk-akzent); font-weight: 600; }
.tk-kopf h2 { margin: .2em 0 .1em; font-size: clamp(1.8em, 5vw, 2.4em); line-height: 1.15; color: var(--tk-text); }
.tk-ziel { margin: 0 0 1em; color: var(--tk-leise); }
.tk-eckdaten { display: grid; grid-template-columns: repeat(auto-fit, minmax(11em, 1fr)); gap: .75em; margin: 0 0 1em; }
.tk-eckdaten div { background: var(--tk-hell); border-radius: .5em; padding: .6em .8em; }
.tk-eckdaten dt { font-size: .75em; text-transform: uppercase; letter-spacing: .06em; color: var(--tk-leise); }
.tk-eckdaten dd { margin: 0; font-weight: 600; }
.tk-marke { display: inline-block; font-size: .7em; font-weight: 600; background: var(--tk-akzent); color: #fff; border-radius: 1em; padding: 0 .5em; vertical-align: .1em; }
.tk-veranstalter { font-size: .9em; color: var(--tk-leise); margin: 0; }

.tk-formular fieldset { border: 1px solid var(--tk-rand); border-radius: .6em; padding: 1em 1em .5em; margin: 0 0 1.25em; min-width: 0; }
.tk-formular legend { font-weight: 700; font-size: 1.1em; padding: 0 .4em; display: flex; align-items: center; gap: .5em; }
.tk-nr { display: inline-flex; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--tk-akzent); color: #fff; font-size: .9em; align-items: center; justify-content: center; }
.tk-eltern { background: var(--tk-gelb); border-color: #e6d28a !important; }

.tk-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1em; }
.tk-reihe-plz { grid-template-columns: 8em 1fr; }
@media (max-width: 34em) { .tk-reihe, .tk-reihe-plz { grid-template-columns: 1fr; } }

.tk-feld { margin-bottom: .9em; display: flex; flex-direction: column; }
.tk-feld label, .tk-gruppe-titel { font-weight: 600; font-size: .92em; margin-bottom: .25em; }
.tk .tk-feld input {
  width: 100%; font: inherit; color: inherit; padding: .6em .7em; min-height: 2.75em;
  border: 1px solid #9aa4b6; border-radius: .4em; background: #fff; margin: 0;
}
.tk .tk-feld input:focus { outline: 3px solid rgba(85, 110, 160, .35); border-color: var(--tk-akzent); }
.tk-feld small, .tk-klein { font-size: .85em; color: var(--tk-leise); }
.tk-alterinfo { justify-content: flex-end; font-size: .9em; color: var(--tk-leise); padding-bottom: .9em; }
.tk-alterinfo.tk-warn { color: var(--tk-rot); font-weight: 600; }

.tk-gruppe { margin-bottom: .9em; display: flex; flex-wrap: wrap; gap: .5em; align-items: center; }
.tk-gruppe-titel { flex-basis: 100%; }
.tk-wahl { display: inline-flex; align-items: center; gap: .45em; border: 1px solid var(--tk-rand); border-radius: 2em; padding: .45em .9em; cursor: pointer; background: #fff; min-height: 2.75em; }
.tk-wahl:has(input:checked) { border-color: var(--tk-akzent); background: var(--tk-hell); font-weight: 600; }
.tk-wahl input, .tk-haken input { width: 1.15em; height: 1.15em; margin: 0; accent-color: var(--tk-akzent); flex: none; }
.tk-haken { margin-bottom: .8em; }
.tk-haken label { display: flex; gap: .6em; align-items: flex-start; cursor: pointer; }
.tk-haken input { margin-top: .2em; }

.tk-hat-fehler input, .tk-hat-fehler .tk-wahl { border-color: var(--tk-rot) !important; }
.tk-fehler { display: block; color: var(--tk-rot); font-size: .88em; font-weight: 600; margin-top: .25em; flex-basis: 100%; }
.tk-fehlerkasten { background: var(--tk-rot-hell); border-left: 4px solid var(--tk-rot); padding: .8em 1em; border-radius: .4em; margin-bottom: 1.25em; }
.tk-fehlerkasten p { margin: 0 0 .3em; }
.tk-fehlerkasten ul { margin: 0; padding-left: 1.2em; }
.tk-fehlerkasten a { color: var(--tk-rot); }

.tk-summe { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5em; background: var(--tk-hell); border-radius: .5em; padding: .8em 1em; margin-bottom: .8em; }
.tk-summe-titel { display: block; font-size: .8em; text-transform: uppercase; letter-spacing: .06em; color: var(--tk-leise); }
.tk-summe-monat { font-size: 1.8em; color: var(--tk-akzent-dunkel); }
.tk-preise { width: 100%; border-collapse: collapse; margin: 0 0 .3em; font-size: .95em; }
.tk-preise th, .tk-preise td { padding: .4em .5em; border-bottom: 1px solid var(--tk-rand); text-align: left; }
.tk-preise thead th { font-size: .8em; color: var(--tk-leise); font-weight: 600; }
.tk-preise td { font-variant-numeric: tabular-nums; }
.tk-preise td.tk-aktiv { background: var(--tk-akzent); color: #fff; font-weight: 700; border-radius: .3em; }

.tk-mandat, .tk-bedingungen { font-size: .9em; background: #f7f8fb; border-radius: .4em; padding: .7em .9em; margin: 0 0 .9em; }
.tk-datenschutz { margin: 0 0 .9em; font-size: .9em; }
.tk-datenschutz summary { cursor: pointer; color: var(--tk-akzent-dunkel); font-weight: 600; }

.tk-knopf {
  display: block; width: 100%; font: inherit; font-weight: 700; font-size: 1.1em; padding: .9em 1em;
  border: 0; border-radius: .5em; background: var(--tk-akzent); color: #fff; cursor: pointer; margin: .5em 0;
}
.tk-knopf:hover, .tk-knopf:focus { background: var(--tk-akzent-dunkel); }
.tk-knopf:disabled { opacity: .7; cursor: wait; }

.tk-honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tk-vorschau { background: var(--tk-gelb); border: 1px dashed #c9a92c; border-radius: .4em; padding: .6em .9em; margin-bottom: 1em; font-size: .9em; }
.tk-vorschau .tk-haken { margin: 0; }
.tk-hinweis { background: var(--tk-hell); border-radius: .5em; padding: 1em; margin-bottom: 1em; }
.tk-erfolg { background: #e9f5ee; border-left: 4px solid #2e7d4f; border-radius: .4em; padding: 1em 1.2em; }
.tk-erfolg h3 { margin-top: 0; }
.tk-zusammen { display: grid; grid-template-columns: repeat(auto-fit, minmax(12em, 1fr)); gap: .5em; }
.tk-zusammen dt { font-size: .75em; text-transform: uppercase; color: var(--tk-leise); }
.tk-zusammen dd { margin: 0; font-weight: 600; }

/* OceanWP überschreibt Knöpfe, Tabellenköpfe und Häkchen — hier fest zurücksetzen. */
.tk button.tk-knopf { background: var(--tk-akzent) !important; color: #fff !important; text-transform: none !important; letter-spacing: 0 !important; border-radius: .5em !important; }
.tk button.tk-knopf:hover, .tk button.tk-knopf:focus { background: var(--tk-akzent-dunkel) !important; }
.tk input[type=checkbox], .tk input[type=radio] { -webkit-appearance: auto !important; appearance: auto !important; width: 1.15em !important; height: 1.15em !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; }
.tk input[type=checkbox]::before, .tk input[type=radio]::before { content: none !important; display: none !important; }
.tk .tk-preise th, .tk .tk-preise td { text-transform: none; letter-spacing: 0; }

.tk-stern { color: var(--tk-rot); font-weight: 700; margin-left: .15em; }

/* Am PC größer (Nikita, 22.09.2026: „auf dem PC zu klein") — das Theme setzt 14 px Grundschrift. */
@media (min-width: 900px) {
  .tk { max-width: 980px; font-size: 18px; }
  .tk-kopf h2 { font-size: 2.9em; }
  .tk-eckdaten dd { font-size: 1.1em; }
  .tk-formular legend { font-size: 1.3em; }
  .tk-nr { width: 2em; height: 2em; font-size: 1em; }
  .tk-formular fieldset { padding: 1.4em 1.5em .8em; }
  .tk-feld label, .tk-gruppe-titel { font-size: 1em; }
  .tk .tk-feld input { font-size: 1.05em; min-height: 3.1em; }
  .tk-feld small, .tk-klein, .tk-veranstalter { font-size: .95em; }
  .tk-mandat, .tk-bedingungen, .tk-datenschutz, .tk-vorschau { font-size: 1em; }
  .tk-preise { font-size: 1.05em; }
  .tk-summe-monat { font-size: 2.2em; }
  .tk input[type=checkbox], .tk input[type=radio] { width: 1.3em !important; height: 1.3em !important; }
  .tk button.tk-knopf { font-size: 1.25em; padding: 1.05em 1em; }
}

/* Flyer (22.09.2026) — zwei Vorschaubilder nebeneinander, auch am Handy */
.tk-untertitel { margin: .1em 0 .2em; font-size: 1.15em; color: var(--tk-akzent-dunkel); font-style: italic; }
.tk-leitung { margin: 0 0 1em; }
.tk-leitung span { font-weight: 600; }
.tk-flyer { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin: 1.2em 0 .5em; }
.tk-flyer-bild { display: block; text-decoration: none !important; color: var(--tk-akzent-dunkel) !important; border-radius: .5em; overflow: hidden;
  border: 1px solid var(--tk-rand); background: #fff; transition: transform .15s, box-shadow .15s; }
.tk-flyer-bild:hover, .tk-flyer-bild:focus { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31, 38, 51, .15); }
.tk-flyer-bild img { display: block; width: 100%; height: auto; }
.tk-flyer-bild span { display: block; padding: .5em .7em; font-size: .9em; font-weight: 600; text-align: center; }
.tk-flyer-weiter { grid-column: 1 / -1; text-align: center; font-weight: 600; color: var(--tk-akzent-dunkel) !important; }
@media (min-width: 900px) { .tk-flyer { grid-template-columns: 1fr 1fr; max-width: 720px; margin-left: auto; margin-right: auto; } }
