/* Skip-Navigation (visuell versteckt, sichtbar bei Tastaturfokus) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 0;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: var(--blau);
  color: #fff;
  z-index: 9999;
  text-decoration: none;
  font-size: 0.9rem;
}

:root {
  --blau: #f08103;        /* FK-Orange (Primärfarbe) */
  --hellblau: #fef5eb;    /* helles Warm-Ton (Hintergründe) */
  --grau: #949599;
  --dunkelgrau: #2b2b2b;  /* FK-Dunkel */
  --weiss: #ffffff;
  --orange: #c76a00;      /* dunkleres Orange (Akzent/Hover) */
  /* Einheitlicher Focus-Ring: dunkleres Orange mit 3px Abstand,
     global auf a/button/input/summary angewandt (WCAG 2.4.7) */
  --focus-ring: 2px solid var(--orange);
  --focus-offset: 3px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  overflow-x: clip;
}

body { font-family: "Segoe UI", Arial, sans-serif; line-height: 1.6;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #555558;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

/* =========================
   2. Global Text & Links
========================= */
p, li, a {
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* =========================
   3. Buttons etc.
========================= */
a:not(.btn-spenden):not(.btn-kontakt):not(.online-cta-button):not(.ds-link):not(.footer-social-link):not(.nav-dropdown__item):not(.team-card__mail),
a:visited:not(.btn-spenden):not(.btn-kontakt):not(.online-cta-button):not(.ds-link):not(.footer-social-link):not(.nav-dropdown__item):not(.team-card__mail),
a:active:not(.btn-spenden):not(.btn-kontakt):not(.online-cta-button):not(.ds-link):not(.footer-social-link):not(.nav-dropdown__item):not(.team-card__mail) {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.3s, background 0.3s;
}

/* Hover-Effekt für normale Links (NICHT für Links auf orangenem Hintergrund) */
a:not(.btn-spenden):not(.btn-kontakt):not(.online-cta-button):not(.footer-social-link):not(.topbar-link):not(.nav-dropdown__item):not(.team-card__mail):hover {
  color: var(--blau) !important;
}
/* Topbar-Links (auf orangenem Hintergrund): Hover bleibt weiß */
.top-bar a:hover {
  color: #fff !important;
}

/* Datenschutz-Links im Kontaktformular */
a.ds-link,
a.ds-link:visited {
  color: var(--blau) !important;
  text-decoration: underline !important;
}
a.ds-link:hover,
a.ds-link:visited:hover {
  color: var(--dunkelgrau) !important;
  text-decoration: underline !important;
}

/* =========================
   4. FOOTER
========================= */

/* === Headline-Stile global === */
body h1 {
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.2;
  letter-spacing: 0.9px;
  color: var(--blau);
  margin-bottom: 0.5em;
}

body h2 {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0.6px;
  color: var(--blau);
  margin-bottom: 0.5em;
}

body h3 {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: 0.4px;
  color: var(--blau);
  margin-bottom: 0.5em;
}

/* Mobile: enger leading bei orangenen Überschriften, sodass mehrzeilige
   Titel nicht zu luftig wirken. */
@media (max-width: 768px) {
  body h1 { line-height: 1.05; }
  body h2 { line-height: 1.05; }
  body h3 { line-height: 1.15; }
}

/* Einheitlicher Fließtext im Content-Bereich */
.page-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3a3a3a;
}
/* HEADER */
header {
  background: var(--weiss);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.header-inner {
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(30px, 3vw, 48px);   /* Mindestabstand Brand ↔ Nav, fluid skalierend */
  position: relative;
  transition: padding 0.4s ease;
  box-sizing: border-box;
}

header.scrolled .header-inner {
  padding: 6px 40px;
}

/* Brand-Block (h1 oder div) – Container für den Marken-Link */
.header-brand {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  display: flex;
  align-items: center;
  min-width: 0;         /* erlaubt Text-Ellipsis innerhalb Flex */
  flex: 0 1 auto;
}

/* Gesamter Brand-Block (Logo + Text) ist klickbar – führt IMMER nach index.php */
.header-brand__link {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 26px);   /* mehr Abstand Logo ↔ Text, fluid skalierend */
  text-decoration: none !important;
  color: inherit;
  border-radius: 6px;
  line-height: 1.2;
  min-width: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: opacity 0.25s ease;
}
.header-brand__link:hover { opacity: 0.85; }
/* Hover-Effekt aufs Logo selbst statt auf die ganze Box */
.header-brand__link:hover .header-brand__logo {
  transform: scale(1.04);
}
.header-brand__logo {
  height: clamp(56px, 9vw, 100px);
  width: auto;
  flex-shrink: 0;
  transition: transform 0.25s ease, height 0.4s ease;
}

.header-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
  min-width: 0;
  flex: 1 1 auto;
}

/* Haupttitel: bleibt zweizeilig (harter <br> im HTML zwischen "Freundeskreise"
   und "für Suchtkrankenhilfe"). Beim Verkleinern/Zoomen schrumpft die
   Schrift fluide via clamp() — KEIN weicher Umbruch, KEINE Hyphenation,
   damit der Text sich nicht in 3-4 Zeilen stapelt. */
.header-brand__main {
  color: var(--blau);                /* CI-Orange */
  font-size: clamp(0.7rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.15px;
  transition: font-size 0.4s ease;
  white-space: nowrap;
}

.header-brand__sub {
  color: #000;                       /* Schwarz */
  font-size: clamp(0.55rem, 0.7vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: font-size 0.4s ease;
  white-space: nowrap;
}

/* Scrolled-Zustand: alles kompakter, Subtitel ausblenden */
header.scrolled .header-brand__link {
  gap: clamp(10px, 1.6vw, 18px);
}

header.scrolled .header-brand__logo {
  height: clamp(40px, 5.5vw, 55px);
}

header.scrolled .header-brand__main {
  font-size: clamp(0.7rem, 1vw, 0.95rem);
}

header.scrolled .header-brand__sub {
  display: none;   /* Untertitel verschwindet beim Scrollen für mehr Luft */
}
/* OBERE INFO-BAR */
.top-bar {
  width: 100%;
  background: var(--blau);
  color: var(--weiss);
  font-size: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  box-sizing: border-box;
}
@media (max-width: 1200px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }
  /* Hamburger aktiv — Brand hat die volle Zeile zur Verfügung,
     also Schrift wieder auf ein lesbares Maß heben (die kleinere Desktop-
     Clamp wird nur im engen 1200-1800-px-Bereich gebraucht). */
  .header-brand__main { font-size: clamp(0.85rem, 1.8vw, 1rem); }
  .header-brand__sub  { font-size: clamp(0.65rem, 1.3vw, 0.78rem); }
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px; 
}

.top-icon {
  width: 12px;
  height: 12px;
	  filter: invert(1) brightness(2);
}

.social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-left: 10px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.social-icon:hover {
  opacity: 0.75;
  transform: scale(1.08);
}

/* TikTok-Icon (schwarzer Kreis mit weißem Logo) per Filter invertieren,
   damit es zu FB/IG in Weiß passt: weißer Kreis, dunkles Logo innen. */
.social-icon--tiktok-invert {
  filter: invert(1);
}

.topbar-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  position: relative;
  padding-bottom: 1px;
  transition: color 0.25s ease;
}
.topbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}
.topbar-link:hover {
  color: #fff;
}
.topbar-link:hover::after {
  width: 100%;
}

/* === TOP-BAR LINKS: Icons + Text + Trennzeichen === */
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.7rem;
}

.top-bar-left a,
.top-bar-left a:visited,
.top-bar-left a:active {
  color: var(--weiss) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s, background 0.3s;
  padding: 2px 4px;
  border-radius: 3px;
  cursor: pointer;
}

.top-bar-left a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
}

.top-bar-left span.separator {
  color: var(--weiss);
  margin: 0 4px;
}

.top-bar-left .top-icon {
  width: 12px;
  height: 12px;
  filter: invert(1) brightness(2);
}

/* Responsive: Topbar Mobile
   - Impressum/Datenschutz verschwinden (bleiben im Footer erreichbar)
   - Social-Icons rutschen neben Telefon/Standort — solange Platz da ist.
     Auf sehr schmalen Screens (≤ 480px) fliegen sie raus, damit
     Standort + Telefon sich nicht übereinander stapeln. */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    font-size: 0.62rem;
    text-align: left;
    gap: 10px;
  }
  .top-bar-left {
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
    flex-wrap: wrap;
  }
  .top-bar-left span.separator {
    display: none;
  }
  .top-bar-right {
    gap: 8px;
    flex-shrink: 0;
  }
  .top-bar-right .topbar-link,
  .top-bar-right > .separator {
    display: none;
  }
  .social-icon { margin-left: 0; }
}
@media (max-width: 480px) {
  .top-bar-right {
    display: none;
  }
}

/* NAVIGATION */
.nav-menu { display: flex; gap: clamp(14px, 1.6vw, 40px); align-items: center; }
.nav-menu a {
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  color: #000;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}

/* 4. NAV UNDERLINE ANIMATION
   Nur für Active-State — kein Hover-Underline auf Links ohne Submenü
   (Home, Kontakt). Dropdown-Labels haben ihren eigenen Hover-Underline
   via .nav-dropdown__label::after. */
.nav-menu > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blau);
  transition: width 0.3s ease;
}
.nav-menu > a:hover { color: var(--blau); }

/* Active State: aktuelle Seite */
.nav-menu a.nav-active {
  color: var(--blau) !important;
}

.nav-menu > a.nav-active::after {
  width: 100%;
  background: var(--blau);
}

/* Active Parent: übergeordneter Menüpunkt bleibt orange wenn man sich
   auf einer Unterseite befindet (z.B. Engagieren → Spenden) */
.nav-dropdown--active > .nav-dropdown__label {
  color: var(--blau) !important;
}
.nav-dropdown--active > .nav-dropdown__label::after {
  width: 100%;
  background: var(--blau);
}

/* Produkt-Logos in Dropdown-Items (Online Gruppen, Events App, Podcasts) */
.nav-dropdown__brand-logo {
  height: 18px;
  width: 18px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
}
/* Logos bei Hover → weiß (auf orangenem Hintergrund) */
.nav-dropdown__item:hover .nav-dropdown__brand-logo {
  filter: brightness(0) invert(1);
  box-shadow: none;
}
/* App-Logo ist eine voll gefüllte Kachel mit weißer Schrift. Statt brightness/invert
   (würde einen weißen Block ergeben) nutzen wir mix-blend-mode: lighten — orange
   Logo-Fläche verschmilzt mit dem orangen Hover-Hintergrund, weiße Buchstaben
   bleiben sichtbar — Effekt wie bei den anderen Logo-Items. */
.nav-dropdown__item:hover .nav-dropdown__brand-logo--app {
  filter: none;
  mix-blend-mode: lighten;
  box-shadow: none;
}

/* Inline Extern-Icon rechts neben dem Text */
.nav-dropdown__extern-icon {
  width: 12px;
  height: 12px;
  margin-left: auto;
  flex-shrink: 0;
  color: var(--grau);
  transition: color 0.2s;
}

.nav-dropdown__item:hover .nav-dropdown__extern-icon {
  color: #fff;
}

.nav-dropdown__text {
  flex: 0 1 auto;
}

/* Touch-Geräte: Links mit Underline erkennbar machen */
@media (hover: none) {
  .nav-menu a {
    text-decoration: underline;
    text-decoration-color: rgba(0,0,0,0.15);
    text-underline-offset: 4px;
  }
  .nav-menu a.nav-active {
    text-decoration-color: var(--blau);
  }
  .nav-dropdown__item {
    text-decoration: underline;
    text-decoration-color: rgba(0,0,0,0.1);
    text-underline-offset: 3px;
  }
}

/* NAV DROPDOWN — <details>-basiert, keine Checkboxen/JS nötig.
   Dank name="hamburger-nav" auf <details> öffnet sich immer nur eine Rubrik
   (native Exclusive-Accordion-Funktion). */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Default-Marker (Dreieck) entfernen — eigenes ▾ wird gezeigt */
.nav-dropdown > summary { list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::marker { content: ''; }

.nav-dropdown__label {
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  color: inherit;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  padding-bottom: 3px;
  user-select: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown__label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blau);
  transition: width 0.3s ease;
}

.nav-dropdown__label:hover {
  color: var(--blau);
}

.nav-dropdown__label:focus-visible {
  border-radius: 4px;
}

.nav-dropdown__arrow {
  font-size: 1.1em;                /* etwas größer als zuvor (vorher 0.85em) */
  line-height: 1;
  display: inline-block;
  color: var(--blau);
  margin-left: 8px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pfeil-Rotation: auf Desktop nur bei :hover / :focus-within (siehe
   weiter unten im @media (hover: hover)-Block). Auf Mobile (Touch)
   bei [open] — das [open] wird dort durch Klick auf Summary gesetzt.
   Siehe mobile Block weiter unten. */

/* Menü ist immer im DOM — animiert via opacity + transform + visibility.
   So klappen Menüs sowohl beim Öffnen als auch beim Schließen sanft. */
.nav-dropdown__menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px;
  width: 220px;
  /* Option 1 – nahtloser Anschluss: Dropdown wirkt wie eine Schublade,
     die aus dem Header rauszieht. Solider Header-Hintergrund, oranger
     3px-Streifen oben als Verbindung zum aktiven Label. */
  background: var(--weiss);
  border: 1px solid #eee;
  border-top: 3px solid var(--blau);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  z-index: 3000;

  /* geschlossener Default-Zustand: stärkerer Slide + leichte Skalierung
     für eine elegantere Aufklapp-Animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.97);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity 0.32s ease,
              transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear 0.38s;
}

/* Hover-Bridge: unsichtbares Polster zwischen Label und Menü, damit der
   Cursor von Label → Menü ohne Lücke wandern kann (sonst klappt Menü zu).
   Nur Desktop (hover: hover) — auf Touch nicht nötig. */
@media (hover: hover) {
  .nav-dropdown__menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
    pointer-events: auto;
  }
}

/* Desktop: Dropdown öffnet NUR bei Hover (+ :focus-within für Tastatur-
   Navigation / Barrierefreiheit). Klick auf <summary> hat auf Desktop
   keine sichtbare Wirkung — User-Wunsch: „beim Hover, nicht beim Klick".
   Auf Mobile übernimmt stattdessen der [open]-Zustand (siehe Mobile-Block). */
@media (hover: hover) {
  .nav-dropdown:hover > .nav-dropdown__menu,
  .nav-dropdown:focus-within > .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition-delay: 0s, 0s, 0s;
  }
  .nav-dropdown:hover > .nav-dropdown__label,
  .nav-dropdown:focus-within > .nav-dropdown__label {
    color: var(--blau);
  }
  .nav-dropdown:hover > .nav-dropdown__label .nav-dropdown__arrow,
  .nav-dropdown:focus-within > .nav-dropdown__label .nav-dropdown__arrow {
    transform: rotate(180deg);
  }

  /* Sanftes, gestaffeltes Einblenden der Items beim Öffnen (Desktop) */
  .nav-dropdown__menu > * {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-dropdown:hover > .nav-dropdown__menu > *,
  .nav-dropdown:focus-within > .nav-dropdown__menu > * {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-dropdown:hover        > .nav-dropdown__menu > *:nth-child(1),
  .nav-dropdown:focus-within > .nav-dropdown__menu > *:nth-child(1) { transition-delay: 0.05s; }
  .nav-dropdown:hover        > .nav-dropdown__menu > *:nth-child(2),
  .nav-dropdown:focus-within > .nav-dropdown__menu > *:nth-child(2) { transition-delay: 0.09s; }
  .nav-dropdown:hover        > .nav-dropdown__menu > *:nth-child(3),
  .nav-dropdown:focus-within > .nav-dropdown__menu > *:nth-child(3) { transition-delay: 0.13s; }
  .nav-dropdown:hover        > .nav-dropdown__menu > *:nth-child(4),
  .nav-dropdown:focus-within > .nav-dropdown__menu > *:nth-child(4) { transition-delay: 0.17s; }
  .nav-dropdown:hover        > .nav-dropdown__menu > *:nth-child(5),
  .nav-dropdown:focus-within > .nav-dropdown__menu > *:nth-child(5) { transition-delay: 0.21s; }
  .nav-dropdown:hover        > .nav-dropdown__menu > *:nth-child(n+6),
  .nav-dropdown:focus-within > .nav-dropdown__menu > *:nth-child(n+6) { transition-delay: 0.25s; }

  /* Alle Dropdowns öffnen links ausgerichtet (User-Wunsch). */
}

/* Force-render von <details>-Inhalten:

   Problem: Browser verstecken den Inhalt geschlossener <details>-Elemente.
   - Ältere Browser: `details:not([open]) > *:not(summary) { display: none }`
   - Moderne (Chrome 120+, Safari 17+): `::details-content { content-visibility:
     hidden; block-size: 0; overflow: hidden; }`

   Wir brauchen den Inhalt aber IMMER im DOM, damit CSS-Animation
   (opacity/visibility/transform) das Auf-/Zuklappen steuert — nicht
   der native <details>-Mechanismus. Ohne dieses Override funktioniert
   Hover-Öffnen auf Desktop nicht (Inhalt ist nativ versteckt). */
details.nav-dropdown > .nav-dropdown__menu {
  display: flex !important;
}
details.nav-dropdown::details-content {
  content-visibility: visible !important;
  block-size: auto !important;
  overflow: visible !important;
  display: block !important;
}

.nav-dropdown__item,
.nav-dropdown__item:visited,
.nav-dropdown__item:active {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #222 !important;
  text-decoration: none !important;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.2s, color 0.2s;
}

.nav-dropdown__item:last-child {
  border-bottom: none;
}

.nav-dropdown__item:hover,
.nav-dropdown__item:visited:hover {
  background: var(--blau);
  color: #fff !important;
}

.nav-dropdown__item.nav-active,
.nav-dropdown__item.nav-active:visited {
  color: var(--blau) !important;
  background: rgba(50, 50, 50, 0.08);
}

.nav-dropdown__item small {
  font-size: 0.75em;
  color: var(--grau);
}
.nav-dropdown__item:hover small {
  color: rgba(255,255,255,0.8);
}

.nav-dropdown__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--grau);
  transition: color 0.2s;
}

.nav-dropdown__item:hover .nav-dropdown__icon {
  color: #fff;
}

/* Externe Dropdown-Links – kleines Icon zeigt „öffnet extern" */
.nav-dropdown__item--extern::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: auto;
  flex-shrink: 0;
  background-color: var(--grau);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: background-color 0.2s;
}

.nav-dropdown__item--extern:hover::after {
  background-color: #fff;
}

/* Zwischenüberschriften in Dropdowns (z. B. Über uns) —
   Optisch klar als Rubrik-Label erkennbar, NICHT klickbar.
   Kleine Versalien, gedämpfte Farbe, dünne Trennlinie darüber, kein Hover. */
.nav-dropdown__heading {
  display: block;
  font-size: 0.62rem;
  color: #9a9a9a;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 20px 6px;
  margin-top: 4px;
  font-weight: 600;
  cursor: default;
  pointer-events: none;
  user-select: none;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Erste Überschrift im Dropdown bekommt keine Trennlinie (sonst doppelt zum Menü-Rand) */
.nav-dropdown__menu > .nav-dropdown__heading:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 10px;
}

.nav-dropdown__heading + .nav-dropdown__item {
  border-top: none;
}

/* =========================
   HAMBURGER & MOBILE NAV
   - reines CSS-Akkordeon (kein JS)
   - Hamburger bleibt IMMER ☰ (drei Striche), KEIN Wechsel zu „X"
   - sanfte Animation beim Auf-/Zuklappen via opacity + transform + max-height
   - prefers-reduced-motion respektiert (siehe weiter unten)
========================= */
.hamburger {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: transparent;
  transition: transform 0.25s ease;
}
.hamburger:hover { background: transparent; }
.hamburger:active { transform: scale(0.94); }

/* Drei-Striche-Icon: bleibt in beiden Zuständen (offen/zu) ein Hamburger.
   Bewusst KEIN „X" beim Aufklappen — der User hat dies explizit gewünscht. */
.hamburger__icon,
.hamburger__icon::before,
.hamburger__icon::after {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dunkelgrau);
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger__icon {
  position: relative;
}
.hamburger__icon::before,
.hamburger__icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger__icon::before { top: -8px; }
.hamburger__icon::after  { top:  8px; }

/* Aktiver Zustand (Menü offen): KEIN Hintergrund (User-Wunsch — keine
   orange Fläche). Dafür werden die drei Striche orange — klares Aktiv-
   Feedback. Form bleibt ein Hamburger — nicht „X". */
#menu-toggle:checked + .hamburger { background: transparent; }
#menu-toggle:checked + .hamburger .hamburger__icon,
#menu-toggle:checked + .hamburger .hamburger__icon::before,
#menu-toggle:checked + .hamburger .hamburger__icon::after {
  background: var(--blau);
}
#menu-toggle:checked + .hamburger .hamburger__icon::before { top: -9px; }
#menu-toggle:checked + .hamburger .hamburger__icon::after  { top:  9px; }

/* Checkbox ist keyboard-fokussierbar (sr-only), aber visuell unsichtbar.
   Fokusring erscheint auf dem sichtbaren Hamburger-Label. */
.sr-only-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.sr-only-input:focus-visible + .hamburger {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* Desktop: kein Hamburger nötig — Input komplett ausblenden (auch aus Tab-Reihenfolge) */
@media (min-width: 1201px) {
  .sr-only-input { display: none; }
}

@media (max-width: 1200px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    width: 280px;
    max-height: 0;
    overflow: hidden;
    display: flex;

    /* Glaseffekt — nur blur(), kein saturate() (vermeidet orangenen Tint) */
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 0 0 10px 10px;
    z-index: 3000;

    /* Geschlossener Default-Zustand: unsichtbar, leicht versetzt nach oben */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 0.28s ease,
      transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
      max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.42s;
  }

  .nav-menu a {
    padding: 8px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: #222;
    text-align: left;
    transition: background 0.2s, color 0.2s;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  .nav-menu a:hover {
    background: rgba(240, 129, 3, 0.12);
    color: var(--blau) !important;
  }

  /* Geöffneter Zustand: einblenden + ausfahren */
  #menu-toggle:checked + .hamburger + .nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 129, 3, 0.45) transparent;
    transition:
      opacity 0.28s ease,
      transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
      max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0s;
  }
  #menu-toggle:checked + .hamburger + .nav-menu::-webkit-scrollbar {
    width: 4px;
  }
  #menu-toggle:checked + .hamburger + .nav-menu::-webkit-scrollbar-track {
    background: transparent;
  }
  #menu-toggle:checked + .hamburger + .nav-menu::-webkit-scrollbar-thumb {
    background: rgba(240, 129, 3, 0.45);
    border-radius: 2px;
  }
  #menu-toggle:checked + .hamburger + .nav-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(240, 129, 3, 0.7);
  }

  /* Sanftes, gestaffeltes Einblenden der Einträge beim Öffnen */
  .nav-menu > a,
  .nav-menu > .nav-dropdown {
    opacity: 0;
    transform: translateY(-4px);
    transition:
      opacity 0.3s ease,
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  #menu-toggle:checked + .hamburger + .nav-menu > a,
  #menu-toggle:checked + .hamburger + .nav-menu > .nav-dropdown {
    opacity: 1;
    transform: translateY(0);
  }
  #menu-toggle:checked + .hamburger + .nav-menu > *:nth-child(1) { transition-delay: 0.06s; }
  #menu-toggle:checked + .hamburger + .nav-menu > *:nth-child(2) { transition-delay: 0.10s; }
  #menu-toggle:checked + .hamburger + .nav-menu > *:nth-child(3) { transition-delay: 0.14s; }
  #menu-toggle:checked + .hamburger + .nav-menu > *:nth-child(4) { transition-delay: 0.18s; }
  #menu-toggle:checked + .hamburger + .nav-menu > *:nth-child(5) { transition-delay: 0.22s; }
  #menu-toggle:checked + .hamburger + .nav-menu > *:nth-child(6) { transition-delay: 0.26s; }
  #menu-toggle:checked + .hamburger + .nav-menu > *:nth-child(7) { transition-delay: 0.30s; }
  #menu-toggle:checked + .hamburger + .nav-menu > *:nth-child(8) { transition-delay: 0.34s; }

  .hamburger { display: inline-flex; }

  /* Dropdown im Mobile-Menü: inline statt absolut */
  .nav-dropdown {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .nav-dropdown__label {
    padding: 8px 24px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: #222;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 4px;
    text-align: left !important;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-dropdown__arrow {
    font-size: 1.2em;              /* Mobile: etwas größer als Desktop für Touch-Klarheit */
    background: none;
    padding: 0;
    border-radius: 0;
    color: var(--blau);
    margin-left: 2px;              /* näher am Text (User-Wunsch) */
  }

  /* Mobile: [open] → Label orange + Pfeil rotiert (Touch/Klick-basiert) */
  .nav-dropdown[open] > .nav-dropdown__label {
    color: var(--blau);
  }
  .nav-dropdown[open] > .nav-dropdown__label .nav-dropdown__arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown__item {
    justify-content: flex-start;
    text-align: left;
  }

  .nav-dropdown__label::after { display: none; }

  /* Mobile: Rubrik-Menü klappt sanft per max-height aus.
     Geschlossener Zustand: max-height 0, transparent.
     Geöffneter Zustand: max-height 45vh, voll sichtbar.
     Hintergrund bewusst transparent — User-Wunsch (kein orangener Tint im Mobile-Menü). */
  .nav-dropdown__menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    border: none;
    border-top: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.28s ease,
      visibility 0s linear 0.4s;
  }

  .nav-dropdown[open] > .nav-dropdown__menu {
    max-height: 500vh;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease,
      visibility 0s linear 0s;
  }

  /* Auf Mobile zählt nur der [open]-Zustand — Hover-Öffnen deaktivieren,
     da Touch-Geräte keinen echten Hover haben (sonst „klebt" das Menü). */
  .nav-dropdown:hover > .nav-dropdown__menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
  }
  .nav-dropdown[open]:hover > .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 500vh;
  }

  /* Zwischenüberschriften auf Mobile — gleiche Logik wie Desktop:
     klar abgesetzt, nicht klickbar, mit feiner Trennlinie. */
  .nav-dropdown__heading {
    padding: 12px 15px 4px;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    margin-top: 2px;
  }

  .nav-dropdown__item {
    padding: 6px 24px;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  /* Submenü-Container im Hamburger-Menü: kein zusätzliches Padding/Margin. */
  .nav-dropdown__menu {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }

  /* Einheitliche Hamburger-Items: Icon links, Text daneben.
     Flex mit align-items:center sorgt für saubere vertikale Mitte,
     gap trennt Icon und Text. Alle Submenüs haben so identische
     Ausrichtung, aber mit sichtbaren Icons für bessere Orientierung. */
  .nav-dropdown__menu .nav-dropdown__item,
  .nav-dropdown .nav-dropdown__item {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 15px !important;
    text-align: left !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
    text-indent: 0 !important;
  }
  /* Icons bleiben sichtbar — Standard-Sizing aus den Desktop-Styles */
  .nav-dropdown__item .nav-dropdown__extern-icon {
    margin-left: auto !important;
  }
  .nav-dropdown__item--extern::after {
    display: none !important;
  }
  /* Text-Slot flach als Inline-Element, ohne flex-bedingte Zentrierung */
  .nav-dropdown__item .nav-dropdown__text {
    display: inline !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  /* Menü-Container: ebenfalls linksbündig, kein inneres Padding */
  .nav-dropdown__menu {
    text-align: left !important;
    align-items: stretch !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* <small>(PDF)</small> inline halten, nicht umbrechen */
  .nav-dropdown__item small {
    white-space: nowrap;
  }

  /* Hover im Hamburger-Menü: Text wird orange, kein oranger Hintergrund. */
  .nav-dropdown__item:hover,
  .nav-dropdown__item:visited:hover,
  .nav-dropdown__item:focus-visible {
    background: transparent !important;
    color: var(--blau) !important;
  }

  /* Auch das externe-Link-„↗" (::after) auf Hover orange lassen */
  .nav-dropdown__item--extern:hover::after {
    color: var(--blau);
  }

  .nav-dropdown__close {
    padding: 4px 10px;
  }

  .nav-menu-extern {
    border-top: 1px solid rgba(240, 129, 3, 0.15) !important;
    color: #999 !important;
    font-size: 0.75rem !important;
  }
}

/* Reduced-Motion: alle Hamburger- und Dropdown-Animationen abschalten,
   Funktion bleibt erhalten – nur die Bewegung entfällt. Barrierefreiheit. */
@media (prefers-reduced-motion: reduce) {
  .hamburger,
  .hamburger__icon,
  .hamburger__icon::before,
  .hamburger__icon::after,
  .header-brand__link,
  .nav-menu,
  .nav-menu > a,
  .nav-menu > .nav-dropdown,
  .nav-dropdown__menu,
  .nav-dropdown__arrow {
    transition: none !important;
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1200px) {
  .nav-menu > a,
  .nav-menu > .nav-dropdown {
    opacity: 1 !important;
    transform: none !important;
  }
}

.nav-mini-logo {
  height: 14px;
  width: auto;
  vertical-align: middle;
  margin-right: 4px;
}

/* Externe Nav-Links – grauer Text + SVG-Icon */
.nav-menu a.nav-menu-extern {
  color: #999;
}

.nav-menu a.nav-menu-extern::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  vertical-align: middle;
  position: static;
  background-color: #999;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: background-color 0.2s;
  transform: none;
}

.nav-menu a.nav-menu-extern:hover {
  color: var(--blau) !important;
}

.nav-menu a.nav-menu-extern:hover::after {
  background-color: var(--blau);
  transform: none;
}

/* HERO */
.fklyt {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 20px 150px 20px;  /* Bottom-Padding: Platz für Kreise die zur Hälfte reinragen */
  overflow: hidden;
  background: var(--dunkelgrau);
  clip-path: inset(0);          /* Parallax: enthält die fixed Slides innerhalb der Section */
}

@media (max-width: 768px) {
  .fklyt {
    min-height: auto;
    max-height: none;
    padding: 70px 15px 120px 15px;
    clip-path: none;            /* Parallax auf Mobile deaktivieren */
  }
}

/* Slideshow-Container — fixed für Parallax-Effekt */
.fklyt-slides {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .fklyt-slides {
    position: absolute;         /* kein Parallax auf Mobile (iOS-Probleme) */
  }
}

/* Hero-Video (Loop, stumm, dekorativ) und statisches Fallback-Bild */
.fklyt-video,
.fklyt-video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;   /* rein dekorativ, keine Interaktion */
  user-select: none;
}

/* Fallback-Bild liegt darunter und deckt die Fläche ab, bis das Video
   bereit ist (vermeidet Flackern beim Seitenaufruf). */
.fklyt-video-fallback {
  z-index: 0;
}

/* Video liegt darüber; ohne JS von Anfang an sichtbar (Progressive
   Enhancement). */
.fklyt-video {
  z-index: 1;
}

/* Mit JS: Video startet transparent und fadet sanft ein, sobald die
   ersten Frames geladen sind (Lösung 4 — kein sichtbares Ruckeln). */
.js .fklyt-video {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}
.js .fklyt-video.is-ready {
  opacity: 1;
}

/* Reduced Motion: Video ausblenden, Fallback-Bild zeigen. */
@media (prefers-reduced-motion: reduce) {
  .fklyt-video          { display: none; }
  .fklyt-video-fallback { display: block; }
}

/* Leichtes Overlay für Textlesbarkeit */
.fklyt-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.12) 100%
  );
  z-index: 1;
}

.fklyt-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  text-align: center;
  display: flex;
  flex-direction: column; 
  align-items: center;    
  padding: 20px;
  color: #222;
  z-index: 2;
}


/* Hero-Text-Gruppe: zentriert */
.fklyt-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
}

/* Claim-Block */
.fklyt-claim {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  width: 100%;
}

/* =========================
   HERO-HEADLINE + PULLDOWN
   Variante A: Claim als großer Freitext, Details per "Mehr erfahren"
========================= */

/* Große Headline direkt auf dem Video */
.fklyt-hero-headline {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  text-wrap: balance;
  margin: 0 0 6px 0;
  letter-spacing: -0.2px;
}

.fklyt-hero-intro {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  margin: 0 0 10px 0;
  line-height: 1.5;
}

/* Mobile-only <br> – erzeugt gezielten Umbruch nur unter 768px. */
.br-mobile { display: none; }

.fklyt-hero-text {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  margin: 14px 0 0 0;
  line-height: 1.6;
}

.fklyt-details {
  width: 100%;
  margin: 0;
  text-align: center;
}

/* Default-Marker (Dreieck) ausblenden — eigene Chevron-SVG stattdessen */
.fklyt-details > summary::-webkit-details-marker { display: none; }
.fklyt-details > summary { list-style: none; }

.fklyt-details__summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.fklyt-details__toggle-text {
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Hover nur auf Geräten mit echtem Hover (Maus) */
@media (hover: hover) and (pointer: fine) {
  .fklyt-details__summary:hover {
    background: var(--blau);
    border-color: var(--blau);
    color: #fff;
    transform: translateY(-1px);
  }
}

/* Touch: kurzes Feedback beim Tap */
.fklyt-details__summary:active {
  background: var(--blau);
  border-color: var(--blau);
  color: #fff;
}

/* Offen: orange mit weißem Text */
.fklyt-details[open] > .fklyt-details__summary {
  background: var(--blau);
  border-color: var(--blau);
  color: #fff;
}

/* Ausnahme: Hero-Summary sitzt auf dunklem Video/Overlay und teils auf
   orangenem Hintergrund (offen). Dort ist Weiß kontrastreicher als der
   globale Orange-Ring. */
.fklyt-details__summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.fklyt-details__chevron {
  display: inline-flex;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.fklyt-details__chevron svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Chevron dreht sich, wenn das Pulldown geöffnet ist */
.fklyt-details[open] > .fklyt-details__summary .fklyt-details__chevron {
  transform: rotate(-180deg);
}

.fklyt-details__panel {
  margin-top: 18px;
  padding: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.7;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.fklyt-details__intro {
  margin: 0 0 14px 0;
  font-weight: 600;
}

.fklyt-details__list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  text-align: left;
}

.fklyt-details__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

/* Orange Punkt als Listenmarker (CI) */
.fklyt-details__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blau);
  box-shadow: 0 0 8px rgba(240, 129, 3, 0.6);
}

.fklyt-details__outro {
  margin: 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

/* Sanfte Einblend-Animation beim Öffnen (reduced-motion-safe) */
@keyframes fklytDetailsIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fklyt-details[open] > .fklyt-hero-text {
  animation: fklytDetailsIn 0.35s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .fklyt-details[open] > .fklyt-hero-text { animation: none; }
  .fklyt-details__chevron { transition: none; }
  .fklyt-details__summary { transition: none; }
}

@media (max-width: 768px) {
  .fklyt-text-group {
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }
  .fklyt-claim {
    align-items: center;
    text-align: center;
    flex: 0 1 auto;
  }
  .fklyt-hero-headline {
    margin-bottom: 10px;
  }
  .fklyt-hero-intro {
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 14px;
    white-space: nowrap;
  }
  .fklyt-details {
    text-align: center;
  }
  .fklyt-details__summary {
    padding: 8px 16px;
    gap: 8px;
  }
  .fklyt-details__panel {
    padding: 0;
    font-size: 0.82rem;
  }
  .fklyt-details__list li {
    padding-left: 20px;
  }
}

/* =========================
   EINHEITLICHES BUTTON-SYSTEM
   - rundlich (Pill), weiß mit Glas-Effekt
   - 1px orange Rahmen, orange Schrift
   - Hover: orange Hintergrund, weiße Schrift
========================= */
.btn-spenden,
.btn-kontakt,
.online-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--blau) !important;
  border: 1px solid var(--blau);
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (hover: hover) and (pointer: fine) {
  .btn-spenden:hover,
  .btn-kontakt:hover,
  .online-cta-button:hover {
    background: var(--blau) !important;
    color: #ffffff !important;
    border-color: var(--blau);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(240, 129, 3, 0.25);
    outline: none;
  }
}
.btn-spenden:active,
.btn-kontakt:active,
.online-cta-button:active {
  background: var(--blau) !important;
  color: #ffffff !important;
  border-color: var(--blau);
}

/* Button-spezifische Anpassungen (Spenden-CTA etwas grösser, aber gleiche Form) */
.btn-spenden {
  padding: 14px 32px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 60px;
}


/* =========================
   AKTUELL-ANKÜNDIGUNG (Kreis links vom Claim)
   - reiner CSS-Kreis, funktioniert ohne JS
   - CI-Farben (Orange + Weiß) – Schrift auf Orange ist IMMER weiß
   - Schrift skaliert via Container-Queries proportional zur Kreisgröße
   - Puls-Ring respektiert prefers-reduced-motion
   - Großer Touch-Target, aria-label für Screenreader
========================= */
.fklyt-announce {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(108px, 11vw, 138px);
  height: clamp(108px, 11vw, 138px);
  border-radius: 50%;
  background: var(--blau);
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: clamp(10px, 1.2vw, 16px);
  box-shadow:
    0 12px 30px rgba(240, 129, 3, 0.38),
    0 2px 6px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
  container-type: inline-size;   /* Container-Queries für Innentext */
  container-name: announce;
  overflow: visible;
}

/* Zarter innerer Ring als optisches Detail (Premium-Look) */
.fklyt-announce::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 1;
}

/* --- Radar-Doppelpuls ---------------------------------------
   1) weißer Ping (vorn, ohne Delay) — kräftig, auffällig
   2) oranger Ping (::after, 0.8s Delay) — trailt hinterher
   Beide liegen hinter der orangen Fläche (z-index: -1).
------------------------------------------------------------- */
.fklyt-announce__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid #fff;
  opacity: 0;
  pointer-events: none;
  animation: announce-ping-white 2.4s ease-out infinite;
  z-index: -1;
}

.fklyt-announce::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--blau);
  opacity: 0;
  pointer-events: none;
  animation: announce-ping-orange 2.4s ease-out 0.8s infinite;
  z-index: -1;
}

@keyframes announce-ping-white {
  0%   { transform: scale(1);    opacity: 0.85; }
  70%  { transform: scale(1.32); opacity: 0; }
  100% { transform: scale(1.32); opacity: 0; }
}

@keyframes announce-ping-orange {
  0%   { transform: scale(1);    opacity: 0.7; }
  75%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* --- Atmender Glow-Halo -------------------------------------
   Weicher weißer Schein hinter dem Kreis, atmet sanft 3s.
   Sorgt für den "leuchtet"-Effekt unabhängig vom Puls.
------------------------------------------------------------- */
.fklyt-announce__halo {
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.12) 40%,
    transparent 70%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: -2;
  animation: announce-breathe 3s ease-in-out infinite;
}

@keyframes announce-breathe {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.12); }
}

.fklyt-announce__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 1.5cqi, 4px);
  line-height: 1.15;
  color: #fff;
  width: 100%;
  max-width: 100%;
  /* Horizontaler Sicherheitsabstand zum Innenring, skaliert mit dem Kreis */
  padding: 0 clamp(2px, 2cqi, 6px);
  box-sizing: border-box;
}

/* Alle Elemente im Kreis skalieren über Container-Query-Units (cqi).
   Das „Aktuell"-Pill wird dynamisch kleiner, wenn der Kreis schrumpft —
   Text, Padding, Letter-Spacing und Border werden gemeinsam kleiner,
   damit das Pill immer innerhalb des weißen Rings bleibt. */
.fklyt-announce__label {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  font-size: clamp(0.58rem, 8.5cqi, 0.95rem);
  font-weight: 900;
  letter-spacing: clamp(0.4px, 1.2cqi, 2.4px);
  text-transform: uppercase;
  color: #fff;
  padding: clamp(1px, 1.2cqi, 3px) clamp(5px, 6cqi, 12px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  margin-bottom: clamp(1px, 1cqi, 3px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fklyt-announce__title {
  font-size: clamp(0.72rem, 10cqi, 1rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-wrap: balance;
  max-width: 100%;
}

.fklyt-announce__sub {
  font-size: clamp(0.55rem, 7cqi, 0.72rem);
  font-weight: 500;
  margin-top: clamp(2px, 1.5cqi, 4px);
  padding-top: clamp(2px, 1.5cqi, 4px);
  color: #fff;
  opacity: 0.95;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  max-width: 100%;
}

.fklyt-announce:hover,
.fklyt-announce:focus-visible {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 16px 38px rgba(240, 129, 3, 0.52),
    0 2px 6px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  outline: none;
}

.fklyt-announce:focus-visible {
  box-shadow:
    0 16px 38px rgba(240, 129, 3, 0.52),
    0 0 0 3px #fff,
    0 0 0 5px var(--blau);
}

@media (max-width: 768px) {
  .fklyt-announce {
    width: 108px;
    height: 108px;
    padding: 10px;
    order: -1;            /* sitzt oberhalb des Claims (column-flex auf Mobile) */
    margin: 0 0 4px;
  }
  .fklyt-announce::before { inset: 4px; }
  .fklyt-announce::after  { inset: -8px; }
  .fklyt-announce__ring   { inset: -5px; border-width: 2px; }
  .fklyt-announce__halo   { inset: -18px; filter: blur(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .fklyt-announce__ring,
  .fklyt-announce__halo,
  .fklyt-announce::after {
    animation: none;
  }
  .fklyt-announce__ring  { opacity: 0.5; }
  .fklyt-announce::after { opacity: 0.35; }
  .fklyt-announce__halo  { opacity: 0.55; }
  .fklyt-announce:hover,
  .fklyt-announce:focus-visible { transform: none; }
}

@media (max-width: 768px) {
}

/* HIGHLIGHT-TICKER */
/* Float-Wrapper: Kreise sitzen zur Hälfte auf der unteren Kante des Videos */
.highlight-ticker-float {
  position: relative;
  z-index: 3;
  margin-top: -120px;
  margin-bottom: 40px;
  pointer-events: none;
}
.highlight-ticker-float .highlight-ticker {
  pointer-events: auto;
}

.highlight-ticker-heading {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #fff;
  margin-bottom: 2px;
  pointer-events: none;
}
@media (max-width: 768px) {
  /* Top-Heading raus: der Schriftzug taucht sowieso im Slidehint
     unterhalb der Circles wieder auf — auf Mobile ist er redundant. */
  .highlight-ticker-heading {
    display: none;
  }
  .highlight-ticker-float {
    /* Circles mittig auf der Video-Unterkante */
    margin-top: -120px;
    margin-bottom: 30px;
  }
  /* Slidehint auf Mobile noch näher an die Circles ziehen — Ticker
     braucht unten weniger Platz, weil Halos/Pings schmaler ausfallen. */
  .highlight-ticker {
    padding-bottom: 18px;
  }
  .highlight-ticker-slidehint {
    margin-top: -8px;
  }
}

.highlight-ticker {
  overflow-x: auto;
  overflow-y: clip;
  -webkit-overflow-scrolling: touch;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* Oben minimal (Kreise bleiben halb auf Video), unten genug Platz für Halos/Pings der NEU-/SOON-Kreise. */
  padding: 10px 0 44px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  scrollbar-width: none;
  cursor: grab;
}

.highlight-ticker::-webkit-scrollbar {
  display: none;
}

/* Swipe-Hinweis: kleiner Text mit Pfeilen — macht eindeutig klar,
   dass der Schnelleinstieg horizontal gezogen werden kann. Knapp
   unter den Circles (-12px ggü. früher), damit das Verhältnis
   „Hinweis gehört zu den Kreisen" sofort lesbar ist. */
.highlight-ticker-slidehint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px auto 4px;
  color: var(--blau);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.highlight-ticker-slidehint__arrow {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1;
  animation: slidehint-arrow 1.8s ease-in-out infinite;
}
.highlight-ticker-slidehint__arrow:last-child {
  animation-delay: 0.9s;
}

@keyframes slidehint-arrow {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50%      { transform: translateX(-4px); opacity: 1; }
}
.highlight-ticker-slidehint__arrow:last-child {
  animation-name: slidehint-arrow-right;
}
@keyframes slidehint-arrow-right {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50%      { transform: translateX(4px); opacity: 1; }
}

/* Sichtbare Slide-Leiste unter den Kreisen — wirkt wie ein Scroll-Handle. */
.highlight-ticker-slidebar {
  width: 200px;
  height: 6px;
  margin: 6px auto 0;
  border-radius: 3px;
  background: rgba(240, 129, 3, 0.14);
  border: 1px solid rgba(240, 129, 3, 0.22);
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.highlight-ticker-slidebar:active {
  cursor: grabbing;
}

.highlight-ticker-slidebar::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - 70px) * var(--thumb-pos, 0));
  width: 70px;
  height: 100%;
  border-radius: 3px;
  background: var(--blau);
  box-shadow: 0 1px 3px rgba(240, 129, 3, 0.28);
  opacity: 0.8;
  animation: slidebar-hint 3s ease-in-out infinite;
  pointer-events: none;
  transition: left 0.08s linear;
}

.highlight-ticker-slidebar.is-active::after {
  animation: none;
}

@keyframes slidebar-hint {
  0%, 100% { left: 0; }
  50%      { left: calc(100% - 70px); }
}

@media (prefers-reduced-motion: reduce) {
  .highlight-ticker-slidehint__arrow,
  .highlight-ticker-slidebar::after {
    animation: none;
  }
  .highlight-ticker-slidebar::after {
    left: 0;
    opacity: 0.5;
  }
}

.highlight-ticker__track {
  display: flex;
  width: max-content;
  /* Endloses Scrollen nach rechts-nach-links (die 6 Sets sorgen für nahtlose Schleife). */
  animation: ticker-scroll 60s linear infinite;
}

/* Pause bei Hover/Focus — User kann ein Kärtchen in Ruhe anschauen. */
.highlight-ticker__track:hover,
.highlight-ticker__track:focus-within {
  animation-play-state: paused;
}

.highlight-ticker__set {
  display: flex;
  gap: 72px;                        /* größerer Abstand zwischen den Kreisen */
  padding-right: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-shrink: 0;
  align-items: center;
}

/* Nahtloses Endlos-Scrollen: 6 Set-Duplikate → bei jedem 1/6 des Tracks wird
   die Position zurückgesetzt, ohne sichtbaren Sprung. */
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 6)); }
}

/* Einmaliger Drift-In der Quicklink-Kreise beim Seitenaufbau —
   läuft parallel zur Ticker-Bewegung, wiederholt sich nicht. */
@keyframes quicklink-drift-in {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .highlight-ticker__track {
    animation: none;
  }
}

/* --- Box als Kreis (wie Aktuell-Button) --- */
.highlight-ticker__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 150px;
  height: 150px;
  padding: 16px 22px;
  border-radius: 50%;
  background: var(--blau);
  color: #fff;
  text-decoration: none;
  border: none;
  box-shadow:
    0 12px 30px rgba(240, 129, 3, 0.38),
    0 2px 6px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  overflow: visible;
  position: relative;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  /* Einmaliger Drift-In beim Seitenaufbau, leicht versetzt pro Kreis. */
  animation: quicklink-drift-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* Staffelung: erster Durchlauf (Set) bekommt versetzte Delays — weitere Sets
   sind Loop-Duplikate, die sofort sichtbar sind. */
.highlight-ticker__set:first-child .highlight-ticker__box:nth-child(1) { animation-delay: 0.08s; }
.highlight-ticker__set:first-child .highlight-ticker__box:nth-child(2) { animation-delay: 0.16s; }
.highlight-ticker__set:first-child .highlight-ticker__box:nth-child(3) { animation-delay: 0.24s; }
.highlight-ticker__set:first-child .highlight-ticker__box:nth-child(4) { animation-delay: 0.32s; }
.highlight-ticker__set:first-child .highlight-ticker__box:nth-child(5) { animation-delay: 0.40s; }
.highlight-ticker__set:first-child .highlight-ticker__box:nth-child(6) { animation-delay: 0.48s; }
.highlight-ticker__set:first-child .highlight-ticker__box:nth-child(7) { animation-delay: 0.56s; }
.highlight-ticker__set:first-child .highlight-ticker__box:nth-child(8) { animation-delay: 0.64s; }
.highlight-ticker__set:first-child .highlight-ticker__box:nth-child(9) { animation-delay: 0.72s; }

@media (prefers-reduced-motion: reduce) {
  .highlight-ticker__box {
    animation: none;
  }
}

/* Zarter innerer Ring (Premium-Look, wie Aktuell-Button) */
.highlight-ticker__box::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.25s ease;
}

/* --- Thematisches Icon (groß, transparent, zentriert als Hintergrund im Kreis) --- */
.highlight-ticker__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.18);
  z-index: 0;
  pointer-events: none;
  padding: 20px;
  transition: color 0.25s ease;
}

.highlight-ticker__icon svg {
  width: 100%;
  height: 100%;
}

/* Hover: Icon leicht sichtbarer, orange — nur auf echten Maus-Geräten,
   damit Touch-Tap keinen Sticky-Hover und damit kein Flicker erzeugt.
   Keyboard-Fokus (focus-visible) bleibt unabhängig vom Hover-Capability. */
@media (hover: hover) and (pointer: fine) {
  .highlight-ticker__box:hover .highlight-ticker__icon {
    color: rgba(240, 129, 3, 0.15);
  }
}
.highlight-ticker__box:focus-visible .highlight-ticker__icon {
  color: rgba(240, 129, 3, 0.15);
}

@media (max-width: 768px) {
  .highlight-ticker__icon {
    padding: 18px;
  }
}

/* --- Kopfzeile: Titel + Badge --- */
.highlight-ticker__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.highlight-ticker__title {
  font-weight: 700;
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: color 0.25s ease;
  max-width: 100%;
  word-break: break-word;
  hyphens: auto;
}

.highlight-ticker__sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1px;
  position: relative;
  z-index: 1;
  transition: color 0.25s ease;
}

.highlight-ticker__badge {
  font-size: 0.55rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 1px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, color 0.25s ease;
}

/* --- Beschreibung (im Kreis ausgeblendet, nur bei Hover sichtbar via title) --- */
.highlight-ticker__desc {
  display: none;
}

/* --- Pfeil unten (ausgeblendet) --- */
.highlight-ticker__arrow-bottom {
  display: none;
}

/* --- Schnelleinstieg-Badge (runder Pfeil rechts am Kreis) --- */
.schnelleinstieg-badge {
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid var(--blau);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  z-index: 2;
  pointer-events: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}

.schnelleinstieg-badge svg {
  width: 14px;
  height: 14px;
  color: var(--blau);
  transition: transform 0.3s ease, color 0.25s ease;
}

@keyframes arrow-bounce {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(5px); }
  50%  { transform: translateX(-1px); }
  70%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

@media (hover: hover) and (pointer: fine) {
  .highlight-ticker__box:hover .schnelleinstieg-badge {
    transform: translateY(-50%) scale(1.12);
    background: var(--blau);
    border-color: var(--blau);
    box-shadow: 0 6px 18px rgba(240, 129, 3, 0.5);
  }
  .highlight-ticker__box:hover .schnelleinstieg-badge svg {
    color: #fff;
    animation: arrow-bounce 0.6s ease forwards;
  }
}
.highlight-ticker__box:focus-visible .schnelleinstieg-badge {
  transform: translateY(-50%) scale(1.12);
  background: var(--blau);
  border-color: var(--blau);
  box-shadow: 0 6px 18px rgba(240, 129, 3, 0.5);
}
.highlight-ticker__box:focus-visible .schnelleinstieg-badge svg {
  color: #fff;
  animation: arrow-bounce 0.6s ease forwards;
}

@media (max-width: 768px) {
  .schnelleinstieg-badge {
    width: 26px;
    height: 26px;
    right: -11px;
  }
  .schnelleinstieg-badge svg {
    width: 12px;
    height: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schnelleinstieg-badge,
  .schnelleinstieg-badge svg {
    transition: none;
    animation: none;
  }
}

/* --- Trennkarte --- */
.highlight-ticker__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 60px;
  max-width: 60px;
  flex-shrink: 0;
  padding: 20px 6px;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.highlight-ticker__divider:hover {
  opacity: 0.6;
}

.highlight-ticker__divider-line {
  width: 1px;
  flex: 1;
  background: var(--blau);
  opacity: 0.5;
}

.highlight-ticker__divider-text {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blau);
  white-space: nowrap;
  writing-mode: vertical-lr;
  text-orientation: mixed;
}

@media (max-width: 768px) {
  .highlight-ticker__divider {
    min-width: 60px;
    max-width: 60px;
    min-height: 140px;
    padding: 12px 6px;
    gap: 8px;
  }
  .highlight-ticker__divider-line {
    height: 20px;
  }
  .highlight-ticker__divider-text {
    font-size: 0.55rem;
  }
}

/* --- NEU-Markierung + Radar-Pulse (wie Aktuell-Button) --- */
.highlight-ticker__box--new {
  box-shadow:
    0 12px 30px rgba(240, 129, 3, 0.38),
    0 2px 6px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* Weißer Ping-Ring (1. Puls, vorn) */
.highlight-ticker__box--new::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid #fff;
  opacity: 0;
  pointer-events: none;
  animation: announce-ping-white 2.4s ease-out infinite;
  z-index: -1;
}

/* Oranger Ping-Ring (2. Puls, zeitversetzt) — via extra Wrapper */
.highlight-ticker__box--new .highlight-ticker__ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--blau);
  opacity: 0;
  pointer-events: none;
  animation: announce-ping-orange 2.4s ease-out 0.8s infinite;
  z-index: -1;
}

/* Atmender Glow-Halo */
.highlight-ticker__box--new .highlight-ticker__halo {
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.12) 40%,
    transparent 70%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: -2;
  animation: announce-breathe 3s ease-in-out infinite;
}

.highlight-ticker__new {
  position: absolute;
  top: -10px;
  right: 2px;
  z-index: 3;
  background: #fff;
  color: var(--blau);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  padding: 4px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
  transform-origin: center;
  animation: ticker-new-pulse 1.8s ease-in-out infinite;
}

@keyframes ticker-new-pulse {
  0%, 100% {
    transform: scale(1) rotate(-3deg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  }
  50% {
    transform: scale(1.12) rotate(3deg);
    box-shadow: 0 6px 20px rgba(26, 75, 122, 0.35);
  }
}

/* --- COMING-SOON-Markierung (wie NEU, aber in neutralen Grautönen) --- */
.highlight-ticker__box--soon {
  box-shadow:
    0 12px 30px rgba(80, 92, 110, 0.32),
    0 2px 6px rgba(0, 0, 0, 0.20),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.highlight-ticker__box--soon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid #fff;
  opacity: 0;
  pointer-events: none;
  animation: announce-ping-white 2.8s ease-out infinite;
  z-index: -1;
}

.highlight-ticker__box--soon .highlight-ticker__ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.75);
  opacity: 0;
  pointer-events: none;
  animation: announce-ping-orange 2.8s ease-out 0.9s infinite;
  z-index: -1;
}

.highlight-ticker__box--soon .highlight-ticker__halo {
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(220, 225, 235, 0.42) 0%,
    rgba(200, 208, 220, 0.12) 40%,
    transparent 70%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: -2;
  animation: announce-breathe 3.2s ease-in-out infinite;
}

.highlight-ticker__soon {
  position: absolute;
  top: -10px;
  right: 2px;
  z-index: 3;
  background: #fff;
  color: #4a5463;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 4px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  transform-origin: center;
  animation: ticker-soon-pulse 2.4s ease-in-out infinite;
}

@keyframes ticker-soon-pulse {
  0%, 100% {
    transform: scale(1) rotate(-3deg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  }
  50% {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 6px 18px rgba(80, 92, 110, 0.30);
  }
}

@media (prefers-reduced-motion: reduce) {
  .highlight-ticker__box--new::after,
  .highlight-ticker__box--new .highlight-ticker__ring,
  .highlight-ticker__box--new .highlight-ticker__halo,
  .highlight-ticker__new,
  .highlight-ticker__box--soon::after,
  .highlight-ticker__box--soon .highlight-ticker__ring,
  .highlight-ticker__box--soon .highlight-ticker__halo,
  .highlight-ticker__soon {
    animation: none;
  }
  .highlight-ticker__box--new::after { opacity: 0.4; }
  .highlight-ticker__box--new .highlight-ticker__ring { opacity: 0.3; }
  .highlight-ticker__box--new .highlight-ticker__halo { opacity: 0.55; }
  .highlight-ticker__box--soon::after { opacity: 0.35; }
  .highlight-ticker__box--soon .highlight-ticker__ring { opacity: 0.25; }
  .highlight-ticker__box--soon .highlight-ticker__halo { opacity: 0.45; }
}

/* --- Hover & Focus ---
   Hover-Effekte (Farbumkehr orange→weiß, Lift, Title-/Sub-Recoloring)
   greifen nur auf echten Maus-Geräten. Auf Touch hat ":hover" sonst
   Sticky-Verhalten und flackert beim Tap/Scroll.
   focus-visible bleibt für Keyboard-Navigation unabhängig erhalten. */
@media (hover: hover) and (pointer: fine) {
  .highlight-ticker__box:hover {
    transform: translateY(-4px);
    background: #fff;
    color: var(--blau);
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.12),
      inset 0 0 0 1px var(--blau);
  }
  .highlight-ticker__box:hover::before {
    border-color: rgba(240, 129, 3, 0.25);
  }
  .highlight-ticker__box:hover .highlight-ticker__title {
    color: var(--blau);
  }
  .highlight-ticker__box:hover .highlight-ticker__sub {
    color: var(--grau);
  }
  .highlight-ticker__box:hover .highlight-ticker__badge {
    background: var(--grau);
    color: #fff;
  }
}

/* Keyboard-Fokus: Farbumkehr nur als deutlich sichtbares Feedback. */
.highlight-ticker__box:focus-visible {
  transform: translateY(-4px);
  background: #fff;
  color: var(--blau);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px var(--blau);
}
.highlight-ticker__box:focus-visible::before {
  border-color: rgba(240, 129, 3, 0.25);
}
.highlight-ticker__box:focus-visible .highlight-ticker__title {
  color: var(--blau);
}
.highlight-ticker__box:focus-visible .highlight-ticker__sub {
  color: var(--grau);
}
.highlight-ticker__box:focus-visible .highlight-ticker__badge {
  background: var(--grau);
  color: #fff;
}

/* Touch-Feedback: kurzes Andrücken bestätigt den Tap, ohne Sticky-State. */
.highlight-ticker__box:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  .highlight-ticker {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .highlight-ticker__track {
    animation: none;
  }
  .highlight-ticker__box:hover,
  .highlight-ticker__box:focus-visible {
    transform: none;
  }
}

/* RESPONSIVE: Tablet */
@media (max-width: 1024px) {
  .btn-spenden { padding: 12px 28px; font-size: 1rem; }
}

/* RESPONSIVE: Mobile */
@media (max-width: 768px) {
  .header-inner { flex-direction: row; justify-content: space-between; }

  .highlight-ticker__box {
    width: 130px;
    height: 130px;
    padding: 14px 18px;
  }
  .highlight-ticker__title {
    font-size: 0.68rem;
  }
}

/* NEWS */
.news-section {
  max-width: 1200px;
  margin: 80px auto 70px;
  padding: 0 40px;
}

.news-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.news-header h2 {
  white-space: nowrap;
  margin: 0;
  font-size: 1.3rem;
  color: var(--blau);
  letter-spacing: 1px;
}

.news-header-line {
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, var(--blau), transparent);
  border-radius: 2px;
}

/* Schliessender Swoosh unter dem „Alle Termine"-Button — spiegelt den
   Header-Strich, damit der Aktuelles-Bereich sauber eingerahmt wirkt. */
.news-footer {
  margin-top: 36px;
}
.news-footer-line {
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(to left, var(--blau), transparent);
  border-radius: 2px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: start;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(240,129,3,0.15);
}

.news-card--empty {
  background: #fafafa;
  border: 1px solid var(--blau);
  box-shadow: none;
}

.news-card--empty:hover {
  transform: none;
  box-shadow: none;
}

.news-card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.news-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-card-date {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grau);
}

.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blau);
  margin: 0;
  letter-spacing: 0.3px;
}

.news-card-text {
  font-size: 0.85rem;
  color: #6f6f71;
  line-height: 1.6;
  margin: 0;
}

.news-leer {
  font-size: 0.85rem;
  color: var(--grau);
  font-style: italic;
}

/* --- Aktuelles: Typewriter-Zeile für das nächste Event --- */
.news-typewriter {
  margin: 0 0 10px;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  line-height: 1.4;
  color: var(--dunkelgrau);
}
.news-typewriter__line {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--blau);
  padding-right: 4px;
  width: 0;
  vertical-align: bottom;
  animation:
    news-typing 3.2s steps(var(--tw-chars, 40), end) 0.4s forwards,
    news-caret 0.9s step-end 0.4s infinite;
}
.news-typewriter__label {
  color: var(--blau);
  font-weight: 700;
}
.news-typewriter__event {
  color: var(--dunkelgrau);
  font-weight: 500;
}
.news-typewriter__meta {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--grau);
  letter-spacing: 0.1px;
}
.news-typewriter__actions {
  margin: 0;
}

@keyframes news-typing {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes news-caret {
  0%, 50%   { border-right-color: var(--blau); }
  51%, 100% { border-right-color: transparent; }
}

/* Barrierefreiheit: bei reduzierter Bewegung sofort anzeigen, kein Cursor */
@media (prefers-reduced-motion: reduce) {
  .news-typewriter__line {
    width: auto;
    border-right: 0;
    animation: none;
  }
}

/* Mobile: Umbruch erlauben und Animation deaktivieren, da Typewriter
   auf mehrzeiligem Text nicht sinnvoll ist. */
@media (max-width: 640px) {
  .news-typewriter__line {
    white-space: normal;
    width: auto;
    border-right: 0;
    animation: none;
  }
  .news-typewriter__label {
    display: inline;
  }
}

@media (max-width: 768px) {
  .news-section { padding: 0 20px; margin: 50px auto 40px; }
  .news-header { margin-bottom: 16px; }
}

/* MEHR ALS SELBSTHILFE — Kacheln */
.mehr-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
}

.mehr-heading {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grau);
  margin-bottom: 6px;
  line-height: 1.2;
}

.mehr-sub {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: var(--dunkelgrau);
  font-weight: 900;
  margin-bottom: 40px;
  line-height: 1.1;
}

.mehr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mehr-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.mehr-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--blau);
  pointer-events: none;
}

/* Ausgabe-Cover: Miniatur der PDF-Titelseite, ersetzt das Icon oben in
   FK-Aktuell- und Bundesverband-Cards. Das ganze Bild ist der Link zum PDF. */
.issue-cover {
  position: relative;
  display: block;
  width: 180px;
  max-width: 80%;
  margin: 0 auto 18px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.issue-cover:hover,
.issue-cover:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22), 0 4px 10px rgba(0, 0, 0, 0.10);
  outline: none;
}
.issue-cover__img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
.issue-cover__badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  background: var(--orange, #f18700);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
}
.issue-cover__badge svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.3;
}
@media (max-width: 768px) {
  .issue-cover {
    width: 150px;
  }
}

.mehr-card__icon svg {
  width: 100%;
  height: 100%;
}

.mehr-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dunkelgrau);
  margin-bottom: 12px;
}

.mehr-card__text {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
}

.mehr-card__text + .mehr-card__text {
  margin-top: 10px;
}

/* Scroll-Animation: Kacheln sanft hochgleiten */
.mehr-card.scroll-hidden {
  opacity: 0;
  transform: translateY(30px);
}
.mehr-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Icon sanft einblenden (leicht verzögert) */
.mehr-card.scroll-hidden .mehr-card__icon {
  opacity: 0;
  transform: scale(0.7);
}
.mehr-card.visible .mehr-card__icon {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

@media (max-width: 768px) {
  .mehr-section {
    padding: 40px 20px;
  }
  .mehr-sub {
    margin-bottom: 28px;
  }
  .mehr-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mehr-card {
    padding: 28px 22px;
  }
  .mehr-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }
}

/* FOOTER (BWAG-Stil) */
.site-footer {
  background: #888;
  color: #fff;
  margin-top: 60px;
}

.footer-inner {
  padding: 48px 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Rechte Footer-Seite: Impressum/Datenschutz + Social-Icons auf gleicher Höhe */
.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal__link,
.footer-legal__link:visited {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.footer-legal__link:hover,
.footer-legal__link:focus-visible {
  color: var(--blau) !important;
}

@media (max-width: 768px) {
  .footer-right {
    flex-direction: column;
    gap: 12px;
  }
  .footer-legal {
    justify-content: center;
  }
}

.footer-brand strong {
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  display: block;
  line-height: 1.2;
}

.footer-brand p {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  line-height: 1.2;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
}

.footer-social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.footer-social-link:hover {
  background: var(--blau);
  color: #fff !important;
}

.footer-social-link:hover img {
  transform: scale(1.08);
}

/* TikTok-Icon (schwarzer Kreis mit Logo) per Filter invertieren, damit es
   zu den weißen FB/IG-Icons passt: weißer Kreis mit dunklem Logo innen. */
.footer-social-link--tiktok-invert img {
  filter: invert(1);
}

/* Footer-Spalten: <details> auf Desktop immer offen */
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Desktop: details sind per open-Attribut offen, Arrow versteckt */
details.footer-col {
  display: block;
}
.footer-col__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Summary als Überschrift gestylt */
.footer-col__toggle {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: #fff;
  list-style: none;
  cursor: default;
}
.footer-col__toggle::-webkit-details-marker { display: none; }
.footer-col__toggle::marker { content: ''; display: none; }

/* Arrow nur auf Mobile sichtbar */
.footer-col__arrow {
  display: none;
}

.footer-col a {
  display: inline-block;
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  padding: 2px 0 1px;
  line-height: 1.4;
  position: relative;
  transition: color 0.3s ease;
}

.footer-col a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blau);
  transition: width 0.3s ease;
}

.footer-col a:hover {
  color: var(--blau) !important;
}

.footer-col a:hover::after {
  width: 100%;
}

/* Visited-Links: Unterstrich verschwindet (nur aktive Seite behält ihn) */
.footer-col a:visited::after {
  width: 0;
}
.footer-col a:visited:hover::after {
  width: 100%;
}

.footer-col a.footer-active {
  color: var(--blau) !important;
}

.footer-col a.footer-active::after {
  width: 100%;
  background: var(--blau);
}


/* Freundeskreise Baden — im Grid, volle Breite (Desktop: per open-Attribut offen) */
details.footer-gruppen {
  grid-column: 1 / -1;
  display: block;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 4px;
}

.footer-gruppen__toggle {
  display: flex;
  align-items: baseline;
  gap: 0;
  list-style: none;
  cursor: default;
}
.footer-gruppen__toggle::-webkit-details-marker { display: none; }
.footer-gruppen__toggle::marker { content: ''; display: none; }

.footer-gruppen__arrow {
  display: none;
}

.footer-gruppen__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-right: 14px;
  white-space: nowrap;
}

.footer-gruppen__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.footer-gruppen__links a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
  font-size: 0.8rem;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-gruppen__links a:not(:last-child)::before {
  content: none;
}

.footer-gruppen__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blau);
  transition: width 0.3s ease;
}

.footer-gruppen__links a:hover {
  color: var(--blau) !important;
}

.footer-gruppen__links a:hover::after {
  width: 100%;
}

/* Trenner zwischen den Städten */
.footer-gruppen__links a + a::before {
  content: '\00b7';
  margin: 0 8px;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 16px 40px;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.7);
}

.footer-bottom__line {
  display: inline;
}

.footer-bottom__sep {
  margin: 0 6px;
  opacity: 0.55;
}

.footer-credit {
  display: inline;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
}

.footer-credit::before {
  content: '|';
  margin: 0 10px;
  opacity: 0.45;
  color: rgba(255,255,255,0.55);
}

/* Tablet: 3 Spalten */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px 20px;
    padding: 32px 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile: Akkordeon-Footer */
@media (max-width: 768px) {
  .site-footer { margin-top: 40px; }
  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px 18px 8px;
  }
  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer-brand p { font-size: 0.82rem; }

  /* Details zurücksetzen — auf Mobile klappbar */
  details.footer-col {
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  details.footer-col:last-of-type {
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  details.footer-col > .footer-col__links {
    display: none !important;
  }
  details.footer-col[open] > .footer-col__links {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 12px 4px;
  }
  /* Summary als klickbare Zeile */
  .footer-col__toggle {
    padding: 12px 0;
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.78rem;
  }

  /* Arrow sichtbar auf Mobile */
  .footer-col__arrow {
    display: inline-block;
    font-size: 0.7em;
    transition: transform 0.25s ease;
    color: rgba(255,255,255,0.6);
  }
  details.footer-col[open] > .footer-col__toggle .footer-col__arrow {
    transform: rotate(180deg);
  }

  .footer-col a {
    font-size: 0.8rem;
    padding: 0;
    line-height: 1.4;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
  }

  /* Freundeskreise Baden — Mobile Akkordeon */
  details.footer-gruppen {
    padding: 0;
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  details.footer-gruppen > .footer-gruppen__links {
    display: none !important;
  }
  details.footer-gruppen[open] > .footer-gruppen__links {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px 0;
    padding-bottom: 12px;
  }
  .footer-gruppen__toggle {
    cursor: pointer;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .footer-gruppen__arrow {
    display: inline-block;
    font-size: 0.7em;
    transition: transform 0.25s ease;
    color: rgba(255,255,255,0.6);
  }
  details.footer-gruppen[open] .footer-gruppen__arrow {
    transform: rotate(180deg);
  }
  .footer-gruppen__label {
    font-size: 0.78rem;
    margin-right: 0;
  }
  .footer-gruppen__links a {
    font-size: 0.75rem;
  }
  .footer-gruppen__links a + a::before {
    margin: 0 5px;
  }
  .footer-bottom {
    padding: 10px 12px 12px;
    font-size: clamp(0.48rem, 1.9vw, 0.62rem);
    line-height: 1.25;
  }
  .footer-bottom__line {
    display: block;
    white-space: nowrap;
  }
  .footer-bottom__part {
    display: block;
  }
  .footer-bottom__sep {
    display: none;
  }
  .footer-credit {
    display: block;
    margin-top: 4px;
    font-size: clamp(0.44rem, 1.7vw, 0.56rem);
    white-space: nowrap;
    line-height: 1.25;
  }
  .footer-credit::before {
    content: none;
  }
}
/* =========================
   PAGE TITLE BAR — Vertikaler Tab
   Ersetzt den alten hellgrauen Schriftzug durch einen schlanken
   weißen Tab am rechten Fensterrand mit 90°-gedrehter Section-
   Bezeichnung. Position: fixed — bleibt beim Scrollen sichtbar.
   h1 bleibt für Screen-Reader / SEO erhalten.
========================= */

.page-title-bar {
  position: relative;
  width: 100%;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  overflow: visible;
}

/* Tab-Element am linken Fensterrand — bündig, gut lesbar.
   Obere Kante auf Höhe der Content-Wrapper-Oberkante. Text 180° gedreht
   → lesbar von unten nach oben (erster Buchstabe unten). */
.page-title-bar::before {
  content: attr(data-bg);
  position: fixed;
  top: 220px;                        /* obere Kante bündig mit Content-Wrapper-Oberkante (Header ~166px + 50px margin) */
  left: 0;
  padding: 22px 12px;
  background: var(--weiss);
  border: 1px solid var(--grau);
  border-right: none;                /* nach 180°-Rotation: keine Kante am Fensterrand, Rahmen zeigt zum Content */
  color: rgba(0, 0, 0, 0.45);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);         /* 180° → lesbar von unten nach oben */
  transform-origin: center center;
  white-space: nowrap;
  line-height: 1;
  border-radius: 4px 0 0 4px;        /* nach 180°-Rotation → rechte (Content-zugewandte) Ecken gerundet */
  z-index: 100;
  pointer-events: none;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.06);
  animation: tabFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* h1 visuell versteckt — bleibt für Barrierefreiheit + SEO erhalten */
.page-title-bar h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  margin: 0;
  padding: 0;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: rotate(180deg) translateX(8px);
  }
  to {
    opacity: 1;
    transform: rotate(180deg) translateX(0);
  }
}

/* Reduced-Motion: keine Animation */
@media (prefers-reduced-motion: reduce) {
  .page-title-bar::before {
    animation: none;
  }
}

/* Mobile — Tab sitzt mittig zwischen Header-Unterkante (~130px)
   und Content-Wrapper-Oberkante (~160px) → Top bei ~145px.
   Gleicher Abstand nach oben (Header) und nach unten (Content). */
@media (max-width: 768px) {
  .page-title-bar::before {
    top: 170px;                      /* obere Kante bündig mit Content-Wrapper-Oberkante */
    padding: 16px 8px;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
  }
}

/* =========================
   CONTENT AREA
========================= */

.page-content {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 40px;
}

/* Breite Variante für Seiten mit Karten-/Grid-Inhalt (Vorteile, Social Media,
   Podcasts, Teams). Textlastige Seiten bleiben auf 1200px für angenehme
   Zeilenlänge. */
.page-content--wide {
  max-width: 1440px;
}

/* Glaseffekt — halbtransparent damit der große graue Schriftzug durchscheint */
.content-wrapper {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .page-content {
    margin: 30px auto 40px;
    padding: 0 25px 0 42px;          /* rechts 25px zum Rand, links 42px = Tab-Breite + 10px Abstand zum Tab */
  }
  .content-wrapper {
    padding: 24px 20px;
    border-radius: 8px;
  }
}

/* =========================
   SPENDEN – 2-SPALTEN
========================= */
.spenden-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.spenden-col p {
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .spenden-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* QR-Code für Bankverbindung */
.spenden-qr {
  margin: 24px 0;
  padding: 16px;
  background: #f7f7f6;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
}
.spenden-qr__img {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.spenden-qr__caption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--grau);
  line-height: 1.4;
}

/* =========================
   KONTAKT – 2-SPALTEN
========================= */
.kontakt-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.kontakt-col p {
  margin-bottom: 4px;
}
/* Direkter <p>-Kindelement von .kontakt-col (z.B. spenden.php-Spalten):
   normale Prosa-Abstände — überschreibt die kompakte Default-Regel. */
.kontakt-col > p { margin-bottom: 0.95em; }
.kontakt-col > p:last-child { margin-bottom: 0; }

.kontakt-adresse-box {
  background: #fafafa;
  border: 1px solid var(--blau);
  border-radius: 5px;
  padding: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kontakt-col > .kontakt-adresse-box + .kontakt-adresse-box {
  margin-top: 24px;
}

.kontakt-info-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kontakt-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--dunkelgrau);
  text-transform: uppercase;
}

.kontakt-value {
  font-size: 0.95rem;
  color: #3a3a3a;
  line-height: 1.6;
}

.kontakt-value--link {
  color: var(--blau) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.kontakt-value--link:hover {
  color: var(--orange) !important;
}

.kontakt-info-row {
  display: flex;
  gap: 40px;
}

@media (max-width: 768px) {
  .kontakt-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =========================
   KONTAKTFORMULAR
========================= */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fafafa;
  border: 1px solid var(--blau);
  border-radius: 5px;
  padding: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
}
@media (max-width: 640px) {
  .kontakt-form { padding: 22px 15px; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 400;
  color: #3a3a3a;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: #fff;
  border: none;
  border-bottom: 1px solid #3a3a3a;
  padding: 10px 0;
  font-size: 0.9rem;
  color: #3a3a3a;
  font-family: inherit;
  border-radius: 0;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233a3a3a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px;
  padding-right: 24px;
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-bottom-color: var(--blau);
}

.form-group textarea {
  resize: vertical;
  border: none;
  border-bottom: 1px solid #3a3a3a;
}

.form-hint {
  font-size: 0.75rem;
  color: #E04562;
  background: #F9E4E8;
  padding: 3px 6px;
  display: none;
  margin-top: 2px;
}

/* Banner oberhalb des Formulars bei Validierungsfehlern (serverseitiger
   Fallback für ohne-JS oder bei umgangener Client-Validierung). */
.form-error-summary {
  padding: 14px 18px;
  margin: 0 0 20px;
  background: #F9E4E8;
  border-left: 3px solid #E04562;
  border-radius: 6px;
  color: #2b2b2b;
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-error-summary strong {
  display: block;
  color: #E04562;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* Server-Variant (Mailversand fehlgeschlagen): in CI-Orange statt Rot,
   weil das Problem nicht beim User liegt. */
.form-error-summary--server {
  background: #fff4e6;
  border-left-color: #f08103;
}
.form-error-summary--server strong {
  color: #f08103;
}

/* Datenschutz Checkbox */
.form-group-check .check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.8rem;
  color: #3a3a3a;
  line-height: 1.5;
}

.form-group-check .check-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
  accent-color: var(--blau);
}

/* Spamschutz-Checkbox – visuell hervorgehoben */
.form-group-spam {
  background: #fafafa;
  border: 1px solid var(--blau);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 8px;
}

.form-group-spam .check-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dunkelgrau);
  letter-spacing: 0.3px;
}

.form-group-spam .check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blau);
}

.kontakt-form .form-group-check .check-label span a,
.kontakt-form .form-group-check .check-label span a:visited {
  color: #f08103 !important;
  text-decoration: underline !important;
  transition: color 0.2s;
}

.kontakt-form .form-group-check .check-label span a:hover,
.kontakt-form .form-group-check .check-label span a:visited:hover {
  color: #6f6f71 !important;
  text-decoration: underline !important;
}


/* Submit-Zeile */
.form-submit-row {
  display: flex;
  justify-content: flex-end;
}

/* .btn-kontakt nutzt komplett die Werte des gemeinsamen Button-Systems —
   Typografie, Padding und Uppercase sind dort zentral definiert. */

/* =========================
   BEITRITTSFORMULAR (mitmachen.php)
   Baut auf .kontakt-form auf — fügt Fieldset-Gruppen und
   zweispaltige Zeilen hinzu, die auf Mobile umbrechen.
========================= */
.beitritts-intro {
  max-width: 780px;
  margin: 0 auto 36px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  color: #3a3a3a;
  font-size: 0.95rem;
  line-height: 1.7;
}

.beitritts-intro p {
  margin: 0 0 12px;
}

.beitritts-intro p:last-child {
  margin-bottom: 0;
}

.beitritts-intro__header {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(240, 129, 3, 0.25);
}
.beitritts-intro__lead {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--blau);
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 4px !important;
  padding: 0;
  border: 0;
}
.beitritts-intro__sub {
  margin: 0 !important;
  font-size: 1rem;
  font-weight: 500;
  color: #2b2b2b;
  letter-spacing: 0.02em;
}

/* PLZ-Feld schmaler, Ort breiter */
.form-row-plz-ort {
  grid-template-columns: 120px 1fr;
}
@media (max-width: 640px) {
  .form-row-plz-ort {
    grid-template-columns: 1fr;
  }
}

.beitritts-form {
  max-width: 780px;
  margin: 0 auto;
}

/* Fieldset dient nur als semantische Gruppierung — KEIN eigener Rahmen,
   damit der orange Außenrahmen von .kontakt-form und die Underline-Optik
   der Inputs die einzigen horizontalen Linien bleiben. */
.form-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-fieldset + .form-fieldset {
  margin-top: 12px;
}

/* Sektions-Label: kleine Überschrift mit feiner Trennlinie —
   grenzt die Gruppen visuell ab, ohne einen Kasten zu bauen. */
.form-legend {
  display: block;
  width: 100%;
  float: none;
  padding: 0 0 8px;
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blau);
  border-bottom: 1px solid rgba(240, 129, 3, 0.25);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.form-optional {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--grau);
  margin-left: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.form-required {
  color: #f08103;
  font-weight: 700;
  margin-left: 2px;
}

.form-required-hint {
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: var(--grau);
}
.form-required-hint .form-required {
  margin-right: 4px;
  margin-left: 0;
}

.form-legend__note {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--grau);
  margin-left: 6px;
  text-transform: none;
  letter-spacing: 0;
}

.form-fieldset__intro {
  margin: -4px 0 14px;
  color: var(--grau);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .beitritts-intro {
    padding: 20px 18px;
    font-size: 0.9rem;
  }
  .beitritts-intro__lead {
    font-size: 1.1rem;
  }
  .form-legend {
    font-size: 0.72rem;
  }
}

/* =========================
   VORTEILE-SEITE (vorteile.php)
   Nutzt .mehr-grid/.mehr-card als Basis, macht die Karten aber
   opak — sonst wirken sie im ohnehin glasigen .content-wrapper zu blass.
========================= */
.vorteile-grid {
  gap: 40px 32px;
  margin: 8px 0 40px;
}
@media (max-width: 640px) {
  .vorteile-grid {
    gap: 28px;
  }
}

.vorteile-card {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.vorteile-card .mehr-card__text a,
.vorteile-card .mehr-card__text a:visited {
  color: var(--blau);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.vorteile-card .mehr-card__text a:hover {
  color: var(--dunkelgrau);
}

.vorteile-cta {
  text-align: center;
  margin: 16px auto 0;
  max-width: 720px;
  color: #3a3a3a;
  font-size: 0.95rem;
  line-height: 1.7;
}

.vorteile-cta p {
  margin: 0 0 14px;
}

.vorteile-cta__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px !important;
}

/* Ghost-Variante des Kontakt-Buttons für sekundäre CTAs —
   wird auch auf bundesverband.php und teams.php verwendet. */
.btn-kontakt--ghost {
  background: transparent !important;
  box-shadow: none;
}

@media (max-width: 640px) {
  .vorteile-cta {
    font-size: 0.9rem;
  }
  .vorteile-cta__actions {
    gap: 10px;
  }
}

/* =========================
   BESTÄTIGUNG / FEHLER
========================= */
.bestaetigung-box {
  text-align: center;
  padding: 60px 40px;
}

.bestaetigung-smiley {
  font-size: 5rem;
  line-height: 1;
  color: var(--blau);
  margin-bottom: 20px;
}

.bestaetigung-titel {
  color: var(--blau);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.bestaetigung-text {
  color: #3a3a3a;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.fehler-box .bestaetigung-smiley {
  color: var(--grau);
}

.fehler-box .bestaetigung-titel {
  color: var(--grau);
}

/* =========================
   404 — SEITE NICHT GEFUNDEN
   Eigenständiges Layout: groß sichtbarer 404-Code, freundliche Zeile,
   zwei Haupt-CTAs und eine QuickNav-Liste mit den gefragtesten Seiten.
========================= */
.not-found-box {
  text-align: center;
  padding: 56px 40px 60px;
}

.not-found-code {
  font-size: clamp(4.5rem, 12vw, 8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--blau);
  margin-bottom: 14px;
  text-shadow: 0 6px 18px rgba(240, 129, 3, 0.18);
}

.not-found-title {
  color: var(--blau);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

.not-found-text {
  color: #3a3a3a;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 28px;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 44px;
}

.not-found-quicknav-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grau);
  margin: 0 0 18px;
}

.not-found-quicknav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 620px;
}
.not-found-quicknav li { margin: 0; }
.not-found-quicknav a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(240, 129, 3, 0.08);
  border: 1px solid rgba(240, 129, 3, 0.25);
  color: var(--blau) !important;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .not-found-quicknav a:hover {
    background: var(--blau);
    border-color: var(--blau);
    color: #fff !important;
    transform: translateY(-1px);
  }
}
.not-found-quicknav a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

@media (max-width: 600px) {
  .not-found-box { padding: 40px 22px 50px; }
  .not-found-text { font-size: 0.92rem; }
  .not-found-quicknav a { font-size: 0.82rem; padding: 7px 12px; }
}

/* =========================
   RECHTSTEXTE: DATENSCHUTZ + IMPRESSUM (einheitlich)
   Typografie kommt von body h2/h3/.page-content p — hier nur Layout/Abstände
========================= */
.datenschutz-content h2,
.impressum-content h2 {
  margin: 36px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.datenschutz-content h2:first-child,
.impressum-content h2:first-child {
  margin-top: 0;
}

.datenschutz-content h3,
.impressum-content h3 {
  margin: 22px 0 8px;
}

.datenschutz-content p,
.impressum-content p {
  margin-bottom: 14px;
}

.datenschutz-content ul,
.impressum-content ul {
  margin: 8px 0 16px 24px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #3a3a3a;
}

.datenschutz-content strong,
.impressum-content strong {
  font-weight: 700;
  color: #3a3a3a;
}

.datenschutz-content a,
.impressum-content a {
  color: var(--blau) !important;
  text-decoration: none !important;
}

.datenschutz-content a:hover,
.impressum-content a:hover {
  text-decoration: underline !important;
}

.datenschutz-stand {
  font-size: 0.8rem !important;
  color: #999 !important;
  margin-top: 30px !important;
  border-top: 1px solid #eee;
  padding-top: 16px;
}
/* =========================
   ANIMATIONEN
========================= */

/* 1. PAGE FADE-IN – nur mit JS (ohne JS: sofort sichtbar) */
.js body {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.js body.page-loaded {
  opacity: 1;
}

/* 2. SCROLL-ANIMATION – nur mit JS, einheitlich über alle Content-Seiten */
.js .scroll-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.js .scroll-hidden.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger nur INNERHALB von Card-Grids, max. 0.3s — verhindert lange Verzögerung
   für Elemente, die nach vielen Cards kommen (z. B. Überschrift unter 12 FK-Karten). */
.js .fk-grid > .scroll-hidden:nth-child(1),
.js .partner-grid > .scroll-hidden:nth-child(1)  { transition-delay: 0s;     }
.js .fk-grid > .scroll-hidden:nth-child(2),
.js .partner-grid > .scroll-hidden:nth-child(2)  { transition-delay: 0.06s;  }
.js .fk-grid > .scroll-hidden:nth-child(3),
.js .partner-grid > .scroll-hidden:nth-child(3)  { transition-delay: 0.12s;  }
.js .fk-grid > .scroll-hidden:nth-child(4),
.js .partner-grid > .scroll-hidden:nth-child(4)  { transition-delay: 0.18s;  }
.js .fk-grid > .scroll-hidden:nth-child(5),
.js .partner-grid > .scroll-hidden:nth-child(5)  { transition-delay: 0.24s;  }
.js .fk-grid > .scroll-hidden:nth-child(n+6),
.js .partner-grid > .scroll-hidden:nth-child(n+6){ transition-delay: 0.3s;   }

.js .online-features > .scroll-hidden:nth-child(2) { transition-delay: 0.1s; }
.js .spenden-columns > .scroll-hidden:nth-child(2),
.js .kontakt-columns > .scroll-hidden:nth-child(2) { transition-delay: 0.1s; }

/* =========================
   BARRIEREFREIHEIT
========================= */
/* Sichtbarer Fokusrahmen für Tastaturnavigation — einheitlicher Token.
   Siehe :root (--focus-ring / --focus-offset). Einzelne Komponenten,
   die auf sehr dunklem Hintergrund sitzen (z. B. Hero-Summary), dürfen
   abweichen; Rest erbt automatisch diesen Stil. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* ONLINE-GRUPPEN SEITE */
.online-intro {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
  line-height: 1.7;
}
.online-intro p {
  margin: 0 0 14px;
  color: var(--dunkelgrau);
}
.online-intro strong {
  color: #000;
}
/* Lead/Tagline (erstes Absatz im Intro) groß und prominent */
.online-intro > p:first-child {
  font-size: 1.35rem;
  line-height: 1.4;
  margin-bottom: 22px;
  color: var(--dunkelgrau);
}
.online-intro > p:first-child strong {
  font-weight: 600;
}
@media (max-width: 600px) {
  .online-intro > p:first-child { font-size: 1.15rem; }
}
.online-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto 50px;
}
.online-feature {
  background: #fafafa;
  border: 1px solid var(--blau);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  padding: 22px 26px;
  border-radius: 6px;
}
.online-feature h3 {
  margin: 0 0 14px;
}
.online-feature ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.6;
  color: var(--dunkelgrau);
}
.online-feature li {
  margin-bottom: 6px;
}
.online-cta {
  text-align: center;
  margin: 2.4em auto 40px;
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
}
.online-cta > p {
  font-size: 1.1rem;
  margin: 0 0 18px;
  color: var(--dunkelgrau);
}
.online-cta-button {
  padding: 14px 32px;
  font-size: 0.88rem;
  gap: 12px;
  /* übrige Styles (Uppercase, Letter-Spacing) kommen aus dem gemeinsamen Button-System */
}
.online-cta-logo {
  height: 22px;
  width: auto;
  transition: filter 0.25s ease;
}
.online-cta-button:hover .online-cta-logo,
.online-cta-button:focus-visible .online-cta-logo {
  filter: brightness(0) invert(1);
}
.online-cta-arrow {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}
.online-cta-button:hover .online-cta-arrow,
.online-cta-button:focus-visible .online-cta-arrow {
  transform: translateX(4px);
}
.online-cta > p.online-cta-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--grau);
  font-weight: 400;
}
.online-contact {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Info-Box: dezenter Hinweisbereich für rechtliche/erläuternde Hinweise */
.info-box {
  max-width: 820px;
  margin: 32px auto;
  padding: 20px 24px;
  background: #f7f7f6;
  border-left: 4px solid var(--blau);
  border-radius: 4px;
}
.info-box h3 {
  margin: 0 0 10px;
}
.info-box p {
  margin: 0;
}
.online-contact a {
  color: var(--blau);
  font-weight: 600;
  text-decoration: underline;
}
@media (hover: none) {
  .online-contact a {
    text-decoration: underline;
  }
}
@media (max-width: 600px) {
  .online-features {
    gap: 16px;
  }
  .online-feature {
    padding: 18px 20px;
  }
  .online-cta-button {
    padding: 12px 22px;
    font-size: 0.82rem;
  }
}

/* =========================
   ONLINE & PRÄSENZ — gemeinsame Zusatz-Elemente
========================= */
.online-brand {
  text-align: center;
  margin: 24px 0 8px;
}
.online-brand__logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: inline-block;
}
@media (max-width: 600px) {
  .online-brand__logo { max-width: 170px; }
}

.online-quote {
  max-width: 820px;
  margin: 32px auto 40px;
  padding: 22px 28px;
  border-left: 4px solid var(--blau);
  background: var(--hellblau);
  color: var(--dunkelgrau);
  font-style: italic;
  line-height: 1.7;
  border-radius: 0 6px 6px 0;
}
.online-cta__heading {
  font-size: 1.4rem;
  color: var(--dunkelgrau);
  font-weight: 600;
  margin: 0 0 10px;
}

/* =========================
   FREUNDESKREIS-KÄRTCHEN (Präsenzgruppen)
========================= */
.fk-grid__heading {
  font-size: 1.6rem;
  color: var(--dunkelgrau);
  font-weight: 600;
  text-align: center;
  margin: 50px 0 8px;
}
.fk-grid__sub {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--dunkelgrau);
  line-height: 1.6;
}

.fk-grid {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.fk-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 3px solid var(--blau);
  border-radius: 8px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.fk-card:hover,
.fk-card:focus-within {
  box-shadow: 0 6px 18px rgba(240,129,3,0.12), 0 2px 6px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.fk-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.fk-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hellblau);
  color: var(--blau);
  border-radius: 50%;
}
.fk-card__icon svg {
  width: 17px;
  height: 17px;
}
.fk-card__name-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.fk-card__name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dunkelgrau);
  line-height: 1.3;
}
.fk-card__hinweis {
  font-size: 0.72rem;
  font-style: italic;
  color: var(--grau);
  line-height: 1.3;
}

.fk-card__list {
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.fk-card__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fk-card__dt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blau);
  margin: 0;
}
.fk-card__dt-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.fk-card__dd {
  margin: 0;
  font-size: 0.84rem;
  color: var(--dunkelgrau);
  line-height: 1.45;
}
.fk-card__dd a {
  color: var(--dunkelgrau) !important;
  text-decoration: underline;
  text-decoration-color: rgba(240,129,3,0.4);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.fk-card__dd a:hover,
.fk-card__dd a:focus-visible {
  color: var(--blau) !important;
  text-decoration-color: var(--blau);
}

/* CTA-Button auf FK-Karten: nutzt .btn-kontakt (CI-konform), nur Positionierung hier */
.fk-card__cta {
  margin-top: auto;
  align-self: stretch;
  padding: 8px 16px;
  font-size: 0.82rem;
}
.fk-card__cta-icon {
  width: 12px;
  height: 12px;
}

@media (max-width: 600px) {
  .fk-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fk-card {
    padding: 18px;
  }
  .fk-grid__heading {
    font-size: 1.35rem;
  }
}

/* =========================
   PARTNER-GRID: Beratungsstellen, Fachkliniken
========================= */
.partner-grid__heading {
  text-align: center;
  margin: 40px 0 6px;
}
.partner-grid__sub {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 720px;
  color: var(--grau);
  font-size: 0.9rem;
}
.partner-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
  max-width: 1100px;
}
.partner-card {
  display: flex;
}
.partner-card__link {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  color: #3a3a3a !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.partner-card__link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow 0.25s ease;
}
.partner-card__link:hover,
.partner-card__link:focus-visible {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.05);
}
.partner-card__link:hover::before,
.partner-card__link:focus-visible::before {
  box-shadow: inset 0 0 0 2px var(--blau);
}
.partner-card__link--disabled {
  cursor: default;
  opacity: 0.75;
}
.partner-card__link--disabled:hover,
.partner-card__link--disabled:focus-visible {
  transform: none;
  border-color: #ececec;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.partner-card__link--disabled:hover::before,
.partner-card__link--disabled:focus-visible::before {
  box-shadow: inset 0 0 0 2px transparent;
}
.partner-card__link--disabled:hover .partner-card__logo,
.partner-card__link--disabled:focus-visible .partner-card__logo {
  filter: grayscale(15%);
  transform: none;
}
.partner-card__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 130px;
  padding: 20px 24px;
  background: #fff;
  border-bottom: 1px solid #ececec;
  transition: background 0.25s ease;
}
.partner-card__logo {
  max-width: 170px;
  max-height: 75px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter 0.25s ease, transform 0.25s ease;
}
.partner-card__link:hover .partner-card__logo,
.partner-card__link:focus-visible .partner-card__logo {
  filter: grayscale(0);
  transform: scale(1.04);
}
.partner-card__name {
  display: block;
  padding: 16px 20px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: #3a3a3a;
  text-align: center;
  background: linear-gradient(180deg, #f4f4f3 0%, #ececeb 100%);
}
.partner-card__extern {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--grau);
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.partner-card__link:hover .partner-card__extern,
.partner-card__link:focus-visible .partner-card__extern {
  color: #fff;
  background: var(--blau);
  opacity: 1;
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .partner-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
  .partner-card__logo-wrap {
    height: 100px;
    padding: 14px 18px;
  }
  .partner-card__name {
    padding: 12px 14px 14px;
    font-size: 0.82rem;
  }
  .partner-card__extern {
    width: 24px;
    height: 24px;
    top: 8px;
    right: 8px;
  }
}

/* =========================
   PARTNER-GRID · MODERNE VARIANTE
   Desktop: Logo bunt, Name versteckt. Hover/Fokus → Logo monochrom,
   Name als Overlay in Orange. Mobile (kein Hover): Logo bunt,
   Name dauerhaft in Orange als Unterzeile sichtbar.
   Namen sind zusätzlich stets über aria-label am Link verfügbar.
   ========================= */
.partner-grid--mono {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  max-width: 1100px;
}
.partner-grid--mono .partner-card__link {
  aspect-ratio: 3 / 2;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: none;
  overflow: hidden;
}
.partner-grid--mono .partner-card__logo-wrap {
  flex: 1;
  height: auto;
  padding: 28px 22px;
  background: #fff;
  border-bottom: 0;
}
.partner-grid--mono .partner-card__logo {
  max-width: 160px;
  max-height: 84px;
  filter: grayscale(0%) opacity(1);
}
.partner-grid--mono .partner-card__link:hover .partner-card__logo,
.partner-grid--mono .partner-card__link:focus-visible .partner-card__logo {
  filter: grayscale(100%) opacity(0.65);
  transform: scale(1.02);
}
.partner-grid--mono .partner-card__name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blau);
  text-align: center;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.partner-grid--mono .partner-card__link:hover .partner-card__name,
.partner-grid--mono .partner-card__link:focus-visible .partner-card__name {
  opacity: 1;
}
.partner-grid--mono .partner-card__link:hover,
.partner-grid--mono .partner-card__link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--blau);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.partner-grid--mono .partner-card__extern {
  opacity: 0;
}
.partner-grid--mono .partner-card__link:hover .partner-card__extern,
.partner-grid--mono .partner-card__link:focus-visible .partner-card__extern {
  opacity: 1;
  background: var(--blau);
  color: #fff;
}

/* Touch-Geräte (kein Hover): reines Logo-Raster. Name nur via aria-label am Link für Screenreader. */
@media (hover: none) {
  .partner-grid--mono .partner-card__logo {
    filter: grayscale(0%) opacity(1);
  }
  .partner-grid--mono .partner-card__name {
    display: none;
  }
  .partner-grid--mono .partner-card__extern {
    opacity: 0.85;
  }
}

/* --- Variante: Name dauerhaft als kleine Caption unter dem Logo ---
   Für Landesverbände, deren Logos alle identisch sind — Namen dienen hier
   zur Unterscheidung, nicht nur als Hover-Info. */
.partner-grid--named .partner-card__link {
  aspect-ratio: auto;
  flex-direction: column;
}
.partner-grid--named .partner-card__logo-wrap {
  padding: 22px 18px 10px;
}
.partner-grid--named .partner-card__name {
  position: static;
  inset: auto;
  display: block;
  padding: 0 10px 14px;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dunkelgrau);
  opacity: 1;
  pointer-events: auto;
  letter-spacing: 0.2px;
  line-height: 1.3;
}
.partner-grid--named .partner-card__link:hover .partner-card__name,
.partner-grid--named .partner-card__link:focus-visible .partner-card__name {
  color: var(--blau);
  opacity: 1;
}
/* Hover-Logo-Monochrom-Behandlung bleibt unverändert vom .partner-grid--mono-System */
@media (hover: none) {
  .partner-grid--named .partner-card__name {
    display: block;
  }
}
@media (max-width: 600px) {
  .partner-grid--named .partner-card__name {
    font-size: 0.66rem;
    padding: 0 6px 10px;
  }
  .partner-grid--named .partner-card__logo-wrap {
    padding: 14px 10px 6px;
  }
}

@media (max-width: 600px) {
  .partner-grid--mono {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
  }
  .partner-grid--mono .partner-card__logo-wrap {
    padding: 14px 12px;
  }
  .partner-grid--mono .partner-card__logo {
    max-width: 110px;
    max-height: 60px;
  }
}

/* =========================
   MEMBER-TICKER · Vorstands-/Team-Portraits als runde, animierte Kreise
   Desktop: Auto-Scroll, Hover → Foto monochrom + Name/Rolle als Overlay.
   Mobile/Touch: Auto-Scroll läuft, Overlay dauerhaft sichtbar (kein Hover).
   ========================= */
.member-ticker {
  overflow-x: auto;
  overflow-y: clip;
  -webkit-overflow-scrolling: touch;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 20px 0 56px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  scrollbar-width: none;
  cursor: grab;
}
.member-ticker::-webkit-scrollbar { display: none; }

.member-ticker__track {
  display: flex;
  width: max-content;
  animation: member-ticker-scroll 90s linear infinite;
}
.member-ticker__track:hover,
.member-ticker__track:focus-within {
  animation-play-state: paused;
}

.member-ticker__set {
  display: flex;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
  align-items: center;
  list-style: none;
  margin: 0;
}

@keyframes member-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 6)); }
}

@media (prefers-reduced-motion: reduce) {
  .member-ticker__track { animation: none; }
}

.member-ticker__box {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(240, 129, 3, 0.6);
  background: #f4f4f3;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  isolation: isolate;
}

.member-ticker__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-ticker__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--blau);
  background: linear-gradient(135deg, #fff3e0 0%, #ffe2bd 100%);
  transition: filter 0.3s ease;
}
/* Vorstand & Teams: Name steht dauerhaft als sichtbares Label unter dem
   Portrait. Bei Vorstand zusätzlich Rolle/Titel via .member-ticker__caption. */
.member-ticker__name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-align: center;
  letter-spacing: 0.15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75), 0 0 8px rgba(0, 0, 0, 0.55);
  max-width: 100%;
  word-break: break-word;
}

.member-ticker__box--vacant {
  border-color: rgba(0, 0, 0, 0.15);
  opacity: 0.75;
}

/* Geschäftsführender Vorstand: größer + kräftigerer Rahmen + stärkerer Schatten. */
.member-ticker__box--gf {
  width: 158px;
  height: 158px;
  border-width: 4px;
  border-color: var(--blau);
  box-shadow: 0 12px 28px rgba(240, 129, 3, 0.28), 0 3px 8px rgba(0, 0, 0, 0.12);
}

/* Erweiterter Vorstand: kompakter, zurückhaltender Rahmen. */
.member-ticker__box--erw {
  width: 120px;
  height: 120px;
  border-width: 2px;
  border-color: rgba(120, 120, 120, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.member-ticker__box--erw .member-ticker__placeholder {
  font-size: 1.4rem;
}

/* Wrapper um Portrait + Name + Rolle (Vorstand): beide Labels stehen dauerhaft
   unter dem Kreis (Name oben, Rolle/Titel darunter). */
.member-ticker__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
.member-ticker__item--gf  { width: 180px; }
.member-ticker__item--erw { width: 150px; }

/* Abstand Box → Name → Rolle: Name etwas mehr Luft zur Box, Rolle eng am Namen. */
.member-ticker__item > .member-ticker__name { margin-top: 12px; }
.member-ticker__item > .member-ticker__caption { margin-top: 3px; }

.member-ticker__caption {
  display: block;
  font-size: 0.72rem;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75), 0 0 8px rgba(0, 0, 0, 0.55);
  max-width: 100%;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
  overflow: visible;
  -webkit-line-clamp: unset;
}
.member-ticker__item--erw .member-ticker__caption {
  font-size: 0.66rem;
}

/* Trenner zwischen GF- und Erweitertem Vorstand */
.member-ticker__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 70px;
  max-width: 70px;
  min-height: 140px;
  flex-shrink: 0;
  padding: 14px 6px;
  opacity: 0.55;
  list-style: none;
}
.member-ticker__divider-line {
  width: 1px;
  flex: 1;
  min-height: 18px;
  background: var(--blau);
  opacity: 0.55;
}
.member-ticker__divider-text {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blau);
  white-space: nowrap;
  writing-mode: vertical-lr;
  text-orientation: mixed;
}

/* Mobile: kompaktere Schriftgrößen für Name und Rolle. */
@media (hover: none) {
  .member-ticker__name    { font-size: 0.72rem; }
  .member-ticker__caption { font-size: 0.62rem; line-height: 1.2; }
}

@media (max-width: 768px) {
  .member-ticker__box {
    width: 108px;
    height: 108px;
  }
  .member-ticker__box--gf {
    width: 124px;
    height: 124px;
    border-width: 3px;
  }
  .member-ticker__box--erw {
    width: 94px;
    height: 94px;
  }
  .member-ticker__item--gf  { width: 140px; }
  .member-ticker__item--erw { width: 110px; }
  .member-ticker__item > .member-ticker__name { margin-top: 8px; }
  .member-ticker__item > .member-ticker__caption { margin-top: 2px; }
  .member-ticker__caption { font-size: 0.64rem; }
  .member-ticker__item--erw .member-ticker__caption { font-size: 0.6rem; }
  .member-ticker__set {
    gap: 22px;
    padding-right: 22px;
  }
  .member-ticker__divider {
    min-width: 50px;
    max-width: 50px;
    min-height: 108px;
    padding: 10px 4px;
    gap: 8px;
  }
  .member-ticker__divider-text {
    font-size: 0.55rem;
    letter-spacing: 1.6px;
  }
}

/* --- MEMBER-ROW · statische Flex-Reihe (Teams-Seite) ---
   Wie auf der Vorstand-Seite: Box + Name als Label unterhalb. */
.member-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 26px;
  justify-content: center;
  margin: 10px 0 6px;
  padding: 0;
  list-style: none;
}
.member-row .member-ticker__item {
  width: 110px;
}
.member-row .member-ticker__box {
  width: 110px;
  height: 110px;
}
/* Teams-Karten haben einen hellen Karten-Hintergrund — Name in Dunkelgrau,
   ohne Text-Shadow (anders als auf der Vorstand-Seite mit dunklem Parallax). */
.member-row .member-ticker__name {
  font-size: 0.78rem;
  color: #2a2a2a;
  font-weight: 600;
  text-shadow: none;
  letter-spacing: 0;
}
.member-row .member-ticker__item > .member-ticker__name { margin-top: 8px; }

@media (max-width: 600px) {
  .member-row { gap: 14px 18px; }
  .member-row .member-ticker__item { width: 92px; }
  .member-row .member-ticker__box {
    width: 92px;
    height: 92px;
  }
  .member-row .member-ticker__name { font-size: 0.7rem; }
}

/* =========================
   TEAM / VORSTAND
   ========================= */
.team-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 14px;
  background: rgba(240, 129, 3, 0.08);
  border-radius: 999px;
}
.team-contact__label {
  font-weight: 600;
  color: var(--dunkelgrau);
}
/* Team-Hero: Gruppenbild als Parallax-Background (CSS-only) */
/* =========================
   SEITENWEITER PARALLAX-HINTERGRUND
   — gleiches Muster wie .fklyt-slides auf der Startseite:
   ein fixiertes Bild, über das der Inhalt scrollt.
========================= */
.page-parallax {
  position: fixed;
  inset: 0;                   /* Vollflächig: kein weisser Gap beim Scrollen,
                                 da der Header mit weißem Hintergrund die
                                 obere Partie immer deckt. */
  z-index: -1;                /* hinter allem Content */
  overflow: hidden;
  pointer-events: none;
}
.page-parallax__slides {
  position: absolute;
  inset: 0;
}
.page-parallax__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;    /* Bild nach unten schieben: Gesichter rutschen unter den Header */
  user-select: none;
}
/* Auf Mobile sitzt das Bild etwas tiefer (kleineres Header). */
@media (max-width: 768px) {
  .page-parallax__img {
    object-position: center 22%;
  }
}
.page-parallax__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.42) 100%);
}

/* Variante: komplettes Bild sichtbar (contain) — keine Abschnitte,
   leere Flächen werden durch einen dezenten Farbverlauf in CI-Tönen gefüllt. */
.page-parallax--contain {
  background: linear-gradient(180deg, #f7f1e8 0%, #efe3d1 100%);
}
.page-parallax--contain .page-parallax__img {
  object-fit: contain;
  object-position: center center;
}
/* Overlay auf der Contain-Variante milder, damit das Bild natürlich bleibt */
.page-parallax--contain .page-parallax__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.28) 100%);
}
/* Reduced-Motion: Bild bleibt, Overlay etwas dunkler für bessere Lesbarkeit
   (kein Parallax-Effekt wird hier ohnehin animiert — position:fixed allein
   ist kein Motion im Sinne der a11y-Regel). */

/* Transparente Content-Box für die Parallax-Seite — die Glasflaeche weicht,
   damit der Hintergrund durchscheint. */
.page-content--parallax .content-wrapper--parallax {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 20px 0 40px;
}
@media (max-width: 768px) {
  .page-content--parallax .content-wrapper--parallax {
    padding: 12px 0 24px;
  }
}

/* Intro-Block auf Parallax: helle Typo, zentrale Badge, kein Box-Look */
.online-intro--parallax {
  max-width: 820px;
  margin: 20px auto 44px;
  padding: 0 20px;
  text-align: center;
  color: #fff;
}
.online-intro--parallax p {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.online-intro--parallax strong {
  color: #fff;
}
.online-intro--parallax > p:first-of-type {
  color: #fff;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.35;
}
.online-intro--parallax .team-contact__link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.55);
  text-underline-offset: 3px;
}
.online-intro__badge {
  display: inline-block;
  background: var(--blau);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Kompakter Intro-Header (Vorstand): nur Hero-Headline, wenig Abstand nach unten */
.online-intro--compact {
  margin: 20px auto 14px;
}
/* Intro unterhalb der Animation — mehr Luft oben, damit Ticker atmet */
.online-intro--below {
  margin-top: 48px;
}

/* Große Hero-Überschrift (Parallax-Seiten) — im Stil von .fklyt-hero-headline.
   Spezifität 0,2,1 schlägt .online-intro > p:first-child (auch 0,2,1) über
   Source-Order. */
.online-intro p.parallax-headline {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  text-wrap: balance;
  letter-spacing: -0.4px;
  margin: 8px 0 14px;
}

/* Team-Section-Überschriften auf Parallax: weiss mit Schatten */
.page-content--parallax .team-section__heading {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.page-content--parallax .team-section__sub {
  color: rgba(255,255,255,0.85);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Online-Contact-Block auf Parallax: heller Text, keine dunkle Trennlinie */
.page-content--parallax .online-contact {
  border-top-color: rgba(255,255,255,0.22);
}
.page-content--parallax .online-contact p {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}
.page-content--parallax .online-contact a {
  color: #fff;
  text-decoration-color: rgba(255,255,255,0.55);
}

/* Variante A auf Parallax: kartenlos — nur runde Fotos + Text direkt auf
   dem Hintergrund. Kein Kartenrand, kein Schatten, keine Füllung. */
.page-content--parallax .team-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 10px 8px 20px;
}
.page-content--parallax .team-card--vacant {
  background: transparent;
}

/* Foto-Ring: weißer Außenring + sanftes Orange-Glow, damit das Foto auch
   vor hellen Bildpartien klar umrandet bleibt. */
.page-content--parallax .team-card__photo-wrap {
  border: 3px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 0 2px rgba(240, 129, 3, 0.55),
    0 10px 24px rgba(0, 0, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.18);
}

/* Platzhalter-Avatar (Initialen) etwas wärmer */
.page-content--parallax .team-card__photo--placeholder {
  background: linear-gradient(135deg, #ffe8cb 0%, #ffca82 100%);
}

/* Rolle & Name: weiß mit starkem Textschatten für Lesbarkeit */
.page-content--parallax .team-card__role {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.55);
}
.page-content--parallax .team-card__name {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.55);
}
.page-content--parallax .team-card__name--vacant {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* Mehr Luft zwischen den Personen, da keine Karten mehr das Gerüst bilden */
.page-content--parallax .team-grid {
  gap: 32px 26px;
}
.page-content--parallax .team-grid--compact {
  gap: 28px 22px;
}

/* Kontakt-Lead auf Parallax: weiß mit Textschatten */
.vorstand-contact-lead--parallax {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

/* Teams-Seite nutzt den gleichen .mehr-card-Stil wie die Startseite.
   Hier nur minimale Ergänzungen: Abstand zwischen den gestapelten Karten
   und Personen-Fotos ohne weißes Mini-Kärtchen. */
.team-mehr-card {
  margin: 0 auto 28px;
  max-width: 100%;
}
.team-mehr-card .team-grid {
  margin: 22px 0 0;
}
.team-mehr-card .team-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 8px 6px 12px;
}
.team-mehr-card .team-card--vacant:hover {
  box-shadow: none;
}

/* Bundesverband-Seite: Fließtext + CTA-Button innerhalb der .mehr-card */
.bv-text {
  max-width: 640px;
  margin: 0 auto 14px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.65;
  text-align: left;
}
.bv-text:last-of-type {
  margin-bottom: 20px;
}
.bv-cta {
  margin: 18px 0 0;
}
.bv-cta .btn-kontakt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.bv-subheading {
  margin: 26px 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grau);
}
.bv-empty {
  margin: 8px 0 4px;
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

/* Download-Liste (Journal, Rohrpost) */
.download-list {
  list-style: none;
  margin: 0 auto 8px;
  padding: 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.download-item {
  margin: 0;
}
.download-item__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  text-align: left;
  text-decoration: none;
  color: var(--dunkelgrau);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(240, 129, 3, 0.25);
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .download-item__link:hover {
    background: #fff;
    border-color: var(--blau);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 129, 3, 0.15);
  }
  .download-item__link:hover .download-item__arrow {
    color: var(--blau);
    transform: translateY(2px);
  }
}
.download-item__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--blau);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.download-item__icon svg {
  width: 100%;
  height: 100%;
}
.download-item__info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.download-item__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dunkelgrau);
  line-height: 1.3;
}
.download-item__meta {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}
.download-item__arrow {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #999;
  transition: color 0.2s ease, transform 0.2s ease;
}
.download-item__arrow svg {
  width: 100%;
  height: 100%;
}

/* Archiv: einklappbare Sektion mit älteren Ausgaben */
.download-archive {
  max-width: 720px;
  margin: 14px auto 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
}
.download-archive[open] {
  background: rgba(255, 255, 255, 0.65);
}
.download-archive__summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dunkelgrau);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.download-archive__summary::-webkit-details-marker { display: none; }
.download-archive__summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blau);
  border-bottom: 2px solid var(--blau);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
.download-archive[open] .download-archive__summary::after {
  transform: rotate(-135deg);
}
.download-archive__summary:hover {
  background: rgba(240, 129, 3, 0.05);
}
.download-archive__count {
  font-size: 0.82rem;
  font-weight: 500;
  color: #666;
  margin-right: auto;
  margin-left: 8px;
}
.download-archive .download-list {
  padding: 4px 12px 14px;
  margin: 0;
}

@media (max-width: 640px) {
  .download-item__link {
    gap: 10px;
    padding: 10px 12px;
  }
  .download-item__title {
    font-size: 0.92rem;
  }
}

/* Geschäftsstelle-Box auf der Kontakt-Seite: sitzt direkt unter der
   Adresse-Box im gleichen Stil (heller Kasten, orange Border). */
.kontakt-col > .kontakt-adresse-box + .gst-box {
  margin-top: 20px;
}

.gst-hours {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gst-hours__row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 4px 14px;
  align-items: baseline;
}
.gst-hours dt {
  font-weight: 700;
  font-size: 0.95rem;
  color: #3a3a3a;
}
.gst-hours dd {
  margin: 0;
  font-size: 0.95rem;
  color: #3a3a3a;
  line-height: 1.5;
}
.gst-hours__note {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.4;
}

.gst-people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gst-person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gst-person__photo-wrap {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(240, 129, 3, 0.6);
  background: #f4f4f3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.gst-person__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gst-person__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blau);
  background: linear-gradient(135deg, #fff3e0 0%, #ffe2bd 100%);
}
.gst-person__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gst-person__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dunkelgrau);
  line-height: 1.3;
}
.gst-person__role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blau);
  font-weight: 600;
  line-height: 1.3;
}
.gst-person__times {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .gst-hours__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .gst-person__photo-wrap {
    width: 48px;
    height: 48px;
  }
}

.team-hero {
  position: relative;
  margin: 8px auto 40px;
  max-width: 1100px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(240, 129, 3, 0.3);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14), 0 4px 10px rgba(0, 0, 0, 0.06);
  aspect-ratio: 16 / 8;
  background-color: #f4f4f3;
  background-image: url('images/vorstand/gruppe.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  isolation: isolate;
}
.team-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}
.team-hero__caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  z-index: 2;
}
.team-hero__badge {
  align-self: flex-start;
  background: var(--blau);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(240, 129, 3, 0.45);
}
.team-hero .team-hero__text {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  color: #fff;
}
/* Parallax auf Touch-Devices & bei reduced-motion deaktivieren
   (iOS Safari unterstützt background-attachment:fixed ohnehin nicht sauber,
   und reduced-motion ist Pflicht per .md-Regel). */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .team-hero {
    background-attachment: scroll;
  }
}
@media (max-width: 700px) {
  .team-hero {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    margin-bottom: 28px;
  }
  .team-hero__caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 8px;
  }
  .team-hero__badge {
    font-size: 0.65rem;
    padding: 5px 12px;
  }
}

.team-contact__link {
  color: var(--blau);
  font-weight: 500;
  text-decoration: none;
}
.team-contact__link:hover {
  text-decoration: underline;
}

/* Kontakt-Lead + grosser E-Mail-Button im Intro der Vorstand-Seite */
.vorstand-contact-lead {
  max-width: 640px;
  margin: 18px auto 14px !important;
  font-size: 1rem;
  color: var(--dunkelgrau);
}
.vorstand-contact-cta {
  margin: 0 0 8px !important;
  text-align: center;
}
.vorstand-contact-btn {
  padding: 14px 28px;
  font-size: 0.88rem;
  gap: 12px;
}
.vorstand-contact-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .vorstand-contact-btn:hover svg {
    transform: translateX(-2px);
  }
}
@media (max-width: 600px) {
  .vorstand-contact-btn {
    padding: 8px 16px;
    font-size: 0.78rem;
    gap: 8px;
  }
  .vorstand-contact-btn svg {
    width: 14px;
    height: 14px;
  }
  .vorstand-contact-btn span {
    word-break: break-all;
  }
}

.team-section {
  margin: 40px auto;
  max-width: 1100px;
}
.team-section__heading {
  margin: 0 0 4px;
  font-size: 1.35rem;
  color: var(--dunkelgrau);
  text-align: center;
}
.team-section__sub {
  margin: 0 0 22px;
  color: var(--grau);
  font-size: 0.92rem;
  text-align: center;
}
/* Hinweis nur auf Desktop anzeigen — auf Touch-Geräten gibt es die Pulse-Animation */
.team-section__sub--desktop-only {
  display: block;
}
@media (hover: none) {
  .team-section__sub--desktop-only { display: none; }
}

.team-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.team-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 18px 20px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}
.team-card--compact {
  padding: 18px 14px 16px;
}

.team-card__photo-wrap {
  display: block;
  width: 155px;
  height: 155px;
  margin-bottom: 16px;
  border: 3px solid rgba(240, 129, 3, 0.6);
  border-radius: 50%;
  overflow: hidden;
  background: #f4f4f3;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);
}
.team-card--compact .team-card__photo-wrap {
  width: 125px;
  height: 125px;
  margin-bottom: 12px;
}
.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--blau);
  background: linear-gradient(135deg, #fff3e0 0%, #ffe2bd 100%);
  letter-spacing: 0.02em;
}
.team-card--compact .team-card__photo--placeholder {
  font-size: 1.25rem;
}
.team-card__photo--vacant {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grau);
  background: repeating-linear-gradient(
    135deg,
    #f4f4f3 0,
    #f4f4f3 8px,
    #ececeb 8px,
    #ececeb 16px
  );
}

.team-card__role {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blau);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.35;
}
.team-card--compact .team-card__role {
  font-size: 0.7rem;
}
.team-card__name {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dunkelgrau);
  margin-bottom: 12px;
  line-height: 1.3;
}
.team-card--compact .team-card__name {
  font-size: 0.92rem;
  margin-bottom: 0;
}
.team-card__name--vacant {
  color: var(--grau);
  font-style: italic;
  font-weight: 500;
}

.team-card__mail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 8px 18px 8px 16px;
  border: 1px solid rgba(240, 129, 3, 0.4);
  border-radius: 999px;
  color: var(--blau) !important;
  background: #fff;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card__mail svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}
.team-card__mail span {
  transition: transform 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .team-card__mail:hover {
    background: var(--blau);
    color: #fff !important;
    border-color: var(--blau);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(240, 129, 3, 0.3);
  }
  .team-card__mail:hover svg {
    transform: translateX(2px) translateY(-1px);
  }
}
.team-card__mail:active {
  background: var(--blau);
  color: #fff !important;
  border-color: var(--blau);
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(240, 129, 3, 0.3);
}
@media (prefers-reduced-motion: reduce) {
  .team-card__mail,
  .team-card__mail svg,
  .team-card__mail span {
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    transform: none !important;
  }
}

.team-card--vacant {
  opacity: 0.75;
}
.team-card--vacant:hover {
  transform: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
  .team-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
  .team-card {
    padding: 18px 12px 14px;
  }
  .team-card__photo-wrap {
    width: 120px;
    height: 120px;
  }
  .team-card--compact .team-card__photo-wrap {
    width: 98px;
    height: 98px;
  }
  .team-card__role {
    font-size: 0.7rem;
  }
  .team-card__name {
    font-size: 0.92rem;
  }
}

/* =========================
   PODCAST-SEITE (podcasts.php)
   Coming-soon-Hero, drei Plattform-Karten (noch nicht klickbar).
========================= */
.podcast-hero {
  text-align: center;
  padding: 36px 24px 28px;
  margin: 8px 0 28px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.podcast-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #f08103;
}
.podcast-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--blau);
  line-height: 1.15;
}
.podcast-hero__lead {
  margin: 0 auto 10px;
  max-width: 620px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #2b2b2b;
  line-height: 1.55;
}
.podcast-hero__text {
  margin: 0 auto;
  max-width: 640px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.podcast-platforms-heading {
  margin: 34px 0 18px;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--blau);
  text-align: center;
  letter-spacing: -0.005em;
}
@media (max-width: 640px) {
  .podcast-platforms-heading {
    font-size: 1.35rem;
    margin: 26px 0 14px;
  }
}

.podcast-notify {
  margin: 8px 0 22px;
  padding: 20px 22px 20px 38px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  position: relative;
}
.podcast-notify::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: #f08103;
  border-radius: 1px;
  pointer-events: none;
}
.podcast-notify__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blau);
}
.podcast-notify__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 640px) {
  .podcast-hero {
    padding: 28px 18px 22px;
  }
}

/* =========================
   SOCIAL-MEDIA-SEITE (social-media.php)
   Drei Plattform-Karten mit Markenfarben, klickbar als Ganzes.
========================= */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 8px 0 32px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 26px 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #2b2b2b;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.social-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #f08103;
  opacity: 0.9;
}
.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  border-color: rgba(240, 129, 3, 0.35);
  outline: none;
}

.social-card--facebook::before { background: #1877f2; }
.social-card--instagram::before {
  background: linear-gradient(135deg, #405de6 0%, #833ab4 35%, #c13584 55%, #e1306c 75%, #f77737 95%);
}
.social-card--tiktok::before {
  background: linear-gradient(90deg, #25f4ee 0%, #000 50%, #fe2c55 100%);
}
.social-card--youtube::before { background: #ff0000; }
.social-card--spotify::before { background: #1db954; }
.social-card--apple::before {
  background: linear-gradient(180deg, #f452ff 0%, #832bc1 100%);
}

/* „Coming soon"-Variante: optisch identisch zu den Social-Cards,
   aber nicht klickbar — deshalb kein Transform-Effekt, kein Pointer. */
.social-card--coming {
  cursor: default;
}
.social-card--coming:hover,
.social-card--coming:focus-visible {
  transform: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
}

.social-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f7f7f7;
  padding: 10px;
  flex-shrink: 0;
}
.social-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* „Plain": die Marken-SVG bringt eigene Farben/Form mit, deshalb
   kein grauer Kasten drumherum, sondern etwas grösser und ohne Padding. */
.social-card__icon--plain {
  width: 64px;
  height: 64px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.social-card__icon--plain svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.social-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blau);
  margin: 0;
  line-height: 1.2;
}
.social-card__handle {
  margin: 0;
  font-size: 0.85rem;
  color: #f08103;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.social-card__text {
  margin: 6px 0 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
}
/* CTA in Social-Cards: einheitlich zum .btn-kontakt-System —
   weiss mit orangem Rand und oranger Schrift, auf Hover/Active orange gefüllt + weisser Text.
   Mobile bleibt weiss, die orange Füllung kommt erst beim Tippen (:active). */
.social-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--blau) !important;
  border: 1px solid var(--blau);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.2;
  align-self: flex-start;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .social-card:hover .social-card__cta,
  .social-card:focus-visible .social-card__cta,
  .social-card__cta:hover,
  .social-card__cta:focus-visible {
    background: var(--blau) !important;
    color: #ffffff !important;
    border-color: var(--blau);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(240, 129, 3, 0.25);
    outline: none;
  }
}
.social-card__cta:active,
.social-card:active .social-card__cta {
  background: var(--blau) !important;
  color: #ffffff !important;
  border-color: var(--blau);
}
.social-card__chip {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff4e6;
  color: #c86700;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(240, 129, 3, 0.35);
}
.social-card__extern {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.social-card:hover .social-card__extern,
.social-card:focus-visible .social-card__extern,
.social-card__cta:hover .social-card__extern {
  transform: translate(2px, -2px);
}

.social-note {
  margin: 20px 0 28px;
  padding: 18px 22px 18px 38px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #333;
  position: relative;
}
.social-note::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: #f08103;
  border-radius: 1px;
  pointer-events: none;
}
.social-note p {
  margin: 0;
}

@media (max-width: 640px) {
  .social-card {
    padding: 22px 20px 20px;
  }
  .social-card__title {
    font-size: 1.2rem;
  }
}

/* =========================
   DREI-SPALTEN-GRID (Prototyp)
   Unsichtbares 3er-Grid für .content-wrapper--grid.
   Helfer: .col-all (3/3), .col-2of3, .col-1of3, .col-mid (nur mittlere Spalte).
   Auf Mobile kollabieren alle Spalten zu einer.
========================= */
.content-wrapper--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 28px;
  align-items: start;
}

.col-all  { grid-column: 1 / -1; }
.col-2of3 { grid-column: span 2; }
.col-1of3 { grid-column: span 1; }
.col-mid  { grid-column: 2 / 3; }

/* Innerhalb einer Grid-Zelle sollen h2/p ihre normalen Abstände behalten,
   aber der erste/letzte Block darf die Zelle nicht nach oben/unten aufblasen */
.content-wrapper--grid > * > :first-child { margin-top: 0; }
.content-wrapper--grid > * > :last-child  { margin-bottom: 0; }

/* Sidebar-Stil (Prototyp — dezente Info-Box, farblich abgesetzt) */
.uber-sidebar {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 4px;
  padding: 16px 20px 16px 36px;
  font-size: 0.96rem;
  position: relative;
}
.uber-sidebar::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 16px;
  width: 10px;
  height: 10px;
  background: #f08103;
  border-radius: 1px;
  pointer-events: none;
}
.uber-sidebar h3 {
  margin: 0 0 10px 0;
  font-size: 1.05rem;
  color: #2a2a2a;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.uber-sidebar ul {
  margin: 0;
  padding-left: 18px;
}
.uber-sidebar ul li {
  margin: 6px 0;
  line-height: 1.4;
}
.uber-sidebar p {
  margin: 0 0 10px 0;
  line-height: 1.45;
}
.uber-sidebar p:last-child { margin-bottom: 0; }
.uber-sidebar a {
  color: #1a4b7a;
  font-weight: 600;
}

/* Mobile: Grid → eine Spalte, alle Col-Helfer spannen voll */
@media (max-width: 900px) {
  .content-wrapper--grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 22px;
  }
  .content-wrapper--grid > .col-all,
  .content-wrapper--grid > .col-2of3,
  .content-wrapper--grid > .col-1of3,
  .content-wrapper--grid > .col-mid {
    grid-column: 1 / -1;
  }
  .uber-sidebar {
    padding: 14px 16px;
  }
  /* Sidebars, die auf Mobile keinen Mehrwert bieten (z. B. Sprung-Navi,
     wenn die Zielsektionen sowieso direkt darunter stehen) */
  .uber-sidebar--hide-mobile {
    display: none;
  }
}

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   MODERNISIERUNG — CSS-only, progressive enhancement.
   Funktioniert ohne JS, respektiert prefers-reduced-motion,
   stürzt älteren Browsern nicht um die Ohren.
   ============================================================ */

/* ------------------------------------------------------------
   1. Typografie: modernere Zeilenumbrüche.
   Browser ohne Support ignorieren es komplett.
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6,
.mehr-card__title,
.bv-subheading,
.page-title-bar h1,
.nav-dropdown__heading {
  text-wrap: balance;
}
p, li, dd, figcaption,
.bv-text,
.mehr-card__text,
.highlight-ticker__desc {
  text-wrap: pretty;
}

/* ------------------------------------------------------------
   2. Anker-Sprungziele unter sticky Header ausrichten.
   Damit "#journal" nicht hinter dem Header landet.
   ------------------------------------------------------------ */
[id] {
  scroll-margin-top: 110px;
}
@media (max-width: 768px) {
  [id] {
    scroll-margin-top: 80px;
  }
}

/* ------------------------------------------------------------
   4. Team-Card-Fotos: sanftes Reinzoomen beim Sichtbarwerden
   + subtiler Hover-Zoom im Foto.
   Funktioniert zusammen mit dem allgemeinen scroll-hidden-Muster:
   das Foto startet kleiner und blendet beim Einlaufen auf 1 ein.
   ------------------------------------------------------------ */
.js .team-card.scroll-hidden .team-card__photo-wrap {
  transform: scale(0.82);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              opacity 0.5s ease-out;
}
.js .team-card.scroll-hidden.visible .team-card__photo-wrap {
  transform: scale(1);
  opacity: 1;
}
/* Bild im Wrap-Container leicht überzoomen, damit beim Hover ein
   weicher Ken-Burns-artiger Schwenk entsteht. */
.team-card__photo-wrap {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.team-card__photo {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.team-card:not(.team-card--vacant):hover .team-card__photo-wrap {
  transform: scale(1.04);
}
.team-card:not(.team-card--vacant):hover .team-card__photo {
  transform: scale(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .js .team-card.scroll-hidden .team-card__photo-wrap,
  .js .team-card.scroll-hidden.visible .team-card__photo-wrap {
    transform: none;
    transition: none;
  }
  .team-card:not(.team-card--vacant):hover .team-card__photo-wrap,
  .team-card:not(.team-card--vacant):hover .team-card__photo {
    transform: none;
  }
}

/* ------------------------------------------------------------
   5. Vakante Slots auf Parallax-Seiten als Glas-Effekt.
   Ersetzt das gestreifte Graumuster durch eine halbtransparente
   Milchglas-Fläche mit Blur — wirkt eleganter auf dem Hero-Bild
   und signalisiert optisch „noch frei". Fallback für Browser
   ohne backdrop-filter: leicht getöntes Weiß.
   ------------------------------------------------------------ */
.page-content--parallax .team-card__photo--vacant {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  border: 1px dashed rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.page-content--parallax .team-card--vacant {
  opacity: 1;
}
.page-content--parallax .team-card--vacant .team-card__photo-wrap {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 8px 20px rgba(0, 0, 0, 0.22);
}
.page-content--parallax .team-card--vacant .team-card__name--vacant {
  color: rgba(255, 255, 255, 0.78);
}

/* ============================================================
   KARLSRUHE — Startseite (Hero, Glass-Box „Vorbereitungsgruppe",
   5 Squares über dem Video, Aktuelles-Section).
   Alles statisch (keine Auto-Animationen), Touch-Feedback streng
   in @media (hover: hover) gewrappt — settings.md-konform.
   ============================================================ */

/* HERO mit Video-Hintergrund + Claim + Glass-Box. */
.kr-hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  padding: 70px 24px 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kr-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.kr-hero__fallback,
.kr-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kr-hero__video { opacity: 1; }
.kr-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.62) 100%);
}
.kr-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  text-align: center;
  color: #fff;
}
.kr-hero__claim {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
  margin: 0 0 38px;
  color: #fff;
}

/* Glass-Box Vorbereitungsgruppe — aufklappbar via <details>. */
.kr-vorber {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  padding: 0;
  max-width: 760px;
  margin: 0 auto;
  color: #2a2a2a;
  text-align: left;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.kr-vorber > summary { list-style: none; }
.kr-vorber > summary::-webkit-details-marker { display: none; }
.kr-vorber__summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 0.96rem;
  font-weight: 600;
  color: #2a2a2a;
  user-select: none;
}
.kr-vorber__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blau);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kr-vorber__teaser {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 500;
  color: #2a2a2a;
  line-height: 1.4;
  min-width: 0;
}
.kr-vorber__chevron {
  flex-shrink: 0;
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: var(--blau);
  transition: transform 0.25s ease;
}
.kr-vorber[open] .kr-vorber__chevron {
  transform: rotate(180deg);
}
.kr-vorber__body {
  padding: 6px 22px 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.92rem;
  line-height: 1.65;
  color: #333;
}
.kr-vorber__body p { margin: 12px 0; }
.kr-vorber__body strong { color: #1a1a1a; }
.kr-vorber__flyer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(240, 129, 3, 0.08);
  border: 1px solid rgba(240, 129, 3, 0.3);
  border-radius: 999px;
  color: var(--blau) !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.kr-vorber__flyer svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .kr-vorber__flyer:hover {
    background: var(--blau);
    color: #fff !important;
    transform: translateY(-1px);
  }
}
.kr-vorber__note {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.04);
  border-left: 3px solid var(--blau);
  border-radius: 4px;
}
.kr-vorber__open {
  margin-top: 14px;
  font-style: italic;
  color: #555;
}

/* 5 SQUARES — überlappen den Hero unten, statisch (KEINE Animation). */
.kr-squares {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  max-width: 1200px;
  margin: -84px auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}
.kr-square {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 200px;
  min-height: 200px;
  padding: 24px 18px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  text-decoration: none;
  color: #2a2a2a;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.kr-square__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: var(--blau);
}
.kr-square__icon svg { width: 100%; height: 100%; }
.kr-square__title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--blau);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.kr-square__sub {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.4;
}
.kr-square__extern {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 14px;
  height: 14px;
  color: var(--grau);
  opacity: 0.65;
}
.kr-square__extern svg { width: 100%; height: 100%; }

@media (hover: hover) and (pointer: fine) {
  .kr-square:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 129, 3, 0.45);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(240, 129, 3, 0.25);
  }
}
.kr-square:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}
.kr-square:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* "Bleib dran"-Variante (Podcast): nicht klickbar, gedimmt. */
.kr-square--soon {
  cursor: default;
  background: rgba(255, 255, 255, 0.78);
  filter: saturate(0.6);
}
.kr-square--soon .kr-square__title { color: #888; }
.kr-square--soon .kr-square__sub { font-style: italic; color: #888; }
@media (hover: hover) and (pointer: fine) {
  .kr-square--soon:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  }
}

/* Mobile: kompakter & wrap. */
@media (max-width: 768px) {
  .kr-hero { padding: 50px 18px 100px; }
  .kr-hero__claim { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: 28px; }
  .kr-vorber__summary { padding: 14px 16px; }
  .kr-vorber__badge { font-size: 0.7rem; padding: 3px 10px; }
  .kr-vorber__teaser { font-size: 0.86rem; flex-basis: 100%; }
  .kr-vorber__body { padding: 6px 16px 18px; font-size: 0.88rem; }
  .kr-squares { margin-top: -64px; gap: 14px; padding: 0 18px; }
  .kr-square { width: calc(50% - 8px); min-height: 170px; padding: 18px 14px; }
}
@media (max-width: 480px) {
  .kr-square { width: 100%; }
}

/* AKTUELLES — neuester Artikel als Teaser, Link auf artikel.php */
.kr-news {
  max-width: 1100px;
  margin: 60px auto 80px;
  padding: 0 40px;
}
.kr-news__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.kr-news__header h2 {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}
.kr-news__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--blau), transparent);
}
.kr-news__article {
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.kr-news__article--has-image {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}
.kr-news__article--has-image .kr-news__body { min-width: 0; order: 1; }
.kr-news__thumb {
  order: 2;
  appearance: none;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0;
  margin: 0;
  width: 140px;
  height: 140px;
  overflow: hidden;
  cursor: zoom-in;
  flex: 0 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kr-news__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover: hover) and (pointer: fine) {
  .kr-news__thumb:hover { transform: scale(1.03); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); }
}
.kr-news__thumb:focus-visible {
  outline: 2px solid var(--blau);
  outline-offset: 3px;
}
/* Lightbox als natives <dialog> + showModal() -> Top-Layer, frei von Stacking-Problemen. */
.kr-news__lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 92vh;
  overflow: visible;
}
.kr-news__lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.kr-news__lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.kr-news__lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  font-size: 28px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.kr-news__lightbox-close:hover { background: #fff; }
.kr-news__lightbox-close:focus-visible {
  outline: 2px solid var(--blau);
  outline-offset: 3px;
}
.kr-news__date {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: var(--blau);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kr-news__title {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #1a1a1a;
  line-height: 1.25;
}
.kr-news__lead {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.65;
  color: #3a3a3a;
}
.kr-news__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 0;
}
.kr-news__archive {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blau) !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .kr-news__archive:hover { opacity: 0.78; transform: translateX(2px); }
}
@media (max-width: 600px) {
  .kr-news { padding: 0 22px; margin: 40px auto 60px; }
  .kr-news__article { padding: 22px 20px; }
  .kr-news__article--has-image { gap: 14px; }
  .kr-news__thumb { width: 84px; height: 84px; }
  .kr-news__date { font-size: 0.68rem; letter-spacing: 0.08em; }
  .kr-news__title { font-size: 0.95rem; line-height: 1.25; margin: 0 0 8px; }
  .kr-news__lead { font-size: 0.85rem; line-height: 1.5; margin: 0 0 12px; }
  /* PDF-Button: kompakt und einzeilig. */
  .kr-news__cta { gap: 10px; flex-wrap: nowrap; }
  .kr-news__cta .btn-kontakt {
    padding: 6px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.4px;
    white-space: nowrap;
  }
  .kr-news__archive { font-size: 0.72rem; white-space: nowrap; }
}


/* =========================
   Karlsruhe Group-List — aufklappbare Gruppen-Übersicht (karlsruhe.php)
   ========================= */
.kr-grouplist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.kr-grouplist__item { margin: 0; }
.kr-grouplist__details {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.kr-grouplist__details[open] {
  border-color: rgba(240, 129, 3, 0.4);
  box-shadow: 0 8px 22px rgba(240, 129, 3, 0.10), 0 2px 6px rgba(0,0,0,0.06);
}
.kr-grouplist__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 600;
  color: #1a1a1a;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.kr-grouplist__summary::-webkit-details-marker { display: none; }
.kr-grouplist__summary::marker { content: ''; }
.kr-grouplist__count {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe2bd 100%);
  color: var(--blau);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  border: 1.5px solid rgba(240, 129, 3, 0.35);
}
.kr-grouplist__count--logo {
  background: #fff;
  border-radius: 8px;
  padding: 3px;
  box-sizing: border-box;
}
.kr-grouplist__count--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.kr-grouplist__title {
  flex: 1;
  font-size: 1.02rem;
  line-height: 1.35;
}
.kr-grouplist__chevron {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--grau);
  transition: transform 0.25s ease;
}
.kr-grouplist__details[open] .kr-grouplist__chevron { transform: rotate(180deg); color: var(--blau); }
@media (hover: hover) and (pointer: fine) {
  .kr-grouplist__summary:hover { background: rgba(240, 129, 3, 0.04); }
  .kr-grouplist__summary:hover .kr-grouplist__count { border-color: var(--blau); }
}
.kr-grouplist__summary:focus-visible {
  outline: 2px solid var(--blau);
  outline-offset: -2px;
}
.kr-grouplist__body {
  padding: 4px 22px 22px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 6px;
  color: #333;
}
.kr-grouplist__body p { margin: 12px 0; }
.kr-grouplist__body ul { margin: 8px 0 12px; padding-left: 22px; }
.kr-grouplist__body ul li { margin: 4px 0; }
.kr-grouplist__note {
  margin-top: 28px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
  font-size: 0.92rem;
  color: #555;
}

@media (max-width: 600px) {
  .kr-grouplist__summary { gap: 12px; padding: 14px 16px; }
  .kr-grouplist__count { width: 34px; height: 34px; font-size: 0.95rem; }
  .kr-grouplist__title { font-size: 0.98rem; }
  .kr-grouplist__body { padding: 4px 16px 18px; }
}

/* =========================
   Globale Typografie-Abstände im .content-wrapper
   - eng nach Headline (Headline klebt am zugehörigen Text)
   - großzügig vor neuer Headline (Atempause vor dem nächsten Abschnitt)
   - mehr Luft vor Button-Gruppen am Ende eines Abschnitts
   Greift bewusst nicht in spezielle Komponenten (kr-grouplist, kr-vorber etc.)
   ========================= */
.content-wrapper > h2,
.content-wrapper > h3 { margin-top: 2.4em; }
.content-wrapper > h2:first-child,
.content-wrapper > h3:first-child { margin-top: 0; }
.content-wrapper > h2 + p,
.content-wrapper > h3 + p,
.content-wrapper > h2 + ul,
.content-wrapper > h2 + ol { margin-top: 0.45em; }
.content-wrapper > p + p { margin-top: 0.95em; }
.content-wrapper > p { margin-top: 0; margin-bottom: 0; }
.content-wrapper > ul,
.content-wrapper > ol { margin-top: 0.9em; margin-bottom: 0.9em; }
.content-wrapper > ul + h2,
.content-wrapper > ol + h2,
.content-wrapper > p + h2,
.content-wrapper > ul + h3,
.content-wrapper > ol + h3,
.content-wrapper > p + h3 { margin-top: 2.4em; }
.content-wrapper > .online-cta,
.content-wrapper > .online-contact { margin-top: 3.2em; }

/* Selbsthilfe-/Karlsruhe-Style mit zusätzlicher Hierarchie:
   gleiche Regel auch für direkte Kinder von .satzung-content & datenschutz-content */
.satzung-content > h2,
.satzung-content > h3,
.datenschutz-content > h2,
.datenschutz-content > h3,
.impressum-content > h2,
.impressum-content > h3 { margin-top: 2.4em; }
.satzung-content > h2:first-child,
.datenschutz-content > h2:first-child,
.impressum-content > h2:first-child { margin-top: 0; }
.satzung-content > h2 + p,
.satzung-content > h3 + p,
.satzung-content > h2 + ol,
.satzung-content > h2 + ul,
.satzung-content > h3 + ol,
.satzung-content > h3 + ul,
.datenschutz-content > h2 + p,
.datenschutz-content > h2 + ul,
.impressum-content > h2 + p,
.impressum-content > h2 + ul { margin-top: 0.45em; }

/* Satzung: Listen — Buchstaben (a/b/c) und Bullets stärker eingerückt
   damit der Abstand vom linken Rand klar als Untergliederung wirkt. */
.satzung-content ol,
.satzung-content ul {
  padding-left: 2.4em;
  margin: 0.8em 0 1.2em;
}
.satzung-content ol[type="a"] { padding-left: 2.6em; }
.satzung-content ol li,
.satzung-content ul li {
  margin: 0.45em 0;
  padding-left: 0.4em;
  line-height: 1.65;
}
.satzung-content ol li::marker { color: var(--blau); font-weight: 600; }
.satzung-content ul li::marker { color: var(--blau); }

@media (max-width: 600px) {
  .satzung-content ol,
  .satzung-content ul { padding-left: 1.7em; }
  .satzung-content ol[type="a"] { padding-left: 1.9em; }
  .content-wrapper > h2 { margin-top: 2em; }
  .content-wrapper > p + h2 { margin-top: 2em; }
  .content-wrapper > .online-cta,
  .content-wrapper > .online-contact { margin-top: 2.6em; }
}

/* Buttons-Gruppe (online-cta) auf allen Seiten: mehr Luft nach oben/unten */
.online-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 3.2em;
  margin-bottom: 0.5em;
}
@media (max-width: 600px) {
  .online-cta { gap: 10px; margin-top: 2.6em; }
  .online-cta .btn-kontakt { width: 100%; text-align: center; }
}

/* =========================
   Artikel & Archiv (artikel.php)
   ========================= */
.kr-articles__current { margin-top: 1.5em; }
.kr-articles__featured {
  background: linear-gradient(135deg, #fff 0%, #f4f4f4 100%);
  border: 1px solid #e3e3e3;
  border-left: 4px solid var(--blau);
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0,0,0,0.05);
}
@media (max-width: 600px) {
  /* Headline + Datum + Lead kompakter auf Mobile. */
  .kr-articles__current h2 { font-size: 0.95rem; margin-bottom: 0.5em; }
  .kr-articles__featured { padding: 18px 16px 16px; }
  .kr-articles__date { font-size: 0.62rem; letter-spacing: 0.08em; margin: 0 0 4px; }
  .kr-articles__title { font-size: 0.78rem; line-height: 1.25; margin: 0 0 6px; }
  .kr-articles__lead { font-size: 0.78rem; line-height: 1.5; margin: 0 0 10px; }
  /* PDF-Button: klein und einzeilig. */
  .kr-articles__cta .btn-kontakt {
    padding: 5px 10px;
    font-size: 0.58rem;
    letter-spacing: 0.5px;
    gap: 5px;
    max-width: 100%;
    white-space: nowrap;
    text-align: center;
  }
  .kr-articles__cta .btn-kontakt svg { width: 11px; height: 11px; }
  .kr-articles__cta .btn-kontakt small { font-size: 0.54rem; }
}
@media (max-width: 380px) {
  /* Bei sehr schmalen Displays die KB-Angabe ausblenden, damit der Button sicher in eine Zeile passt. */
  .kr-articles__cta .btn-kontakt small { display: none; }
}
.kr-articles__date {
  margin: 0 0 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blau);
  font-weight: 600;
}
.kr-articles__title {
  margin: 0 0 10px;
  color: #1a1a1a;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.3;
}
.kr-articles__lead {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}
.kr-articles__cta { margin: 0; }

.kr-articles__archive { margin-top: 3em; }
.kr-archive { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.kr-archive__year {}
.kr-archive__year > details {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.kr-archive__year > details[open] { border-color: rgba(240, 129, 3, 0.35); }
.kr-archive__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.kr-archive__summary::-webkit-details-marker { display: none; }
.kr-archive__summary::marker { content: ''; }
.kr-archive__year-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blau);
  min-width: 60px;
}
.kr-archive__count {
  flex: 1;
  font-size: 0.92rem;
  color: var(--grau);
}
.kr-archive__chevron {
  font-size: 0.85rem;
  color: var(--grau);
  transition: transform 0.25s ease;
}
.kr-archive__year > details[open] .kr-archive__chevron { transform: rotate(180deg); color: var(--blau); }
.kr-archive__items {
  list-style: none;
  margin: 0;
  padding: 0 8px 8px;
  display: grid;
  gap: 4px;
}
.kr-archive__link {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  color: #222 !important;
  transition: background 0.18s ease;
}
.kr-archive__link:hover,
.kr-archive__link:focus-visible {
  background: rgba(240, 129, 3, 0.08);
  outline: none;
}
.kr-archive__date { font-size: 0.88rem; color: var(--blau); font-weight: 600; }
.kr-archive__title-text { font-size: 0.96rem; }
.kr-archive__size { font-size: 0.78rem; color: var(--grau); white-space: nowrap; }

@media (max-width: 600px) {
  .kr-articles__featured { padding: 22px 18px 18px; border-radius: 12px; }
  .kr-archive__link {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .kr-archive__date { font-size: 0.82rem; }
  .kr-archive__size { font-size: 0.74rem; }
}

/* =========================
   Hero v2 (index.php) — Brand oben, modernisierter Glass-Pulldown mit QR,
   einzeiliger Claim, ein animierter CTA-Kasten statt der 5 Squares.
   ========================= */

/* Brand-Zeile über dem Pulldown — auf Desktop einzeilig, auf Mobile max. 2 Zeilen.
   Desktop-Schriftgröße deutlich angehoben (vorher 1.45rem max). */
.kr-hero__brand {
  font-size: clamp(1.1rem, 3.2vw, 2.0rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55), 0 0 22px rgba(0,0,0,0.35);
  margin: 0 auto 26px;
  padding: 6px 16px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.45em;
  text-wrap: balance;
}
.kr-hero__brand-line { white-space: nowrap; }
.kr-hero__brand-suffix {
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.06em;
  color: #ffe5c2;
  white-space: nowrap;
}

/* Claim einzeilig auf Desktop, gleichmäßiger Umbruch auf Mobile */
.kr-hero__claim--inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em 0.55em;
  font-size: clamp(1.8rem, 4.8vw, 3.4rem);
  margin: 38px 0 0;
  text-wrap: balance;
}
.kr-hero__claim-part { white-space: nowrap; }

/* Glass-Box v2 — moderner: stärkerer Glaseffekt, prominenter Titel,
   zweispaltiges Body-Layout mit QR-Code rechts. */
.kr-vorber--v2 {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28),
              inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: #1a1a1a;
  /* overflow:visible damit die Ripple-Ringe um den Dot frei nach außen laufen können —
     der Body kümmert sich selbst um seine abgerundeten Ecken (siehe unten). */
  overflow: visible;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}
.kr-vorber--v2 .kr-vorber__body {
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}
/* Hover-Lift NUR im geschlossenen Zustand und nur auf Geräten mit echtem Hover */
@media (hover: hover) and (pointer: fine) {
  .kr-vorber--v2:not([open]):hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }
  .kr-vorber--v2:not([open]):hover .kr-vorber__hint {
    color: #fff;
    text-shadow: 0 1px 6px rgba(240, 129, 3, 0.6), 0 1px 4px rgba(0, 0, 0, 0.5);
  }
}
/* Tap-Moment: orange BG + weiße Schrift (Projektregel-Konvention) */
.kr-vorber--v2 .kr-vorber__summary:active {
  background: rgba(240, 129, 3, 0.92);
}
.kr-vorber--v2 .kr-vorber__summary:active .kr-vorber__title,
.kr-vorber--v2 .kr-vorber__summary:active .kr-vorber__times,
.kr-vorber--v2 .kr-vorber__summary:active .kr-vorber__hint {
  color: #fff;
  text-shadow: none;
}
.kr-vorber--v2 .kr-vorber__summary:active .kr-vorber__chevron {
  background: #fff;
  color: var(--blau);
  animation: none;
  box-shadow: none;
}
/* Fokus-Ring für Tastatur-Bedienung */
.kr-vorber--v2 .kr-vorber__summary:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: -3px;
  border-radius: 14px;
}
.kr-vorber--v2 .kr-vorber__summary {
  padding: 20px 24px;
  gap: 18px;
  font-weight: 700;
}
.kr-vorber__head {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.kr-vorber__title {
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  font-weight: 800;
  color: var(--blau);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.kr-vorber__times {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55), 0 0 6px rgba(0, 0, 0, 0.35);
}
/* Animierter Dot mit weißem Rahmen + Doppel-Ripple (zeitversetzt) nach außen.
   Innen ein weißer Pfeil nach unten als „klick zum Aufklappen"-Hinweis. */
.kr-vorber--v2 .kr-vorber__chevron {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blau);
  color: #fff;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(240, 129, 3, 0.45),
              0 0 4px rgba(255, 255, 255, 0.3);
  animation: kr-vorber-dot-pulse 2.4s ease-in-out infinite;
}
.kr-vorber--v2 .kr-vorber__chevron > svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}
@keyframes kr-vorber-dot-pulse {
  0%, 100% {
    background: var(--blau);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 8px rgba(240, 129, 3, 0.5),
                0 0 4px rgba(255, 255, 255, 0.3);
  }
  50% {
    background: #ffae3f;
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.7),
                0 0 28px rgba(240, 129, 3, 0.6);
  }
}

/* Zwei weiße Ringe, die zeitversetzt nach außen pulsieren */
.kr-vorber--v2 .kr-vorber__chevron::before,
.kr-vorber--v2 .kr-vorber__chevron::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: 1;
  animation: kr-vorber-ripple 2.4s ease-out infinite;
}
.kr-vorber--v2 .kr-vorber__chevron::after {
  animation-delay: 1.2s;
}
@keyframes kr-vorber-ripple {
  0% {
    transform: scale(1);
    opacity: 0.9;
    border-width: 1.5px;
  }
  100% {
    transform: scale(2.7);
    opacity: 0;
    border-width: 0.5px;
  }
}

/* Wenn Pulldown offen: alle Animationen aus */
.kr-vorber--v2[open] .kr-vorber__chevron {
  animation: none;
  background: var(--blau);
}
.kr-vorber--v2[open] .kr-vorber__chevron::before,
.kr-vorber--v2[open] .kr-vorber__chevron::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .kr-vorber--v2 .kr-vorber__chevron { animation: none; }
  .kr-vorber--v2 .kr-vorber__chevron::before,
  .kr-vorber--v2 .kr-vorber__chevron::after { display: none; }
}
.kr-vorber--v2 .kr-vorber__body {
  background: rgba(255, 255, 255, 0.92);
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.kr-vorber__layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: start;
}
.kr-vorber__text { min-width: 0; }
.kr-vorber__text p:first-child { margin-top: 0; }
.kr-vorber__qr {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.kr-vorber__qr-img {
  width: 160px;
  height: 160px;
  display: block;
  object-fit: contain;
  image-rendering: crisp-edges;
}
.kr-vorber__qr-caption {
  font-size: 0.78rem;
  color: var(--grau);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* CTA-Kasten — auffällig, mit dezenter Pulse-Animation und Hover-Lift */
.kr-cta-wrap {
  max-width: 920px;
  margin: -64px auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}
.kr-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #fff 0%, #fff8ee 100%);
  border: 1px solid rgba(240, 129, 3, 0.3);
  border-radius: 18px;
  text-decoration: none !important;
  color: #1a1a1a !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18),
              0 0 0 4px rgba(240, 129, 3, 0.08);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
  position: relative;
  overflow: hidden;
  animation: kr-cta-pulse 3.6s ease-in-out infinite;
}
@keyframes kr-cta-pulse {
  0%, 100% { box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18), 0 0 0 4px rgba(240, 129, 3, 0.08); }
  50%       { box-shadow: 0 18px 50px rgba(240, 129, 3, 0.22), 0 0 0 6px rgba(240, 129, 3, 0.16); }
}
@media (prefers-reduced-motion: reduce) {
  .kr-cta { animation: none; }
}
.kr-cta__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blau) 0%, #ff9d2c 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(240, 129, 3, 0.4);
}
.kr-cta__icon svg { width: 32px; height: 32px; }
/* Variante mit Bild-Logo (myfriendsrecovery): kleiner und fluid-skalierend.
   clamp() = min 36px, fluid 7vw, max 46px → wächst sanft mit Viewport mit. */
.kr-cta__icon--logo {
  width: clamp(36px, 7vw, 46px);
  height: clamp(36px, 7vw, 46px);
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(240, 129, 3, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 4px;
}
.kr-cta__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.kr-cta__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.kr-cta__heading {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 800;
  color: var(--blau);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.kr-cta__sub {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
}
.kr-cta__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blau);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.kr-cta__arrow svg { width: 28px; height: 28px; }
@media (hover: hover) and (pointer: fine) {
  .kr-cta:hover {
    transform: translateY(-3px);
    border-color: var(--blau);
    box-shadow: 0 24px 60px rgba(240, 129, 3, 0.30), 0 0 0 6px rgba(240, 129, 3, 0.20);
    animation: none;
  }
  .kr-cta:hover .kr-cta__arrow { transform: translateX(6px); }
}
.kr-cta:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 4px;
}
.kr-cta:active { transform: translateY(0) scale(0.99); }

/* Mobile-Anpassungen für den ganzen Hero */
@media (max-width: 768px) {
  .kr-hero { min-height: 56vh; padding: 44px 18px 28px; } /* Hero kürzer → ganze Trio rückt nach oben.
                                                              Padding-bottom auf 28 px reduziert; margin-top auf .kr-trio
                                                              bleibt -49 px (halbe Karten-Höhe), sodass die Squares
                                                              weiterhin exakt zur Hälfte über die Video-Unterkante ragen. */
  .kr-hero__brand { font-size: clamp(1.05rem, 4.5vw, 1.3rem); margin-bottom: 18px; }
  /* Claim auf Mobile: möglichst groß, aber muss einzeilig bleiben.
     flex-wrap: nowrap erzwingt eine Zeile, Schriftgröße ist so gewählt,
     dass auch auf 360-px-Phones noch Platz bleibt. Tighter Gap gibt
     mehr Spielraum für Schriftgröße. */
  .kr-hero__claim--inline {
    font-size: clamp(1.1rem, 4.4vw, 1.6rem);
    margin-top: 26px;
    gap: 0.1em 0.28em;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .kr-vorber--v2 .kr-vorber__summary { padding: 16px 18px; gap: 12px; }
  .kr-vorber__title { font-size: 1.22rem; line-height: 1.2; }
  .kr-vorber__times { font-size: 0.88rem; }
  .kr-vorber--v2 .kr-vorber__body { padding: 16px 18px 20px; }
  .kr-vorber__layout {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .kr-vorber__qr { align-self: center; max-width: 220px; margin: 0 auto; }
  .kr-vorber__qr-img { width: 140px; height: 140px; }
  .kr-vorber__text { text-align: left; }
  .kr-cta-wrap { margin-top: -52px; padding: 0 18px; margin-bottom: 50px; }
  .kr-cta { gap: 14px; padding: 18px 18px; border-radius: 14px; }
  .kr-cta__icon { width: 48px; height: 48px; border-radius: 12px; }
  .kr-cta__icon svg { width: 26px; height: 26px; }
  .kr-cta__icon--logo { width: 50px; height: 50px; border-radius: 11px; padding: 5px; }
  .kr-cta__heading { font-size: 1.05rem; }
  .kr-cta__sub { font-size: 0.84rem; line-height: 1.35; }
  .kr-cta__arrow { width: 26px; height: 26px; }
  .kr-cta__arrow svg { width: 20px; height: 20px; }
}

/* Sehr schmale Phones: vertikale Karte mit zentriertem Logo —
   wirkt grafischer und gibt jedem Element Raum. Pfeil bleibt rechts oben. */
@media (max-width: 480px) {
  .kr-hero__brand-line,
  .kr-hero__brand-suffix { white-space: nowrap; }
  .kr-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 22px 18px 20px;
    position: relative;
  }
  .kr-cta__icon--logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    padding: 7px;
    box-shadow: 0 6px 18px rgba(240, 129, 3, 0.22), 0 2px 6px rgba(0,0,0,0.08);
  }
  .kr-cta__text { gap: 6px; }
  .kr-cta__heading { font-size: 1.15rem; }
  .kr-cta__sub { font-size: 0.86rem; max-width: 32ch; margin: 0 auto; }
  .kr-cta__arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 24px;
    height: 24px;
    color: var(--blau);
    opacity: 0.8;
  }
  .kr-cta__arrow svg { width: 18px; height: 18px; }
  @media (hover: hover) and (pointer: fine) {
    .kr-cta:hover .kr-cta__arrow { transform: translate(2px, -2px); }
  }
}

/* =========================
   Selbsthilfe — Frame-Sektionen mit linkem Orange-Akzent
   Ergänzt das Karten-Grid für die längeren Fließtexte (Arbeitsweise, Angebot).
   ========================= */
.kr-frame {
  margin-top: 3.6em;
  padding: 26px 28px 24px 32px;
  background: #f7f7f7;
  border: 1px solid #e3e3e3;
  border-left: 4px solid var(--blau);
  border-radius: 0 12px 12px 0;
}
/* Direkt nach den Vergleichs-Karten extra Atemraum vor dem ersten Frame */
.mehr-grid + .kr-frame { margin-top: 4.4em; }
.kr-frame > h2 {
  margin-top: 0;
  margin-bottom: 0.6em;
  color: var(--blau);
}
.kr-frame > p {
  margin: 0.85em 0;
  line-height: 1.65;
  color: #333;
}
.kr-frame > p:first-of-type { margin-top: 0; }
.kr-frame > p:last-of-type { margin-bottom: 0; }

.kr-frame__quote {
  margin: 1.4em 0 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-style: italic;
  color: #1a1a1a;
  font-size: 1.02rem;
  line-height: 1.55;
  border-left: 3px solid rgba(240, 129, 3, 0.45);
}

/* Highlight-Variante für „Das Angebot" — kräftigerer Akzent über Border-Left,
   Hintergrund neutral hellgrau (Orange nur als linker Akzent-Streifen). */
.kr-frame--highlight {
  background: linear-gradient(135deg, #fff 0%, #f4f4f4 100%);
  border: 1px solid #e3e3e3;
  border-left: 4px solid var(--blau);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
}
.kr-frame__highlight {
  margin-top: 1.3em !important;
  padding: 12px 16px;
  background: var(--blau);
  color: #fff !important;
  border-radius: 8px;
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.kr-frame__highlight strong { color: #fff; }

/* Drei-Spalten-Grid auch wirklich 3 Spalten zwingen, falls .mehr-grid woanders 4 hat */
.mehr-grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .mehr-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .mehr-grid--3 { grid-template-columns: 1fr; }
  .kr-frame { padding: 22px 20px 20px 22px; border-radius: 0 10px 10px 0; }
  .kr-frame__quote { padding: 12px 14px; font-size: 0.95rem; }
}

/* =========================
   Hero-Trio: drei quadratische CTA-Kärtchen unter dem Hero (index.php)
   - Online Gruppen (extern, animiert)
   - Unsere Gruppen vor Ort
   - Uns unterstützen (Spenden)
   Auf Mobile stapelt sich's zu horizontalen Karten für bessere Lesbarkeit.
   ========================= */
.kr-trio {
  /* Auf Desktop: ~230 px Karten-Breite (10 px schmaler pro Karte als zuvor).
     Negativer margin-top wird angepasst, damit Karten-Mitte exakt auf der
     Video-Unterkante sitzt. Karte ist quadratisch (aspect-ratio 1/1) — also
     ~230 px hoch → margin-top -115 px. */
  max-width: 850px;
  margin: -115px auto 70px;
  padding: 0 16px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.kr-trio__card {
  aspect-ratio: 1 / 1;
  min-width: 0;              /* wichtig: verhindert dass Grid-Items aus Inhalt heraus wachsen (Mobile-Fix) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 36px 16px 20px;
  background: linear-gradient(135deg, #fff 0%, #fff8ee 100%);
  border: 1px solid rgba(240, 129, 3, 0.3);
  border-radius: 18px;
  text-decoration: none !important;
  color: #1a1a1a !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22),
              0 0 0 2px rgba(240, 129, 3, 0.10);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
  position: relative;
  overflow: visible;
}
.kr-trio__card--featured {
  animation: kr-cta-pulse 3.6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .kr-trio__card--featured { animation: none; }
}
@media (hover: hover) and (pointer: fine) {
  .kr-trio__card:hover {
    transform: translateY(-4px);
    border-color: var(--blau);
    box-shadow: 0 24px 60px rgba(240, 129, 3, 0.30),
                0 0 0 6px rgba(240, 129, 3, 0.20) !important;
  }
}
.kr-trio__card:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 4px;
}
.kr-trio__card:active { transform: translateY(0) scale(0.99); }

.kr-trio__icon {
  /* Icon ist absolut positioniert und ragt zur Hälfte über die Karten-Oberkante hinaus.
     Explicit width/height + min/max + contain — verhindert dass iOS-Chrome / WebKit
     das Container-Boxmodell verwirrt und Children auf die intrinsische Größe expandieren. */
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px !important;
  height: 84px !important;
  min-width: 84px;
  min-height: 84px;
  max-width: 84px;
  max-height: 84px;
  box-sizing: border-box;
  contain: layout size;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blau) 0%, #ff9d2c 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(240, 129, 3, 0.45),
              0 4px 10px rgba(0, 0, 0, 0.10);
  flex-shrink: 0;
  z-index: 2;
  overflow: hidden;
}
/* Inhalt im Icon-Container — sowohl SVG als auch IMG.
   Belt-and-Suspenders gegen Chrome iOS / WebKit-Quirks:
   explizite Pixel-Größen + harter Cap auf 100% des Containers. */
.kr-trio__icon svg,
.kr-trio__icon img {
  width: 50px;
  height: 50px;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
  flex-shrink: 0;
}
.kr-trio__logo {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.kr-trio__icon--logo {
  background: #fff;
  border: 1px solid rgba(240, 129, 3, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 6px;
}
.kr-trio__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.kr-trio__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.kr-trio__title {
  font-size: clamp(1.0rem, 1.4vw, 1.2rem);
  font-weight: 800;
  color: var(--blau);
  letter-spacing: 0.01em;
  line-height: 1.15;
  overflow-wrap: anywhere;   /* "unterstützen" darf zur Not innerhalb umbrechen, ohne die Karte zu sprengen */
  hyphens: auto;
  max-width: 100%;
}
.kr-trio__sub {
  font-size: clamp(0.78rem, 1.0vw, 0.88rem);
  color: #444;
  line-height: 1.4;
  max-width: 24ch;
}

/* "Mehr →" Pfeil unten rechts — auf Desktop UND Mobile sichtbar.
   Subtle Nudge-Loop signalisiert Klickbarkeit, Hover/Tap verstärkt. */
.kr-trio__arrow {
  position: absolute;
  bottom: 12px;
  right: 14px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blau);
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  animation: kr-trio-arrow-nudge 2.4s ease-in-out infinite;
  z-index: 2;
}
.kr-trio__arrow svg { width: 100%; height: 100%; }
@keyframes kr-trio-arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(3px); }
}
@media (hover: hover) and (pointer: fine) {
  .kr-trio__card:hover .kr-trio__arrow {
    opacity: 1;
    transform: translateX(5px);
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kr-trio__arrow { animation: none; }
}

/* Mobile: drei sehr kompakte Squares nebeneinander, größere Icons.
   Card-Breite ca. 97 px → margin-top -49 px = Mitte auf Video-Unterkante */
@media (max-width: 768px) {
  .kr-trio {
    max-width: 340px;
    margin: -49px auto 40px;
    padding: 0 10px;
    gap: 14px;
  }
  .kr-trio__card {
    padding: 16px 3px 8px;
    gap: 2px;
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18),
                0 0 0 2px rgba(240, 129, 3, 0.10);
  }
  .kr-trio__icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    top: -22px;
    border-radius: 10px;
    box-shadow: 0 5px 12px rgba(240, 129, 3, 0.45),
                0 2px 6px rgba(0, 0, 0, 0.10);
  }
  .kr-trio__icon svg { width: 26px; height: 26px; }
  .kr-trio__title { font-size: 0.7rem; line-height: 1.1; }
  .kr-trio__sub { display: none; }
  .kr-trio__arrow {
    bottom: 3px;
    right: 4px;
    width: 12px;
    height: 12px;
  }
}

/* Sehr schmale Phones (≤ 380 px): noch tighter */
@media (max-width: 380px) {
  .kr-trio { max-width: 320px; padding: 0 10px; gap: 10px; margin-top: -47px; }
  .kr-trio__card { padding: 14px 2px 7px; }
  .kr-trio__icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    top: -20px;
  }
  .kr-trio__icon svg { width: 24px; height: 24px; }
  .kr-trio__title { font-size: 0.66rem; }
}
}

/* =========================
   Satzung — kompakter Vertrags-/Statuten-Look
   Engerer Zeilenabstand, kleinere § -Headlines, klare Trennlinien.
   Überschreibt die freundlicheren globalen Abstände im content-wrapper.
   ========================= */
.satzung-content {
  font-size: 0.93rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.satzung-content > h2 {
  font-size: 1.04rem !important;
  font-weight: 700;
  color: var(--blau);
  letter-spacing: 0.02em;
  margin-top: 1.6em !important;
  margin-bottom: 0.4em !important;
  padding-top: 0.9em;
  padding-bottom: 0.25em;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-transform: none;
}
.satzung-content > h2:first-child {
  margin-top: 0 !important;
  padding-top: 0;
  border-top: none;
}
.satzung-content > h2 + p {
  margin-top: 0.2em !important;
}
.satzung-content > p {
  margin: 0.5em 0 !important;
  line-height: 1.55;
  text-align: justify;
  hyphens: auto;
}
.satzung-content > ol,
.satzung-content > ul {
  margin: 0.4em 0 0.7em !important;
  padding-left: 1.9em;
  line-height: 1.5;
}
.satzung-content > ol[type="a"] { padding-left: 2.0em; }
.satzung-content > ol li,
.satzung-content > ul li {
  margin: 0.2em 0 !important;
  padding-left: 0.2em;
}
.satzung-content > p + ol,
.satzung-content > p + ul {
  margin-top: 0.25em !important;
}

/* Inline-CTA-Hinweis — kein dicker Frame, nur kleines, unaufdringliches Hint */
.satzung-content__cta {
  margin: 0.6em 0 0.8em !important;
  padding: 8px 14px;
  background: rgba(240, 129, 3, 0.08);
  border-left: 3px solid var(--blau);
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
}
.satzung-content__cta a {
  color: var(--blau) !important;
  font-weight: 600;
  text-decoration: none !important;
}
@media (hover: hover) and (pointer: fine) {
  .satzung-content__cta a:hover { text-decoration: underline !important; }
}

/* Mobile: noch etwas straffer + nicht-justified (verhindert hässliche Lücken) */
@media (max-width: 600px) {
  .satzung-content { font-size: 0.9rem; }
  .satzung-content > h2 { font-size: 0.98rem !important; }
  .satzung-content > p { text-align: left; hyphens: auto; }
  .satzung-content > ol,
  .satzung-content > ul { padding-left: 1.5em; }
  .satzung-content > ol[type="a"] { padding-left: 1.7em; }
}

/* =========================
   2-Feld-Reihe innerhalb eines Formulars (Straße + Hausnr / PLZ + Ort)
   Auf Mobile (≤ 480 px) stapelt sich's wieder zu einer Spalte.
   ========================= */
.form-row-2 {
  display: grid;
  gap: 14px;
}
.form-row-2--street { grid-template-columns: 2fr 1fr; }
.form-row-2--plz-ort { grid-template-columns: 1fr 2fr; }
.form-row-2 .form-group { margin-bottom: 0; }
@media (max-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr !important; }
}

/* =========================
   MITGLIED WERDEN — Beitrags-Info-Box (Preis prominent)
   ========================= */
.mw-beitrag {
  margin: 24px 0 0;
  padding: 22px 26px;
  background: linear-gradient(135deg, #fff 0%, #f4f4f4 100%);
  border: 1px solid #e3e3e3;
  border-left: 4px solid var(--blau);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.mw-beitrag__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e3e3;
}
.mw-beitrag__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blau);
}
.mw-beitrag__price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2b2b2b;
  line-height: 1;
}
.mw-beitrag__price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  margin-left: 4px;
}
.mw-beitrag__intro {
  margin: 6px 0 12px;
  font-size: 0.92rem;
  color: #444;
}
.mw-beitrag__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 6px 18px;
}
.mw-beitrag__list li {
  padding: 6px 0 6px 12px;
  font-size: 0.92rem;
  color: #333;
  border-left: 3px solid var(--blau);
}
.mw-beitrag__list li strong { color: var(--blau); display: block; font-size: 0.86rem; }
.mw-beitrag__foot { margin: 12px 0 0; color: #888; }

/* =========================
   MITGLIED WERDEN — SEPA-Block
   Ersetzt <fieldset> mit display:flex (Browser-Quirks bei <select>),
   gleiche Optik, aber als <div> stabil.
   ========================= */
.mw-sepa-box {
  margin-top: 1.4em;
  padding: 18px 20px 14px;
  background: #f2f2f2;
}
.mw-sepa-box__legend {
  margin: 0 0 12px;
  padding: 0;
  font-weight: 600;
  color: var(--blau);
  font-size: 0.95rem;
}
.mw-sepa-box__intro {
  font-size: 0.88rem;
  color: #444;
  margin: 6px 0 12px;
  line-height: 1.55;
}
.mw-sepa-box__creditor {
  padding: 0;
  margin-bottom: 14px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #333;
}
.mw-sepa-box__beitrag {
  padding: 0;
  margin: 6px 0 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #333;
}
.mw-sepa-box .form-group { margin-bottom: 18px; }
.mw-sepa-box__widerruf { margin: 6px 0 12px; font-size: 0.83rem; color: #555; }
.mw-sepa-box__widerruf > summary { cursor: pointer; font-weight: 600; color: #444; padding: 6px 0; }
.mw-sepa-box__widerruf ul { margin: 8px 0 4px; padding-left: 1.4em; line-height: 1.55; }

/* =========================
   MITGLIED WERDEN — Foto-/Video-Einwilligungen
   Orange unterlegter Pflichtblock unter der Nachricht und vor der
   Datenschutz-Zustimmung. Beide Punkte sind eigene <details>-Aufklapper —
   Pfeil ▲ wenn zu, ▼ wenn offen. Innen Volltext + Ja/Nein-Radios. */
.mw-foto-consent {
  margin: 1.4em 0 0;
  padding: 18px 20px 16px;
  background: rgba(240, 129, 3, 0.10);
}
.mw-foto-consent__legend {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f08103;
}
.mw-foto-consent__intro {
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: #444;
}

/* Pfeil-Animationen — definiert hier, weil mitglied-werden.php als einzige
   Seite die Toggles nutzt. Identisches Pattern wie LV Baden. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes mwFotoWink {
    0%, 100% { transform: scale(1); }
    25%      { transform: scale(1.18); }
    50%      { transform: scale(1); }
    75%      { transform: scale(1.18); }
  }
  @keyframes mwFotoBreathe {
    0%, 80%, 100% { opacity: 1; }
    85%, 95%      { opacity: 0.55; }
  }
}

.mw-foto-toggle {
  border-left: 3px solid rgba(240, 129, 3, 0.45);
  padding: 0 0 0 14px;
  margin: 0 0 12px;
  background: transparent;
  min-width: 0;
}
.mw-foto-toggle:last-of-type { margin-bottom: 0; }

.mw-foto-toggle > summary {
  list-style: none;
  cursor: pointer;
  padding: 6px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  user-select: none;
  border-radius: 3px;
  transition: background-color 0.15s;
}
.mw-foto-toggle > summary::-webkit-details-marker { display: none; }

/* Pfeil als gefülltes CSS-Dreieck — geschlossen ▼ unten (klick mich auf),
   offen ▲ oben. */
.mw-foto-toggle > summary::before {
  content: "";
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #f08103;
  margin-right: 8px;
  transition: transform 0.25s ease;
  transform-origin: 50% 40%;
}
.mw-foto-toggle[open] > summary::before {
  transform: rotate(180deg);
}
.mw-foto-toggle > summary:focus-visible {
  outline: 2px solid #f08103;
  outline-offset: 2px;
}

.mw-foto-toggle__title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #f08103;
  line-height: 1.3;
  flex: 1 1 auto;
  min-width: 0;
}

.mw-foto-toggle__body {
  padding: 8px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Element-Prefix `p` absichtlich — die globale `.page-content p`-Regel
   ist (0,1,1) spezifisch und würde sonst font-size/line-height überschreiben. */
p.mw-foto-toggle__text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #3a3a3a;
}

.mw-foto-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 4px;
}
.mw-foto-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #2b2b2b;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s;
}
@media (hover: hover) and (pointer: fine) {
  .mw-foto-radio:hover { color: #f08103; }
  .mw-foto-toggle:not([open]) > summary:hover { background: rgba(240, 129, 3, 0.06); }
  .mw-foto-toggle:not([open]) > summary:hover::before { transform: translateY(2px); }
}
.mw-foto-toggle > summary:active { background: rgba(240, 129, 3, 0.10); }

.mw-foto-radio input[type="radio"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #f08103;
  flex-shrink: 0;
}
.mw-foto-radio:has(input[type="radio"]:checked) {
  color: #f08103;
  font-weight: 600;
}
.mw-foto-toggle .form-hint { margin-top: 4px; }

/* Aufmerksamkeits-Animation: einmaliger Wink + langsamer Atem-Pulse,
   nur wenn Karte zu und Nutzer keine reduzierte Bewegung wünscht. */
@media (prefers-reduced-motion: no-preference) {
  .mw-foto-toggle:not([open]) > summary::before {
    animation:
      mwFotoWink 1.2s ease-in-out 1.4s 1 both,
      mwFotoBreathe 6s ease-in-out 4s infinite;
  }
  .mw-foto-toggle[open] > summary::before,
  .mw-foto-toggle > summary:focus::before {
    animation: none;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .mw-foto-toggle > summary:hover::before { animation: none; }
}

/* Submit-Button auf Mobile zentriert (Desktop bleibt rechtsbündig). */
@media (max-width: 640px) {
  .form-submit-row { justify-content: center; }
  .mw-form-finish .form-submit-row { justify-content: center; }
}

/* =========================
   ENGAGIEREN — Vier Wege Karten
   ========================= */
.mw-wege {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.mw-wege__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px;
  background: #f7f7f7;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  text-decoration: none !important;
  color: #1a1a1a !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease,
              background 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .mw-wege__card:not(.mw-wege__card--static):hover {
    transform: translateY(-3px);
    border-color: var(--blau);
    background: #fff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
  }
}
.mw-wege__card--static { cursor: default; }
.mw-wege__card--static .mw-wege__cta a { color: var(--blau); text-decoration: none; }
.mw-wege__card--static .mw-wege__cta a:hover { text-decoration: underline; }

.mw-wege__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blau) 0%, #ff9d2c 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(240, 129, 3, 0.35);
}
.mw-wege__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.mw-wege__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blau);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
}
.mw-wege__extern {
  margin-left: 6px;
  vertical-align: middle;
  display: inline-block;
}
.mw-wege__text {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.5;
}
.mw-wege__cta {
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blau);
}
@media (max-width: 640px) {
  .mw-wege { grid-template-columns: 1fr; gap: 14px; }
  .mw-wege__card { padding: 18px 18px; gap: 14px; }
  .mw-wege__icon { width: 44px; height: 44px; }
  .mw-wege__icon svg { width: 26px; height: 26px; }
}

/* =========================
   ENGAGIEREN — Vorteile als Pulldown (auffällige Variante)
   ========================= */
.mw-vorteile {
  margin: 22px 0 28px;
  background: #f7f7f7;
  border: 1px solid #e3e3e3;
  border-left: 4px solid var(--blau);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.mw-vorteile__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}
.mw-vorteile__summary::-webkit-details-marker { display: none; }
.mw-vorteile__summary:hover { background: #efefef; }
.mw-vorteile__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blau) 0%, #ff9d2c 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(240, 129, 3, 0.4);
}
.mw-vorteile__title {
  flex: 1;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--blau);
  letter-spacing: 0.01em;
}
.mw-vorteile__badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--blau);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.mw-vorteile__chevron {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blau);
  transition: transform 0.25s ease;
}
.mw-vorteile__chevron svg { width: 100%; height: 100%; }
.mw-vorteile[open] .mw-vorteile__chevron { transform: rotate(180deg); }
.mw-vorteile__body {
  padding: 6px 24px 24px;
  border-top: 1px solid #e3e3e3;
  background: #fff;
}
.mw-vorteile__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px 18px;
}
.mw-vorteile__list li {
  padding: 14px 16px;
  background: #fff;
  border-left: 3px solid var(--blau);
  border-radius: 6px;
  font-size: 0.92rem;
  color: #333;
  line-height: 1.55;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.mw-vorteile__list li strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: var(--blau);
}
@media (max-width: 540px) {
  .mw-vorteile__summary { padding: 16px 18px; gap: 10px; flex-wrap: wrap; }
  .mw-vorteile__icon { width: 38px; height: 38px; }
  .mw-vorteile__title { font-size: 1.05rem; }
  .mw-vorteile__badge { order: 3; flex-basis: 100%; text-align: center; margin-top: 4px; }
}

/* =========================
   MITGLIED WERDEN — 2-spaltiges Form-Layout (Hauptfelder | SEPA-Box)
   Auf Mobile/Tablet (≤ 900 px) stapelt sich's wieder.
   ========================= */
.mw-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.mw-form-grid__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mw-form-grid__sepa {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mw-form-grid__sepa .mw-sepa-box { margin-top: 0; }
@media (max-width: 900px) {
  .mw-form-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Submit-Cluster: Datenschutz + Anti-Spam-Check über dem Submit-Button.
   Desktop: rechte Hälfte (analog zur SEPA-Spalte). Mobile: volle Breite. */
.mw-form-finish {
  margin-top: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mw-form-finish .form-group { margin: 0; }
.mw-form-finish .form-submit-row { margin-top: 4px; }
@media (min-width: 901px) {
  .mw-form-finish {
    width: calc(50% - 12px);
    margin-left: auto;
  }
}

/* =========================
   PAGE-ENTRY-ANIMATIONEN — reine CSS, ohne JS-Abhängigkeit.
   - Greifen automatisch beim ersten Render (Animationen starten beim
     Erscheinen des Elements im DOM).
   - Funktionieren ohne JS; .js-Class steuert nichts hier.
   - prefers-reduced-motion: Animationen werden komplett deaktiviert.
   ========================= */
@keyframes pageFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Content-Bereich aller Unterseiten: sanft hereinfaden + leicht hochrutschen.
   .page-content > .content-wrapper passt für alle Standard-Seitenlayouts. */
.page-content > .content-wrapper {
  animation: pageFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hero-Inhalt der Startseite — Überschrift, Glass-Pulldown, Claim
   nacheinander einblenden (ohne JS, nur via animation-delay).
   Dauer & Easing bewusst weich gewählt — soll nicht "snappen". */
.kr-hero__brand     { animation: pageFadeUp 1.0s cubic-bezier(0.22, 1, 0.36, 1) 0.10s both; }
.kr-vorber          { animation: pageFadeUp 1.0s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both; }
.kr-hero__claim     { animation: pageFadeUp 1.0s cubic-bezier(0.22, 1, 0.36, 1) 0.50s both; }

/* Trio-Karten auf Startseite — leicht versetzt einfaden.
   Bewusst nur opacity (kein transform), damit Hover-Lift (translateY -4px)
   durch die Animation nicht überstimmt wird. Der Slide-Effekt kommt vom
   Wrapper .kr-trio. */
.kr-trio                           { animation: pageFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }
.kr-trio__card                     { animation: pageFadeIn 0.9s ease-out 0.75s both; }
.kr-trio__card:nth-child(2)        { animation-delay: 0.90s; }
.kr-trio__card:nth-child(3)        { animation-delay: 1.05s; }
/* --featured: Entry-Fade zuerst, dann pulse via Mehrfach-Animation. */
.kr-trio__card--featured {
  animation:
    pageFadeIn 0.9s ease-out 0.75s both,
    kr-cta-pulse 3.6s ease-in-out 1.9s infinite;
}

/* Aktuelles-News-Section: nach den Trio-Karten einlaufen. */
.kr-news { animation: pageFadeIn 1.0s ease-out 1.10s both; }

/* mw-wege Karten (engagieren.php) — opacity-only Fade, gestaffelt.
   Slide-Up kommt vom umschließenden .mw-wege Wrapper, damit Hover-Lift
   (transform: translateY -3px) nicht durch die Entry-Animation überstimmt wird. */
.mw-wege                           { animation: pageFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
.mw-wege__card                     { animation: pageFadeIn 0.7s ease-out both; }
.mw-wege__card:nth-child(1)        { animation-delay: 0.35s; }
.mw-wege__card:nth-child(2)        { animation-delay: 0.48s; }
.mw-wege__card:nth-child(3)        { animation-delay: 0.61s; }
.mw-wege__card:nth-child(4)        { animation-delay: 0.74s; }

/* Vorteile-Box: nur sanftes Fade-Up beim Reinkommen — keine Dauer-Animation,
   damit Hintergrund neutral hellgrau bleibt. */
.mw-vorteile {
  animation: pageFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* Reduced-Motion: alle Page-Entry-Animationen abschalten,
   Mikro-Animationen (pulse, nudge) sind bereits separat geschützt. */
@media (prefers-reduced-motion: reduce) {
  .page-content > .content-wrapper,
  .kr-hero__brand,
  .kr-vorber,
  .kr-hero__claim,
  .kr-trio,
  .kr-trio__card,
  .kr-trio__card--featured,
  .kr-news,
  .mw-wege,
  .mw-wege__card,
  .mw-vorteile {
    animation: none !important;
  }
}

/* =========================
   E-MAIL ANTI-HARVEST (mail-helper.php + footer.php)
========================= */
.bv-mail {
  white-space: nowrap;
  word-break: keep-all;
}
.bv-mail__at {
  font-style: normal;
  opacity: 0.85;
}
.bv-mail-noscript {
  max-width: 820px;
  margin: 18px auto;
  padding: 12px 16px;
  background: #fff7ec;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #5a3a00;
  text-align: center;
}
.bv-mail-noscript code {
  background: #ffe6c2;
  padding: 1px 5px;
  border-radius: 2px;
  font-size: 0.95em;
}
.bv-mail-noscript a { color: #5a3a00; text-decoration: underline; }

/* =========================
   APP-STORES — Vorschalt-Sektion auf termine.php
========================= */
.app-stores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 760px;
  margin: 0 auto 48px;
}
.app-store {
  background: #fafafa;
  border: 1px solid var(--blau);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  border-radius: 6px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.app-store__qr { width: 100%; display: flex; justify-content: center; }
.app-store__qr img {
  width: 200px; height: 200px; max-width: 100%;
  object-fit: contain; display: block;
}
.app-store__badge {
  width: 100%; height: 56px;
  display: flex; justify-content: center; align-items: center;
}
.app-store__badge img {
  height: 100%; width: auto; max-width: 100%;
  object-fit: contain; display: block;
}
@media (max-width: 600px) {
  .app-stores { gap: 18px; }
  .app-store { padding: 22px 18px; gap: 18px; }
  .app-store__qr img { width: 170px; height: 170px; }
  .app-store__badge { height: 48px; }
}

/* =========================
   TERMINE — Liste eigene + LV-API (termine.php)
========================= */
.kr-termine {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 16px;
}
.kr-termine__item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  padding: 18px 22px 18px 38px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  position: relative;
}
.kr-termine__item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: #f08103;
  border-radius: 1px;
  pointer-events: none;
}
.kr-termine__date {
  font-weight: 700;
  color: #f08103;
  letter-spacing: 0.02em;
}
.kr-termine--api .kr-termine__item {
  padding-left: 22px;
}
.kr-termine--api .kr-termine__item::before {
  display: none;
}
.kr-termine--api .kr-termine__date {
  color: #f08103;
}
.kr-termine__title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #f08103;
}
.kr-termine--api .kr-termine__title a {
  color: #f08103;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .kr-termine--api .kr-termine__title a:hover {
    text-decoration: underline;
  }
}
.kr-termine__meta  { margin: 2px 0; font-size: 0.95rem; color: #444; }
.kr-termine__desc  { margin: 8px 0 0; color: #333; }
@media (max-width: 640px) {
  .kr-termine__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* App-CTA-Box (Termine-Seite) */
.kr-app-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 36px 0;
  padding: 24px;
  background: linear-gradient(135deg, #f5f3ee 0%, #fff 100%);
  border: 1px solid rgba(240,129,3,0.18);
  border-radius: 12px;
}
.kr-app-cta__icon {
  flex: 0 0 auto;
  width: 80px; height: 80px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
}
.kr-app-cta__icon img { width: 64px; height: 64px; object-fit: contain; }
.kr-app-cta__text { flex: 1; }
.kr-app-cta__btnrow { margin: 18px 0 0; }
@media (max-width: 640px) {
  .kr-app-cta { flex-direction: column; text-align: center; }
}

.kr-app-cta__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 0;
}
.kr-app-store {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid rgba(240,129,3,0.18);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  flex: 1 1 260px;
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .kr-app-store:hover {
    border-color: #f08103;
    box-shadow: 0 6px 18px rgba(240,129,3,0.18);
    transform: translateY(-2px);
  }
}
.kr-app-store__qr {
  flex: 0 0 auto;
  width: 110px;
  height: 110px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid rgba(0,0,0,0.06);
}
.kr-app-store__badge {
  flex: 0 0 auto;
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .kr-app-cta__stores { justify-content: center; }
  .kr-app-store { flex-direction: column; text-align: center; padding: 16px; }
  .kr-app-store__badge { height: 42px; }
}
