/* Sonderzeichen-Fallback für Headlines: Londrina Solid hat für manche Zeichen (z. B. §) ein leeres Glyph,
   deshalb greift der normale Fallback nicht. Diese Schrift steht im Stack VOR Londrina und gilt nur für
   die Zeichen in unicode-range. Weitere fehlende Zeichen einfach als U+XXXX ergänzen (z. B. U+00B0 für °). */
@font-face {
  font-family: 'Wuki Sonderzeichen';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsans/v18/jizfRExUiTo99u79B_mh0O6tLR8a8zI.woff2) format('woff2');
  unicode-range: U+00A7;
}

:root {
  --radius-xs: 4px;
  --radius-s: 6px;
  --radius-m: 7px;
  --radius-l: 8px;
  --radius-button: 30px;
  --radius-button-s: 20px;
  --font-headline: 'Wuki Sonderzeichen', 'Londrina Solid', 'PT Sans', sans-serif;
  --color-orange: #f15a24;
  --color-red: #be153f;
  --color-navy: #112051;
  --color-pink-light: #f4e4e8;
  --color-cream: #fdeee8;
  --color-blue-light: #edf0f8;
  --gradient-brand: linear-gradient(90deg, #eb5b1d 0%, #e45021 23%, #d3352e 62%, #c0153e 100%);

  /* Typografie-Skala, ausgehend vom Fließtext */
  --text-base: 18px;
  --text-small: 14px;
  --text-caption: 13px;
  --text-subhead: 19px;
  --text-h3: 24px;
  --text-h2: 48px;
  --text-h1: 56px;
  --text-h1-desktop: 96px;

  /* Layout */
  --container-width: 1200px;
  --section-space: 96px;
}

@media (max-width: 600px) {
  :root { --section-space: 72px; }
}

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

body {
  font-family: 'PT Sans', sans-serif;
  font-size: var(--text-base);
  color: var(--color-navy);
  background: #fff;
  line-height: 1.6;
}

h1, h2, .headline {
  font-family: var(--font-headline);
  font-weight: 400;
  line-height: 1.1;
}

h1.on-light, h2.on-light, .headline.on-light {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

h1.on-dark, h2.on-dark, .headline.on-dark {
  color: #fff;
}

h3, .subheadline {
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: var(--text-subhead);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

a { color: var(--color-orange); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 20px 24px;
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header--hero {
  position: fixed;
  left: 0;
  right: 0;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(17,32,81,0.08);
}

.site-header img.logo { height: 28px; margin-top: 2px; }

@media (max-width: 600px) {
  .site-header { align-items: center; }
  .site-header img.logo { height: 20px; margin-top: 6px; }
  .header-cta { font-size: 11px; padding: 4px 10px; letter-spacing: 0.03em; }
  .menu-icon { width: 22px; height: 22px; }
  .menu-toggle { width: 22px; height: 22px; }
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  transform: rotate(90deg) scale(0.9);
  opacity: 0.85;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-right .header-cta {
  margin-right: 24px;
}

@media (max-width: 600px) {
  .header-right {
    display: contents;
  }
  .header-right .header-cta {
    margin-right: 0;
  }
}

.header-cta {
  background: var(--gradient-brand);
  color: #fff;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: var(--radius-button-s);
  border: 2px solid transparent;
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
  white-space: nowrap;
  text-decoration: none;
  transition: background-position 0.35s ease, transform 0.12s ease, opacity 0.2s ease;
}

.header-cta:hover { text-decoration: none; }

.hero-arrow {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: arrowBounce 2s ease-in-out infinite;
}

.hero-arrow img {
  width: 48px;
  filter: brightness(0) invert(1);
  height: auto;
  display: block;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

.main-nav {
  position: fixed;
  inset: 0;
  background: var(--gradient-brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 99;
}

.main-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav a {
  color: #fff;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  text-transform: none;
  font-size: 18px;
  letter-spacing: 0.03em;
}

.main-nav-sub {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.25);
}

.main-nav-sub a {
  color: rgba(255,255,255,0.75);
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
  text-transform: none;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.main-nav-sub a:hover { color: #fff; }

/* Logo und CTA-Button wenn Menü offen */
.site-header.nav-open {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.site-header.nav-open img.logo {
  filter: brightness(0) invert(1);
}

.site-header.nav-open .header-cta {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  box-shadow: none;
}

/* ── Startseite: transparente Kopfzeile über dem Hero ─────────────
   Nur im Ausgangszustand (ganz oben, Menü zu) – weißes Logo, weißer
   Button-Rahmen, weißes Menü-Icon, kein weißer Hintergrund.
   SCHNELL RÜCKGÄNGIG MACHEN: einfach die Klasse "site-header--hero"
   aus dem <header> in index.html entfernen, oder diesen ganzen Block
   hier löschen/auskommentieren. */
.site-header--hero:not(.scrolled):not(.nav-open) img.logo {
  filter: brightness(0) invert(1);
}

.site-header--hero:not(.scrolled):not(.nav-open) .menu-icon {
  filter: brightness(0) invert(1);
}

.site-header--hero:not(.scrolled):not(.nav-open) .header-cta {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
/* ── Ende Startseite-Kopfzeile ─────────────────────────────────── */

.nav-icon {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto 8px;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}

.nav-icon:hover { transform: rotate(-4deg) scale(1.08); }

main { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }

.placeholder-banner {
  background: var(--color-cream);
  color: var(--color-red);
  text-align: center;
  padding: 8px 16px;
  font-size: var(--text-caption);
  font-family: 'PT Sans', sans-serif;
}

.site-footer {
  background: var(--color-navy);
  color: #fff;
  padding: 32px 24px;
  font-size: var(--text-caption);
}

.site-footer a { color: var(--color-cream); }

.site-footer ul {
  list-style: none;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sektions-Baukasten */

.hero {
  position: relative;
  color: #fff;
  padding: clamp(80px, 12vh, 140px) 0 70px;
  overflow: hidden;
  isolation: isolate;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 115%;
  z-index: -2;
  will-change: transform;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center top;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--abdunklung, 0.3);
  z-index: 2;
  pointer-events: none;
}

.hero-content { max-width: var(--container-width); margin: 0 auto; margin-bottom: 12vh; padding: 0 24px; position: relative; top: 10px; z-index: 1; width: 100%; }

/* Gruppenbild-Illustration im Manifest, zwischen Text und CTA */
.manifest-illustration {
  display: block;
  max-width: 408px;
  width: 100%;
  height: auto;
  margin: 56px auto 24px;
}

@media (max-width: 600px) {
  .hero-content { margin-bottom: 8vh; }
  .site-header { padding: 20px; }
}

/* Hero mobil: niedriger, Bild rechts oben (kein Parallax unter 768px) */
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero-content { top: 20px; }
  .hero-bg { height: 100%; }
  .hero-bg img,
  .hero-bg video { object-position: var(--fokus-mobil, right) top; }
}

@media (max-width: 900px) {
  .manifest-illustration { max-width: clamp(155px, 41vw, 205px); margin: 40px auto 32px; }
}

.hero h1 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero h1 {
  font-size: clamp(40px, 10.5vw, 52px);
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

@media (min-width: 900px) {
  .hero h1 { font-size: clamp(64px, 6vw, 80px); }
}

@media (max-width: 600px) {
  .hero-arrow img { width: 32px; }
}

.hero-subline {
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  margin-top: 12px;
  opacity: 0.9;
  text-align: center;
  letter-spacing: 0.1em;
}

.hero .placeholder-note {
  font-size: 12px;
  color: var(--color-cream);
  margin-top: 16px;
  opacity: 0.8;
}

/* ── Rechtstexte (Impressum, Datenschutz, Barrierefreiheit) ─── */
.legal-content {
  max-width: 760px;
  line-height: 1.7;
}

.legal-content h2 { margin-bottom: 16px; }

.legal-content h3 {
  font-size: var(--text-small);
  margin: 32px 0 8px;
}

.legal-content p { max-width: none; }

/* Mehrere Rechtstext-Sektionen hintereinander: nahtlos wie ein Text */
.modul.rechtstext { padding-bottom: 16px; }
.modul.rechtstext + .modul.rechtstext { padding-top: 0; }
.sektionen > .modul.rechtstext:last-child { padding-bottom: var(--section-space); }

.legal-content a { color: var(--color-red); text-decoration: underline; }

.section {
  padding: var(--section-space) 24px;
  position: relative;
}

.section-inner { max-width: var(--container-width); margin: 0 auto; }

.section-gradient { background: var(--gradient-brand); color: #fff; }
.section-gradient h2 { color: #fff; }

.section-white { background: #fff; }

.section-cream { background: var(--color-cream); }

.section-pink { background: var(--color-pink-light); }

/* Hintergründe für Module aus startseite.json */
.modul.bg-weiss    { background: #fff; }
.modul.bg-creme    { background: var(--color-cream); }
.modul.bg-rosa     { background: var(--color-pink-light); }
.modul.bg-hellblau { background: var(--color-blue-light); }
.modul.bg-navy     { background: var(--color-navy); }
.modul.bg-navy h2  { color: #fff; }
.modul.bg-verlauf  { background: var(--gradient-brand); }
.modul.bg-verlauf h2 { color: #fff; }

.section h2 { font-size: var(--text-h2); margin-bottom: 16px; }

.section p { margin-bottom: 16px; max-width: 640px; }

.badge-circle {
  width: 140px;
  height: 140px;
  position: absolute;
  top: -50px;
  right: 40px;
}

.kurzinfos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.kurzinfo-card {
  background: #fff;
  border-radius: var(--radius-s);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(17,32,81,0.08);
}

.kurzinfo-card h3 { font-size: var(--text-small); margin-bottom: 8px; color: var(--color-red); }

/* ── Zentrierter Textblock (z.B. Philosophie) ─────────────────── */
.text-center-block { text-align: center; }
.text-center-block p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Team-Kacheln (Ueber uns) ─────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-s);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(17,32,81,0.08);
}

.team-card img {
  height: 260px;
  width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px;
}

.team-card h3 {
  font-size: var(--text-small);
  color: var(--color-red);
  margin-bottom: 8px;
}

.team-card p {
  font-size: var(--text-body, 16px);
  max-width: none;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .team-card img { height: 220px; }
}

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-card { padding: 16px 12px; }
  .team-card img { height: 150px; }
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.quote-card {
  background: #fff;
  border-radius: var(--radius-s);
  padding: 24px;
}

.quote-card p { font-style: italic; margin-bottom: 8px; }

.quote-card .author { font-weight: 700; font-size: var(--text-caption); color: var(--color-orange); font-style: normal; }

.cta-button {
  display: inline-block;
  background: #fff;
  color: var(--color-red);
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-button);
  margin-top: 16px;
}

.cta-button:hover { text-decoration: none; opacity: 0.9; }

.site-footer-navy {
  background: var(--color-navy);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px);
  color: #fff;
  padding: 56px 24px 32px;
  text-align: center;
}

.footer-badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: 0 auto 32px;
  font-family: var(--font-headline);
}

.footer-badge .small { font-family: 'PT Sans', sans-serif; font-size: var(--text-caption); }
.footer-badge .big { font-size: var(--text-h3); line-height: 1.1; }

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: var(--text-caption);
}

.footer-links a { color: var(--color-cream); }

.page-banner {
  background: var(--gradient-brand);
  color: #fff;
  padding: 140px 24px 56px;
  text-align: left;
}

.page-banner .section-inner h1 {
  font-size: var(--text-h1);
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .page-banner .section-inner h1 { font-size: 64px; }
}

/* ── Header-Varianten (js/layout.js) ───────────────────────────
   kopf--headline      Verlauf + Headline (Standard der Unterseiten)
   kopf--bild          Bild/Video mit Abdunklung, Höhe über --kopf-hoehe
   kopf--illustration  Hintergrund wählbar, Headline links, Grafik rechts (40:60) */
.kopf--bild {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: var(--kopf-hoehe, 40vh);
  display: flex;
  align-items: flex-end;
  background: var(--color-navy);
}
.kopf--bild .section-inner { width: 100%; position: relative; z-index: 1; }
.kopf--bild h1 { text-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.kopf--bild .hero-bg img,
.kopf--bild .hero-bg video { object-position: center center; }

.kopf-bg-navy     { background: var(--color-navy); }
.kopf-bg-creme    { background: var(--color-cream); }
.kopf-bg-rosa     { background: var(--color-pink-light); }
.kopf-bg-hellblau { background: var(--color-blue-light); }

.kopf-illu-inner > * { min-width: 0; }
.kopf-illu-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: end;
}
.kopf-illu-inner h1 { margin-bottom: 0; }

/* Die Grafik ist eine Maske über einer Farbfläche: auf dunkel weiß, auf hell im Verlauf */
.kopf-grafik {
  width: 100%;
  max-width: 520px;
  justify-self: center;
  background: #fff;
  -webkit-mask: var(--maske) center / contain no-repeat;
  mask: var(--maske) center / contain no-repeat;
}
.kopf--hell .kopf-grafik { background: var(--gradient-brand); }
.kopf-grafik img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  visibility: hidden;
}

@media (max-width: 768px) {
  .kopf--bild .hero-bg img,
  .kopf--bild .hero-bg video { object-position: var(--fokus-mobil, center) center; }
  .kopf-illu-inner { grid-template-columns: minmax(0, 1fr) 34%; gap: 16px; }
  .kopf--illustration .section-inner h1 {
    font-size: clamp(30px, 9vw, 44px);
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .kopf-grafik img { max-height: 140px; }
}

.accordion-item {
  border-bottom: 1px solid rgba(17,32,81,0.1);
}

.accordion-item summary {
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: var(--text-subhead);
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}

.accordion-item summary::-webkit-details-marker { display: none; }

.accordion-item p {
  padding-bottom: 18px;
  max-width: 720px;
}

.faq-item {
  padding-bottom: 20px;
  max-width: 720px;
}

.faq-item:last-child { padding-bottom: 24px; }

.faq-question {
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
  padding-bottom: 0;
}

.faq-answer {
  color: rgba(17,32,81,0.85);
  padding-bottom: 0;
  line-height: 1.6;
}

.dummy-note {
  background: var(--color-cream);
  color: var(--color-red);
  font-size: var(--text-caption);
  padding: 6px 16px;
  text-align: center;
}

.section-placeholder .section-inner {
  text-align: center;
}

.section-placeholder .section-inner p {
  margin-left: auto;
  margin-right: auto;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.teaser-card {
  background: #fff;
  border-radius: var(--radius-m);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(17,32,81,0.08);
  display: block;
  transition: transform 0.25s ease;
}

.teaser-card:hover { transform: translateY(-4px) !important; text-decoration: none; }

.teaser-card h3 {
  font-family: var(--font-headline);
  text-transform: none;
  font-size: var(--text-h3);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 8px;
  letter-spacing: normal;
}

.teaser-card p {
  font-size: var(--text-small);
  color: var(--color-navy);
  margin-bottom: 0;
}

.manifest h2 {
  font-size: var(--text-h2);
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .manifest h2 { font-size: clamp(32px, 8vw, 40px); }
  .section h2,
  .news-home-intro h2 { font-size: clamp(32px, 8vw, 40px); }
}

.manifest p {
  max-width: 720px;
  margin: 0 auto 20px;
  text-align: center;
}

.manifest-cta {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 32px;
  border-radius: var(--radius-button);
  margin-top: 32px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.manifest-cta span {
  display: inline-block;
  color: #fff;
}

.manifest-cta:hover {
  background: #fff;
  text-decoration: none;
}

.manifest-cta:hover span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .manifest-cta { margin-top: 24px; }
}

/* überlappende Kreise */
.section-split-wrap {
  background: #fff;
  padding: 80px 0 105px;
  overflow: visible;
}

.split-section {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.split-circle {
  width: 640px;
  height: 640px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 70px;
  flex-shrink: 0;
  will-change: transform;
}

.split-circle:first-child {
  margin-right: -100px;
  z-index: 1;
  background: var(--color-cream);
}

.split-circle:last-child {
  z-index: 2;
  background: var(--color-pink-light);
  mix-blend-mode: multiply;
}


.split-circle img {
  width: 49%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
}

.split-circle p {
  font-size: var(--text-base);
  margin-bottom: 20px;
  max-width: 340px;
}

.split-cta {
  display: inline-block;
  background: var(--gradient-brand);
  color: #fff;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 24px;
  border-radius: var(--radius-button);
  text-decoration: none;
  transition: background-position 0.35s ease, transform 0.12s ease;
  white-space: nowrap;
}

.split-cta:hover { text-decoration: none; }

@media (max-width: 900px) {
  .section-split-wrap {
    padding: 40px 24px;
    background: #fff;
  }
  .split-section {
    flex-direction: column;
    gap: 24px;
  }
  .split-circle {
    width: 100%;
    height: auto;
    border-radius: var(--radius-l);
    padding: 40px 24px;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    mix-blend-mode: normal;
  }
  .split-circle:first-child { z-index: 1; }
  .split-circle:last-child  { z-index: 1; }
  .split-circle img { max-width: 80%; }
  .split-circle p   { max-width: 100%; }
  .split-circle     { transform: none !important; }
}

.manifest .lead {
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--text-small);
  letter-spacing: 0.06em;
  color: var(--color-red);
  margin-bottom: 12px;
}

/* Intro-Logo-Animation beim ersten Besuch */

.intro-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.intro-logo {
  position: fixed;
  height: 110px;
  width: auto;
  max-width: 70vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: top left;
  transition: transform 0.9s cubic-bezier(.65,0,.35,1);
}

@media (max-width: 600px) {
  .intro-logo { height: 56px; }
}

.intro-overlay.intro-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-overlay.intro-skip {
  display: none;
}

/* News-System */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-blue-light);
  border-radius: var(--radius-m);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.news-card:hover { transform: translateY(-4px) !important; text-decoration: none; }

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.news-datum {
  font-size: var(--text-caption);
  color: #999;
}

.news-card h3 {
  font-family: var(--font-headline);
  font-size: var(--text-h3);
  color: var(--color-navy);
  display: block;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
  margin-bottom: 4px;
}

.news-card p {
  font-size: var(--text-small);
  color: var(--color-navy);
  margin: 0;
}

.news-section-intro {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

/* Gut zu wissen – Header mit Bild links */
.news-home-section {
  background: #fff;
  padding-bottom: var(--section-space);
}

.news-home-header {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 48px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Grafik rechts neben dem Text */
.news-home-img {
  order: 2;
  overflow: hidden;
}

.news-home-img img {
  width: 100%;
  height: auto;
  display: block;
}

.news-home-intro {
  padding: var(--section-space) 0 40px;
}

.news-home-intro h2 { font-size: var(--text-h2); margin-bottom: 16px; }

.news-home-intro p { max-width: 520px; }

@media (max-width: 768px) {
  .news-home-header {
    grid-template-columns: 1fr;
    gap: 0;
    padding: var(--section-space) 0 0;
  }
  .news-home-img {
    order: 0;
    max-width: 105px;
    margin: 0 auto;
  }
  .news-home-intro { padding: 24px 24px 24px; text-align: center; }
  .news-home-intro h2 { font-size: clamp(32px, 8vw, 40px); }
  .news-home-intro p { margin-left: auto; margin-right: auto; }
  .news-home-section .section-inner { padding: 0 24px; }
}

/* Manifest Button + Bild – als zentrierte Gruppe nebeneinander */
.manifest-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  flex-wrap: wrap;
}

.section.manifest {
  overflow: visible;
}

.manifest-cta {
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.manifest-img {
  margin-left: -80px;
  position: relative;
  z-index: 1;
}

.manifest-img img {
  width: 400px;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .manifest-img { margin-left: 0; }
}

@media (max-width: 900px) {
  .manifest-bottom { flex-direction: column; gap: 24px; }
  .manifest-cta { margin-top: 8px; margin-left: 0; display: inline-block; }
  .manifest-img { display: none; }
}

/* ── Team (Startseite) ─────────────────────────────────────────
   Karten aus data/team.json. Hover (Desktop) bzw. Tippen (mobil):
   neutrales Foto wechselt zum fröhlichen, Abdunklung, Name + Position. */
.team-section .section-inner { text-align: center; }
.team-section .section-inner > p { margin-left: auto; margin-right: auto; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}

.team-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: none;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: #fff;
  color: #fff;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.team-img {
  position: absolute;
  inset: 0;
  transition: opacity 0.35s ease;
}

.team-img picture,
.team-img img {
  display: block;
  width: 100%;
  height: 100%;
}

.team-img img {
  object-fit: cover;
  object-position: center top;
}

.team-img--froh { opacity: 0; }

.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.15) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.team-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.team-name {
  display: block;
  font-family: var(--font-headline);
  font-size: var(--text-h3);
  line-height: 1.1;
  color: #fff;
}

.team-position {
  display: block;
  margin-top: 4px;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.team-card:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
}

/* Aktiver Zustand: Tippen (mobil) und Tastatur-Fokus */
.team-card.is-active .team-img--froh,
.team-card:focus-visible .team-img--froh { opacity: 1; }
.team-card.is-active::after,
.team-card:focus-visible::after { opacity: 1; }
.team-card.is-active .team-info,
.team-card:focus-visible .team-info { opacity: 1; transform: translateY(0); }

/* Hover nur auf Geräten mit Maus */
@media (hover: hover) {
  .team-card:hover .team-img--froh { opacity: 1; }
  .team-card:hover::after { opacity: 1; }
  .team-card:hover .team-info { opacity: 1; transform: translateY(0); }
}

.team-grid .team-card:nth-child(4n+1) { transition-delay: 0ms; }
.team-grid .team-card:nth-child(4n+2) { transition-delay: 70ms; }
.team-grid .team-card:nth-child(4n+3) { transition-delay: 140ms; }
.team-grid .team-card:nth-child(4n+4) { transition-delay: 210ms; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
  .team-info { padding: 12px; }
  .team-name { font-size: var(--text-subhead); }
  .team-position { font-size: var(--text-caption); }
}

/* Galerie Masonry */
.galerie-section { padding-top: var(--section-space); padding-bottom: var(--section-space); }

.galerie-section .section-inner { text-align: center; }

.galerie-section .masonry-grid { margin-top: 32px; }

.masonry-grid {
  columns: var(--galerie-spalten, 3);
  column-gap: 16px;
}

.masonry-grid .galerie-item {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  border-radius: var(--radius-s);
  break-inside: avoid;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.masonry-grid .galerie-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.masonry-grid .galerie-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .masonry-grid { columns: 2; }
}

/* ── Tagesablauf: seitwärts scrollende Timeline ───────────────── */
.tagesablauf-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 32px;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.tagesablauf-track {
  display: flex;
  align-items: flex-start;
  min-width: max-content;
  padding: 8px 4px 0;
}

.tagesablauf-stop {
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  scroll-snap-align: center;
}

.tagesablauf-time {
  display: block;
  font-size: var(--text-caption);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
  white-space: nowrap;
}

.tagesablauf-dot-row {
  position: relative;
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tagesablauf-dot-row::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -50%;
  width: 100%;
  height: 4px;
  transform: translateY(-50%);
  background: var(--color-orange);
  z-index: 1;
}

.tagesablauf-stop:first-child .tagesablauf-dot-row::before { display: none; }

.tagesablauf-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--color-orange);
  position: relative;
  z-index: 2;
}

.tagesablauf-stop:nth-child(3n+2) .tagesablauf-dot { border-color: var(--color-red); }
.tagesablauf-stop:nth-child(3n+2) .tagesablauf-dot-row::before { background: var(--color-red); }
.tagesablauf-stop:nth-child(3n+3) .tagesablauf-dot { border-color: var(--color-navy); }
.tagesablauf-stop:nth-child(3n+3) .tagesablauf-dot-row::before { background: var(--color-navy); }

.tagesablauf-label {
  display: block;
  margin-top: 12px;
  font-size: var(--text-caption);
  line-height: 1.4;
  max-width: 140px;
}

/* ── Lightbox ──────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17,32,81,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  border-radius: var(--radius-xs);
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-close img { width: 18px; height: 18px; display: block; }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-arrow:hover { background: rgba(255,255,255,0.3); }

.lightbox-arrow img { width: 20px; height: 20px; display: block; }

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 600px) {
  .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* 50/50 CTA-Duo-Sektion */
.section-cta-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cta-duo-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cta-duo-cream { background: var(--color-cream); }
.cta-duo-pink  { background: var(--color-pink-light); }

.cta-duo-panel img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.cta-duo-text {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-duo-text h2 { font-size: var(--text-h2); }

.cta-duo-text p { max-width: 420px; }

@media (max-width: 768px) {
  .section-cta-duo { grid-template-columns: 1fr; }
  .cta-duo-text { padding: 32px 24px; }
}

/* Neuer Footer */
.site-footer-new {
  background: var(--color-navy);
  padding: 0;
  overflow: hidden;
}

.footer-inner-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer-col {
  padding: 73px 32px 0;
}

.footer-addr {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-caption);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
  padding-left: 0;
  margin-top: 15px;
}

.footer-addr .footer-name {
  color: #fff;
  font-weight: 700;
  font-size: var(--text-small);
}

.footer-mid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  padding-bottom: 0;
  padding-left: 0;
  position: relative;
  top: -10px;
  left: -10px;
}

.footer-wuki-btn {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.footer-group-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
}

.footer-nav {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-bottom: 0;
  margin-top: 15px;
}

.footer-links-new {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-links-new a {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-caption);
  text-decoration: none;
}

.footer-links-new a:hover { color: #fff; }

.footer-copyright {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: var(--text-caption);
  padding: 24px;
  margin-top: 20px;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

/* Fußzeile: mobil bricht der zweite Teil immer in eine eigene Zeile um */
@media (max-width: 768px) {
  .footer-copy-2 { display: block; }
}

@media (max-width: 768px) {
  .footer-inner-3col {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "nav nav"
      "mid addr";
    column-gap: 16px;
  }
  .footer-col { padding: 24px 24px 0; }
  .footer-addr {
    grid-area: addr;
    padding-left: 0;
    margin-top: 0;
    align-items: center;
    text-align: center;
    align-self: center;
  }
  .footer-addr .footer-phone { color: #fff; }
  .footer-nav {
    grid-area: nav;
    justify-content: center;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 32px;
  }
  .footer-links-new { align-items: center; }
  .footer-mid {
    grid-area: mid;
    align-items: center;
    position: static;
    top: auto;
    left: auto;
    align-self: center;
  }
  .footer-group-img { max-width: 220px; }
}
/* ── Modul „textspalten“: Einleitung, Kennzahlen, Abschnitte in Spalten ── */
.ts .section-inner { text-align: center; }

.ts-illustration {
  display: block;
  width: 180px;
  max-width: 50%;
  height: auto;
  margin: 0 auto 32px;
}

/* Einfarbige Grafik im Markenverlauf (Bild dient nur als Maske) */
.ts-illustration--verlauf {
  background: var(--gradient-brand);
  -webkit-mask: var(--maske) center / contain no-repeat;
  mask: var(--maske) center / contain no-repeat;
}
.ts-illustration--verlauf img {
  display: block;
  width: 100%;
  height: auto;
  visibility: hidden;
}

.section .ts-einleitung {
  font-size: var(--text-h3);
  line-height: 1.5;
  max-width: 860px;
  margin: 8px auto 0;
}

/* Desktop: Headline und Intro linksbündig, Intro 75 % der Inhaltsbreite (wie der Text darunter) */
@media (min-width: 901px) {
  .section .ts-einleitung {
    max-width: 75%;
    margin: 8px 0 0;
    text-align: left;
  }
  .ts .section-inner { text-align: left; }
}

/* Kennzahlen als Cards: heben sich vom Hintergrund ab */
.ts-zahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 64px auto 0;
}

.ts-zahl {
  background: var(--color-cream);
  border-radius: var(--radius-m);
  padding: 32px 24px;
  text-align: center;
  color: var(--color-navy);
}
.modul.bg-creme .ts-zahl,
.modul.bg-rosa .ts-zahl,
.modul.bg-hellblau .ts-zahl,
.modul.bg-navy .ts-zahl,
.modul.bg-verlauf .ts-zahl { background: #fff; }

/* Card-Farbe wählbar (Feld „Cards“ der Kennzahlen-Sektion) */
.ts-kz .ts-zahlen--weiss .ts-zahl { background: #fff; }
.ts-kz .ts-zahlen--hellblau .ts-zahl { background: var(--color-blue-light); }
.ts-kz .ts-zahlen--verlauf .ts-zahl { background: var(--gradient-brand); color: #fff; }
.ts-kz .ts-zahlen--navy .ts-zahl { background: var(--color-navy); color: #fff; }
.ts-kz .ts-zahlen--verlauf .ts-zahl strong,
.ts-kz .ts-zahlen--navy .ts-zahl strong {
  background: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.ts-zahl strong {
  display: block;
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: var(--text-h1-desktop);
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* „Zahlen in einer Zeile“: Größe setzt sektionen.js (--zahl-groesse), damit die längste Zahl passt */
.ts-zahlen--einzeilig .ts-zahl strong {
  white-space: nowrap;
  font-size: var(--zahl-groesse, var(--text-h1-desktop));
}
@media (max-width: 600px) {
  .ts-zahlen--einzeilig .ts-zahl strong { font-size: var(--zahl-groesse, var(--text-h1)); }
}

.ts-zahl span {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ts-grid {
  display: grid;
  grid-template-columns: repeat(var(--ts-spalten, 2), 1fr);
  gap: 40px 64px;
  margin-top: 56px;
  text-align: left;
}

.ts-abschnitt h3 {
  color: var(--color-red);
  margin-bottom: 10px;
}

.ts-zahlen + .ts-grid { margin-top: 88px; }
.section .ts-abschnitt p { max-width: none; }
.section .ts-abschnitt p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .ts-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
}

@media (max-width: 600px) {
  .section .ts-einleitung { font-size: var(--text-subhead); }
  .ts-zahlen { gap: 16px; margin-top: 44px; }
  .ts-zahlen + .ts-grid { margin-top: 56px; }
  .ts-zahl { padding: 24px 20px; }
  .ts-zahl strong { font-size: var(--text-h1); }
}

/* Kopf der Textspalten: Überschrift + Einleitung links, Grafik rechts (wie Wissenswertes auf der Startseite) */
.ts-kopf--grafik {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 48px;
  align-items: center;
}
.ts-kopf-grafik .ts-illustration {
  width: 100%;
  max-width: none;
  margin: 0;
}
.ts-kopf--grafik .ts-einleitung { max-width: none; }

@media (max-width: 900px) {
  .ts-kopf--grafik { grid-template-columns: 1fr; gap: 24px; }
  .ts-kopf-grafik { order: -1; max-width: 120px; margin: 0 auto; }
  .ts-kopf--grafik .ts-einleitung { margin-left: auto; margin-right: auto; }
}

/* Kennzahlen als eigene Sektion */
.ts-kz { padding-top: calc(var(--section-space) * 1.25); padding-bottom: calc(var(--section-space) * 1.25); }
.ts-kz .section-inner { text-align: center; }
.ts-kz .ts-zahlen { margin-top: 0; }
/* Ab 3 Cards: volle Breite der Box (Desktop) */
.ts-kz .ts-zahlen--breit { max-width: none; }
.ts-kz h2 + .ts-zahlen { margin-top: 40px; }
@media (min-width: 901px) {
  .ts-kz .section-inner { text-align: left; }
}

/* ── Split Text+Bild Layout ────────────────────────────────── */
.split-text-img-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.split-img-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-img-col img {
  width: 100%;
  height: auto;
  display: block;
}

.split-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.split-content-col h2 { margin-bottom: 16px; }
.split-content-col p  { max-width: 480px; }

/* ── Modul „text-bild“ (Startseite, aus startseite.json) ──────
   Grafikgröße kommt als --tb-bild (max. Breite) und --tb-bild-h (max. Höhe)
   aus dem Modul. Mobil 45 % davon, sofern kein eigener Mobilwert gesetzt ist. */
.tb .split-img-col img {
  width: var(--tb-bild, 300px);
  max-width: 100%;
  max-height: var(--tb-bild-h, none);
  object-fit: contain;
}

/* Einfarbige Grafik im Markenverlauf: das Bild ist nur Maske (unsichtbar, gibt die Größe vor) */
.tb-grafik {
  display: block;
  width: fit-content;
  max-width: 100%;
  background: var(--gradient-brand);
  -webkit-mask: var(--maske) center / contain no-repeat;
  mask: var(--maske) center / contain no-repeat;
}
.tb-grafik img { visibility: hidden; }

.tb .split-cta {
  margin-top: 24px;
  display: inline-block;
}

/* Foto statt Grafik: füllt die Spalte, weiche Ecken */
.tb--foto .split-img-col img {
  width: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  border-radius: var(--radius-l);
}

@media (max-width: 768px) {
  .split-text-img-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .split-content-col { align-items: center; }
  .tb .split-img-col { order: -1; }
  .tb .split-img-col img {
    width: var(--tb-bild-mobil, calc(var(--tb-bild, 300px) * 0.45));
    max-height: calc(var(--tb-bild-h, 2000px) * 0.45);
  }
  .tb--foto .split-img-col img {
    width: 100%;
    max-height: none;
  }
}

/* ── Scroll-Reveal: konsistente "Corporate"-Animation ─────────
   Texte und Bilder gleiten beim Scrollen dezent von unten ein.
   Ausnahmen: Hero-Hintergrund (Parallax statt Reveal), Krippe/Kita-
   Kreise (eigener Scroll-Effekt in nav.js), Wissenswertes-Bild
   oben (hängt am Rand), Footer (nur das runde Wuki-Logo). */
.js .section h2,
.js .section p,
.js .hero-content h1,
.js .hero-subline,
.js .legal-content h3,
.js .ts-abschnitt h3,
.js .news-text h3,
.js .news-text li,
.js .page-banner h1,
.js .page-banner p,
.js .manifest-cta,
.js .manifest-img,
.js .manifest-illustration,
.js .news-home-section .split-cta,
.js .tb .split-cta,
.js .split-img-col img,
.js .tb-grafik,
.js .masonry-grid .galerie-item,
.js .news-card,
.js .team-card,
.js .ts-zahl,
.js .footer-wuki-btn,
.js .quote-content blockquote,
.js .quote-grafik img,
.js .kopf-grafik,
.js .quote-attribution {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(.25,.46,.45,.94),
              transform 0.65s cubic-bezier(.25,.46,.45,.94);
}

.js .reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Stagger fuer Bild-/Kartengruppen */
.masonry-grid .galerie-item:nth-child(1) { transition-delay: 0ms; }
.masonry-grid .galerie-item:nth-child(2) { transition-delay: 70ms; }
.masonry-grid .galerie-item:nth-child(3) { transition-delay: 140ms; }
.masonry-grid .galerie-item:nth-child(4) { transition-delay: 210ms; }
.masonry-grid .galerie-item:nth-child(5) { transition-delay: 280ms; }
.masonry-grid .galerie-item:nth-child(6) { transition-delay: 350ms; }
.masonry-grid .galerie-item:nth-child(7) { transition-delay: 420ms; }
.masonry-grid .galerie-item:nth-child(8) { transition-delay: 490ms; }

.news-grid .news-card:nth-child(1) { transition-delay: 0ms; }
.news-grid .news-card:nth-child(2) { transition-delay: 90ms; }
.news-grid .news-card:nth-child(3) { transition-delay: 180ms; }
.news-grid .news-card:nth-child(4) { transition-delay: 270ms; }
.news-grid .news-card:nth-child(5) { transition-delay: 360ms; }
.news-grid .news-card:nth-child(6) { transition-delay: 450ms; }

@media (prefers-reduced-motion: reduce) {
  .js .section h2,
  .js .section p,
  .js .legal-content h3,
  .js .ts-abschnitt h3,
  .js .news-text h3,
  .js .news-text li,
  .js .hero-content h1,
  .js .hero-subline,
  .js .page-banner h1,
  .js .page-banner p,
  .js .manifest-cta,
  .js .manifest-img,
  .js .manifest-illustration,
  .js .news-home-section .split-cta,
  .js .tb .split-cta,
  .js .split-img-col img,
  .js .tb-grafik,
  .js .masonry-grid .galerie-item,
  .js .news-card,
  .js .team-card,
  .js .ts-zahl,
  .js .footer-wuki-btn,
  .js .quote-content blockquote,
  .js .quote-grafik img,
  .js .kopf-grafik,
  .js .quote-attribution {
    transition: none !important;
  }
}

/* ── Kinderstimmen (Zitat-Sektion) ─────────────────────────────
   Drei Varianten, gesteuert über Klassen an .quote-section:
   1. quote--foto     hell mit Foto, Zitat im Verlauf, Beschreibung schwarz
        + quote--foto-links | quote--foto-rechts   Seite des Fotos
        + quote--weich | quote--hart               Übergang Foto → Text
      oder + quote--foto-mitte                     Foto vollflächig, weiß
                                                   abgesoftet, Text mittig schwarz
   2. quote--navy     Dunkelblau, Zitat + Grafik weiß
   3. quote--verlauf  Orange-Rot-Verlauf, Zitat + Grafik weiß
        bei 2 und 3: + quote--grafik-links | quote--grafik-rechts
   Die SVG-Grafik wird per Filter weiß, egal in welcher Farbe sie vorliegt. */
.quote-section {
  --quote-bg: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: var(--quote-bg);
}

.quote-content {
  position: relative;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--section-space) 24px;
  width: 100%;
}

.quote-text {
  max-width: 520px;
  text-align: center;
}

/* gleichmäßige Zeilen, keine einzelnen Wörter in der letzten Zeile */
.quote-content blockquote,
.quote-attribution { text-wrap: balance; }

.quote-content blockquote {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.25;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quote-attribution {
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: #000;
  margin-top: 20px;
}

/* 1. Hell mit Foto */
.quote--foto { min-height: 56vh; }

.quote-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -15%;
  height: 130%;
  z-index: -1;
  will-change: transform;
}

.quote-bg picture,
.quote-bg img {
  display: block;
  width: 100%;
  height: 100%;
}

.quote-bg img {
  object-fit: cover;
  object-position: left center;
}

.quote--foto-rechts .quote-bg img { object-position: right center; }

.quote--foto-links .quote-text { margin-left: auto; }
.quote--foto-rechts .quote-text { margin-right: auto; }

/* weich: Foto läuft hinter dem Text in die Hintergrundfarbe aus */
.quote--weich .quote-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.quote--weich.quote--foto-links .quote-bg::after {
  background: linear-gradient(to right, transparent 40%, var(--quote-bg) 60%);
}
.quote--weich.quote--foto-rechts .quote-bg::after {
  background: linear-gradient(to left, transparent 40%, var(--quote-bg) 60%);
}

/* weich: Text etwas weiter nach außen als der Container */
.quote--weich .quote-content { max-width: calc(var(--container-width) + 160px); }

/* hart: Foto füllt genau eine Hälfte, Kante in der Mitte */
.quote--hart.quote--foto-links .quote-bg { right: 50%; }
.quote--hart.quote--foto-rechts .quote-bg { left: 50%; }
.quote--hart .quote-bg img { object-position: center center; }
.quote--hart .quote-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 96px;
}
.quote--hart .quote-text {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
/* Text bündig zum Foto hin */
.quote--hart.quote--foto-links .quote-text { grid-column: 2; margin-left: 0; text-align: left; }
.quote--hart.quote--foto-rechts .quote-text { grid-column: 1; margin-right: 0; text-align: right; }

/* Foto mittig: Foto vollflächig, weiß abgesoftet, Text mittig in Schwarz */
.quote--foto-mitte .quote-bg img { object-position: center center; }
.quote--foto-mitte .quote-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.55);
  pointer-events: none;
}
.quote--foto-mitte .quote-text { margin-left: auto; margin-right: auto; }
.quote--foto-mitte .quote-content blockquote {
  background: none;
  color: #000;
  -webkit-text-fill-color: #000;
}

/* 2. Dunkelblau und 3. Verlauf, jeweils mit Grafik */
.quote--navy { --quote-bg: var(--color-navy); }
.quote--verlauf { background: var(--gradient-brand); }

.quote--navy .quote-content,
.quote--verlauf .quote-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.quote--navy .quote-text,
.quote--verlauf .quote-text { margin: 0 auto; }

.quote--grafik-rechts .quote-grafik { order: 2; }

.quote-grafik img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 360px;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.quote--navy .quote-content blockquote,
.quote--verlauf .quote-content blockquote {
  background: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.quote--navy .quote-attribution,
.quote--verlauf .quote-attribution { color: #fff; }

@media (max-width: 768px) {
  .quote-text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Foto (weich und hart): Foto vollflächig, weiß abgesoftet, Text auf dem Bild */
  .quote--foto { min-height: 70vh; }
  .quote--hart.quote--foto-links .quote-bg,
  .quote--hart.quote--foto-rechts .quote-bg {
    left: 0;
    right: 0;
  }
  .quote--foto .quote-bg::after,
  .quote--weich.quote--foto-links .quote-bg::after,
  .quote--weich.quote--foto-rechts .quote-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    pointer-events: none;
  }
  .quote--foto-mitte .quote-bg::after { background: rgba(255,255,255,0.55); }
  .quote--hart .quote-content { display: block; }

  /* Grafik-Varianten: Grafik und Text bleiben nebeneinander,
     Text bündig zur Grafik hin */
  .quote--navy .quote-content,
  .quote--verlauf .quote-content {
    grid-template-columns: minmax(72px, 28%) 1fr;
    gap: 20px;
  }
  .quote--grafik-rechts.quote--navy .quote-content,
  .quote--grafik-rechts.quote--verlauf .quote-content {
    grid-template-columns: 1fr minmax(72px, 28%);
  }
  .quote--grafik-links .quote-text { text-align: left; }
  .quote--grafik-rechts .quote-text { text-align: right; }
  .quote--navy .quote-content blockquote,
  .quote--verlauf .quote-content blockquote { font-size: var(--text-h3); }
  .quote--navy .quote-attribution,
  .quote--verlauf .quote-attribution {
    font-size: var(--text-small);
    margin-top: 12px;
  }
  .quote-grafik img { max-height: 240px; }
}

/* ── Verlaufs-Buttons: Ruhezustand mehr Orange, Hover/Klick wandert der Verlauf nach Rot ──
   Der Verlauf ist doppelt so breit wie der Button; background-position schiebt ihn.
   Zurück zur alten Optik: background-size/-position entfernen und opacity-Hover wieder ergänzen. */
.header-cta,
.split-cta {
  background-size: 200% 100%;
  background-position: 0% 50%;
}
.header-cta:hover,
.split-cta:hover { background-position: 100% 50%; }
.header-cta:active,
.split-cta:active { background-position: 100% 50%; transform: translateY(1px) scale(0.97); }

/* Kopfzeile in transparentem/Menü-Zustand: weiße Outline, dort bleibt der leichte Hover */
.site-header--hero:not(.scrolled):not(.nav-open) .header-cta:hover,
.site-header.nav-open .header-cta:hover { opacity: 0.8; }

/* ── Abstand zwischen Sektionen (Backend: Abstand oben/unten je Sektion) ── */
.abs-o-klein  { padding-top: calc(var(--section-space) * 0.4) !important; }
.abs-o-keiner { padding-top: 0 !important; }
.abs-u-klein  { padding-bottom: calc(var(--section-space) * 0.4) !important; }
.abs-u-keiner { padding-bottom: 0 !important; }
/* Textspalten ohne Kopf: kein zusätzlicher Abstand über den Abschnitten */
.ts .section-inner > .ts-grid:first-child { margin-top: 0; }

/* ── Tagesablauf als waagerechte Zeitachse ───────────────────── */
.tk { margin-top: 96px; text-align: left; }
.tk-svg { display: block; width: 100%; max-width: 1080px; height: auto; margin: 0 auto; overflow: visible; }
.tk-mobil { display: none; }

.tk-grau, .tk-seg { fill: none; stroke-width: 4; }
.tk-grau { stroke: #d9d9d9; }
.tk-seg { stroke-dasharray: 100 100; transition: stroke-width .25s ease, opacity .25s ease; }
.tk-seg-hit { fill: none; stroke: transparent; stroke-width: 30; pointer-events: stroke; cursor: pointer; }
.tk-seg.is-aktiv { stroke-width: 8; }

.tk-dot { cursor: pointer; outline: none; }
.tk-dot-hit { fill: transparent; pointer-events: all; }
.tk-punkt {
  fill: #fff;
  stroke: var(--f, var(--color-orange));
  stroke-width: 4;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), fill .2s ease, opacity .25s ease;
  pointer-events: none;
}
.tk-dot.is-aktiv .tk-punkt, .tk-dot:focus-visible .tk-punkt { transform: scale(1.4); fill: var(--f, var(--color-orange)); }
.tk-dot:focus-visible .tk-punkt { stroke: var(--color-navy); }

/* Beschriftung im 45°-Winkel über dem Punkt */
.tk-label {
  font-size: 15px;
  fill: var(--color-navy);
  font-family: 'PT Sans', sans-serif;
  cursor: pointer;
  transition: opacity .25s ease, fill .2s ease;
}
.tk-label-zeit { font-weight: 700; }
.tk-label.is-aktiv { fill: var(--f, var(--color-red)); }

.tk--aktiv .tk-seg:not(.is-aktiv) { opacity: .35; }
.tk--aktiv .tk-dot:not(.is-aktiv) .tk-punkt { opacity: .5; }
.tk--aktiv .tk-label:not(.is-aktiv) { opacity: .45; }

.tk-tick { font-size: 14px; fill: #9a9a9a; font-family: 'PT Sans', sans-serif; pointer-events: none; }
.tk-tick--gross { font-weight: 700; fill: #6f6f6f; }

/* Aufbau-Animation: erst der graue Strich, dann Station für Station mit Punkt und Beschriftung */
.js .tk .tk-grau { stroke-dasharray: 100 100; stroke-dashoffset: 100; }
.js .tk:not(.is-in) .tk-seg { stroke-dashoffset: 100; }
.js .tk:not(.is-in) .tk-punkt { transform: scale(0); }
.js .tk:not(.is-in) .tk-label { opacity: 0; }
.js .tk .tk-tick { opacity: 0; }
.js .tk.is-in .tk-grau { animation: tk-zeichnen .8s ease-out both; }
.js .tk.is-in .tk-seg { animation: tk-zeichnen .6s ease-out var(--d, .8s) backwards; }
.js .tk.is-in .tk-dot .tk-punkt { animation: tk-pop .45s cubic-bezier(.3,1.6,.5,1) var(--d, .8s) backwards; }
.js .tk.is-in .tk-label { animation: tk-ein .5s ease-out var(--d, .8s) backwards; }
.js .tk.is-in .tk-tick { animation: tk-ein .6s ease-out .4s both; }
@keyframes tk-zeichnen { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes tk-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes tk-ein { from { opacity: 0; } to { opacity: 1; } }

/* Desktop: Intro über der Grafik 75 % der Inhaltsbreite (wie bei den Textsektionen) */
@media (min-width: 901px) {
  .tk-sektion .section-inner > p { max-width: 75%; }
}

/* Mobil: die Schrägbeschriftung hätte keinen Platz, dort gilt die scrollende Zeitleiste */
@media (max-width: 700px) {
  .tk { display: none; }
  .tk-mobil { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .js .tk .tk-grau, .js .tk:not(.is-in) .tk-seg { stroke-dashoffset: 0; }
  .js .tk:not(.is-in) .tk-punkt { transform: none; }
  .js .tk:not(.is-in) .tk-label, .js .tk .tk-tick { opacity: 1; }
  .js .tk.is-in .tk-grau, .js .tk.is-in .tk-seg, .js .tk.is-in .tk-punkt, .js .tk.is-in .tk-label, .js .tk.is-in .tk-tick { animation: none; }
  .tk-seg, .tk-punkt, .tk-label { transition: none; }
}

/* ── Coming Soon (temporär bis zum Launch) ─────────────────────
   Gilt nur für public/coming-soon.html (body.coming-soon), ausgeliefert
   über middleware.js auf kita-wurzelkinder.de.
   NACH DEM LAUNCH: diesen Block, coming-soon.html und middleware.js löschen. */
.coming-soon .site-header--hero { position: absolute; }
.coming-soon .hero { min-height: 100vh; min-height: 100svh; --abdunklung: 0.4; }
.coming-soon .hero-content { margin-bottom: 0; top: 0; text-align: center; }
.coming-soon .cs-legal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 1;
  padding: 0 24px;
  text-align: center;
  font-size: var(--text-caption);
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
}
.coming-soon .cs-legal a { color: #fff; }
.coming-soon .cs-legal span { white-space: nowrap; }
/* Rechtsseiten auf der Live-Domain: kein Menü, kein Header-Button (Klasse setzt js/nav.js) */
.coming-soon-live .menu-toggle,
.coming-soon-live .main-nav,
.coming-soon-live .header-cta { display: none; }
.coming-soon .manifest-cta { margin-top: 48px; }
@media (max-width: 900px) { .coming-soon .manifest-cta { margin-top: 40px; } }
/* ── Ende Coming Soon ──────────────────────────────────────────── */

/* News-Cards: hellblauer Textbereich, Mouseover mit leichtem Zoom
   (auf hellblauem Sektionshintergrund bleibt die Card weiß) */
.modul.bg-hellblau .news-card { background: #fff; }

.news-card img { transition: transform 0.4s ease; }

@media (prefers-reduced-motion: no-preference) {
  /* höhere Spezifität als .js .reveal-visible (sonst greift der Hover nie) */
  .js .news-card.reveal-visible:hover {
    transform: translateY(-4px) scale(1.02) !important;
    transition-duration: 0.3s;
  }
  .news-card:hover img { transform: scale(1.05); }
}

/* Sektionen: Überschrift ausblenden, Textbreite 50 / 75 / 100 % (Backend: headlineZeigen, textBreite) */
.h-aus h2,
.rechtstext.h-aus .legal-content > h3:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 901px) {
  .tx-50  { --tx-breite: 50%; }
  .tx-75  { --tx-breite: 75%; }
  .tx-100 { --tx-breite: 100%; }
  .tx-w .section-inner > p,
  .tx-w .split-content-col > p,
  .tx-w .ts-einleitung,
  .tx-w .news-home-intro p { max-width: var(--tx-breite); }
  .manifest.tx-w .section-inner > p,
  .galerie-section.tx-w .section-inner > p { margin-left: auto; margin-right: auto; }
}

/* "Mehr anzeigen" bei den News (ist ein <button>, sieht aus wie .split-cta) */
button.split-cta { border: none; cursor: pointer; }

/* News-Beitrag (news-detail.html): formatierter Text und weitere Bilder */
.news-text p { max-width: none; }
.news-text h3 { margin: 32px 0 8px; }
.news-text ul { margin: 0 0 16px; padding-left: 1.3em; }
.news-text li { margin-bottom: 6px; }
.news-weitere { margin-top: 32px; }
.news-weitere { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.news-weitere[hidden] { display: none; }
.news-weitere img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); cursor: zoom-in; }

/* News-Beitrag: Kopf. Mit Titelbild wie "Headline mit Illustration" (Text links unten),
   Abdunklung von unten und oben, damit auch helle Bilder tragen. */
.page-banner.kopf--news .section-inner h1 { font-size: 28px; line-height: 1.15; }
@media (min-width: 900px) { .page-banner.kopf--news .section-inner h1 { font-size: 44px; } }
.kopf--news-bild {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 440px;
  background: var(--color-navy);
}
@media (min-width: 900px) { .kopf--news-bild { min-height: 600px; } }
.kopf--news-bild .section-inner { width: 100%; position: relative; z-index: 1; }
.kopf--news-bild h1, .kopf--news-bild p { text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.news-kopf-bg { position: absolute; inset: 0; z-index: -1; }
.news-kopf-bg[hidden] { display: none; }
.news-kopf-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-kopf-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,16,45,0.5) 0%, rgba(8,16,45,0) 35%),
    linear-gradient(to top, rgba(8,16,45,0.8) 0%, rgba(8,16,45,0.55) 45%, rgba(8,16,45,0.35) 100%);
}
.news-kopf-datum { font-size: var(--text-caption); color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.kopf--news-bild + .section { padding-top: 40px; }
