/* =========================================================
   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 h3 { 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%;
  background-image: url("https://www.berlin.de/imgscale2/oy5rnvRIj0UFA9e2T7JOor93C08o2FrcBG83oYuKwQg/ropen/aHR0cDovL2ltcGVyaWFmcm9udGVuZC1wcm9kLXd3dy1odHRwOjgwODAvZGVwb3NpdHBob3Rvcy9tZW5zY2hlbi91cGxvYWRfXzYwYjFhODg2YTRhNGExYjc1ODU5NmRkN2E1NWU2ZjIzX2RlcG9zaXRwaG90b3NfNjA5ODc3NTY2X2wuanBn.jpg");
  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 p {
  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 p 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 h4 {
  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 h2 {
  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 h2 {
  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 h3 {
  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 h3 {
  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 h3 {
  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 h2 {
  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 h3 {
  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;
}


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

/* Webamax-Logo ist weiß → mit Filter dunkel darstellen */
.fuss__logo-box--invert img {
  filter: invert(1) hue-rotate(180deg) brightness(1.1);
}

.fuss__spalte h4 {
  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: right;
}


/* =========================================================
   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
   ========================================================= */

/* ≤ 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 p { 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 h4 { 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 h4 { margin-bottom: 14px; }
  .fuss__spalte ul { display: inline-block; text-align: center; }
  .fuss__rand { flex-direction: column-reverse; 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 p { font-size: 24px; }
  .zahlen__inner { grid-template-columns: 1fr; gap: 36px; }
  .zahl__wert { font-size: 56px; }
}
