/* =====================================================================
   Israelforum e.V. — Design-System (Task 3, statisch)
   Reihenfolge: Reset · Tokens · Typo · Layout · Komponenten · Sektionen
   · Overlaps · Effekt-Vorbereitung · Responsive · Reduced-Motion
   ===================================================================== */

@import url("../assets/fonts/fonts.css");

/* ---------------------------------------------------------------- Reset */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--nacht);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
video,
svg,
model-viewer { display: block; max-width: 100%; }

img,
video { height: auto; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; }

button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--blau-hell);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Gold-Ring auf dunklen Flächen (Blau hätte dort zu wenig Kontrast). */
.hero :focus-visible,
.section--dark :focus-visible,
.section--petrol :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

/* --------------------------------------------------------------- Tokens */
:root {
  /* Farben (exakt) */
  --blau: #0038b8;
  --blau-hell: #33a1fd;
  --gold: #ffd64f;
  --ink: #171717;
  --nacht: #101322;
  --papier: #f5f4f3;
  --weiss: #ffffff;
  --petrol: #004643;
  --grau: #767676;

  /* Rundungen */
  --r-s: 12px;
  --r-m: 24px;
  --r-l: 40px;
  --r-pill: 999px;

  /* Schrift-Familien */
  --ff-sans: "Noto Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --ff-display: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --ff-serif: "Cardo", Georgia, serif;

  /* Typo-Skala (clamp) */
  --fs-display: clamp(3rem, 8.5vw, 7rem);
  --fs-h2: clamp(2.1rem, 5vw, 3.6rem);
  --fs-h3: clamp(1.3rem, 2.4vw, 1.75rem);
  --fs-lead: clamp(1.15rem, 1.6vw, 1.5rem);
  --fs-body: clamp(1rem, 1.05vw, 1.125rem);
  --fs-eyebrow: 0.8rem;

  /* Schatten */
  --shadow-card: 0 20px 60px rgb(0 0 0 / 0.08);
  --shadow-soft: 0 12px 34px rgb(0 0 0 / 0.10);
  --shadow-lift: 0 34px 80px rgb(0 0 0 / 0.18);
  --shadow-dark: 0 24px 70px rgb(0 0 0 / 0.45);

  /* Layout */
  --container: 1200px;
  --gap: clamp(1.5rem, 2.6vw, 2.5rem);
  --pad-section: clamp(4rem, 10vw, 8rem);
  --edge: clamp(1.25rem, 5vw, 2rem);
  --overlap: 40px;
}

/* ----------------------------------------------------------- Typografie */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { text-wrap: pretty; }

.balance { text-wrap: balance; }

/* ---------------------------------------------------------- Layout-Utils */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--edge);
}

.section {
  position: relative;
  padding-block: var(--pad-section);
}

.section--dark {
  background: var(--nacht);
  color: var(--papier);
}

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

.section--petrol {
  background: linear-gradient(160deg, #005b57 0%, var(--petrol) 55%, #00332f 100%);
  color: var(--papier);
}

/* Überlappende, große abgerundete Oberkanten */
.section--overlap {
  margin-top: calc(var(--overlap) * -1);
  border-radius: var(--r-l) var(--r-l) 0 0;
  z-index: 2;
}

.section--overlap-lg {
  margin-top: calc(var(--overlap) * -1.6);
  border-radius: clamp(40px, 6vw, 72px) clamp(40px, 6vw, 72px) 0 0;
  z-index: 2;
}

/* Sektions-Kopf */
.section__head {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .eyebrow { justify-content: center; }

.section__title {
  font-size: var(--fs-h2);
  margin-top: 0.9rem;
}

.section__intro {
  font-size: var(--fs-lead);
  line-height: 1.5;
  margin-top: 1.25rem;
  max-width: 62ch;
  color: color-mix(in srgb, currentColor 78%, transparent);
}

.section__head--center .section__intro { margin-inline: auto; }

/* Eyebrow-Label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blau);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
  opacity: 0.55;
}

.section--dark .eyebrow,
.section--petrol .eyebrow { color: var(--gold); }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95em 1.7em;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn svg { width: 1.1em; height: 1.1em; }

.btn--gold { background: var(--gold); color: var(--nacht); }
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgb(255 214 79 / 0.38);
}

.btn--blau { background: var(--blau); color: var(--weiss); }
.btn--blau:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgb(0 56 184 / 0.32);
}

.btn--ghost-light {
  border-color: rgb(255 255 255 / 0.35);
  color: var(--papier);
}
.btn--ghost-light:hover {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.6);
  transform: translateY(-2px);
}

/* Text-Link mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  color: var(--blau);
  transition: gap 0.25s ease, color 0.25s ease;
}
.section--dark .link-arrow,
.section--petrol .link-arrow { color: var(--gold); }
.link-arrow:hover { gap: 0.85em; }
.link-arrow svg { width: 1em; height: 1em; }

/* --------------------------------------------------------------- Grids */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------- Karten */
.card {
  background: var(--weiss);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-card);
  padding: clamp(1.75rem, 3vw, 2.6rem);
  border: 1px solid rgb(23 23 23 / 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--r-m);
  margin-bottom: 1.4rem;
  background: color-mix(in srgb, var(--blau) 10%, transparent);
  color: var(--blau);
}
.card__icon svg { width: 32px; height: 32px; }

.card__title {
  font-size: var(--fs-h3);
  margin-bottom: 0.7rem;
}

.card__text {
  color: color-mix(in srgb, currentColor 74%, transparent);
}

/* =====================================================================
   HEADER / GLAS-NAV
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgb(16 19 34 / 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease,
    backdrop-filter 0.3s ease, border-color 0.3s ease;
}

/* Solid-Zustand beim Scrollen (via .nav--solid aus effects.js) */
.site-header.nav--solid {
  background: rgb(12 15 28 / 0.9);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: rgb(255 255 255 / 0.12);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06), 0 10px 34px rgb(0 0 0 / 0.32);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.nav__logo img {
  height: 34px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2rem);
}

.nav__links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgb(245 244 243 / 0.82);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.2s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav__links a:hover { color: var(--weiss); }
.nav__links a:hover::after { transform: scaleX(1); }

/* Aktiver Anker (via .is-active aus effects.js) */
.nav__links a.is-active { color: var(--weiss); }
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 0.75rem; }
.nav__cta .btn { padding: 0.7em 1.35em; font-size: 0.9rem; }

/* Burger — nur mobil sichtbar (Media-Query weiter unten) */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--papier);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.site-header.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Text-Scrub: Wort-Spans werden beim Scrollen heller (Init-State aus JS) */
.scrub-word { display: inline; will-change: opacity; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--nacht);
  color: var(--weiss);
  text-align: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 15%, rgb(16 19 34 / 0.25) 0%, rgb(16 19 34 / 0.65) 60%, rgb(16 19 34 / 0.92) 100%),
    linear-gradient(180deg, rgb(16 19 34 / 0.55) 0%, rgb(16 19 34 / 0.2) 35%, rgb(16 19 34 / 0.85) 100%);
}

/* Darkening veil that deepens near the end of the scrub to hand off to the
   next section. Sits above the media/overlay but below the copy (z-index 2). */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--nacht);
  opacity: 0.35;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 8rem 6rem;
  padding-inline: var(--edge);
  max-width: 1000px;
}

.hero .eyebrow {
  color: var(--gold);
  justify-content: center;
  margin-bottom: 1.6rem;
}

.hero__title {
  font-weight: 900;
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 40px rgb(0 0 0 / 0.35);
}

.hero__title .hero-word {
  display: inline-block;
}

.hero__title .hero-word:nth-child(2) { color: var(--gold); }

.hero__subline {
  font-size: var(--fs-lead);
  line-height: 1.5;
  margin: 1.8rem auto 0;
  max-width: 46ch;
  color: rgb(245 244 243 / 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.6rem;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgb(245 244 243 / 0.7);
}

.hero__scroll span::after {
  content: "";
  display: block;
  width: 1px;
  height: 44px;
  margin: 0.4rem auto 0;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollHint 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* =====================================================================
   MISSION (dunkel, Text-Scrub)
   ===================================================================== */
.mission {
  text-align: center;
}

/* Eyebrow zentriert im Mission-Block; Gold erbt es von .section--dark. */
.mission .eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.mission__statement {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin-inline: auto;
  color: var(--papier);
}

.mission__statement strong {
  color: var(--gold);
  font-weight: 700;
}

.mission__note {
  margin: 2.4rem auto 0;
  max-width: 60ch;
  color: rgb(245 244 243 / 0.62);
  font-size: var(--fs-body);
}

/* =====================================================================
   ÜBER UNS — drei Säulen
   ===================================================================== */
.pillar-card { text-align: left; }

.pillar-card .card__title { font-family: var(--ff-display); }

/* =====================================================================
   TEMPEL (3D)
   ===================================================================== */
.tempel__grid {
  position: relative; /* Bezug für die absolut platzierten .tempel__steps */
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.tempel__copy .section__title { margin-top: 0.9rem; }

.tempel__copy p {
  margin-top: 1.3rem;
  color: rgb(245 244 243 / 0.8);
}

.tempel__stage {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  /* Dunkler Verlauf oben, kühles Deckenlicht + warmer Bodenschein unten,
     damit auch das Platzhalter-Modell auf einem „Podest“ zu stehen scheint. */
  background:
    radial-gradient(70% 45% at 50% 100%, rgb(255 214 79 / 0.14), transparent 72%),
    radial-gradient(80% 80% at 50% 18%, rgb(51 161 253 / 0.16), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--nacht) 60%, #000000), color-mix(in srgb, var(--nacht) 82%, var(--weiss)));
  border: 1px solid rgb(255 255 255 / 0.08);
  box-shadow: var(--shadow-dark);
}

.tempel__stage model-viewer {
  --poster-color: transparent;
  background: transparent;
}

#temple-viewer {
  width: 100%;
  height: 100vh;
}

/* -------------------------------------------------- Scrub-Kurztexte */
/* Desktop: als Overlay am unteren Rand der Bühne gestapelt (alle im selben
   Grid-Feld) — die JS-Choreografie blendet sie nacheinander per opacity ein. */
/* Die Bühne ist 100vh hoch; die gepinnte Sektion ist damit höher als der
   Viewport. Deshalb im unteren Drittel des sichtbaren Bereichs verankern
   (top-basiert), nicht am — unsichtbaren — Boden des Grids. */
.tempel__steps {
  position: absolute;
  right: 0;
  top: 60vh;
  z-index: 3;
  width: min(48%, 30rem);
  display: grid;
  margin: 0;
  padding: 0 clamp(1rem, 2vw, 1.75rem);
  list-style: none;
  pointer-events: none;
}

.tempel-step {
  grid-area: 1 / 1; /* alle übereinander → sauberer Cross-Fade */
  padding: 1rem 1.25rem;
  border-radius: var(--r-m);
  border: 1px solid rgb(255 255 255 / 0.12);
  background: color-mix(in srgb, var(--nacht) 78%, #000000);
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tempel-step__era {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.tempel-step p {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgb(245 244 243 / 0.9);
}

.attribution {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgb(245 244 243 / 0.62);
}

.attribution a { color: rgb(245 244 243 / 0.7); text-decoration: underline; }

/* =====================================================================
   THEMEN — 6 Kacheln
   ===================================================================== */
.topic-card {
  display: flex;
  flex-direction: column;
}

.topic-card__num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blau);
  opacity: 0.55;
  margin-bottom: 1rem;
}

.topic-card .card__title { font-family: var(--ff-display); }

/* =====================================================================
   REISEN — 4 Reise-Karten
   ===================================================================== */
.reise-card {
  display: flex;
  flex-direction: column;
  background: var(--weiss);
  color: var(--ink);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.reise-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.reise-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.16;
  transition: scale 0.5s ease;
}

.reise-card:hover .reise-card__media img { scale: 1.2; }

.reise-card__date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgb(16 19 34 / 0.78);
  color: var(--papier);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
}

.reise-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  flex: 1;
}

.reise-card__title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  line-height: 1.2;
}

.reise-card__price {
  font-weight: 700;
  color: var(--petrol);
  font-size: 1.05rem;
}

.reise-card__price s {
  color: var(--grau);
  font-weight: 400;
  margin-right: 0.4rem;
}

.reise-card__body .btn { margin-top: auto; align-self: flex-start; }

/* =====================================================================
   AKTUELLES — News-Karten
   ===================================================================== */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--weiss);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgb(23 23 23 / 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.news-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-card__media img { width: 100%; height: 100%; object-fit: cover; }

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  flex: 1;
}

.news-card__date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blau);
}

.news-card__title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  line-height: 1.25;
}

.news-card__teaser {
  color: color-mix(in srgb, var(--ink) 70%, transparent);
  font-size: 0.95rem;
}

.news-card__body .link-arrow { margin-top: auto; }

/* Text-Variante (ohne Foto) */
.news-card--text {
  background: linear-gradient(155deg, var(--blau) 0%, #06256e 100%);
  color: var(--papier);
  justify-content: flex-start;
}

.news-card--text .news-card__body { padding-top: clamp(2rem, 4vw, 2.8rem); }
.news-card--text .news-card__date { color: var(--gold); }
.news-card--text .news-card__teaser { color: rgb(245 244 243 / 0.82); }
.news-card--text .link-arrow { color: var(--gold); }

.news-card--text .quote-mark {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 4rem;
  line-height: 0.6;
  color: rgb(255 214 79 / 0.5);
}

/* =====================================================================
   BIBLIOTHEK — Kategorien + Zähler
   ===================================================================== */
.lib-cat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-radius: var(--r-l);
  background: color-mix(in srgb, var(--nacht) 82%, var(--weiss));
  border: 1px solid rgb(255 255 255 / 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.lib-cat:hover {
  transform: translateY(-6px);
  border-color: rgb(255 214 79 / 0.4);
}

.lib-cat__title {
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  color: var(--gold);
}

.lib-cat__text { color: rgb(245 244 243 / 0.72); font-size: 0.95rem; }

.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  text-align: center;
}

.counter__num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 1;
  color: var(--gold);
  display: block;
}

.counter__label {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(245 244 243 / 0.7);
}

/* =====================================================================
   FAQ — Accordion
   ===================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin-inline: auto;
}

.faq-item {
  background: var(--weiss);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-card);
  border: 1px solid rgb(23 23 23 / 0.05);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.2rem, 2.4vw, 1.6rem) clamp(1.4rem, 2.8vw, 2rem);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.faq-item summary::after {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  background: var(--blau);
  color: var(--weiss);
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
  background-image:
    linear-gradient(var(--weiss), var(--weiss)),
    linear-gradient(var(--weiss), var(--weiss));
  background-size: 12px 2px, 2px 12px;
  background-position: center, center;
  background-repeat: no-repeat;
}

.faq-item[open] summary { color: var(--blau); }
.faq-item[open] summary::after { transform: rotate(135deg); }

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

.faq-item__body {
  padding: 0 clamp(1.4rem, 2.8vw, 2rem) clamp(1.4rem, 2.6vw, 1.8rem);
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.faq-item__body p + p { margin-top: 0.9rem; }

/* =====================================================================
   INSTITUT + Partner
   ===================================================================== */
.institut__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.institut__panel {
  background: var(--weiss);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-card);
  padding: clamp(2rem, 4vw, 3rem);
}

.institut__panel p { margin-top: 1.2rem; color: color-mix(in srgb, var(--ink) 74%, transparent); }
.institut__panel .btn { margin-top: 2rem; }

.partners {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid rgb(23 23 23 / 0.1);
}

.partners__label {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grau);
  margin-bottom: 2rem;
}

.partners__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}

.partners__row img {
  height: clamp(38px, 5vw, 54px);
  width: auto;
  opacity: 0.62;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.partners__row img:hover { opacity: 1; filter: grayscale(0); }

/* =====================================================================
   KONTAKT + FOOTER
   ===================================================================== */
.kontakt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.kontakt__copy .section__title { margin-top: 0.9rem; }
.kontakt__copy p { margin-top: 1.2rem; color: rgb(245 244 243 / 0.72); max-width: 42ch; }
.kontakt__copy .btn { margin-top: 2rem; }

.kontakt__card {
  background: color-mix(in srgb, var(--nacht) 80%, var(--weiss));
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: var(--r-l);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-dark);
}

.contact-list { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }

.contact-list .ci {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-s);
  background: rgb(255 214 79 / 0.14);
  color: var(--gold);
}
.contact-list .ci svg { width: 20px; height: 20px; }

.contact-list dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(245 244 243 / 0.55);
  margin-bottom: 0.2rem;
}
.contact-list dd { font-weight: 600; color: var(--papier); }
.contact-list a:hover { color: var(--gold); }

/* Footer */
.site-footer {
  background: var(--nacht);
  color: var(--papier);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.footer__brand img { height: 40px; width: auto; max-width: 200px; object-fit: contain; margin-bottom: 1.4rem; }
.footer__brand p { color: rgb(245 244 243 / 0.6); font-size: 0.92rem; max-width: 34ch; }

.footer__col h4 {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { color: rgb(245 244 243 / 0.72); font-size: 0.95rem; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--weiss); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.2rem;
}

.footer__bottom-right {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer__legal a { color: rgb(245 244 243 / 0.7); font-size: 0.85rem; }
.footer__legal a:hover { color: var(--gold); }

.footer__credits {
  color: rgb(245 244 243 / 0.62);
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 52ch;
}

.footer__copy { color: rgb(245 244 243 / 0.55); font-size: 0.85rem; }

/* =====================================================================
   EFFEKT-VORBEREITUNG
   (KEINE opacity:0 — Task 4 setzt Initial-States per JS; no-JS bleibt lesbar)
   ===================================================================== */
[data-reveal],
[data-reveal-group] > * { will-change: opacity, transform; }

[data-parallax] { will-change: transform; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tempel__grid { grid-template-columns: 1fr; }

  /* Ohne Scroll-Choreografie: Steps als normale Liste statt Overlay-Stack. */
  .tempel__steps {
    position: static;
    width: auto;
    margin-top: 1.5rem;
    padding: 0;
    gap: 0.75rem;
  }
  .tempel-step { grid-area: auto; }
  .institut__grid { grid-template-columns: 1fr; }
  .kontakt__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav__cta { display: none; }

  /* Nav-Links als Overlay-Dropdown unter der fixen Leiste */
  .nav__links {
    display: flex;
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem clamp(1rem, 5vw, 2rem) 1.5rem;
    background: rgb(12 15 28 / 0.96);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid rgb(255 255 255 / 0.1);
    box-shadow: 0 20px 40px rgb(0 0 0 / 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }
  .site-header.nav-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__links a {
    font-size: 1.1rem;
    padding: 0.9rem 0.6rem;
    border-radius: var(--r-s);
    border-bottom: 1px solid rgb(255 255 255 / 0.06);
  }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links a::after { display: none; }

  .grid--2 { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__inner { padding-block: 7rem 5rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 480px) {
  :root { --pad-section: clamp(3rem, 12vw, 5rem); }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .nav__logo img { height: 30px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* =====================================================================
   REDUCED MOTION — alles sichtbar, keine Bewegung
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero__scroll span::after { animation: none; transform: none; opacity: 0.7; }
  .reise-card__media img { transform: none; }
  [data-reveal],
  [data-reveal-group] > *,
  [data-parallax] { opacity: 1 !important; transform: none !important; }

  /* Kamerafahrt entfällt: Steps als lesbare Liste, alle sichtbar. */
  .tempel__steps {
    position: static;
    width: auto;
    margin-top: 1.5rem;
    padding: 0;
    gap: 0.75rem;
  }
  .tempel-step { grid-area: auto; opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   ADVANCED MOTION LAYER — editorial, restrained, progressive enhancement
   ===================================================================== */

/* Global scroll progress */
.scroll-progress {
  position: fixed;
  z-index: 1200;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), #f2d9a0);
  box-shadow: 0 0 16px rgb(201 157 74 / 0.35);
}

/* Fine-grained title reveal. The clip is removed immediately for reduced motion. */
.motion-title {
  will-change: transform, opacity, clip-path;
}

/* Soft moving glow for the mission section. */
.mission {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.mission::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(68vw, 920px);
  aspect-ratio: 1;
  left: var(--mission-glow-x, 52%);
  top: var(--mission-glow-y, 46%);
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(190 145 65 / 0.16), transparent 66%);
  filter: blur(18px);
  pointer-events: none;
}

/* About / topic card micro-depth */
.card,
.reise-card,
.news-card,
.lib-cat,
.institut__panel,
.kontakt__card {
  transform-style: preserve-3d;
}
.motion-card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgb(255 255 255 / 0.22), transparent 42%);
  transition: opacity 0.35s ease;
}
.motion-card:hover .motion-card-glow { opacity: 1; }

/* Horizontal topics story — only activated by JS on wide screens. */
#themen.motion-horizontal {
  overflow: clip;
}
#themen.motion-horizontal .container {
  max-width: none;
  width: 100%;
  padding-inline: max(5vw, 2rem);
}
#themen.motion-horizontal .section__head {
  max-width: min(760px, 72vw);
}
#themen.motion-horizontal .grid {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  width: max-content;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  will-change: transform;
}
#themen.motion-horizontal .topic-card {
  flex: 0 0 clamp(300px, 31vw, 470px);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
#themen.motion-horizontal .topic-card__num {
  position: absolute;
  top: 1.5rem;
  right: 1.7rem;
  font-size: clamp(3.8rem, 7vw, 7rem);
  opacity: 0.12;
}
.horizontal-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.horizontal-hint::after {
  content: "";
  width: 52px;
  height: 1px;
  background: currentColor;
}

/* Editorial image reveals */
.reise-card__media,
.news-card__media {
  clip-path: inset(0 0 0 0 round 0);
  will-change: clip-path;
}
.reise-card__media img,
.news-card__media img {
  will-change: transform;
}

/* FAQ active reading line */
.faq-item { position: relative; }
.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blau);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.35s ease;
}
.faq-item[open]::before { transform: scaleY(1); }

/* Contact depth and ambient halo */
#kontakt { position: relative; overflow: hidden; isolation: isolate; }
#kontakt::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(52vw, 720px);
  aspect-ratio: 1;
  right: -12%;
  top: 50%;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(201 157 74 / 0.15), transparent 68%);
  pointer-events: none;
}

/* Custom cursor + fluid follower. Desktop / precise pointer only. */
.motion-cursor,
.motion-cursor-ring {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  translate: -50% -50%;
}
.motion-cursor {
  width: 7px;
  height: 7px;
  background: var(--gold);
}
.motion-cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgb(201 157 74 / 0.72);
  background: rgb(201 157 74 / 0.05);
  backdrop-filter: blur(2px);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
body.cursor-active,
body.cursor-active a,
body.cursor-active button,
body.cursor-active summary,
body.cursor-active model-viewer { cursor: none; }
.motion-cursor-ring.is-hovering {
  width: 58px;
  height: 58px;
  background: rgb(201 157 74 / 0.13);
  border-color: rgb(201 157 74 / 0.95);
}
.motion-cursor-ring.is-dark {
  border-color: rgb(255 255 255 / 0.72);
  background: rgb(255 255 255 / 0.07);
}

/* Magnetic buttons must remain compositor-friendly. */
.btn.motion-magnetic { will-change: transform; }

@media (max-width: 767px), (hover: none), (pointer: coarse) {
  .horizontal-hint,
  .motion-cursor,
  .motion-cursor-ring { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .horizontal-hint,
  .motion-cursor,
  .motion-cursor-ring { display: none !important; }
  .motion-title { clip-path: none !important; opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   KORREKTUREN JULI 2026 — Helligkeit, Tempelabfolge und Cursor
   ===================================================================== */

/* Das Eingangsvideo bleibt kontrastreich, wird aber deutlich heller. */
.hero__media video {
  filter: brightness(1.28) saturate(1.06) contrast(0.94);
}
.hero__overlay {
  background:
    radial-gradient(120% 80% at 50% 15%, rgb(16 19 34 / 0.08) 0%, rgb(16 19 34 / 0.34) 60%, rgb(16 19 34 / 0.68) 100%),
    linear-gradient(180deg, rgb(16 19 34 / 0.26) 0%, rgb(16 19 34 / 0.08) 38%, rgb(16 19 34 / 0.62) 100%);
}
.hero__veil { opacity: 0.12; }

/* Ruhiger Übergang vom hellen Forum in die dunkle Tempelsequenz. */
#tempel {
  z-index: 4;
  min-height: 100vh;
  padding-block: clamp(4.5rem, 7vh, 6rem);
  box-shadow: 0 -28px 80px rgb(16 19 34 / 0.22);
  isolation: isolate;
}
#tempel::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: -72px;
  height: 112px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgb(245 240 229 / 0), rgb(16 19 34 / 0.48) 72%, var(--nacht));
  pointer-events: none;
}
#tempel .tempel__grid {
  min-height: calc(100vh - clamp(9rem, 14vh, 12rem));
}
#temple-viewer {
  height: min(68vh, 720px);
  min-height: 500px;
}
.tempel__steps {
  top: auto;
  bottom: clamp(1.5rem, 5vh, 4rem);
}
#themen { z-index: 2; }

/* Themenkarten ohne Schrägstellung oder 3D-Neigung. */
#themen .topic-card,
#themen .topic-card:hover {
  rotate: 0deg !important;
  transform: translateY(0) rotate(0deg) !important;
  transform-style: flat;
}
#themen.motion-horizontal .topic-card {
  align-self: stretch;
}

/* Der Cursor muss auch über gepinnten und hellen Bereichen sichtbar bleiben. */
.motion-cursor,
.motion-cursor-ring {
  z-index: 2147483646;
  translate: none;
  mix-blend-mode: normal;
}
.motion-cursor {
  width: 9px;
  height: 9px;
  background: #d2a74f;
  border: 1px solid rgb(16 19 34 / 0.65);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 0.72), 0 2px 10px rgb(0 0 0 / 0.45);
}
.motion-cursor-ring {
  border: 2px solid #c99d4a;
  background: rgb(255 255 255 / 0.08);
  box-shadow: 0 0 0 1px rgb(16 19 34 / 0.32), 0 4px 18px rgb(0 0 0 / 0.18);
  backdrop-filter: none;
}
.motion-cursor-ring.is-dark {
  border-color: #ffffff;
  background: rgb(201 157 74 / 0.12);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.5), 0 4px 18px rgb(0 0 0 / 0.28);
}

@media (max-width: 1024px) {
  #tempel { min-height: auto; }
  #tempel .tempel__grid { min-height: auto; }
  #temple-viewer { height: min(66vh, 650px); min-height: 420px; }
}


/* =====================================================================
   KORREKTUREN KARTENAUSRICHTUNG & CURSOR-TRACKING
   ===================================================================== */
/* Alle Karten eines Rasters beginnen auf derselben oberen Linie und nutzen
   die komplette verfügbare Rasterhöhe. Der Hover hebt nur die aktive Karte an. */
#forum [data-reveal-group],
#reisen [data-reveal-group],
#aktuelles [data-reveal-group] {
  align-items: stretch;
}
#forum .pillar-card,
#reisen .reise-card,
#aktuelles .news-card {
  align-self: stretch;
  height: 100%;
  rotate: 0deg;
}
#forum .pillar-card {
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#forum .pillar-card:hover,
#reisen .reise-card:hover,
#aktuelles .news-card:hover {
  transform: translateY(-6px);
}

/* Position ausschließlich über transform; keine konkurrierende CSS-translate. */
.motion-cursor,
.motion-cursor-ring {
  left: 0;
  top: 0;
  translate: none !important;
  will-change: transform;
}

/* Footer-Logo wie auf den Israelreisen-Seiten */
.footer-brand-logo{display:inline-flex;align-items:center;padding:8px 11px;background:#fff;border-radius:4px;margin-bottom:1rem}
.footer-brand-logo img{display:block;width:190px!important;height:auto!important;max-height:none!important;object-fit:contain!important}

/* =====================================================================
   STARTSEITEN-KORREKTUREN JULI 2026
   ===================================================================== */
/* Das neue Versöhnungs-Symbol übernimmt exakt die Größe des bisherigen SVG. */
.card__icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Pulsierender Scroll-Hinweis: 50 Prozent länger. */
.hero__scroll span::after { height: 66px; }

/* Custom Cursor auch in kleineren Desktop-Browserfenstern sichtbar lassen.
   Deaktivierung nur noch auf echten Touch-/Coarse-Pointer-Geräten. */
@media (max-width: 1099px) and (hover: hover) and (pointer: fine) {
  .motion-cursor,
  .motion-cursor-ring { display: block !important; }
}
@media (hover: none), (pointer: coarse) {
  .motion-cursor,
  .motion-cursor-ring { display: none !important; }
}


/* =====================================================================
   FEINKORREKTUREN: Piktogramm, Aktuelles-Abstand, Themen auf Desktop
   ===================================================================== */
/* Das eingebettete Versöhnungspiktogramm ist exakt in Israelforum-Blau
   (#0038B8) eingefärbt; diese Regel hält die Darstellung unverfälscht. */
#ueber-uns .pillar-card:nth-child(3) .card__icon img {
  filter: none;
}

/* Mehr Luft zwischen den Aktuelles-Karten und dem Übersichtsbutton. */
#aktuelles .section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(3.25rem, 6vw, 5.25rem);
}

/* Die horizontale Themenstrecke bleibt auch in kleineren Desktopfenstern
   erhalten. Die Karten werden dort etwas breiter relativ zum Viewport. */
@media (min-width: 768px) and (max-width: 1099px) and (hover: hover) and (pointer: fine) {
  #themen.motion-horizontal .container {
    padding-inline: max(4vw, 1.5rem);
  }
  #themen.motion-horizontal .section__head {
    max-width: min(720px, 86vw);
  }
  #themen.motion-horizontal .topic-card {
    flex-basis: clamp(300px, 48vw, 430px);
  }
  .horizontal-hint {
    display: inline-flex !important;
  }
}

/* =====================================================================
   AKTUELLES: VERLÄSSLICHER ABSTAND ZUM ÜBERSICHTSBUTTON
   =====================================================================
   Der Abstand liegt bewusst am Kartenraster und nicht am animierten
   Button-Container. So kann die Scroll-Reveal-Transformation ihn nicht
   optisch aufheben. */
#aktuelles .grid.grid--4 {
  margin-bottom: clamp(4rem, 7vw, 6.5rem) !important;
}
#aktuelles .section-cta {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

@media (max-width: 767px) {
  #aktuelles .grid.grid--4 {
    margin-bottom: 3.5rem !important;
  }
}

/* =====================================================================
   TEMPEL AM SEITENENDE — ruhiger Übergang und sanftes Pinning
   ===================================================================== */
/* Der letzte Inhaltsabschnitt beginnt ohne negative Überlappung. Dadurch
   trifft ScrollTrigger auf eine stabile, unveränderte Abschnittsoberkante. */
#tempel.section--overlap {
  margin-top: 0;
  border-radius: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px) 0 0;
}

/* Weicher Farbübergang vom hellen Institutsbereich in die Nachtfläche. */
#institut {
  padding-bottom: calc(var(--pad-section) + clamp(2rem, 5vw, 5rem));
}
#tempel::before {
  top: -96px;
  height: 128px;
  background: linear-gradient(
    180deg,
    rgb(245 240 229 / 0) 0%,
    rgb(16 19 34 / 0.16) 36%,
    rgb(16 19 34 / 0.72) 78%,
    var(--nacht) 100%
  );
}

/* Footer schließt ohne Gegenbewegung direkt an die Tempelsequenz an. */
#tempel + .site-footer,
main + .site-footer {
  position: relative;
  z-index: 1;
}


/* THEMEN-INTEGRATION JULI 2026 */
@media (min-width: 1100px) and (min-height: 760px) {
  .hero__inner { padding-bottom: clamp(9.5rem, 15vh, 12rem); }
  .hero__scroll { bottom: clamp(2.2rem, 4vh, 3.6rem); }
}
#themen .topic-card[role="link"] { cursor: pointer; }
#themen .topic-card[role="link"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }


/* HERO-ABSTAND UND KONTAKTABSCHNITT – KORREKTUR */
@media (min-width: 1100px) and (min-height: 700px) {
  /* Der Textblock steht bereits im Ausgangszustand höher; der Abstand zum
     Scroll-Hinweis entsteht nicht erst durch die Scroll-Animation. */
  .hero__inner {
    top: -6vh;
  }
}
@media (min-width: 1100px) and (min-height: 900px) {
  .hero__inner { top: -7.5vh; }
}
