/*
 Theme Name: DAN Allgäu
 Version: 1.6.11
*/


/* ═══════════════════════════════════════════════
   SCHRIFTEN (lokal, kein Google-Fonts-CDN)
   Dateien in fonts/, geladen von Google Fonts.
   DM Sans ist eine Variable Font: eine Datei je Subset
   deckt 300-700 ab.
═══════════════════════════════════════════════ */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-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: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/dm-sans-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: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ═══════════════════════════════════════════════
   RESET & VARIABLES
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:      #ffffff;
  --surface: #f4f6f9;
  --border:  rgba(0,0,0,0.09);
  --accent:  rgb(39, 96, 172);
  --accent2: rgb(28, 70, 128);
  --text:    #1a1a2e;
  --muted:   #4b5563;
  --nav-h:   72px;
  /* Dojo-Farben */
  --kf-red:    rgb(226, 11, 35);
  --kf-yellow: rgb(249, 230, 8);
  --jg-blue:   rgb(0, 62, 112);
  --jg-gold:   rgb(185, 145, 58);
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); }

/* ═══════════════════════════════════════════════
   HEADER (Standard – weiß)
═══════════════════════════════════════════════ */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  transition: background 0.4s, box-shadow 0.4s;
}

/* Transparent-Modus (Startseite Hero) */
header.hero-mode {
  background: transparent;
  box-shadow: none;
}
header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.logo-img {
  width: 48px; height: 48px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 22px;
  overflow: hidden; flex-shrink: 0;
  transition: background 0.4s, border-color 0.4s;
}
.logo-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-text { line-height: 1; }
.logo-title {
  /* DM Sans statt Bebas Neue: Bebas ist eine reine Versalschrift und kann
     "D.A.N. Allgäu e. V." nicht in gemischter Schreibweise darstellen. */
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 20px;
  letter-spacing: 0.01em; color: var(--text); white-space: nowrap;
  transition: color 0.4s;
}
.logo-sub {
  font-size: 10px; font-weight: 300; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
  margin-top: 2px; transition: color 0.4s;
}

/* Hero-Modus Logo-Farben */
header.hero-mode .logo-img {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
header.hero-mode .logo-title { color: #ffffff !important; }
header.hero-mode .logo-sub   { color: rgba(255,255,255,0.7) !important; }
header.scrolled .logo-title  { color: var(--text) !important; }
header.scrolled .logo-sub    { color: var(--accent) !important; }

/* Navigation */
nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list > li > a,
.nav-list > li > button {
  display: flex; align-items: center; gap: 5px; padding: 8px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--muted);
  text-decoration: none; background: none; border: none; cursor: pointer;
  border-radius: 6px; transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > button:hover { color: var(--accent); background: rgba(39,96,172,0.06); }
.nav-list > li > a.active { color: var(--accent); }

/* Hero-Modus Nav-Links */
header.hero-mode .nav-list > li > a,
header.hero-mode .nav-list > li > button { color: rgba(255,255,255,0.85); }
header.hero-mode .nav-list > li > a:hover,
header.hero-mode .nav-list > li > button:hover { color: #fff; background: rgba(255,255,255,0.12); }
header.scrolled .nav-list > li > a,
header.scrolled .nav-list > li > button { color: var(--muted); }
header.scrolled .nav-list > li > a:hover,
header.scrolled .nav-list > li > button:hover { color: var(--accent); background: rgba(39,96,172,0.06); }

/* Chevron */
.chevron {
  width: 14px; height: 14px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.25s; flex-shrink: 0;
}
.nav-list > li.open .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  min-width: 180px; padding: 6px;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.nav-list > li.open .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown a {
  display: block; padding: 9px 14px; font-size: 13.5px; color: var(--muted);
  text-decoration: none; border-radius: 6px; transition: background 0.15s, color 0.15s;
}
.dropdown a:hover, .dropdown a.active { background: rgba(39,96,172,0.06); color: var(--accent); }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.4s;
}
header.hero-mode .burger span { background: #fff; }
header.scrolled .burger span { background: var(--text); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
   PAGE HERO (Standard – einfarbiger Streifen)
═══════════════════════════════════════════════ */
.page-hero {
  margin-top: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 5px;
  background: var(--accent);
}
.page-hero::after { display: none; }

.page-hero-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 56px 28px 48px;
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 5vw, 72px);
  letter-spacing: 0.03em; line-height: 1.1; color: var(--text);
}
.page-hero h1 span { color: var(--accent); }
.page-hero-sub {
  font-size: 15px; font-weight: 300; color: var(--muted);
  margin-top: 12px; max-width: 520px; line-height: 1.6;
}
.page-hero-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.breadcrumb {
  font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 6px; margin-top: 6px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }

/* Formularseiten (page.php): Titel und Breadcrumb mittig über dem Formular */
.page-hero--zentriert .page-hero-inner {
  flex-direction: column; align-items: center; text-align: center; gap: 10px;
}

/* Dojo-Streifen: Standard/Lehrgänge → nur blauer Streifen */
.page-template-default .page-hero::before,
.page-template-lehrgaenge .page-hero::before {
  background: var(--accent); width: 100%;
}
.page-template-default .page-hero::after,
.page-template-lehrgaenge .page-hero::after { display: none; }

/* Dojo Kaufbeuren */
.page-template-dojo-kaufbeuren .page-hero::before,
.page-template-page-dojo-kaufbeuren .page-hero::before {
  width: 60%; background: var(--kf-red);
}
.page-template-dojo-kaufbeuren .page-hero::after,
.page-template-page-dojo-kaufbeuren .page-hero::after {
  content: ''; display: block; position: absolute;
  top: 0; left: 60%; right: 0; height: 5px;
  background: var(--kf-yellow);
}
.page-template-dojo-kaufbeuren .page-hero h1 span,
.page-template-page-dojo-kaufbeuren .page-hero h1 span { color: var(--kf-red); }
.page-template-dojo-kaufbeuren .page-hero-eyebrow,
.page-template-page-dojo-kaufbeuren .page-hero-eyebrow  { color: var(--kf-red); }

/* Dojo Jengen */
.page-template-dojo-jengen .page-hero::before,
.page-template-page-dojo-jengen .page-hero::before {
  width: 60%; background: var(--jg-blue);
}
.page-template-dojo-jengen .page-hero::after,
.page-template-page-dojo-jengen .page-hero::after {
  content: ''; display: block; position: absolute;
  top: 0; left: 60%; right: 0; height: 5px;
  background: var(--jg-gold);
}
.page-template-dojo-jengen .page-hero h1 span,
.page-template-page-dojo-jengen .page-hero h1 span { color: var(--jg-blue); }
.page-template-dojo-jengen .page-hero-eyebrow,
.page-template-page-dojo-jengen .page-hero-eyebrow  { color: var(--jg-blue); }


/* Dojo-Tabs */
.dojo-tabs {
  max-width: 1180px; margin: 32px auto 0;
  padding: 0 28px;
  display: flex; gap: 4px;
}
.dojo-tab {
  padding: 9px 22px; border-radius: 8px 8px 0 0;
  font-size: 13px; font-weight: 500; text-decoration: none;
  color: var(--muted); background: rgba(0,0,0,0.03);
  border: 1px solid var(--border); border-bottom: none;
  transition: color 0.2s, background 0.2s;
}
.dojo-tab:hover { color: var(--text); background: rgba(0,0,0,0.05); }
.page-template-dojo-kaufbeuren .dojo-tab.active,
.page-template-page-dojo-kaufbeuren .dojo-tab.active { color: var(--kf-red); background: var(--bg); border-bottom: 1px solid var(--bg); font-weight: 600; margin-bottom: -1px; }
.page-template-dojo-jengen    .dojo-tab.active,
.page-template-page-dojo-jengen .dojo-tab.active { color: var(--jg-blue); background: var(--bg); border-bottom: 1px solid var(--bg); font-weight: 600; margin-bottom: -1px; }

/* Club-Logo */
.hero-club-logo { flex-shrink: 0; display: flex; align-items: center; align-self: stretch; }
.hero-club-logo img { width: 160px; height: 160px; object-fit: contain; }

/* ═══════════════════════════════════════════════
   STARTSEITE / INDEX
═══════════════════════════════════════════════ */

/* Hero Video */
.hero-video {
  position: relative; height: 100vh; min-height: 560px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.hero-video video, .hero-video .hero-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-fallback {
  background: linear-gradient(135deg, #0d1b35 0%, rgb(39,96,172) 60%, #1a3a6e 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-fallback-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: 0.3em; color: rgba(255,255,255,0.3);
}
.hero-video::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,0.65);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px;
  animation: heroFadeUp 1s ease both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-label { display: none; }
.scroll-hint span { display: none; }
.hero-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 12vw, 140px);
  letter-spacing: 0.04em; line-height: 1.05;
  color: #fff; margin-bottom: 20px;
}
.hero-content h1 em { font-style: normal; color: rgb(120,165,230); }
.hero-content p {
  font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.8);
  max-width: 480px; margin: 0 auto 0; line-height: 1.7;
}
.hero-subtitle-small {
  font-size: 13px; font-weight: 400; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin: 0 auto 20px !important; max-width: 480px;
}
/* Unterzeile als Teil der H1 (ab v1.5.30): sieht aus wie vorher als eigener Absatz */
.hero-content h1 .hero-subtitle-small {
  display: block; margin: 24px auto 0 !important;
  font-family: 'DM Sans', sans-serif; line-height: 1.7;
}
/* Pause-Knopf fuer das Hintergrundvideo (WCAG 2.2.2) */
.hero-video-toggle {
  position: absolute; right: 24px; bottom: 28px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.45); color: #fff; cursor: pointer;
  transition: background 0.2s;
}
.hero-video-toggle:hover { background: rgba(0,0,0,0.7); }
.hero-video-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.hero-video-toggle .icon-play { display: none; }
.hero-video-toggle.paused .icon-play { display: block; }
.hero-video-toggle.paused .icon-pause { display: none; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; border-radius: 8px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border: 2px solid transparent;
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover { background: var(--accent2); transform: translateY(-2px); }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: bounce 2s infinite;
}
.scroll-hint span { font-size: 10px; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); }
.scroll-hint svg { width: 36px; stroke: rgba(255,255,255,0.6); fill: none; stroke-width: 1.5; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* Sections */
.section { padding: 96px 28px; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-header { margin-bottom: 56px; }
.section-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: 0.03em; color: var(--text); line-height: 1;
}
.section-title em { font-style: normal; color: var(--accent); }

/* Parallax */
.parallax-strip { padding: 96px 0; background: var(--surface); overflow: hidden; }
.parallax-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center;
}
.parallax-inner.reverse { direction: rtl; }
.parallax-inner.reverse > * { direction: ltr; }
.parallax-text { padding: 48px 56px 48px 0; }
.parallax-inner.reverse .parallax-text { padding: 48px 0 48px 56px; }
.parallax-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0.03em; color: var(--text); line-height: 1; margin-bottom: 18px;
}
.parallax-text h2 em { font-style: normal; color: var(--accent); }
.parallax-text p {
  font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--muted); margin-bottom: 28px;
}
.text-link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--accent); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(39,96,172,0.3);
  padding-bottom: 2px; transition: gap 0.2s, border-color 0.2s;
}
.text-link:hover { gap: 14px; border-color: var(--accent); }

/* Dokument-Download-Link (z. B. Satzung als PDF) */
.doc-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--accent); text-decoration: none; transition: gap 0.2s; }
.doc-link:hover { gap: 11px; text-decoration: underline; }
.doc-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; flex-shrink: 0; }
.parallax-image-wrap {
  position: relative; overflow: hidden; border-radius: 12px;
  aspect-ratio: 4/3; box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}
.parallax-inner:not(.reverse) .parallax-image-wrap { transform: rotate(1.5deg); }
.parallax-inner.reverse .parallax-image-wrap { transform: rotate(-1.5deg); }
.parallax-image-wrap img, .parallax-placeholder {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease;
}
.parallax-image-wrap:hover img { transform: scale(1.04); }
.parallax-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(135deg, #dbe8f8, #b8d0ef);
}
.parallax-placeholder svg { width: 48px; opacity: 0.35; }
.parallax-placeholder span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); opacity: 0.6; }
.img-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 4px;
}

/* Masonry */
.masonry-grid { columns: 3; column-gap: 16px; }
.masonry-item {
  break-inside: avoid; margin-bottom: 16px; position: relative;
  overflow: hidden; border-radius: 10px; cursor: default;
}
.masonry-item img, .masonry-ph {
  width: 100%; display: block; transition: transform 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-ph {
  background: linear-gradient(135deg, #dbe8f8, #b8d0ef);
  display: flex; align-items: center; justify-content: center;
}
.masonry-ph svg { width: 32px; opacity: 0.3; }
.masonry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,30,70,0.6) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 16px;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay span { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.masonry-hover { position: absolute; inset: 0; background: rgba(39,96,172,0); transition: background 0.3s; }
.masonry-item:hover .masonry-hover { background: rgba(39,96,172,0.1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.7); font-size: 32px; line-height: 1; transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }

/* Videos (ab v1.6.0): großer Player links, Titel und Auswahl rechts.
   Starten erst auf Klick, nichts lädt vorab (js/main.js). Ab 960 px einspaltig:
   Titel, Player, Auswahl untereinander. */
.video-layout {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 1fr auto auto auto 1fr; column-gap: 48px;
}
.video-layout .section-header { grid-column: 2; grid-row: 2; margin-bottom: 24px; }
.video-stage {
  grid-column: 1; grid-row: 1 / -1; align-self: center;
  position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
  background: var(--text); box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.video-start {
  display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: none; cursor: pointer;
}
.video-start img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.video-start:hover img { transform: scale(1.03); }
.video-start-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
  border-radius: 999px; background: rgba(255,255,255,0.95); color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3); transition: background 0.2s;
}
.video-start:hover .video-start-btn { background: #fff; }
.video-start-btn svg { width: 16px; height: 16px; fill: var(--accent); flex-shrink: 0; }
.video-stage video { width: 100%; height: 100%; display: block; background: #000; }
.video-list { grid-column: 2; grid-row: 3; list-style: none; margin-bottom: 16px; border-top: 1px solid var(--border); }
.video-list li { border-bottom: 1px solid var(--border); }
.video-item {
  display: grid; gap: 2px; width: 100%; padding: 12px 12px 12px 16px;
  border: 0; border-left: 2px solid transparent; background: none;
  text-align: left; cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, border-color 0.2s;
}
.video-item:hover { background: var(--surface); }
.video-item[aria-pressed="true"] { border-left-color: var(--accent); background: var(--surface); }
.video-item-title { font-size: 16px; font-weight: 500; color: var(--text); }
.video-item-meta { font-size: 14px; color: var(--muted); }
.video-hint { grid-column: 2; grid-row: 4; font-size: 14px; color: var(--muted); }
.video-modal {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.video-modal.open { opacity: 1; pointer-events: all; }
.video-modal-inner { width: 90vw; max-width: 900px; }
.video-modal-inner iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: 10px; }
.video-modal-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.7); font-size: 32px; line-height: 1; transition: color 0.2s;
}
.video-modal-close:hover { color: #fff; }

/* ═══════════════════════════════════════════════
   DOJO-SEITEN (Kaufbeuren / Jengen)
═══════════════════════════════════════════════ */
.page-content { max-width: 1180px; margin: 0 auto; padding: 0 28px 48px; }
.content-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.content-section:last-child { border-bottom: none; padding-bottom: 0; }

/* Dojo-Eyebrow & Title */
.page-content .section-eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.page-template-dojo-kaufbeuren .page-content .section-eyebrow,
.page-template-page-dojo-kaufbeuren .page-content .section-eyebrow { color: var(--kf-red); }
.page-template-dojo-jengen    .page-content .section-eyebrow,
.page-template-page-dojo-jengen .page-content .section-eyebrow { color: var(--jg-blue); }

.page-content .section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0.03em; color: var(--text); margin-bottom: 32px;
}

/* Dojo-Beschreibung */
.dojo-description { padding-left: 20px; border-left: 4px solid var(--accent); max-width: 760px; }
.page-template-dojo-kaufbeuren .dojo-description,
.page-template-page-dojo-kaufbeuren .dojo-description { border-left-color: var(--kf-red); }
.page-template-dojo-jengen    .dojo-description,
.page-template-page-dojo-jengen .dojo-description { border-left-color: var(--jg-blue); }
.dojo-description p { font-size: 15px; font-weight: 300; line-height: 1.9; color: var(--muted); margin-bottom: 14px; }
.dojo-description p:last-child { margin-bottom: 0; }

/* Foto-Grid */
.dojo-photos { margin-top: 40px; }
.photo-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.photo-item { border-radius: 10px; overflow: hidden; position: relative; cursor: default; }
.photo-item img, .photo-ph { width: 100%; height: 300px; display: block; object-fit: cover; transition: transform 0.4s; }
.photo-item:hover img, .photo-item:hover .photo-ph { transform: scale(1.04); }
.photo-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.photo-ph svg { width: 32px; opacity: 0.25; fill: none; stroke-width: 1.5; }
.photo-ph span { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.55; }
.page-template-dojo-kaufbeuren .photo-ph,
.page-template-page-dojo-kaufbeuren .photo-ph { background: #f5e8e8; }
.page-template-dojo-kaufbeuren .photo-ph svg,
.page-template-page-dojo-kaufbeuren .photo-ph svg { stroke: var(--kf-red); }
.page-template-dojo-kaufbeuren .photo-ph span,
.page-template-page-dojo-kaufbeuren .photo-ph span { color: var(--kf-red); }
.page-template-dojo-jengen    .photo-ph,
.page-template-page-dojo-jengen .photo-ph { background: #e8edf5; }
.page-template-dojo-jengen    .photo-ph svg,
.page-template-page-dojo-jengen .photo-ph svg { stroke: var(--jg-blue); }
.page-template-dojo-jengen    .photo-ph span,
.page-template-page-dojo-jengen .photo-ph span { color: var(--jg-blue); }
.photo-overlay { position: absolute; inset: 0; transition: background 0.3s; }

/* Trainingszeiten */
.times-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.training-card {
  background: var(--surface); border-radius: 10px;
  border-left: 4px solid var(--accent);
  padding: 20px 24px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 20px; transition: box-shadow 0.2s;
}
.page-template-dojo-kaufbeuren .training-card,
.page-template-page-dojo-kaufbeuren .training-card { border-left-color: var(--kf-red); }
.page-template-dojo-jengen    .training-card,
.page-template-page-dojo-jengen .training-card { border-left-color: var(--jg-blue); padding: 24px; margin-bottom: 13px; }
.training-card:last-of-type { margin-bottom: 0; }
.training-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.training-day { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 0.04em; color: var(--text); min-width: 100px; }
.training-main { flex: 1; }
.training-time { font-size: 15px; font-weight: 500; color: var(--accent); }
.page-template-dojo-kaufbeuren .training-time,
.page-template-page-dojo-kaufbeuren .training-time { color: var(--kf-red); }
.page-template-dojo-jengen    .training-time,
.page-template-page-dojo-jengen .training-time { color: var(--jg-blue); }
.training-info { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.location-note { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-top: 5px; }
.location-note svg { width: 12px; flex-shrink: 0; stroke: var(--muted); fill: none; stroke-width: 2; }
.training-badge {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
  white-space: nowrap; flex-shrink: 0;
}
.badge-kids   { background: rgba(249,230,8,0.25); color: #7a6500; border: 1px solid rgba(249,230,8,0.6); }
.badge-adults { background: rgba(39,96,172,0.1); color: var(--accent); border: 1px solid rgba(39,96,172,0.2); }

/* Probe-Box */
.probe-box {
  background: var(--surface); border-radius: 12px;
  padding: 24px; border-left: 4px solid var(--accent); margin-top: 24px;
}
.page-template-dojo-kaufbeuren .probe-box,
.page-template-page-dojo-kaufbeuren .probe-box { border-left-color: var(--kf-red); margin-top: 24px; }
.page-template-dojo-kaufbeuren .map-embed iframe,
.page-template-page-dojo-kaufbeuren .map-embed iframe { height: 223px; }
.page-template-dojo-jengen    .probe-box,
.page-template-page-dojo-jengen .probe-box { border-left-color: var(--jg-blue); padding: 35px; }
.probe-box h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 22px;
  color: var(--accent); margin-bottom: 10px; letter-spacing: 0.04em;
}
.page-template-dojo-kaufbeuren .probe-box h3,
.page-template-page-dojo-kaufbeuren .probe-box h3 { color: var(--kf-red); }
.page-template-dojo-jengen    .probe-box h3,
.page-template-page-dojo-jengen .probe-box h3 { color: var(--jg-blue); }
.probe-box p { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.probe-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 7px;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 500; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.page-template-dojo-kaufbeuren .probe-cta,
.page-template-page-dojo-kaufbeuren .probe-cta { background: var(--kf-red); }
.page-template-dojo-kaufbeuren .probe-cta:hover,
.page-template-page-dojo-kaufbeuren .probe-cta:hover { background: #b80000; }
.page-template-dojo-jengen    .probe-cta,
.page-template-page-dojo-jengen .probe-cta { background: var(--jg-blue); }
.page-template-dojo-jengen    .probe-cta:hover,
.page-template-page-dojo-jengen .probe-cta:hover { background: #002a50; }
.probe-cta:hover { transform: translateY(-1px); }
.probe-cta svg { width: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.probe-box .probe-alt { margin: 12px 0 0; }
.probe-alt a { color: inherit; text-decoration: underline; white-space: nowrap; }

/* "Route planen" unter den Karten: oeffnet Google Maps erst beim Klick */
.map-route {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 13px; font-weight: 500; color: var(--accent); text-decoration: none;
}
.map-route:hover { text-decoration: underline; }
.map-route svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.page-template-dojo-kaufbeuren .map-route,
.page-template-page-dojo-kaufbeuren .map-route { color: var(--kf-red); }
.page-template-dojo-jengen    .map-route,
.page-template-page-dojo-jengen .map-route { color: var(--jg-blue); }

/* Sidebar */
.times-sidebar { display: flex; flex-direction: column; gap: 20px; }
.times-sidebar .sidebar-card:last-child { flex: unset; min-height: unset; }
.sidebar-card { background: var(--surface); border-radius: 12px; padding: 24px; border-top: 3px solid var(--accent); }
.page-template-dojo-kaufbeuren .sidebar-card,
.page-template-page-dojo-kaufbeuren .sidebar-card { border-top-color: var(--kf-red); }
.page-template-dojo-jengen    .sidebar-card,
.page-template-page-dojo-jengen .sidebar-card { border-top-color: var(--jg-blue); }
.page-template-dojo-jengen    .map-embed iframe,
.page-template-page-dojo-jengen .map-embed iframe { height: 118px; }
.sidebar-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.04em; color: var(--text); margin-bottom: 16px; }
.address-block { display: flex; flex-direction: column; gap: 18px; }
.address-item  { display: flex; gap: 12px; align-items: flex-start; }
.address-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(39,96,172,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.page-template-dojo-kaufbeuren .address-icon,
.page-template-page-dojo-kaufbeuren .address-icon { background: rgba(226,11,35,0.08); }
.page-template-dojo-jengen    .address-icon,
.page-template-page-dojo-jengen .address-icon { background: rgba(0,62,112,0.08); }
.address-icon svg { width: 16px; stroke: var(--accent); fill: none; stroke-width: 2; }
.page-template-dojo-kaufbeuren .address-icon svg,
.page-template-page-dojo-kaufbeuren .address-icon svg { stroke: var(--kf-red); }
.page-template-dojo-jengen    .address-icon svg,
.page-template-page-dojo-jengen .address-icon svg { stroke: var(--jg-blue); }
.address-label { font-size: 10px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.address-value { font-size: 13px; color: var(--text); line-height: 1.55; }
.address-name  { font-size: 11px; color: var(--muted); font-style: italic; margin-top: 2px; }
.map-embed { border-radius: 10px; overflow: hidden; margin-top: 18px; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 200px; border: none; display: block; }
.map-ph { width: 100%; height: 190px; background: #e8eef5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.map-ph svg { width: 32px; stroke: var(--accent); fill: none; stroke-width: 1.5; opacity: 0.45; }
.map-ph span { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); opacity: 0.5; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; gap: 10px; align-items: center; }
.contact-item svg { width: 16px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; }
.page-template-dojo-kaufbeuren .contact-item svg,
.page-template-page-dojo-kaufbeuren .contact-item svg { stroke: var(--kf-red); }
.page-template-dojo-jengen    .contact-item svg,
.page-template-page-dojo-jengen .contact-item svg { stroke: var(--jg-blue); }
.contact-item a { font-size: 13px; color: var(--accent); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.contact-item a:hover { color: var(--accent2); }
.contact-item span { font-size: 13px; color: var(--text); }

/* Team */
.team-list { display: flex; flex-direction: column; gap: 20px; }
.team-row {
  display: flex; gap: 32px; align-items: flex-start;
  padding: 32px; border-radius: 12px; background: var(--surface);
  border-left: 4px solid var(--accent); transition: box-shadow 0.2s;
}
.page-template-dojo-kaufbeuren .team-row,
.page-template-page-dojo-kaufbeuren .team-row { border-left-color: var(--kf-red); }
.page-template-dojo-jengen    .team-row,
.page-template-page-dojo-jengen .team-row { border-left-color: var(--jg-blue); }
.page-template-dan-allgaeu .team-row    { border-left-color: var(--accent); }
.team-row:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.team-photo { width: 120px; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; flex-shrink: 0; border: 2px solid var(--border); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 42px; opacity: 0.5;
}
.page-template-dojo-kaufbeuren .team-photo-ph,
.page-template-page-dojo-kaufbeuren .team-photo-ph { background: #f0e0e2; color: var(--kf-red); }
.page-template-dojo-jengen    .team-photo-ph,
.page-template-page-dojo-jengen .team-photo-ph { background: #dde5f0; color: var(--jg-blue); }
.page-template-dan-allgaeu    .team-photo-ph { background: rgba(39,96,172,0.08); color: var(--accent); opacity: 0.6; }
.team-info { flex: 1; }
.team-role { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.page-template-dojo-kaufbeuren .team-role,
.page-template-page-dojo-kaufbeuren .team-role { color: var(--kf-red); }
.page-template-dojo-jengen    .team-role,
.page-template-page-dojo-jengen .team-role { color: var(--jg-blue); }
.team-name { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 0.04em; color: var(--text); margin-bottom: 4px; }
.team-grad { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.team-bio { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.75; }

/* Instagram */
.instagram-hint { font-size: 13px; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
.instagram-hint a { color: var(--accent); text-decoration: none; }
.instagram-hint a:hover { text-decoration: underline; }
.instagram-placeholder {
  max-width: 540px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 48px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.instagram-icon { width: 60px; height: 60px; border-radius: 16px; background: #dc2743; display: flex; align-items: center; justify-content: center; }
.instagram-icon svg { width: 32px; fill: #fff; }
.instagram-placeholder h4 { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 0.04em; color: var(--text); }
.instagram-placeholder p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.instagram-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px;
  background: #dc2743; color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 500; transition: background 0.2s, transform 0.2s;
}
.instagram-btn:hover { background: #b8001e; transform: translateY(-1px); }
.instagram-btn svg { width: 16px; fill: #fff; }

/* Instagram Profilkopf */
.instagram-profile-head {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
}
.instagram-profile-img {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  overflow: hidden;
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) border-box;
  display: flex; align-items: center; justify-content: center;
}
.instagram-profile-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.instagram-profile-img svg { width: 36px; fill: #aaa; }
.instagram-profile-info { display: flex; flex-direction: column; gap: 6px; }
.instagram-profile-name {
  font-family: 'Bebas Neue', sans-serif; font-size: 20px;
  letter-spacing: 0.04em; color: var(--text); text-decoration: none;
}
.instagram-profile-name:hover { color: #dc2743; }
.instagram-profile-bio { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 480px; }
.instagram-feed-wrap { margin-top: 8px; }

/* ═══════════════════════════════════════════════
   D.A.N. ALLGÄU / ÜBER UNS
═══════════════════════════════════════════════ */
/* Layout aus der Neuauflage: Lesespalte, Vorstand in drei Karten, Dojo-Karten mit Vereinsband,
   Netzwerk als schmale Kacheln mit Logo links */
.verband-text { max-width: 760px; }
.verband-text p { font-size: 16px; font-weight: 400; line-height: 1.8; color: var(--muted); margin-bottom: 18px; }
.verband-text p:last-child { margin-bottom: 0; }
.verband-text .verband-lead { font-size: 20px; line-height: 1.55; color: var(--text); }

.vorstand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vorstand-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
/* Foto quadratisch über die volle Kartenbreite; bis Fotos da sind: Initialen als Platzhalter */
.vorstand-photo { aspect-ratio: 1 / 1; background: rgba(39,96,172,0.08); }
.vorstand-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.vorstand-photo-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 64px; letter-spacing: 0.06em; color: var(--accent); opacity: 0.35; }
.vorstand-info { padding: 24px; }
.vorstand-card .team-name { font-size: 26px; margin-bottom: 10px; }
.vorstand-card .team-bio { font-size: 15px; line-height: 1.75; }
.vorstand-kontakt { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.vorstand-kontakt svg { width: 16px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; }
.vorstand-kontakt a { color: var(--accent); }

.dojo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dojo-link-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; transition: box-shadow 0.2s, transform 0.2s;
}
.dojo-link-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-3px); }
/* Vereinsband: zwei Drittel Haupt-, ein Drittel Zweitfarbe */
.dlc-band { height: 6px; }
.dojo-link-card--kaufbeuren .dlc-band { background: linear-gradient(90deg, var(--kf-red) 0 66.667%, var(--kf-yellow) 66.667% 100%); }
.dojo-link-card--jengen .dlc-band     { background: linear-gradient(90deg, var(--jg-blue) 0 66.667%, var(--jg-gold) 66.667% 100%); }
.dlc-body  { display: flex; flex-direction: column; gap: 8px; padding: 28px 32px 32px; }
.dlc-club  { font-size: 13px; color: var(--muted); }
.dlc-name  { font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px, 3vw, 36px); letter-spacing: 0.03em; line-height: 1.05; color: var(--text); margin-bottom: 4px; }
.dlc-zeile { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.dlc-zeile svg { width: 15px; margin-top: 3px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; }
.dlc-mehr  { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--accent); }
.dlc-arrow { width: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

/* D.A.N. Netzwerk Kacheln */
.dan-network {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.dan-network-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.dan-network-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.dan-network-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dan-network-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.dan-network-logo--schrift { width: 104px; } /* breiter Schriftzug (D.A.N. Bayern) */
.dan-network-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text);
}
.dan-network-card:hover .dan-network-name { color: var(--accent); }
.dan-network-extern { width: 16px; margin-left: auto; stroke: var(--muted); fill: none; stroke-width: 2; flex-shrink: 0; }

/* Training (Über Aikido): Zeilen im Wechsel Foto/Text – Layout aus der Neuauflage */
.training-cols {
  display: grid;
  gap: clamp(48px, 6vw, 72px);
  margin-top: 8px;
}
.training-col {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.training-col:nth-child(even) .training-col-img { order: 2; }
.training-col:hover .training-col-title { color: var(--accent); }
.training-col-content { padding: 0; }
.training-col-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(39,96,172,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.training-col-icon svg {
  width: 22px; stroke: var(--accent); fill: none;
}
.training-col-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 3vw, 34px); letter-spacing: 0.04em;
  color: var(--text); margin-bottom: 14px; line-height: 1.05;
}

.training-col-text {
  font-size: 15px; font-weight: 400;
  color: var(--muted); line-height: 1.8;
  margin-bottom: 12px; max-width: 640px;
}
.training-col-text:last-child { margin-bottom: 0; }
.training-col-img {
  width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover;
  border-radius: 12px; margin-bottom: 0; display: block;
}
.training-col-ph {
  width: 100%; aspect-ratio: 4/3; height: auto; border-radius: 0;
  background: linear-gradient(135deg, #dbe8f8, #b8d0ef);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 0;
}
.training-col-ph svg { width: 28px; stroke: var(--accent); fill: none; stroke-width: 1.5; opacity: 0.35; }
.training-col-ph span { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); opacity: 0.55; }

/* ═══════════════════════════════════════════════
   ÜBER AIKIDO
═══════════════════════════════════════════════ */
.anchor-nav {
  max-width: 1180px; margin: 0 auto; padding: 0 28px 24px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.anchor-nav a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border);
  color: var(--accent); text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.anchor-nav a:hover { color: var(--accent); border-color: var(--accent); background: rgba(39,96,172,0.05); }
.aikido-intro { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: center; }
.kanji-column { display: flex; flex-direction: column; align-items: center; gap: 4px; position: sticky; top: calc(var(--nav-h) + 24px); }
.kanji-char { width: 160px; opacity: 0.15; transition: opacity 0.3s, transform 0.3s; }
.kanji-char:hover { opacity: 0.9; transform: scale(1.06); }
.kanji-char svg { width: 100%; height: auto; display: block; }
.kanji-char svg path, .kanji-char svg rect, .kanji-char svg circle, .kanji-char svg polygon { fill: var(--accent) !important; }
.kanji-label { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); opacity: 0.45; margin-top: 2px; }
.kanji-divider { width: 1px; height: 24px; background: var(--border); margin: 4px 0; }
/* Textlayout „Was ist Aikido?“ (aus der Neuauflage): Überschrift neben den Schriftzeichen,
   Einleitung größer, ruhige Lesespalte, Zitat groß mit Linie */
.aikido-text-col { max-width: 760px; }
.aikido-text-col p { font-size: 16px; font-weight: 400; line-height: 1.8; color: var(--muted); margin-bottom: 18px; }
.aikido-text-col p:last-child { margin-bottom: 0; }
.aikido-text-col .section-eyebrow { line-height: 1.4; }
.aikido-text-col .section-title { margin-bottom: 20px; }
.aikido-text-col .aikido-lead { font-size: 20px; line-height: 1.55; color: var(--text); margin-bottom: 20px; }
.pull-quote { border-left: 2px solid var(--accent); padding: 4px 0 4px 24px; margin: 32px 0; }
.pull-quote p { font-size: clamp(20px, 1.1rem + 0.8vw, 26px) !important; font-weight: 400 !important; color: var(--text) !important; line-height: 1.4 !important; margin-bottom: 0 !important; }
/* Unsere Linie (aus der Neuauflage): Zeitachse, Foto links, Text rechts – Fotos unverändert */
.linie-intro { font-size: 18px; color: var(--muted); margin: -16px 0 40px; }
.linie-layout { list-style: none; max-width: 980px; }
.lehrer-card { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; padding: 0 0 48px 48px; }
.lehrer-card:last-child { padding-bottom: 0; }
.lehrer-card::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 0; width: 1px; background: var(--border); }
.lehrer-card:last-child::before { display: none; }
.lehrer-card::after { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.lehrer-photo { width: 160px; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; background: var(--surface); }
.lehrer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.lehrer-ph { width: 100%; height: 100%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 52px; color: var(--accent); opacity: 0.2; }
.lehrer-jahre { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 4px; }
.lehrer-name { font-family: 'Bebas Neue', sans-serif; font-size: clamp(26px, 3vw, 34px); letter-spacing: 0.03em; line-height: 1.05; color: var(--text); margin-bottom: 6px; }
.lehrer-role { font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lehrer-bio { font-size: 15px; font-weight: 400; color: var(--muted); line-height: 1.8; margin-bottom: 12px; max-width: 760px; }
.lehrer-bio:last-child { margin-bottom: 0; }
.training-text { padding-left: 20px; border-left: 4px solid var(--accent); max-width: 760px; }
.training-text p { font-size: 15px; font-weight: 300; line-height: 1.9; color: var(--muted); margin-bottom: 14px; }
.training-text p:last-child { margin-bottom: 0; }
.fuer-wen-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
/* Erwachsene Slideshow */
.fw-slideshow { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.fw-slideshow .fw-slide {
  position: absolute; top: 0; left: 0;
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
  z-index: 1;
}
.fw-slideshow .fw-slide.active { opacity: 1; z-index: 2; }
.fw-slideshow .fw-slide.prev   { opacity: 1; z-index: 1; }

.fw-card { border-radius: 12px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; transition: box-shadow 0.6s ease; }

/* fw-image Bild-Überblendung beim Hover */
.fw-image--hover { position: relative; overflow: hidden; }
.fw-image--hover .fw-img-base {
  width: 100%; height: 260px; object-fit: cover;
  display: block;
}
.fw-image--hover .fw-img-hover {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 260px; object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fw-card:hover .fw-image--hover .fw-img-hover { opacity: 1; }

.fw-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.fw-card:hover .fw-title { color: var(--accent); }
.fw-card:first-child { grid-column: auto; grid-row: auto; }
.fw-card:nth-child(2) { grid-column: auto; grid-row: auto; }

.fw-image { position: relative; overflow: hidden; flex-shrink: 0; }
.fw-ph { display: flex; align-items: center; justify-content: center; background: var(--surface); }
.fw-ph svg { width: 36px; stroke: var(--accent); fill: none; stroke-width: 1.5; opacity: 0.3; }
.fw-card .fw-ph { aspect-ratio: 16/9; height: auto; }
.fw-card .fw-image img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; display: block; }
.fw-image img { width: 100%; object-fit: cover; display: block; transition: transform 0.4s; }

.fw-body { padding: 20px; flex: 1; }
.fw-eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.fw-title { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.04em; color: var(--text); margin-bottom: 8px; }
.fw-text { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.75; margin-bottom: 10px; }
.fw-text:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════
   LEHRGÄNGE
═══════════════════════════════════════════════ */
/* Seite: links Jahresübersicht (mitlaufend), rechts die Karten – Layout aus der Neuauflage */
.lehrgang-layout { max-width: 1180px; margin: 0 auto; padding: 56px 28px 80px; display: grid; gap: 32px; }
@media (min-width: 1025px) {
  .lehrgang-layout.mit-kalender { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
  .kalender-section { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; padding-right: 8px; }
}
@media (max-width: 1024px) {
  .kalender-section { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
}
.kalender-title { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 0.04em; line-height: 1; color: var(--text); }
.kalender-zeitraum { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 6px 0 20px; }
.kalender-liste, .kalender-termine { list-style: none; }
.kalender-jahr { padding: 18px 0 6px; }
.kalender-jahr:first-child { padding-top: 0; }
.kalender-jahr-titel { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 0.04em; line-height: 1; color: var(--accent); }
.kalender-monat { border-top: 1px solid var(--border); padding: 12px 0 8px; }
.kalender-monat-name { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.kalender-termin { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1px 12px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; font-size: 13px; line-height: 1.45; color: var(--text); text-decoration: none; transition: background 0.15s; }
.kalender-termin:hover { background: rgba(39,96,172,0.06); }
.kalender-termin-datum { color: var(--accent); font-weight: 500; font-variant-numeric: tabular-nums; }
.kalender-termin-titel { font-weight: 500; }
.kalender-termin-ort { grid-column: 2; font-size: 12px; color: var(--muted); }

/* Karte: links Datum mit Logo des Veranstalters, rechts der Inhalt */
.lehrgang-list { display: flex; flex-direction: column; gap: 24px; }
.lehrgang-card { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 32px; padding: 32px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.lehrgang-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }
.lehrgang-card--markiert { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(39,96,172,0.15), 0 8px 32px rgba(0,0,0,0.1); }
.lehrgang-datum { display: flex; flex-direction: column; align-items: flex-start; padding-right: 24px; border-right: 1px solid var(--border); }
.lehrgang-datum-text { display: flex; flex-direction: column; margin-bottom: 24px; }
.lehrgang-wochentage { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.lehrgang-tage { font-family: 'Bebas Neue', sans-serif; font-size: 52px; line-height: 0.95; letter-spacing: 0.02em; color: var(--accent); margin-top: 6px; white-space: nowrap; }
.lehrgang-monat { font-family: 'Bebas Neue', sans-serif; font-size: 24px; line-height: 1.1; letter-spacing: 0.06em; color: var(--text); }
.lehrgang-jahr { font-size: 13px; color: var(--muted); margin-top: 2px; }
/* Logo des Veranstalters unter dem Datum, unten bündig mit dem Inhalt rechts */
.lehrgang-logo { display: block; width: 96px; height: auto; margin-top: auto; }
.lehrgang-logo + .lehrgang-logo { margin-top: 14px; }
.lehrgang-logo--schrift { width: 100%; }
/* Zwei Logos (z. B. D.A.N. Allgäu + D.A.N. Bayern): zueinander mittig */
.lehrgang-datum:has(.lehrgang-logo + .lehrgang-logo) .lehrgang-logo { align-self: center; }
/* Hinweis, wenn alle Lehrgänge vergangen (= ausgeblendet) sind */
.lehrgang-empty { font-size: 15px; font-weight: 300; color: var(--muted); padding: 24px 0; text-align: center; }
.lehrgang-body { display: flex; flex-direction: column; min-width: 0; }
.lehrgang-info { display: flex; flex-direction: column; }
.lehrgang-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.lehrgang-meta-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.lehrgang-meta-item svg { width: 15px; margin-top: 3px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; }
.lehrgang-title { order: -1; font-family: 'Bebas Neue', sans-serif; font-size: clamp(26px, 3vw, 36px); letter-spacing: 0.03em; color: var(--text); margin-bottom: 14px; line-height: 1.05; }
.lehrgang-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.8; max-width: 680px; margin-bottom: 20px; }
.lehrgang-desc:empty { display: none; }
.lehrgang-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.lehrgang-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border); color: var(--muted); }
.lehrgang-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 9px;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s; white-space: nowrap;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-primary svg { width: 15px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.btn-secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 9px;
  background: transparent; color: var(--accent);
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border: 1px solid rgba(39,96,172,0.3);
  transition: background 0.2s, border-color 0.2s; white-space: nowrap;
}
.btn-secondary:hover { background: rgba(39,96,172,0.06); border-color: var(--accent); }
.btn-secondary svg { width: 15px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.btn-noch-nicht {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 9px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: #4b5563; background: #f4f6f9;
  border: 1px solid rgba(0,0,0,0.09); white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   DOWNLOADS
═══════════════════════════════════════════════ */
.download-list { max-width: 1180px; margin: 0 auto; padding: 48px 28px 80px; display: flex; flex-direction: column; gap: 12px; }
.download-card {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 12px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s; text-decoration: none;
}
.download-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-color: rgba(39,96,172,0.25); transform: translateY(-1px); }
.download-icon { width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.download-icon--pdf  { background: rgba(220,38,38,0.08); }
.download-icon--doc  { background: rgba(37,99,235,0.08); }
.download-icon--img  { background: rgba(16,185,129,0.08); }
.download-icon--file { background: rgba(39,96,172,0.08); }
.download-icon svg { width: 24px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.download-icon--pdf  svg { stroke: rgb(220,38,38); }
.download-icon--doc  svg { stroke: rgb(37,99,235); }
.download-icon--img  svg { stroke: rgb(16,185,129); }
.download-icon--file svg { stroke: var(--accent); }
.download-info { flex: 1; min-width: 0; }
.download-title { font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.download-meta { font-size: 12px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.download-meta span { display: flex; align-items: center; gap: 4px; }
.download-arrow { flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px; background: var(--surface); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.download-card:hover .download-arrow { background: rgba(39,96,172,0.1); }
.download-arrow svg { width: 16px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.download-category { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 0.06em; color: var(--text); margin-top: 24px; margin-bottom: 4px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.download-category:first-child { margin-top: 0; }

/* ═══════════════════════════════════════════════
   KONTAKT
═══════════════════════════════════════════════ */
.person-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person-card { background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.2s, transform 0.2s; }
.person-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.09); transform: translateY(-3px); }
.person-photo { width: 100%; aspect-ratio: 3/4; overflow: hidden; position: relative; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.person-card:hover .person-photo img { transform: scale(1.04); }
.person-photo-ph { width: 100%; height: 100%; background: rgba(39,96,172,0.07); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 52px; color: var(--accent); opacity: 0.3; }
.person-body { padding: 20px; }
.person-role { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.person-name { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.04em; color: var(--text); margin-bottom: 16px; }
.person-contacts { display: flex; flex-direction: column; gap: 10px; }
.person-contact { display: flex; align-items: center; gap: 10px; font-size: 13px; text-decoration: none; color: var(--muted); transition: color 0.2s; }
.person-contact:hover { color: var(--accent); }
.person-contact svg { width: 15px; flex-shrink: 0; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.person-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-layout { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; }
.form-intro p { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.85; margin-bottom: 14px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text);
  background: var(--bg); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(39,96,172,0.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 9px; background: var(--accent); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; width: 100%;
}
.form-submit:hover { background: var(--accent2); transform: translateY(-1px); }
.form-submit svg { width: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.form-message { padding: 12px 16px; border-radius: 8px; font-size: 13px; display: none; }
.form-message--success { background: rgba(16,185,129,0.1); color: rgb(5,120,85); border: 1px solid rgba(16,185,129,0.3); }
.form-message--error   { background: rgba(220,38,38,0.08); color: rgb(180,20,20); border: 1px solid rgba(220,38,38,0.2); }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 4px; }

/* ═══════════════════════════════════════════════
   IMPRESSUM / DATENSCHUTZ
═══════════════════════════════════════════════ */
.legal-content { max-width: 1180px; margin: 0 auto; padding: 56px 28px 80px; }
.legal-section { margin-bottom: 40px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 0.05em; color: var(--text); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.legal-section p { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.9; margin-bottom: 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 10px 0 12px 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-section ul li { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.7; }
.legal-section a { color: var(--accent); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }
/* Datenschutzerklärung aus dem Generator (template-parts/datenschutz-text.php) */
.dsg-text h2 { display: table; margin-top: 40px; }
.dsg-text h2:first-child { margin-top: 0; }
.dsg-text h3 { font-size: 15px; font-weight: 500; color: var(--text); margin: 18px 0 6px; }
.dsg-text p, .dsg-text ul li { font-weight: 400; }
.dsg-text ul { list-style: disc; }
.dsg-text ul.index { list-style: none; margin-left: 0; }
.dsg-text ul.m-elements li, .dsg-text ul.glossary li { overflow-wrap: anywhere; }
.dsg-text .seal { margin-top: 32px; font-size: 12px; }
.legal-source { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
/* Impressum (Layout aus der Neuauflage): Angaben in zwei Karten, Rechtstexte als Lesespalte */
.impressum-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 56px; }
.impressum-karte { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; } /* Inhalt senkrecht mittig */
.impressum-karte .legal-section { margin-bottom: 28px; }
.impressum-karte .legal-section:last-child { margin-bottom: 0; }
.impressum-mail { display: flex; align-items: center; gap: 10px; }
.impressum-mail svg { width: 16px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; }
.impressum-text { max-width: 760px; }

/* ═══════════════════════════════════════════════
   STANDARD PAGE & CF7 FORMULAR
═══════════════════════════════════════════════ */
.standard-page-content { max-width: 780px; margin: 0 auto; padding: 56px 28px 80px; }
.standard-page-content p { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.9; margin-bottom: 16px; }

/* CF7 Basis */
.wpcf7 .cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.wpcf7 label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #1a1a2e; margin-bottom: 16px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .cf7-grad-select {
  padding: 11px 14px; border: 1px solid rgba(0,0,0,0.09); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: #1a1a2e;
  background: #fff; outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.cf7-grad-select { padding-left: 36px; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .cf7-grad-select:focus { border-color: rgb(39,96,172); box-shadow: 0 0 0 3px rgba(39,96,172,0.1); }
.wpcf7 textarea { resize: vertical; min-height: 120px; }
.cf7-grad-label { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #1a1a2e; display: block; margin-bottom: 6px; }
.cf7-grad-wrap { margin-bottom: 16px; }
/* Gürtel-Abzeichen im Gürtelgrad-Feld (js/guertel-abzeichen.js): gebundener Gürtel
   in der Farbe des Grads, Dan schwarz mit goldenem Zeichen auf dem Knoten */
.grad-abzeichen-wrap { position: relative; display: block; }
.grad-abzeichen-wrap .cf7-grad-select { padding-left: 56px; }
.uacf7-form-wrapper-container .grad-abzeichen-wrap .cf7-grad-select { padding-left: 56px !important; }
.grad-abzeichen {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 22px; pointer-events: none;
  color: #eef0f3; --gurt-linie: #c4c9d2;   /* ohne Auswahl: grauer Platzhalter */
}
.grad-abzeichen svg { display: block; width: 100%; height: 100%; overflow: visible; }
.grad-abzeichen .gurt { fill: currentColor; stroke: var(--gurt-linie); stroke-width: 0.9; stroke-linejoin: round; transition: fill 0.2s, stroke 0.2s; }
.grad-abzeichen .gurt-zeichen { fill: #e3b341; font: 700 9.5px "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", sans-serif; }
.grad-abzeichen[data-farbe="rot"]     { color: #cc0000; --gurt-linie: rgba(0,0,0,0.3); }
.grad-abzeichen[data-farbe="weiss"]   { color: #fff;    --gurt-linie: #9aa1ac; }
.grad-abzeichen[data-farbe="gelb"]    { color: #f5d000; --gurt-linie: rgba(0,0,0,0.25); }
.grad-abzeichen[data-farbe="orange"]  { color: #e87000; --gurt-linie: rgba(0,0,0,0.3); }
.grad-abzeichen[data-farbe="gruen"]   { color: #2a7a2a; --gurt-linie: rgba(0,0,0,0.3); }
.grad-abzeichen[data-farbe="blau"]    { color: #1a4faa; --gurt-linie: rgba(0,0,0,0.3); }
.grad-abzeichen[data-farbe="braun"]   { color: #6b3a1f; --gurt-linie: rgba(0,0,0,0.3); }
.grad-abzeichen[data-farbe="schwarz"] { color: #111;    --gurt-linie: rgba(255,255,255,0.35); }
/* Beim Auswählen: Knoten zieht sich zu, Enden fallen nach unten */
.grad-abzeichen--binden .gurt-knoten,
.grad-abzeichen--binden .gurt-zeichen { transform-box: fill-box; transform-origin: center; animation: gurt-knoten 0.4s ease-out; }
.grad-abzeichen--binden .gurt-ende    { transform-box: fill-box; transform-origin: top; animation: gurt-ende 0.4s ease-out; }
@keyframes gurt-knoten { 0% { transform: scale(0.3); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes gurt-ende   { 0%, 30% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .grad-abzeichen--binden .gurt-knoten, .grad-abzeichen--binden .gurt-zeichen, .grad-abzeichen--binden .gurt-ende { animation: none; }
}
/* "Victory Screen" nach erfolgreichem Versand: Gürtel in der Farbe des Grads rollt sich
   von links über den Bildschirm, Glanz läuft drüber, dann zieht er rechts raus (ca. 3,4 s) */
.gurt-flug {
  position: fixed; inset: 0; z-index: 10000; pointer-events: none;
  display: flex; align-items: center; overflow: hidden;
  padding-bottom: 14vh;   /* Band sitzt bei ca. 43 % der Höhe: optische Mitte statt rechnerischer */
  background: rgba(15,23,42,0.35);
  animation: gurt-flug-buehne 3.4s ease forwards;
}
.gurt-flug-band {
  position: relative; overflow: hidden; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 16px 24px;
  background-color: var(--accent);
  color: #fff; box-shadow: 0 12px 34px rgba(0,0,0,0.3);
  animation: gurt-flug-band 3.4s forwards;
}
.gurt-flug-band::after {   /* Glanz */
  content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: translateX(-100%); animation: gurt-flug-glanz 3.4s ease-out forwards;
}
.gurt-flug-band[data-farbe="rot"]     { background-color: #cc0000; }
.gurt-flug-band[data-farbe="weiss"]   { background-color: #fff; color: #1a1a2e; }
.gurt-flug-band[data-farbe="gelb"]    { background-color: #f5d000; color: #1a1a2e; }
.gurt-flug-band[data-farbe="orange"]  { background-color: #e87000; }
.gurt-flug-band[data-farbe="gruen"]   { background-color: #2a7a2a; }
.gurt-flug-band[data-farbe="blau"]    { background-color: #1a4faa; }
.gurt-flug-band[data-farbe="braun"]   { background-color: #6b3a1f; }
.gurt-flug-band[data-farbe="schwarz"] { background-color: #111; color: #e3b341; }
.gurt-flug-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.gurt-flug-text strong {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase;
  font-size: clamp(30px, 7vw, 52px); text-shadow: 0 2px 0 rgba(0,0,0,0.18);
  animation: gurt-flug-pop 0.5s 0.6s ease-out backwards;
}
/* Unterzeile erst nach dem Titel einblenden, nicht mit dem Band aufrollen */
.gurt-flug-text small { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 6px; opacity: 0.9; animation: gurt-flug-unter 0.4s 0.95s ease-out backwards; }
/* Knoten mit Enden auf dem Band (das Band der kleinen Grafik entfällt) */
.grad-abzeichen--flug { position: relative; left: auto; top: auto; transform: none; flex: none; width: 74px; height: 45px; }
.grad-abzeichen--flug .gurt-band { display: none; }
.grad-abzeichen--flug .gurt { stroke-width: 1.2; }
.grad-abzeichen--flug[data-farbe]:not([data-farbe="schwarz"]) { --gurt-linie: rgba(0,0,0,0.5); }
/* Knoten und Enden etwas dunkler als das Band, sonst wirken sie wie eine leere Umrisslinie */
.grad-abzeichen--flug .gurt-knoten, .grad-abzeichen--flug .gurt-ende { fill: color-mix(in srgb, currentColor 78%, #000); }
.grad-abzeichen--flug[data-farbe="schwarz"] .gurt-knoten, .grad-abzeichen--flug[data-farbe="schwarz"] .gurt-ende { fill: #2c2c2c; }
.grad-abzeichen--flug.grad-abzeichen--binden .gurt-knoten,
.grad-abzeichen--flug.grad-abzeichen--binden .gurt-zeichen,
.grad-abzeichen--flug.grad-abzeichen--binden .gurt-ende { animation-delay: 0.6s; animation-fill-mode: backwards; }
@keyframes gurt-flug-buehne { 0% { background-color: rgba(15,23,42,0); } 10%, 82% { background-color: rgba(15,23,42,0.35); } 100% { background-color: rgba(15,23,42,0); } }
/* Rollt sich vom linken Rand aus (linke Kante bleibt am Rand, keine Lücke), Schatten
   oben/unten bleibt sichtbar; am Ende zieht der ganze Gürtel nach rechts raus */
@keyframes gurt-flug-band {
  0%   { clip-path: inset(-40px 100% -40px 0); transform: translateX(0); animation-timing-function: cubic-bezier(0.4, 0.1, 0.2, 1); }
  18%  { clip-path: inset(-40px 0 -40px 0);    transform: translateX(0); }
  80%  { clip-path: inset(-40px 0 -40px 0);    transform: translateX(0); animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.4); }
  100% { clip-path: inset(-40px 0 -40px 0);    transform: translateX(105%); }
}
@keyframes gurt-flug-glanz { 0%, 22% { transform: translateX(-100%); } 48%, 100% { transform: translateX(560%); } }
@keyframes gurt-flug-pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes gurt-flug-unter { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 600px) {
  .gurt-flug-band { gap: 10px; padding: 14px 16px; }
  .grad-abzeichen--flug { width: 56px; height: 34px; }
}
/* Am Rechner deutlich höher und größer, damit der Moment wirkt */
@media (min-width: 900px) {
  .gurt-flug-band { gap: 28px; padding: 32px 32px; }
  .gurt-flug-text strong { font-size: clamp(56px, 6.2vw, 88px); }
  .gurt-flug-text small { font-size: 15px; margin-top: 10px; }
  .grad-abzeichen--flug { width: 112px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .gurt-flug-band { animation: gurt-flug-still 3.4s forwards; }
  .gurt-flug-band::after, .gurt-flug-text strong, .gurt-flug-text small { animation: none; }
  .grad-abzeichen--flug .gurt-knoten, .grad-abzeichen--flug .gurt-zeichen, .grad-abzeichen--flug .gurt-ende { animation: none; }
}
@keyframes gurt-flug-still { 0% { opacity: 0; } 10%, 82% { opacity: 1; } 100% { opacity: 0; } }
.cf7-checks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.cf7-checks .wpcf7-list-item { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.cf7-checks .wpcf7-list-item input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: rgb(39,96,172); }
.cf7-checks .wpcf7-list-item-label { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #4b5563; line-height: 1.6; }
/* Aufklappfeld unter einer Checkbox (Weihnachts-Anmeldung: "Ich biete eine Übernachtungsmöglichkeit"),
   eingerückt auf Höhe des Label-Texts (18px Box + 10px Abstand) und an die Checkbox herangezogen.
   Ein-/Ausblenden per JS (anmeldung-weihnachten.js). */
.cf7-checks .unterkunft-wrap { margin: -26px 0 0 28px; }
.cf7-checks .unterkunft-wrap textarea { min-height: 80px !important; }
.wpcf7 input[type="submit"] {
  padding: 13px 24px; border-radius: 9px; background: rgb(39,96,172); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em; border: none; cursor: pointer; width: 100%;
  transition: background 0.2s, transform 0.15s;
}
.wpcf7 input[type="submit"]:hover { background: rgb(28,70,128); transform: translateY(-1px); }

/* CF7 Form-Wrap Override */
.cf7-form-wrap .wpcf7-form { display: flex; flex-direction: column; }
.cf7-form-wrap br { display: none; }
.cf7-form-wrap p { margin: 0 0 16px 0 !important; display: flex; flex-direction: column; gap: 6px; }
.cf7-form-wrap .wpcf7-form-control-wrap { width: 100%; }
.cf7-form-wrap input[type="text"], .cf7-form-wrap input[type="email"], .cf7-form-wrap input[type="tel"], .cf7-form-wrap textarea, .cf7-form-wrap select {
  padding: 11px 14px !important; border: 1px solid rgba(0,0,0,0.09) !important; border-radius: 8px !important;
  font-family: 'DM Sans', sans-serif !important; font-size: 14px !important; color: #1a1a2e !important;
  background: #fff !important; outline: none !important; width: 100% !important;
  box-sizing: border-box !important; transition: border-color 0.2s, box-shadow 0.2s !important;
}
.cf7-form-wrap input:focus, .cf7-form-wrap textarea:focus { border-color: rgb(39,96,172) !important; box-shadow: 0 0 0 3px rgba(39,96,172,0.1) !important; }
.cf7-form-wrap textarea { resize: vertical !important; min-height: 120px !important; }
.cf7-form-wrap input[type="submit"] {
  padding: 13px 24px !important; border-radius: 9px !important; background: rgb(39,96,172) !important;
  color: #fff !important; font-family: 'DM Sans', sans-serif !important; font-size: 14px !important;
  font-weight: 500 !important; border: none !important; cursor: pointer !important;
  width: 100% !important; transition: background 0.2s !important;
}
.cf7-form-wrap input[type="submit"]:hover { background: rgb(28,70,128) !important; }

/* UACF7 (WP Armour) Override */
.uacf7-form-wrapper-container { width: 100% !important; max-width: 680px !important; display: block !important; }
.uacf7-form-wrapper-container label {
  display: flex !important; flex-direction: column !important; gap: 6px !important;
  font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0.08em !important;
  text-transform: uppercase !important; color: #1a1a2e !important;
  margin-bottom: 16px !important; width: 100% !important;
}
.uacf7-form-wrapper-container .cf7-row { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 14px !important; margin-bottom: 0 !important; }
.uacf7-form-wrapper-container .wpcf7-form-control-wrap { width: 100% !important; display: block !important; }
.uacf7-form-wrapper-container input[type="text"],
.uacf7-form-wrapper-container input[type="email"],
.uacf7-form-wrapper-container input[type="tel"],
.uacf7-form-wrapper-container textarea,
.uacf7-form-wrapper-container select {
  padding: 11px 14px !important; border: 1px solid rgba(0,0,0,0.12) !important;
  border-radius: 8px !important; font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important; color: #1a1a2e !important; background: #fff !important;
  outline: none !important; width: 100% !important; box-sizing: border-box !important;
  display: block !important; transition: border-color 0.2s, box-shadow 0.2s !important;
}
.uacf7-form-wrapper-container input:focus,
.uacf7-form-wrapper-container textarea:focus { border-color: rgb(39,96,172) !important; box-shadow: 0 0 0 3px rgba(39,96,172,0.1) !important; }
.uacf7-form-wrapper-container textarea { resize: vertical !important; min-height: 120px !important; }
.uacf7-form-wrapper-container input[type="submit"] {
  padding: 13px 24px !important; border-radius: 9px !important; background: rgb(39,96,172) !important;
  color: #fff !important; font-family: 'DM Sans', sans-serif !important; font-size: 14px !important;
  font-weight: 500 !important; letter-spacing: 0.04em !important; border: none !important;
  cursor: pointer !important; width: 100% !important; margin-top: 8px !important;
  transition: background 0.2s !important;
}
.uacf7-form-wrapper-container input[type="submit"]:hover { background: rgb(28,70,128) !important; }
.uacf7-form-wrapper-container .cf7-grad-wrap { margin-bottom: 16px !important; }
.uacf7-form-wrapper-container .cf7-grad-label { font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; color: #1a1a2e !important; display: block !important; margin-bottom: 6px !important; }
.uacf7-form-wrapper-container .cf7-grad-select { padding-left: 36px !important; }
.uacf7-form-wrapper-container .cf7-checks { display: flex !important; flex-direction: column !important; gap: 12px !important; margin-bottom: 20px !important; }
.uacf7-form-wrapper-container .cf7-checks .wpcf7-list-item { display: flex !important; align-items: flex-start !important; gap: 10px !important; margin: 0 !important; }
.uacf7-form-wrapper-container .cf7-checks .wpcf7-list-item-label { font-size: 13px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: #4b5563 !important; line-height: 1.6 !important; }
/* Checkboxen mit use_label_element: Kästchen und Text stecken in einem <label>.
   Gegen die allgemeine Label-Regel oben (gestapelt, Versalien) wieder nebeneinander setzen. */
.cf7-checks .wpcf7-list-item > label,
.uacf7-form-wrapper-container .cf7-checks .wpcf7-list-item > label {
  display: flex !important; flex-direction: row !important; align-items: flex-start !important;
  gap: 10px !important; margin: 0 !important; width: auto !important; cursor: pointer;
  font-size: 13px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important;
}

/* ═══════════════════════════════════════════════
   EINHEITEN & PREISRECHNER
═══════════════════════════════════════════════ */
.einheiten-section { margin-bottom: 20px; }
.einheiten-label { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #1a1a2e; display: block; margin-bottom: 8px; }
.einheiten-top-row { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.ganzer-kurs-btn, .ermassigt-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; font-size: 13px; font-weight: 500;
  background: #fff; border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px; cursor: pointer; color: #1a1a2e;
  transition: background 0.15s, border-color 0.15s;
}
.ganzer-kurs-btn.active { background: rgb(39,96,172); color: #fff; border-color: rgb(39,96,172); }
.ermassigt-btn.active   { background: #2a7a2a; color: #fff; border-color: #2a7a2a; }
.einheiten-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.tag-col { display: flex; flex-direction: column; gap: 4px; }
.tag-head { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #4b5563; padding: 6px 8px; text-align: center; border-bottom: 1px solid rgba(0,0,0,0.07); }
.tag-lehrer { font-size: 11px; font-weight: 400; color: #9ca3af; padding: 4px 8px 6px; text-align: center; line-height: 1.4; }
.einheit-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; background: #fff;
  border: 1px solid rgba(0,0,0,0.09); border-radius: 8px;
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.einheit-item:hover { border-color: rgba(39,96,172,0.4); }
.einheit-item.selected { border-color: rgb(39,96,172); background: rgba(39,96,172,0.06); }
.einheit-item input[type=checkbox] { width: 15px; height: 15px; accent-color: rgb(39,96,172); flex-shrink: 0; pointer-events: none; }
.einheit-text { flex: 1; font-size: 13px; color: #1a1a2e; line-height: 1.4; }
.einheit-text small { display: block; font-size: 11px; color: #4b5563; }
.einheit-preis-display { font-size: 12px; color: #4b5563; white-space: nowrap; font-weight: 500; }
/* Spezialkurstag: Preis haengt an der Anzahl der Einheiten, nicht an der Kachel.
   Staffel unter der Überschrift, Hinweis falls ohne Einheit abgeschickt wird. */
.preis-staffel { font-size: 13px; color: #4b5563; margin: 0 0 10px; line-height: 1.5; }
.einheiten-fehler { font-size: 13px; color: #dc3232; margin: 8px 0 0; }

/* Preis-Summary */
.preis-summary { background: #f4f6f9; border: 1px solid rgba(0,0,0,0.07); border-radius: 10px; padding: 16px; margin-bottom: 20px; }
.preis-row { display: flex; justify-content: space-between; font-size: 13px; color: #4b5563; padding: 3px 0; }
.preis-row.total { font-size: 16px; font-weight: 600; color: #1a1a2e; border-top: 1px solid rgba(0,0,0,0.09); margin-top: 10px; padding-top: 12px; }
.preis-row.ermassigt-row { color: #2a7a2a; }

/* Zahlungsart */
.zahlung-wrap { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,0.07); }
.zahlung-label { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #1a1a2e; display: block; margin-bottom: 6px; }
.zahlung-hinweis { font-size: 13px; color: #4b5563; margin-bottom: 10px; line-height: 1.5; }
.zahlung-optionen { display: flex; gap: 8px; flex-wrap: wrap; }
.zahlung-option {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; font-size: 13px; font-weight: 500;
  background: #fff; border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s; color: #1a1a2e;
  justify-content: flex-start !important; text-align: left !important;
}
.zahlung-option.selected { border-color: rgb(39,96,172); background: rgba(39,96,172,0.06); color: rgb(39,96,172); }
.zahlung-option input[type=radio] { accent-color: rgb(39,96,172); flex-shrink: 0; }

/* UACF7 Zahlungsart Fix */
.zahlung-optionen .zahlung-option,
.uacf7-form-wrapper-container .zahlung-optionen .zahlung-option,
.uacf7-form-wrapper-container .zahlung-optionen label {
  flex-direction: row !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1a1a2e !important;
  margin-bottom: 0 !important;
  padding: 9px 16px !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
}
.zahlung-optionen .zahlung-option.selected,
.uacf7-form-wrapper-container .zahlung-optionen .zahlung-option.selected {
  border-color: rgb(39,96,172) !important;
  background: rgba(39,96,172,0.06) !important;
  color: rgb(39,96,172) !important;
}

/* reCAPTCHA-Hinweistext. Seit v1.5.32 ist reCAPTCHA in CF7 abgeschaltet; das Badge wird
   nicht mehr versteckt, damit es bei einer Reaktivierung sichtbar ist (Google-Vorgabe). */
.recaptcha-hinweis { font-size: 11px; color: var(--muted); line-height: 1.6; margin-top: 10px; display: inline; }
.recaptcha-hinweis a { display: inline; }
.recaptcha-hinweis a { color: var(--muted); text-decoration: underline; }
.recaptcha-hinweis a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
/* Ab v1.6.0: vier Spalten auf fast schwarzem Grund (wie die Neuauflage), darunter Copyright.
   Unter 1024 px zwei Spalten, unter 560 px eine. */
footer { background: #181715; color: rgba(255,255,255,0.72); padding: 64px 0 32px; font-size: 15px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-grid > nav { display: block; } /* allgemeine Regel "nav { display: flex }" gilt nur für die Kopfnavigation */
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; text-decoration: none; }
.footer-brand img { width: 48px; height: 48px; object-fit: contain; }
.footer-brand span { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; }
.footer-text { max-width: 34ch; line-height: 1.6; margin-bottom: 16px; }
.footer-heading { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.footer-list { list-style: none; display: grid; gap: 10px; }
.footer-list a {
  display: inline-flex; align-items: center; gap: 8px; color: #fff;
  text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.footer-list a:hover { text-decoration-color: #fff; }
.footer-list svg { width: 18px; height: 18px; flex-shrink: 0; }
.footer-days { color: rgba(255,255,255,0.6); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 14px; color: rgba(255,255,255,0.6);
}
footer :focus-visible { outline-color: #fff; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .aikido-intro { grid-template-columns: 160px 1fr; gap: 36px; }
  .kanji-char { width: 130px; }
  .form-layout { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 960px) {
  .training-col { grid-template-columns: 1fr; gap: 24px; }
  .training-col:nth-child(even) .training-col-img { order: 0; }
  .video-layout { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 24px; }
  .video-layout .section-header, .video-stage, .video-list, .video-hint { grid-column: 1; grid-row: auto; }
  .video-layout .section-header, .video-list { margin-bottom: 0; }
  .masonry-grid { columns: 2; }
  .parallax-inner { grid-template-columns: 1fr; }
  .parallax-text { padding: 32px 0 40px 0 !important; }
  .parallax-inner.reverse { direction: ltr; }
  .parallax-image-wrap { transform: none !important; }
  .times-layout { grid-template-columns: 1fr; }
  .photo-grid   { grid-template-columns: 1fr 1fr; }
  .dojo-cards { grid-template-columns: 1fr; gap: 16px; }
  .vorstand-grid, .dan-network { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .hero-club-logo img { width: 90px; height: 90px; }
}
@media (max-width: 768px) {
  .training-cols { gap: 40px; }
  .burger { display: flex; }
  nav#main-nav {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px; flex-direction: column;
    align-items: flex-start; z-index: 199;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  nav#main-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
  .nav-list > li { width: 100%; }
  .nav-list > li > a,
  .nav-list > li > button {
    width: 100%; justify-content: space-between; padding: 12px 8px;
    font-size: 15px; border-bottom: 1px solid var(--border); border-radius: 0;
    color: var(--muted) !important; background: none !important;
  }
  .nav-list > li > a:hover, .nav-list > li > button:hover { color: var(--accent) !important; }
  .dropdown { position: static; opacity: 1; pointer-events: all; transform: none; box-shadow: none; background: rgba(39,96,172,0.04); border: none; border-radius: 0; padding: 4px 0 4px 16px; display: none; }
  .dropdown a { padding: 10px 14px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .dropdown a:last-child { border-bottom: none; }
  .nav-list > li.open .dropdown { display: block; }
  .section { padding: 64px 20px; }
  .masonry-grid { columns: 1; }
  .lehrgang-layout { padding: 32px 20px 60px; gap: 24px; }
  .lehrgang-card { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .lehrgang-datum { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 0 0 14px; border-right: none; border-bottom: 1px solid var(--border); }
  .lehrgang-datum-text { grid-column: 1; grid-row: 1 / span 2; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-bottom: 0; }
  .lehrgang-tage { font-size: 40px; margin-top: 0; }
  .lehrgang-logo, .lehrgang-logo + .lehrgang-logo { grid-column: 2; justify-self: end; width: 56px; margin: 0; }
  .lehrgang-datum .lehrgang-logo--schrift { width: 88px; }
  .lehrgang-datum:has(.lehrgang-logo + .lehrgang-logo) .lehrgang-logo { justify-self: center; }
  .lehrgang-actions { flex-direction: row; min-width: unset; width: 100%; }
  .btn-primary, .btn-secondary { flex: 1; }
  .download-list { padding: 32px 20px 60px; }
  .download-card { padding: 16px 18px; gap: 14px; }
  .person-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .page-content { padding: 0 20px 60px; }
  .dojo-tabs { gap: 2px; overflow-x: auto; }
  .dojo-tab  { padding: 8px 14px; font-size: 12px; white-space: nowrap; }
  .training-card { flex-wrap: wrap; gap: 10px; }
  .training-day  { min-width: unset; width: 100%; }
  .training-main { width: 100%; flex: unset; }
  .training-badge { align-self: flex-start; }
  .team-row { flex-direction: row; gap: 20px; padding: 20px; }
  .team-photo { width: 80px; }
  .photo-grid { grid-template-columns: 1fr; }
  .dlc-body { padding: 20px 20px 24px; }
  .aikido-text-col .aikido-lead, .verband-text .verband-lead { font-size: 18px; }
  .impressum-raster { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .impressum-karte { padding: 24px 20px; }
  .aikido-intro { grid-template-columns: 1fr; gap: 0; }
  .kanji-column { flex-direction: row; position: static; justify-content: center; align-items: center; gap: 8px; margin-bottom: 32px; padding: 20px 0; border-bottom: 1px solid var(--border); }
  .kanji-char { width: 72px; }
  .kanji-divider { width: 1px; height: 48px; background: var(--border); }
  .kanji-label { display: none; }
  .fuer-wen-layout { grid-template-columns: 1fr; }
  .fuer-wen-layout { grid-template-columns: 1fr; }
  .lehrer-card { grid-template-columns: 1fr; gap: 16px; padding-left: 32px; }
  .anchor-nav { padding: 0 20px 20px; }
  .content-section { padding: 48px 0; }
}
@media (max-width: 600px) {
  .video-start-btn { padding: 10px 16px; font-size: 15px; }
  .wpcf7 .cf7-row { grid-template-columns: 1fr; }
  .uacf7-form-wrapper-container .cf7-row { grid-template-columns: 1fr !important; }
  .einheiten-grid { grid-template-columns: 1fr; }
  .zahlung-optionen { flex-direction: column; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { padding: 0 20px; }
  .page-hero-inner { padding: 40px 20px 32px; }
  .legal-content { padding: 40px 20px 60px; }
  .pull-quote { padding: 2px 0 2px 16px; }
  .pull-quote p { font-size: 19px !important; }
}
@media (max-width: 480px) {
  .lehrgang-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { flex: unset; }
  .person-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; gap: 12px; }
  .person-photo { aspect-ratio: 3/2; }
  .download-icon { width: 40px; height: 40px; }
  .download-title { font-size: 14px; }
}
/* Mailadressen bleiben am Stück (nowrap, s. o.); erst unter 360px reicht der
   Platz für aikido@tv-kaufbeuren-neugablonz.de nicht mehr, dann lieber
   umbrechen als seitlich überstehen */
@media (max-width: 359px) {
  .probe-alt a, .contact-item a { white-space: normal; overflow-wrap: anywhere; }
}

/* ══════════════════════════════════════════════════════════════
   NEUIGKEITEN – Übersicht & Einzelbeitrag
══════════════════════════════════════════════════════════════ */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.news-card:hover .news-card-title { color: var(--accent); }
.news-card-img { overflow: hidden; aspect-ratio: 16/9; background: var(--surface); }
.news-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.news-card-img--ph {
  background: linear-gradient(135deg, #dbe8f8, #b8d0ef);
  display: flex; align-items: center; justify-content: center;
}
.news-card-img--ph svg { width: 32px; stroke: var(--accent); fill: none; opacity: 0.4; }
.news-card-img--fallback img { object-fit: cover; }
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-card-date { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.news-card-cat {
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,0.05);
}
.news-card-title { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.04em; color: var(--text); line-height: 1.2; transition: color 0.2s; }
.news-card-excerpt { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.7; margin-top: 4px; }

/* Leerzustand */
.news-empty { font-size: 15px; font-weight: 300; color: var(--muted); padding: 20px 0; }
.news-empty a { color: var(--accent); text-decoration: underline; }

/* Paginierung (rudimentär – Neuere/Ältere) */
.news-pagination { display: flex; justify-content: space-between; margin-top: 48px; }
.news-pagination a { font-size: 13px; font-weight: 500; color: var(--accent); text-decoration: none; }
.news-pagination a:hover { text-decoration: underline; }

/* Nummerierte Paginierung (the_posts_pagination) */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text);
  text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .page-numbers.dots { border: none; min-width: auto; padding: 0 4px; }

/* Einzelbeitrag */
.single-post { max-width: 820px; margin-left: auto; margin-right: auto; }
/* Beitrags-Titel nicht zu wuchtig (v. a. lange Titel), nur Einzelbeitrag */
.single .page-hero h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.08; }
.single-post-img { border-radius: 12px; overflow: hidden; margin-bottom: 40px; }
.single-post-img img { width: 100%; height: auto; display: block; }
.single-post-content { font-size: 15px; font-weight: 300; line-height: 1.85; color: var(--text); }
.single-post-content p { margin-bottom: 20px; }
.single-post-content h2 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 0.04em; color: var(--text); margin: 36px 0 12px; }
.single-post-content h3 { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 0.04em; color: var(--text); margin: 28px 0 10px; }
.single-post-content img { max-width: 100%; border-radius: 8px; margin: 24px 0; }

/* Beitrags-Inhalt an Theme-Typografie angleichen (Editor-Elemente) */
.single-post-content { font-family: 'DM Sans', sans-serif; }
.single-post-content h4 { font-family: 'Bebas Neue', sans-serif; font-size: 19px; letter-spacing: 0.04em; color: var(--text); margin: 24px 0 8px; }
.single-post-content h5,
.single-post-content h6 { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); margin: 20px 0 6px; }
.single-post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s; }
.single-post-content a:hover { color: var(--accent2); }
.single-post-content strong, .single-post-content b { font-weight: 600; }
.single-post-content ul, .single-post-content ol { margin: 0 0 20px 1.3em; padding: 0; }
.single-post-content ul { list-style: disc; }
.single-post-content ol { list-style: decimal; }
.single-post-content li { margin-bottom: 8px; line-height: 1.7; }
.single-post-content blockquote {
  margin: 24px 0; padding: 6px 0 6px 20px;
  border-left: 3px solid var(--accent);
  color: var(--muted); font-style: italic;
}
.single-post-content hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.single-post-content figure { margin: 24px 0; }
.single-post-content figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }

/* Tabellen im Beitrag (z. B. Lehrgangskalender) */
.single-post-content .wp-block-table,
.single-post-content figure.wp-block-table { margin: 24px 0; overflow-x: auto; }
.single-post-content table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.single-post-content th,
.single-post-content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.single-post-content th {
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--surface);
  border-bottom: 2px solid var(--border);
}
.single-post-content tbody tr:hover { background: var(--surface); }

.single-post-nav { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--accent); text-decoration: none; }
.back-link svg { width: 16px; stroke: var(--accent); fill: none; }
.back-link:hover { text-decoration: underline; }


/* ══════════════════════════════════════════════════════════════
   KONTAKT
══════════════════════════════════════════════════════════════ */

.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-areas: "kopf ." "form seite";
  column-gap: 48px;
  align-items: start;
}
.kontakt-kopf    { grid-area: kopf; }
.kontakt-form    { grid-area: form; }
.kontakt-sidebar { grid-area: seite; } /* beginnt bündig mit dem Formular, nicht mit der Überschrift */
.kontakt-kopf .section-title { margin-bottom: 28px; }

/* Contact Form 7 Styling */
.wpcf7-form p,
.wpcf7-form p label,
.wpcf7-form label {
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--text) !important;
  margin-bottom: 0 !important;
}
.wpcf7-form br { display: none; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 4px; margin-bottom: 20px; }
.kontakt-intro { font-size: 15px; color: var(--text); margin-bottom: 28px; }
.contact-item--kf:hover div[style*="font-weight"] { color: var(--kf-red) !important; }
.contact-item--jg:hover div[style*="font-weight"] { color: var(--jg-gold) !important; }
.contact-item--kf:hover svg, .contact-item--jg:hover svg { transition: stroke 0.2s; }
.contact-item--kf:hover svg { stroke: var(--kf-red); }
.contact-item--jg:hover svg { stroke: var(--jg-gold); }
.wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  margin-bottom: 6px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.wpcf7-form textarea { min-height: 160px; resize: vertical; }
.wpcf7-form select { appearance: none; cursor: pointer; }
.wpcf7-form input[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  cursor: pointer;
  width: auto;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.wpcf7-form input[type="submit"]:hover {
  background: rgb(29,76,152);
  transform: translateY(-1px);
}
.wpcf7-not-valid-tip { font-size: 11px; color: #e03; margin-top: 4px; }
.wpcf7-response-output {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid var(--border);
}
.wpcf7-response-output:empty { display: none; }

/* Responsive */
@media (max-width: 768px) {
  .kontakt-layout { grid-template-columns: 1fr; grid-template-areas: "kopf" "form" "seite"; }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE ERGÄNZUNGEN
══════════════════════════════════════════════════════════════ */

/* Tablet (≤ 960px) */
@media (max-width: 960px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .single-post { max-width: 100%; }
  .kontakt-layout { grid-template-columns: 1fr; grid-template-areas: "kopf" "form" "seite"; gap: 0; }
  .kontakt-sidebar { margin-top: 36px; }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-card-title { font-size: 18px; }
  .single-post-content { font-size: 14px; }
  .single-post-content table { font-size: 13px; }
  .single-post-content th, .single-post-content td { padding: 10px; }
  .single-post-img { margin-bottom: 28px; }
  /* Beitrags-Kopf mobil: zentriert, Breadcrumb ausgeblendet */
  .single .page-hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .single .page-hero h1 { font-size: clamp(24px, 7vw, 34px); }
  .single .page-hero .breadcrumb { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   CF7 QUIZ / SICHERHEITSFRAGE
══════════════════════════════════════════════════════════════ */
.wpcf7-form p:has(+ p .wpcf7-quiz),
.wpcf7-form p:has(.wpcf7-quiz-label) { 
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--text) !important;
  margin-bottom: 4px !important;
}
.wpcf7-quiz-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  display: block;
  margin-bottom: 6px;
}

/* ═══════════════════════════════════════════════
   SUCHE (search.php, 404.php, searchform.php)
═══════════════════════════════════════════════ */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link.screen-reader-text:focus {
  position: fixed; top: 8px; left: 8px; z-index: 10000;
  width: auto; height: auto; margin: 0; padding: 10px 16px; clip-path: none;
  background: #fff; color: var(--accent); border-radius: 6px; font-size: 14px; font-weight: 500;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2); text-decoration: none;
}
.dan-searchform { display: flex; gap: 10px; align-items: stretch; margin-bottom: 32px; }
.dan-searchform label { flex: 1; display: block; }
.dan-searchform input[type="search"] {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text);
  background: #fff; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dan-searchform input[type="search"]:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(39,96,172,0.1);
}
.dan-searchform .btn-primary { flex-shrink: 0; cursor: pointer; border: none; }

.dan-404-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dan-404-actions .btn-primary,
.dan-404-actions .btn-secondary { flex: 0 0 auto; }

@media (max-width: 560px) {
  .dan-searchform { flex-direction: column; }
}

/* ═══════════════════════════════════════════════
   BARRIEREFREIHEIT  (ab v1.5.13)
═══════════════════════════════════════════════ */

/* Sichtbarer Fokusrahmen – nur bei Tastaturbedienung, nicht bei Maus.
   Rein additiv, im Mausbetrieb unveraendert. */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* Respektiert die System-Einstellung „Bewegung reduzieren".
   Nur fuer Nutzer, die das aktiv gesetzt haben – fuer alle anderen
   aendert sich nichts. Statt Autoplay-Video zeigt der Hero dann das
   Standbild (Poster). */
@media (prefers-reduced-motion: reduce) {
  .hero-video video { display: none; }
  .hero-video-toggle { display: none; }
  .hero-video {
    background-image: url('https://dan-allgaeu.de/wp-content/uploads/2026/10/DAN_Allgaeu_Website_poster.webp');
    background-size: cover;
    background-position: center;
  }
  [data-parallax] { transform: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════════
   PLUGIN-FIX: Complianz E-Mail-Verschleierung  (ab v1.5.16)
   Complianz baut in seine Dokumente (z. B. Datenschutz) einen
   Köder-Domain-Span als Spam-Schutz ein und blendet ihn per
   .cmplz-fmail-domain{display:none} aus. Diese Complianz-CSS wird
   auf manchen Seiten nicht geladen, dann erscheint der Köder
   sichtbar (z. B. „vorstand@ex.comdan-allgaeu.de"). Wir liefern
   die Regel selbst nach: Köder bleibt im Quelltext (Bots), ist
   aber für Menschen unsichtbar.
═══════════════════════════════════════════════ */
.cmplz-fmail-domain { display: none !important; }
