/* =========================================================
   GRUNDSCHULE CHRISTIAN LUDWIG BREHM — Schönau v. d. Walde
   Designsystem im Geist von Birklehof:
   tiefes Waldgrün · cremiges Papier · zarte Linien
   große italic Serif als Stimme · Sans als Struktur
   ========================================================= */

:root {
  /* Tannen-Teal — das echte Birklehof-Grün */
  --gruen:         #004E47;
  --gruen-mittel:  #36726D;
  --gruen-dunkel:  #003832;
  --gruen-tief:    #001E1B;
  --gruen-pastell: #d3e0dd;
  --gruen-nebel:   #eef2f1;

  /* Akzent — Limette wie Birklehof */
  --akzent:        #9CBD28;
  --akzent-hell:   #B7C82C;
  --akzent-dunkel: #7ca020;

  /* Papier, Beige, Linie */
  --weiss:         #ffffff;
  --papier:        #fafafa;
  --papier-warm:   #f5efe2;
  --beige:         #ece5d3;
  --beige-dunkel:  #d6cdb6;
  --linie:         #e6e0d1;

  /* Text */
  --text:          #1a1f1c;
  --text-grau:     #5a625a;
  --text-hell:     #8a8f87;

  /* Typografie */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Raster */
  --max-breite: 1200px;
  --max-breite-kopf: 1440px;
  --max-schmal: 720px;
  --rand: 48px;

  /* Schatten — wie Birklehofs drop-shadow */
  --schatten-weich: 0 8px 32px rgba(0, 30, 27, 0.12);
  --schatten-bild:  0 8px 56px rgba(0, 30, 27, 0.20);
  --schatten-tief:  0 24px 60px rgba(0, 30, 27, 0.25);

  /* Überlagerung — Birklehofs charakteristisches Bild-Overlay */
  --overlay-teal:   rgba(0, 78, 71, 0.8);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
em { font-style: italic; }


/* ============================================
   KOPFLEISTE
   Boxed (breiter als Inhalt) · Logo links auf hängendem
   Panel · Menü mittig · CTA rechts
   ============================================ */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--weiss);
  box-shadow: 0 1px 0 var(--linie), 0 6px 16px -4px rgba(0, 30, 27, 0.08);
}

.kopf__inner {
  max-width: var(--max-breite-kopf);
  margin: 0 auto;
  padding: 18px var(--rand);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.kopf__logo-bereich {
  justify-self: start;
  background: var(--gruen-nebel);
  padding: 0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.kopf__logo { display: block; line-height: 0; }

.kopf__logo-bild {
  width: 160px;
  height: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.kopf__logo:hover .kopf__logo-bild { opacity: 0.85; }

.kopf__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  justify-self: center;
}

.kopf__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gruen);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 4px;
  background: transparent;
  border: none;
  position: relative;
  transition: color 0.18s;
  white-space: nowrap;
  line-height: 1;
}

.kopf__nav a i.bx {
  font-size: 17px;
  line-height: 1;
  color: var(--akzent-dunkel);
  transition: color 0.18s, transform 0.18s;
}

.kopf__nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--akzent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.kopf__nav a:hover { color: var(--gruen-dunkel); }
.kopf__nav a:hover i.bx { color: var(--gruen-dunkel); transform: translateY(-1px); }
.kopf__nav a:hover::after { transform: scaleX(1); }

/* Active-State: aktuelle Seite hat dauerhaft den Akzent-Underline */
.kopf__nav a[aria-current="page"] { color: var(--gruen-dunkel); }
.kopf__nav a[aria-current="page"] i.bx { color: var(--gruen); }
.kopf__nav a[aria-current="page"]::after { transform: scaleX(1); }

.kopf__overlay-liste a[aria-current="page"] {
  color: var(--gruen);
}
.kopf__overlay-liste a[aria-current="page"] i.bx { color: var(--gruen); }

.kopf__cta {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.knopf--klein {
  height: 42px;
  padding: 0 18px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  line-height: 1;
  gap: 8px;
  box-sizing: border-box;
}

.knopf--klein i.bx { font-size: 16px; }


/* ============================================
   IM-AUFBAU SEITE (Coming Soon)
   ============================================ */

.aufbau {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--weiss);
  position: relative;
  overflow: hidden;
}

.aufbau__inner {
  text-align: center;
  padding: 64px var(--rand) 80px;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.aufbau__logo {
  display: inline-block;
  margin-bottom: 56px;
  line-height: 0;
  transition: opacity 0.2s;
}

.aufbau__logo:hover { opacity: 0.85; }

.aufbau__logo img {
  width: 220px;
  height: auto;
}

.aufbau__titel {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 56px);
  line-height: 1.1;
  color: var(--gruen-dunkel);
  letter-spacing: -0.01em;
  margin: 18px 0 24px;
}

.aufbau__lead {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-grau);
  margin: 0;
  max-width: 600px;
}

.aufbau__kontakt {
  margin-top: 48px;
  width: 100%;
  max-width: 720px;
  text-align: left;
}

/* Info-Karten kleine Variante für Aufbau-Seite */
.info-karten--klein {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-karten--klein .info-karte {
  padding: 22px 22px 24px;
}

.info-karten--klein .info-karte :is(h3, .info-karte__titel) { font-size: 18px; }

.info-karten--klein .info-karte p { font-size: 14px; }

.info-karten--klein .info-karte small {
  display: block;
  font-size: 12px;
  color: var(--text-hell);
  margin-top: 6px;
}

.aufbau__trenner {
  margin-top: auto;
}

@media (max-width: 700px) {
  .aufbau__logo img { width: 170px; }
  .aufbau__inner { padding: 48px var(--rand) 56px; }
  .aufbau__logo { margin-bottom: 40px; }
  .aufbau__kontakt { margin-top: 56px; }
  .info-karten--klein { grid-template-columns: 1fr; }
}


/* ============================================
   SUB-HERO (Unterseiten)
   ============================================ */

.sub-hero {
  background: var(--gruen);
  color: var(--weiss);
  padding: 80px var(--rand);
  text-align: center;
}

.sub-hero__inner {
  max-width: 860px;
  margin: 0 auto;
}

.sub-hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.sub-hero__lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
}


/* ============================================
   HERO
   Vollbreites Bild · Zitat in italic Serif zentriert
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 540px;
  max-height: 760px;
  overflow: hidden;
  background: var(--gruen-tief);
}

.bildplatz--hero {
  width: 100%;
  height: 100%;
  /* Hintergrundbild wird vom Hero-Widget gesetzt */
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  padding: 0;
}

.bildplatz--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border: none;
  background:
    radial-gradient(
      ellipse 110% 70% at 50% 95%,
      rgba(0, 30, 27, 0.55) 0%,
      rgba(0, 30, 27, 0) 65%
    ),
    linear-gradient(
      180deg,
      rgba(0, 30, 27, 0.18) 0%,
      rgba(0, 30, 27, 0) 30%,
      rgba(0, 30, 27, 0) 55%,
      rgba(0, 30, 27, 0.45) 95%,
      rgba(0, 30, 27, 0.70) 100%
    );
  pointer-events: none;
  z-index: 1;
}

.bildplatz--hero .bildplatz__inhalt,
.bildplatz--hero .bildplatz__hint {
  display: none;
}

.hero__zitat {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 860px;
  text-align: center;
  color: var(--weiss);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero__zitat :is(p, .hero__zitat-text) {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.008em;
  margin-bottom: 28px;
}

.hero__zitat :is(p, .hero__zitat-text) strong {
  font-weight: 600;
  font-style: italic;
}

.hero__zitat-meta {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.95;
  padding-left: 0.5em;
}


/* Wellen-Übergang Hero → Einleitung */
.hero-welle {
  width: 100%;
  line-height: 0;
  margin-top: -70px;
  position: relative;
  z-index: 3;
}

.hero-welle svg {
  display: block;
  width: 100%;
  height: 70px;
}


/* ============================================
   EINFÜHRUNG
   Schmal · zentriert · zarter Serif-Pull-Quote
   ============================================ */

.einleitung {
  padding: 60px var(--rand) 110px;
  background: var(--weiss);
}

.einleitung__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.einleitung__prosa {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 40px;
}

.einleitung__prosa strong {
  color: var(--gruen);
  font-weight: 600;
}

.einleitung__zitat {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--gruen-dunkel);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}

.einleitung__quelle {
  font-size: 12px;
  color: var(--text-hell);
  margin-bottom: 40px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ============================================
   KNÖPFE
   ============================================ */

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
}

.knopf i.bx {
  font-size: 17px;
  line-height: 1;
}

.knopf-pille i.bx {
  font-size: 16px;
  line-height: 1;
}

.knopf--akzent {
  background: var(--gruen);
  color: var(--weiss);
  border-color: var(--gruen);
}

.knopf--akzent:hover {
  background: var(--gruen-dunkel);
  color: var(--weiss);
  border-color: var(--gruen-dunkel);
}

/* Button-Variante für dunkle Hintergründe (Featured Post etc.) */
.knopf--auf-dunkel {
  background: var(--akzent);
  color: var(--gruen-tief);
  border-color: var(--akzent);
  align-self: flex-start;
}

.knopf--auf-dunkel:hover {
  background: var(--weiss);
  color: var(--gruen-tief);
  border-color: var(--weiss);
}

/* Knopf-Pille — gleicher Radius + Padding wie .knopf */
.knopf-pille {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gruen-pastell);
  color: var(--gruen-tief);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
}

.knopf-pille:hover {
  background: var(--gruen);
  color: var(--weiss);
}

.knopf-pille span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
}

.knopf-pille--breit {
  display: flex;
  justify-content: space-between;
  text-align: left;
  width: 100%;
  margin-bottom: 10px;
  padding: 15px 22px;
}


/* ============================================
   WALD-SILHOUETTE
   Berge mit Tannen, gestaffelt — Trenner
   ============================================ */

.wald-silhouette {
  width: 100%;
  line-height: 0;
  background: var(--weiss);
  margin-bottom: -1px;
}

.wald-silhouette__bild {
  display: block;
  width: 100%;
  height: auto;
}

.wald-silhouette__bild--flip {
  transform: scaleY(-1);
}

.wald-silhouette--footer {
  background: var(--gruen-tief);
  line-height: 0;
}


/* ============================================
   ZAHLEN-STREIFEN
   Sehr große dünne Zahlen in Akzentgrün
   ============================================ */

.zahlen {
  background: var(--gruen-tief);
  padding: 80px var(--rand) 90px;
  margin-top: -2px;
}

.zahlen__inner {
  max-width: var(--max-breite);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  text-align: center;
}

.zahl {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zahl__icon {
  font-size: 44px;
  color: var(--akzent);
  margin-bottom: 18px;
  line-height: 1;
}

.zahl__wert {
  font-family: var(--sans);
  font-size: 72px;
  font-weight: 200;
  line-height: 1;
  color: var(--weiss);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.zahl__label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zahl__label span {
  display: block;
  font-weight: 400;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-transform: none;
}


/* ============================================
   ABSCHNITT-LABEL
   ============================================ */

.abschnitt-titel,
.abschnitt-vorkopf {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-align: center;
  color: var(--gruen-dunkel);
  margin-bottom: 56px;
  text-transform: none;
}

.abschnitt-vorkopf {
  position: relative;
  display: block;
  padding-bottom: 28px;
}

.abschnitt-vorkopf::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--akzent);
}


/* ============================================
   IHRE WEGE
   Zwei große Bildkarten · Text auf Bild · Pille drunter
   ============================================ */

.wege {
  background: var(--weiss);
  padding: 110px var(--rand) 100px;
}

.wege__inner {
  max-width: var(--max-breite);
  margin: 0 auto;
}

.abschnitt-vorkopf-eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-align: center;
  color: var(--akzent-dunkel);
  margin-bottom: 16px;
}

.wege__intro {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-grau);
}

.wege__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.weg-karte {
  background: var(--gruen-nebel);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.weg-karte:hover {
  box-shadow: var(--schatten-bild);
  transform: translateY(-3px);
}

.weg-karte__bild {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.weg-karte__inhalt {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.weg-karte__inhalt h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--gruen-dunkel);
  margin-bottom: 14px;
}

.weg-karte__inhalt p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-grau);
  margin-bottom: 22px;
  flex: 1;
}


/* ============================================
   SCHULJAHRE
   Drei überlappende Karten · Schulgebäude als Linie
   ============================================ */

.schuljahre {
  padding: 110px var(--rand) 120px;
  background: var(--weiss);
  position: relative;
  overflow: hidden;
}

.schuljahre__inner {
  max-width: var(--max-breite);
  margin: 0 auto;
  position: relative;
}

.schuljahre__intro {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-grau);
}

.schuljahre__karten {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 100px;
}

.jahr-karte {
  background: var(--gruen-nebel);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.jahr-karte:hover {
  box-shadow: var(--schatten-bild);
  transform: translateY(-4px);
}

.jahr-karte__bild {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.jahr-karte__inhalt {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jahr-karte__stufe {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--akzent-dunkel);
  font-weight: 500;
  margin-bottom: 12px;
}

.jahr-karte h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 24px;
  line-height: 1.2;
  color: var(--gruen-dunkel);
  margin-bottom: 14px;
}

.jahr-karte__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-grau);
  margin-bottom: 20px;
}

.jahr-karte__liste {
  list-style: none;
  padding: 16px 0 0;
  border-top: 1px solid var(--linie);
  margin: 0;
}

.jahr-karte__liste li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
}

.jahr-karte__liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 1.5px;
  background: var(--akzent);
}


/* ============================================
   SCHWERPUNKTE
   Drei Spalten mit Pillen
   ============================================ */

.schwerpunkte {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  max-width: 1020px;
  margin: 0 auto;
}

.schwerpunkte__spalte { text-align: center; }

.schwerpunkte__kopf {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--gruen-dunkel);
  margin-bottom: 28px;
  text-transform: none;
}


/* ============================================
   CONTENT-HUB · Aktuelles + Schulleben kombiniert
   Featured-Beitrag groß · darunter 3er-Grid · CTA
   ============================================ */

.hub {
  background: var(--weiss);
  padding: 90px var(--rand) 120px;
}

.hub__inner {
  max-width: var(--max-breite);
  margin: 0 auto;
}

/* Featured: Bild links groß, Textspalte rechts */
.hub-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  margin-bottom: 56px;
  background: var(--gruen);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--schatten-bild);
}

.hub-featured__bild {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.hub-featured__bild .bildplatz {
  position: absolute;
  inset: 0;
}

.hub-featured__text {
  color: var(--weiss);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hub-featured__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--akzent);
  margin-bottom: 18px;
}

/* Datum-Pille — wird in Hub-Karten und Featured genutzt */
.datum-pille {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--gruen-pastell);
  color: var(--gruen-dunkel);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  width: fit-content;
}

.datum-pille i.bx {
  font-size: 14px;
  line-height: 1;
  color: var(--akzent-dunkel);
}

/* Helle Variante für dunkle Hintergründe (z. B. Featured) */
.hub-featured__text .datum-pille {
  background: rgba(255, 255, 255, 0.12);
  color: var(--weiss);
  backdrop-filter: blur(2px);
}

.hub-featured__text .datum-pille i.bx {
  color: var(--akzent);
}

.hub-featured__text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.18;
  margin-bottom: 22px;
}

.hub-featured__text p {
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.hub-featured__lead {
  font-size: 16px !important;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 16px !important;
}

.hub-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}


/* 3er-Grid mit weiteren Beiträgen */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.hub-karte {
  background: var(--gruen-nebel);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hub-karte:hover {
  box-shadow: var(--schatten-weich);
  transform: translateY(-3px);
}

.hub-karte__bild {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.hub-karte__text {
  padding: 26px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hub-karte__text :is(h4, .hub-karte__titel) {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.28;
  margin-bottom: 14px;
  color: var(--text);
}

.hub-karte__text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-grau);
  margin-bottom: 22px;
  flex: 1;
}

.hub-karte__text .knopf {
  padding: 12px 26px;
  font-size: 12px;
}

.hub__alle {
  text-align: center;
}

/* Hell-Variante (auf dunklem Hintergrund): bleibt als kleines Caps-Eyebrow */
.abschnitt-vorkopf--hell {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  padding-bottom: 0;
}

.abschnitt-vorkopf--hell::after {
  display: none;
}


/* ============================================
   NETZWERK — vollständige Content-Blöcke
   ============================================ */

.netzwerk {
  background: var(--weiss);
  padding: 30px var(--rand) 110px;
}

.netzwerk__inner {
  max-width: var(--max-breite);
  margin: 0 auto;
}

.netzwerk__intro {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-grau);
}

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

.netzwerk__zweier {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.netz-liste {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.netz-liste li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.netz-liste a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--gruen-dunkel);
  border-bottom: 1.5px solid var(--akzent);
  padding: 4px 0;
  width: fit-content;
  transition: color 0.15s, border-color 0.15s, gap 0.18s;
}

.netz-liste a i.bx {
  font-size: 16px;
  color: var(--akzent-dunkel);
  transition: transform 0.18s;
}

.netz-liste a:hover {
  color: var(--gruen);
  border-color: var(--gruen);
}

.netz-liste a:hover i.bx {
  transform: translate(2px, -2px);
}

.netz-liste small {
  font-size: 13px;
  color: var(--text-grau);
  line-height: 1.4;
}

.netz-karte {
  background: var(--gruen-nebel);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.netz-karte:hover {
  box-shadow: var(--schatten-weich);
  transform: translateY(-3px);
}

.netz-karte__bild {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.netz-karte__inhalt {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.netz-karte__inhalt h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--gruen-dunkel);
  margin-bottom: 12px;
}

.netz-karte__inhalt p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-grau);
  margin-bottom: 22px;
  flex: 1;
}

.netz-karte__inhalt .knopf {
  padding: 12px 26px;
  font-size: 12px;
  align-self: flex-start;
}


/* ============================================
   VEREIN-KARTEN — Wappen + Text + Button in einer Karte
   ============================================ */

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

.verein-karte {
  background: var(--gruen-nebel);
  border-radius: 8px;
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.22s, box-shadow 0.22s;
}

.text-section--hell .verein-karte { background: var(--weiss); }

.verein-karte:hover {
  transform: translateY(-3px);
  box-shadow: var(--schatten-weich);
}

.verein-karte__wappen-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.verein-karte__wappen {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--weiss);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 30, 27, 0.08);
}

.text-section--hell .verein-karte__wappen { background: var(--gruen-nebel); }

.verein-karte__wappen i.bx {
  font-size: 40px;
  color: var(--gruen);
}

.verein-karte__wappen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  padding: 6px;
}

.verein-karte__inhalt {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
}

.verein-karte__inhalt h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--gruen-dunkel);
  margin: 0 0 10px;
}

.verein-karte__inhalt p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-grau);
  margin: 0 0 22px;
  flex: 1;
}

.verein-karte__inhalt .knopf {
  padding: 12px 24px;
  font-size: 12px;
  align-self: center;
}


/* ============================================
   BILDPLATZ — Container für Hintergrundbilder
   ============================================ */

.bildplatz {
  background-color: var(--gruen);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: relative;
}

.bildplatz--hell  { background-color: var(--gruen-nebel); }
.bildplatz--dunkel { background-color: var(--gruen-tief); }


/* ============================================
   TEXT-SECTION (Subpage-Inhaltsblöcke)
   ============================================ */

.text-section {
  background: var(--weiss);
  padding: 100px var(--rand);
}

.text-section--hell { background: var(--gruen-nebel); }

.text-section__inner {
  max-width: var(--max-breite);
  margin: 0 auto;
}

.text-section__lead {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-grau);
}


/* Text+Bild Zweispalter — Bild matched die Texthöhe */
.text-zwei {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: stretch;
}

.text-zwei--gespiegelt { direction: rtl; }
.text-zwei--gespiegelt > * { direction: ltr; }

.text-zwei__bild {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--schatten-bild);
  min-height: 380px;
}

.text-zwei__bild .bildplatz {
  position: absolute;
  inset: 0;
}

.text-zwei__inhalt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.text-zwei__inhalt .knopf { align-self: flex-start; }

.text-zwei__inhalt :is(h2, .text-zwei__titel) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  color: var(--gruen-dunkel);
  margin: 0 0 22px;
}

.text-zwei__inhalt p {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-grau);
  margin: 0 0 18px;
}

.text-zwei__inhalt .knopf { margin-top: 12px; }


/* ============================================
   LEITBILD-Säulen (Unsere Schule)
   ============================================ */

.leitbild {
  background: var(--gruen-nebel);
  color: var(--gruen-dunkel);
  padding: 100px var(--rand);
  text-align: center;
}

.leitbild__inner {
  max-width: var(--max-breite);
  margin: 0 auto;
}

.leitbild :is(h2, .leitbild__titel) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  color: var(--gruen-dunkel);
  margin: 0 0 22px;
}

.leitbild__lead {
  max-width: 720px;
  margin: 0 auto 56px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-grau);
}

.leitbild__saeulen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.leitbild__saeule {
  padding: 36px 28px 32px;
  background: var(--weiss);
  border-radius: 8px;
}

.leitbild__saeule i.bx {
  font-size: 38px;
  color: var(--akzent-dunkel);
  margin-bottom: 18px;
  display: inline-block;
}

.leitbild__saeule :is(h3, .leitbild__saeule-titel) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  color: var(--gruen-dunkel);
  margin: 0 0 12px;
}

.leitbild__saeule p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-grau);
  margin: 0;
}

.leitbild .abschnitt-vorkopf--hell {
  color: var(--akzent-dunkel);
}


/* ============================================
   VERANSTALTUNGS-GRID
   ============================================ */

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

.veranst-karte {
  background: var(--weiss);
  border-radius: 8px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.text-section--hell .veranst-karte { background: var(--weiss); }
.text-section:not(.text-section--hell) .veranst-karte { background: var(--gruen-nebel); }

.veranst-karte:hover {
  transform: translateY(-3px);
  box-shadow: var(--schatten-weich);
}

.veranst-karte i.bx {
  font-size: 28px;
  color: var(--akzent-dunkel);
  margin-bottom: 4px;
}

.veranst-karte :is(h3, .veranst-karte__titel) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--gruen-dunkel);
  margin: 0;
}

.veranst-karte p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-grau);
  margin: 0;
}


/* ============================================
   TEAM-GRID
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-karte {
  background: var(--weiss);
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 24px;
  text-align: center;
}

.text-section--hell .team-karte { background: var(--weiss); }
.text-section:not(.text-section--hell) .team-karte { background: var(--gruen-nebel); }

.team-karte__bild {
  aspect-ratio: 5/6;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Icon-Avatar als Alternative zum Foto */
.team-karte__avatar {
  width: 96px;
  height: 96px;
  margin: 32px auto 18px;
  background: var(--weiss);
  color: var(--gruen);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-section--hell .team-karte__avatar { background: var(--gruen-nebel); }
.text-section:not(.text-section--hell) .team-karte__avatar { background: var(--weiss); }

.team-karte__avatar i.bx {
  font-size: 48px;
  color: var(--gruen);
}

.team-karte :is(h3, .team-karte__name) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--gruen-dunkel);
  margin: 0 0 4px;
  padding: 0 16px;
}

.team-karte__rolle {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--akzent-dunkel);
  margin: 0 0 14px;
}

.team-karte__kontakt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-grau);
  margin: 4px 16px;
}

.team-karte__kontakt i.bx { color: var(--akzent-dunkel); font-size: 15px; }

.team-karte__kontakt a {
  color: var(--gruen-dunkel);
  border-bottom: 1px solid var(--akzent);
  padding-bottom: 1px;
}


/* ============================================
   CTA-BLOCK — schlanker zentrierter Aufruf-Block
   konsistent mit den anderen text-section Stilen
   ============================================ */

.cta-block {
  background: var(--gruen-nebel);
  color: var(--gruen-dunkel);
  padding: 100px var(--rand);
  text-align: center;
}

.cta-block__inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-block :is(h2, .cta-block__titel) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.18;
  color: var(--gruen-dunkel);
  margin: 0 0 22px;
}

.cta-block p {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--text-grau);
  margin: 0 0 36px;
}

.cta-block__aktionen {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ============================================
   SCHRITT-LISTE (Anmeldung)
   ============================================ */

.schritt-liste {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.schritt {
  background: var(--gruen-nebel);
  border-radius: 8px;
  padding: 28px 28px 30px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.schritt__nummer {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gruen);
  color: var(--weiss);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
}

.schritt__inhalt h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--gruen-dunkel);
  margin: 0 0 8px;
}

.schritt__inhalt p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}


/* ============================================
   FORMULAR-RAHMEN (Container für Formulare)
   ============================================ */

.formular-rahmen {
  max-width: 760px;
  margin: 0 auto;
}


/* ============================================
   FORMULAR (Kontakt, Anmeldung)
   ============================================ */

.formular {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.formular__feld {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.formular__feld--breit { grid-column: span 2; }

.formular label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gruen-dunkel);
}

.formular label .pflicht { color: var(--akzent-dunkel); }

.formular input,
.formular select,
.formular textarea {
  background: var(--weiss);
  border: 1.5px solid var(--linie);
  border-radius: 6px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.formular input:focus,
.formular select:focus,
.formular textarea:focus {
  outline: none;
  border-color: var(--gruen);
  box-shadow: 0 0 0 3px rgba(156, 189, 40, 0.18);
}

.formular textarea {
  resize: vertical;
  min-height: 140px;
}

/* Datenschutz-Hinweis — schlicht und nativ */
.formular__hinweis {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0 4px;
  font-size: 13.5px;
  color: var(--text-grau);
  line-height: 1.6;
  cursor: pointer;
}

.formular__hinweis input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--gruen);
  margin-top: 3px;
  cursor: pointer;
}

.formular__hinweis a {
  color: var(--gruen);
  border-bottom: 1px solid var(--akzent);
  padding-bottom: 1px;
  font-weight: 500;
}

.formular__hinweis a:hover { color: var(--akzent-dunkel); }

.formular__aktion {
  grid-column: span 2;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 10px;
}


/* ============================================
   INFO-KARTEN (Kontakt-Seite)
   ============================================ */

.info-karten {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-karte {
  background: var(--gruen-nebel);
  border-radius: 8px;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-karte__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--weiss);
  border-radius: 8px;
  color: var(--gruen);
}

.info-karte__icon i.bx { font-size: 22px; }

.info-karte :is(h3, .info-karte__titel) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--gruen-dunkel);
  margin: 4px 0 0;
}

.info-karte p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.info-karte a { color: var(--gruen); border-bottom: 1px solid var(--akzent); padding-bottom: 1px; }
.info-karte a:hover { color: var(--akzent-dunkel); }


/* ============================================
   PAGINATION
   ============================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gruen-dunkel);
  background: var(--gruen-nebel);
  transition: all 0.18s;
}

.pagination a:hover {
  background: var(--gruen);
  color: var(--weiss);
}

.pagination .is-aktiv {
  background: var(--gruen);
  color: var(--weiss);
  cursor: default;
}

.pagination .ist-pfeil i.bx { font-size: 18px; }

.pagination .ist-aus {
  opacity: 0.4;
  pointer-events: none;
}


/* ============================================
   FAQ — schlankes Linien-Akkordeon
   ============================================ */

.faq {
  background: var(--weiss);
  padding: 30px var(--rand) 110px;
}

.faq__inner {
  max-width: 860px;
  margin: 0 auto;
}

.faq__intro {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-grau);
}

.faq__intro a {
  border-bottom: 1.5px solid var(--akzent);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.faq__intro a:hover { color: var(--gruen); border-color: var(--gruen); }

.faq__liste {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--linie);
}

.faq-item {
  border-bottom: 1px solid var(--linie);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 8px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  color: var(--gruen-dunkel);
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; content: ""; }

.faq-item summary:hover { color: var(--gruen); }

.faq-item summary i.bx {
  flex-shrink: 0;
  font-size: 26px;
  color: var(--gruen);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}

.faq-item[open] summary i.bx,
.faq-item.is-open summary i.bx {
  transform: rotate(45deg);
}

.faq-item__antwort {
  overflow: hidden;
  height: 0;
  transition: height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item__antwort > p {
  padding: 0 8px 28px 0;
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-grau);
  margin: 0;
  max-width: 760px;
}

.faq-item__antwort strong {
  color: var(--gruen-dunkel);
  font-weight: 500;
}


/* ============================================
   DOWNLOADBEREICH
   Gruppierte Listen mit Datei-Icon + Download-Knopf
   ============================================ */

.download-gruppen {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.download-gruppe__titel {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
  color: var(--gruen-dunkel);
  margin: 0 0 20px;
}

.download-gruppe__titel i.bx {
  font-size: 26px;
  color: var(--akzent-dunkel);
}

.download-liste {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gruen-nebel);
  border-radius: 8px;
  padding: 20px 24px;
  transition: transform 0.22s, box-shadow 0.22s;
}

.text-section--hell .download-item { background: var(--weiss); }

.download-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--schatten-weich);
}

.download-item__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--weiss);
  border-radius: 8px;
  color: var(--gruen);
}

.text-section--hell .download-item__icon { background: var(--gruen-nebel); }

.download-item__icon i.bx { font-size: 26px; }

.download-item__text {
  flex: 1;
  min-width: 0;
}

.download-item__text :is(h4, .download-item__titel) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: var(--gruen-dunkel);
  margin: 0 0 4px;
}

.download-item__text small {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--text-grau);
}

.download-item .knopf {
  flex-shrink: 0;
  padding: 12px 22px;
  font-size: 12px;
}

@media (max-width: 700px) {
  .download-gruppen { gap: 40px; }
  .download-item { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .download-item__text { flex: 1 1 calc(100% - 66px); }
  .download-item .knopf { width: 100%; justify-content: center; }
}


/* ============================================
   FOOTER mit Wellen-Trenner
   ============================================ */

.fuss-welle {
  width: 100%;
  line-height: 0;
  margin-top: -70px;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.fuss-welle svg {
  display: block;
  width: 100%;
  height: 70px;
}

.fuss {
  background: var(--gruen-tief);
  color: rgba(255, 255, 255, 0.72);
  padding: 0 var(--rand);
}

.fuss__inner {
  max-width: var(--max-breite);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
  padding: 64px 0 48px;
}

/* Footer Logo-Box für Träger und Schulamt */
.fuss__logo-box {
  background: var(--weiss);
  border-radius: 6px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  margin-top: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fuss__logo-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.fuss__logo-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.fuss__spalte :is(h4, .fuss__titel) {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--akzent);
  margin-bottom: 22px;
}

.fuss__spalte p {
  font-size: 13.5px;
  line-height: 1.9;
}

.fuss__spalte p span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.fuss__spalte ul { list-style: none; }

.fuss__spalte ul li {
  font-size: 13.5px;
  line-height: 1.95;
}

.fuss__spalte a { transition: color 0.15s; }
.fuss__spalte a:hover { color: var(--akzent); }
.fuss__spalte p a { border-bottom: 1px solid rgba(151, 192, 0, 0.4); padding-bottom: 1px; }

.fuss__rand {
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.fuss__rand-text {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.fuss__rand-text a {
  transition: color 0.15s;
}

.fuss__rand-text a:hover { color: var(--akzent); }

.fuss__copyright {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
}


/* =========================================================
   BURGER + MOBILE-NAV
   ========================================================= */

.kopf__burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--gruen-nebel);
  border: 1.5px solid transparent;
  border-radius: 6px;
  color: var(--gruen);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.kopf__burger i.bx { font-size: 22px; line-height: 1; }

.kopf__burger:hover {
  background: var(--gruen);
  color: var(--weiss);
  border-color: var(--gruen);
}

/* Fullscreen-Overlay Mobile-Nav */
.kopf__overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--weiss);
  color: var(--gruen-dunkel);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px var(--rand) 32px;
  overflow-y: auto;

  /* Open/close animation */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateY(-8px);
  transform-origin: top right;
  transition:
    opacity 0.32s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.32s;
}

.kopf__overlay.is-aktiv {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  transition:
    opacity 0.32s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.kopf__overlay[hidden] { display: none; }

/* Header: Logo links, Close rechts — gleiche Positionierung wie Mobile-Header */
.kopf__overlay-kopf {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.kopf__overlay-logo img {
  height: auto;
  width: 130px;
  display: block;
}

.kopf__overlay-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gruen-nebel);
  border: 1.5px solid transparent;
  border-radius: 6px;
  color: var(--gruen);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
  box-sizing: border-box;
}

.kopf__overlay-close i.bx { font-size: 24px; line-height: 1; }

.kopf__overlay-close:hover {
  background: var(--gruen);
  color: var(--weiss);
}

/* Menü-Liste — zentriert */
.kopf__overlay-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 78, 71, 0.12);
  flex: 1;
}

.kopf__overlay-liste li {
  border-bottom: 1px solid rgba(0, 78, 71, 0.12);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease calc(var(--i) * 50ms + 80ms),
    transform 0.35s ease calc(var(--i) * 50ms + 80ms);
}

.kopf__overlay.is-aktiv .kopf__overlay-liste li {
  opacity: 1;
  transform: translateY(0);
}

.kopf__overlay-liste a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 16px;
  color: var(--gruen-dunkel);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  transition: color 0.18s;
  text-align: center;
}

.kopf__overlay-liste a i.bx {
  font-size: 22px;
  color: var(--akzent-dunkel);
  flex-shrink: 0;
  transition: color 0.18s;
}

.kopf__overlay-liste a:hover {
  color: var(--gruen);
}

.kopf__overlay-liste a:hover i.bx {
  color: var(--gruen);
}

/* CTA-Bereich unten — zentriert */
.kopf__overlay-cta {
  width: 100%;
  max-width: 480px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 78, 71, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease 0.32s,
    transform 0.35s ease 0.32s;
}

.kopf__overlay.is-aktiv .kopf__overlay-cta {
  opacity: 1;
  transform: translateY(0);
}

.kopf__overlay-kontakt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-grau);
  margin: 0;
}

.kopf__overlay-kontakt i.bx {
  font-size: 18px;
  color: var(--akzent-dunkel);
}

.kopf__overlay-kontakt a {
  color: var(--gruen-dunkel);
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 78, 71, 0.3);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.kopf__overlay-kontakt a:hover {
  color: var(--gruen);
  border-color: var(--gruen);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ≤ 1360px — Nav enger, damit 6 Menüpunkte Platz finden */
@media (max-width: 1360px) {
  .kopf__nav { gap: 20px; }
}

/* ≤ 1120px — Burger früher, da 6 Menüpunkte sonst überlaufen */
@media (max-width: 1120px) {
  .kopf__nav { display: none; }
  .kopf__burger { display: inline-flex; }
}

/* ≤ 1024px — Tablet · 2-spaltige Layouts werden vorbereitet */
@media (max-width: 1024px) {
  :root { --rand: 32px; }


  .hub-grid,
  .netzwerk__grid,
  .schuljahre__karten {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-grid > article:nth-child(3),
  .schuljahre__karten > article:nth-child(3) {
    grid-column: span 2;
    max-width: calc(50% - 14px);
    margin: 0 auto;
  }

  .hub-featured { grid-template-columns: 1fr; }
  .hub-featured__bild { aspect-ratio: 16/9; min-height: 0; }
  .hub-featured__bild .bildplatz { position: relative; }
  .hub-featured__text { padding: 48px 40px; }

  .fuss__inner { grid-template-columns: repeat(2, 1fr); gap: 44px; }

  /* Subpage-Components */
  .text-zwei { gap: 40px; }
  .veranst-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .verein-grid { grid-template-columns: repeat(2, 1fr); }
  .leitbild__saeulen { grid-template-columns: 1fr; gap: 24px; }
  .schritt-liste { grid-template-columns: 1fr; gap: 18px; }
  .info-karten { grid-template-columns: 1fr 1fr; }
  .netzwerk__zweier { grid-template-columns: 1fr; }
}

/* ≤ 900px — Burger sichtbar, Karten 1-spaltig */
@media (max-width: 900px) {
  .kopf__inner {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding: 14px var(--rand);
  }

  .kopf__nav { display: none; }
  .kopf__burger { display: inline-flex; }
  .kopf__cta .knopf--klein { display: none; }

  .kopf__logo-bild { width: 140px; }

  .wege__grid,
  .hub-grid,
  .netzwerk__grid,
  .netzwerk__zweier,
  .schuljahre__karten,
  .schwerpunkte,
  .info-karten {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .formular { grid-template-columns: 1fr; }
  .formular__feld--breit,
  .formular__hinweis,
  .formular__aktion { grid-column: auto; }

  .text-zwei { grid-template-columns: 1fr; gap: 32px; }
  .text-zwei__bild { aspect-ratio: 4/3; }
  .leitbild__saeulen,
  .veranst-grid,
  .team-grid,
  .verein-grid,
  .schritt-liste { grid-template-columns: 1fr; gap: 18px; }
  .text-section { padding: 70px var(--rand); }
  .leitbild,
  .cta-block { padding: 70px var(--rand); }

  .hub-grid > article:nth-child(3),
  .schuljahre__karten > article:nth-child(3) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

  .zahlen__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }

  .hub-featured__text { padding: 40px 32px; }
}

/* ≤ 700px — Kompakt-Mobile */
@media (max-width: 700px) {
  :root { --rand: 18px; }


  /* Header */
  .kopf__inner { padding: 12px var(--rand); gap: 10px; }
  .kopf__logo-bild { width: 130px; }

  /* Wellen mobil kleiner — etwas mehr Höhe damit Wellenform sichtbar bleibt */
  .hero-welle svg,
  .fuss-welle svg { height: 44px; }
  .hero-welle { margin-top: -44px; }
  .fuss-welle { margin-top: -44px; }

  /* Overlay Padding mobil */
  .kopf__overlay { padding: 18px var(--rand) 28px; }
  .kopf__overlay-kopf { margin-bottom: 24px; }
  .kopf__overlay-liste a { font-size: 24px; padding: 18px 4px; }
  .kopf__overlay-liste a i.bx { font-size: 20px; }

  /* Hero */
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero { aspect-ratio: 4/5; max-height: 720px; }
  .hero__zitat { bottom: 56px; padding: 0 var(--rand); }
  .hero__zitat :is(p, .hero__zitat-text) { font-size: 28px; line-height: 1.18; }

  /* Sub-Hero */
  .sub-hero { padding: 56px var(--rand); }

  /* Sektion-Padding */
  .einleitung { padding: 56px var(--rand); }
  .einleitung__prosa { font-size: 15.5px; line-height: 1.75; }
  .einleitung__zitat { font-size: 21px; }

  .wege,
  .schuljahre,
  .hub,
  .netzwerk,
  .faq { padding-top: 64px; padding-bottom: 64px; }

  .faq-item summary { padding: 22px 0; font-size: 20px; gap: 16px; }
  .faq-item summary i.bx { font-size: 22px; }
  .faq-item__antwort > p { padding-bottom: 24px; font-size: 15.5px; }

  /* Sektion-Titel */
  .abschnitt-titel,
  .abschnitt-vorkopf {
    font-size: 28px;
    margin-bottom: 36px;
  }

  /* Zahlen */
  .zahlen { padding: 70px var(--rand); }
  .zahlen__inner { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .zahl__wert { font-size: 52px; }
  .zahl__icon { font-size: 38px; margin-bottom: 14px; }
  .zahl__label { font-size: 12px; }

  /* Karten allgemein */
  .weg-karte__inhalt,
  .jahr-karte__inhalt,
  .hub-karte__text,
  .netz-karte__inhalt { padding: 24px 22px 26px; }

  .weg-karte__inhalt h3,
  .jahr-karte h3,
  .netz-karte__inhalt h3 { font-size: 22px; }

  .hub-karte__text :is(h4, .hub-karte__titel) { font-size: 19px; }

  /* Featured */
  .hub-featured__text { padding: 32px 24px; }
  .hub-featured__text h3 { font-size: 24px; line-height: 1.22; }
  .hub-featured__lead { font-size: 15px !important; }

  /* Schwerpunkte */
  .schwerpunkte { gap: 28px; }
  .schwerpunkte__kopf { font-size: 22px; margin-bottom: 18px; }
  .knopf-pille--breit { padding: 13px 18px; font-size: 12px; }

  /* Footer mobil zentriert */
  .fuss__inner { grid-template-columns: 1fr; gap: 30px; padding: 48px 0; text-align: center; }
  .fuss__logo-box { max-width: 280px; margin: 4px auto 0; }
  .fuss__spalte :is(h4, .fuss__titel) { margin-bottom: 14px; }
  .fuss__spalte ul { display: inline-block; text-align: center; }
  .fuss__rand { flex-direction: column; gap: 14px; align-items: center; text-align: center; padding: 18px 0; }
  .fuss__rand-text { justify-content: center; }
  .fuss__copyright { text-align: center; line-height: 1.6; }

  /* Buttons mobil etwas größer Touch-friendly */
  .knopf {
    padding: 14px 22px;
    font-size: 12.5px;
    letter-spacing: 0.12em;
  }
  .knopf-pille {
    padding: 14px 22px;
    font-size: 12.5px;
  }
}

/* ≤ 420px — sehr schmal */
@media (max-width: 420px) {
  .hero__zitat :is(p, .hero__zitat-text) { font-size: 24px; }
  .zahlen__inner { grid-template-columns: 1fr; gap: 36px; }
  .zahl__wert { font-size: 56px; }
}


/* ============================================
   PROFIL-KACHELN — 4-Spalten-Variante der Leitbild-Säulen
   ============================================ */

.leitbild__saeulen--vier { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .leitbild__saeulen--vier { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .leitbild__saeulen--vier { grid-template-columns: 1fr; }
}


/* ============================================
   ORT-PILLEN (Einzugsgebiet)
   ============================================ */

.ort-pillen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}

.ort-pille {
  display: inline-block;
  padding: 10px 22px;
  background: var(--weiss);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gruen-dunkel);
  letter-spacing: 0.02em;
}

.text-section:not(.text-section--hell) .ort-pille { background: var(--gruen-nebel); }


/* ============================================
   KARTEN-EINBETTUNG (Kontakt — So finden Sie uns)
   ============================================ */

.karte-box {
  max-width: var(--max-breite);
  margin: 0 auto 36px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--schatten-bild);
  line-height: 0;
}

.karte-box iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.karte-aktion {
  text-align: center;
}

.karte-aktion p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-grau);
  margin: 0 0 24px;
}

.karte-aktion p strong { color: var(--gruen-dunkel); }

@media (max-width: 700px) {
  .karte-box iframe { height: 300px; }
}


/* ============================================
   HORTTAG — Betreuung auf einen Blick als Tageslinie
   Vier Stationen mit Zeit-Pillen auf einer Verbindungslinie
   ============================================ */

.horttag {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 20px;
}

/* Verbindungslinie hinter den Zeit-Pillen */
.horttag::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--gruen-pastell);
}

.horttag__station {
  position: relative;
  background: var(--weiss);
  border-radius: 8px;
  padding: 42px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.horttag__zeit {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: var(--gruen);
  color: var(--weiss);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 30, 27, 0.18);
}

.horttag__zeit i.bx {
  font-size: 15px;
  color: var(--akzent);
}

.horttag__station :is(h3, .horttag__titel) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--gruen-dunkel);
  margin: 0 0 10px;
}

.horttag__station p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-grau);
  margin: 0;
  flex: 1;
}

/* Wichtiger Hinweis (z. B. „Keine Abholung möglich") */
.horttag__hinweis {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--papier-warm);
  border: 1.5px solid var(--beige-dunkel);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gruen-dunkel);
  line-height: 1;
}

.horttag__hinweis i.bx {
  font-size: 15px;
  color: var(--akzent-dunkel);
}

/* Kontaktleiste zur Hortleitung unter der Tageslinie */
.horttag-kontakt {
  max-width: 760px;
  margin: 44px auto 0;
  background: var(--weiss);
  border-radius: 8px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.horttag-kontakt__text {
  display: flex;
  align-items: center;
  gap: 16px;
}

.horttag-kontakt__text i.bx {
  font-size: 30px;
  color: var(--gruen);
  flex-shrink: 0;
}

.horttag-kontakt__text p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-grau);
  margin: 0;
}

.horttag-kontakt__text strong {
  display: block;
  font-size: 16px;
  color: var(--gruen-dunkel);
}

@media (max-width: 1024px) {
  .horttag { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .horttag::before { display: none; }
}

@media (max-width: 700px) {
  .horttag { grid-template-columns: 1fr; gap: 40px; }
  .horttag-kontakt { flex-direction: column; text-align: center; }
  .horttag-kontakt__text { flex-direction: column; gap: 10px; }
  .horttag-kontakt .knopf { width: 100%; justify-content: center; }
}


/* ============================================
   INFO-KARTEN-VARIANTEN
   ============================================ */

/* Auf hellgrünen Sektionen weiße Karten (sonst Ton in Ton) */
.text-section--hell .info-karte { background: var(--weiss); }
.text-section--hell .info-karte__icon { background: var(--gruen-nebel); }

/* Zentrierte Feature-Karte mit Button (z. B. Ferien im Hort) */
.info-karte--zentriert {
  align-items: center;
  text-align: center;
}

.info-karte--zentriert .knopf { margin-top: 10px; }

/* Echte Knöpfe in Info-Karten: die Textlink-Stile der Karte
   (grüne Schrift, Unterstrich, padding-bottom) dürfen hier
   nicht durchgreifen — sonst grün auf grün / gestauchtes Padding */
.info-karte a.knopf {
  padding: 14px 24px;
  border: 1.5px solid transparent;
  font-size: 12.5px;
}

.info-karte a.knopf--akzent {
  color: var(--weiss);
  border-color: var(--gruen);
}

.info-karte a.knopf--akzent:hover {
  color: var(--weiss);
  border-color: var(--gruen-dunkel);
}

.info-karte a.knopf--ghost {
  color: var(--gruen);
  border-color: var(--gruen);
}

.info-karte a.knopf--ghost:hover {
  color: var(--weiss);
  border-color: var(--gruen);
}


/* =========================================================
   CI/UX-FEINSCHLIFF — roter Faden über alle Seiten
   ========================================================= */

/* Skip-Link: erst bei Tastatur-Fokus sichtbar */
.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--gruen-tief);
  color: var(--weiss);
  padding: 12px 22px;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* Sub-Hero: Welle als durchgängiges Erkennungszeichen
   (gleiches Motiv wie Hero → Einleitung auf der Startseite) */
.sub-hero { padding-bottom: 56px; }

.sub-hero-welle {
  background: var(--gruen);
  line-height: 0;
}

.sub-hero-welle svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Weiter-Band: führt am Seitenende zur nächsten Seite
   (grünes Bookend — Gegenstück zum Sub-Hero am Seitenanfang) */
.weiter {
  background: var(--gruen);
  padding: 88px var(--rand) 132px;
  text-align: center;
}

.weiter__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--akzent);
  margin-bottom: 18px;
}

.weiter__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  color: var(--weiss);
  border-bottom: 2px solid var(--akzent);
  padding-bottom: 8px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.weiter__link i.bx {
  font-size: 0.75em;
  color: var(--akzent);
  transition: transform 0.25s ease;
}

.weiter__link:hover { color: var(--akzent); }
.weiter__link:hover i.bx { transform: translateX(8px); }

/* Ghost-Knopf: sekundäre Aktionen (z. B. Download-Listen),
   damit gefüllte Knöpfe den primären Aktionen vorbehalten bleiben */
.knopf--ghost {
  background: transparent;
  color: var(--gruen);
  border-color: var(--gruen);
}

.knopf--ghost:hover {
  background: var(--gruen);
  color: var(--weiss);
  border-color: var(--gruen);
}

/* Kompakte Veranstaltungs-Karte (nur Icon + Titel, zentriert) */
.veranst-karte--kompakt {
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 8px;
  padding: 34px 24px;
}

.veranst-karte--kompakt i.bx {
  font-size: 34px;
  margin-bottom: 2px;
}

/* Hero-Unterzeile: engere Laufweite, damit der Dreiklang
   auch mobil sauber umbricht */
.hero__zitat-meta {
  letter-spacing: 0.26em;
  line-height: 1.9;
  padding-left: 0.26em;
}

/* Footer: Abstand zwischen Adresse und Kontaktzeilen */
.fuss__spalte p + p { margin-top: 12px; }

/* Anker landen nicht unter der Sticky-Kopfleiste */
[id] { scroll-margin-top: 100px; }

/* Sichtbarer Tastatur-Fokus im CI */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--akzent-dunkel);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Textauswahl im CI */
::selection {
  background: var(--akzent);
  color: var(--gruen-tief);
}

/* Bewegung reduzieren, wenn das System es wünscht */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Lange unbrechbare Inhalte (E-Mail-Adressen, URLs) dürfen
   auf schmalen Displays nicht aus Karten/Footer herauslaufen */
.info-karte p,
.team-karte__kontakt,
.fuss__spalte p,
.karte-aktion p {
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 700px) {
  .sub-hero-welle svg { height: 40px; }

  /* Weiter-Band: kompakter, lange Seitentitel brechen sauber um */
  .weiter { padding: 64px var(--rand) 100px; }
  .weiter__link {
    font-size: 26px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Tageslinie: Pillen etwas kompakter */
  .horttag__zeit { font-size: 11.5px; padding: 9px 15px; }

  /* Buttons in Karten und unter der Karte: volle Breite als Touch-Ziel */
  .info-karte--zentriert a.knopf,
  .karte-aktion .knopf {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================
   WORDPRESS-KOMPATIBILITÄT
   ============================================ */

/* Sticky-Header unter der Admin-Bar */
.admin-bar .kopf { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .kopf { top: 46px; }
}
@media screen and (max-width: 600px) {
  .admin-bar .kopf { top: 0; }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Team-Fotos */
.team-karte__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Formular-Statusmeldungen */
.formular-meldung {
  grid-column: 1 / -1;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 24px;
}

.formular-meldung--ok {
  background: var(--gruen-nebel);
  color: var(--gruen-dunkel);
  border: 1px solid var(--gruen-pastell);
}

.formular-meldung--fehler {
  background: #fdf0ee;
  color: #8a2a1d;
  border: 1px solid #eecfc9;
}

/* Elementor: Widgets sollen die volle Breite des Containers nutzen */
.elementor-widget-container > .hero,
.elementor-widget-container > .sub-hero,
.elementor-widget-container > .zahlen,
.elementor-widget-container > .leitbild,
.elementor-widget-container > .cta-block,
.elementor-widget-container > .weiter {
  width: 100%;
}

/* Einleitung: Absatzabstände, wenn der Text aus einem Editor-Feld kommt */
.einleitung__prosa p + p { margin-top: 18px; }
.einleitung__prosa { margin-bottom: 28px; }

/* Text & Bild: alternative Bilddarstellungen */
.text-zwei__bild--vollstaendig .bildplatz {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--gruen-nebel);
}

.text-zwei__bild--natuerlich {
  min-height: 0;
  align-self: center;
}

.text-zwei__bild--natuerlich img {
  display: block;
  width: 100%;
  height: auto;
}

/* Rechtstext (Impressum / Datenschutz) */
.rechtstext--schmal {
  max-width: var(--max-schmal);
  margin: 0 auto;
}

.rechtstext h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--gruen-dunkel);
  margin: 48px 0 16px;
}

.rechtstext h2:first-child { margin-top: 0; }

.rechtstext h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--gruen-dunkel);
  margin: 32px 0 12px;
}

.rechtstext p,
.rechtstext li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-grau);
}

.rechtstext p { margin: 0 0 16px; }

.rechtstext ul,
.rechtstext ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.rechtstext a {
  color: var(--akzent-dunkel);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rechtstext a:hover { color: var(--gruen); }

/* Rechtstext: Widget-Überschrift (gleiche Optik wie h2 im Fließtext) */
.rechtstext .rechtstext__titel {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  color: var(--gruen-dunkel);
  margin: 0 0 24px;
}


/* ============================================
   BILD (Querformat) – breites Bild über die Inhaltsbreite
   ============================================ */

.bild-section--kompakt { padding-top: 50px; padding-bottom: 50px; }

.bild-quer {
  margin: 0;
  max-width: var(--max-breite);
}

.bild-quer__rahmen {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--schatten-bild);
  background: var(--gruen-nebel);
}

.bild-quer__rahmen img,
.bild-quer__link {
  display: block;
  width: 100%;
}

.bild-quer__rahmen img { height: auto; }

/* Feste Seitenverhältnisse: Bild füllt den Rahmen (Zuschnitt auf Bildmitte) */
.bild-quer--21-9 .bild-quer__rahmen { aspect-ratio: 21 / 9; }
.bild-quer--16-9 .bild-quer__rahmen { aspect-ratio: 16 / 9; }
.bild-quer--3-2  .bild-quer__rahmen { aspect-ratio: 3 / 2; }

.bild-quer--21-9 .bild-quer__rahmen img,
.bild-quer--16-9 .bild-quer__rahmen img,
.bild-quer--3-2  .bild-quer__rahmen img,
.bild-quer--21-9 .bild-quer__link,
.bild-quer--16-9 .bild-quer__link,
.bild-quer--3-2  .bild-quer__link {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bild-quer__link:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: -3px;
}

.bild-quer__unterschrift {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-hell);
}

@media (max-width: 900px) {
  .bild-section--kompakt { padding-top: 36px; padding-bottom: 36px; }
  /* Panorama auf schmalen Screens weniger flach, sonst wird es ein Streifen */
  .bild-quer--21-9 .bild-quer__rahmen { aspect-ratio: 16 / 9; }
}


/* ============================================
   TEXT & BILD – Galerie-Ansicht (ab zwei Bildern):
   Überschrift + Text zentriert, darunter füllendes Mosaik
   aus quer- und hochformatigen Bildern.
   ============================================ */

.text-galerie__kopf {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-galerie__titel {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  color: var(--gruen-dunkel);
  margin: 0 0 22px;
}

.text-galerie__kopf p {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-grau);
  margin: 0 0 18px;
}

.text-galerie__kopf > :last-child { margin-bottom: 0; }
.text-galerie__kopf .knopf { margin-top: 12px; }

/* Raster: 4 Spalten, feste Zeilenhöhe. Jede Kachel belegt 2 Zeilen,
   Querformat zusätzlich 2 Spalten (~4:3), Hochformat 1 Spalte (~2:3).
   „dense“ füllt Lücken automatisch mit passenden Kacheln. */
.bild-galerie {
  --galerie-zeile: 220px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: var(--galerie-zeile);
  grid-auto-flow: dense;
  gap: 14px;
}

.bild-galerie__kachel {
  position: relative;
  margin: 0;
  grid-row: span 2;
  grid-column: span 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--schatten-bild);
  background: var(--gruen-nebel);
}

.bild-galerie__kachel--quer { grid-column: span 2; }

.bild-galerie .bild-galerie__kachel img,
.bild-galerie .bild-galerie__link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

.bild-galerie .bild-galerie__kachel img {
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bild-galerie .bild-galerie__kachel:hover img,
.bild-galerie .bild-galerie__link:focus-visible img { transform: scale(1.04); }

.bild-galerie__link:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .bild-galerie .bild-galerie__kachel img { transition: none; }
  .bild-galerie .bild-galerie__kachel:hover img { transform: none; }
}

@media (max-width: 1100px) {
  .bild-galerie { --galerie-zeile: 180px; }
}

@media (max-width: 900px) {
  .bild-galerie { --galerie-zeile: 150px; gap: 12px; }
  .text-galerie__kopf { margin-bottom: 36px; }
}

/* Schmal: 2 Spalten – Querformat volle Breite, Hochformat halbe Breite */
@media (max-width: 600px) {
  .bild-galerie {
    --galerie-zeile: 120px;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}


/* Text & Bild: freistehendes Einzelbild – ohne Rahmen, Schatten, Rundung, Hintergrund */
.text-zwei .text-zwei__bild--frei {
  min-height: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-zwei .text-zwei__bild--frei img {
  display: block;
  width: auto;
  max-width: var(--frei-breite, 55%);
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 900px) {
  .text-zwei .text-zwei__bild--frei { aspect-ratio: auto; }
}
