/* erzaehlung.css — Variante „Erzählung": eine dunkle Bühne, auf der der
   Bericht Szene für Szene auftritt. Farben aus der Marke (tokens.css des
   Berichts), dazu ein Nachtblau als Grund. Liegt über bericht.css; dessen
   Druckregeln (pt-Größen, h1/h2) werden hier für die Bühne überschrieben, im
   Leser (.ez-leser) gelten sie bewusst weiter.

   Verlauf: immer --im-verlauf aus tokens.css des Berichts (Styleguide
   Kap. 2: 30° aufsteigend, Orange 25 %, Pink 70 %) — kein eigener, kein Blau.
   Text im Verlauf (background-clip) braucht eine Box so breit wie der Text
   (inline-block), sonst sieht er nur den orangen Anfang (Feedback 09.11.2026). */

:root {
  --ez-nacht:   #070B18;
  --ez-nacht-2: #0E1530;
  --ez-linie:   rgba(255, 255, 255, .12);
  --ez-hell:    #F2F5FB;
  --ez-leise:   #9EAACA;
  --ez-glas:    rgba(255, 255, 255, .06);
  --ez-rand:    clamp(16px, 5vw, 72px);
  --ez-breite:  1180px;
  --ez-weich:   cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.ez {
  margin: 0;
  background: var(--ez-nacht);
  color: var(--ez-hell);
  font-family: var(--im-font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.ez.ez-gesperrt { overflow: hidden; }
.ez p { margin: 0 0 1em; }
.ez img { max-width: 100%; }
.ez a { color: inherit; }
.ez button { font: inherit; color: inherit; }

/* ── Fortschritt und Navigation ─────────────────────────────────────── */
.ez-fortschritt { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 50; }
.ez-fortschritt span {
  display: block; height: 100%; width: 100%;
  background: var(--im-verlauf);
  transform-origin: 0 50%; transform: scaleX(0);
}

.ez-nav {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; gap: 10px;
}
.ez-nav a {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  text-decoration: none; font-size: 13px; color: var(--ez-leise);
}
.ez-nav a span {
  opacity: 0; transform: translateX(6px);
  transition: opacity .25s, transform .25s; white-space: nowrap;
  background: rgba(7, 11, 24, .85); padding: 2px 8px; border-radius: 6px;
}
.ez-nav a:hover span, .ez-nav a:focus-visible span { opacity: 1; transform: none; }
.ez-nav a i {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--ez-leise); transition: all .3s var(--ez-weich);
}
.ez-nav a.aktiv i { background: var(--im-magenta); border-color: var(--im-magenta); transform: scale(1.35); }
.ez-nav a.aktiv { color: var(--ez-hell); }
@media (max-width: 900px) { .ez-nav { display: none; } }

/* ── Held ────────────────────────────────────────────────────────────── */
.ez-held {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; align-items: end;
  padding: 0 var(--ez-rand) 14vh;
  isolation: isolate;
}
.ez-held-licht { position: absolute; inset: -20%; z-index: -2; filter: blur(70px); }
.ez-held-licht i {
  position: absolute; border-radius: 50%; opacity: .55; mix-blend-mode: screen;
  animation: ez-schweben 18s ease-in-out infinite alternate;
}
.ez-held-licht i:nth-child(1) { width: 55vw; height: 55vw; left: 58%; top: -2%; background: var(--im-magenta); }
.ez-held-licht i:nth-child(2) { width: 42vw; height: 42vw; left: 50%; top: 52%; background: var(--im-orange); animation-duration: 22s; }
.ez-held-licht i:nth-child(3) { width: 40vw; height: 40vw; left: 52%; top: 24%; background: var(--im-magenta); animation-duration: 26s; opacity: .35; }
@keyframes ez-schweben {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-8vw, 6vh) scale(1.15); }
}
.ez-held-raster {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 70%, transparent);
}
.ez-held-text { max-width: var(--ez-breite); }
.ez-held-marke {
  font-size: 15px; letter-spacing: .32em; font-weight: 600; color: var(--ez-hell); opacity: .8;
}
.ez .ez-held-titel {
  margin: 0; font-size: clamp(44px, 9vw, 132px); line-height: .95;
  font-weight: 700; letter-spacing: -.03em; color: var(--ez-hell);
  hyphens: manual;
}
.ez .ez-held-jahr {
  /* -.045em: Die Ziffer 2 hat bei dieser Größe ~12 px Weißraum links —
     so steht sie auf einer Kante mit Marke und Titel (Feedback 09.11.2026). */
  display: inline-block; margin: .1em 0 0 -.045em; font-size: clamp(88px, 22vw, 320px); line-height: .85;
  font-weight: 200; letter-spacing: -.05em;
  background: var(--im-verlauf); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.ez-held-pfeil {
  position: absolute; left: 50%; bottom: 28px; width: 28px; height: 46px;
  margin-left: -14px; border: 1.5px solid var(--ez-leise); border-radius: 14px;
}
.ez-held-pfeil span {
  position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--ez-hell); border-radius: 2px; animation: ez-maus 2s infinite;
}
@keyframes ez-maus { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ── Szenen allgemein ────────────────────────────────────────────────── */
.ez-szene { position: relative; padding: 18vh var(--ez-rand); }
.ez-szene > * { max-width: var(--ez-breite); margin-left: auto; margin-right: auto; }
.ez-szene--hell { background: #F4F6FB; color: var(--im-text); }
.ez-szene--hell .ez-leise { color: var(--im-grau); }
.ez-leise { color: var(--ez-leise); }

.ez-auf { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ez-weich), transform .9s var(--ez-weich); }
.ez-auf.sichtbar { opacity: 1; transform: none; }

.ez-eroeffnung { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 28px; align-items: end; margin-bottom: 8vh; }
.ez-eroeffnung-nr {
  font-size: clamp(72px, 14vw, 200px); font-weight: 200; line-height: .8; letter-spacing: -.05em;
  background: var(--im-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ez .ez-eroeffnung h2 {
  margin: 0; font-size: clamp(32px, 5.2vw, 72px); line-height: 1.06; font-weight: 700;
  letter-spacing: -.02em; color: inherit; hyphens: auto;
}
.ez-eroeffnung h2 sub { font-size: .5em; line-height: 0; vertical-align: -.06em; }
/* Leiser Textlink unter dem Titel — der Verlaufsknopf steht am Szenenende */
.ez-textlink {
  grid-column: 2; justify-self: start; margin-top: 28px; padding: 4px 0; cursor: pointer;
  border: 0; font-size: 16px; font-weight: 600; color: var(--ez-leise) !important;
  display: inline-flex; gap: 10px; align-items: center;
  background: linear-gradient(90deg, var(--im-orange), var(--im-magenta)) no-repeat 0 100% / 0 1.5px;
  transition: background-size .35s var(--ez-weich), color .25s;
}
.ez-textlink::after { content: "→"; transition: transform .25s var(--ez-weich); }
.ez-textlink:hover, .ez-textlink:focus-visible { background-size: 100% 1.5px; color: var(--ez-hell) !important; }
.ez-textlink:hover::after { transform: translateX(4px); }
.ez-szene--hell .ez-textlink { color: var(--im-grau) !important; }
.ez-szene--hell .ez-textlink:hover { color: var(--im-text) !important; }
/* Abschluss jeder Kapitelszene: der Verlaufsknopf, ggf. ein ruhiger daneben */
.ez-szene-ende { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 10vh; }

.ez-knopf {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 11px 20px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: var(--ez-glas); border: 1px solid var(--ez-linie);
  transition: background .25s, border-color .25s, transform .25s var(--ez-weich);
}
.ez-knopf::after { content: "→"; transition: transform .25s var(--ez-weich); }
.ez-knopf:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.ez-knopf:hover::after { transform: translateX(4px); }
.ez-szene--hell .ez-knopf { background: #fff; border-color: #D8DEEA; }
.ez-szene--hell .ez-knopf:hover { border-color: var(--im-magenta); }
/* „Kapitel lesen": der Weg weiter — im Markenverlauf, als Blickfang.
   Die Knöpfe in Kacheln (Maßnahmen) bleiben ruhig. */
.ez .ez-knopf--kapitel, .ez .ez-szene--hell .ez-knopf--kapitel {
  background: var(--im-verlauf); border-color: transparent; color: #fff;
  box-shadow: 0 10px 30px -12px rgba(255, 0, 255, .6);
}
.ez .ez-knopf--kapitel:hover, .ez .ez-szene--hell .ez-knopf--kapitel:hover {
  background: var(--im-verlauf); border-color: transparent;
  transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(255, 0, 255, .75);
}

.ez-lead { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.5; font-weight: 400; }
.ez-lead > p { max-width: 34em; }
.ez-zweispaltig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6vw; align-items: start; }
@media (max-width: 800px) { .ez-zweispaltig { grid-template-columns: minmax(0, 1fr); } }

/* ── Auftakt: Text, der beim Lesen aufleuchtet ───────────────────────── */
.ez-auftakt-kopf { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--im-magenta); font-weight: 600; }
.ez .ez-leuchttext {
  font-size: clamp(26px, 3.6vw, 52px); line-height: 1.28; font-weight: 600; letter-spacing: -.01em;
}
.ez-leuchttext p { margin: 0 0 .7em; max-width: 22em; }
.ez-leuchttext span { opacity: .16; transition: opacity .35s; }
.ez-leuchttext span.an { opacity: 1; }

/* ── Kennzahlen ──────────────────────────────────────────────────────── */
.ez-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ez-linie); border: 1px solid var(--ez-linie); border-radius: 20px; overflow: hidden; }
@media (max-width: 1000px) { .ez-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ez-kachel { background: var(--ez-nacht); padding: 28px 24px 22px; display: flex; flex-direction: column; min-height: 230px; position: relative; }
.ez-kachel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0 0, rgba(255,0,255,.16), transparent 60%); opacity: 0; transition: opacity .4s; }
.ez-kachel:hover::before { opacity: 1; }
.ez-kachel-titel { font-size: 14px; color: var(--ez-leise); line-height: 1.35; min-height: 2.7em; }
.ez-kachel-wert { font-size: clamp(38px, 4.2vw, 60px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-top: auto; font-variant-numeric: tabular-nums; }
.ez-kachel-einheit { font-size: 14px; color: var(--ez-leise); }
.ez-kachel svg { display: block; margin-top: 12px; width: 100%; height: 42px; overflow: visible; }
.ez-kachel svg path { fill: none; stroke: var(--im-magenta); stroke-width: 2; }
.ez-kachel svg circle { fill: var(--im-magenta); }
@media (max-width: 500px) { .ez-kachel { padding: 20px 16px; min-height: 190px; } }

/* ── Über uns: Foto, Werte ───────────────────────────────────────────── */
.ez-foto { position: relative; height: 70vh; min-height: 360px; border-radius: 28px; overflow: hidden; margin-bottom: 10vh; }
.ez-foto img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.ez-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,11,24,.85), transparent 55%); }
.ez-foto figcaption { position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 1; font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; line-height: 1.3; max-width: 24em; }
@media (max-width: 600px) { .ez-foto figcaption { left: 18px; right: 18px; bottom: 18px; font-size: 17px; } }

/* Werte: festes Raster, kein seitliches Scrollen */
.ez-werte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .ez-werte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ez-wert { background: var(--ez-glas); border: 1px solid var(--ez-linie); border-radius: 22px; padding: 24px 22px; transition: border-color .35s, transform .35s var(--ez-weich); }
.ez-wert:hover { border-color: rgba(255,0,255,.45); transform: translateY(-3px); }
/* Die Icons sind dunkle Strichzeichnungen — auf einem hellen Rund lesbar */
.ez-wert-marke { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ez-hell); }
.ez-wert-marke img { width: 34px; height: 34px; }
.ez .ez-wert h3 { margin: 18px 0 8px; font-size: 18px; font-weight: 600; color: var(--ez-hell); line-height: 1.3; hyphens: auto; }
.ez-wert p { font-size: 15px; line-height: 1.5; color: var(--ez-leise); margin: 0; }
@media (max-width: 600px) {
  .ez-werte { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ez-wert { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding: 18px; }
  .ez-wert-marke { width: 44px; height: 44px; grid-row: span 2; }
  .ez-wert-marke img { width: 28px; height: 28px; }
  .ez .ez-wert h3 { margin: 0; font-size: 16px; align-self: center; }
  .ez-wert p { font-size: 14px; }
}

/* ── Wesentlichkeit ──────────────────────────────────────────────────── */
.ez-matrix-wahl { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 18px; }
.ez-chip { cursor: pointer; border-radius: 999px; padding: 7px 14px; font-size: 14px; border: 1px solid #D8DEEA; background: #fff; display: inline-flex; align-items: center; gap: 8px; }
.ez-chip i { width: 10px; height: 10px; border-radius: 50%; }
.ez-chip[aria-pressed="false"] { opacity: .45; }
.ez-matrix { position: relative; }
.ez-matrix svg { display: block; width: 100%; height: auto; overflow: visible; }
.ez-matrix .achse { stroke: #C9D0DE; }
.ez-matrix .achse-text { font-size: 13px; fill: var(--im-grau); }
.ez-matrix .punkt { cursor: pointer; transition: opacity .3s, transform .4s var(--ez-weich); transform-box: fill-box; transform-origin: center; }
.ez-matrix .punkt.aus { opacity: .1; }
.ez-matrix .punkt:hover, .ez-matrix .punkt.fokus { transform: scale(1.25); }
.ez-matrix .thema { font-size: 13px; fill: var(--im-text); pointer-events: none; transition: opacity .3s; }
.ez-matrix .thema.aus { opacity: .1; }
@media (max-width: 600px) { .ez-matrix .thema { display: none; } .ez-matrix .thema.zeigen { display: block; } }
.ez-matrix-info { min-height: 3em; margin-top: 10px; font-size: 18px; font-weight: 600; }

/* ── Ziele ───────────────────────────────────────────────────────────── */
.ez-reiter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 6px; background: var(--ez-glas); border: 1px solid var(--ez-linie); border-radius: 999px; width: fit-content; max-width: 100%; }
.ez-reiter button { cursor: pointer; border: 0; background: none; border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 600; color: var(--ez-leise); }
.ez-reiter button[aria-selected="true"] { background: var(--ez-hell); color: var(--ez-nacht); }
@media (max-width: 600px) { .ez-reiter { border-radius: 18px; } .ez-reiter button { padding: 8px 12px; font-size: 14px; } }
.ez-ziele { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.ez-ziel {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 26px; border-radius: 22px; background: var(--ez-glas); border: 1px solid var(--ez-linie);
  animation: ez-hinein .6s var(--ez-weich) both;
}
.ez-ziel:nth-child(2) { animation-delay: .06s; } .ez-ziel:nth-child(3) { animation-delay: .12s; }
.ez-ziel:nth-child(4) { animation-delay: .18s; } .ez-ziel:nth-child(5) { animation-delay: .24s; }
@keyframes ez-hinein { from { opacity: 0; transform: translateY(18px); } }
.ez-ziel-code { display: inline-block; justify-self: start; align-self: start; font-size: 44px; font-weight: 200; line-height: 1; background: var(--im-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ez .ez-ziel h3 { margin: 0; font-size: 20px; font-weight: 600; color: var(--ez-hell); line-height: 1.3; }
.ez-ziel p { margin: 0; font-size: 15px; color: var(--ez-leise); }
.ez-ziel .ez-knopf { margin-top: auto; align-self: flex-start; font-size: 14px; padding: 9px 16px; }

/* ── Scrollytelling CO₂ ─────────────────────────────────────────────── */
.ez-scrolly { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 5vw; }
.ez-buehne { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; }
.ez-ebene { grid-area: 1 / 1; opacity: 0; transform: scale(.97); transition: opacity .7s var(--ez-weich), transform .7s var(--ez-weich); pointer-events: none; }
.ez-ebene.aktiv { opacity: 1; transform: none; pointer-events: auto; }
.ez-schritte { padding: 40vh 0; }
.ez-schritt { min-height: 85vh; display: flex; align-items: center; }
.ez-schritt > div {
  background: rgba(14, 21, 48, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ez-linie); border-radius: 22px; padding: 28px; font-size: 17px;
  opacity: .35; transition: opacity .5s;
}
.ez-schritt.aktiv > div { opacity: 1; }
.ez-schritt p:last-child { margin-bottom: 0; }

.ez-grosszahl { font-size: clamp(64px, 11vw, 168px); font-weight: 700; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ez-grosszahl-einheit { font-size: clamp(20px, 2.4vw, 32px); font-weight: 400; color: var(--ez-leise); margin-top: 14px; }
.ez-grosszahl-label { font-size: 17px; color: var(--ez-leise); margin-top: 6px; }
.ez-schritt .co2-fussnote { color: var(--ez-hell); font-size: 16px; font-style: normal; margin: 0 0 18px; }
.ez-buehne .co2-fussnote { color: var(--ez-leise); font-size: 15px; margin-top: 26px; max-width: 30em; }

.ez-balken { display: grid; gap: 14px; }
.ez-balken-zeile { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr) 5.5em; gap: 14px; align-items: center; font-size: 15px; }
.ez-balken-zeile b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.ez-balken-spur { height: 26px; border-radius: 13px; background: rgba(255,255,255,.06); overflow: hidden; }
.ez-balken-spur i { display: block; height: 100%; border-radius: 13px; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.1s var(--ez-weich); }
.ez-ebene.aktiv .ez-balken-spur i { transform: scaleX(var(--anteil)); }
.ez-balken--scopes .ez-balken-spur { height: 64px; border-radius: 18px; }
.ez-balken--scopes .ez-balken-spur i { border-radius: 18px; background: var(--im-verlauf); }
/* Jeder Balken trägt den ganzen Verlauf — ein kurzer Balken wäre sonst rein
   Orange, und der Styleguide will Pink immer mit dem größeren Anteil. */
.ez-balken-spur i { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.ez-balken--scopes .ez-balken-zeile { font-size: 18px; }

@media (max-width: 860px) {
  .ez-scrolly { display: block; }
  /* Grafik oben, der Text schiebt sich unten darunter durch. Auf dem
     Telefon nur der erste Absatz je Schritt — der Rest steht im Leser. */
  .ez-buehne { height: 54svh; top: 0; padding-top: 8px; z-index: 1; align-items: start; }
  .ez-schritte { position: relative; z-index: 2; padding: 0 0 30vh; margin-top: -54svh; }
  .ez-schritt { min-height: 100svh; align-items: flex-end; padding-bottom: 3svh; box-sizing: border-box; }
  .ez-schritt > div { padding: 18px; font-size: 15px; line-height: 1.5; }
  .ez-schritt > div > p:nth-of-type(n+2) { display: none; }
  .ez-grosszahl { font-size: 72px; }
  .ez-balken-zeile { grid-template-columns: minmax(0, 1fr) 4.5em; font-size: 13px; gap: 4px 10px; }
  .ez-balken-zeile span { grid-column: 1 / -1; }
  .ez-balken-zeile .ez-balken-spur { grid-column: 1; }
  .ez-balken-spur { height: 16px; }
  .ez-balken--scopes .ez-balken-spur { height: 34px; }
}

/* ── Linie, die sich beim Scrollen zeichnet ──────────────────────────── */
.ez-zeichnung { position: relative; height: 260vh; }
.ez-zeichnung-marke { position: absolute; top: 60%; left: 0; width: 1px; height: 1px; }
.ez-zeichnung-buehne { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 12vh 0 8vh; box-sizing: border-box; }
.ez-zeichnung-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.ez-zeichnung-kopf .ez-grosszahl { font-size: clamp(56px, 9vw, 136px); }
.ez-zeichnung svg { width: 100%; height: 100%; overflow: visible; }
.ez-zeichnung .pfad { fill: none; stroke: url(#ez-strich); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ez-zeichnung .flaeche { fill: url(#ez-flaeche); }
.ez-zeichnung .jahr { font-size: 13px; fill: var(--ez-leise); }
.ez-zeichnung .kopfpunkt { fill: #fff; stroke: var(--im-magenta); stroke-width: 4; }
.ez-zeichnung-titel { font-size: 18px; font-weight: 600; }

/* ── Donuts ──────────────────────────────────────────────────────────── */
.ez-ringe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4vw; margin-top: 12vh; }
@media (max-width: 700px) { .ez-ringe { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.ez-ring { text-align: center; }
.ez-ring svg { width: min(100%, 260px); height: auto; overflow: visible; }
.ez-ring .ring-grund { fill: none; stroke: rgba(255,255,255,.08); }
.ez-ring .ring-wert { fill: none; stroke: url(#ez-ring-verlauf); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ez-weich); }
.ez-ring-zahl { font-size: 44px; font-weight: 700; fill: var(--ez-hell); }
.ez-ring-einheit { font-size: 14px; fill: var(--ez-leise); }
.ez-ring p { margin: 14px auto 0; max-width: 16em; font-size: 16px; color: var(--ez-leise); }

/* ── Abschnitte als Karten ───────────────────────────────────────────── */
.ez-abschnitte { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 10vh; }
.ez-abschnitt {
  text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 10px;
  padding: 22px 24px; border-radius: 20px; background: var(--ez-glas); border: 1px solid var(--ez-linie);
  transition: transform .35s var(--ez-weich), border-color .35s, background .35s;
}
.ez-abschnitt:hover { transform: translateY(-4px); border-color: rgba(255,0,255,.55); background: rgba(255,255,255,.09); }
.ez-abschnitt-nr { font-size: 13px; font-weight: 600; color: var(--im-magenta); letter-spacing: .08em; }
.ez-abschnitt-titel { font-size: 19px; font-weight: 600; line-height: 1.3; }
.ez-abschnitt-text { font-size: 15px; color: var(--ez-leise); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ez-szene--hell .ez-abschnitt { background: #fff; border-color: #E1E6F0; }
.ez-szene--hell .ez-abschnitt-text { color: var(--im-grau); }

/* ── Nachweise (Governance) ──────────────────────────────────────────── */
.ez-nachweise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 700px) { .ez-nachweise { grid-template-columns: minmax(0, 1fr); } }
.ez-nachweis { margin: 0; background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transform: rotate(-1.2deg); transition: transform .5s var(--ez-weich); }
.ez-nachweis:nth-child(2) { transform: rotate(1.2deg); }
.ez-nachweis:hover { transform: rotate(0) scale(1.02); }
.ez-nachweis img { display: block; width: 100%; height: 320px; object-fit: contain; }
.ez-nachweis figcaption { color: var(--im-text); font-size: 14px; margin-top: 10px; }

/* ── Ausklang: kleine Kapitelliste, dann das Schlussbild ───────────── */
.ez-ausklang { padding-bottom: 0; }
.ez-index { max-width: 760px; margin: 0 auto 4vh; }
.ez-index-kopf { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ez-leise); text-align: center; margin-bottom: 22px !important; }
.ez-index ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
@media (max-width: 600px) { .ez-index ol { columns: 1; } }
.ez-index li { break-inside: avoid; }
.ez-index button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: flex; gap: 14px; align-items: baseline; padding: 9px 0;
  font-size: 15px; color: var(--ez-hell); opacity: .78;
  border-bottom: 1px solid var(--ez-linie);
  background: linear-gradient(90deg, var(--im-magenta), var(--im-orange)) no-repeat 0 100% / 0 1px;
  transition: opacity .3s, background-size .5s var(--ez-weich);
}
.ez-index button:hover, .ez-index button:focus-visible { opacity: 1; background-size: 100% 1px; }
.ez-index .nr { font-size: 12px; font-weight: 600; color: var(--im-magenta); min-width: 1.6em; font-variant-numeric: tabular-nums; }

.ez-schluss {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 60svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6vh 0 0;
  max-width: none !important; margin: 0 calc(-1 * var(--ez-rand)) !important;
}
.ez-schluss-licht {
  position: absolute; z-index: -1; left: 50%; bottom: -24%; width: min(1300px, 170vw); height: 62%;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,0,255,.55), rgba(255,85,0,.25) 55%, transparent);
  filter: blur(60px); opacity: .9;
  animation: ez-atmen 9s ease-in-out infinite alternate;
}
@keyframes ez-atmen { from { opacity: .65; transform: translateX(-50%) scale(.95); } to { opacity: 1; transform: translateX(-50%) scale(1.05); } }
.ez-schluss-dank { max-width: 34em; padding: 0 var(--ez-rand); font-size: 14px; color: var(--ez-leise); }
.ez-schluss-dank p { margin: 0 0 .4em; }
.ez-schluss-marke { margin: 9vh 0 0 !important; font-size: 13px; letter-spacing: .32em; font-weight: 600; }
.ez-schluss-marke span { font-weight: 200; letter-spacing: .1em; background: var(--im-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ez-schluss-hoch {
  margin-top: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--ez-linie); text-decoration: none; font-size: 16px; color: var(--ez-hell);
  transition: border-color .3s, transform .3s var(--ez-weich);
}
.ez-schluss-hoch:hover { border-color: var(--im-magenta); transform: translateY(-3px); }

.ez-fuss { margin-top: 12vh; padding: 18px var(--ez-rand) 24px; font-size: 12px; color: var(--ez-hell); text-align: center; opacity: .7; }
.ez-fuss p { margin: 0 0 .4em; }
.ez-fuss em { font-style: normal; }
.ez-fuss .stand--entwurf { color: var(--im-orange); font-weight: 600; }

/* ── Leser: das Kapitel am Stück, im Satz des Berichts ───────────────── */
.ez-leser {
  width: min(900px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  margin: 0 0 0 auto; padding: 0; border: 0;
  background: #fff; color: var(--im-text);
  box-shadow: -40px 0 80px rgba(0,0,0,.4);
}
.ez-leser[open] { animation: ez-leser-auf .5s var(--ez-weich); }
@keyframes ez-leser-auf { from { transform: translateX(60px); opacity: 0; } }
.ez-leser::backdrop { background: rgba(4, 7, 16, .66); backdrop-filter: blur(4px); }
.ez-leser-kopf {
  position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; align-items: center;
  padding: 12px 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid #E6EAF2;
}
.ez-leser-kopf button { cursor: pointer; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #DDE3EE; background: #fff; font-size: 18px; color: var(--im-text); }
.ez-leser-kopf button:hover { border-color: var(--im-magenta); }
.ez-leser-kopf button:disabled { opacity: .3; cursor: default; }
.ez-leser-titel { margin: 0 !important; font-weight: 600; font-size: 15px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ez-leser-fluss { height: calc(100% - 65px); overflow-y: auto; overscroll-behavior: contain; }
/* Wo es doch scrollt (Leser, breite Tabellen am Telefon): schmal und leise */
.ez-leser-fluss, .ez-leser-inhalt table { scrollbar-width: thin; scrollbar-color: #C9D0DE transparent; }
.ez-leser-inhalt { padding: 36px clamp(16px, 5vw, 56px) 80px; font-size: 16px; line-height: 1.6; }
.ez-leser-inhalt section.chapter { break-before: auto; }
.ez-leser-inhalt svg, .ez-leser-inhalt img { max-width: 100%; height: auto; }
.ez-leser-inhalt .document-figure img { max-height: 520px; width: auto; }
@media (max-width: 700px) {
  .ez-leser-inhalt .two-col { column-count: 1; }
  .ez-leser-inhalt .chart-row, .ez-leser-inhalt .donut-row { flex-wrap: wrap; }
  .ez-leser-inhalt .co2-baum-scopes { flex-direction: column; }
  .ez-leser-inhalt table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ez-held-licht i, .ez-held-pfeil span, .ez-schluss-licht { animation: none; }
  .ez-auf { opacity: 1; transform: none; transition: none; }
  .ez-leuchttext span { opacity: 1; }
}
