/* ==========================================================================
   DHFV — Deutscher Hand-to-Hand-Fight-Verband e.V.
   Globales Stylesheet  ·  Design-System (Stand 24.06.2026)
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('../fonts/oswald-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2');
}

/* ---------- Design Tokens ---------- */
:root {
  --red:        #E30613;
  --red-dark:   #b80510;
  --gold:       #D4AF37;
  --text:       #1a1a1a;
  --white:      #FFFFFF;
  --black:      #0d0d0d;
  --gray-bg:    #f5f5f5;
  --gray-line:  #e6e6e6;
  --gray-soft:  #cccccc;
  --gray-mut:   #8a8a8a;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --pad-x: 60px;            /* Header/Footer/Seiten synchron */
  --radius: 6px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 12px 40px rgba(0,0,0,.12);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Tastatur-Fokus & Skip-Link ---------- */
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.page-hero :focus-visible, .cta-band :focus-visible, .section--dark :focus-visible,
.lightbox :focus-visible { outline-color: var(--gold); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--red); color: #fff; padding: 12px 22px;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .04em;
}
.skip-link:focus { left: 0; }

/* ---------- Typografie ---------- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .01em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); }   /* ~56px */
h2 { font-size: clamp(2rem, 4vw, 2.625rem); }   /* ~42px */
h3 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); } /* ~30px */
h4 { font-size: 1.375rem; }                      /* 22px */
h5 { font-size: 1.125rem; }                      /* 18px */
h6 { font-size: 1rem; }                          /* 16px */
p  { margin-bottom: 20px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-block;
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--gold); }

/* ---------- Layout-Helfer ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--gray { background: var(--gray-bg); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--gray-mut); font-size: 1.05rem; }
.section--dark .section-head p { color: var(--gray-soft); }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: #444; }
.section--dark .lead { color: var(--gray-soft); }

/* Akzent-Linie unter Headlines */
.accent-bar { width: 64px; height: 4px; background: var(--red); border: 0; margin: 18px 0 0; }
.section-head .accent-bar { margin: 18px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--black); }
/* Geist-Button für helle Flächen */
.btn--ghost-dark { background: transparent; color: var(--text); border-color: rgba(13,13,13,.4); }
.btn--ghost-dark:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.header-logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav > a, .nav .nav-item { flex-shrink: 0; }
.nav a {
  white-space: nowrap;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--white); letter-spacing: .02em;
  position: relative; padding: 6px 0; transition: color .2s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width .25s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--red); }
.nav a.is-active::after, .nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 18px; }

/* ---- Dropdown-Navigation ---- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a .caret {
  display: inline-block; margin-left: 6px; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease);
}
.sub-toggle { display: none; }
.sub-menu {
  position: absolute; top: 100%; left: -18px; min-width: 240px;
  display: flex; flex-direction: column;
  background: var(--black); border: 1px solid rgba(255,255,255,.08);
  border-top: 2px solid var(--red); border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px 0; z-index: 110;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-item:hover > .sub-menu, .nav-item:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu a { padding: 10px 20px; font-size: .93rem; width: 100%; white-space: nowrap; }
.sub-menu a::after { display: none; }
.sub-menu a:hover { background: rgba(227,6,19,.12); }

/* Anker-Sprungziele nicht unter dem Sticky-Header verstecken */
[id] { scroll-margin-top: 104px; }

/* Burger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: all .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.35) 40%, rgba(13,13,13,.92) 100%),
    linear-gradient(90deg, rgba(13,13,13,.8) 0%, rgba(13,13,13,.15) 60%);
}
.hero-inner {
  position: relative; z-index: 2;
  min-height: 86vh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 70px; padding-bottom: 90px; max-width: 760px;
}
.hero h1 { color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.hero h1 .accent { color: var(--red); }
.hero-sub { font-size: 1.2rem; color: #e8e8e8; margin: 22px 0 36px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll::after { content:''; width:1px; height:34px; background: rgba(255,255,255,.4); animation: scrollpulse 2s infinite; }
@keyframes scrollpulse { 0%,100%{opacity:.3; transform:scaleY(.6);} 50%{opacity:1; transform:scaleY(1);} }

/* Page-Hero (Unterseiten, kompakter) */
.page-hero { position: relative; background: var(--black); color: #fff; padding: 130px 0 70px; overflow: hidden; }
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(120% 100% at 80% 0%, rgba(227,6,19,.22), transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; text-transform: uppercase; }
.page-hero p { color: var(--gray-soft); max-width: 620px; margin-top: 16px; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: var(--gray-mut); margin-bottom: 16px; letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--gold); }

/* ==========================================================================
   KOMPONENTEN
   ========================================================================== */

/* Split (Text + Bild) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.split-media { position: relative; }
.split-media .badge {
  position: absolute; left: -16px; bottom: -16px; background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 600; padding: 14px 22px; border-radius: var(--radius);
  font-size: 1rem; box-shadow: var(--shadow-md);
}
.split-media .badge span { display: block; font-size: 1.7rem; line-height: 1; }

/* Feature-Cards */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.card {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
/* Team-Porträts sind quadratische Quellbilder — 1:1 zeigt sie ohne Kopf-/Torso-Beschnitt */
.team-cards .card-img { aspect-ratio: 1/1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card-body p { color: var(--gray-mut); margin-bottom: 18px; }
.card-link {
  margin-top: auto; font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  font-size: .9rem; letter-spacing: .04em; color: var(--red); display: inline-flex; gap: 8px; align-items: center;
}
.card:hover .card-link .arrow { transform: translateX(4px); }
.card-link .arrow { transition: transform .25s var(--ease); }

/* Stat / Zahlen-Reihe */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-head); font-weight: 600; font-size: 2.8rem; color: var(--red); line-height: 1; }
.section--dark .stat-num { color: var(--gold); }
.stat-label { font-size: .95rem; color: var(--gray-mut); margin-top: 8px; letter-spacing: .02em; }
.section--dark .stat-label { color: var(--gray-soft); }

/* News / Aktuelles */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.news-feature {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end; color: #fff;
}
.news-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-feature::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 30%, rgba(13,13,13,.92)); }
.news-feature .news-content { position: relative; z-index: 1; padding: 36px; }
.tag {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase; background: var(--red); color: #fff;
  padding: 6px 14px; border-radius: 4px; margin-bottom: 14px;
}
.tag--gold { background: var(--gold); color: var(--black); }
.news-feature h3 { color: #fff; font-size: 1.8rem; }
.news-side { display: flex; flex-direction: column; gap: 18px; }
.news-item {
  border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 22px 24px;
  transition: border-color .25s var(--ease), background .25s var(--ease); flex: 1;
}
.news-item:hover { border-color: var(--red); background: #fff; }
.news-date { font-size: .82rem; color: var(--gray-mut); letter-spacing: .04em; }
.news-item h4 { margin: 6px 0 6px; font-size: 1.15rem; }
.news-item p { font-size: .92rem; color: var(--gray-mut); margin: 0; }

/* Galerie */
.gallery-item {
  position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius); cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0; background: rgba(227,6,19,0);
  transition: background .3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { background: rgba(13,13,13,.25); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,8,8,.94);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 4px; object-fit: contain; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 2.4rem; line-height: 1; opacity: .8; transition: opacity .2s, transform .2s;
}
.lightbox-close { top: 24px; right: 32px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 0 24px; }
.lightbox-nav.prev { left: 8px; } .lightbox-nav.next { right: 8px; }
.lightbox-close:hover, .lightbox-nav:hover { opacity: 1; }

/* CTA-Band */
.cta-band { position: relative; background: var(--black); color: #fff; text-align: center; overflow: hidden; }
.cta-band::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(100% 120% at 50% 0%, rgba(227,6,19,.28), transparent 60%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; text-transform: uppercase; }
.cta-band p { color: var(--gray-soft); max-width: 560px; margin: 16px auto 32px; font-size: 1.1rem; }

/* Listen mit Häkchen / Punkten */
.ticklist { display: grid; gap: 14px; margin: 8px 0; }
.ticklist li { position: relative; padding-left: 34px; }
.ticklist li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Steps (Mitglied werden) */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  font-family: var(--font-head); font-weight: 600; font-size: 2.4rem; color: var(--red); opacity: .25;
  display: block; margin-bottom: 8px; line-height: 1;
}
.step h4 { margin-bottom: 8px; }
.step p { color: var(--gray-mut); margin: 0; font-size: .95rem; }

/* Preis-/Beitragskarten */
.price-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; align-items: stretch; }
.price-card { border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 36px 30px; display: flex; flex-direction: column; background: #fff; }
.price-card.is-featured { border-color: var(--red); box-shadow: var(--shadow-md); position: relative; }
.price-card.is-featured::before {
  content: 'Beliebt'; position: absolute; top: -13px; left: 30px; background: var(--red); color: #fff;
  font-family: var(--font-head); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 4px;
}
.price-card h3 { font-size: 1.5rem; }
.price-amount { font-family: var(--font-head); font-weight: 600; font-size: 2.6rem; color: var(--text); margin: 12px 0 4px; }
.price-amount small { font-size: 1rem; color: var(--gray-mut); font-family: var(--font-body); }
.price-card .ticklist { margin: 22px 0 28px; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* Info-/Kontakt-Boxen */
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.info-box { padding: 30px; border: 1px solid var(--gray-line); border-radius: var(--radius); }
.info-box .ic { width: 46px; height: 46px; border-radius: var(--radius); background: rgba(227,6,19,.08); display: grid; place-items: center; margin-bottom: 16px; }
.info-box .ic svg { width: 24px; height: 24px; fill: var(--red); }
.info-box h4 { margin-bottom: 6px; }
.info-box p, .info-box a { color: var(--gray-mut); font-size: .98rem; }
.info-box a:hover { color: var(--red); }

/* Kontakt-Layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* Formular */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .95rem; margin-bottom: 8px; letter-spacing: .02em; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--gray-line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; background: #fff; transition: border-color .2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--red); }
.form-field textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--gray-mut); margin-bottom: 22px; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.form-note { font-size: .85rem; color: var(--gray-mut); margin-top: 16px; }

/* Prose (Impressum/Datenschutz) */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.prose p, .prose ul { margin-bottom: 16px; color: #3a3a3a; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ul li { margin-bottom: 6px; }
.prose a { color: var(--red); text-decoration: underline; }
.placeholder { background: #fff7d6; border-left: 3px solid var(--gold); padding: 2px 8px; border-radius: 3px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--black); color: var(--gray-soft); }
.footer-top { border-top: 3px solid var(--red); padding: 64px 0 48px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; color: var(--gray-mut); margin-bottom: 18px; white-space: nowrap; }
.footer-col h5 { color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: var(--gray-soft); font-size: .95rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--red); padding-left: 4px; }
.footer-col address { font-style: normal; font-size: .95rem; line-height: 1.9; color: var(--gray-soft); }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); display: grid; place-items: center; transition: all .25s var(--ease); }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--gray-mut); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: .85rem; color: var(--gray-soft); }
.footer-legal a:hover { color: var(--red); }

/* ==========================================================================
   REVEAL-ANIMATION
   ========================================================================== */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-visible, .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-scroll::after { animation: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }
  .split { gap: 40px; }
  .cards, .steps, .price-cards, .info-grid { grid-template-columns: repeat(2,1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 32px; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    background: var(--black); flex-direction: column; align-items: flex-start;
    padding: 110px 36px 40px; gap: 8px; transform: translateX(100%);
    transition: transform .35s var(--ease); box-shadow: -10px 0 40px rgba(0,0,0,.5);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 1.2rem; width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav a::after { display: none; }
  .header-cta .btn { display: none; }   /* CTA wandert ins mobile Menü */
  .nav .nav-cta { display: inline-flex; margin-top: 18px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 99; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  /* Untermenüs als Accordion */
  .nav-item { width: 100%; flex-wrap: wrap; }
  .nav-item > a { flex: 1; }
  .nav-item > a .caret { display: none; }
  .sub-toggle {
    display: block; background: none; border: none; cursor: pointer;
    width: 44px; height: 44px; position: relative; flex-shrink: 0;
  }
  .sub-toggle::before {
    content: ''; position: absolute; top: 16px; left: 16px; width: 10px; height: 10px;
    border-right: 2px solid var(--white); border-bottom: 2px solid var(--white);
    transform: rotate(45deg); transition: transform .25s var(--ease);
  }
  .nav-item.is-open > .sub-toggle::before { transform: rotate(225deg); top: 20px; }
  .sub-menu {
    position: static; min-width: 0; width: 100%;
    background: transparent; border: none; padding: 0 0 0 16px;
    opacity: 1; visibility: visible; transform: none; transition: none;
    max-height: 0; overflow: hidden;
  }
  .nav-item.is-open > .sub-menu { max-height: 420px; }
  .sub-menu a { font-size: 1.02rem; padding: 10px 0; white-space: normal; }
  .nav-item:hover > .sub-menu, .nav-item:focus-within > .sub-menu { transform: none; }
}
@media (min-width: 1081px) { .nav .nav-cta { display: none; } }
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .split, .news-grid, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .cards, .steps, .price-cards, .info-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-brand p { white-space: normal; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-inner { min-height: 78vh; }
  .header-inner { height: 72px; }
  .header-logo img { height: 46px; }
}
@media (max-width: 460px) {
  .cards, .steps, .price-cards, .info-grid, .stats { grid-template-columns: 1fr; }
}

/* ---- Trainingszeiten ---- */
.schedule-table { border: 1px solid var(--gray-line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.schedule-row { display: flex; align-items: center; gap: 24px; padding: 12px 20px; border-bottom: 1px solid var(--gray-line); background: #fff; }
.schedule-row--last { border-bottom: none; }
.schedule-header { background: var(--black); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; border-bottom: none; padding: 9px 20px; }
.schedule-header + .schedule-row { border-top: none; }
.st-time { font-weight: 600; font-size: .95rem; color: var(--red); min-width: 140px; flex-shrink: 0; }
.st-group { font-size: .92rem; color: var(--gray-mut); }
/* ---- 2-Spalten Preiskarten ---- */
.price-cards--2col { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; gap: 32px; }

/* ---- Datenschutz Checkbox ---- */
.form-check-wrapper { margin-bottom: 22px; }
.form-check-wrapper .form-check { margin-bottom: 0; }
.form-check a { color: var(--red); text-decoration: underline; }

@media (max-width: 600px) {
  .price-cards--2col { grid-template-columns: 1fr; }
  .schedule-row { flex-wrap: wrap; gap: 2px 16px; padding: 10px 16px; }
  .st-time { min-width: 0; }
}

/* ---- Galerie: Kategorien + Slider ---- */
.gal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.gal-nav a {
  display: inline-block; padding: 8px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px;
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.gal-nav a:hover { background: var(--red); border-color: var(--red); }

.section-head--left { margin: 0 0 36px; text-align: left; max-width: none; }
.section-head--left .accent-bar { margin: 18px 0 0; }
.gal-intro { max-width: 680px; margin-top: 20px; }

.gal-slider { position: relative; }
.gal-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px;
}
.gal-track::-webkit-scrollbar { display: none; }
.gal-track .gallery-item {
  flex: 0 0 calc((100% - 28px) / 3); aspect-ratio: 3/2; scroll-snap-align: start;
}
.gal-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  padding: 28px 14px 10px; color: #fff; font-family: var(--font-head); font-weight: 600;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .07em;
  background: linear-gradient(transparent, rgba(13,13,13,.78));
}
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(13,13,13,.75); color: #fff; font-size: 1.7rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-md); transition: background .2s var(--ease), opacity .2s var(--ease);
}
.gal-btn:hover { background: var(--red); }
.gal-btn.prev { left: -12px; }
.gal-btn.next { right: -12px; }
.gal-btn[disabled] { opacity: .3; cursor: default; }
.gal-btn[disabled]:hover { background: rgba(13,13,13,.75); }

@media (max-width: 900px) {
  .gal-track .gallery-item { flex-basis: calc((100% - 14px) / 2); }
}
@media (max-width: 640px) {
  .gal-track .gallery-item { flex-basis: 85%; }
  .gal-btn { display: none; }
}

/* Slider ohne Überlauf: Pfeile ausblenden */
.gal-slider.gal-static .gal-btn { display: none; }

/* ---- Aufgaben: 4 Karten nebeneinander ---- */
.cards--4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 1000px) { .cards--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .cards--4 { grid-template-columns: 1fr; } }

/* ---- Termine / Veranstaltungen ---- */
.event-list { border: 1px solid var(--gray-line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.event-row { display: flex; gap: 24px; padding: 18px 22px; background: #fff; border-bottom: 1px solid var(--gray-line); align-items: flex-start; }
.event-row:last-child { border-bottom: none; }
.event-row.is-past { opacity: .55; }
.event-date { font-family: var(--font-head); font-weight: 600; color: var(--red); min-width: 160px; flex-shrink: 0; text-transform: uppercase; letter-spacing: .03em; font-size: .95rem; padding-top: 3px; }
.event-info { flex: 1; }
.event-info h4 { margin-bottom: 4px; }
.event-meta { color: var(--gray-mut); font-size: .92rem; }
.event-cost { color: var(--gray-mut); font-size: .88rem; margin-top: 4px; }
.event-side { margin-left: auto; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 700px) {
  .event-row { flex-wrap: wrap; gap: 4px 16px; }
  .event-date { min-width: 0; }
  .event-side { margin-left: 0; align-items: flex-start; }
}

/* ---- Downloads ---- */
.dl-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.dl-item { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--gray-line); border-radius: var(--radius); background: #fff; text-decoration: none; color: inherit; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.dl-item:hover { border-color: var(--red); transform: translateY(-2px); }
.dl-ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--radius); background: rgba(227,6,19,.08); display: grid; place-items: center; }
.dl-ic svg { width: 22px; height: 22px; fill: var(--red); }
.dl-item h4 { margin-bottom: 2px; }
.dl-item p { color: var(--gray-mut); font-size: .9rem; }
.dl-item.is-pending { opacity: .55; pointer-events: none; }
@media (max-width: 700px) { .dl-list { grid-template-columns: 1fr; } }
