/* Webseite kampfkunst.schule
   Aufbau wie der Startseiten-Entwurf vom 12.11.2026 (Hausschrift Light/Bold, Foto-Hero, Linie vor Überschriften),
   Farben aus dem Corporate Design (wie static/css/app.css). */
@font-face { font-family: "KSZ"; src: url("fonts/ainslie-sans-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "KSZ"; src: url("fonts/ainslie-sans-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "KSZ"; src: url("fonts/ainslie-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --cd-anthracite: #3c413d;
  --cd-black: #231f20;
  --cd-yellow: #ebc900;
  --cd-green: #4fb848;
  --cd-cyan: #00accd;
  --cd-magenta: #ed0677;
  --cd-light: #f2f3f2;

  --bg: var(--cd-light);
  --surface: #ffffff;
  --text: var(--cd-anthracite);
  --heading: var(--cd-black);
  --muted: #5f6561;
  --accent: var(--cd-green);
  --accent-hover: #45a63f;
  --accent-ink: var(--cd-black);
  --dark: #1c1c1c;
  --dark-text: #d6d6d6;
  --font: "KSZ", "Ainslie Sans", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1rem; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Überschriften: erste Hälfte Light, zweite Bold – wie im Logo-Schriftzug */
h1, h2 { margin: 0; font-weight: 400; line-height: 1.06; color: var(--heading); letter-spacing: -.005em; }
h1 .light, h2 .light { font-weight: 300; display: block; }
h1 .bold, h2 .bold { font-weight: 700; display: block; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.25rem); margin-bottom: 1.5rem; }
.h2-row .light, .h2-row .bold { display: inline; }

/* Kleine Überschrift mit Linie davor */
.eyebrow { display: flex; align-items: center; gap: .9rem; font-size: .82rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.2rem; }
.eyebrow::before { content: ""; width: 40px; height: 3px; background: var(--heading); flex: none; }
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: var(--accent); }

/* Buttons: Pille, CD-Grün mit dunkler Schrift */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700;
  padding: 1rem 2.1rem; border-radius: 50px; font-size: .9rem; letter-spacing: .22em; text-transform: uppercase; border: 2px solid var(--accent); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; font-weight: 400; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-small { padding: .7rem 1.5rem; font-size: .78rem; }

.more { display: inline-block; margin-top: .4rem; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--heading); border-bottom: 2px solid var(--heading); padding-bottom: 2px; }
.more:hover { border-color: var(--accent); }

/* Kopfzeile */
.topbar { position: sticky; top: 0; z-index: 10; background: var(--dark); color: #fff; }
.topbar-inner { display: flex; align-items: center; gap: 2rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand img { height: 46px; width: auto; }
.topnav { display: flex; gap: 1.75rem; margin-left: auto; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.topnav a { text-decoration: none; color: #fff; padding: .3rem 0; border-bottom: 2px solid transparent; }
.topnav a:hover { border-color: var(--accent); }

/* Hero */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
/* Foto rechts, läuft nach links weich ins Dunkle aus – Text links bleibt auf ruhigem Grund */
.hero-bg { position: absolute; top: 0; right: 0; width: 68%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: .85;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%); mask-image: linear-gradient(to right, transparent 0, #000 30%); }
@media (max-width: 1000px) {
  .hero-bg { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }
}
.hero-inner { position: relative; padding-top: 9rem; padding-bottom: 7.5rem; }
.hero h1 { color: #fff; font-size: clamp(3rem, 6.5vw, 4.9rem); max-width: 820px; }
.hero-claim { font-size: 1.35rem; margin: 1.8rem 0 0; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* Auf einen Blick */
.facts { background: var(--dark); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; padding-top: 2.1rem; padding-bottom: 2.1rem; }
.fact { border-top: 3px solid var(--accent); padding-top: 1rem; display: flex; flex-direction: column; }
.fact strong { font-size: 1.35rem; }
.fact span { color: #c8c8c8; font-size: 1rem; }

/* Abschnitte */
.section { padding: 6.5rem 0; }
.section-flush { padding-top: 0; }
.section-white { background: var(--surface); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.two-col-center { align-items: center; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--heading); }

/* Altersgruppen */
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.group { background: var(--surface); border-radius: 4px; overflow: hidden; text-decoration: none; border-top: 4px solid var(--group);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.group:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .1); }
.group:hover .more { border-color: var(--group); }
.group img { height: 210px; width: 100%; object-fit: cover; object-position: center 30%; }
.group-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.group-age { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.group h3 { margin: 0; font-size: 1.6rem; font-weight: 700; line-height: 1.2; color: var(--heading); }
.group p { margin: 0; font-size: 1rem; flex: 1; }
.group .more { align-self: flex-start; margin-top: .7rem; }

/* Über uns */
.about-image { width: 100%; max-width: 480px; height: auto; border-radius: 4px; }  /* ganzes Foto, nicht beschnitten */
.signature strong { font-weight: 700; color: var(--heading); }

/* Stimmen */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.quote { margin: 0; border-top: 3px solid var(--heading); padding-top: 1.4rem; }
.quote blockquote { margin: 0 0 1.1rem; font-weight: 300; font-size: 1.4rem; line-height: 1.45; color: var(--heading); }
.quote figcaption { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Kontakt + Fußzeile */
.contact { background: var(--dark); color: #fff; }
.contact h2 { color: #fff; }
.contact-inner { padding-top: 7rem; padding-bottom: 6rem; }
.contact-text { color: var(--dark-text); max-width: 520px; margin-bottom: 2rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.contact h3 { margin: 0 0 .6rem; font-size: .9rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.contact-grid p { margin: 0; color: var(--dark-text); }
.contact-grid a { text-decoration: none; }
.contact-grid a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.bottom { border-top: 1px solid #3a3a3a; }
.bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; font-size: .88rem; color: #a8a8a8; }
.legal { display: flex; gap: 1.4rem; }
.legal a { color: #a8a8a8; }
.legal a:hover { color: #fff; }

/* Tablet */
@media (max-width: 1000px) {
  .topnav { display: none; }
  .topbar-inner { justify-content: space-between; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}
/* Handy */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 1.25rem; }
  .brand img { height: 36px; }
  .btn-small { padding: .6rem 1rem; font-size: .7rem; letter-spacing: .14em; }
  .hero-inner { padding-top: 5rem; padding-bottom: 4.5rem; }
  .section { padding: 4.5rem 0; }
  .section-flush { padding-top: 0; }
  .groups { grid-template-columns: 1fr; }
  .group img { height: 220px; }
  .contact-inner { padding-top: 4.5rem; padding-bottom: 4rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ───────────── Unterseiten ───────────── */

/* Seitenkopf: wie der Hero der Startseite, nur niedriger */
.hero-page .hero-inner { padding-top: 6.5rem; padding-bottom: 5.5rem; }
.hero-page h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
.hero-page .hero-claim { font-size: 1.25rem; color: var(--dark-text); max-width: 560px; }

/* Fließtext */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 1.2rem; }
.prose h3 { margin: 2.2rem 0 .6rem; font-size: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--heading); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: #2e7d28; }
.section-tint { background: var(--surface); }

/* Bild + Text nebeneinander */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.media-row + .media-row { margin-top: 5rem; }
.media-row.reverse > :first-child { order: 2; }
.media-row img, .photo { width: 100%; border-radius: 4px; aspect-ratio: 3 / 2; object-fit: cover; }
.media-row h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
/* Lange Texte: Bild läuft beim Scrollen neben dem Text mit (nur Desktop) */
@media (min-width: 1001px) {
  .media-row.sticky { align-items: start; }
  .media-row.sticky > img { position: sticky; top: 7rem; }
}

/* Video */
.video { position: relative; border-radius: 4px; overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark h2 { color: #fff; }

/* „Dein Kind wird …“ – Liste mit Linie davor */
.checklist { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 2.5rem; }
.checklist li { display: flex; gap: .9rem; align-items: baseline; border-bottom: 1px solid #d9dcd9; padding-bottom: .9rem; font-size: 1.1rem; color: var(--heading); }
.checklist li::before { content: ""; width: 14px; height: 3px; background: var(--accent); flex: none; transform: translateY(-.3em); }

/* Drei Säulen (Fitness · Sicherheit · Respekt) */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.trio article { background: var(--surface); border-top: 4px solid var(--c, var(--accent)); border-radius: 4px; padding: 1.8rem 1.8rem 2rem; }
.trio .kicker { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.trio h3 { margin: .2rem 0 .9rem; font-size: 1.7rem; font-weight: 700; color: var(--heading); line-height: 1.15; }
.trio p { margin: 0; font-size: 1rem; }

/* Kasten für Unterrichtszeiten u. Ä. */
.note { background: var(--dark); color: #fff; border-radius: 4px; padding: 1.6rem 1.8rem; margin-top: 2rem; }
.note h3 { margin: 0 0 .5rem; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.note p { margin: 0; font-size: 1.15rem; }

/* Fragen & Antworten */
.faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.faq h3 { font-size: 1.15rem; font-weight: 700; color: var(--heading); margin: 0 0 .8rem; line-height: 1.3; border-top: 3px solid var(--heading); padding-top: 1rem; }
.faq p { font-size: 1rem; }

/* Bildergalerie */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.gallery .wide { grid-column: span 2; aspect-ratio: auto; height: 100%; }  /* so hoch wie das Bild daneben */

/* Programmkarten mit Grafik (Kinderkampfkunst) */
.programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.program { display: flex; gap: 1.5rem; align-items: center; background: var(--surface); border-radius: 4px; padding: 1.5rem; text-decoration: none; border-top: 4px solid var(--c); transition: transform .2s, box-shadow .2s; }
.program:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .1); }
.program img { width: 150px; height: 120px; object-fit: contain; flex: none; }  /* Figur frei auf der Karte, ohne Kreis */
.program h3 { margin: .2rem 0 .3rem; font-size: 1.6rem; font-weight: 700; color: var(--heading); }
.program p { margin: 0 0 .5rem; }
.banner { width: 100%; border-radius: 4px; }

/* Ausbildung: nummerierte Felder und Schritte */
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.fields article { border-top: 3px solid var(--heading); padding-top: 1rem; }
.fields .num { font-weight: 300; font-size: 2.2rem; color: var(--muted); line-height: 1; }
.fields h3 { margin: .4rem 0 .5rem; font-size: 1.35rem; font-weight: 700; color: var(--heading); }
.fields p { margin: 0; font-size: 1rem; }
.dash-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.dash-list li { padding: .55rem 0; border-bottom: 1px solid #d9dcd9; display: flex; gap: .9rem; align-items: baseline; }
.dash-list li::before { content: ""; width: 14px; height: 3px; background: var(--heading); flex: none; transform: translateY(-.3em); }
.section-dark .dash-list li { border-color: #3a3a3a; }
.section-dark .dash-list li::before { background: var(--accent); }

/* Stundenplan – wie der alte Plan: feine Gitterlinien, große leichte Zahlen */
.plan { padding: 1rem 0; }
.timetable-wrap { overflow-x: auto; }
.timetable { margin: 0 auto; border-collapse: collapse; }
.timetable th, .timetable td { padding: .9rem 1.4rem; text-align: center; color: var(--heading); font-weight: 300; }
.timetable thead th { font-size: 1.7rem; padding-top: 0; }
.timetable tbody th { text-align: left; font-size: 1.7rem; white-space: nowrap; padding-left: 0; }
.timetable thead th + th, .timetable td { border-left: 1px solid var(--heading); }
.timetable tbody th, .timetable tbody td { border-top: 1px solid var(--heading); }
.timetable td a { display: inline-flex; padding: .2rem; border-radius: 4px; transition: transform .15s ease; }
.timetable td a:hover { transform: scale(1.15); }
/* Schul-Zeichen in der Farbe der Gruppe (Maske aus dem Logo) */
.mark { display: inline-block; width: 30px; height: 30px; background: var(--c, var(--heading));
  -webkit-mask: url("img/zeichen.png") center / contain no-repeat; mask: url("img/zeichen.png") center / contain no-repeat; }
.timetable td .mark { width: 40px; height: 40px; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1.8rem; max-width: 560px; margin: 2.4rem auto 0; }
.legend a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--heading); }
.legend .mark { width: 22px; height: 22px; }
.plan-note { text-align: center; font-size: .85rem; color: var(--muted); margin: 1.4rem auto 0; }
@media (max-width: 700px) {
  .timetable th, .timetable td { padding: .7rem .55rem; }
  .timetable thead th, .timetable tbody th { font-size: 1.2rem; }
  .timetable td .mark { width: 30px; height: 30px; }
}

/* Probetraining-Formular aus der Verwaltung */
.embed { background: var(--surface); border-radius: 4px; padding: 1rem; }
.embed iframe { display: block; width: 100%; border: 0; min-height: 900px; }

/* Rechtstexte */
.legal-text { max-width: 820px; }
.legal-text h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 .8rem; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p, .legal-text li { font-size: 1rem; }
.legal-text a { color: #2e7d28; overflow-wrap: anywhere; }
.draft-hint { background: #faf0b4; border-radius: 4px; padding: 1rem 1.2rem; margin-bottom: 2rem; font-size: .95rem; }

/* Handy-Menü (ohne JavaScript, mit <details>) */
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 10px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; height: 2px; background: #fff; border-radius: 2px; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + .9rem); background: var(--dark); border-top: 3px solid var(--accent); min-width: 240px; padding: .6rem 0; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.mobile-menu nav a { display: block; padding: .8rem 1.4rem; color: #fff; text-decoration: none; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; }
.mobile-menu nav a[aria-current] { color: var(--accent); }
.topnav a[aria-current] { border-color: var(--accent); }

/* Fußzeile: alle Seiten */
.sitemap { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding-bottom: 2.5rem; font-size: .9rem; }
.sitemap a { color: #a8a8a8; text-decoration: none; }
.sitemap a:hover, .sitemap a[aria-current] { color: #fff; }

@media (max-width: 1000px) {
  .mobile-menu { display: block; }
  .topbar-inner { gap: .8rem; }
  .brand { margin-right: auto; }
  .media-row, .media-row.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .media-row.reverse > :first-child { order: 0; }
  .trio, .faq, .fields { grid-template-columns: 1fr; }
  .programs { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .wide { aspect-ratio: 16 / 9; height: auto; }
}
@media (max-width: 560px) {
  .checklist { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: auto; aspect-ratio: 4 / 3; height: auto; }
  .program { flex-direction: column; text-align: center; }
  .hero-page .hero-inner { padding-top: 4rem; padding-bottom: 3.5rem; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link-inline { color: #2e7d28; text-underline-offset: 3px; }
/* Menü: nichts umbrechen; früher aufs Handy-Menü wechseln, wenn es eng wird */
.topnav { gap: 1.4rem; font-size: .8rem; white-space: nowrap; }
.topbar .btn { white-space: nowrap; }
@media (max-width: 1180px) { .topnav { display: none; } .mobile-menu { display: block; } .brand { margin-right: auto; } }

/* Cookie-Banner (static/consent.js) */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.consent-inner { pointer-events: auto; max-width: 640px; width: 100%; background: var(--dark); color: var(--dark-text); border-top: 3px solid var(--accent);
  border-radius: 4px; padding: 1.4rem 1.6rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); font-size: .95rem; }
.consent h2 { color: #fff; font-size: 1.15rem; font-weight: 700; margin: 0 0 .6rem; }
.consent p { margin: 0 0 1rem; }
.consent a { color: #fff; }
.consent-options { display: grid; gap: .5rem; margin: 0 0 1rem; }
.consent-options label { display: flex; gap: .6rem; align-items: center; color: #fff; }
.consent-options small { color: var(--dark-text); }
.consent-options input { width: 18px; height: 18px; accent-color: var(--accent); }
.consent-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.consent-actions .btn { padding: .75rem 1.3rem; font-size: .78rem; letter-spacing: .14em; }
.consent-link { background: none; border: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; padding: .5rem; }
.consent-options[hidden] { display: none; }
.consent-state { color: #fff; font-weight: 700; }

/* Startseite: wechselnde Bilder oben – eine Gruppe nach der anderen, je 6 s, weich überblendet */
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
  animation: hero-slide 24s infinite; }
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: -18s; }
.hero-slide:nth-child(3) { animation-delay: -12s; }
.hero-slide:nth-child(4) { animation-delay: -6s; }
@keyframes hero-slide {
  0%   { opacity: 1; visibility: visible; }
  23%  { opacity: 1; visibility: visible; }
  27%  { opacity: 0; visibility: hidden; }
  96%  { opacity: 0; visibility: hidden; }
  100% { opacity: 1; visibility: visible; }
}
.hero-slide img { transform-origin: 60% 50%; animation: hero-zoom 24s infinite linear; animation-delay: inherit; }
@keyframes hero-zoom { 0% { transform: scale(1); } 27% { transform: scale(1.05); } 100% { transform: scale(1); } }
/* Beschriftung unten rechts – führt zur Gruppe */
.hero-slide figcaption { position: absolute; right: 2rem; bottom: 1.6rem; z-index: 2; }
.hero-slide figcaption a { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1rem; border-radius: 99px;
  background: rgba(0, 0, 0, .55); color: #fff; text-decoration: none; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  backdrop-filter: blur(4px); }
.hero-slide figcaption a::after { content: "→"; }
.hero-slide figcaption a:hover { background: rgba(0, 0, 0, .75); }
.hero-slide .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.hero-inner { z-index: 1; }
/* Wer Bewegung reduziert haben möchte: nur das erste Bild, kein Wechsel */
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide img { animation: none; }
  .hero-slide:first-child { opacity: 1; visibility: visible; }
}
@media (max-width: 1000px) {
  .hero-slide figcaption { right: 1rem; bottom: 1rem; }
}
/* eingetragene Marke (Kleine Tiger®, TaeKi®) – klein und hochgestellt, ohne die Zeile zu verschieben */
.reg { font-size: .5em; font-weight: 400; vertical-align: super; line-height: 0; margin-left: .05em; }
/* Wort-Bild-Marken (Kleine Tiger®, TaeKi®) frei auf der Seite, transparent */
.logo-mark { width: 100%; max-width: 480px; height: auto; margin: 0 auto; display: block; }
.media-row img.logo-mark { aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.logo-pair { display: flex; flex-direction: column; gap: 2.5rem; align-items: center; }
.logo-pair .logo-mark { max-width: 400px; }
/* Fußzeile: Social-Media-Links mit kleinen Icons (eingebettet, nichts wird von den Netzwerken geladen) */
.social { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.social a { display: inline-flex; align-items: center; gap: .7rem; color: var(--dark-text); text-decoration: none; }
.social svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; transition: color .15s; }
.social svg .fill { fill: currentColor; stroke: none; }
.social a:hover { color: #fff; }
.social a:hover svg { color: var(--accent); }
/* Datenschutz: Abschnitte automatisch nummerieren (je nach Fassung fallen Abschnitte weg) */
.legal-text.numbered { counter-reset: abschnitt; }
.legal-text.numbered h2::before { counter-increment: abschnitt; content: counter(abschnitt) ". "; }
.legal-text h2[id] { scroll-margin-top: 90px; }

/* Aktuelles aus der Verwaltung: Termine, Schließzeiten, Neuigkeiten */
.aktuelles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; margin-top: 2rem; }
.aktuelles h3 { margin: 0 0 .4rem; font-size: .9rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--heading); }
.aktuelles .dash-list { margin-top: .6rem; }
.news-item { border-top: 3px solid var(--heading); padding-top: 1rem; margin-top: 1rem; }
.news-item .eyebrow { margin-bottom: .3rem; }
.news-item .eyebrow::before { display: none; }
.news-item h4 { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 700; color: var(--heading); }
.news-item p:last-child { margin: 0; }
.note-light { margin-top: 2.5rem; background: var(--surface); border-radius: 4px; border-top: 4px solid var(--cd-yellow); padding: 1.4rem 1.6rem; }
.note-light h3 { margin: 0; font-size: .9rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--heading); }
@media (max-width: 1000px) { .aktuelles { grid-template-columns: 1fr; gap: 2rem; } }

/* Heller Beton statt der grauen Flächen – wie in der Verwaltung (Fotos22/Schule/K-1676).
   Als feststehende Ebene hinter der Seite: durchgehend ohne Kanten zwischen den Abschnitten, auch auf dem iPhone. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(rgba(250, 250, 250, .65), rgba(250, 250, 250, .65)), url("img/beton-hell.jpg") center / cover no-repeat #f2f2f2; }  /* heller als in admin.css (.35), damit Fließtext gut lesbar ist */

/* Dunkler Beton statt der flachen dunklen Flächen – wie der Kopf der Verwaltung (admin.css, beton.jpg).
   Auf dem Rechner steht der Beton fest (durchgehend über Kopfbild, Leiste und Kontakt), auf dem Handy scrollt er mit. */
.hero, .facts, .section-dark, .contact {
  background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url("img/beton.jpg") center 20% / cover #141414;
}
@media (min-width: 1001px) and (hover: hover) {
  .hero, .facts, .section-dark, .contact { background-attachment: fixed; }
}

/* ---- Startseite am Handy: weniger ist mehr ---------------------------------------------------- */
@media (max-width: 560px) {
  /* Hero: eine klare Handlung (Probetraining); „Gruppen ansehen“ und das Bild-Etikett entfallen */
  .hero-actions .btn-ghost, .hero-slide figcaption { display: none; }
  /* „Auf einen Blick“ wiederholt nur, was gleich darunter und im Fußbereich steht */
  .facts { display: none; }
  /* Texte auf das Wesentliche – der Rest steht auf der Unterseite („Weiterlesen“) */
  .nur-desktop { display: none; }
  /* Altersgruppen als kompakte Liste: kleines Bild links, Text rechts, ganze Karte ist der Link */
  .groups { gap: .9rem; margin-top: 1.6rem; }
  .group { flex-direction: row; border-top: 0; border-left: 4px solid var(--group); }
  .group img { width: 34%; height: auto; aspect-ratio: 1; flex: none; }
  .group-body { padding: .9rem 1rem; gap: .2rem; justify-content: center; }
  .group h3 { font-size: 1.25rem; }
  .group p { font-size: .9rem; flex: none; }
  .group .more { display: none; }
  /* Über uns: Foto nicht bildschirmfüllend */
  .about-image { max-height: 340px; width: auto; margin: 0 auto; display: block; }
  /* Stimmen zum Wischen nebeneinander statt untereinander */
  .quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-right: -1.25rem;
            padding-right: 1.25rem; scrollbar-width: none; }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { flex: 0 0 84%; scroll-snap-align: start; }
  .quote blockquote { font-size: 1.2rem; }
}
