/* ============================================================
   Slide-specific tweaks beyond reicht-theme.css
   Tokens und Hierarchie folgen dem offiziellen Reicht-CI-Manual.
   ============================================================ */

/* ---------- Title slide ---------- */
.slide--title h1 {
  font-size: 4.2rem;
  font-weight: 500;             /* Jost Medium per CI */
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 17ch;
}
.slide--title .subhead {
  font-size: 1.25rem;
  margin-top: 1.8rem;
  max-width: 40ch;
  color: rgba(255,255,255,0.86);
  font-weight: 400;
  line-height: 1.5;
}
.slide--title .hero-content {
  justify-content: space-between;
  padding: 5rem 6rem;
}
.slide--title .hero-content-top { display: flex; justify-content: space-between; align-items: flex-start; }
.slide--title .hero-content-bottom { max-width: 65%; }

/* Placeholder backdrop until video lands — Reicht-Blue depth */
.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(31,91,168,0.45) 0%, transparent 52%),
    radial-gradient(circle at 82% 72%, rgba(201,168,118,0.16) 0%, transparent 55%),
    linear-gradient(135deg, #002F60 0%, #003D7A 45%, #004387 100%);
  z-index: 0;  /* hinter dem Video — wird nur sichtbar wenn Video fehlt */
}
.hero-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(255,255,255,0.018) 80px 81px);
  opacity: 0.8;
}

/* ---------- "Wer wir sind" / Drei Säulen ---------- */
.three-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.8rem;
  flex-grow: 1;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--stone);
  border-top: 3px solid var(--reicht-blue);
  padding: 2rem 1.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;                      /* damit .pillar__media full-bleed sein kann */
}
/* Bild oben in der Pillar-Card — 16:9 Banner, randlos bis zur Card-Kante */
.pillar__media {
  width: calc(100% + 3.6rem);
  margin: -2rem -1.8rem 1.4rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--stone);
}
.pillar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pillar--agri { border-top-color: var(--agri-sage); }
.pillar--immo { border-top-color: var(--reicht-sand); }
.pillar__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  color: var(--reicht-blue);
}
.pillar--agri .pillar__icon { color: var(--agri-sage); }
.pillar--immo .pillar__icon { color: var(--reicht-sand); }
.pillar__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.4rem;
}
.pillar__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;             /* Jost Medium per CI */
  color: var(--anthrazit);
  margin: 0 0 1.6rem;
  letter-spacing: -0.018em;
  line-height: 1.1;
}
.pillar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pillar__list li {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--stone);
  color: var(--anthrazit);
  line-height: 1.4;
}
.pillar__list li:last-child { border-bottom: none; }
.pillar__list li strong { color: var(--reicht-blue); font-weight: 600; }

.pillars-frame {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--stone);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--reicht-blue);
  font-weight: 500;
  letter-spacing: -0.008em;
}

/* Slide 02 — die drei Säulen gehen bei Slide-Eintritt nacheinander auf,
   die Rahmen-Zeile folgt zuletzt. */
.three-pillars .pillar,
.pillars-frame {
  opacity: 0;
}
.reveal section.present .three-pillars .pillar:nth-child(1) {
  animation: pillarRise 0.6s 0.2s ease-out both;
}
.reveal section.present .three-pillars .pillar:nth-child(2) {
  animation: pillarRise 0.6s 0.4s ease-out both;
}
.reveal section.present .three-pillars .pillar:nth-child(3) {
  animation: pillarRise 0.6s 0.6s ease-out both;
}
.reveal section.present .pillars-frame {
  animation: duckFadeIn 0.6s 0.85s ease-out both;
}
@keyframes pillarRise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Reference / Big-Number slide (Halbenrain) ---------- */
.slide--reference {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.slide--reference .ref-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  height: 100%;
}
.slide--reference .ref-content {
  padding: 5rem 4rem 5rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--reicht-paper);
}
.slide--reference .ref-media {
  position: relative;
  background: var(--reicht-deep);
}
.slide--reference .ref-media img,
.slide--reference .ref-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;                  /* über dem Gradient-Fallback */
}
/* Verstecke den Gradient-Fallback, wenn ein echtes Video oder Bild im Slot liegt
   — sonst scheint er beim Loop-Fade kurz durch. */
.slide--reference .ref-media:has(video) .media-fallback,
.slide--reference .ref-media:has(img:not([style*="display: none"])) .media-fallback {
  display: none;
}
.slide--reference .ref-media-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,47,96,0.15) 0%, rgba(0,47,96,0.55) 100%),
    linear-gradient(135deg, #4a6940 0%, #6B8E5A 45%, #8aaa78 100%);
}
.slide--reference .ref-media-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(85deg,
      transparent 0 90px,
      rgba(0,47,96,0.08) 90px 92px);
  opacity: 0.6;
}
.slide--reference .ref-media-fallback::after {
  content: 'Drohnen-Aufnahme Halbenrain folgt';
  position: absolute;
  bottom: 1.4rem;
  right: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(0,47,96,0.65);
  padding: 0.4rem 0.7rem;
}

.ref-stats {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  margin: 2rem 0;
}
.ref-stat {
  display: grid;
  grid-template-columns: 15rem 1fr;       /* schmaler weil 3. Zeile jetzt nur „200 kWh" — mehr Platz fürs Label */
  align-items: baseline;
  gap: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--stone);
}
.ref-stat:last-child { border-bottom: none; }
.ref-stat__num {
  font-family: var(--font-display);
  font-size: 3rem;                        /* +15% */
  font-weight: 500;
  color: var(--reicht-blue);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.ref-stat__num .unit {
  font-size: 0.5em;
  color: var(--slate);
  font-weight: 500;
  margin-left: 0.25em;
}
.ref-stat__label {
  font-family: var(--font-body);
  font-size: 1.15rem;                     /* +10% */
  color: var(--anthrazit);
  line-height: 1.45;
}
.ref-stat__label strong {
  color: var(--anthrazit);
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1.2rem;                      /* +9% */
}

.ref-callout {
  margin-top: 1.5rem;
  padding: 1.4rem 1.6rem;
  background: var(--reicht-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;                     /* +13% */
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.008em;
  max-width: 42ch;
}

/* ============================================================
   ORGANIGRAMM v4 (Slide 3) — Hohe schmale Cards mit Shadows
   Alles auf einmal sichtbar, klare Verbindungslinien
   ============================================================ */
.org-v4 {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 0.4rem;
  position: relative;
}

/* SAUBERE LÖSUNG: Zwei Boxen + Verbinderlinien als echte Block-Elemente.
   Linien sitzen IM Layout-Flow zwischen den Boxen — keine `position: absolute`,
   keine `transform`, keine `margin`-Tricks. Im Block-Flow stoßen Elemente direkt
   aneinander; Sub-pixel-Gaps sind physisch nicht möglich. */

/* Owners-Block: Eyebrow + zwei Pillen — keine Verbinderlinien (weder horizontal noch vertikal nach unten) */
.org-v4__owners {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.6rem;        /* räumlicher Abstand zur Reicht-Holding-Box statt Verbinderlinie */
}
.org-v4__owners-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--slate);
  text-transform: uppercase;
}
.org-v4__owners-pair {
  display: flex;
  gap: 0.8rem;
}
.org-v4__owner {
  background: var(--reicht-deep);
  color: var(--white);
  padding: 0.6rem 1.7rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15,26,46,0.18), 0 1px 3px rgba(15,26,46,0.10);
}

/* Verbinder als Block-Elemente — sitzen DIREKT zwischen den Boxen im Flow.
   Keine absolute Positionierung, kein Pixel-Rounding-Risiko. */
.org-v4__line {
  align-self: center;
  width: 2px;
  flex-shrink: 0;
}
.org-v4__line--deep {
  height: 0.9rem;
  background: var(--reicht-deep);
}
.org-v4__line--blue {
  height: 1.2rem;               /* endet exakt an der horizontalen Querlinie */
  margin-bottom: 0.8rem;        /* Restdistanz zur Card-Row — Layout bleibt gleich */
  background: var(--reicht-blue);
}

/* Holding-Box (eigene Box, separater Container) */
.org-v4__holding {
  align-self: center;
  background: var(--reicht-blue);
  color: var(--white);
  padding: 0.95rem 3.2rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,67,135,0.28), 0 2px 6px rgba(0,67,135,0.12);
}

/* Main row · 12 tall narrow cards */
.org-v4__main {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.55rem;
  position: relative;
  margin-bottom: 1.8rem;
}
/* Horizontal main bus (above cards) — exakt zwischen den Card-Ticks
   Mitte Col 1 in 12-col-grid: (100% − 11·gap) / 24. Gap ist hartcodiert 0.55rem;
   bei Gap-Änderung in .org-v4__main muss dieser Wert mitgeführt werden. */
.org-v4__main::before {
  content: '';
  position: absolute;
  top: -0.8rem;
  left: calc((100% - 11 * 0.55rem) / 24);
  right: calc((100% - 11 * 0.55rem) / 24);
  height: 2px;
  background: var(--reicht-blue);
}

.org-v4__card {
  background: var(--white);
  border-radius: 10px;
  box-shadow:
    0 10px 26px rgba(15,26,46,0.08),
    0 2px 6px rgba(15,26,46,0.04);
  padding: 1rem 0.7rem 1.05rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  border-top: 3px solid var(--reicht-blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.org-v4__card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 36px rgba(15,26,46,0.12),
    0 4px 10px rgba(15,26,46,0.06);
}
/* Vertical tick from main bus down to card top */
.org-v4__card::before {
  content: '';
  position: absolute;
  top: -0.8rem;
  left: 50%;
  width: 2px;
  height: 0.8rem;
  background: var(--reicht-blue);
  transform: translateX(-50%);
}

.org-v4__card--gve {
  border-top-color: var(--agri-sage);
}
.org-v4__card--solid {
  background: var(--reicht-blue);
  border-top-color: var(--reicht-blue);
  box-shadow:
    0 12px 30px rgba(0,67,135,0.22),
    0 2px 6px rgba(0,67,135,0.10);
}
.org-v4__card--solid .org-v4__card-name { color: var(--white); }
.org-v4__card--solid .org-v4__card-meta { color: rgba(255,255,255,0.85); }
.org-v4__card--solid .org-v4__card-share { color: var(--reicht-sand); }
/* (formerly Prolehm Sonderstatus accent — removed per user request) */

.org-v4__card-name {
  font-family: var(--font-display);
  font-size: 0.88rem;                /* +13% — bessere Lesbarkeit aus Distanz */
  font-weight: 500;
  color: var(--anthrazit);
  line-height: 1.18;
  letter-spacing: -0.005em;
}
.org-v4__card-meta {
  font-family: var(--font-body);
  font-size: 0.68rem;                /* +13% */
  color: var(--slate);
  margin-top: 0.45rem;
  line-height: 1.4;
  flex: 1;
}
.org-v4__card-share {
  font-family: var(--font-mono);
  font-size: 0.65rem;                /* +12% */
  letter-spacing: 0.12em;
  color: var(--reicht-blue);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--stone);
}
.org-v4__card--solid .org-v4__card-share { border-top-color: rgba(255,255,255,0.2); }

/* Sub row */
.org-v4__sub {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.55rem;
  position: relative;
}

/* &more cluster (cols 1-5) — gap matches outer grid for perfect col alignment */
.org-v4__more {
  grid-column: 1 / 6;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;                /* match outer grid gap for col alignment */
  padding-top: 2rem;
}
/* Vertical line from Green Vision card's bottom down to horizontal sub-bus.
   margin-bottom auf .org-v4__main ist 1.8rem, NICHT 2rem — Linie muss bei
   −1.8rem starten, sonst sichtbarer 0.2rem-Spalt zur Card-Unterkante. */
.org-v4__more::before {
  content: '';
  position: absolute;
  top: -1.8rem;                               /* exakt an Bottom of Green-Vision Card */
  left: calc(10% - 0.22rem);                  /* exact center of col 1 (accounts for gap math) */
  width: 2px;
  height: 2.8rem;                             /* Gap 1.8rem + padding-top 1rem bis horizontal sub-bus bei top: 1rem */
  background: var(--agri-sage);
  transform: translateX(-50%);
}
/* Horizontal sub-bus connecting all 5 &more cards — mit defensivem Pixel-Reserve
   an beiden Enden, damit auch Future&more (Col 5) sicher angeschlossen ist */
.org-v4__more::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: calc(10% - 0.22rem - 2px);            /* col 1 center, mit 2 px Reserve links */
  width: calc(80% + 0.44rem + 4px);           /* col 1→col 5 center + 4 px Reserve */
  height: 2px;
  background: var(--agri-sage);
}

.org-v4__sub-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow:
    0 6px 18px rgba(15,26,46,0.07),
    0 1px 3px rgba(15,26,46,0.03);
  padding: 0.7rem 0.55rem 0.8rem;
  position: relative;
  border-top: 2px solid var(--reicht-blue);
  min-height: 130px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.org-v4__sub-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(15,26,46,0.10),
    0 2px 6px rgba(15,26,46,0.05);
}
/* &more sub-cards have sage top + tick from horizontal bus */
.org-v4__more .org-v4__sub-card {
  border-top-color: var(--agri-sage);
}
.org-v4__more .org-v4__sub-card::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 50%;
  width: 2px;
  height: 1rem;
  background: var(--agri-sage);
  transform: translateX(-50%);
}

/* Single sub-cells (positioned at specific columns) */
.org-v4__sub-cell {
  position: relative;
  padding-top: 2rem;
}
.org-v4__sub-cell::before {
  /* one continuous line from parent card bottom all the way to sub-card top */
  content: '';
  position: absolute;
  top: -1.8rem;                /* starts at parent card bottom (margin-bottom of main: 1.8rem) */
  left: 50%;
  width: 2px;
  height: 3.8rem;              /* spans gap (1.8rem) + padding (2rem) */
  background: var(--reicht-blue);
  transform: translateX(-50%);
}

.org-v4__sub-card-name {
  font-family: var(--font-display);
  font-size: 0.8rem;                 /* +14% */
  font-weight: 500;
  color: var(--anthrazit);
  line-height: 1.18;
  letter-spacing: -0.005em;
}
.org-v4__sub-card-meta {
  font-family: var(--font-body);
  font-size: 0.63rem;                /* +15% */
  color: var(--slate);
  margin-top: 0.3rem;
  line-height: 1.3;
  flex: 1;
}
.org-v4__sub-card-share {
  font-family: var(--font-mono);
  font-size: 0.6rem;                 /* +15% */
  letter-spacing: 0.12em;
  color: var(--reicht-blue);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.org-v4__footnote {
  font-family: var(--font-mono);
  font-size: 0.7rem;                 /* +17% */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 1.4rem;
}

/* ============================================================
   ORGANIGRAMM v3 (legacy) — kept for reference
   ============================================================ */
.org-v3 {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 0.6rem;
  gap: 0.7rem;
}

.org-v3__owners {
  align-self: center;
  display: flex;
  gap: 0.6rem;
  position: relative;
}
.org-v3__owners::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 0.7rem;
  background: var(--reicht-deep);
  transform: translateX(-50%);
}
.org-v3__owner {
  background: var(--reicht-deep);
  color: var(--white);
  padding: 0.5rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.012em;
}

.org-v3__holding-wrap {
  align-self: center;
  position: relative;
  margin-top: 0.7rem;
  margin-bottom: 0.4rem;
}
.org-v3__holding {
  background: var(--reicht-blue);
  color: var(--white);
  padding: 0.85rem 2.8rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.018em;
}
.org-v3__holding-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 0.9rem;
  background: var(--reicht-blue);
  transform: translateX(-50%);
}

.org-v3__section {
  margin-top: 0.2rem;
}
.org-v3__section-label {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--stone);
  margin-bottom: 0.7rem;
}
.org-v3__section-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--reicht-sand);
  font-weight: 500;
}
.org-v3__section-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--anthrazit);
}
.org-v3__section-hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 400;
}

.org-v3__group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  align-items: stretch;
}

.org-v3__card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-top: 3px solid var(--reicht-blue);
  padding: 0.85rem 1rem 0.95rem;
  display: flex;
  flex-direction: column;
}
.org-v3__card--green { border-top-color: var(--agri-sage); }
.org-v3__card--sand { border-top-color: var(--reicht-sand); }
.org-v3__card--solid {
  background: var(--reicht-blue);
  border: 1px solid var(--reicht-blue);
  color: var(--white);
}
.org-v3__card--solid .org-v3__card-name { color: var(--white); }
.org-v3__card--solid .org-v3__card-meta { color: rgba(255,255,255,0.85); }
.org-v3__card--accent {
  border: 2px solid #C44747;
  border-top: 2px solid #C44747;
}

.org-v3__card-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--anthrazit);
  line-height: 1.18;
  letter-spacing: -0.012em;
}
.org-v3__card-meta {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--slate);
  line-height: 1.4;
  margin-top: 0.35rem;
  flex: 1;
}
.org-v3__card-divider {
  height: 1px;
  background: var(--stone);
  margin: 0.65rem 0 0.55rem;
}
.org-v3__card--solid .org-v3__card-divider { background: rgba(255,255,255,0.18); }
.org-v3__card-sublist {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.org-v3__sub-line {
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.25;
}
.org-v3__sub-name {
  font-weight: 500;
  color: var(--anthrazit);
}
.org-v3__sub-meta {
  font-weight: 400;
  color: var(--slate);
  margin-left: 0.45em;
  font-size: 0.66rem;
}

/* Reveal.js fragment overrides for smoother section appearance */
.org-v3__section.fragment.fade-up {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}
.org-v3__section.fragment.fade-up.visible {
  transform: translateY(0);
  opacity: 1;
}
.org-tree {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 1rem;
  position: relative;
}

/* Owners row: Anton + Helmut */
.org-tree__owners {
  align-self: center;
  display: flex;
  gap: 0.8rem;
  position: relative;
  margin-bottom: 1rem;
}
.org-tree__owners::after {
  content: '';
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 50%;
  width: 2px;
  height: 0.8rem;
  background: var(--reicht-deep);
  transform: translateX(-50%);
}
.org-owner {
  background: var(--reicht-deep);
  color: var(--white);
  padding: 0.55rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.012em;
}

/* Holding box, centered */
.org-tree__holding-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 1.8rem;
  padding-top: 1rem;
}
.org-tree__holding {
  background: var(--reicht-blue);
  color: var(--white);
  padding: 0.9rem 3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.018em;
}
.org-tree__holding-wrap::after {
  content: '';
  position: absolute;
  bottom: -1.4rem;
  left: 50%;
  width: 2px;
  height: 1.4rem;
  background: var(--reicht-blue);
  transform: translateX(-50%);
}

/* Main row · 12 direkte Töchter */
.org-tree__main {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.35rem;
  position: relative;
}
.org-tree__main::before {
  content: '';
  position: absolute;
  top: -0.7rem;
  left: calc(100% / 24);
  right: calc(100% / 24);
  height: 2px;
  background: var(--reicht-blue);
}
.org-card {
  background: var(--white);
  border: 1px solid var(--stone);
  padding: 0.65rem 0.45rem 0.7rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 75px;
}
.org-card::before {
  content: '';
  position: absolute;
  top: -0.7rem;
  left: 50%;
  width: 2px;
  height: 0.7rem;
  background: var(--reicht-blue);
  transform: translateX(-50%);
}
.org-card__name {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--anthrazit);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.org-card__meta {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--slate);
  margin-top: 0.2rem;
  letter-spacing: 0;
}
/* Highlighted entities (Green Vision, Solarel) */
.org-card--gve {
  background: var(--agri-sage);
  border-color: var(--agri-sage);
}
.org-card--gve .org-card__name { color: var(--white); }
.org-card--gve .org-card__meta { color: rgba(255,255,255,0.86); }
.org-card--solarel {
  background: var(--reicht-blue);
  border-color: var(--reicht-blue);
}
.org-card--solarel .org-card__name { color: var(--white); }
.org-card--solarel .org-card__meta { color: rgba(255,255,255,0.86); }
.org-card--accent {
  border: 2px solid #C44747;
}
.org-card--accent .org-card__name { color: var(--anthrazit); }

/* Sub-row · &more block + Einzel-Sub-Töchter */
.org-tree__sub {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.35rem;
  margin-top: 1.5rem;
  position: relative;
}

/* &more-Cluster spans cols 1-5 */
.org-more {
  grid-column: 1 / 6;
  background: rgba(107,142,90,0.08);
  border: 1px solid rgba(107,142,90,0.28);
  border-top: 3px solid var(--agri-sage);
  padding: 0.65rem 0.65rem 0.7rem;
  position: relative;
}
.org-more::before {
  /* connector up to Green Vision (Col 1 center within cluster ≈ 10%) */
  content: '';
  position: absolute;
  top: -1.5rem;
  left: 10%;
  width: 2px;
  height: 1.5rem;
  background: var(--agri-sage);
}
.org-more__label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--agri-sage);
  margin-bottom: 0.5rem;
}
.org-more__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
}
.org-more-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-top: 2px solid var(--agri-sage);
  padding: 0.5rem 0.45rem 0.55rem;
  min-height: 80px;
  display: flex;
  flex-direction: column;
}
.org-more-card--lead {
  background: var(--agri-sage);
  border-color: var(--agri-sage);
  border-top: 2px solid var(--agri-sage);
}
.org-more-card--lead .org-more-card__name { color: var(--white); }
.org-more-card--lead .org-more-card__anlagen { color: rgba(255,255,255,0.85); }
.org-more-card__name {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--anthrazit);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.org-more-card__anlagen {
  font-family: var(--font-body);
  font-size: 0.55rem;
  color: var(--slate);
  margin-top: 0.3rem;
  line-height: 1.3;
  flex: 1;
}

/* Single sub-cells (i Box, TRU-E, Green Charge, Agrar Klimesch) */
.org-sub-cell {
  position: relative;
}
.org-sub-cell::before {
  /* tick up to parent in main row */
  content: '';
  position: absolute;
  top: -1.5rem;
  left: 50%;
  width: 2px;
  height: 1.5rem;
  background: var(--reicht-blue);
  transform: translateX(-50%);
}
.org-sub-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-top: 2px solid var(--reicht-blue);
  padding: 0.55rem 0.5rem 0.6rem;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.org-sub-card--dato {
  background: rgba(0,67,135,0.08);
  border-color: rgba(0,67,135,0.3);
}
.org-sub-card__name {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--anthrazit);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.org-sub-card__meta {
  font-family: var(--font-body);
  font-size: 0.55rem;
  color: var(--slate);
  margin-top: 0.25rem;
  line-height: 1.3;
}

.org-tree__footnote {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 1.3rem;
}
.org-legend {
  display: flex;
  gap: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 1.3rem;
}
.org-legend__dot {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-right: 0.5em;
  vertical-align: middle;
}

/* ============================================================
   STAT HERO (Slide 4 — 400 Liegenschaften)
   ============================================================ */
.stat-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  flex: 1;
  align-items: stretch;
  margin-top: 1.5rem;
  position: relative;
}
.stat-hero::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--stone);
  transform: translateX(-50%);
}
/* Linke Zelle vertikal zentrieren — sonst klebt die Großzahl oben,
   während die rechte Liste mittig sitzt (gilt für Slide 03 + 08). */
.stat-hero__figure {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-hero__num {
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 500;
  color: var(--reicht-blue);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.stat-hero__num .plus { color: var(--reicht-sand); }
.stat-hero__label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--anthrazit);
  margin-top: 0.8rem;
  line-height: 1.2;
}
.stat-hero__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}
.stat-hero__item {
  font-family: var(--font-body);
}
.stat-hero__item-kicker {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--reicht-blue);
  margin-bottom: 0.5rem;
}
.stat-hero__item-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--anthrazit);
  margin-bottom: 0.4rem;
  letter-spacing: -0.012em;
  line-height: 1.2;
}
.stat-hero__item-body {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--anthrazit);
}

/* ============================================================
   FLOW-STEPS (Slide 05 — Ablauf-Strecke: 4 Schritte auf einer Linie)
   ============================================================ */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: center;
  flex: 1;
  margin-top: 2rem;
}
.flow-step {
  display: flex;
  flex-direction: column;
}
.flow-step__head {
  display: flex;
  align-items: center;
  margin-bottom: 1.7rem;
}
.flow-step__node {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--reicht-blue);
  border: 2px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--reicht-sand);
  letter-spacing: -0.02em;
}
.flow-step__head::after {
  content: '';
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.22);
}
.flow-step:last-child .flow-step__head::after { display: none; }
.flow-step__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.7rem;
  padding-right: 2.6rem;
}
.flow-step__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  padding-right: 2.6rem;
}
/* Aufbau bei Slide-Eintritt — Schritte blenden auf, Linien wachsen, sequenziell */
.flow-step { opacity: 0; }
.flow-step__head::after { transform: scaleX(0); transform-origin: left; }
.reveal section.present .flow-step:nth-child(1) { animation: duckFadeIn 0.5s 0.15s ease-out both; }
.reveal section.present .flow-step:nth-child(2) { animation: duckFadeIn 0.5s 0.85s ease-out both; }
.reveal section.present .flow-step:nth-child(3) { animation: duckFadeIn 0.5s 1.55s ease-out both; }
.reveal section.present .flow-step:nth-child(4) { animation: duckFadeIn 0.5s 2.25s ease-out both; }
.reveal section.present .flow-step:nth-child(1) .flow-step__head::after { animation: capLineGrow 0.45s 0.55s ease-out both; }
.reveal section.present .flow-step:nth-child(2) .flow-step__head::after { animation: capLineGrow 0.45s 1.25s ease-out both; }
.reveal section.present .flow-step:nth-child(3) .flow-step__head::after { animation: capLineGrow 0.45s 1.95s ease-out both; }

/* ============================================================
   SHIFT-TABLE (Slide 06 — Transformation: Früher → Heute, 4 Dimensionen)
   ============================================================ */
.shift-table {
  flex: 1;
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
}
.shift-row {
  display: grid;
  grid-template-columns: 13rem 1fr 3.2rem 1fr;
  align-items: center;
  column-gap: 1.8rem;
}
.shift-row--head {
  flex: 0 0 auto;
  padding-bottom: 0.7rem;
}
.shift-row--data {
  flex: 1;
  border-top: 1px solid var(--stone);
}
.shift-row--data:last-child { border-bottom: 1px solid var(--stone); }
.shift-col {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.shift-col--now { color: var(--reicht-blue); }
.shift-row__dim {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.shift-row__past {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--anthrazit);
}
.shift-row__arrow {
  justify-self: center;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--reicht-blue);
  line-height: 1;
}
.shift-row__now {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--reicht-blue);
}
/* Aufbau: Kopf, dann Zeilen nacheinander */
.shift-row { opacity: 0; }
.reveal section.present .shift-row:nth-child(1) { animation: duckFadeIn 0.5s 0.15s ease-out both; }
.reveal section.present .shift-row:nth-child(2) { animation: duckFadeIn 0.5s 0.4s ease-out both; }
.reveal section.present .shift-row:nth-child(3) { animation: duckFadeIn 0.5s 0.65s ease-out both; }
.reveal section.present .shift-row:nth-child(4) { animation: duckFadeIn 0.5s 0.9s ease-out both; }
.reveal section.present .shift-row:nth-child(5) { animation: duckFadeIn 0.5s 1.15s ease-out both; }

/* ============================================================
   Slide 11 (Prinzipien) nutzt jetzt das gemeinsame .point-cards-
   System (Definition weiter unten) — vormals eigenes .principles-grid.
   ============================================================ */

/* ============================================================
   COMPARE (Slide 13 — Klassisch vs. Unser Ansatz)
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  flex: 1;
  margin-top: 2rem;
}
.compare__side {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 2rem;
  overflow: hidden;                 /* damit das Bild bis zur Kante reicht (negative margin) */
}
/* Bild oben im Compare-Block — full-bleed bis zur Kante, 16:10 Aspect */
.compare__media {
  width: calc(100% + 4rem);
  margin: -2rem -2rem 1.6rem;
  aspect-ratio: 16 / 10;            /* Layout-stabil — 4:3 hat Slide gestreckt */
  overflow: hidden;
  background: var(--stone);
}
.compare__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;      /* Crop nach unten verschoben — weniger Himmel weg, Hauptmotiv bleibt drin */
  display: block;
}
.compare__side--past {
  background: var(--white);
  border: 1px solid var(--stone);
}
.compare__side--now {
  background: var(--reicht-blue);
  color: var(--white);
}
.compare__side--now .compare__title { color: var(--white); }
.compare__side--now .compare__body { color: rgba(255,255,255,0.86); }
.compare__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.compare__side--now .compare__kicker { color: var(--reicht-sand); }
.compare__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 1rem;
  color: var(--anthrazit);
  line-height: 1.15;
}
.compare__flow {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--anthrazit);
}
.compare__side--now .compare__flow { color: rgba(255,255,255,0.86); }
.compare__flow strong { color: var(--reicht-sand); font-weight: 600; }
.compare__side:not(.compare__side--now) .compare__flow strong { color: var(--reicht-blue); }

/* ============================================================
   E-MOBILITÄT TREND TABELLE (Slide 16)
   ============================================================ */
.trend-table {
  margin-top: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.trend-table__row {
  display: grid;
  grid-template-columns: 5rem 9rem 1fr 5rem;
  align-items: center;
  border-bottom: 1px solid var(--stone);
  gap: 1.6rem;
  flex: 1;                          /* 11 Zeilen verteilen sich gleichmäßig über die Höhe */
}
.trend-table__row--head {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  padding-bottom: 0.5rem;
}
.trend-table__row--head + .trend-table__row { border-top: 1px solid var(--anthrazit); }
.trend-table__row:last-child { border-bottom: none; }
.trend-table__row--current { border-bottom: none; }
/* Schnitt zwischen Ist-Daten und Prognose */
.trend-table__row--current + .trend-table__row--forecast {
  border-top: 2px solid var(--reicht-blue);
}
.trend-table__year {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--anthrazit);
  letter-spacing: -0.015em;
}
.trend-table__row--current .trend-table__year { color: var(--reicht-blue); }
.trend-table__row--forecast .trend-table__year { color: var(--slate); }
.trend-table__count {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--anthrazit);
}
.trend-table__row--forecast .trend-table__count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.trend-table__bar {
  display: block;
}
.trend-table__bar-fill {
  height: 16px;
  background: var(--reicht-blue);
  transform: scaleX(0);
  transform-origin: left;
}
.trend-table__row--current .trend-table__bar-fill { background: var(--reicht-sand); }
.trend-table__row--forecast .trend-table__bar-fill { opacity: 0.38; }
.trend-table__pct {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--anthrazit);
  letter-spacing: -0.015em;
  text-align: right;
}
.trend-table__row--current .trend-table__pct { color: var(--reicht-blue); }
.trend-table__row--forecast .trend-table__pct { color: var(--slate); }

/* Balken bauen sich bei Slide-Eintritt von oben nach unten auf */
.reveal section.present .trend-table__row:nth-child(2) .trend-table__bar-fill { animation: barGrow 0.6s 0.30s ease-out both; }
.reveal section.present .trend-table__row:nth-child(3) .trend-table__bar-fill { animation: barGrow 0.6s 0.40s ease-out both; }
.reveal section.present .trend-table__row:nth-child(4) .trend-table__bar-fill { animation: barGrow 0.6s 0.50s ease-out both; }
.reveal section.present .trend-table__row:nth-child(5) .trend-table__bar-fill { animation: barGrow 0.6s 0.60s ease-out both; }
.reveal section.present .trend-table__row:nth-child(6) .trend-table__bar-fill { animation: barGrow 0.6s 0.70s ease-out both; }
.reveal section.present .trend-table__row:nth-child(7) .trend-table__bar-fill { animation: barGrow 0.6s 0.80s ease-out both; }
.reveal section.present .trend-table__row:nth-child(8) .trend-table__bar-fill { animation: barGrow 0.6s 0.90s ease-out both; }
.reveal section.present .trend-table__row:nth-child(9) .trend-table__bar-fill { animation: barGrow 0.6s 1.00s ease-out both; }
.reveal section.present .trend-table__row:nth-child(10) .trend-table__bar-fill { animation: barGrow 0.6s 1.10s ease-out both; }
.reveal section.present .trend-table__row:nth-child(11) .trend-table__bar-fill { animation: barGrow 0.6s 1.20s ease-out both; }
.reveal section.present .trend-table__row:nth-child(12) .trend-table__bar-fill { animation: barGrow 0.6s 1.30s ease-out both; }
@keyframes barGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ============================================================
   ZUSAMMENFASSUNG (Slide 20 — 3 Statements)
   ============================================================ */
.thesis-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  margin-top: 2rem;
}
.thesis {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  align-items: baseline;
}
.thesis:last-child { border-bottom: 1px solid rgba(255,255,255,0.18); }
.thesis__num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 500;
  color: var(--reicht-sand);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.thesis__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 0.5rem;
  color: var(--white);
  line-height: 1.2;
}
.thesis__body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 60ch;
}
/* Slide 19 — die drei Thesen blenden bei Slide-Eintritt nacheinander auf */
.thesis { opacity: 0; }
.reveal section.present .thesis:nth-child(1) { animation: pillarRise 0.6s 0.2s ease-out both; }
.reveal section.present .thesis:nth-child(2) { animation: pillarRise 0.6s 0.5s ease-out both; }
.reveal section.present .thesis:nth-child(3) { animation: pillarRise 0.6s 0.8s ease-out both; }

/* ============================================================
   CLOSING SLIDE (Slide 21)
   ============================================================ */
.closing-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 5rem 6rem;
  position: relative;
  z-index: 2;
}
.closing-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.closing-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.closing-tagline {
  font-family: var(--font-display);
  font-size: 4.4rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 22ch;
}
.closing-tagline em {
  font-style: normal;
  color: var(--reicht-sand);
  font-weight: 500;
}
.closing-subline {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.82);
  margin-top: 2rem;
  max-width: 48ch;
  line-height: 1.5;
}
.closing-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.closing-attribution {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.closing-attribution strong {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================================
   SECTION DIVIDER SLIDE (used for problem/answer transitions)
   ============================================================ */
.section-divider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 5rem 6rem;
}
.section-divider__num {
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 500;
  color: var(--reicht-sand);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.section-divider__title {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 24ch;
}
.section-divider__body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  margin-top: 1.5rem;
  max-width: 50ch;
  line-height: 1.5;
}

/* ============================================================
   COMPARE CURVES (Slide 9 — Klassisch vs. Netzdienlich)
   ============================================================ */
.compare-curves {
  flex: 1;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.compare-curves__panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.7rem;
  border-top: 3px solid var(--reicht-blue);
}
.compare-curves__panel--solution {
  border-top-color: #8DA475;
}
.compare-curves__title {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.compare-curves__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reicht-blue);
  font-weight: 500;
}
.compare-curves__panel--solution .compare-curves__tag {
  color: #5F7350;
}
.compare-curves__caption {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--anthrazit);
  line-height: 1.4;
}
.compare-curves__panel svg {
  width: 100%;
  height: auto;
  max-height: 46vh;
  margin: auto 0;                   /* vertikal zentriert — auf Höhe des Netzdienlich-Pfeils */
}
.compare-curves__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  gap: 0.6rem;
}
.compare-curves__arrow svg {
  width: 48px;
  height: 48px;
}
.compare-curves__arrow-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reicht-blue);
  text-align: center;
  font-weight: 500;
}
/* Compare-Panel — Flächen & Bereichs-Labels (Farbe panel-abhängig).
   d / Position werden vom Renderer (js/chart-render.js) gesetzt. */
.cmp-overshoot { fill: #C9A876; fill-opacity: 0.30; }
.cmp-deficit { fill: #004387; fill-opacity: 0.20; }
.compare-curves__panel--solution .cmp-overshoot { fill: #8DA475; fill-opacity: 0.34; }
.compare-curves__panel--solution .cmp-deficit { fill: #8DA475; fill-opacity: 0.34; }
.cmp-label-overshoot { fill: #8A7048; }
.cmp-label-deficit { fill: #004387; }
.compare-curves__panel--solution .cmp-label-overshoot,
.compare-curves__panel--solution .cmp-label-deficit { fill: #5F7350; }

/* Slide 09 — synchroner Aufbau beider Panels bei Slide-Eintritt.
   Nutzt dieselben Keyframes wie die Duck-Curve (duckFadeIn / duckDrawLine). */
.compare-curves .cmp-axes,
.compare-curves .cmp-solar,
.compare-curves .cmp-overshoot,
.compare-curves .cmp-deficit,
.compare-curves .cmp-label-overshoot,
.compare-curves .cmp-label-deficit {
  opacity: 0;
}
.compare-curves .cmp-consumption {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.reveal section.present .compare-curves .cmp-axes {
  animation: duckFadeIn 0.5s 0.1s ease-out both;
}
.reveal section.present .compare-curves .cmp-consumption {
  animation: duckDrawLine 1.3s 0.4s ease-out both;
}
.reveal section.present .compare-curves .cmp-solar {
  animation: duckFadeIn 0.8s 1.5s ease-out both;
}
.reveal section.present .compare-curves .cmp-overshoot,
.reveal section.present .compare-curves .cmp-deficit {
  animation: duckFadeIn 0.7s 2.2s ease-out both;
}
.reveal section.present .compare-curves .cmp-label-overshoot,
.reveal section.present .compare-curves .cmp-label-deficit {
  animation: duckFadeIn 0.6s 2.8s ease-out both;
}
/* Pfeil + "Netzdienlich" erscheinen zuletzt — verbinden die fertigen Panels */
.compare-curves__arrow {
  opacity: 0;
}
.reveal section.present .compare-curves__arrow {
  animation: arrowReveal 0.6s 3.4s ease-out both;
}
@keyframes arrowReveal {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   LOAD CURVE (Slide 4 — Duck-Curve: Erzeugung vs. Verbrauch)
   ============================================================ */
.load-curve {
  flex: 1;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
}
.load-curve svg {
  width: 100%;
  max-width: 1200px;
  height: auto;
  max-height: 54vh;
}

/* Animation: choreografierter Aufbau bei Slide-Eintritt.
   Reveal setzt .present auf die aktive <section>, dadurch wird die Sequenz neu getriggert. */
.load-curve .duck-axes,
.load-curve .duck-overshoot,
.load-curve .duck-deficit,
.load-curve .duck-solar,
.load-curve .duck-annotations {
  opacity: 0;
}
.load-curve .duck-consumption {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.reveal section.present .load-curve .duck-axes {
  animation: duckFadeIn 0.6s 0.1s ease-out both;
}
.reveal section.present .load-curve .duck-consumption {
  animation: duckDrawLine 1.6s 0.5s ease-out both;
}
.reveal section.present .load-curve .duck-solar {
  animation: duckFadeIn 0.9s 1.7s ease-out both;
}
.reveal section.present .load-curve .duck-overshoot {
  animation: duckFadeIn 0.6s 2.5s ease-out both;
}
.reveal section.present .load-curve .duck-deficit {
  animation: duckFadeIn 0.6s 2.9s ease-out both;
}
.reveal section.present .load-curve .duck-annotations {
  animation: duckFadeIn 0.6s 3.3s ease-out both;
}
@keyframes duckFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes duckDrawLine {
  from { stroke-dashoffset: 100; opacity: 1; }
  to   { stroke-dashoffset: 0;   opacity: 1; }
}
/* Erklärung als Stepper: nummerierte Knoten, durch eine Linie verbunden —
   signalisiert die Gedankenkette der drei Punkte. */
.load-curve__captions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1.7rem;
}
.load-curve__caption {
  display: flex;
  flex-direction: column;
}
.load-curve__caption-head {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.load-curve__caption-node {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--reicht-blue);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
}
.load-curve__caption-head::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--stone);
}
.load-curve__caption:last-child .load-curve__caption-head::after {
  display: none;
}
.load-curve__caption-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--anthrazit);
  margin-bottom: 0.5rem;
  padding-right: 2.4rem;
}
.load-curve__caption-text {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--slate);
  padding-right: 2.4rem;
}

/* Stepper-Auflauf: Knoten 1 → 2 → 3 erscheinen sequenziell nach der
   Diagramm-Animation, die Verbinderlinien wachsen jeweils dazwischen. */
.load-curve__caption {
  opacity: 0;
}
.load-curve__caption-head::after {
  transform: scaleX(0);
  transform-origin: left;
}
.reveal section.present .load-curve__caption:nth-child(1) {
  animation: duckFadeIn 0.55s 3.4s ease-out both;
}
.reveal section.present .load-curve__caption:nth-child(2) {
  animation: duckFadeIn 0.55s 3.95s ease-out both;
}
.reveal section.present .load-curve__caption:nth-child(3) {
  animation: duckFadeIn 0.55s 4.5s ease-out both;
}
.reveal section.present .load-curve__caption:nth-child(1) .load-curve__caption-head::after {
  animation: capLineGrow 0.4s 3.75s ease-out both;
}
.reveal section.present .load-curve__caption:nth-child(2) .load-curve__caption-head::after {
  animation: capLineGrow 0.4s 4.3s ease-out both;
}
@keyframes capLineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Slide 04 — die drei Captions sind Fakten, keine Abfolge: durchgehende
   Top-Linie je Spalte (statt Stepper-Knoten), Spalten durch Gap getrennt. */
.load-curve__captions--facts {
  gap: 2.6rem;
}
.load-curve__captions--facts .load-curve__caption {
  border-top: 3px solid var(--reicht-blue);
  padding-top: 1.1rem;
}
.load-curve__captions--facts .load-curve__caption-title,
.load-curve__captions--facts .load-curve__caption-text {
  padding-right: 0;
}

/* ============================================================
   BULLET LIST (used in netzdienlich, dringlichkeit etc.)
   ============================================================ */
.bullet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  flex: 1;
  margin-top: 2.5rem;
}
.bullet {
  display: flex;
  flex-direction: column;
}
.bullet__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reicht-blue);
  margin-bottom: 0.5rem;
}
.slide--navy .bullet__kicker,
.slide--deep .bullet__kicker { color: var(--reicht-sand); }
.bullet__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 0.8rem;
  color: var(--anthrazit);
  line-height: 1.2;
}
.slide--navy .bullet__title,
.slide--deep .bullet__title { color: var(--white); }
.bullet__body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--anthrazit);
}
.slide--navy .bullet__body,
.slide--deep .bullet__body { color: rgba(255,255,255,0.82); }
.bullet--accent .bullet__kicker { color: var(--reicht-sand); }

/* ============================================================
   POINT-CARDS (Slide 07 + 11 — 2×2 nummerierte Karten, gemeinsames
   System. 07 auf Deep-Navy, 11 auf Paper — selbe Komponente.)
   ============================================================ */
.point-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.4rem;
  flex: 1;
  margin-top: 2rem;
}
.point-card {
  display: flex;
  flex-direction: column;
  padding: 1.7rem 2rem;
  background: var(--white);
  border: 1px solid var(--stone);
  border-top: 3px solid var(--reicht-blue);
}
.point-card__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--reicht-sand);
  margin-bottom: 0.8rem;
}
.point-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--anthrazit);
  margin-bottom: 0.6rem;
}
.point-card__body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--anthrazit);
}
/* Deep-Navy-Variante (Slide 07) */
.slide--deep .point-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.16);
  border-top-color: var(--reicht-sand);
}
.slide--deep .point-card__title { color: var(--white); }
.slide--deep .point-card__body { color: rgba(255,255,255,0.82); }
/* Aufbau: Karten blenden nacheinander auf */
.point-card { opacity: 0; }
.reveal section.present .point-card:nth-child(1) { animation: pillarRise 0.55s 0.2s ease-out both; }
.reveal section.present .point-card:nth-child(2) { animation: pillarRise 0.55s 0.38s ease-out both; }
.reveal section.present .point-card:nth-child(3) { animation: pillarRise 0.55s 0.56s ease-out both; }
.reveal section.present .point-card:nth-child(4) { animation: pillarRise 0.55s 0.74s ease-out both; }

/* ============================================================
   FULLBLEED HERO (Slide 11 — Speicher)
   ============================================================ */
.slide--fullhero {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.slide--fullhero .fullhero-media {
  position: absolute;
  inset: 0;
  z-index: 1;                    /* über .battery-fallback */
}
.slide--fullhero .fullhero-media img,
.slide--fullhero .fullhero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;                     /* Bild voll sichtbar, links wird durch Gradient-Overlay abgedeckt */
}
.slide--fullhero .fullhero-overlay {
  position: absolute;
  inset: 0;
  /* Links Reicht-Blue dicht, rechts transparent — Bild auf der rechten Hälfte voll lesbar */
  background: linear-gradient(
    90deg,
    rgba(0,47,96,0.95) 0%,
    rgba(0,67,135,0.92) 35%,
    rgba(0,67,135,0.55) 55%,
    rgba(0,67,135,0.10) 80%,
    rgba(0,67,135,0) 100%
  );
  z-index: 2;
}
.slide--fullhero .fullhero-content {
  position: relative;
  z-index: 3;                    /* über overlay (z=2) und media (z=1) */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;     /* Tagline-Block bleibt unten — Topbar sitzt jetzt absolut */
  padding: 5rem 6rem 6rem;
  max-width: 58%;                /* Text bleibt links, rechte Hälfte zeigt das Bild */
}
.slide--fullhero .fullhero-content > div:last-child {
  margin-bottom: 4rem;           /* Hauptcontent etwas vom Footer abgesetzt */
}
/* Topbar auf Fullhero-Slide: full-width absolute, wie auf den anderen Slides
   (nicht eingebettet im max-width-58%-Content-Container) */
.slide--fullhero > .topbar {
  position: absolute;
  top: 5rem;
  left: 6rem;
  right: 6rem;
  z-index: 4;
  margin-bottom: 0;
}
.fullhero-tagline {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
.fullhero-sub {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-top: 1.5rem;
  max-width: 52ch;
  line-height: 1.55;
}

/* Battery storage CSS fallback (for slide 11 until image lands) */
.battery-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;                    /* unter .fullhero-media — wird vom echten Bild überlagert */
  background:
    radial-gradient(circle at 30% 50%, rgba(60,120,200,0.45) 0%, transparent 55%),
    radial-gradient(circle at 75% 30%, rgba(201,168,118,0.25) 0%, transparent 55%),
    linear-gradient(180deg, #002F60 0%, #004387 60%, #003D7A 100%);
}
.battery-fallback::after {
  content: '';
  position: absolute;
  inset: 20% 15%;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 24px, transparent 24px 60px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 24px, transparent 24px 60px);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Generic image media fallback gradients */
.media-fallback {
  position: absolute;
  inset: 0;
}
.media-fallback--temmel {
  background:
    linear-gradient(180deg, rgba(0,47,96,0.2) 0%, rgba(0,47,96,0.6) 100%),
    linear-gradient(135deg, #1d3a52 0%, #2f5a7e 50%, #4779a8 100%);
}
.media-fallback--green-charge {
  background:
    linear-gradient(180deg, rgba(0,47,96,0.15) 0%, rgba(0,47,96,0.55) 100%),
    linear-gradient(135deg, #1e4a35 0%, #2e6d4f 45%, #4cb07d 100%);
}
.media-fallback--siedlung {
  background:
    linear-gradient(180deg, rgba(0,47,96,0.15) 0%, rgba(0,47,96,0.55) 100%),
    linear-gradient(135deg, #3a4e5c 0%, #5a7088 45%, #7d96b0 100%);
}
.media-fallback::after {
  content: attr(data-label);
  position: absolute;
  bottom: 1.4rem;
  right: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(0,47,96,0.65);
  padding: 0.4rem 0.7rem;
}

/* ============================================================
   REDUCED MOTION — respektiert das System-Setting „Bewegung
   reduzieren". Animationen werden auf ~0 ms verkürzt, NICHT
   per `animation: none` entfernt: die Eintritts-Choreografie
   nutzt fill-mode „both", die Elemente müssen auf ihrem
   Endzustand landen — sonst blieben sie unsichtbar (Start-State
   ist opacity:0 bzw. stroke-dashoffset).
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* Reveal-Navigationspfeile (unten rechts) etwas kleiner */
.reveal .controls {
  transform: scale(0.7);
  transform-origin: bottom right;
}
