/* ══════════════════════════════════════════
   TOKENS  –  Echte Markenfarben
══════════════════════════════════════════ */
:root {
  /* Brand */
  --teal-dark:   #0b3e42;          /* Primär – Dunkeltürkis  */
  --teal-mid:    #0f5056;          /* Hover / leichter heller */
  --mint:        #64bc9b;          /* Akzent – Mintgrün       */
  --mint-dim:    #4da085;          /* Mint gedimmt            */

  /* Neutrals */
  --bg:          #ffffff;
  --surface:     #f2f7f6;          /* Leicht türkis getönt    */
  --ink:         #0b2528;          /* Fast-Schwarz, warm-teal */
  --muted:       #4a6669;          /* Sekundärtext            */
  --rule:        #d4e4e2;

  /* On-dark surfaces */
  --on-dark:     #e8f2f1;
  --on-dark-muted: #7daeb0;

  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans:  'Figtree', system-ui, sans-serif;

  --pad-x: clamp(1.5rem, 7vw, 7rem);
  --space-xs:  clamp(0.5rem,  1vw,   0.75rem);
  --space-sm:  clamp(0.75rem, 1.5vw, 1rem);
  --space-md:  clamp(1rem,    2vw,   1.5rem);
  --space-lg:  clamp(1.5rem,  3vw,   2.5rem);
  --space-xl:  clamp(2.5rem,  5vw,   5rem);
  --space-2xl: clamp(4rem,    8vw,   8rem);
  --r: 6px;
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(1.1rem, 1.21vw, 1.17rem);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad-x);
  transition: background 0.45s ease, backdrop-filter 0.45s ease;
}
.nav.scrolled,
.nav.solid {
  background: rgba(11, 62, 66, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo img {
  height: 3rem;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

/* Hamburger Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.2rem;
  height: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 300;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  /* Weiß: die Nav liegt immer über einem abgedunkelten Bild (Hero und
     Unterseiten-Header) – dunkles Türkis erreicht dort nur ~2:1. */
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease, background 0.25s ease;
  transform-origin: center;
}
.nav.scrolled .nav-toggle span,
.nav.solid .nav-toggle span { background: #fff; }
.nav-toggle.open span { background: #fff; }

/* Hamburger → X Animation */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay – direkt im Body, kein Containing-Block-Problem */
.mobile-menu {
  display: none;
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; }

  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: var(--teal-dark);
    z-index: 250;
    list-style: none;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu a {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
  }
  .mobile-menu a:hover { color: var(--mint); }

  /* Störelement unten im Menü – dezent, außerhalb des Link-Flusses
     positioniert, daher ohne Einfluss auf den zentrierten Nav-Stapel. */
  .mobile-menu-deco {
    position: absolute;
    bottom: -4rem;
    right: -4rem;
    width: 20rem;
    opacity: 0.16;
    pointer-events: none;
  }
  .mobile-menu-deco img { display: block; width: 100%; height: auto; }
}
@media (min-width: 761px) {
  .mobile-menu-deco { display: none; }
}
.nav-links a {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  /* Weiß in allen Zuständen: dunkles Türkis fällt über dem Hero-Foto
     auf ~2:1 – weiß liegt bei 4.6:1. */
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--mint); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* ══════════════════════════════════════════
   HERO  –  Titelbild-Stil aus dem Folder
══════════════════════════════════════════ */
.hero {
  height: 100svh;
  min-height: 600px;
  background: var(--teal-dark);
  display: flex;
  align-items: flex-end;   /* Inhalt sitzt auf dem Bildboden */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Vollflächiges Foto – kein Panel, das Bild trägt die Fläche */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
/* Zwei Ebenen: Markenstimmung über dem ganzen Bild, darüber eine vertikale
   Abdunklung – oben für die Nav, unten für das Inhaltsband. Die Bildmitte
   bleibt bewusst offen. */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(8, 44, 47, 0.72) 0%,
      rgba(8, 44, 47, 0.30) 16%,
      rgba(8, 44, 47, 0.14) 30%,
      rgba(8, 44, 47, 0.52) 46%,
      rgba(8, 44, 47, 0.78) 58%,
      rgba(8, 44, 47, 0.94) 100%),
    linear-gradient(45deg, rgba(10, 62, 65, 0.5), rgba(100, 187, 154, 0.26));
  pointer-events: none;
}

/* Inhaltsband am unteren Bildrand: Name links, Einladung rechts */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  /* Rechte Spalte nie schmaler als die CTA-Zeile (25rem), sonst stapeln die
     Buttons und das Band frisst die offene Bildfläche. */
  grid-template-columns: minmax(0, 1fr) minmax(25rem, 0.8fr);
  align-items: end;
  gap: clamp(1.75rem, 4vw, 5rem);
  padding: max(7rem, 16svh) var(--pad-x) clamp(2.5rem, 7svh, 4.5rem);
}

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  padding-bottom: 0.35rem;   /* auf die Grundlinie der Headline */
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1.25rem;
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
}
.hero-heading em {
  font-style: italic;
  color: var(--mint);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 300;
  color: var(--on-dark);
  max-width: 34ch;
  line-height: 1.7;
  margin: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--mint);
  color: var(--teal-dark);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.9rem 1.9rem;
  border-radius: var(--r);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
  border: none;
  cursor: pointer;
}
.hero-cta:hover {
  background: var(--mint-dim);
  transform: translateY(-2px);
}
.hero-cta.hero-cta-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.hero-cta.hero-cta-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.hero-cta-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Unter ~1040px wird die rechte Spalte zu schmal für die beiden CTAs
   nebeneinander – dann ist ein einspaltiges Band ruhiger als ein
   gestapelter Zweispalter. Foto bleibt darüber offen. */
@media (max-width: 1040px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding-top: max(6rem, 14svh);
  }
  .hero-aside { padding-bottom: 0; }
  .hero-sub { max-width: 46ch; }
}

/* ══════════════════════════════════════════
   PAGE HEADER  –  Bildbanner mit Markenverlauf
══════════════════════════════════════════ */
.page-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 30rem;
  padding: clamp(8rem, 20svh, 10rem) var(--pad-x) clamp(2.25rem, 5vw, 3.5rem);
  background: var(--teal-dark);
  overflow: hidden;
}

.page-header-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-header-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Anderer Bildausschnitt, damit ein zweifach genutztes Motiv
   nicht als Wiederholung liest. */
.page-header-media--offset img { object-position: 78% 74%; }
/* Zwei Ebenen: Markenverlauf für die Farbstimmung, darüber eine
   Abdunklung nach unten – dort steht der Seitenname. */
.page-header-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(11, 62, 66, 0.94) 0%,
      rgba(11, 62, 66, 0.72) 45%,
      rgba(11, 62, 66, 0.48) 100%),
    linear-gradient(45deg, rgba(10, 62, 65, 0.6), rgba(100, 187, 154, 0.45));
  pointer-events: none;
}

.page-header-heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

/* Schlanke Variante ohne Bild – für Nutzwert-Seiten wie Impressum
   und Datenschutz, die keine Bildstimmung brauchen. */
.page-header--plain {
  min-height: 0;
  align-items: flex-start;
  padding: clamp(6.5rem, 16svh, 8.5rem) var(--pad-x) clamp(2rem, 4vw, 2.75rem);
}

/* ══════════════════════════════════════════
   LEGAL  –  Impressum, Datenschutz
══════════════════════════════════════════ */
.legal {
  padding: var(--space-2xl) var(--pad-x) var(--space-2xl);
  background: var(--bg);
}
.legal-content {
  max-width: 42rem;
}
.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.8;
}
.legal-content p + p { margin-top: var(--space-sm); }
.legal-content ul { padding-left: 1.25rem; margin-top: 0.4rem; }
.legal-content li { margin-bottom: 0.35rem; }
.legal-content a { color: var(--teal-dark); }

/* ══════════════════════════════════════════
   PAGE INTRO  –  Einleitung unter dem Banner
══════════════════════════════════════════ */
.page-intro {
  padding: var(--space-2xl) var(--pad-x);
  background: var(--bg);
}
/* Folgt ein Abschnitt auf demselben weißen Grund, entfällt dessen
   oberer Abstand – sonst summieren sich beide Abstände. */
.page-intro + .kontakt-page {
  padding-top: 0;
}
.page-intro-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 24ch;
  text-wrap: balance;
  margin-bottom: var(--space-md);
}
.page-intro-heading em { font-style: italic; color: var(--mint-dim); }
.page-intro-sub {
  font-size: clamp(1.1rem, 1.43vw, 1.27rem);
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   VISION-BÜHNE  –  das große Statement
══════════════════════════════════════════ */
.vision-stage {
  background: var(--teal-dark);
  padding: clamp(4.5rem, 11vw, 9.5rem) var(--pad-x);
}
.vision-stage-kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.vision-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 60rem;
  text-wrap: pretty;
}
.vision-statement + .vision-statement {
  margin-top: clamp(2.25rem, 5.5vw, 4rem);
}
.vision-statement em {
  font-style: italic;
  color: var(--mint);
}

/* Beim Scrollen hellen sich die Wörter von 0.4 auf 1 auf (siehe main.js).
   Der gedimmte Zustand liegt bei 3,2:1 und bleibt damit auch dann
   lesbar, wenn jemand nicht weiterscrollt. */
.vision-statement .vw {
  /* bewusst inline: erhält den natürlichen Textfluss und Zeilenumbruch */
  opacity: 1;
}

/* ══════════════════════════════════════════
   GLAUBENSGRUNDLAGE
══════════════════════════════════════════ */
.creed-section {
  background: var(--bg);
  padding: var(--space-2xl) var(--pad-x);
}
.creed-quote {
  max-width: 62rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--teal-dark);
  line-height: 1.6;
  border-top: 2px solid var(--mint);
  padding-top: var(--space-md);
}
.creed-quote cite {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint-dim);
  display: block;
  margin-bottom: 0.7rem;
}

/* Icon-Kreis – für die Mission-Karten */
.icon-circle {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(100, 188, 155, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-dim);
}
.icon-circle-mark {
  width: 1.35rem;
  height: 1.35rem;
}

/* ══════════════════════════════════════════
   MISSION  –  Zusagen, gleichrangig
══════════════════════════════════════════ */
.mission {
  background: var(--surface);
  padding: var(--space-2xl) var(--pad-x);
}
.mission-header {
  max-width: 58ch;
  margin-bottom: var(--space-xl);
}
.mission-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint-dim);
  margin-bottom: var(--space-md);
}
.mission-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: var(--space-sm);
}
.mission-heading em { font-style: italic; color: var(--teal-dark); }
.mission-sub {
  font-size: clamp(0.99rem, 1.32vw, 1.16rem);
  color: var(--muted);
  line-height: 1.7;
}
.mission-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 760px) {
  .mission-list { grid-template-columns: 1fr; }
}
.mission-item {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: var(--space-lg);
}
/* Die vier Punkte sind gleichrangig, keine Abfolge – daher Icons
   statt Nummerierung. */
.mission-item .icon-circle { margin-bottom: var(--space-md); }
.mission-name {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: var(--space-sm);
}
.mission-text {
  font-size: 0.99rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   WERTE
══════════════════════════════════════════ */
.werte {
  background: var(--teal-dark);
  padding: var(--space-2xl) var(--pad-x);
  position: relative;
  overflow: hidden;
}

.werte-header {
  margin-bottom: var(--space-xl);
  max-width: 58ch;
  position: relative;
  z-index: 1;
}

.werte-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint-dim);
  margin-bottom: var(--space-md);
}

.werte-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
  margin-bottom: var(--space-sm);
}
.werte-heading em { font-style: italic; color: var(--mint); }

.werte-sub {
  font-size: clamp(0.99rem, 1.32vw, 1.16rem);
  color: var(--on-dark-muted);
  line-height: 1.7;
}

.werte-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(100, 188, 155, 0.18);
  position: relative;
  z-index: 1;
}

.wert-item {
  display: grid;
  grid-template-columns: 4rem 1fr 2fr;
  gap: var(--space-lg);
  align-items: baseline;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(100, 188, 155, 0.18);
  transition: background 0.25s;
}
.wert-item:hover {
  background: rgba(100, 188, 155, 0.05);
  margin: 0 calc(-1 * var(--pad-x));
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

@media (max-width: 680px) {
  .wert-item {
    grid-template-columns: 2.5rem 1fr;
    grid-template-rows: auto auto;
  }
  .wert-text { grid-column: 2; }
}

.wert-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--mint-dim);
}

.wert-name {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.wert-text {
  font-size: clamp(0.94rem, 1.1vw, 1.05rem);
  color: var(--on-dark-muted);
  line-height: 1.7;
  max-width: 48ch;
}

/* ══════════════════════════════════════════
   GESCHICHTE  &  TEAM  (Über uns)
══════════════════════════════════════════ */
.geschichte {
  position: relative;
  /* Schneidet das große Störelement exakt an der Sektionsgrenze ab, damit es
     nicht in den Header darüber oder den Team-Block darunter hineinragt. */
  overflow: hidden;
  padding: var(--space-2xl) var(--pad-x);
  background: var(--bg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: stretch;
}
@media (max-width: 760px) {
  .geschichte { grid-template-columns: 1fr; }
}
/* Kein Bild neben dem Text (Fotomotiv sitzt im Seiten-Header): Text läuft
   breiter, als ruhiger Lesetext über die ganze Sektionsbreite. */
.geschichte-body--full {
  grid-column: 1 / -1;
  max-width: 88ch;
  position: relative;
  z-index: 1;
}

/* Störelement füllt die leere Fläche rechts vom Text großflächig – dezent,
   hinter dem Lesefluss. .geschichte schneidet es sauber an der Sektions-
   grenze ab, damit es nicht in Header oder Team-Block hineinragt; rein
   dekorativ, daher aria-hidden. */
.geschichte-deco {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(-8rem, -6vw, -2rem);
  transform: translateY(-50%);
  width: clamp(30rem, 60vw, 66rem);
  height: auto;
  opacity: 0.14;
  pointer-events: none;
}
@media (max-width: 1300px) {
  /* Ab hier läuft der Fließtext (max 88ch) an den rechten Rand heran –
     das Element würde den Text überlagern statt die Leerfläche zu füllen. */
  .geschichte-deco { display: none; }
}
.geschichte-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  text-align: left;
}
.geschichte-body p {
  color: #3a5558;
  line-height: 1.8;
  max-width: 62ch;
}

/* Bild-Platzhalter – bleibt beim Scrollen neben dem Fließtext stehen */
.geschichte-media { position: sticky; top: calc(var(--space-xl) + 4.5rem); align-self: start; }
.geschichte-media:has(.geschichte-photo) { align-self: stretch; position: static; }
.placeholder-image {
  aspect-ratio: 4 / 5;
  border-radius: 0 var(--corner, 3rem) 0 var(--corner, 3rem);
  background: var(--rule);
  border: 1px dashed #a9c2bf;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--muted);
  text-align: center;
  padding: var(--space-lg);
}
.placeholder-image svg { opacity: 0.55; }
.geschichte-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 var(--corner, 3rem) 0 var(--corner, 3rem);
}
@media (max-width: 760px) {
  .geschichte-photo { height: auto; aspect-ratio: 3 / 2; }
}
@media (max-width: 760px) {
  .geschichte-media { position: static; max-width: 22rem; }
}

.team {
  background: var(--surface);
  padding: var(--space-2xl) var(--pad-x);
}
.team-header {
  max-width: 58ch;
  margin-bottom: var(--space-xl);
}
.team-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint-dim);
  margin-bottom: var(--space-md);
}
.team-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.team-heading em { font-style: italic; color: var(--teal-dark); }
.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 900px) {
  .team-list { grid-template-columns: 1fr; }
}
.team-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: var(--space-lg);
}

/* Kreisrundes Porträt. height:auto ist nötig, weil die width/height-
   Attribute des <img> (gegen Layout-Sprünge) sonst die aspect-ratio
   überschreiben würden. */
.team-photo {
  display: block;
  width: 7rem;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--rule);
  margin-bottom: var(--space-md);
}

/* Solange kein Foto vorliegt: gleich großer Platzhalter-Kreis */
.team-avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: var(--rule);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.team-role {
  font-size: 0.8rem;
  color: var(--mint-dim);
  font-weight: 600;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: var(--space-sm);
}
.team-text {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

.placeholder-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(100, 188, 155, 0.25);
  border-radius: 3px;
  padding: 0.2rem 0.5rem;
  margin-bottom: var(--space-sm);
}

/* ══════════════════════════════════════════
   STIMMEN  (Startseite, Zitat-Slider)
══════════════════════════════════════════ */
.stimmen {
  padding: var(--space-2xl) var(--pad-x);
  background: #F2F6F6;
  text-align: center;
}

/* Spur: Scroll-Snap trägt Wischen und Tastatur, JS ergänzt nur die Bedienung */
.stimmen-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: var(--r);
}
.stimmen-viewport::-webkit-scrollbar { display: none; }
.stimmen-viewport:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 6px;
}
.stimmen-track {
  display: flex;
  align-items: stretch;   /* alle Folien gleich hoch – kein Springen */
  list-style: none;
  margin: 0;
  padding: 0;
}
.stimme {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: 0 clamp(0.5rem, 4vw, 3rem);
}

/* Das Statement trägt die Folie – Person bleibt bewusst klein */
.stimme-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
  max-width: 36ch;
  margin: 0;
}
.stimme-person {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stimme-photo {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-sm);
}
.stimme-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.stimme-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  /* --muted statt Mint: auf dem hellen Grund kommt mint-dim nur auf ~3:1,
     zu wenig für Text dieser Größe. */
  color: var(--muted);
}

/* Bedienung: nur mit JS sinnvoll, ohne JS bleibt die Spur wischbar */
.stimmen-controls { display: none; }
.js .stimmen-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.stimmen-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  /* 0.55 statt schwächer: darunter fällt der Rahmen auf dem hellen Grund
     unter die 3:1 für Bedienelemente. */
  border: 1px solid rgba(11, 62, 66, 0.55);
  background: transparent;
  color: var(--teal-dark);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.stimmen-arrow:hover {
  background: rgba(11, 62, 66, 0.08);
  border-color: var(--teal-dark);
}
.stimmen-arrow:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 3px;
}
.stimmen-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.stimmen-dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(11, 62, 66, 0.25);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
/* Aktiver Punkt in Dunkeltürkis: Mint käme auf dem hellen Grund nur auf
   ~2:1 und verfehlt die 3:1 für Bedienelemente. */
.stimmen-dot[aria-current="true"] {
  background: var(--teal-dark);
  transform: scale(1.35);
}
.stimmen-dot:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 3px;
}

/* ══════════════════════════════════════════
   SÄULEN  (Startseite, direkt unter dem Hero)
══════════════════════════════════════════ */
.saeulen {
  padding: var(--space-xl) var(--pad-x) var(--space-2xl);
  background: var(--bg);
  text-align: center;
}
.saeulen-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 30ch;
  margin: 0 auto var(--space-xl);
  text-wrap: balance;
}
.saeulen-heading em { font-style: italic; color: var(--mint-dim); }

.saeulen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 760px) {
  .saeulen-grid { grid-template-columns: 1fr; }
}

.saeule-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: var(--space-xl) var(--space-lg);
}
.saeule-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: rgba(100, 188, 155, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-dim);
}
.saeule-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  display: block;
  margin-bottom: var(--space-sm);
}
.saeule-text {
  font-size: 0.99rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   LEITBILD  (Startseite, unter dem Hero)
══════════════════════════════════════════ */
.leitbild {
  padding: var(--space-2xl) var(--pad-x) var(--space-xl);
  background: var(--bg);
  text-align: center;
}
.leitbild-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
  max-width: 38ch;
  margin: 0 auto;
}
.leitbild-lead em { font-style: italic; color: var(--teal-dark); }

/* ══════════════════════════════════════════
   TEASER  (Startseite → Unterseiten)
══════════════════════════════════════════ */
.teaser {
  padding: 0 var(--pad-x) var(--space-2xl);
  background: var(--bg);
}
/* Zwei halbbreite Kacheln: Foto als Hintergrund, Text darüber */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.teaser-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(19rem, 30vw, 26rem);
  overflow: hidden;
  border-radius: var(--r);
  background: var(--teal-dark);
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.teaser-card:hover { transform: translateY(-3px); }

.teaser-card-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.teaser-card:hover .teaser-card-img { transform: scale(1.04); }

/* Lesefilter: unten kräftig, nach oben ausklingend – plus Markenstimmung */
.teaser-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      rgba(8, 44, 47, 0.94) 0%,
      rgba(8, 44, 47, 0.86) 42%,
      rgba(8, 44, 47, 0.60) 72%,
      rgba(8, 44, 47, 0.44) 100%),
    linear-gradient(45deg, rgba(10, 62, 65, 0.45), rgba(100, 187, 154, 0.22));
  pointer-events: none;
}

.teaser-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-xl);
}
.teaser-card-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: var(--space-sm);
}
.teaser-card-text {
  font-size: 1.01rem;
  color: var(--on-dark);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 42ch;
}
.teaser-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mint);
}
.teaser-card:hover .teaser-card-link { color: #fff; }

@media (max-width: 760px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .teaser-card { min-height: 17rem; }
}

/* ══════════════════════════════════════════
   LEAD26 EVENT BANNER
══════════════════════════════════════════ */
.lead-banner {
  background: #3C3F49;
  padding: var(--space-2xl) var(--pad-x);
  position: relative;
  overflow: hidden;
}

/* Subtiler Raster-Hintergrund à la LEAD27 */
.lead-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100,188,155,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,188,155,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.lead-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 760px) {
  .lead-inner { grid-template-columns: 1fr; }
}

.lead-stand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--mint);
  color: #0a0a0a;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  margin-bottom: var(--space-lg);
}
.lead-stand-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0a0a;
  flex-shrink: 0;
}

/* Alle Anker-Ziele: Offset für fixe Nav */
[id] { scroll-margin-top: 5rem; }
#lead-heading { scroll-margin-top: 230px; }

.lead-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  margin-bottom: var(--space-md);
}
.lead-heading em {
  font-style: italic;
  color: var(--mint);
}

.lead-tagline {
  font-size: clamp(0.96rem, 1.32vw, 1.1rem);
  color: #bbb;
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: var(--space-xl);
}

.lead-meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--mint);
}
.lead-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.lead-meta-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  opacity: 0.6;
}
.lead-meta-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
}

/* Bild-Seite */
.lead-image-wrap {
  position: relative;
}
.lead-image-link {
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.25);
}
.lead-image-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.lead-image-link:hover img {
  transform: scale(1.025);
}
/* Hover-Overlay mit ↗ */
.lead-image-link::after {
  content: '↗';
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 2.5rem;
  height: 2.5rem;
  background: var(--mint);
  color: #0a0a0a;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s, transform 0.25s;
}
.lead-image-link:hover::after {
  opacity: 1;
  transform: scale(1);
}
/* Kompakte Variante – ein schmales Band statt der großen Startseiten-Kachel,
   z.B. oberhalb des Kontaktformulars. */
.lead-banner--compact {
  padding: var(--space-md) var(--pad-x);
}
.lead-compact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}
.lead-compact-badge {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.lead-compact-badge .lead-stand-badge { margin-bottom: 0; }
.lead-compact-heading {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.lead-compact-heading em { font-style: italic; color: var(--mint); }
.lead-compact-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #bbb;
  white-space: nowrap;
}
.lead-compact-sep { color: var(--mint); opacity: 0.6; }
.lead-compact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.lead-compact-link:hover { color: #fff; }
@media (max-width: 640px) {
  .lead-compact-link { margin-left: 0; }
}

.lead-image-caption {
  font-size: 0.72rem;
  color: var(--mint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--space-sm);
  text-align: right;
}

/* ══════════════════════════════════════════
   KONTAKT
══════════════════════════════════════════ */
.kontakt {
  background: var(--surface);
  padding: var(--space-2xl) var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kontakt-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
  margin-bottom: var(--space-md);
}
.kontakt-heading em {
  font-style: italic;
  color: var(--teal-dark);
}

.kontakt-sub {
  font-size: clamp(1.1rem, 1.54vw, 1.24rem);
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.kontakt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--teal-dark);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.25rem;
  border-radius: var(--r);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}
.kontakt-btn:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
}

/* Kontakt-Seite: Formular + Info nebeneinander */
.kontakt-page {
  padding: var(--space-2xl) var(--pad-x);
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}
@media (max-width: 900px) {
  .kontakt-page { grid-template-columns: 1fr; }
}
.kontakt-info-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: var(--space-md);
}
.kontakt-info-heading em { font-style: italic; color: var(--mint); }
.kontakt-info p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 40ch;
  margin-bottom: var(--space-lg);
}
.kontakt-info-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: var(--space-sm);
}
.kontakt-info-mail:hover { color: var(--mint-dim); }
.kontakt-info p.kontakt-info-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--teal-dark);
  font-weight: 600;
  line-height: 1.5;
  max-width: none;
  margin-bottom: 0;
}
.kontakt-info-address svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 0.7rem 0.9rem;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--mint);
  background: #fff;
}
.form-field textarea { min-height: 6.5rem; }

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%234a6669' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-field select:invalid { color: var(--muted); }

/* Mehrere Felder nebeneinander – hält das Formular kompakt.
   align-items:end richtet die Eingabefelder aneinander aus, auch
   wenn eine Beschriftung zweizeilig umbricht. */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
  align-items: end;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Honeypot – für Menschen unsichtbar, für Bots nicht erkennbar als solches */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  align-self: flex-start;
  margin-top: var(--space-sm);
}

.form-status {
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r);
  display: none;
}
.form-status.visible { display: block; }
.form-status.success {
  background: rgba(100, 188, 155, 0.15);
  color: var(--teal-dark);
}
.form-status.error {
  background: rgba(200, 70, 70, 0.1);
  color: #a33;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  position: relative;
  background: var(--teal-dark);
  padding: var(--space-2xl) var(--pad-x) var(--space-lg);
}
/* Feine Markenkante als oberer Abschluss */
footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg,
    var(--mint) 0%,
    rgba(100, 188, 155, 0.3) 42%,
    rgba(100, 188, 155, 0) 78%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: var(--space-xl) var(--space-lg);
  padding-bottom: var(--space-xl);
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand { grid-column: 1 / -1; }
@media (min-width: 761px) {
  .footer-brand { grid-column: 1; }
}

.footer-logo img {
  height: 6.1rem;
  width: auto;
  display: block;
  margin-bottom: var(--space-md);
}
.footer-claim {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.16rem;
  line-height: 1.55;
  color: var(--on-dark-muted);
  max-width: 24ch;
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  list-style: none;
}
.footer-links a,
.footer-links button {
  font-family: inherit;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-block;
  width: fit-content;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a:hover,
.footer-links button:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-links a[aria-current="page"] { color: var(--mint); }

/* Kontaktdaten mit dezenten Icons */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.footer-contact-list li {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}
.footer-icon {
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  /* optisch an der ersten Textzeile ausrichten */
  margin-top: 0.15rem;
}

address.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}
.footer-contact-list a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact-list a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(100, 188, 155, 0.3);
}
.footer-legal {
  display: flex;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
}
/* Punkt als Trenner statt Lücke – ruhiger als mehrere Abstände */
.footer-legal li:not(:first-child)::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  margin: 0 0.75rem;
  vertical-align: middle;
}
.footer-legal a,
.footer-legal button {
  font-family: inherit;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-legal a:hover,
.footer-legal button:hover { color: #fff; }
.footer-legal a[aria-current="page"] { color: rgba(255,255,255,0.9); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.62);
}

/* ══════════════════════════════════════════
   REVEAL ANIMATIONS
   Inhalt ist standardmäßig sichtbar. Erst wenn JS läuft,
   wird der Ausgangszustand gesetzt — sonst bliebe die Seite
   ohne JS (oder in Headless-Renderern) leer.
══════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity  0.75s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .js .reveal.visible { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: 0.1s; }
  .reveal-d2 { transition-delay: 0.2s; }
  .reveal-d3 { transition-delay: 0.3s; }
  .reveal-d4 { transition-delay: 0.4s; }
  .reveal-d5 { transition-delay: 0.5s; }

  /* Hero entrance: Foto zuerst, dann das Inhaltsband von unten */
  .js .hero-media   { animation: fade-in  1.3s cubic-bezier(0.16,1,0.3,1) 0.05s both; }
  .js .hero-heading { animation: slide-up 0.9s cubic-bezier(0.16,1,0.3,1) 0.3s both; }
  .js .hero-sub     { animation: slide-up 0.8s cubic-bezier(0.16,1,0.3,1) 0.48s both; }
  .js .hero-cta-row { animation: slide-up 0.7s cubic-bezier(0.16,1,0.3,1) 0.62s both; }

  /* Page-header entrance (Unterseiten) */
  .js .page-header-media   { animation: fade-in  1.2s cubic-bezier(0.16,1,0.3,1) 0.05s both; }
  .js .page-header-heading { animation: slide-up 0.9s cubic-bezier(0.16,1,0.3,1) 0.25s both; }

  @keyframes slide-up {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
