/* Schriften liegen im Ordner fonts (selbst gehostet, keine externen Anfragen) */
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-700-latin.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: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-800-latin.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: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-400-latin.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: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-600-latin.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: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

/* Gürtelfarben: jede Fläche mit ihrer Textfarbe (Kontrast AA geprüft) */
:root {
  --weiss: #ffffff;  --auf-weiss: #16181b;
  --gelb: #ffd21f;   --auf-gelb: #1c1a10;
  --orange: #f28c18; --auf-orange: #1d1206;
  --gruen: #1f7a3a;  --auf-gruen: #ffffff;
  --blau: #1554a0;   --auf-blau: #ffffff;
  --braun: #5c3a1a;  --auf-braun: #ffffff;
  --schwarz: #121212; --auf-schwarz: #ececec;
  --anzeige: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, sans-serif;
  --band: clamp(3.5rem, 8vw, 6rem);
  --abschnitt: clamp(3rem, 7vw, 6rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--auf-weiss) var(--weiss); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.125rem/1.6 var(--text); color: var(--auf-weiss); background: var(--weiss); hyphens: auto; overflow-wrap: break-word; }
::selection { background: var(--schwarz); color: var(--gelb); }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
p, dd { max-width: 65ch; }
strong { font-weight: 600; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, dt { font-family: var(--anzeige); text-transform: uppercase; line-height: .95; letter-spacing: .005em; text-wrap: balance; hyphens: manual; }
h1 { font-weight: 800; font-size: clamp(2.9rem, 9vw, 6rem); margin: 0 0 1.25rem; }
h2 { font-weight: 800; font-size: clamp(2.2rem, 5.5vw, 3.75rem); margin: 0 0 1.5rem; }
h3, dt { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .5rem; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--schwarz); color: var(--auf-schwarz); padding: .75rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }

/* Kopf */
.kopf { background: var(--weiss); }
.kopf .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding-top: .75rem; padding-bottom: .75rem; }
.marke { font: 800 1.5rem/1 var(--anzeige); text-transform: uppercase; text-decoration: none; padding: .6rem 0; }
.kopf nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.kopf nav a { font: 700 1.15rem/1 var(--anzeige); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; padding: .8rem 0; border-bottom: 3px solid transparent; }
.kopf nav a:hover { border-bottom-color: currentColor; }

/* Abschnitte in Gürtelfarben, oben eine doppelte Steppnaht */
section, .fuss { position: relative; padding: var(--abschnitt) 0; }
section:not(.start)::before, .fuss::before {
  content: ""; position: absolute; left: 0; right: 0; top: .9rem; height: 10px;
  background:
    repeating-linear-gradient(90deg, currentColor 0 14px, transparent 14px 22px) top / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 14px, transparent 14px 22px) bottom / 100% 2px no-repeat;
  opacity: .28;
}
.g-weiss  { background: var(--weiss);   color: var(--auf-weiss); }
.g-gelb   { background: var(--gelb);    color: var(--auf-gelb); }
.g-orange { background: var(--orange);  color: var(--auf-orange); }
.g-gruen  { background: var(--gruen);   color: var(--auf-gruen); }
.g-blau   { background: var(--blau);    color: var(--auf-blau); }
.g-braun  { background: var(--braun);   color: var(--auf-braun); }
.g-schwarz{ background: var(--schwarz); color: var(--auf-schwarz); }

/* Erster Bildschirm: Titel, Gürtelband, Knoten als Hauptschalter */
.start { padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); margin: 0 0 clamp(2.5rem, 6vw, 4rem); }
.guertel { display: grid; grid-template-columns: repeat(7, 1fr); height: var(--band); position: relative; box-shadow: 0 10px 18px -12px rgba(0,0,0,.45); }
.guertel .g1 { background: #f1f1ee; } .guertel .g2 { background: var(--gelb); } .guertel .g3 { background: var(--orange); }
.guertel .g4 { background: var(--gruen); } .guertel .g5 { background: var(--blau); } .guertel .g6 { background: var(--braun); } .guertel .g7 { background: var(--schwarz); }
.guertel::after {
  content: ""; position: absolute; inset: 22% 0;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.32) 0 12px, transparent 12px 20px) top / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, rgba(0,0,0,.32) 0 12px, transparent 12px 20px) bottom / 100% 2px no-repeat;
  mix-blend-mode: multiply;
}
.knoten-zeile { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: calc(var(--band) * -0.45); position: relative; }
.knoten {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  min-height: calc(var(--band) + 1.5rem); padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: var(--schwarz); color: #fff; text-decoration: none;
  font: 800 clamp(1.35rem, 3.4vw, 2.1rem)/1 var(--anzeige); text-transform: uppercase; letter-spacing: .02em;
  border-radius: .6rem; box-shadow: 0 12px 24px -10px rgba(0,0,0,.55);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1);
}
/* die beiden Gürtelenden unter dem Knoten */
.knoten::before, .knoten::after {
  content: ""; position: absolute; top: 85%; width: 1.6rem; height: 3.2rem; background: var(--schwarz); border-radius: 0 0 .25rem .25rem; z-index: -1;
}
.knoten::before { left: 38%; transform: rotate(14deg); }
.knoten::after  { right: 38%; transform: rotate(-14deg); }
.knoten:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(0,0,0,.6); text-decoration: none; }
.knoten:active { transform: translateY(1px); box-shadow: 0 6px 12px -6px rgba(0,0,0,.6); }
.knoten:focus-visible { outline: 3px solid var(--auf-weiss); outline-offset: 3px; box-shadow: 0 0 0 3px var(--weiss), 0 12px 24px -10px rgba(0,0,0,.55); }
.knoten-neben { margin: 3.25rem 0 0; font-size: 1.05rem; }
.knoten-neben a { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
  .guertel::after { animation: naht 1.4s cubic-bezier(.16,1,.3,1) both; }
  .knoten { animation: binden .9s .25s cubic-bezier(.16,1,.3,1) both; }
}
@keyframes naht { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes binden { from { transform: scale(1.06); box-shadow: 0 4px 8px -6px rgba(0,0,0,.4); } to { transform: none; } }

/* Angebot: Einträge direkt auf der Fläche, keine Kästen */
.angebot { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem); margin: 0; }
.angebot dd { margin: 0; }

/* Tabellen */
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 0 0 1.5rem; }
th { font: 700 1rem/1.2 var(--anzeige); text-transform: uppercase; letter-spacing: .06em; text-align: left; padding: .5rem .75rem .5rem 0; border-bottom: 3px solid currentColor; }
td { padding: .85rem .75rem .85rem 0; vertical-align: top; border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
td:first-child { font-weight: 600; }
td:last-child, th:last-child { white-space: nowrap; padding-right: 0; }
.zeiten td:last-child { font-weight: 600; }
.preise { max-width: 36rem; }
.preise td:last-child { text-align: right; font: 800 1.6rem/1 var(--anzeige); }
.ort { margin-top: 1.5rem; }

/* Trainer */
.personen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 2rem clamp(2rem, 6vw, 5rem); }
.personen h3 { font-size: clamp(2rem, 4.5vw, 2.75rem); }
.personen p { margin: 0; }

.kontakt { font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.5; }
.kontakt a { font-weight: 600; }

/* Fuß */
.fuss { padding: 2.5rem 0; }
.fuss a { display: inline-block; margin-right: 1.5rem; padding: .6rem 0; font: 700 1.1rem/1 var(--anzeige); text-transform: uppercase; letter-spacing: .04em; }

/* Rechtsseiten */
.guertel.duenn { height: .9rem; box-shadow: none; }
.guertel.duenn::after { display: none; }
.rechtstext h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
.rechtstext h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 2.5rem 0 .75rem; }

@media (max-width: 40rem) {
  body { font-size: 1.0625rem; }
  table { font-size: .95rem; }
  th, td { padding-right: .4rem; }
  .knoten::before { left: 30%; } .knoten::after { right: 30%; }
}

/* Nach oben: am Ende jedes Abschnitts */
.hoch { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: 2rem; font: 700 1.05rem/1 var(--anzeige); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; border-bottom: 2px solid transparent; }
.hoch::after { content: "\2191"; font-size: 1.2em; }
.hoch:hover { border-bottom-color: currentColor; text-decoration: none; }

/* Probetraining-Formular */
.formular { max-width: 40rem; display: grid; gap: 1.75rem; }
.formular fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .75rem; min-width: 0; }
.formular legend, .formular .feld > label { font: 700 1.25rem/1.1 var(--anzeige); text-transform: uppercase; letter-spacing: .02em; padding: 0; margin-bottom: .75rem; }
.feld { display: grid; gap: .4rem; }
.formular input[type="text"], .formular input[type="number"], .formular input[type="tel"] {
  font: inherit; color: inherit; background: var(--weiss); width: 100%; min-height: 48px; padding: .6rem .8rem;
  border: 2px solid var(--auf-weiss); border-radius: .35rem;
}
.formular input:focus-visible { outline: 3px solid var(--auf-weiss); outline-offset: 2px; }
.wahl { display: flex; align-items: flex-start; gap: .7rem; min-height: 44px; cursor: pointer; }
.wahl input { width: 1.4rem; height: 1.4rem; margin: .15rem 0 0; flex: none; accent-color: var(--schwarz); }
.wahlen { display: flex; flex-wrap: wrap; gap: .25rem 2rem; }
.termine { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .25rem 1.5rem; }
#kinderliste { display: grid; gap: 1rem; }
.kind { display: grid; grid-template-columns: 1fr 6.5rem; gap: .75rem; }
.kind .feld > label { font: 600 1rem/1.2 var(--text); text-transform: none; margin: 0; }
.hinweis { font-size: .95rem; margin: 0; }
.fehler { background: var(--gelb); color: var(--auf-gelb); padding: 1rem 1.25rem; border-radius: .35rem; margin: 0; }
.formular [hidden], .fehler[hidden], .falle { display: none; }
.senden { justify-self: start; font: 800 clamp(1.3rem, 3vw, 1.7rem)/1 var(--anzeige); text-transform: uppercase; letter-spacing: .02em; color: #fff; background: var(--schwarz); border: 0; border-radius: .6rem; min-height: 3.5rem; padding: 0 2rem; cursor: pointer; box-shadow: 0 12px 24px -10px rgba(0,0,0,.55); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.senden:hover { transform: translateY(-2px); }
.senden:focus-visible { outline: 3px solid var(--auf-weiss); outline-offset: 3px; }
@media (max-width: 40rem) { .kind { grid-template-columns: 1fr 5rem; } }

/* Anfahrt: Karte erst nach Klick */
a.senden { display: inline-flex; align-items: center; text-decoration: none; }
.karte { margin-top: 2rem; max-width: 56rem; aspect-ratio: 4 / 3; display: grid; place-content: center; gap: 1rem; padding: 1.5rem; text-align: center; justify-items: center; background: color-mix(in srgb, var(--gelb) 22%, var(--weiss)); border: 2px solid var(--auf-weiss); border-radius: .35rem; }
.karte p { margin: 0; }
.karte iframe { width: 100%; height: 100%; min-height: 22rem; border: 0; display: block; }
.karte:has(iframe) { padding: 0; display: block; }
.karte-laden { font: 700 1.2rem/1 var(--anzeige); text-transform: uppercase; letter-spacing: .03em; min-height: 48px; padding: 0 1.5rem; color: var(--auf-weiss); background: var(--weiss); border: 2px solid var(--auf-weiss); border-radius: .35rem; cursor: pointer; }
.karte-laden:hover { background: var(--auf-weiss); color: var(--weiss); }
.karte-laden:focus-visible { outline: 3px solid var(--auf-weiss); outline-offset: 3px; }
@media (max-width: 40rem) { .karte { aspect-ratio: auto; min-height: 22rem; } }

/* Zurück-Link oben auf Unterseiten */
.zurueck { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin: 0 0 1rem; font: 700 1.05rem/1 var(--anzeige); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; border-bottom: 2px solid transparent; }
.zurueck::before { content: "\2190"; font-size: 1.2em; }
.zurueck:hover { border-bottom-color: currentColor; }

/* Mitglied werden: schwarzer Knopf auf Blau, weiß umrandet für Kontrast */
.mitglied { margin-top: 1rem; outline: 2px solid var(--auf-blau); outline-offset: 0; }
.mitglied:focus-visible { outline: 3px solid var(--auf-blau); outline-offset: 3px; }
