/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: var(--swh-gray-200);
  box-shadow: var(--shadow-sm);
}
/* Hero blendet Header transparent ein */
.site-header.is-on-hero {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--swh-white);
}
/* Nav-Schrift weiß, wenn der Header transparent ist (über Hero), damit sie auf dem
   dunklen Bild lesbar bleibt. Auf .alt-page wird das weiter unten wieder zu blau
   überschrieben, weil der Header dort solid weiß bleibt. */
.site-header.is-on-hero .nav__link { color: var(--swh-white); }
.site-header.is-on-hero .nav-toggle__bar { background: var(--swh-white); }
/* .nav__year bleibt IMMER dunkelblau (Kontrast zum gelben Hintergrund) */
.site-header.is-on-hero .nav__year,
.site-header.is-scrolled .nav__year { color: var(--swh-blue-dark); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding-inline: var(--gutter);
  gap: var(--space-5);
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--swh-blue);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--swh-blue);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--swh-white);
}
.brand__mark::before { width: 12px; height: 12px; left: 8px; top: 14px; }
.brand__mark::after  { width: 8px; height: 8px; left: 22px; top: 10px; background: var(--swh-yellow); }
.brand__name span { display: block; }
.brand__name .b-1 { color: var(--swh-blue);      font-weight: var(--fw-medium); font-size: 0.9rem; }
.brand__name .b-2 { color: var(--swh-blue-dark); font-weight: var(--fw-bold);   font-size: 1.05rem; margin-top: -2px; }
.site-header.is-on-hero .brand,
.site-header.is-on-hero .brand__name .b-1,
.site-header.is-on-hero .brand__name .b-2 { color: var(--swh-white); }
.site-header.is-on-hero .brand__mark { background: var(--swh-white); }
.site-header.is-on-hero .brand__mark::before { background: var(--swh-blue); }
.site-header.is-on-hero .brand img {
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35));
}

/* Navigation */
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav__list {
  list-style: none;
  display: flex;
  gap: var(--space-6);
  margin: 0; padding: 0;
}
.nav__link {
  /* Volle Header-Höhe → kein vertikaler Gap zum Mega-Panel,
     daher braucht das Mega keine Hover-Bridge mehr. */
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  padding: 0;
  font-weight: var(--fw-semi);
  font-size: var(--fs-sm);
  color: var(--swh-blue-dark);
  text-decoration: none;
  position: relative;
  /* Kurze Menü-Labels: immer einzeilig, kein Wortbruch. */
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--swh-yellow);
  transition: width 0.25s var(--ease-out);
}
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

.nav__year {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: var(--swh-yellow);
  color: var(--swh-blue-dark);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out);
}
a.nav__year:hover,
a.nav__year:focus-visible { background: var(--swh-yellow-soft); }

/* Home-Button (ersetzt „Jahr 2025"-Button) — gelbes Haus-Icon, Feedback B2 */
.nav__home {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.15rem; height: 2.15rem;
  background: var(--swh-yellow);
  color: var(--swh-blue-dark);
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out);
}
.nav__home:hover,
.nav__home:focus-visible { background: var(--swh-yellow-soft); }
.nav__home-icon { width: 1.3rem; height: 1.3rem; display: block; }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  border-radius: 8px;
}
.nav-toggle__bar {
  display: block;
  width: 26px; height: 2px;
  background: var(--swh-blue-dark);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  /* Auf Mobile: Burger sichtbar, Desktop-Nav komplett versteckt.
     Die mobile Navigation wird via JS als eigenständige .m-nav
     gebaut und an <body> gehängt (siehe preview.css → MOBILE NAV). */
  .nav-toggle { display: flex; position: relative; z-index: 110; }
  .nav { display: none; }

  /* Wenn das Mobile-Menü offen ist: Header-Stil hell (für Burger-Sichtbarkeit) */
  body.m-nav-open .site-header {
    background: var(--swh-white) !important;
    border-bottom-color: var(--swh-gray-200) !important;
  }
  body.m-nav-open .site-header .nav-toggle__bar { background: var(--swh-blue-dark); }
  body.m-nav-open .site-header .brand img { filter: none; }
}

/* Word-break: lange deutsche Wörter (z.B. "Nachhaltigkeit") dürfen
   bei Bedarf trennen. Nur Mobile-Nav & Mega-Menü — die Desktop-Top-Nav
   nutzt kurze, einzeilige Labels (siehe .nav__link: white-space:nowrap). */
.m-nav__chapter-title,
.m-nav__item-title,
.mega__visual-title,
.mega__list a {
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  /* Mindesthöhe stellt sicher, dass bei kleinem Viewport der Content nicht
     aus dem Bild rausgeschoben wird. Bei großen Screens 100dvh, sonst min 720px. */
  min-height: max(720px, 100dvh);
  display: flex;
  align-items: center;       /* Vertikal mittig */
  color: var(--swh-white);
  overflow: hidden;
  isolation: isolate;
  padding-block: calc(var(--header-h) + var(--space-9)) var(--space-9);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(140deg, #1F3A2A 0%, #0E1F15 100%);
  background-size: cover;
  background-position: center;
}
.hero__bg img,
.hero__bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
}
.hero__inner {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  position: relative;
  /* Content linksbündig (default), nur vertikal zentriert über .hero */
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: var(--fw-semi);
  letter-spacing: 0.02em;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  color: var(--swh-white);
  margin-bottom: var(--space-3);
}
.hero__eyebrow .year {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1.5em;
  margin-left: 0.2em;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--swh-yellow);
  font-size: clamp(3rem, 11vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero__subtitle {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  color: var(--swh-white);
  letter-spacing: -0.005em;
  margin: 0 0 var(--space-7);
  max-width: 30ch;
}
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
/* Mehrere Konturpfeile gestaffelt im Hintergrund (echte SVG-Form) */
.hero__arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 2; }
.hero__scroll { z-index: 3; }
.hero__arrows span {
  position: absolute;
  display: block;
  aspect-ratio: 122 / 178;
  background-color: var(--swh-white);
  -webkit-mask: var(--mask-arrow-outline) no-repeat center / contain;
          mask: var(--mask-arrow-outline) no-repeat center / contain;
}
.hero__arrows .a-1 { left:  -6%; bottom: -8%;  width: clamp(320px, 52vmin, 680px); opacity: 0.85; }
.hero__arrows .a-2 { left:  20%; top:    -10%; width: clamp(240px, 38vmin, 520px); opacity: 0.45; }
.hero__arrows .a-3 { right: -10%; bottom: 18%; width: clamp(200px, 30vmin, 420px); opacity: 0.30; }
@media (max-width: 720px) {
  .hero__arrows .a-2 { display: none; }
  .hero__arrows .a-3 { display: none; }
  .hero__arrows .a-1 { left: -22%; opacity: 0.7; }

  /* Auf Mobile vertikal mittig (Desktop bleibt flex-end) */
  .hero {
    align-items: center;
    padding-block: calc(var(--header-h) + var(--space-6)) var(--space-9);
  }
  .hero__subtitle { max-width: 30ch; }
}
.hero__scroll {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.6rem, 1.2vw, 1rem);
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--swh-white);
  text-decoration: none;
  transition: transform 0.25s var(--ease-out);
}
.hero__scroll:hover,
.hero__scroll:focus-visible {
  color: var(--swh-white);   /* überschreibt globalen a:hover (dunkelblau) */
  transform: translateX(-50%) translateY(-3px);
}
.hero__scroll-label {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero__scroll-arrow {
  width: clamp(28px, 3vw, 38px);
  aspect-ratio: 42 / 62;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  transform: rotate(90deg);  /* Spitze zeigt nach unten */
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
  animation: scrollDown 1.6s var(--ease-in-out) infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: rotate(90deg) translateX(-2px); }
  50%      { transform: rotate(90deg) translateX(8px);  }
}

/* =========================================================
   PAGE-HERO (Sub-Pages — kleinerer Hero-Bereich)
   ========================================================= */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(1.25rem, 5vw, 4rem));
  padding-bottom: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__inner { position: relative; }

.page-hero__crumb {
  display: flex;
  align-items: center;
  gap: 0 0.6rem;   /* row-gap 0: kein vertikaler Abstand beim Umbruch */
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
  margin-bottom: clamp(1.5rem, 7vw, 70px);   /* Mobile kompakter, Desktop unverändert */
}
.page-hero__crumb a { color: var(--swh-blue); text-decoration: none; }
.page-hero__crumb a:hover { color: var(--swh-blue-dark); text-decoration: underline; }
.page-hero__crumb .is-current { color: var(--swh-blue-dark); font-weight: var(--fw-semi); }

.page-hero__head {
  display: grid;
  /* Headline 70% / Lede 30% — minmax(0, …) damit überlange Wörter die Spalte nicht sprengen */
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.page-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase;
  line-height: 0.95;
  /* Sicherheits-Break für lange Komposita wie "Nachhaltigkeitsansatz" */
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.page-hero__subtitle {
  margin: var(--space-2) 0 0;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--swh-blue-dark);
  letter-spacing: 0.01em;
}
.page-hero__lede {
  font-size: var(--fs-lg);
  line-height: var(--lh-loose);
  color: var(--color-text-soft);
  margin: 0;
}
.page-hero__lede strong { color: var(--swh-blue-dark); font-weight: var(--fw-bold); }

/* Hero mit grossem gelben Pfeil der links rausragt */
.page-hero--with-arrow {
  position: relative;
  overflow: hidden;
}
.page-hero--with-arrow .page-hero__inner {
  position: relative;
  z-index: 1;
}
.page-hero__big-arrow {
  position: absolute;
  left: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 28vw, 440px);
  aspect-ratio: 42 / 62;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}
/* Kleineres „und" in zweizeiligen Page-Hero-Headlines (z.B. Management und Aufsichtsrat) */
.page-hero__title .ph-conj { font-size: 0.5em; font-weight: var(--fw-bold); }
/* Headline + Lede 2-spaltig — Lede unten ausgerichtet zur Headline */
.page-hero__head--shifted {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding-left: 0;
}
@media (max-width: 800px) {
  /* Mobile: Hero-Kopf insgesamt kompakter */
  .page-hero { padding: 60px 0 40px 0; margin-top: 60px; }
  /* Page-Hero-Pfeil bleibt auch auf Mobile sichtbar, nur etwas kleiner positioniert */
  .page-hero__big-arrow {
    left: -16%;
    top: 24%;
    width: clamp(180px, 32vw, 280px);
  }
  .page-hero__head--shifted {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding-top: 0;
  }
}

.page-hero__ghost-1 {
  bottom: -120px; right: -80px;
  width: clamp(200px, 22vw, 360px);
  opacity: 0.10;
  background-color: var(--swh-yellow);
}
.page-hero__ghost-2 {
  top: 30%; left: -160px;
  width: clamp(160px, 18vw, 280px);
  opacity: 0.18;
  background-color: var(--swh-blue);
}

@media (max-width: 800px) {
  .page-hero__head { grid-template-columns: 1fr; gap: var(--space-5); }
  .page-hero__ghost-2 { display: none; }
}

/* =========================================================
   INTRO BLOCK
   ========================================================= */
.intro {
  position: relative;
  background: var(--swh-blue-dark);
  color: var(--swh-white);
  overflow: hidden;
}
.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  position: relative;
}
.intro__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
  color: var(--swh-white);
  letter-spacing: -0.015em;
}
.intro__title .accent {
  color: var(--swh-yellow);
}

/* Kleiner gelber Pfeil-Akzent links am Intro-Block */
.intro__side-arrow {
  position: absolute;
  left: -60px;
  top: 34%;
  width: clamp(48px, 5vw, 80px);
  aspect-ratio: 42 / 62;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 800px) {
  .intro__side-arrow { display: none; }   /* dekorativer Seiten-Pfeil im Intro-Block auf Mobile aus */
}
.intro__lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: var(--lh-loose);
  color: rgba(255,255,255,0.92);
  margin: 0;
}
.intro__lede strong { color: var(--swh-yellow); font-weight: var(--fw-bold); }
.intro__cta {
  margin-top: var(--space-6);
  display: inline-flex;
}
.intro .ghost-arrow--1 {
  bottom: -80px;
  right: -100px;
  width: clamp(200px, 22vw, 320px);
  opacity: 0.06;
  background-color: var(--swh-yellow);
}
.intro .ghost-arrow--2 {
  top: 60px;
  left: -120px;
  width: clamp(160px, 16vw, 240px);
  opacity: 0.10;
}
@media (max-width: 800px) {
  .intro .ghost-arrow--1 { right: -140px; bottom: auto; top: -60px; }
  .intro .ghost-arrow--2 { display: none; }
}

@media (max-width: 800px) {
  .intro__inner {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 5vw, 2.5rem);
  }
}
@media (max-width: 720px) {
  /* Intro auf Mobile luftiger — mehr Padding-Block + Title etwas kompakter */
  .intro {
    padding-block: clamp(3rem, 12vw, 5rem);
  }
}

/* =========================================================
   TOC / KAPITELÜBERSICHT
   ========================================================= */
/* Section-Hero mit overlaid Headline (Bild + Title als Einheit, nicht 2 Bloecke) */
.toc__hero {
  position: relative;
  width: 100%;
  height: clamp(340px, 42vw, 440px);
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
  background: url('../img/header-inhalt.webp') center 50% / cover no-repeat;
  margin-bottom: var(--space-7);
  box-shadow: var(--shadow-md);
}
.toc__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 30, 60, 0.05) 0%, rgba(0, 30, 60, 0.65) 100%);
  z-index: 0;
}
.toc__hero-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: var(--space-7);
  color: var(--swh-white);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-7);
  align-items: end;
}
.toc__hero-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: var(--lh-tight);
  text-shadow: 0 2px 16px rgba(0, 30, 60, 0.55);
  color: #fff;
}
.toc__hero-sub {
  margin: 0;
  font-size: var(--fs-lg);
  max-width: 60ch;
  text-shadow: 0 1px 8px rgba(0, 30, 60, 0.55);
}
@media (max-width: 720px) {
  .toc__hero-content {
    grid-template-columns: 1fr;
    padding: var(--space-5);
    gap: var(--space-3);
  }
}

.toc__groups {
  display: grid;
  grid-template-columns: 3fr 4fr 3fr;   /* 30 / 40 / 30 */
  gap: var(--space-7);
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.toc__col-pair {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-7);
  min-width: 0;
  min-height: 0;
}
.toc__col-pair > .toc-group { min-height: 0; }
.toc {
  position: relative;
}

.toc-group {
  background: var(--swh-blue-tint);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  height: 100%;
  isolation: isolate;
}

.toc-group__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
  transition: gap 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.toc-group__head:hover {
  gap: calc(var(--space-3) + 6px);
  color: var(--swh-blue);
}
.toc-group__head:hover h3 { color: var(--swh-blue); }
.toc-group__head h3 {
  font-size: var(--fs-xl);
  margin: 0;
  color: var(--swh-blue-dark);
  text-transform: uppercase;
  transition: color 0.25s var(--ease-out);
}
.toc-group ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;          /* fuellt verfuegbaren Vertikalraum, alle Cards gleich hoch */
}
.toc-group li a {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0,61,107,0.12);
  font-size: var(--fs-sm);
  color: var(--swh-blue-dark);
  text-decoration: none;
  transition: padding 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.toc-group li a:hover { padding-left: 6px; color: var(--swh-blue); }
.toc-group li a .num {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 0.9em;
  color: var(--swh-blue);
  letter-spacing: 0.03em;
}
.toc-group li a .arr {
  width: 12px;
  aspect-ratio: 42 / 62;
  background-color: var(--swh-blue);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s var(--ease-out);
}
.toc-group li a:hover .arr { opacity: 1; transform: translateX(0); }

@media (max-width: 1100px) {
  .toc__groups { grid-template-columns: repeat(2, 1fr); }
  .toc__col-pair { display: contents; }   /* Wrapper kollabiert, Children werden direkt zu Grid-Items */
}
@media (max-width: 600px)  {
  .toc__groups { grid-template-columns: 1fr; }
  .toc__head   { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* =========================================================
   SLIDER — Entwicklung der Gesellschaften
   ========================================================= */
.divisions {
  background: var(--swh-blue-tint);
  position: relative;
  overflow: hidden;
}
.divisions__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
  flex-wrap: wrap;
}
.divisions__head h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
}
.divisions__head p { color: var(--color-text-soft); max-width: 38ch; margin: 0; }

.slider {
  position: relative;
}
.slider__viewport {
  overflow: hidden;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: var(--space-5);
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--space-3);
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { scroll-snap-align: start; }

@media (min-width: 720px) { .slider__track { grid-auto-columns: 46%; } }
@media (min-width: 1100px){ .slider__track { grid-auto-columns: calc((100% - var(--space-5) * 2) / 3); } }

.division-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--swh-blue-dark);
  color: var(--swh-white);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6) var(--space-5) var(--space-5);
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.4s var(--ease-out);
}
.division-card::before {
  content: "";
  position: absolute;
  inset: 0; z-index: -2;
  background: linear-gradient(135deg, var(--swh-blue) 0%, var(--swh-blue-dark) 100%);
  background-size: cover;
  background-position: center;
}
.division-card[data-bg]::before { background-image: var(--bg-image); }
.division-card::after {
  content: "";
  position: absolute;
  inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%);
}
.division-card:hover { transform: translateY(-6px); }
.division-card__tag {
  align-self: flex-start;
  margin-bottom: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: var(--swh-blue-dark);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 2rem 0.65rem 1rem;
  background: transparent;
  isolation: isolate;
  min-height: 36px;
}
.division-card__tag::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / 100% 100%;
          mask: var(--mask-arrow-fill) no-repeat center / 100% 100%;
}
.division-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 var(--space-2);
  color: var(--swh-white);
  letter-spacing: -0.01em;
}
.division-card__sub {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.82);
  margin: 0;
}
.division-card__cta {
  margin-top: var(--space-4);
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: var(--swh-yellow);
}
.division-card__cta::after {
  content: "";
  width: 14px;
  aspect-ratio: 42 / 62;
  background-color: currentColor;
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  transition: transform 0.2s var(--ease-out);
}
.division-card:hover .division-card__cta::after { transform: translateX(4px); }

.slider__controls {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
  align-items: center;
}
.slider__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--swh-blue);
  background: transparent;
  color: var(--swh-blue);
  display: grid; place-items: center;
  transition: all 0.2s var(--ease-out);
}
.slider__btn:hover {
  background: var(--swh-blue);
  color: var(--swh-white);
  transform: translateY(-2px);
}
.slider__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  background: transparent;
  color: var(--swh-blue);
}
.slider__btn svg { width: 18px; height: 18px; }
.slider__progress {
  flex: 1;
  height: 4px;
  background: rgba(0,61,107,0.15);
  border-radius: 999px;
  overflow: hidden;
  margin-left: var(--space-4);
  max-width: 240px;
}
.slider__progress-bar {
  height: 100%;
  background: var(--swh-blue);
  border-radius: 999px;
  width: 33%;
  transition: width 0.35s var(--ease-out);
}

/* =========================================================
   VALUES (Was uns treibt)
   ========================================================= */
.values__head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-7);
  align-items: center;
  margin-bottom: var(--space-8);
}
.values__head h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  text-transform: uppercase;
}
.values__head .lede {
  font-size: var(--fs-lg);
  line-height: var(--lh-loose);
  color: var(--color-text-soft);
  margin: 0;
}
.values__head .lede strong { color: var(--swh-blue-dark); font-weight: var(--fw-bold); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6) var(--space-5);
}

/* Grosse Variante: 2 Spalten mit grossen Pfeil-Markern + PNG-Icons */
.values--lg .values__grid {
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);   /* mehr Luft nach dem Intro-Kasten */
}
.values--lg .value {
  grid-template-columns: auto minmax(0, 1fr);   /* Headline darf umbrechen */
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: start;
}
.values--lg .value h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  margin-bottom: var(--space-3);
}
.values--lg .value p {
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  max-width: 52ch;
}
.values--lg .value-marker {
  width: clamp(80px, 9vw, 120px);
  aspect-ratio: 42 / 62;
}
.values--lg .value-marker img {
  width: 50%;
  height: auto;
  margin-right: 14%;
  display: block;
}
.values--lg .value--full { grid-column: 1 / -1; max-width: calc(50% - var(--space-3)); }

@media (max-width: 800px) {
  .values--lg .values__grid { grid-template-columns: 1fr; }
  .values--lg .value--full  { max-width: none; }
  /* Mobile: kleiner Pfeil nur neben der Headline, Fließtext in voller Breite
     darunter. Der Text-Wrapper wird per display:contents aufgelöst, damit
     h3 und p direkt im .value-Grid sitzen. */
  .values--lg .value > div { display: contents; }
  .values--lg .value-marker { width: clamp(52px, 13vw, 68px); }
  .values--lg .value h3 { align-self: center; margin-bottom: 0; }
  .values--lg .value p {
    grid-column: 1 / -1;
    max-width: none;
    margin-top: var(--space-2);
  }
}
.value {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}
.value h3 {
  font-size: var(--fs-lg);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--swh-blue-dark);
  margin: 0 0 var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.value p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
}

@media (max-width: 600px) { .values__head { grid-template-columns: 1fr; gap: var(--space-3); } }

/* =========================================================
   CTA / DOWNLOAD
   ========================================================= */
.cta {
  position: relative;
  background: var(--swh-blue);
  color: var(--swh-white);
  overflow: hidden;
  isolation: isolate;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
}
.cta h2 {
  color: var(--swh-white);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin: 0 0 var(--space-3);
  text-transform: uppercase;
}
.cta p { color: rgba(255,255,255,0.86); font-size: var(--fs-lg); }
.cta__ghost {
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 30vw, 460px);
  opacity: 0.12;
}

/* =========================================================
   PAGE-NAV — finale Section vor dem Footer:
   großer "Nächste Seite"-Button + dezenter Back-to-Top
   ========================================================= */
.page-nav {
  background: var(--swh-blue-tint);
  position: relative;
  overflow: hidden;
}
.page-nav__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-6);
}

/* Triple-Layout: ZURUECK | VOR — zwei GLEICH BREITE Buttons.
   NACH OBEN sitzt separat darunter (.page-nav__toprow). */
.page-nav__inner--triple {
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}
/* Beide Buttons füllen ihre Spalte (bis max-width) → immer identische Breite;
   links rückt an die Mitte, rechts an die Mitte → symmetrisch */
.page-nav__inner--triple .page-nav__prev { justify-self: end; width: 100%; }
.page-nav__inner--triple .page-nav__next { justify-self: start; width: 100%; text-align: left; }
/* "Nach oben" mittig in eigener Zeile unter den Buttons */
.page-nav__toprow {
  display: flex;
  justify-content: center;
  margin-top: clamp(1rem, 2.5vw, 2rem);
}

.page-nav__next,
.page-nav__prev {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: var(--swh-blue-dark);
  isolation: isolate;
  transition: transform 0.25s var(--ease-out);
  max-width: 640px;
  /* Pfeil (::before) hat eine feste Höhe — die Box darf nicht kleiner werden */
  min-height: clamp(84px, 12.5vw, 125px);
}
.page-nav__next {
  align-items: flex-start;
  /* rechtes Padding (Pfeilspitze) kompakter, damit der Text näher dran sitzt */
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 2.5vw, 2rem) clamp(2rem, 3.5vw, 3rem);
}
.page-nav__prev {
  align-items: flex-end;
  text-align: right;
  /* spiegelbildlich: linkes Padding (Pfeilspitze) kompakter */
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(2rem, 3.5vw, 3rem) clamp(1.25rem, 2.5vw, 2rem) clamp(2.5rem, 5vw, 4rem);
}
.page-nav__next::before,
.page-nav__prev::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  /* FESTE Höhe (entspricht der einzeiligen Optik) statt inset:0 —
     bei mehrzeiligen Titeln wächst sonst der Pfeil mit der Box */
  top: 50%;
  height: clamp(84px, 12.5vw, 125px);
  transform: translateY(-50%);
  z-index: -1;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / 100% 100%;
          mask: var(--mask-arrow-fill) no-repeat center / 100% 100%;
  transition: background-color 0.25s var(--ease-out);
}
.page-nav__prev::before {
  transform: translateY(-50%) scaleX(-1);   /* Pfeil zeigt nach links */
}
.page-nav__next:hover { transform: translateX(10px); color: var(--swh-blue-dark); }
.page-nav__next:hover::before { background-color: var(--swh-yellow-soft); }
.page-nav__prev:hover { transform: translateX(-10px); color: var(--swh-blue-dark); }
.page-nav__prev:hover::before { background-color: var(--swh-yellow-soft); }

.page-nav__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  opacity: 0.75;
}
.page-nav__title {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  /* Lange Titel dürfen umbrechen statt überzulaufen */
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.page-nav__label { overflow-wrap: break-word; }

.page-nav__top {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--swh-blue-dark);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--space-4);
  border-radius: 50%;
  transition: transform 0.25s var(--ease-out);
}
.page-nav__top-arrow {
  width: 32px;
  aspect-ratio: 42 / 62;
  background-color: var(--swh-blue);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  transform: rotate(-90deg);
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.page-nav__top:hover { transform: translateY(-4px); color: var(--swh-blue-dark); }
.page-nav__top:hover .page-nav__top-arrow {
  background-color: var(--swh-blue-dark);
  transform: rotate(-90deg) translateX(6px);
}

@media (max-width: 720px) {
  /* Page-Nav auf Mobile: gleicher Aufbau wie Desktop (2 gleich breite Buttons), nur kompakter. */
  .page-nav__inner--triple {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }
  .page-nav__next,
  .page-nav__prev {
    padding: 0.85rem 1.6rem 0.85rem 0.9rem;
    gap: 2px;
    max-width: none;
    min-height: 58px;
  }
  .page-nav__next::before,
  .page-nav__prev::before { height: 58px; }
  .page-nav__inner--triple .page-nav__prev { padding: 0.85rem 0.9rem 0.85rem 1.6rem; }
  .page-nav__label  { font-size: 0.62rem; letter-spacing: 0.1em; }
  .page-nav__title  { font-size: clamp(0.85rem, 3.4vw, 1.05rem); line-height: 1.1; }
  .page-nav__top    { padding: 0; border: none; gap: 0.25rem; align-self: center; flex-direction: column; }
  .page-nav__top-arrow { width: 18px; }
  .page-nav__top-label { font-size: 0.62rem; letter-spacing: 0.1em; }
}
.cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-end;
}
.cta__actions .btn { min-width: 240px; justify-content: center; }
@media (max-width: 800px) {
  .cta__inner { grid-template-columns: 1fr; }
  .cta__actions { align-items: stretch; }
  .cta__actions .btn { min-width: 0; }
}

/* =========================================================
   CHAPTER-INTRO — Kapitel-Übersicht 2-spaltig
   Linke Spalte: hellblauer Tint mit Headline + Bullets
   Rechte Spalte: Bild-Komposition mit Plan + Foto + Orange-Tag
   ========================================================= */
.chapter-intro {
  background: var(--swh-white);
  padding-top: var(--header-h);
  overflow: hidden;            /* clippt Plan an Section-Grenzen */
}
.chapter-intro__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100dvh - var(--header-h));
  isolation: isolate;
}

/* Plan als full-width Hintergrund hinter beiden Spalten — die linke Pfeil-Mask
   ueberdeckt ihn dann auf der linken Haelfte. */
.chapter-intro__bg-plan {
  position: absolute;
  left: 35vw !important;
  inset: 0;
  width: calc(100% - 35vw);
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.chapter-intro__left,
.chapter-intro__right {
  position: relative;
  z-index: 1;
}

/* === LINKE SPALTE ===
   Form aus themen-header-bg-form.svg als CSS-Mask — Data-URI aus tokens.css,
   damit's auch bei file:// laedt (kein CORS-Block). */
.chapter-intro__left {
  background: var(--swh-blue-tint);
  border-radius: 0;
  -webkit-mask: var(--mask-themen-header-bg) no-repeat right;
          mask: var(--mask-themen-header-bg) no-repeat right;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(5rem, 10vw, 8rem);  /* extra bottom: Inhalt nicht in den Pfeil-Einschnitt */
  display: flex;
  align-items: center;
  margin: 50px 0 50px auto;
  aspect-ratio: 3 / 4;
  max-height: calc(100vh - 174px);
  min-height: 980px;
}
.chapter-intro__left-inner {
  width: 100%;
  max-width: 520px;            /* kompakter, sitzt naeher zur Mitte */
  padding-left: 0px;
  padding-right: clamp(0.5rem, 1.5vw, 1.25rem);   /* rechts bewusst knapper, gegen die Mitte */
}

.chapter-intro__crumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
  margin-bottom: clamp(3.5rem, 7vw, 6rem);  /* mehr Luft zur Headline, Symbol braucht Platz */
}
.chapter-intro__crumb a { color: var(--swh-blue); text-decoration: none; }
.chapter-intro__crumb a:hover { color: var(--swh-blue-dark); text-decoration: underline; }
.chapter-intro__crumb .is-current { color: var(--swh-blue-dark); font-weight: var(--fw-semi); }

.chapter-intro__head {
  position: relative;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.chapter-intro__title {
  position: relative;
  width: fit-content;             /* Headline nur so breit wie das Wort — Symbol kann direkt anschliessen */
}
/* Symbol direkt rechts neben dem Wort "ENERGIE" via ::after */
.chapter-intro__title::after {
  content: '';
  position: absolute;
  left: calc(100% - 80px);
  top: 48%;
  transform: translateY(-50%);
  width: 160px;
  aspect-ratio: 113.06 / 167.76;
  background: url('../img/symbol_energie-der-zukunft.svg') no-repeat center / contain;
  pointer-events: none;
}
.chapter-intro__title {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--swh-blue-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.chapter-intro__subtitle {
  margin: var(--space-2) 0 0;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--swh-blue-dark);
  text-transform: none;
}
.chapter-intro__subtitle em { font-style: italic; }

/* Pfeil-Outline-Deko: 4er-Cluster, kompakt
   - Oberes Paar: linker zeigt nach rechts, rechter zeigt nach links (Spitzen mittig oben)
   - Unteres Paar: identisch gespiegelt unten
   - Pfeil-Hoehen ueberlappen in der Mitte zu einem hexagonalen Cluster */
.chapter-intro__deco {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  width: clamp(220px, 26vw, 320px);
  aspect-ratio: 1.15 / 1;
  pointer-events: none;
  z-index: 0;
}
.chapter-intro__deco-arrow {
  position: absolute;
  width: 50%;                    /* Pfeile fuellen halbe Cluster-Breite */
  aspect-ratio: 42 / 62;
  background-color: var(--swh-blue-dark);
  -webkit-mask: var(--mask-arrow-outline) no-repeat center / contain;
          mask: var(--mask-arrow-outline) no-repeat center / contain;
  opacity: 0.55;
}
/* Oberes Paar: Spitzen treffen sich exakt in der Mitte oben */
.chapter-intro__deco-arrow--tl { top: -8%;     left: 0;   }
.chapter-intro__deco-arrow--tr { top: -8%;     right: 0;  transform: scaleX(-1); }
/* Unteres Paar */
.chapter-intro__deco-arrow--bl { bottom: -8%;  left: 0;   }
.chapter-intro__deco-arrow--br { bottom: -8%;  right: 0;  transform: scaleX(-1); }

/* Headline ueber den Deko-Pfeilen */
.chapter-intro__head { z-index: 1; }
.chapter-intro__title,
.chapter-intro__subtitle { position: relative; z-index: 2; }

/* Bullets */
.chapter-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.chapter-bullets li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--swh-blue-dark);
}
.chapter-bullets__arrow {
  display: block;
  width: 14px;
  aspect-ratio: 42 / 62;
  background-color: var(--swh-blue-dark);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  margin-top: 0.1em;
  flex-shrink: 0;
}
.chapter-bullets strong {
  font-weight: var(--fw-bold);
  color: var(--swh-blue-dark);
}

/* CTA unten in der linken Box — fuehrt ins Kapitel rein */
.chapter-intro__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: clamp(2rem, 4vw, 3rem);
  text-decoration: none;
  color: var(--swh-blue-dark);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: gap 0.25s var(--ease-out);
}
.chapter-intro__cta:hover { gap: var(--space-4); }
.chapter-intro__cta-arrow {
  display: block;
  width: 36px;
  aspect-ratio: 42 / 62;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  flex-shrink: 0;
}

/* === RECHTE SPALTE — Foto/Tag direkt an die linke Pfeil-Form anschliessend === */
.chapter-intro__right {
  position: relative;
  background: transparent;     /* Plan kommt jetzt aus dem Section-Hintergrund durch */
}
.chapter-visual {
  position: absolute;
  inset: 0;
}

/* Themen-Header-Foto — Pfeilform ist bereits im WebP enthalten,
   daher kein clip-path noetig. */
.chapter-visual__photo {
  position: absolute;
  top: 14%;
  left: 0%;
  width: 30%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
  z-index: 1;
}

/* Orange-Tag oben rechts in SWH-Pfeil-Form, Spitze zeigt nach links */
.chapter-visual__tag {
  position: absolute;
  top: 8%;
  right: clamp(2rem, 6vw, 5rem);
  width: clamp(240px, 26vw, 340px);
  padding: clamp(1.1rem, 1.6vw, 1.5rem) clamp(1.4rem, 2.2vw, 2rem) clamp(1.1rem, 1.6vw, 1.5rem) clamp(2.6rem, 4.5vw, 3.6rem);
  color: var(--swh-white);
  background: transparent;
  isolation: isolate;
  z-index: 2;
  text-align: left;
}
.chapter-visual__tag::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--swh-orange);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / 100% 100%;
          mask: var(--mask-arrow-fill) no-repeat center / 100% 100%;
  transform: scaleX(-1);   /* Pfeil zeigt nach links */
}
.chapter-visual__tag-eyebrow {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--swh-black);
  margin-bottom: 4px;
}
.chapter-visual__tag-title {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.15;
  color: var(--swh-black);
}

/* Caption "Flusswärmepumpe" auf dem Plan-Block */
.chapter-visual__caption {
  position: absolute;
  top: 60%;
  left: 22%;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  color: var(--swh-blue-dark);
  background: rgba(255,255,255,0.92);
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* "NECKAR"-Wasserschriftzug unten (180° gedreht — wie im PDF) */
.chapter-visual__neckar {
  position: absolute;
  bottom: 10%;
  right: clamp(4rem, 10vw, 9rem);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: 0.18em;
  color: var(--swh-blue);
  opacity: 0.55;
  transform: rotate(180deg);
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Gelber Pfeil unten rechts als Kapitel-CTA */
.chapter-visual__yellow-arrow {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 3rem);
  right: clamp(1.5rem, 3vw, 3rem);
  width: clamp(80px, 9vw, 130px);
  aspect-ratio: 42 / 62;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  z-index: 3;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.2s var(--ease-out);
}
.chapter-visual__yellow-arrow:hover {
  transform: translateX(4px);
  background-color: var(--swh-yellow-soft);
}

/* =========================================================
   RESPONSIVE — Chapter-Intro
   ========================================================= */

/* Laptop / Tablet quer (≤ 1200 px) — 2 Spalten beibehalten, etwas kompakter */
@media (max-width: 1200px) {
  .chapter-intro__left {
    min-height: 680px;
    aspect-ratio: auto;
    margin: 24px 0 24px auto;
  }
  .chapter-intro__title::after {
    width: 120px;
    left: calc(100% - 56px);
  }
  .chapter-intro__bg-plan {
    left: 30vw !important;
    width: calc(100% - 30vw);
  }
  .chapter-visual__photo { width: 38%; }
  .chapter-visual__tag { right: clamp(1rem, 3vw, 2.5rem); width: clamp(220px, 28vw, 300px); }
  .chapter-visual__caption { top: 58%; left: 18%; }
  .chapter-visual__neckar { right: clamp(2rem, 6vw, 5rem); font-size: clamp(1.2rem, 2.4vw, 2rem); }
  .chapter-visual__yellow-arrow { width: clamp(70px, 8vw, 110px); }
}

/* Tablet portrait / Mobile (≤ 900 px) — 1 Spalte, Pfeil-Mask aus, Plan unter rechtem Block */
@media (max-width: 900px) {
  .chapter-intro__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  /* Plan zeigt nur die untere Hälfte (= Bereich unter der rechten Box).
     left:0 !important uebersteuert das Desktop-!important von 35vw. */
  .chapter-intro__bg-plan {
    inset: 50% 0 0 0;
    left: 0 !important;
    width: auto;
    height: auto;
  }
  .chapter-intro__left {
    -webkit-mask: none;
            mask: none;
    aspect-ratio: auto;
    min-height: auto;
    max-height: none;
    margin: 0;
    border-radius: 0;
    padding-block: clamp(2.5rem, 7vw, 4.5rem);
  }
  .chapter-intro__left-inner {
    margin-inline: auto;
    max-width: 640px;
    padding-inline: clamp(1.5rem, 4vw, 3rem);
  }
  .chapter-intro__right {
    aspect-ratio: 4 / 3;
    min-height: 340px;
  }
  /* Headline darf full-width werden, Symbol bleibt rechts neben dem Wort */
  .chapter-intro__title {
    padding-right: clamp(70px, 14vw, 120px);
  }
  .chapter-intro__title::after {
    width: clamp(70px, 12vw, 110px);
    left: auto;
    right: 0;
    top: 50%;
  }
  .chapter-visual__photo {
    width: clamp(180px, 38%, 320px);
    top: 10%;
  }
  .chapter-visual__tag {
    width: clamp(220px, 50vw, 320px);
    top: 6%;
    right: clamp(0.5rem, 3vw, 1.5rem);
  }
  .chapter-visual__caption {
    top: 55%;
    left: clamp(2rem, 8vw, 5rem);
    font-size: clamp(0.75rem, 1.8vw, 0.95rem);
  }
  .chapter-visual__neckar {
    bottom: clamp(1rem, 3vw, 2rem);
    right: clamp(2rem, 8vw, 5rem);
    font-size: clamp(1.1rem, 4vw, 1.8rem);
  }
  .chapter-visual__yellow-arrow {
    width: clamp(56px, 10vw, 90px);
    bottom: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
  }
}

/* Kleines Mobile (≤ 600 px) — Symbol unter die Headline, Tag full-bleed */
@media (max-width: 600px) {
  .chapter-intro__title {
    width: fit-content;
    padding-right: 0;
  }
  .chapter-intro__title::after {
    /* Symbol als Block unter dem Text, statt rechts daneben */
    position: relative;
    display: block;
    width: clamp(64px, 22vw, 96px);
    left: 0;
    right: auto;
    top: auto;
    transform: none;
    margin-top: var(--space-3);
  }
  .chapter-intro__head { margin-bottom: clamp(2rem, 5vw, 3rem); }
  .chapter-visual__photo { width: clamp(150px, 48%, 240px); }
  .chapter-visual__tag {
    width: clamp(200px, 80vw, 300px);
    right: 0;
    padding-left: clamp(2.2rem, 9vw, 3rem);
  }
  .chapter-visual__caption { font-size: 0.72rem; padding: 3px 8px; }
  .chapter-visual__neckar { font-size: 1rem; opacity: 0.45; }
  .chapter-visual__yellow-arrow { width: 56px; }
}

/* =========================================================
   GROUP OVERVIEW — Holding-Block + Slider mit Töchtern (Wer wir sind)
   Weisser Hintergrund (klare Trennung vom hellblauen Hero)
   ========================================================= */
.group-overview { background: var(--swh-white); }

/* Pending-Zahl-Markierung */
.num-pending {
  display: inline-block;
  color: var(--swh-magenta);
  font-weight: var(--fw-semi);
}

/* === Holding-Block oben === */
.holding-block {
  max-width: 880px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
  display: grid;
  gap: var(--space-5);
  justify-items: center;
}
.holding-block__logo {
  width: clamp(220px, 26vw, 360px);
  height: clamp(64px, 8vw, 110px);
  background-image: url('../img/logo.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.holding-block__quote {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: var(--lh-loose);
  color: var(--swh-blue-dark);
  font-weight: var(--fw-medium);
  max-width: 56ch;
}
.holding-block__quote em { font-style: italic; }
.holding-block__operativ {
  margin: 0;
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--color-text-soft);
  max-width: 70ch;
  text-align: left;
}
.holding-block__operativ strong { color: var(--swh-blue-dark); font-weight: var(--fw-bold); }

/* Pfeil als Connector zwischen Holding und Slider (vertikal) */
.group-overview__connector-arrow {
  display: block;
  width: clamp(40px, 4.5vw, 64px);
  aspect-ratio: 42 / 62;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  margin: var(--space-3) auto clamp(1.5rem, 3vw, 2.5rem);
  transform: rotate(90deg);    /* nach unten zeigend */
}

/* Sektion-Headline ueber dem Slider */
.group-overview__head {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.group-overview__head h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(2rem, 4vw, 3rem);
}
.group-overview__head p {
  margin: 0 auto;
  color: var(--color-text-soft);
  max-width: 50ch;
}

/* === Slider-Cards (Subsidiary) === */
.group-slider .slider__track {
  grid-auto-columns: 86%;
}
@media (min-width: 720px) { .group-slider .slider__track { grid-auto-columns: 48%; } }
@media (min-width: 1100px){ .group-slider .slider__track { grid-auto-columns: calc((100% - var(--space-5) * 2) / 3); } }

.subsidiary-card {
  background: var(--swh-blue-tint);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  scroll-snap-align: start;
  position: relative;
  isolation: isolate;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.subsidiary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.subsidiary-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid rgba(0, 61, 107, 0.12);
}
.subsidiary-card__logo {
  flex: 1;
  height: clamp(48px, 5vw, 68px);
  background-image: var(--logo);
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
  min-width: 0;
}
.subsidiary-card__arrow {
  flex-shrink: 0;
  width: clamp(28px, 3vw, 40px);
  aspect-ratio: 42 / 62;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  transition: transform 0.2s var(--ease-out);
}
.subsidiary-card:hover .subsidiary-card__arrow {
  transform: translateX(6px);
}
.subsidiary-card p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
  color: var(--color-text);
}
.subsidiary-card p strong { color: var(--swh-blue-dark); font-weight: var(--fw-bold); }
.subsidiary-card p em { font-style: italic; }
/* Tochter-Namen in der jeweiligen Logo-Signalfarbe (analog Print) */
.subsidiary-card--netze   p strong { color: #A6093D; }  /* netze – bordeaux */
.subsidiary-card--energie p strong { color: var(--swh-orange); } /* energie – orange */
.subsidiary-card--umwelt  p strong { color: #A2BC0C; }  /* umwelt – lime */
.subsidiary-card--baeder  p strong { color: #009B8E; }  /* bäder – petrol/teal */
.subsidiary-card--garagen p strong { color: #3C4043; }  /* garagen – dunkelgrau */
.subsidiary-card--hsb     p strong { color: #0095DA; }  /* HSB – hellblau */

/* === Partner-Card (Neckargemuend) === */
.partner-card {
  position: relative;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  max-width: 880px;
  background: var(--swh-blue-tint);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: center;
  isolation: isolate;
}
.partner-card__arrow {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  width: clamp(32px, 3.5vw, 48px);
  aspect-ratio: 42 / 62;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
}
.partner-card__logo {
  width: clamp(180px, 18vw, 240px);
  height: clamp(56px, 6vw, 80px);
  background-image: url('../img/sw_neckargemuend.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.partner-card__body { min-width: 0; }
.partner-card__label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--swh-magenta);
  margin-bottom: var(--space-2);
}
.partner-card p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
}
.partner-card p strong { color: var(--swh-blue-dark); font-weight: var(--fw-bold); }
.partner-card p em { font-style: italic; }

@media (max-width: 700px) {
  .partner-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .partner-card__body { text-align: left; }
}

/* =========================================================
   FOOTER — eine Zeile mit Links + Social-Icons
   ========================================================= */
.site-footer {
  background: var(--swh-blue-dark);
  color: rgba(255,255,255,0.85);
  padding-block: var(--space-5);
  font-size: var(--fs-sm);
}
.site-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.site-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
  font-weight: var(--fw-medium);
}
.site-footer__links a {
  color: var(--swh-white);
  text-decoration: none;
  transition: color 0.18s var(--ease-out);
}
.site-footer__links a:hover { color: var(--swh-yellow); }
.site-footer__sep {
  color: rgba(255,255,255,0.35);
  user-select: none;
}
.site-footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.site-footer__social-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--swh-white);
  color: var(--swh-blue-dark);
  text-decoration: none;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.site-footer__social-btn svg { width: 22px; height: 22px; }
.site-footer__social-btn:hover {
  background: var(--swh-yellow);
  color: var(--swh-blue-dark);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .site-footer__row { justify-content: center; text-align: center; }
  .site-footer__links { justify-content: center; }
  .site-footer__sep { display: none; }
}

/* =========================================================
   THEMENÜBERSICHT — ALT-HERO (Pfeil-Hero, dunkler Vollbild-Header)
   Verwendet auf: energie-der-zukunft.html (sowie zukünftigen
   Themen-Übersichten Unternehmen / Services / Nachhaltigkeit).
   Header läuft transparent (is-on-hero) — exakt wie auf index.html.
   ========================================================= */
.alt-page { background: var(--swh-blue-dark); }
.alt-page, .alt-page body { height: 100%; }

/* Header bleibt auf alt-page solide weiß — auch wenn JS is-on-hero togglet
   (das Standard-is-on-hero-Pattern ist hier nicht gewünscht, der User
   möchte die gleiche Optik wie auf den Sub-Kapitel-Seiten). */
.alt-page .site-header,
.alt-page .site-header.is-on-hero {
  background: var(--swh-white);
  border-bottom: 1px solid var(--swh-gray-200);
}
.alt-page .site-header.is-on-hero .nav__link,
.alt-page .site-header.is-on-hero .nav__year { color: var(--swh-blue-dark); }
.alt-page .site-header.is-on-hero .nav-toggle__bar { background: var(--swh-blue-dark); }
.alt-page .site-header.is-on-hero .brand img { filter: none; }

.alt-hero {
  position: relative;
  min-height: 100dvh;
  padding-top: var(--header-h);
  background: var(--swh-blue-dark);
  color: var(--swh-white);
  overflow: hidden;
  isolation: isolate;
}

/* Hintergrundbild je Zwischenkapitel (Default: Plan-Watermark). Pro Hauptkapitel
   via --alt-hero-bg / --alt-hero-bg-opacity überschreibbar (siehe kapitel-*). */
.alt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--alt-hero-bg, url('../img/Plan.jpg')) center / cover no-repeat;
  opacity: var(--alt-hero-bg-opacity, 0.08);
  mix-blend-mode: lighten;
  pointer-events: none;
}

/* SWH-Pfeil rechts unten, gefüllt mit dem Themen-Foto (DJI_0114.webp).
   Kleiner und weiter unten positioniert, mit dem Symbol-Cluster oben rechts daneben. */
.alt-hero__photo-arrow {
  position: absolute;
  top: calc(var(--header-h) + clamp(11rem, 22vw, 18rem));
  bottom: clamp(2rem, 4vw, 4rem);
  right: clamp(3rem, 7vw, 7rem);
  width: 30%;
  /* HINWEIS: Bei per-page-Override via --alt-hero-photo den Pfad RELATIV ZU DIESER CSS-DATEI
     schreiben (also '../img/foo.webp'), nicht relativ zum HTML — Browser resolven url()
     in Custom Properties relativ zum Stylesheet, in dem var() ausgewertet wird. */
  background-image: var(--alt-hero-photo, url('../img/DJI_0114.webp'));
  background-size: cover;
  background-position: center;
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / 100% 100%;
          mask: var(--mask-arrow-fill) no-repeat center / 100% 100%;
  z-index: 1;
  animation: alt-arrow-in 1.1s var(--ease-out) both;
}
@keyframes alt-arrow-in {
  from { transform: translateX(8%); opacity: 0; }
  to   { transform: translateX(0);  opacity: 1; }
}

/* Sanfter Verlauf vom dunklen Solid links in die Foto-Pfeil-Form rechts,
   damit Headline lesbar bleibt, wenn der Pfeil über sie schneidet */
.alt-hero__photo-arrow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(0, 61, 107, 0.55) 0%,
    rgba(0, 61, 107, 0.20) 22%,
    rgba(0, 61, 107, 0)    45%);
  pointer-events: none;
}

/* Gelbe Outline-Symbole rechts ÜBER dem Foto-Pfeil als CI-Akzent.
   Animation: rein vertikales Floating (kein Rotate). */
.alt-hero__symbol {
  position: absolute;
  z-index: 2;
  top: clamp(6rem, 14vh, 11rem);
  right: clamp(2%, 5vw, 7%);
  width: clamp(240px, 30vw, 420px);
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  animation: alt-symbol-float 9s var(--ease-in-out) infinite;
}
.alt-hero__symbol path {
  fill: none;
  stroke: var(--swh-yellow);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
@keyframes alt-symbol-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}


/* Inhalts-Container links */
.alt-hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) var(--gutter) clamp(3rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: calc(100dvh - var(--header-h));
}

.alt-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* Breadcrumb */
.alt-hero__crumb {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.01em;
}
.alt-hero__crumb a { color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.2s var(--ease-out); }
.alt-hero__crumb a:hover { color: var(--swh-yellow); }
.alt-hero__crumb .is-current { color: var(--swh-white); font-weight: var(--fw-semi); }

/* Headline + Subtitle */
.alt-hero__head {
  display: flex;
  flex-direction: column;
}
.alt-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--swh-white);
  text-transform: uppercase;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.alt-hero__subtitle {
  margin: clamp(0.4rem, 1vw, 0.75rem) 0 0;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-style: italic;
  font-size: 1.25rem;   /* 20px — Teaser auf Zwischenkapiteln (Feedback) */
  line-height: 1.5;
  color: var(--swh-white);
  text-transform: none;
  opacity: 0.94;
}

/* Unterkapitel-Liste — Items als ganze klickbare Links, kompakt.
   Jeder Eintrag fuehrt direkt zur jeweiligen Subseite. */
.alt-hero__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-width: 540px;
}
.alt-hero__list-item {
  position: relative;
  margin: 0;
  padding: 0;
}
.alt-hero__list-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(0.7rem, 1.4vw, 1rem);
  align-items: start;
  /* rechts 8px Reserve: der Hover schiebt den Text nach rechts, ohne dass
     die Textspalte schmaler wird (sonst Zeilenumbruch beim Hovern) */
  padding: clamp(0.45rem, 0.95vw, 0.65rem) calc(clamp(0.3rem, 0.6vw, 0.5rem) + 8px) clamp(0.45rem, 0.95vw, 0.65rem) clamp(0.3rem, 0.6vw, 0.5rem);
  text-decoration: none;
  color: var(--swh-white);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  transition: background 0.22s var(--ease-out), padding-left 0.22s var(--ease-out), padding-right 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}
.alt-hero__list-item:last-child .alt-hero__list-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.alt-hero__list-link:hover,
.alt-hero__list-link:focus-visible {
  background: rgba(255, 213, 0, 0.10);
  padding-left: calc(clamp(0.3rem, 0.6vw, 0.5rem) + 8px);
  padding-right: clamp(0.3rem, 0.6vw, 0.5rem);
  outline: none;
}
.alt-hero__list-link:hover .alt-hero__list-title,
.alt-hero__list-link:focus-visible .alt-hero__list-title { color: var(--swh-yellow); }
.alt-hero__list-link:hover .alt-hero__list-marker,
.alt-hero__list-link:focus-visible .alt-hero__list-marker { background-color: var(--swh-yellow); }
.alt-hero__list-link:hover .alt-hero__list-arrow,
.alt-hero__list-link:focus-visible .alt-hero__list-arrow {
  opacity: 1;
  transform: translateX(0);
}

.alt-hero__list-marker {
  display: block;
  width: clamp(13px, 1.1vw, 16px);
  aspect-ratio: 42 / 62;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  margin-top: 0.35em;
  flex-shrink: 0;
  transition: background-color 0.22s var(--ease-out);
}
.alt-hero__list-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.alt-hero__list-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(0.95rem, 1.18vw, 1.08rem);
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--swh-white);
  line-height: 1.15;
  transition: color 0.22s var(--ease-out);
}
.alt-hero__list-text {
  font-size: var(--fs-xs);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}
.alt-hero__list-arrow {
  display: block;
  width: 11px;
  aspect-ratio: 42 / 62;
  background-color: var(--swh-yellow);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  margin-top: 0.5em;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

/* 2-Spalten-Variante der Bullet-Liste — für Kapitel mit > 4 Einträgen
   (Unternehmen 7, Nachhaltigkeit 6). Greift mit dem :has-Selektor unten
   auch direkt auf die linke Spalte (mehr Platz). */
.alt-hero__list--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(1rem, 2.5vw, 2rem);
  max-width: none;
}
.alt-hero:has(.alt-hero__list--two-col) .alt-hero__inner {
  grid-template-columns: minmax(0, 760px) 1fr;
}

/* Hero-Nav am Fuss des Content-Blocks: kompakt-horizontal.
   Links: dezenter "Zur Übersicht"-Text-Link. Rechts: kompakter
   gelber Pill-Button mit generischem Label (kein Subseiten-Titel). */
.alt-hero__nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.alt-hero__nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 0.3rem 0;
  transition: color 0.2s var(--ease-out), gap 0.2s var(--ease-out);
}
.alt-hero__nav-back:hover { color: var(--swh-yellow); gap: 0.6rem; }
.alt-hero__nav-back::before {
  content: "‹";
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
}
/* Kompakter Weiter-Button als gelber Pill — generischer Text,
   kein Subseiten-Titel. */
.alt-hero__nav-next {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem 0.7rem 1.5rem;
  background: var(--swh-yellow);
  color: var(--swh-blue-dark);
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.22s var(--ease-out), gap 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.alt-hero__nav-next:hover {
  background: var(--swh-yellow-soft);
  gap: 0.85rem;
  transform: translateX(2px);
}
.alt-hero__nav-next::after {
  content: "";
  display: inline-block;
  width: 13px;
  aspect-ratio: 42 / 62;
  background-color: var(--swh-blue-dark);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  transition: transform 0.22s var(--ease-out);
}
.alt-hero__nav-next:hover::after { transform: translateX(2px); }

@media (max-width: 1200px) {
  .alt-hero__symbol { width: clamp(190px, 25vw, 320px); right: 4%; }
  .alt-hero:has(.alt-hero__list--two-col) .alt-hero__inner {
    grid-template-columns: minmax(0, 600px) 1fr;
  }
}

@media (max-width: 900px) {
  .alt-hero { min-height: auto; }
  .alt-hero__inner,
  .alt-hero:has(.alt-hero__list--two-col) .alt-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    /* oben kompakt (Mobile), unten unverändert */
    padding-block: clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 8vw, 5.5rem);
  }
  /* Foto-Pfeil und gelbes Symbol auf Mobile/Tablet ausblenden — Content allein im Fokus */
  .alt-hero__photo-arrow,
  .alt-hero__symbol { display: none; }
  .alt-hero__list { max-width: none; }
  .alt-hero__list--two-col { grid-template-columns: 1fr; }
  .alt-hero__nav { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .alt-hero__title { font-size: clamp(2.3rem, 11vw, 3.6rem); }
  .alt-hero__nav { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .alt-hero__nav-next { width: 100%; justify-content: center; }
}

/* =========================================================
   ARTICLE — Narrative Subseiten-Layout
   Single-column Lesefluss + 2-Spalten-Rows + Tinted-Sections
   + Figure-Cards mit integrierter Magenta-Caption.

   Chapter-Color steuerbar pro Page via Body-Klasse:
   z.B. <body class="chapter-energie">  → --chapter-color: orange
   Default-Werte unten; Chapter-spezifische unten am Block.
   ========================================================= */
.article {
  --chapter-color: var(--swh-blue);          /* Default */
  --chapter-tint:  #DFF2FD;
  --chapter-tint-strong: #BEDCF0;

  max-width: 1000px;                /* Kapitelinhalt komprimierter als Header */
  margin: 0 auto;
  padding-inline: var(--gutter);
  /* Top-Padding klein halten: das umschließende .section hat bereits padding-block.
     Bottom etwas mehr, damit der Übergang zur Page-Nav weich bleibt. */
  padding-block: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--color-text);   /* Fließtext schwarz (statt Blau) */
  position: relative;
  isolation: isolate;         /* eigener Stacking-Context für die Deko-Pfeile */
}

/* === Dezente Deko-Pfeile pro Kapitel (automatisch über .article__bg-arrows,
   hinter dem Text, in Kapitelfarbe — „vereinzelt", kein Muster) === */
/* Automatische Deko-Pfeile DEAKTIVIERT — kollidierten je nach Seite mit Inhalt.
   Deko wird jetzt MANUELL pro Stelle über .article__deco gesetzt (im Textfluss,
   zwischen Abschnitten → kann nie über Text/Kasten/Tabelle liegen). */
.article__bg-arrows { display: none; }

/* === Manueller Deko-Pfeil-Trenner (1 oder 3 Pfeile), gezielt zwischen Abschnitte ===
   Ausrichtung: links (Standard), --right, --center. Stil: gefüllt (Standard), --outline.
   Farbe = Kapitelfarbe. */
.article__deco {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1vw, 0.85rem);
  margin: clamp(0.75rem, 2.5vw, 2rem) 0;
}
.article__deco--right  { justify-content: flex-end; }
.article__deco--center { justify-content: center; }
.article__deco span {
  flex: 0 0 auto;
  width: clamp(28px, 3.2vw, 46px);
  aspect-ratio: 42 / 62;
  background-color: var(--chapter-color);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
}
.article__deco--outline span {
  -webkit-mask-image: var(--mask-arrow-outline);
          mask-image: var(--mask-arrow-outline);
}
.article__deco--flip span { transform: scaleX(-1); }   /* Spitze nach links */
.article__deco--lg span { width: clamp(42px, 5.5vw, 76px); }   /* größere Chevrons */

/* === Sanftes Mitschwingen beim Scrollen (scroll-driven, GPU, kein JS) ===
   Nutzt `translate` (unabhängig vom transform/scaleX → Pfeilrichtung bleibt). */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .article__deco-edge span {
      animation: deco-edge-parallax linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
      will-change: translate;
    }
    @keyframes deco-edge-parallax {
      from { translate: 0 80px; }
      to   { translate: 0 -80px; }
    }
    .article__deco {
      animation: deco-chev-parallax linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
      will-change: translate;
    }
    @keyframes deco-chev-parallax {
      from { translate: -28px 0; }
      to   { translate: 28px 0; }
    }
  }
}

/* === Großer Rand-Deko-Pfeil (am Fensterrand angeschnitten), manuell pro Stelle ===
   .article__deco-edge--right / --left, optional --outline. Liegt im Fluss zwischen
   Abschnitten, nimmt keine Höhe weg (height:0), ragt in den Rand und wird dort
   abgeschnitten. */
.section:has(> .article) { overflow-x: clip; }   /* kein horizontales Scrollen durch Randpfeile */
/* Section, die einen Rand-Pfeil enthält, wird Positionierungs-Kontext. */
.article__section:has(> .article__deco-edge),
.article__subsection:has(> .article__deco-edge) { position: relative; isolation: isolate; }
.article__deco-edge {
  position: absolute;            /* KOMPLETT aus dem Fluss → erzeugt NIE Abstand HL↔Text */
  top: clamp(7rem, 15vw, 13rem);   /* deutlich tiefer im Textkörper, nicht im Header */
  left: 0; right: 0;
  height: 0;
  z-index: -1;                  /* hinter dem Text */
  pointer-events: none;
}
.article__deco-edge span {
  position: absolute;
  top: 0;
  width: clamp(150px, 20vw, 300px);
  aspect-ratio: 42 / 62;
  /* neue Flächen-Palette statt transparenter Akzentfarbe */
  background-color: var(--chapter-tint-strong);
  opacity: 1;
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  transform: scaleX(-1);   /* Default: Spitze nach links (in die Seite), Oberkante = top-Wert */
}
.article__deco-edge--right span { right: calc(50% - 50vw - 40px); }                       /* rechts → Spitze nach links/innen */
.article__deco-edge--left  span { left:  calc(50% - 50vw - 40px); transform: none; }      /* links → Spitze nach rechts/innen */
.article__deco-edge--outline span {
  -webkit-mask-image: var(--mask-arrow-outline);
          mask-image: var(--mask-arrow-outline);
}
@media (max-width: 900px) { .article__deco-edge { display: none; } }

/* Wenn die .section direkt nur einen .article enthält, das Section-Padding
   einheitlicher und etwas kompakter machen — vor allem oben weniger Sprung
   nach dem Page-Hero. */
.section:has(> .article) {
  padding-block: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 720px) {
  .section:has(> .article) { padding-block: clamp(2rem, 7vw, 3rem); }
}

.article p {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.6;
  max-width: none;   /* überschreibt base.css p { max-width: 65ch } */
}
.article em, .article i { font-style: italic; }

/* Lange deutsche Komposita (z.B. "Bürgerfinanzierungsprodukt") dürfen
   bei Bedarf trennen. hyphens: auto benötigt lang="de" auf <html> (gesetzt). */
.article,
.article p,
.article h1, .article h2, .article h3, .article h4,
.article__intro,
.article__tag,
.article__caption,
.article__section-title,
.article__subsection-title {
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* === Intro-Box — dezent gerahmter Einstiegs-Text === */
.article__intro {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
  background: var(--chapter-tint);
  border-radius: var(--radius-sm);
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.55;
}
.article__intro p {
  font-size: inherit;
  line-height: inherit;
  max-width: none;
}
.article__intro p + p { margin-top: var(--space-2); }
/* Umrandete Info-Box (weißer Grund + Kapitelfarben-Rahmen), z. B. „Unsere Bäderlandschaft". */
.article__intro--boxed { background: var(--swh-white); border: 2px solid var(--chapter-color); }
.article__intro--boxed .article__section-title { margin-top: 0; }

/* === Section / Subsection === */
.article__section,
.article__subsection {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;     /* zuverlässiger Anker für Deko-Rand-Pfeile (kein :has-Risiko) */
  isolation: isolate;     /* eigener Stacking-Context → Pfeil (z-index:-1) liegt über Tönung, hinter Text */
}

/* Tinted Section — FULL-BLEED über die ganze Viewport-Breite.
   Wird aus dem Article-Container heraus-gebrochen, padding für Inhalt
   bleibt zentriert. Inhalt selbst auf article-Breite begrenzt. */
.article__section--tinted {
  position: relative;
  margin-inline: calc(-50vw + 50%);
  /* Padding so berechnet, dass der Content INNERHALB der Tinted Section
     exakt mit dem Article-Content (max 1000px, padding gutter) aligned ist. */
  padding-inline: max(var(--gutter), calc((100vw - 1000px) / 2 + var(--gutter)));
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--chapter-tint);
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
}

/* Section-Header — italic display, akzentuiert */
.article__section-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-style: italic;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1.1;
  text-transform: none;
  color: var(--chapter-color);   /* h2 in Kapitelfarbe — wie h3 (netz=rot, energie=orange …) */
  letter-spacing: -0.005em;
}

/* Subsection-Header — small-caps eyebrow Stil */
.article__subsection-title {
  margin: var(--space-7) 0 var(--space-1);   /* großzügiger & einheitlicher Abstand oben (Print-Look) */
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chapter-color);
  line-height: 1.3;   /* zweizeilige Zwischenüberschriften nicht zu eng (Feedback A2) */
}

/* === 2-Spalten Row für Bild + Text nebeneinander === */
.article__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);          /* mehr Luft zwischen Bild und Text */
  align-items: stretch;                   /* Spalten gleich hoch → Bild füllt Texthöhe, kein Weißraum */
  margin-block: var(--space-3);
}
/* Unteren Row-Margin gezielt weg (z. B. Stromprodukte-Spalten direkt vor Folge-Absätzen —
   sonst doppelter Abstand aus Row-Margin + Section-flex-gap). */
.article__row.article__row--flush-bottom { margin-bottom: 0; }
/* Standard: Text etwas breiter. media-wider: Bild deutlich breiter (zieht nach rechts). */
.article__row--text-wider { grid-template-columns: 1.1fr 1fr; }
.article__row--media-wider { grid-template-columns: 1fr 1.4fr; }
/* Bild LINKS gespiegelt: Bild in der schmaleren Spalte, Text bleibt breiter */
.article__row--img-left { grid-template-columns: 1fr 1.1fr; }

/* Fließtext/Listen in 2 oder 3 ausgewogenen Spalten (Zeitungs-Fluss).
   Reihenfolge bleibt erhalten, Spaltenhöhe wird balanciert. */
.article__cols2 { column-count: 2; column-gap: clamp(2rem, 4vw, 3.5rem); }
.article__cols3 { column-count: 3; column-gap: clamp(1.5rem, 3vw, 2.75rem); }
.article__cols2 p, .article__cols3 p { margin: 0 0 var(--space-3); max-width: none; break-inside: avoid; }
.article__cols2 > p:last-child, .article__cols3 > p:last-child { margin-bottom: 0; }
.article__cols2 ul, .article__cols3 ul { margin: 0; }
.article__cols2 li, .article__cols3 li { break-inside: avoid; margin-bottom: var(--space-3); }
/* Unterabschnitte (Überschrift + Text) nicht über die Spaltenkante zerreißen */
.article__cols2 > .article__subsection,
.article__cols3 > .article__subsection { break-inside: avoid; margin: 0 0 var(--space-5); }
.article__cols2 .article__subsection-title,
.article__cols3 .article__subsection-title { margin-top: 0; break-after: avoid; }
/* Mehrere Kapitel als EIN Fluss: blanke Überschriften direkt im Mehrspalter
   brauchen Abstand nach oben (nur die allererste nicht). */
.article__cols2 > .article__subsection-title,
.article__cols3 > .article__subsection-title { margin-top: var(--space-6); }
.article__cols2 > :first-child,
.article__cols3 > :first-child { margin-top: 0; }
@media (max-width: 900px) { .article__cols3 { column-count: 2; } }
@media (max-width: 720px) { .article__cols2, .article__cols3 { column-count: 1; } }
.article__row > .article__figure { margin: 0; }
.article__row > div { display: flex; flex-direction: column; gap: var(--space-4); }

/* Bild füllt dynamisch die volle Spalten-/Texthöhe (object-fit: cover, kein Weißraum).
   Freigestellte Bilder (--cutout) bleiben unverzerrt zentriert. */
/* Bild als ALLEINIGER Spalteninhalt füllt die volle Texthöhe (kein Weißraum). */
.article__row > .wp-block-column > .article__figure:only-child:not(.article__figure--cutout),
.article__row > .article__figure:not(.article__figure--cutout) {
  height: 100%;
  margin: 0;
  min-height: 0;
}
.article__row > .wp-block-column > .article__figure:only-child:not(.article__figure--cutout) img,
.article__row > .article__figure:not(.article__figure--cutout) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Bild MIT Text in derselben Spalte: normale Höhe + unten Luft, damit die
   Overlay-Bildunterschrift den Folgetext nicht überlappt. */
.article__row .wp-block-column > .article__figure:not(:only-child):has(figcaption) {
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
/* Mobile: Caption liegt im Fluss (siehe gutenberg-bridge.css) → deutlich
   weniger Kompensations-Abstand nötig */
@media (max-width: 720px) {
  .article__row .wp-block-column > .article__figure:not(:only-child):has(figcaption) {
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
    display: flex;
    flex-direction: column;
  }
}
/* Ganze Reihe mit Bildunterschrift: unten Abstand, damit die Overlay-Caption
   nicht am folgenden Abschnitt/an der Tabelle klebt. */
.article__row:has(figcaption) { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
/* Pull-Quote-Kasten oben ausrichten (gleiche Höhe wie Textanfang), nicht zentriert */
.article__row .article__tag { align-self: start; margin-block: 0; }
/* Kasten MIT gestapeltem Bild in derselben Spalte → volle Spaltenbreite,
   damit Kasten und Bild gleich breit sind (alleinstehende Kästen bleiben schmal). */
.article__row .wp-block-column > .article__tag:not(:only-child) {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}

/* === Figure mit Caption als Overlay-Card am Bild === */
.article__figure {
  position: relative;
  margin: var(--space-2) 0 var(--space-4);
  /* overflow: visible — Caption darf leicht aus dem Bild hinausragen */
}
.article__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}
/* Freigestelltes Bild (z.B. Schild) — ohne Box/Rundung, schmal, zentriert */
.article__figure--cutout { text-align: center; }
.article__figure--cutout img { width: auto; max-width: 100%; max-height: clamp(320px, 38vw, 460px); margin: 0 auto; border-radius: 0; }
.article__caption {
  position: absolute;
  bottom: -24px;       /* deutlicher aus dem Bild raus → weniger Bildfläche verdeckt */
  right: -16px;
  display: block;
  max-width: min(90%, 500px);
  margin: 0;
  padding: 0.7rem 0.95rem;
  background: var(--swh-white);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-style: italic;
  font-size: clamp(0.78rem, 0.95vw, 0.88rem);
  color: var(--chapter-color);
  line-height: 1.4;
}
/* Caption-Box nach links statt rechts (z.B. unter einem Diagramm) */
.article__caption--left { right: auto; left: -16px; text-align: left; }

/* Wide-Figure (volle Article-Breite, ohne Container-Constraints) */
.article__figure--wide {
  width: 100%;
  margin-block: var(--space-4) var(--space-7);   /* mehr Bottom-Abstand zur Headline */
}

/* === Orange Highlight-Tag — Pull-Quote im Print-Look === */
.article__tag {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(420px, 90%);          /* nicht zu schmal, wirkt sonst verloren */
  max-width: min(560px, 92%);
  background: var(--chapter-color);
  color: var(--swh-white);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  text-align: center;
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-md);
  margin: var(--space-4) 0;
  box-shadow: 0 10px 28px rgba(239, 125, 0, 0.18);
}

/* === Inline-Update-Marker  →  #Update im April 2026# === */
.article__update {
  font-style: italic;
  font-weight: var(--fw-bold);
  color: var(--chapter-color);
}
.article__update::before { content: "#"; }
.article__update::after  { content: "#"; }

/* Hintergrund-Pfeile wurden entfernt — wurden an den Section-Grenzen
   (overflow: hidden auf Tinted-Section) abgeschnitten. */

@media (max-width: 720px) {
  /* --wide bleibt auch mobil IM Container (kein Vollbleed mehr) */
  .article__tag { max-width: 100%; }
  .article__row,
  .article__row--text-wider,
  .article__row--media-wider,
  .article__row--img-left { grid-template-columns: 1fr; }

  /* Caption auf Mobile UNTER dem Bild statt als Overlay (Platz/Lesbarkeit) */
  .article__figure { overflow: visible; }
  .article__caption {
    position: static;
    max-width: none;
    margin-top: -0.5rem;        /* leicht ins Bild übergreifend */
    margin-inline: clamp(0.6rem, 3vw, 1.2rem);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transform: translateY(-1rem);
  }
  .article__figure { margin-bottom: 1rem; }
}

/* === Chapter-Farben === */
.chapter-energie {
  --chapter-color: #ef7d00;
  --chapter-tint:  #FEE7D1;
  --chapter-tint-strong: #FCD7B2;
}
.chapter-energie .article {
  --chapter-color: #ef7d00;
  --chapter-tint:  #FEE7D1;
  --chapter-tint-strong: #FCD7B2;
}
/* Mehr Luft zwischen Wide-Bild (inkl. Overlay-Caption) und folgender Headline */
.article__figure--wide + .article__section-title,
.article__figure--wide + .article__subsection-title { margin-top: clamp(1.75rem, 4vw, 3.25rem); }
/* Auch normale Figur: Overlay-Caption ragt unten heraus → Abstand zur direkt
   folgenden Zwischenüberschrift (Feedback: „unter Bild fehlt der Abstand") */
.article .article__figure:not(.article__figure--wide) + .article__section-title,
.article .article__figure:not(.article__figure--wide) + .article__subsection-title { margin-top: clamp(2.75rem, 5vw, 4rem); }

/* Eigenständiger Pull-Quote-Kasten (nicht in einer Spalte): mehr Abstand zum Text */
.article__section > .article__tag { margin-block: var(--space-5); }

/* Dekoratives Pfeil-Element (orange) links neben einer Sektion */
.article__section--deco,
.article__section:has(.article__deco-arrow) { position: relative; }
.article__deco-arrow {
  position: absolute;
  left: clamp(-3rem, -4vw, -1rem);
  top: clamp(1.5rem, 6vw, 5rem);
  width: clamp(34px, 5vw, 60px);
  aspect-ratio: 42 / 62;
  background-color: var(--chapter-color);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 1100px) { .article__deco-arrow { display: none; } }

/* Weitere Hauptkapitel-Signalfarben (WordPress: Klasse via body_class) */
.chapter-unternehmen,   .chapter-unternehmen .article   { --chapter-color: #0061A6; --chapter-tint: #DFF2FD;  --chapter-tint-strong: #BEDCF0; }
.chapter-services,      .chapter-services .article      { --chapter-color: #1f9aa6; --chapter-tint: #DEF0EF; --chapter-tint-strong: #C1E3E4; }
.chapter-nachhaltigkeit,.chapter-nachhaltigkeit .article{ --chapter-color: #0061A6; --chapter-tint: #DFF2FD; --chapter-tint-strong: #BEDCF0; }
/* Nachhaltigkeit: Pull-Quotes in Gelb (analog Print) */
.chapter-nachhaltigkeit .article__tag { background: #ffd400; color: var(--swh-blue-dark); }
.chapter-zahlen,        .chapter-zahlen .article        { --chapter-color: #0061A6; --chapter-tint: #DFF2FD;  --chapter-tint-strong: #BEDCF0; }

/* Einzelne Section auf Umwelt-Grün stellen (z.B. „Haustechnikservices für städtische
   Gebäude" im orangen Energie-Kapitel — analog Druck). Überschrift + Tag-Kasten +
   Tönung übernehmen die grüne --chapter-color/--chapter-tint dieser Section. */
.article__section--accent-gruen { --chapter-color: #A2BC0C; --chapter-tint: #F1F5DB; --chapter-tint-strong: #E5ECBC; }

/* Einzelne Überschrift/Bildunterschrift bewusst in SWH-Rot (analog Druck, z. B.
   „Kommunaler Wärmeplan für Eppelheim" im orangen Energie-Kapitel). #C1121F = SWH-Rot. */
.article .swh-rot-text { color: #C1121F; }
.article .article__figure.swh-rot-caption figcaption,
.article .article__figure.swh-rot-caption .wp-element-caption,
.article .article__figure.swh-rot-caption .article__caption { color: #C1121F; }

/* Print-Querverweise „(s. S. NN)" → Link zum passenden Kapitel (siehe functions.php swh_link_crossrefs). */
.swh-xref { color: var(--chapter-color); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; font-weight: var(--fw-medium); }
.swh-xref:hover { text-decoration-thickness: 2px; }

/* Einzelne Unterkapitel mit abweichender Signalfarbe (Body-Klasse kapitel-<slug>) */
/* Netz-Infrastrukturen → Netze-Rot statt Energie-Orange */
.kapitel-netz-infrastrukturen,
.kapitel-netz-infrastrukturen .article { --chapter-color: #ad2135; --chapter-tint: #F1D1C4; --chapter-tint-strong: #E7B7AF; }

/* Parkservices → Grau statt Services-Türkis (Headlines + Bildunterschriften) */
.kapitel-parkservices,
.kapitel-parkservices .article { --chapter-color: #3d4d4d; --chapter-tint: #D8D5D5; --chapter-tint-strong: #C1C1C1; }

/* Services-Themenkapitel: Hero-Foto im Pfeil (Thermalbad). Wird vom Beitragsbild
   überschrieben, falls eines gesetzt ist (inline --alt-hero-photo gewinnt). */
.kapitel-services .alt-hero__photo-arrow { --alt-hero-photo: url('../img/thermalbad-img-6619.webp'); }

/* ===== Zwischenkapitel-Hintergründe je Hauptkapitel (analog PDF-Doppelseiten) =====
   Tauschbar: pro Kapitel eine Zeile, --alt-hero-bg = Bild, --alt-hero-bg-opacity = Sichtbarkeit. */
.kapitel-services .alt-hero::before      { --alt-hero-bg: url('../img/luftaufnahme-heidelberg.webp'); --alt-hero-bg-opacity: 0.22; }
.kapitel-unternehmen .alt-hero::before   { --alt-hero-bg: url('../img/luftbild-unternehmen.webp');    --alt-hero-bg-opacity: 0.20; }
.kapitel-energie-der-zukunft .alt-hero::before { --alt-hero-bg: url('../img/lageplan-flusswaermepumpe.webp'); --alt-hero-bg-opacity: 0.24; }
.kapitel-nachhaltigkeit .alt-hero::before { --alt-hero-bg: url('../img/topokarte-heidelberg.webp');    --alt-hero-bg-opacity: 0.24; }

/* Straßen- und Bergbahnen: breite Fotos als flacheres Banner (sonst zu hoch) */
.kapitel-strassen-bergbahnen .article__figure--wide img { aspect-ratio: 12 / 5; object-fit: cover; }

/* Hohes Bergbahn-Hochformat (Ausblick auf die Stadt): deutlich flacher (wenig Text
   links) und weiter unten beschneiden — Himmel raus, unteres Panorama + Bahn bleiben
   sichtbar (Original 1333×2000). */
.kapitel-strassen-bergbahnen .article__figure img[src*="img-0626-bergbahn"] {
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  object-position: 50% 92%;
}

/* Straßen- und Bergbahnen → Bahn-Rot statt Services-Türkis */
.kapitel-strassen-bergbahnen,
.kapitel-strassen-bergbahnen .article { --chapter-color: #b10e10; --chapter-tint: #F1D1C4; --chapter-tint-strong: #E7B7AF; }

/* Nachhaltigkeitsansatz → Blau als Akzent, Pull-Quote in Gelb */
.kapitel-nachhaltigkeitsansatz,
.kapitel-nachhaltigkeitsansatz .article { --chapter-color: #0061A6; --chapter-tint: #DFF2FD; --chapter-tint-strong: #BEDCF0; }
.kapitel-nachhaltigkeitsansatz .article__tag { background: #ffd400; color: var(--swh-blue-dark); }

/* Nachhaltigkeit-Themenkapitel: Hero-Foto im Pfeil (Blick in die Rheinebene) */
.kapitel-nachhaltigkeit .alt-hero__photo-arrow { --alt-hero-photo: url('../img/blick-rheinebene.webp'); }

/* Wirtschaften: lange Einzelwort-Headline nicht mitten im Wort umbrechen (kein orphan-"N") */
.kapitel-wirtschaften .page-hero__title { overflow-wrap: normal; word-wrap: normal; hyphens: none; -webkit-hyphens: none; }

/* Bild-Platzhalter im Article-Layout (bis echte Bilder hochgeladen werden) */
.article__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 4 / 3;
  padding: 1.25rem;
  background: repeating-linear-gradient(45deg, #eef3f7, #eef3f7 14px, #e3ecf3 14px, #e3ecf3 28px);
  border: 1px dashed #aac0d2;
  border-radius: var(--radius-md);
  color: #5b7286;
  font-style: italic;
  font-size: 0.9rem;
}
.article__figure--wide .article__ph { aspect-ratio: 16 / 7; }

/* Datentabellen im Article (Kennzahlen) */
.article__table {
  width: 100%;
  table-layout: fixed;   /* feste Spaltenbreiten → Jahresspalten über alle Tabellen einer Seite untereinander */
  border-collapse: collapse;
  margin: var(--space-5) 0;
  font-size: var(--fs-sm);
}
/* Label-Spalte fest; die Wert-/Jahresspalten teilen sich den Rest gleichmäßig
   → gleiche Spaltenpositionen über alle gleichartigen Tabellen einer Seite. */
.article__table th:first-child { width: 55%; }
/* Scroll-Wrapper (wird von main.js um jede Tabelle gelegt) */
.table-scroll { overflow-x: auto; }
@media (max-width: 720px) {
  .article__table th:first-child { width: 42%; }
  /* Mobile: Tabellen behalten ihre lesbare Breite und scrollen horizontal
     im .table-scroll-Wrapper — Zahlen brechen NIE ziffernweise um. */
  .article__table { min-width: 560px; }
  .article__table td { white-space: nowrap; }
}
.article__table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--chapter-color);
  margin-bottom: var(--space-3);
}
.article__table th,
.article__table td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--swh-gray-200);
  text-align: right;
}
.article__table th:first-child,
.article__table td:first-child { text-align: left; }
.article__table thead th {
  color: var(--color-text);   /* 2024/2023-Köpfe schwarz */
  border-bottom: 2px solid var(--chapter-color);
  white-space: nowrap;
  vertical-align: bottom;   /* Jahre an der Unterkante ausrichten (auch wenn Titel umbricht) */
}
/* 2025-Spalten-Kopf bleibt in Kapitelfarbe (Markierung des aktuellen Jahres) */
.article__table thead th:nth-child(2) { color: var(--chapter-color); }
/* Tabellen-Titel sitzt oben links IN der thead-Zelle, in Kapitelfarbe */
.article__table thead th.article__table-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1rem;
  white-space: normal;      /* langer Titel darf umbrechen */
  line-height: 1.2;
  color: var(--chapter-color);
}
/* letzte Linie der Tabelle dick — wie die Kopflinie */
.article__table tbody tr:last-child td,
.article__table tbody tr:last-child th { border-bottom: 2px solid var(--chapter-color); }
/* Summen-Zeile: fett + dicke Linie oben UND unten — wie im Print */
.article__table tfoot td, .article__table tfoot th,
.article__table .is-sum td, .article__table .is-sum th {
  font-weight: var(--fw-bold);
  border-top: 2px solid var(--chapter-color);
  border-bottom: 2px solid var(--chapter-color);
}
/* Zeilen-Label in Kapitelfarbe, NORMALGEWICHT, linksbündig — fett sind nur
   Gruppen-Überschriften (th[colspan]) und Summen-Zeilen (.is-sum/tfoot) */
.article__table tbody th[scope="row"]:not([colspan]) { color: var(--chapter-color); font-weight: 400; text-align: left; }
.article__table .is-sum th[scope="row"]:not([colspan]) { font-weight: var(--fw-bold); }
/* Eingerückte Unterzeilen (Feedback S47/S53) */
.article__table tbody tr.is-indent th[scope="row"]:not([colspan]) { padding-left: 1.9rem; }

/* „Im Gespräch": Einleitungstext als zentrierter Kasten wie bei „Was wir tun" (Feedback).
   Block-Margin, damit der Kasten nicht am Foto-Grid darunter klebt. */
.iv-body .article__intro { max-width: 1000px; margin-inline: auto; margin-block: clamp(1rem, 2.5vw, 2rem) clamp(2.75rem, 5.5vw, 4.25rem); }
/* Sicherheitsnetz gegen Margin-Collapse: Grid bekommt zusätzlich eigenen Mindestabstand. */
.iv-body .iv-grid { margin-top: clamp(2.75rem, 5.5vw, 4.25rem); }
/* Gruppen-Zeilen (th colspan): fett + dicke Linie drunter, KEINE Tönung — wie Print */
.article__table tbody th[colspan] {
  background: none;
  color: var(--chapter-color);
  font-weight: var(--fw-bold);
  border-bottom: 2px solid var(--chapter-color);
  padding-top: var(--space-5);
}
/* 2025-Spalte als durchgehende Säule markieren (Kopf + Werte) */
.article__table thead th:nth-child(2),
.article__table tbody td:first-of-type { background: var(--chapter-tint-strong); }
.article__table tbody td:first-of-type { font-weight: var(--fw-bold); color: var(--chapter-color); }
/* Fußnoten klein + einheitlich für ALLE (eine Klasse) */
/* .article-Prefix nötig, sonst überschreibt `.article p` (0-1-1) die kleine font-size */
.article .article__tablenote { font-size: clamp(0.6rem, 0.78vw, 0.7rem); color: var(--color-text-soft); font-style: normal; line-height: 1.35; margin-top: calc(var(--space-2) * -1); }
/* Aufeinanderfolgende Fußnoten eng zusammen (Flex-gap der Section gegenrechnen) */
.article .article__tablenote + .article__tablenote { margin-top: calc(0.15rem - var(--space-3)); }

/* === Callout-Kasten (z.B. „Unsere Leitbilder") — gelber Kasten wie im Print === */
.article__callout {
  position: relative;
  background: #FFF2C4;
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2rem) clamp(2.6rem, 4vw, 3.4rem);
}
.article__callout::before {
  content: "";
  position: absolute;
  left: clamp(1rem, 2vw, 1.4rem);
  top: clamp(1.4rem, 2.6vw, 2.1rem);
  width: clamp(16px, 1.6vw, 22px);
  aspect-ratio: 42 / 62;
  background-color: var(--swh-blue-dark);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
}
.article .article__callout .article__subsection-title { margin: 0 0 var(--space-3); color: var(--swh-blue-dark); }
.article__callout ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.article__callout li { position: relative; padding-left: 1.2rem; color: var(--swh-blue-dark); }
.article__callout li::before { content: "\203A"; position: absolute; left: 0; color: var(--swh-blue-dark); font-weight: var(--fw-bold); }

/* Aufzählungen mit SWH-„>"-Chevron als Schriftzeichen (CD-konform) statt Punkten/Häkchen — Feedback A3 */
.article .wp-block-list { list-style: none; padding-left: 0; }
.article .wp-block-list > li { position: relative; padding-left: 1.4rem; }
.article .wp-block-list > li::before {
  content: ">";
  position: absolute; left: 0; top: 0;
  color: var(--chapter-color);
  font-weight: var(--fw-bold);
  line-height: inherit;
}
.article .wp-block-list .wp-block-list { margin-top: 0.25rem; }

/* Produktnamen (Fit, bündel, Metropolink-Festival …) in kursiven Bildunterschriften/
   Callouts gerade darstellen — Feedback A7 (betrifft nur diese kursiven Kontexte) */
.article figcaption em,
.article .wp-element-caption em,
.article__caption em,
.article .article__tag em { font-style: normal; }


/* =========================================================
   KAPITEL-SPEZIALKOMPONENTEN (Interview, Hex, GF-Slider, Timeline)
   — aus den Prototyp-<head>-Styles ins Theme übernommen.
   ========================================================= */
/* --- aus unternehmen/perspektive-zukunft.html --- */
/* ============================================================
   PERSPEKTIVE ZUKUNFT — Foto links + Yellow Q&A rechts
   ============================================================ */
.iv-body { background: var(--swh-white); padding-bottom: clamp(3rem, 6vw, 5rem); }
.iv-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: stretch;
  min-height: clamp(560px, 75vh, 820px);
}
.iv-photo {
  position: relative;
  background: url('/wp-content/themes/swh-geschaeftsbericht/assets/img/SB_270326_SWH_GB_Interview-8.webp') center / cover no-repeat;
  min-height: clamp(440px, 70vh, 720px);
}
.iv-qa {
  background: var(--swh-yellow);
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
}
/* (Blaue Deko-Pfeile rechts am Panel auf Wunsch entfernt) */
.iv-qa__inner {
  position: relative;
  z-index: 2;
  column-count: 2;
  column-gap: clamp(1.6rem, 3vw, 2.6rem);
}
.iv-qa__item {
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 0.9vw, 0.7rem);
  break-inside: avoid;                 /* Q&A-Block nicht über die Spaltengrenze trennen */
  -webkit-column-break-inside: avoid;
  margin: 0 0 clamp(1.1rem, 2.2vw, 1.6rem);
}
.iv-qa__item--lead {
  flex-direction: row;
  gap: clamp(0.7rem, 1.3vw, 1.1rem);
  align-items: flex-start;
}
.iv-qa__lead-marker {
  display: block;
  width: clamp(28px, 3vw, 40px);
  aspect-ratio: 42 / 62;
  background-color: var(--swh-blue-dark);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
  margin-top: 0.2em;
  flex-shrink: 0;
}
.iv-qa__question {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: var(--fw-bold);
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.45;
  color: var(--swh-blue-dark);
  margin: 0;
}
.iv-qa__speaker {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(0.78rem, 0.9vw, 0.88rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--swh-blue-dark);
  margin: 0;
}
.iv-qa__answer {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1vw, 0.97rem);
  line-height: 1.5;
  color: var(--swh-blue-dark);
  margin: 0;
}
.iv-qa__closing {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: var(--fw-bold);
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  color: var(--swh-blue-dark);
  margin: 0;
}
.iv-qa__closing-mark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.5;
  vertical-align: -0.5em;
  margin-left: 0.3em;
  color: var(--swh-blue-dark);
}
@media (max-width: 1100px) {
  .iv-grid { grid-template-columns: 1fr; min-height: 0; }
  .iv-photo { min-height: clamp(360px, 55vw, 520px); }
}
@media (max-width: 720px) {
  .iv-qa__inner { column-count: 1; }
}

/* --- aus unternehmen/das-jahr-2025.html --- */
/* ============================================================
   DAS JAHR 2025 — Timeline (Monate Januar–Dezember)
   Eigenständiger Baustein, nutzt CI-Tokens
   ============================================================ */
.tl-2025 { position: relative; }
.tl-month {
  position: relative;
  padding: clamp(1.2rem, 2.5vw, 2rem) 0;
  border-top: 2px solid var(--swh-blue-tint, #DCEEF9);
}
.tl-month:first-of-type { border-top: 0; }
.tl-month__inner {
  display: grid;
  grid-template-columns: clamp(120px, 14vw, 180px) 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}
.tl-month__label {
  font-family: var(--font-display);
  font-weight: var(--fw-bold, 700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.15;
  color: var(--swh-blue-dark, #003D6B);
  position: relative;
  padding-left: clamp(1.4rem, 2vw, 2rem);
}
.tl-month__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;                       /* vertikal mittig zur (einzeiligen) Monats-Headline */
  transform: translateY(-50%);
  width: clamp(13px, 1.5vw, 17px);
  aspect-ratio: 42 / 62;
  background-color: var(--swh-yellow, #FFD500);
  -webkit-mask: var(--mask-arrow-fill) no-repeat center / contain;
          mask: var(--mask-arrow-fill) no-repeat center / contain;
}
.tl-month__events {
  display: flex;
  flex-direction: column;
  gap: clamp(0.7rem, 1.5vw, 1.1rem);
}
.tl-event { margin: 0; line-height: var(--lh-loose, 1.6); }
.tl-event__date {
  font-weight: var(--fw-bold, 700);
  color: var(--swh-blue-dark, #003D6B);
}
/* Foto innerhalb eines Timeline-Monats */
.tl-figure { margin: clamp(0.7rem, 1.5vw, 1.1rem) 0 0; max-width: 380px; }
.tl-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: 0 8px 20px rgba(0, 61, 107, 0.12); }
@media (max-width: 720px) {
  .tl-month__inner { grid-template-columns: 1fr; gap: 0.8rem; }
}

/* --- aus unternehmen/was-wir-tun.html --- */
/* ============================================================
   WAS WIR TUN — Text links + Hex-Komposition rechts
   ============================================================ */
.wt-body-section { background: var(--swh-white); padding: clamp(1rem, 3vw, 2rem) 0 clamp(4rem, 8vw, 6rem); }
.wt-body-section__inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.wt-prose { display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.4rem); }
.wt-prose p { margin: 0; font-size: var(--fs-base); line-height: var(--lh-loose); color: var(--color-text); max-width: 56ch; }
.wt-prose strong { color: var(--swh-blue-dark); font-weight: var(--fw-bold); }
.wt-hex {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wt-hex__img { display: block; width: 100%; height: auto; }
.wt-hex__cluster { position: relative; width: 100%; height: 100%; }
.wt-hex__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36%;
  aspect-ratio: 1 / 1.155;
  background: url('/wp-content/themes/swh-geschaeftsbericht/assets/img/DJI_0114.webp') center / cover no-repeat;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  filter: drop-shadow(0 14px 28px rgba(0, 61, 107, 0.20));
  z-index: 2;
}
.wt-hex__node {
  position: absolute;
  width: 26%;
  aspect-ratio: 1 / 1.155;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.wt-hex__node-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.wt-hex__node--filled .wt-hex__node-shape { background: var(--swh-blue-dark); }
.wt-hex__node--ghost  .wt-hex__node-shape { background: var(--swh-blue-dark); }
.wt-hex__node--ghost  .wt-hex__node-shape::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: var(--swh-white);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.wt-hex__node-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.wt-hex__node--filled .wt-hex__node-label { color: var(--swh-white); }
.wt-hex__node--ghost  .wt-hex__node-label { color: var(--swh-blue-dark); }
.wt-hex__node--top-left  { left: 10%;  top: 5%;  }
.wt-hex__node--top-right { right: 10%; top: 5%;  }
.wt-hex__node--mid-left  { left: 0%;   top: 41%; }
.wt-hex__node--mid-right { right: 0%;  top: 41%; }
.wt-hex__node--bot-left  { left: 10%;  bottom: 5%; }
.wt-hex__node--bot-right { right: 10%; bottom: 5%; }
@media (max-width: 1100px) {
  .wt-body-section__inner { grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
  .wt-hex { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 700px) {
  .wt-hex { padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem); }
  .wt-hex__center { width: 40%; }
  .wt-hex__node { width: 30%; }
  .wt-hex__node-label { font-size: clamp(0.7rem, 2.5vw, 0.85rem); }
}

/* --- aus unternehmen/vorangehen.html --- */
/* ============================================================
   VORANGEHEN — Geschäftsführungs-Foto mit 7 Personen-Karten
   ============================================================ */
.vh-stage {
  background: var(--swh-white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3.5rem);
}
.vh-stage__bg-arrows { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.vh-stage__bg-arrows span {
  position: absolute;
  background-color: var(--swh-blue-dark);
  -webkit-mask: var(--mask-arrow-outline) no-repeat center / contain;
          mask: var(--mask-arrow-outline) no-repeat center / contain;
  opacity: 0.06;
  aspect-ratio: 122 / 178;
}
.vh-stage__bg-arrows .a-1 { left: -3%; bottom: -8%; width: clamp(180px, 24vw, 360px); }
.vh-stage__bg-arrows .a-2 { right: -3%; top: 6%; width: clamp(160px, 20vw, 300px); transform: scaleX(-1); }
.vh-slider { position: relative; z-index: 1; }
.vh-track { position: relative; display: block; width: 100%; height: auto; overflow: visible; cursor: default; }
.vh-photo {
  position: relative;
  display: block;
  width: 120%;
  height: auto;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  max-width: unset;
  left: -9%;
}
/* 2-Bild-Layering: Vollbild (--bg) im Fluss, freigestellte Personen (--front)
   deckungsgleich darüber — die gelben Panels (z-index 1) liegen dazwischen,
   also HINTER den Menschen. */
.vh-photo--bg { z-index: 0; }
.vh-photo--front {
  position: absolute;
  top: 0;
  z-index: 2;
}
/* Gesamtbild über dem Slider (JS-Klon) — nur auf Mobile sichtbar,
   Darstellung wie das Desktop-Foto (Überlauf links/rechts) */
.vh-photo-overview { display: none; }
@media (max-width: 900px) {
  .vh-photo-overview {
    display: block;
    position: relative;
    width: 120%;
    left: -9%;
    max-width: unset;
    height: auto;
    pointer-events: none;
    user-select: none;
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
  }
}
.vh-lane { position: absolute; top: 0; height: 100%; width: calc(100% / 7); z-index: 1; }
.vh-lane[data-person="1"] { left: 0; }
.vh-lane[data-person="2"] { left: calc(1 * 100% / 7); }
.vh-lane[data-person="3"] { left: calc(2 * 100% / 7); }
.vh-lane[data-person="4"] { left: calc(3 * 100% / 7); }
.vh-lane[data-person="5"] { left: calc(4 * 100% / 7); }
.vh-lane[data-person="6"] { left: calc(5 * 100% / 7); }
.vh-lane[data-person="7"] { left: calc(6 * 100% / 7); }
.vh-lane__panel {
  position: absolute;
  top: clamp(1rem, 2vw, 2rem);
  left: 50%;
  width: 88%;
  max-width: 220px;
  /* Fläche läuft bis ~40% der Bühne nach unten (bis zu den Personen);
     längere Bios dürfen darüber hinauswachsen */
  min-height: calc(40% - clamp(1rem, 2vw, 2rem));
  background: var(--swh-yellow);
  padding: clamp(0.85rem, 1.2vw, 1.1rem);
  border-radius: 10px 10px 0 0;
  opacity: 1;
  transform: translateX(-50%);
  pointer-events: auto;
}
/* Sprechblasen-Spitze: pfeil_maske_down.svg (62×18, Spitze nach unten) im
   ORIGINAL-Seitenverhältnis über die volle Panel-Breite, direkt unten dran. */
.vh-lane__panel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);   /* 1px Überlappung gegen Subpixel-Fugen */
  aspect-ratio: 62 / 18;
  background-color: var(--swh-yellow);
  -webkit-mask: url('../img/pfeil_maske_down.svg') no-repeat center / 100% 100%;
          mask: url('../img/pfeil_maske_down.svg') no-repeat center / 100% 100%;
}
.vh-lane__name {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(0.92rem, 1vw, 1.1rem);
  line-height: 1.15;
  color: var(--swh-blue-dark);
  margin: 0 0 clamp(0.4rem, 0.8vw, 0.6rem);
  text-transform: none;
}
.vh-lane__bio {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 0.78vw, 0.82rem);
  line-height: 1.4;
  color: var(--swh-blue-dark);
  margin: 0;
}
.vh-lane__bio strong { font-weight: var(--fw-bold); color: inherit; }
.vh-controls { display: none; }
/* Wrapper um die 7 Karten: auf Desktop layout-transparent (display: contents),
   die Lanes positionieren sich weiter absolut gegen .vh-track. Auf Mobile wird
   er zum scroll-snap-Swiper. */
.vh-cards { display: contents; }
@media (max-width: 900px) {
  /* Mobile: EINE Person pro Ansicht, man scrollt durchs FOTO. Die .vh-cards
     sind der Scroll-Container (7 Spuren à Viewport-Breite); die beiden Foto-
     Ebenen liegen absolut im .vh-track und werden per JS (translateX =
     -scrollLeft) synchron mitbewegt. Layering wie Desktop: Vollbild hinten,
     Panels dazwischen, Freisteller vorn. */
  .vh-track {
    display: block;
    position: relative;
    height: min(75vh, 580px);
    overflow: hidden;
    max-width: 400px;
    margin: auto;
    border-radius: 15px;
  }
  .vh-photo {
    position: absolute;
    top: 0;
    /* 123% Breite / -11% Versatz je Spur — auf 7 Spuren hochgerechnet */
    left: -77%;
    width: 861%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;   /* Luft über den Köpfen */
    will-change: transform;
  }
  .vh-photo--front { z-index: 2; }
  .vh-cards {
    display: flex;
    position: relative;
    z-index: 1;
    height: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .vh-cards::-webkit-scrollbar { display: none; }
  .vh-lane { position: relative; flex: 0 0 100%; width: auto; height: 100%; scroll-snap-align: start; left: auto; }
  .vh-lane[data-person] { left: auto; }
  .vh-lane__panel {
    top: 14px;
    width: 86%;
    max-width: 340px;
    min-height: 50%;
    margin: 0;
  }
  /* Sichtbare Steuerelemente (Barrierefreiheit): Kontur-Buttons + Fortschritts-
     balken — gleicher Stil wie .slider__btn/.slider__progress (Töchter-Slider) */
  .vh-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.5rem 7vw 0.25rem;
    justify-content: center;
  }
  .vh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border: 2px solid var(--swh-blue);
    border-radius: 50%;
    background: transparent;
    color: var(--swh-blue);
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
  }
  .vh-btn:hover { background: var(--swh-blue); color: var(--swh-white); }
  .vh-btn:focus-visible { outline: 3px solid var(--swh-blue); outline-offset: 2px; }
  .vh-btn:disabled {
    opacity: 0.35;
    cursor: default;
    background: transparent;
    color: var(--swh-blue);
  }
  .vh-btn svg { width: 20px; height: 20px; }
  .vh-progress {
    flex: 1;
    max-width: 240px;
    height: 4px;
    background: rgba(0, 61, 107, 0.15);
    border-radius: 999px;
    overflow: hidden;
    margin-left: var(--space-3, 12px);
  }
  .vh-progress__bar {
    display: block;
    height: 100%;
    width: 15%;
    background: var(--swh-blue);
    border-radius: 999px;
    transition: width 0.35s var(--ease-out);
  }
}
