/* 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;          
  letter-spacing: 0.9px;     
  color: var(--blau);
  margin-bottom: 0.5em;       
}

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

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

/* 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;
}

/* 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: 0.92rem;
  color: #000;
  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;
}

.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-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);
}

.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: 0 auto 40px;
  max-width: 720px;
}
.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;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid #f08103;
  border-radius: 6px;
}
.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;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid #f08103;
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #333;
}
.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-left: 2px solid #e67e22;
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 0.96rem;
}
.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);
}

