/*
 * Finance Accelerator 2026
 * Port von src/styles/global.css und den Styles der Astro-Komponenten. Selektoren sind an das Markup
 * angepasst, das WordPress ausgibt (figure.wp-block-image, .wp-block-button__link, Listen-Filter in
 * inc/blocks.php). Schriften: @font-face kommt aus theme.json.
 */

/* ---------- Tokens ---------- */

:root {
  --white: #fff;
  --gold: #be9b19;
  --gold-bright: #d4b13a; /* Hover auf dunklem Grund */
  --gold-deep: #8f7410; /* Gold als Text auf Weiß, 4.5:1 */
  --green: #1f7a3d; /* Label „Upcoming“ auf Weiß, 5.4:1 (auf Hellgrau #ececec 4.6:1) */
  --green-bright: #5fbf7f; /* dasselbe auf Anthrazit, 7.2:1 */
  --ink: #202020;
  --ink-soft: #2c2c2c;
  --ink-deep: #151515;
  --grey-100: #ececec;
  /* Hover- und Offen-Fläche der Zeilen als feste Farben aus dem Gold (keine halbtransparente Mischung,
     die je nach Bildschirm ins Bräunliche kippt) */
  --gold-pale: #fcf5d9; /* Hover auf Weiß */
  --gold-pale-open: #fdf9ea; /* offene Zeile auf Weiß */
  --gold-light: #d3bb5f; /* Hover auf Gold */
  --gold-light-open: #cdb247; /* offene Zeile auf Gold */
  --grey-200: #e4e4e4;
  --grey-600: #555;
  --on-dark-muted: rgb(255 255 255 / 0.74);

  --font-sans: 'Euclid Circular B', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.5vw, 1.3125rem);
  --fs-sub: clamp(1.1875rem, 1.8vw, 1.5rem);
  --fs-h2: clamp(2.25rem, 4.6vw, 4rem);
  --fs-h1: clamp(3rem, 8.6vw, 7.25rem);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --header-h: 76px;
}

/* Admin-Leiste für eingeloggte Nutzer: Header und Stapel rutschen darunter */
body.admin-bar {
  --admin-h: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --admin-h: 46px;
  }
}

/* Unter 600 px scrollt die Admin-Leiste mit, dann liegt sie oben einfach über dem Header */
@media (max-width: 600px) {
  body.admin-bar {
    --admin-h: 0px;
  }
}

/* ---------- Basis ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

p,
figure {
  margin: 0;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid #46e6e6;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--gold);
  color: var(--ink);
}

/* Seiten ohne Hero: Inhalt beginnt unter dem festen Header */
main:not(:has(> .hero, > .phero)) {
  padding-top: var(--header-h);
}

/* ---------- Layout ---------- */

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* Die Sektionen bringen eigene Abstände mit; WordPress setzt bei Gruppen mit Hintergrund sonst ein Polster */
.section {
  position: relative; /* Bezug für das Linienmuster */
  padding: var(--section-y) 0;
}

.section--dark {
  background: var(--ink);
  color: var(--white);
  --btn-fg: var(--ink);
}

.section--light {
  background: var(--white);
  color: var(--ink);
  --btn-fg: var(--white);
}

.section--gold {
  background: var(--gold);
  color: var(--ink);
  --btn-fg: var(--gold);
}

/* Inhalt liegt über dem Linienmuster (z-index 0) */
.section > .container,
.hero__inner,
.footer > .container {
  position: relative;
  z-index: 1;
}

/* Sektionskopf: Titel links, Text rechts, goldener Balken über dem Titel */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.section-head__title::before {
  content: '';
  display: block;
  width: 4.5rem;
  height: 6px;
  margin-bottom: 1.75rem;
  background: var(--gold);
}

.section--gold .section-head__title::before {
  background: var(--ink);
}

.section-head h2 {
  font-size: var(--fs-h2);
}

.section-head__sub {
  margin-top: 1.25rem;
  font-size: var(--fs-sub);
  font-weight: 500;
  line-height: 1.3;
  color: var(--gold);
}

.section--light .section-head__sub {
  color: var(--gold-deep);
}

.section--gold .section-head__sub {
  color: var(--ink);
}

.section-head__text {
  display: grid;
  gap: 1.25rem;
  padding-top: 0.5rem;
  font-size: var(--fs-lead);
}

.section--dark .section-head__text {
  color: var(--on-dark-muted);
}

@media (max-width: 860px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ---------- Buttons ---------- */

/* .btn im Header, .wp-block-button__link im Inhalt: gleiche Optik */
.btn,
.wp-block-button .wp-block-button__link {
  display: inline-block;
  padding: 1rem 1.9rem;
  border: 2px solid transparent;
  border-radius: 0;
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.btn--gold:hover,
.wp-block-button .wp-block-button__link:hover {
  background: var(--gold-bright);
  color: var(--ink);
}

.wp-block-button.is-style-fa-dark .wp-block-button__link {
  background: var(--ink);
  color: var(--white);
}

.wp-block-button.is-style-fa-dark .wp-block-button__link:hover {
  background: #000;
  color: var(--white);
}

.wp-block-button.is-style-fa-ghost .wp-block-button__link {
  border-color: rgb(255 255 255 / 0.4);
  background: transparent;
  color: var(--white);
}

.wp-block-button.is-style-fa-ghost .wp-block-button__link:hover {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold-bright);
}

.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: var(--admin-h, 0px) 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: var(--ink);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__menu {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.header__menu a:hover,
.header__menu a[aria-current='page'],
.header__menu .current-menu-ancestor > a,
.header__menu .current-menu-parent > a {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.header__menu > li {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
}

/* Ausklappmenü: öffnet bei Hover, Tastaturfokus und per Pfeil-Schaltfläche */
.submenu-toggle {
  position: relative;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.15rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.submenu-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -75%) rotate(45deg);
  transition: transform 0.2s;
}

.menu-item-has-children.is-open > .submenu-toggle::before,
.menu-item-has-children:hover > .submenu-toggle::before {
  transform: translate(-50%, -25%) rotate(225deg);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: -1.25rem;
  z-index: 60;
  min-width: 17rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--ink);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-top: 2px solid var(--gold);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.header__menu .sub-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
  text-decoration: none;
}

/* Hover neutral hellgrau, die aktuelle Seite bleibt gold markiert */
.header__menu .sub-menu a:hover,
.header__menu .sub-menu a:focus-visible {
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
  text-decoration: none;
}

.header__menu .sub-menu a[aria-current='page'] {
  color: var(--gold);
  text-decoration: none;
}

.header__cta {
  padding: 0.7rem 1.2rem;
  font-size: 0.8125rem;
}

.header__toggle {
  display: none;
}

/* Acht Links plus Button brauchen etwa 1100 px, darunter das Menü einklappen statt umzubrechen */
@media (max-width: 1180px) {
  .header__toggle {
    position: relative;
    z-index: 2;
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    background: none;
    color: var(--white);
    cursor: pointer;
  }

  .header__toggle i {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    height: 2px;
    background: currentColor;
  }

  .header__toggle i:first-of-type {
    top: 1.1rem;
  }

  .header__toggle i:last-of-type {
    top: 1.6rem;
  }

  .header__toggle[aria-expanded='true'] i:first-of-type {
    top: 1.35rem;
    transform: rotate(45deg);
  }

  .header__toggle[aria-expanded='true'] i:last-of-type {
    top: 1.35rem;
    transform: rotate(-45deg);
  }

  .header__nav {
    position: fixed;
    inset: var(--admin-h, 0px) 0 0;
    flex-direction: column;
    gap: 2.5rem;
    padding: calc(var(--header-h) + 1rem) 0 2rem;
    overflow-y: auto;
    background: var(--ink);
    visibility: hidden;
  }

  /* Zentriert, solange der Inhalt in den Bildschirm passt, sonst scrollbar ohne abgeschnittenen Anfang */
  .header__nav > :first-child {
    margin-top: auto;
  }

  .header__nav > :last-child {
    margin-bottom: auto;
  }

  .header__nav.is-open {
    visibility: visible;
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .header__menu a {
    font-size: 1.75rem;
    font-weight: 600;
  }

  .header__menu > li {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
  }

  .submenu-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  /* Unsichtbares Gegenstück zum Pfeil, damit der Text mittig über dem Untermenü steht */
  .header__menu > .menu-item-has-children::before {
    content: '';
    flex: none;
    width: 2.5rem;
    margin-right: 0.15rem;
  }

  .sub-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    padding: 0.25rem 0 0.75rem;
    border: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    text-align: center;
    transform: none;
  }

  .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }

  .header__menu .sub-menu a {
    padding: 0.4rem 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--on-dark-muted);
  }
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--white);
}

.logo img {
  width: auto;
  height: 40px;
}

.footer .logo img {
  height: 52px;
}

/* ---------- Hero ---------- */

/* Vollbild: Der Ticker (56 px) darunter schließt den ersten Bildschirm ab */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: max(34rem, calc(100svh - 56px - var(--admin-h, 0px)));
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: var(--ink);
}

.hero > .hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

/* Deckende Fläche über dem Foto, hell genug, dass das Foto trägt */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(32 32 32 / 0.68);
}

.hero h1 {
  max-width: 6.5em; /* bricht "Finance / Accelerator" auf zwei Zeilen */
  font-size: var(--fs-h1);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.hero__sub {
  margin-top: 1.75rem;
  font-size: clamp(1.4rem, 2.6vw, 2.125rem);
  font-weight: 500;
  color: var(--gold);
}

.hero__actions {
  margin-top: 2.5rem;
}

/* Scroll-Hinweis: dünne Linie, ein goldener Abschnitt läuft nach unten */
.hero__cue {
  position: absolute;
  bottom: 1.5rem;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  width: 1px;
  height: 3.5rem;
  overflow: hidden;
  background: rgb(255 255 255 / 0.25);
}

.hero__cue::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 40%;
  background: var(--gold);
  animation: cue 2.4s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}

@keyframes cue {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(250%);
  }
}

/* ---------- Karussell (inc/karussell.php) ---------- */

/*
 * Ebenen im Kopf: Bilder (-2), Abdunklung (-1), Linienmuster (0), Inhalt (1), Kästchen (2).
 * Die Bilder sind immer in Graustufen. Ist Text schlecht lesbar, nur die Abdunklung (::after) anpassen.
 */
.karussell__bilder {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--ink);
}

.karussell__bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0;
  transition: opacity 1.2s ease;
}

.karussell__bild.is-on {
  opacity: 1;
}

/*
 * Unterseiten-Kopf mit Karussell: Höhe wie ohne Foto (das Linienmuster bleibt so unverzerrt), eigene Abdunklung.
 * Kräftiger als im Hero der Startseite, damit die feinen Linien vor dem Foto sichtbar bleiben.
 */
.phero.has-karussell::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(32 32 32 / 0.82);
}

/* Kästchen unten mittig: eines je Bild, das aktuelle gold gefüllt. Erst mit JavaScript sichtbar. */
.karussell__punkte {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 2;
  display: none;
  gap: 0.25rem;
  transform: translateX(-50%);
}

.karussell.is-armed .karussell__punkte {
  display: flex;
}

/* Klickfläche 1,75 rem, sichtbar ist das kleine Quadrat */
.karussell__punkt {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.karussell__punkt::after {
  content: '';
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--gold);
  transition: background-color 0.2s ease;
}

.karussell__punkt:hover::after {
  background: rgb(190 155 25 / 0.45);
}

.karussell__punkt[aria-current='true']::after {
  background: var(--gold);
}

.karussell__punkt:focus-visible {
  outline-offset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .karussell__bild,
  .karussell__punkt::after {
    transition: none;
  }
}

/* ---------- Linienmuster (inc/linefield.php) ---------- */

/* Seitenverhältnis nahe 2 : 1, die Maske lässt das Muster unten und an den Seiten auslaufen */
.lf {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  height: min(100%, 1000px);
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to bottom, #000 0%, #000 50%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, #000 0%, #000 50%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

/* Im Hero liegt das Muster zwischen Foto-Abdunklung (z-index -1) und Inhalt */
.hero > .lf {
  z-index: 0;
}

.lf svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: translateY(calc(var(--p, 0) * 24px));
}

.lf .ln {
  stroke: var(--lf-color);
  stroke-width: var(--w, 1);
  stroke-linecap: butt;
  shape-rendering: geometricPrecision;
  vector-effect: non-scaling-stroke;
  opacity: var(--o);
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

/* Aufbau von links nach rechts, jede Linie wächst von ihrem unteren Ende nach oben */
.lf.is-armed:not(.is-live) .ln {
  transform: scaleY(0.02);
  opacity: 0;
}

.lf.is-live .ln {
  animation: grow 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i) * 14ms);
}

/* Danach atmet jede fünfte Linie sehr langsam */
.lf.is-live .ln.br {
  animation:
    grow 1.3s cubic-bezier(0.22, 1, 0.36, 1) both,
    breathe var(--bd) ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 14ms), 3.6s;
}

@keyframes grow {
  from {
    opacity: 0;
    transform: scaleY(0.02);
  }
  to {
    opacity: var(--o);
    transform: scaleY(1);
  }
}

@keyframes breathe {
  from {
    opacity: var(--o);
  }
  to {
    opacity: calc(var(--o) * 0.4);
  }
}

/* Schmale Bildschirme: nur jede zweite Linie */
@media (max-width: 700px) {
  .lf .ln:nth-child(even) {
    display: none;
  }
}

/* ---------- Ticker ---------- */

.ticker {
  height: 56px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.ticker__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: run var(--ticker-duration, 48s) linear infinite;
}

.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track {
  animation-play-state: paused;
}

.ticker ul {
  display: flex;
  flex: none;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker li {
  padding-inline: 2.25rem;
  border-left: 1px solid rgb(255 255 255 / 0.22);
  white-space: nowrap;
}

.ticker a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.ticker a:hover {
  color: var(--gold-bright);
}

/* main.js hängt so viele Kopien an, dass die Spur breiter als zwei Fensterbreiten ist; -50 % ist dann eine Hälfte */
@keyframes run {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Logo-Leiste ---------- */

.logobar {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--grey-200);
}

.logobar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.logobar__inner > p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--grey-600);
}

.logobar__logos {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

/* Anzeigehöhe optisch angeglichen: Standard 44 px, „logo-s“ 32 px, „logo-l“ 52 px (mobil 32 / 24 / 38 px) */
.logobar__logos img {
  width: auto;
  height: 44px;
  filter: grayscale(1);
  opacity: 0.85;
  transition:
    filter 0.2s,
    opacity 0.2s;
}

.logobar__logos .logo-s img {
  height: 32px;
}

.logobar__logos .logo-l img {
  height: 52px;
}

.logobar__logos img:hover {
  filter: none;
  opacity: 1;
}

/* Schmale Bildschirme: kleinere Logos, damit je zwei in eine Reihe passen */
@media (max-width: 640px) {
  .logobar__logos {
    gap: 1.25rem 1.5rem;
  }

  .logobar__logos img {
    height: 32px;
  }

  .logobar__logos .logo-s img {
    height: 24px;
  }

  .logobar__logos .logo-l img {
    height: 38px;
  }
}

/* ---------- Kennzahlen ---------- */

.kpis {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.kpis__grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: 2.5rem clamp(1rem, 3vw, 2.5rem);
  margin: 0;
}

.kpi {
  position: relative;
  padding-top: 1.25rem;
}

/* Goldene Linie über der Zahl, zeichnet sich von links, solange gezählt wird */
.kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform-origin: left;
  transition: transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.kpis.is-armed .kpi:not(.is-live)::before {
  transform: scaleX(0);
}

.kpi dd {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.kpi dt {
  margin-top: 1rem;
  font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
  font-weight: 500;
}

@media (max-width: 760px) {
  .kpis__grid {
    grid-template-columns: repeat(min(var(--cols, 4), 2), 1fr);
  }
}

/* ---------- Intro ---------- */

.intro {
  padding-top: clamp(1rem, 3vw, 2rem);
}

.intro .section-head h2 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
}

.intro .section-head__text {
  font-size: var(--fs-body);
  color: #3a3a3a;
}

.intro__lead {
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

/* ---------- Phasen-Stapel ---------- */

.stack {
  --ph-h: 4.5rem; /* Platz, den die Statusleiste im Stapel-Modus oben in den Karten freihält */
  background: var(--white);
  color: var(--ink);
}

/* Statusleiste: ohne Stapeln eine normale Zeile über den Karten */
.phases-wrap {
  padding-block: 1.5rem;
}

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  color: var(--ink);
}

.ph {
  display: grid;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.3s;
}

.ph--done {
  opacity: 0.9;
}

.ph--cur,
.ph:hover {
  opacity: 1;
}

.ph__label {
  font-size: 0.9375rem;
  font-weight: 500;
}

.ph__line {
  position: relative;
  display: block;
  height: 2px;
  overflow: hidden;
}

.ph__line::before,
.ph__line i {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
}

.ph__line::before {
  opacity: 0.25; /* Schiene */
}

.ph__line i {
  transform-origin: 0 50%;
  transform: scaleX(var(--fill, 0));
}

/* Karten: Höhe nach Inhalt, mindestens ein Bildschirm abzüglich Header */
.card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h) - var(--admin-h, 0px));
  padding: clamp(2rem, 5vh, 3.5rem) 0;
  scroll-margin-top: calc(var(--header-h) + var(--admin-h, 0px));
}

/*
 * Überdeckte Karte: Die Fläche bleibt randlos stehen, nur der Inhalt tritt zurück (etwas kleiner, nach oben,
 * blasser). So scheint nie der Hintergrund durch. --cover (0 bis 1) setzt main.js, Abschnitt „Phasen-Stapel“.
 */
.card > .container {
  transform-origin: 50% 35%;
  transform: translateY(calc(var(--cover, 0) * -3rem)) scale(calc(1 - var(--cover, 0) * 0.06));
  opacity: calc(1 - var(--cover, 0) * 0.5);
}

/* Abdunklung der überdeckten Karte, flache Fläche ohne Verlauf */
.card__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  opacity: calc(var(--cover, 0) * 0.35);
  pointer-events: none;
}

/* Verweilstrecke: nur im Stapel-Modus, hier bleibt die Karte ruhig stehen, bevor die nächste kommt */
.gap {
  display: none;
}

.card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.card h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.card .section-head__title::before {
  margin-bottom: 1.1rem;
}

.card .section-head__sub {
  margin-top: 0.75rem;
}

.card__text {
  max-width: 38rem;
  margin-top: 0.9rem;
  font-size: clamp(0.95rem, 1.8vh, 1.0625rem);
  line-height: 1.5;
}

.section--dark .card__text {
  color: var(--on-dark-muted);
}

/* Leistungsliste: Zeile mit Haarlinie, Titel groß */
.index {
  margin: clamp(1rem, 2.4vh, 1.75rem) 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid currentColor;
}

.index li {
  border-top: 1px solid currentColor;
}

.section--dark .index,
.section--dark .index li {
  border-color: rgb(255 255 255 / 0.25);
}

.section--gold .index,
.section--gold .index li {
  border-color: rgb(32 32 32 / 0.3);
}

/* Zeilen sind Links zu Unterseiten: dauerhaft sichtbarer Pfeil-Button, Anstupsen im Ruhezustand,
   Hintergrundfläche, gefüllter Button und Beschriftung beim Überfahren */
.row {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(0.4rem, 1vh, 0.85rem);
  font-size: clamp(1rem, 2.1vh, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.row::before {
  content: '';
  position: absolute;
  inset: 0 -0.75rem;
  z-index: -1;
  background: currentColor;
  opacity: 0.09;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.row:hover::before,
.row:focus-visible::before {
  transform: scaleX(1);
}

.row__title {
  transition: transform 0.3s;
}

.row:hover .row__title,
.row:focus-visible .row__title {
  transform: translateX(0.6rem);
}

.row__more {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.row__label {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(0.5rem);
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.row:hover .row__label,
.row:focus-visible .row__label {
  opacity: 1;
  transform: none;
}

.row__btn {
  --arrow: currentColor;
  display: grid;
  flex: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px solid currentColor;
  transition: background-color 0.25s;
}

.row:hover .row__btn,
.row:focus-visible .row__btn {
  --arrow: var(--btn-fg);
  background: currentColor;
}

.row__ico {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--arrow);
  animation: nudge 4.5s ease-in-out infinite;
  animation-delay: calc(var(--r, 0) * 0.35s);
}

.row:hover .row__ico,
.row:focus-visible .row__ico {
  animation: none;
  transform: translateX(2px);
  transition: transform 0.25s;
}

@keyframes nudge {
  0%,
  62%,
  100% {
    transform: translateX(0);
  }
  78% {
    transform: translateX(3px);
  }
}

/* Foto-Vorschau, Wechsel per Überblendung. Erstes Bild: Phase, danach je ein Bild pro Leistung */
.preview {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: min(600px, calc(100svh - var(--header-h) - 11rem));
  width: 100%;
  overflow: hidden;
  background: var(--ink-soft);
}

.preview .wp-block-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

/* Ohne JavaScript bleibt das Phasenfoto stehen, danach steuert main.js die Klasse is-on */
.preview:not(.is-ready) .wp-block-image:first-child,
.preview .wp-block-image.is-on {
  opacity: 1;
}

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

/* Stapeln: Karten bleiben unter dem Header kleben, die nächste schiebt sich darüber. Die Statusleiste
   steht davon getrennt als einzige Leiste darüber (Höhe 0, Inhalt überlagert den oberen Kartenrand). */
@media (min-width: 901px) and (min-height: 800px) {
  .phases-wrap {
    position: sticky;
    top: calc(var(--header-h) + var(--admin-h, 0px));
    z-index: 10;
    height: 0;
    padding: 0;
    pointer-events: none;
  }

  .phases-wrap > .container {
    padding-top: clamp(2rem, 5vh, 3.5rem);
  }

  .ph {
    pointer-events: auto;
  }

  .card {
    position: sticky;
    /* --over: negativ, wenn die Karte höher als das Fenster ist (main.js), dann klebt sie mit der Unterkante */
    top: calc(var(--header-h) + var(--admin-h, 0px) + var(--over, 0px));
    padding-top: calc(clamp(2rem, 5vh, 3.5rem) + var(--ph-h));
  }

  .card > .container {
    will-change: transform, opacity;
  }

  /* Die heranrückende Karte wirft einen weichen Schatten auf die darunter (nicht die erste, die käme aus dem Intro) */
  article.card ~ article.card {
    box-shadow: 0 -30px 60px -20px rgb(0 0 0 / 0.45);
  }

  /* Sicherheitsnetz: Entsteht doch einmal eine Lücke zwischen den Karten, ist sie dunkel statt weiß.
     Nur hier, ohne Stapeln steht die Statusleiste als dunkle Schrift auf dem hellen Grund. */
  .stack {
    background: var(--ink);
  }

  .gap {
    display: block;
    height: 34vh;
  }
}

@media (max-width: 900px) {
  .card__grid {
    grid-template-columns: 1fr;
  }

  .preview {
    order: -1;
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  .ph__label {
    font-size: 0.8125rem;
  }

  .phases {
    gap: 0.75rem;
  }
}

/* ---------- Impressionen ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(150px, 20vw, 270px);
  gap: 8px;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.bento > .wp-block-image {
  grid-column: span 3;
  overflow: hidden;
}

.bento > .wp-block-image:first-child {
  grid-row: span 2;
}

.bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento > .wp-block-image:hover img {
  transform: scale(1.04);
}

@media (max-width: 860px) {
  .bento > .wp-block-image:nth-child(n) {
    grid-column: span 6;
    grid-row: span 1;
  }
}

/* ---------- Community (CTA) ---------- */

#community .wp-block-buttons {
  margin-top: 0.75rem;
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--ink-deep);
  color: var(--white);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
}

.footer__logos {
  margin-top: 2.5rem;
}

.footer__logos p {
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}

.footer__logos ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

/* Anzeigehöhe pro Logo optisch angeglichen, Wert aus dem Customizer (inc/footer-logos.php) */
.footer__logos img {
  width: auto;
  height: var(--logo-h, 40px);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a,
.footer__top {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--on-dark-muted);
}

.footer__links a:hover,
.footer__top:hover {
  color: var(--gold-bright);
}

/* ---------- Anmeldeformular (Dialog) ---------- */

.signup {
  width: min(650px + 3rem, 92vw); /* Formular 650 px breit wie im monday-Embed, dazu der Innenabstand */
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 5px 5px 56px 0 rgb(0 0 0 / 0.25);
}

.signup::backdrop {
  background: rgb(0 0 0 / 0.6);
}

.signup__panel {
  position: relative;
  padding: 3.5rem 1.5rem 1.5rem;
}

.signup__note {
  position: absolute;
  top: 1.1rem;
  left: 1.5rem;
  font-size: 0.8125rem;
  color: var(--grey-600);
}

.signup__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

/* Fokusrahmen im CI statt Browser-Türkis; beim Öffnen per Maus keiner, per Tastatur gold */
.signup__close:focus {
  outline: none;
}

.signup__close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}

.signup__close i {
  position: absolute;
  top: 50%;
  left: 0.7rem;
  right: 0.7rem;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.signup__close i:last-of-type {
  transform: rotate(-45deg);
}

.signup__frame iframe {
  display: block;
  width: 100%;
  height: min(500px, calc(92vh - 5rem)); /* Höhe wie im monday-Embed, das Formular scrollt darin */
  border: 0;
}

/* Hinweis statt Formular (Kapitalgeber, solange FA2026_INVESTOR_FORM leer ist) */
.signup__soon h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.signup__soon p {
  margin: 0 0 0.75rem;
}

.signup__soon a {
  color: var(--gold-deep);
  font-weight: 600;
}

/* ---------- Unterseiten: Kopf (PageHero) ---------- */

.phero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 3.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background: var(--ink);
  color: var(--white);
}

.phero__inner {
  position: relative;
  z-index: 1;
}

.crumbs {
  margin-bottom: 2.25rem;
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li + li::before {
  content: '/';
  margin-right: 0.5rem;
  opacity: 0.5;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--gold-bright);
}

.crumbs [aria-current] {
  color: var(--white);
}

.phero h1 {
  font-size: clamp(2.75rem, 7.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.phero__sub {
  margin-top: 1.5rem;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 500;
  color: var(--gold);
}

.phero__lead {
  max-width: 44rem;
  margin-top: 1.5rem;
  font-size: var(--fs-lead);
  color: var(--on-dark-muted);
}

.phero .wp-block-buttons {
  margin-top: 2.25rem;
}

/* ---------- Unterseiten: Sektionen ---------- */

.head-solo {
  grid-template-columns: 1fr;
}

.section.chartband {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.services {
  --line: rgb(32 32 32 / 0.2);
}

.logos {
  border-top: 1px solid var(--grey-200);
}

.rows {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.wall-wrap {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.partners {
  margin-top: clamp(4rem, 8vw, 6rem);
}

/* ---------- Leistungszeilen (ServiceRows) ---------- */

.sr {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line, rgb(255 255 255 / 0.25));
}

.sr li {
  border-top: 1px solid var(--line, rgb(255 255 255 / 0.25));
}

.sr__row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  color: inherit;
  text-decoration: none;
}

/* Hintergrundfläche läuft beim Überfahren von links ein */
.sr__row::before {
  content: '';
  position: absolute;
  inset: 0 -1rem;
  z-index: -1;
  background: currentColor;
  opacity: 0.07;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.sr__row:hover::before,
.sr__row:focus-visible::before {
  transform: scaleX(1);
}

.sr__head {
  display: grid;
  gap: 0.4rem;
  transition: transform 0.3s;
}

.sr__row:hover .sr__head,
.sr__row:focus-visible .sr__head {
  transform: translateX(0.5rem);
}

/* Eintrag ohne Link (wie FactRows im Entwurf): zwei Spalten, keine Fläche, kein Versatz beim Überfahren */
.sr__row--static {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
}

.sr__row--static::before {
  content: none;
}

.sr__row--static:hover .sr__head {
  transform: none;
}

.sr__title {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sr__sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold);
}

.section--light .sr__sub {
  color: var(--gold-deep);
}

.sr__text {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.85;
}

.sr__more {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sr__label {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(0.5rem);
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.sr__row:hover .sr__label,
.sr__row:focus-visible .sr__label {
  opacity: 1;
  transform: none;
}

.sr__btn {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid currentColor;
  transition:
    background-color 0.25s,
    color 0.25s;
}

.sr__btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.sr__row:hover .sr__btn,
.sr__row:focus-visible .sr__btn {
  background: currentColor;
}

.sr__row:hover .sr__btn svg,
.sr__row:focus-visible .sr__btn svg {
  color: var(--btn-fg);
}

@media (max-width: 860px) {
  .sr__row {
    grid-template-columns: 1fr auto;
  }

  .sr__text {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .sr__label {
    display: none;
  }
}

/* ---------- Aufklapp-Liste (Gruppe „acc“ mit Details-Blöcken) ---------- */

/* Zeilen wie Leistungsliste (.row) bzw. Leistungen (.sr__row). Statt zu verlinken öffnet ein Klick den Inhalt
   darunter, der Pfeil dreht von rechts nach unten. Immer nur eine Zeile je Liste ist offen (details name). */
.acc {
  --acc-line: var(--line, currentColor);
  border-bottom: 1px solid var(--acc-line);
}

.card .acc {
  margin-top: clamp(1rem, 2.4vh, 1.75rem);
}

.section--dark .acc {
  --acc-line: rgb(255 255 255 / 0.25);
}

.section--gold .acc {
  --acc-line: rgb(32 32 32 / 0.3);
}

.section--light .acc {
  --acc-line: rgb(32 32 32 / 0.2);
}

.services .acc {
  --acc-line: var(--line);
}

.acc__item {
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--acc-line);
  scroll-margin-top: calc(var(--header-h) + var(--admin-h, 0px) + 1rem);
}

/* Offene Zeile: Fläche hinter Kopfzeile und Inhalt, gleiche Breite wie die Hover-Fläche der Zeile */
.acc__item::before {
  content: '';
  position: absolute;
  inset: 0 -0.75rem;
  z-index: -1;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.acc__item--lg::before {
  inset: 0 -1rem;
}

.acc__item[open]::before {
  opacity: 0.06;
}

/* Auf hellem Grund ein blasses Gelb, auf Gold ein helleres Gold, jeweils als feste Farbe. Halbtransparentes
   Grau oder Anthrazit über dem Grund ergab Mischtöne, die auf manchen Bildschirmen bräunlich wirkten.
   Auf dunklem Grund bleibt die leichte Aufhellung mit der Textfarbe. */
.section--light :is(.row, .sr__row)::before {
  background: var(--gold-pale);
  opacity: 1;
}

.section--light .acc__item::before {
  background: var(--gold-pale-open);
}

.section--gold :is(.row, .sr__row)::before {
  background: var(--gold-light);
  opacity: 1;
}

.section--gold .acc__item::before {
  background: var(--gold-light-open);
}

:is(.section--light, .section--gold) .acc__item[open]::before {
  opacity: 1;
}

.section--dark :is(.row, .sr__row)::before,
.section--dark .acc__item::before {
  background: currentColor;
}

.acc__item > summary {
  list-style: none;
  cursor: pointer;
}

.acc__item > summary::-webkit-details-marker {
  display: none;
}

.acc__item > summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Pfeil nach unten, Beschriftung „Schließen“, Hintergrundfläche bleibt stehen */
.acc__item svg {
  transition: transform 0.3s ease;
}

.acc__item[open] > summary svg,
.acc__item[open] > .row:hover .row__ico,
.acc__item[open] > .row:focus-visible .row__ico {
  animation: none;
  transform: rotate(90deg);
}

.acc__less,
.acc__item[open] .acc__more {
  display: none;
}

.acc__item[open] .acc__less {
  display: inline;
}

.acc__item[open] > summary .row__label,
.acc__item[open] > summary .sr__label {
  opacity: 1;
  transform: none;
}

/* Aufklappen mit Höhen-Übergang, wo der Browser das kann (sonst springt der Inhalt auf) */
@supports selector(::details-content) {
  .acc {
    interpolate-size: allow-keywords;
  }

  .acc__item::details-content {
    height: 0;
    overflow: clip;
    transition:
      height 0.35s ease,
      content-visibility 0.35s allow-discrete;
  }

  .acc__item[open]::details-content {
    height: auto;
  }
}

.acc__inner {
  padding: 0.25rem 0 clamp(1rem, 2.4vh, 1.5rem);
  font-size: clamp(0.95rem, 1.8vh, 1.0625rem);
  line-height: 1.55;
}

.acc__inner > * {
  margin: 0 0 0.75rem;
  max-width: 42rem;
}

.acc__inner > :last-child {
  margin-bottom: 0;
}

.section--dark .acc__inner {
  color: var(--on-dark-muted);
}

.acc__inner h3,
.acc__inner h4 {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  color: inherit;
}

.section--dark .acc__inner h3,
.section--dark .acc__inner h4,
.section--dark .acc__inner strong {
  color: var(--white);
}

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

.acc__inner li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.25rem;
}

.acc__inner li::before {
  content: '';
  position: absolute;
  top: 0.95em;
  left: 0;
  width: 0.55rem;
  height: 2px;
  background: currentColor;
  opacity: 0.6;
}

.section--light .acc__inner li::before,
.section--dark .acc__inner li::before {
  background: var(--gold);
  opacity: 1;
}

.acc__inner .wp-block-buttons {
  margin-top: 1.25rem;
}

.acc__inner .wp-block-button__link {
  padding: 0.7rem 1.4rem;
  font-size: 0.8125rem;
}

/* Große Zeilen: Der Inhalt beginnt bündig mit dem Titel und reicht bis vor die Spalte des Pfeils. Absätze
   bleiben auf Lesebreite, Listen laufen auf großen Bildschirmen zweispaltig. Eine feine Linie trennt ihn vom Kopf. */
.acc__item--lg > .sr__row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 9.5rem;
}

.acc__item--lg .sr__more {
  justify-content: flex-end;
}

.acc__item--lg .acc__inner {
  margin-right: calc(9.5rem + clamp(1rem, 4vw, 4rem));
  padding: clamp(1.25rem, 2.4vw, 1.75rem) 0 clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--acc-line);
}

@media (min-width: 1000px) {
  .acc__item--lg .acc__inner ul {
    columns: 2;
    column-gap: clamp(2rem, 4vw, 4rem);
    max-width: none;
  }

  .acc__item--lg .acc__inner li {
    break-inside: avoid;
  }
}

@media (max-width: 860px) {
  .acc__item--lg > .sr__row {
    grid-template-columns: 1fr auto;
  }

  .acc__item--lg .acc__inner {
    margin-right: 0;
  }
}

/* ---------- Logowand (LogoWall) ---------- */

/* Raster mit Haarlinien, Logos in Graustufen, Farbe beim Überfahren */
.wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--grey-200);
  border-left: 1px solid var(--grey-200);
}

.wall > .wp-block-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--white);
  border-right: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

.wall > .wp-block-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition:
    filter 0.3s,
    opacity 0.3s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.wall > .wp-block-image.tight img {
  padding: 12% 16%;
}

.wall > .wp-block-image:hover img,
.wall > .wp-block-image:focus-within img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Verlinktes Logo (Link am Bild, „In neuem Tab öffnen“): ganze Zelle klickbar, Pfeil nach rechts oben als Hinweis */
.wall > .wp-block-image a {
  position: absolute;
  inset: 0;
}

.wall > .wp-block-image a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

/* Derselbe Pfeil wie fa2026_arrow() in inc/blocks.php, nach rechts oben gedreht */
.wall > .wp-block-image:has(a)::after {
  content: '';
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 1.15rem;
  height: 1.15rem;
  background: var(--gold-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(-45deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.wall > .wp-block-image:has(a):hover::after,
.wall > .wp-block-image:has(a):focus-within::after {
  opacity: 1;
}

/* Ohne Hover (Touch) ist der Hinweis immer zu sehen */
@media (hover: none) {
  .wall > .wp-block-image:has(a)::after {
    opacity: 0.6;
  }
}

@media (min-width: 640px) {
  .wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .wall {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Genau vier Logos (Partner): eine volle Reihe statt einer leeren Zelle */
@media (min-width: 640px) {
  .wall:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Lifecycle-Grafik (inc/lifecycle.php) ---------- */

.sk {
  margin: 0;
  color: var(--white);
}

.sk figcaption {
  margin-bottom: 1.5rem;
  font-size: clamp(1.1875rem, 1.5vw, 1.4375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sk__stage {
  position: relative;
}

/* Hellere Spalte für den Scale-up-Bereich, schiebt sich beim Überschreiten der Schwelle von links ein */
.sk__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgb(255 255 255 / 0.06);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.sk.is-armed:not(.is-crossed) .sk__panel {
  transform: scaleX(0);
}

.sk__plot {
  position: relative;
  aspect-ratio: 1000 / 560;
  container-type: size;
}

.sk__plot > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sk__y {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  font-size: clamp(0.7rem, 1.1cqw, 0.875rem);
  font-weight: 500;
  color: var(--on-dark-muted);
}

.sk__base {
  stroke: rgb(255 255 255 / 0.3);
  stroke-width: 1;
}

/* Linien: Gold im Start-up-Bereich, hinter dem Bruch weiß und kräftiger */
.sk__l {
  stroke: var(--gold);
  stroke-width: 1.5;
  opacity: 0.6;
  vector-effect: non-scaling-stroke;
  transition: opacity 0.3s;
}

.sk__l--after {
  stroke: var(--white);
  stroke-width: 2;
  opacity: 0.78;
}

.sk__l--m {
  stroke: var(--gold-bright);
  stroke-width: 3;
  opacity: 1;
}

.sk__thr {
  stroke: var(--gold-bright);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  transition: opacity 0.4s;
}

.sk.is-armed:not(.is-crossed) .sk__thr {
  opacity: 0.3;
}

.sk__sq {
  fill: var(--gold-bright);
  transition: opacity 0.4s;
}

/* Beschriftung der Schwelle oben an der Schwellenlinie: Aufbau und Schrift wie die Etiketten der Stufen (nur Text: oben links im Scaleup-Feld) */
.sk__note {
  position: absolute;
  display: grid;
  gap: 0.3rem;
  max-width: 21%;
  margin: 0;
  font-size: clamp(0.7rem, 1.1cqw, 0.9rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--white);
}

/* Schwelle im Stufen-Format: rechtsbündig links neben der Schwellenlinie, wie die Etiketten neben ihren Linien */
.sk__note--stage {
  max-width: 20%;
  text-align: right;
}

.sk__note {
  transition:
    opacity 0.5s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Etiketten der Stufen: rechtsbündig links neben der Linienspitze */
.sk__flag {
  position: absolute;
  display: grid;
  gap: 0.3rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font: inherit;
  text-align: right;
  cursor: default;
  transition:
    opacity 0.5s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s;
}

:is(.sk__flag, .sk__note) strong {
  font-size: clamp(1.1rem, 2.6cqw, 2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

:is(.sk__flag, .sk__note) em {
  font-style: normal;
  font-size: clamp(0.7rem, 1.15cqw, 0.9rem);
  font-weight: 600;
  color: var(--gold-bright);
}

:is(.sk__flag, .sk__note) span {
  font-size: clamp(0.68rem, 1.05cqw, 0.85rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--on-dark-muted);
}

.sk__flag:hover,
.sk__flag:focus-visible {
  color: var(--gold-bright);
}

/* Scrubbing aktiv: Etiketten und Quadrate erscheinen, sobald ihre Linie erreicht ist */
.sk.is-armed .sk__flag:not(.is-reached) {
  opacity: 0;
  transform: translateY(8px);
}

.sk.is-armed .sk__sq:not(.is-reached) {
  opacity: 0;
}

/* Die Beschriftung der Schwelle erscheint wie die Etiketten, sobald die Welle die Schwellenlinie passiert (is-crossed) */
.sk.is-armed:not(.is-crossed) .sk__note {
  opacity: 0;
  transform: translateY(8px);
}

/* Bänder unter der Grundlinie */
.sk__bands {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 1rem;
}

.sk__band {
  display: grid;
  align-content: start;
  gap: 0.2rem;
  padding-top: 0.9rem;
}

.sk__band--a {
  padding-left: 7%;
  padding-right: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.3);
}

.sk__band strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.sk__band span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-dark-muted);
}

/* Link-Band zu den Scale-ups: vor dem Bruch umrandet, danach gold gefüllt. Beim Hover und Tastaturfokus wischt eine
   Fläche von links durch (inc/lifecycle.php, .sk__wipe) und zeigt mittig den Linktext mit Pfeil; beim Verlassen läuft
   sie nach rechts wieder heraus. Der Inhalt darunter bewegt sich nicht, so springt nichts. */
.sk__band--link {
  --sk-wipe-bg: var(--ink);
  --sk-wipe-fg: var(--gold);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  margin: 0; /* bündig mit der helleren Scale-up-Spalte (.sk__panel), die an der Schwelle beginnt */
  border: 1.5px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  transition:
    background-color 0.4s,
    color 0.4s;
}

/* Vor dem Bruch steht das Band nur umrandet auf Anthrazit: dort wischt Gold statt Anthrazit */
.sk.is-armed:not(.is-crossed) .sk__band--link {
  --sk-wipe-bg: var(--gold);
  --sk-wipe-fg: var(--ink);
  background: transparent;
  color: var(--white);
}

.sk__band--link span {
  color: inherit;
}

.sk__bt {
  display: grid;
  gap: 0.2rem;
}

.sk__band--link .sk__wipe {
  position: absolute;
  z-index: 1; /* eigene Ebene über dem Inhalt des Bands, die Fläche (::before) liegt darin hinter dem Linktext */
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 1rem;
  color: var(--sk-wipe-fg);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
}

.sk__band--link .sk__wcta {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.sk__wipe::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--sk-wipe-bg);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sk__wcta,
.sk__wipe svg {
  opacity: 0;
  translate: -0.5rem 0;
  transition:
    opacity 0.18s ease,
    translate 0.18s ease;
}

.sk__wipe svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
}

.sk__band--link:hover .sk__wipe::before,
.sk__band--link:focus-visible .sk__wipe::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.sk__band--link:hover :is(.sk__wcta, .sk__wipe svg),
.sk__band--link:focus-visible :is(.sk__wcta, .sk__wipe svg) {
  opacity: 1;
  translate: 0 0;
  transition:
    opacity 0.3s ease 0.12s,
    translate 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.sk__band--link:hover .sk__wipe svg,
.sk__band--link:focus-visible .sk__wipe svg {
  transition-delay: 0.2s;
}

.sk__go {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px solid currentColor;
}

.sk__go svg {
  width: 1.15rem;
  height: 1.15rem;
  animation: sk-nudge 4.5s ease-in-out infinite;
}

/* Anhalten statt abschalten, sonst schnappt der Pfeil zurück */
.sk__band--link:hover .sk__go svg,
.sk__band--link:focus-visible .sk__go svg {
  animation-play-state: paused;
}

/* Weniger Bewegung: Fläche und Text nur kurz überblenden, ohne Wischen und Verschieben */
@media (prefers-reduced-motion: reduce) {
  .sk__wipe::before {
    opacity: 0;
    transform: none;
    transition: opacity 0.2s;
  }

  .sk__band--link:hover .sk__wipe::before,
  .sk__band--link:focus-visible .sk__wipe::before {
    opacity: 1;
    transform: none;
  }

  .sk__wcta,
  .sk__wipe svg,
  .sk__band--link:hover :is(.sk__wcta, .sk__wipe svg),
  .sk__band--link:focus-visible :is(.sk__wcta, .sk__wipe svg) {
    translate: none;
    transition: opacity 0.2s;
  }
}

@keyframes sk-nudge {
  0%,
  62%,
  100% {
    transform: translateX(0);
  }
  78% {
    transform: translateX(3px);
  }
}

.sk__src {
  margin: 1.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
}

.sk__list {
  display: none;
}

/* Schmale Bildschirme: Skyline mit Markierungen 1 bis 4, darunter die Stufen als kompakte Aufklapp-Liste */
@media (max-width: 899px) {
  .sk__plot {
    aspect-ratio: 1000 / 560;
    container-type: normal;
  }

  .sk__panel,
  .sk__flag,
  .sk__note,
  .sk__sq {
    display: none;
  }

  .sk__y {
    font-size: 0.75rem;
  }

  .sk__l:nth-child(even):not(.sk__l--m) {
    display: none;
  }

  .sk__bands {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .sk__band--a {
    padding-left: 0;
  }

  .sk__band--link {
    margin: 0;
  }
}

/* Aufbau-Animation schmal: die Zeichnung läuft einmal von links ein, die Markierungen folgen */
.sk.is-reveal .sk__plot > svg,
.sc.is-reveal .sc__plot > svg {
  clip-path: inset(-20px -20px -20px -20px);
  transition: clip-path 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sk.is-reveal:not(.is-in) .sk__plot > svg,
.sc.is-reveal:not(.is-in) .sc__plot > svg {
  clip-path: inset(-20px 100% -20px -20px);
}

.sk.is-reveal:not(.is-in) .sk__num,
.sc.is-reveal:not(.is-in) .sc__num,
.sc.is-reveal:not(.is-in) .sc__zonelab {
  opacity: 0;
}

/* Nummerierte Markierungen und Liste: nur schmal sichtbar, für Lifecycle-Grafik (sk) und Ertragskurve (sc) gleich */
.sk__num,
.sc__num,
.sc__zonelab,
.sc__list {
  display: none;
}

@media (max-width: 899px) {
  .sk__num,
  .sc__num {
    position: absolute;
    display: grid;
    place-items: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: var(--gold-bright);
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    transition: opacity 0.4s ease var(--d, 0ms);
    transform: translate(-50%, calc(-100% - 6px));
  }

  .sc__num--below {
    transform: translate(-50%, 6px);
  }

  .sc__num--center {
    transform: translate(-50%, -50%);
  }

  .sc__zonelab {
    position: absolute;
    display: block;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-bright);
    transition: opacity 0.4s ease var(--d, 0ms);
  }

  .sk__list,
  .sc__list {
    display: block;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgb(255 255 255 / 0.25);
  }

  .sk__list li,
  .sc__list li {
    border-bottom: 1px solid rgb(255 255 255 / 0.25);
  }

  .sk__list summary,
  .sc__list summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3rem;
    padding: 0.5rem 0;
    cursor: pointer;
    list-style: none;
  }

  .sk__list summary::-webkit-details-marker,
  .sc__list summary::-webkit-details-marker {
    display: none;
  }

  /* Pfeil: dreht beim Öffnen nach oben */
  .sk__list summary::after,
  .sc__list summary::after {
    content: '';
    flex: none;
    width: 0.5rem;
    height: 0.5rem;
    margin: 0 0.25rem 0.25rem auto;
    border-right: 2px solid var(--gold-bright);
    border-bottom: 2px solid var(--gold-bright);
    transform: rotate(45deg);
    transition: transform 0.2s;
  }

  .sk__list details[open] summary::after,
  .sc__list details[open] summary::after {
    margin-bottom: -0.25rem;
    transform: rotate(-135deg);
  }

  .sk__n,
  .sc__n {
    display: grid;
    flex: none;
    place-items: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: var(--gold-bright);
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
  }

  .sk__list strong,
  .sc__list strong {
    font-size: 1.0625rem;
    font-weight: 600;
  }

  .sk__list summary em {
    font-style: normal;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-bright);
  }

  .sk__more,
  .sc__more {
    display: grid;
    gap: 0.5rem;
    padding: 0 0 1rem 2.125rem;
  }

  .sk__more p,
  .sc__more p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--on-dark-muted);
  }

  .sc__more em {
    font-style: normal;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-bright);
  }

  .sc__more a {
    justify-self: start;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gold-bright);
    text-underline-offset: 0.25em;
  }
}

/* ---------- Weniger Bewegung ---------- */

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

  .hero__cue::after,
  .sk__go svg,
  .row__ico {
    animation: none;
  }

  .lf svg {
    transform: none;
  }

  .lf .ln {
    animation: none !important;
    transform: none !important;
  }

  .ticker {
    overflow-x: auto;
  }

  .ticker__track {
    animation: none;
  }

  .ticker ul[aria-hidden='true'] {
    display: none;
  }

  .card > .container {
    transform: none;
    opacity: 1;
  }

  .card__shade {
    display: none;
  }

  .acc__item svg,
  .acc__item::before,
  .acc__item::details-content,
  .sub-menu,
  .submenu-toggle::before,
  .sr__head,
  .sr__label,
  .sr__row::before,
  .sk__flag,
  .sk__note,
  .sk__l,
  .sk__sq,
  .sk__panel,
  .wall > .wp-block-image img,
  .wall > .wp-block-image::after,
  .row__title,
  .row__label,
  .row::before,
  .preview .wp-block-image,
  .bento img {
    transition: none;
  }
}

/* ---------- Ertragskurve (inc/scalecurve.php) ---------- */

.sc {
  margin: 0;
  color: var(--white);
}

.sc figcaption {
  margin-bottom: 1.5rem;
  font-size: clamp(1.1875rem, 1.5vw, 1.4375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sc__plot {
  position: relative;
  aspect-ratio: 1000 / 520;
  container-type: size;
}

.sc__plot > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sc [hidden] {
  display: none !important;
}

/* Achsenbeschriftung */
.sc__y,
.sc__x {
  position: absolute;
  margin: 0;
  font-size: clamp(0.7rem, 1.1cqw, 0.875rem);
  font-weight: 500;
  color: var(--on-dark-muted);
}

.sc__y {
  left: 0;
  top: 0;
}

.sc__x {
  right: 3.5%;
  top: 79.5%;
}

.sc__axis {
  fill: none;
  stroke: rgb(255 255 255 / 0.5);
  stroke-width: 1.5;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
}

/* hellere Spalte für den hervorgehobenen Bereich, schiebt sich von links ein */
.sc__zone {
  fill: rgb(255 255 255 / 0.06);
  transform-box: fill-box;
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc.is-armed .sc__zone:not(.is-reached) {
  transform: scaleX(0);
}

/* Linien: im Tal weiß und blass, im Scale-up gold, danach weiß */
.sc__l {
  stroke: var(--white);
  stroke-width: 1.5;
  opacity: 0.6;
  vector-effect: non-scaling-stroke;
  transition: opacity 0.3s;
}

.sc__l--valley {
  opacity: 0.5;
}

.sc__l--scale {
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.85;
}

.sc__l--later {
  opacity: 0.75;
}

.sc__l--post {
  opacity: 0.45;
}

/* Fokus Later Stage: Gold wandert vom Scale-up in den Bereich bis zum Börsengang */
.sc--later .sc__l--scale {
  stroke: var(--white);
  stroke-width: 1.5;
  opacity: 0.75;
}

.sc--later .sc__l--later {
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.85;
}

.sc__l--m {
  stroke: var(--gold-bright);
  stroke-width: 3;
  opacity: 1;
}

/* Breakeven: kräftige Goldlinie wie die Schwelle der Lifecycle-Grafik, Ende Scale-up und Börsengang fein */
.sc__thr {
  stroke: var(--gold-bright);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.sc__div {
  stroke: rgb(255 255 255 / 0.45);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.sc__br {
  fill: none;
  stroke: rgb(255 255 255 / 0.7);
  stroke-width: 1.5;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
  transition:
    opacity 0.5s,
    stroke 0.25s;
}

.sc__br--gold {
  stroke: var(--gold);
}

.sc[data-active='scaleup'] [data-br='scaleup'],
.sc[data-active='laterstage'] [data-br='laterstage'] {
  stroke: var(--gold-bright);
  stroke-width: 3;
}

.sc__sq {
  fill: var(--gold-bright);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 0.4s,
    transform 0.25s;
}

.sc[data-active='valley'] [data-id='valley'],
.sc[data-active='breakeven'] [data-id='breakeven'],
.sc[data-active='ipo'] [data-id='ipo'] {
  transform: scale(1.7);
}

/* Textbausteine in der Fläche */
.sc__founder,
.sc__fund {
  position: absolute;
  margin: 0;
  font-size: clamp(0.7rem, 1.15cqw, 0.9rem);
  font-weight: 500;
  line-height: 1.3;
}

.sc__founder {
  color: var(--on-dark-muted);
}

.sc__fund {
  width: max-content;
  max-width: 14cqw;
  transform: translateX(-50%);
  text-align: center;
  color: var(--gold-bright);
}

.sc__fund--wide {
  max-width: 40cqw;
}

/* Beschriftungen als Schaltflächen */
.sc__pt,
.sc__tag {
  position: absolute;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font: inherit;
  cursor: default;
  transition:
    opacity 0.5s,
    color 0.25s;
}

.sc__lab {
  font-size: clamp(0.75rem, 1.2cqw, 0.95rem);
  font-weight: 600;
  line-height: 1.2;
}

/* Punkte: 28 px Trefferfläche um das Quadrat, Text daneben */
.sc__pt {
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
}

.sc__pt .sc__lab {
  position: absolute;
  display: block;
  white-space: nowrap;
}

/* Valley of Death steht unter der tiefsten Linie */
.sc__pt--valley .sc__lab {
  top: calc(50% + 1.1cqw);
  left: 50%;
  transform: translateX(-50%);
}

.sc__pt--breakeven .sc__lab {
  right: calc(50% + 1cqw);
  bottom: calc(50% + 1.6cqw);
  text-align: right;
}

.sc__tag--mid {
  transform: translateX(-50%);
}

.sc__tag--ipo .sc__lab {
  font-size: clamp(1.1rem, 2.6cqw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.sc__tag:not(.sc__tag--plain):not(.sc__tag--ipo) .sc__lab {
  color: var(--gold-bright);
}

.sc__pt:hover,
.sc__pt:focus-visible,
.sc__tag:hover,
.sc__tag:focus-visible {
  color: var(--gold-bright);
}

.sc__pt:focus-visible .sc__lab,
.sc__tag:focus-visible .sc__lab {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* Scrubbing aktiv: Beschriftungen und Marker erscheinen, sobald ihre Linie erreicht ist */
.sc__fade {
  transition: opacity 0.5s;
}

.sc.is-armed .sc__fade:not(.is-reached) {
  opacity: 0;
}

.sc.is-armed .sc__pt:not(.is-reached),
.sc.is-armed .sc__tag:not(.is-reached) {
  pointer-events: none;
}

/* Erklärung unter der Grundlinie, rechts neben dem Tal */
.sc__info {
  position: absolute;
  left: 34%;
  top: 85.5%;
  width: 62%;
  display: grid;
  gap: 0.2rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.3);
}

.sc__info.is-empty {
  visibility: hidden;
}

.sc__info strong {
  font-size: clamp(0.95rem, 1.5cqw, 1.15rem);
  font-weight: 600;
}

.sc__info span {
  font-size: clamp(0.75rem, 1.15cqw, 0.9rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--on-dark-muted);
}

.sc__info span[data-info-meta] {
  color: var(--gold-bright);
  font-weight: 600;
}

.sc__info a {
  justify-self: start;
  font-size: clamp(0.75rem, 1.15cqw, 0.9rem);
  font-weight: 600;
  color: var(--gold-bright);
  text-underline-offset: 0.25em;
}

.sc__info a:hover {
  color: var(--white);
}

/* Schmale Bildschirme: Kurve mit Achsen, beschrifteter Spalte und Markierungen 1 bis 5 (Regeln für Markierungen und Liste siehe oben bei der Lifecycle-Grafik) */
@media (max-width: 899px) {
  .sc__plot {
    aspect-ratio: 1000 / 520;
    container-type: normal;
  }

  .sc__l:nth-child(even):not(.sc__l--m) {
    display: none;
  }

  .sc__founder,
  .sc__fund,
  .sc__pt,
  .sc__tag,
  .sc__info,
  .sc__br,
  .sc__sq,
  .sc__div {
    display: none;
  }

  .sc__y,
  .sc__x {
    font-size: 0.75rem;
  }

  /* Links neben der Achse ist schmal kein Platz (Achse bei 7 % der Breite), die Beschriftung steht rechts davon */
  .sc__y {
    left: calc(7% + 0.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc__fade,
  .sc__sq,
  .sc__br,
  .sc__zone,
  .sc__l,
  .sc__pt,
  .sc__tag {
    transition: none;
  }
}

/* ---------- Unterseite Scale-ups: Kennzahlen direkt nach dem Text, Definition darunter ---------- */

.section.profile {
  padding-bottom: 0;
}

.kpis:has(+ .kpis-note) {
  padding-bottom: 0;
}

.section.kpis-note {
  padding-top: 2.5rem;
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.kpis-note p {
  max-width: 44rem;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--grey-600);
}

/* ---------- Unterseite BW Pre-Seed (Mockup, patterns/bw-pre-seed.php) ---------- */

/* Helle Sektion direkt nach einer anderen hellen Sektion: der Abstand davor reicht */
.section.certified {
  padding-top: 0;
}

/* Start-up-BW-Logo rechts über den Absätzen, in natürlicher Breite */
.certified__logo {
  margin-bottom: 1.75rem;
}

.certified__logo img {
  width: auto;
  height: clamp(4rem, 7vw, 6rem);
}

/* ---------- Double Listing (inc/double-listing.php) ---------- */
/* Kapitalstrom: Unternehmen → Mini IPO → Börsenplätze. Zwischen den Feldern laufen feine Linien (SVG, auf den
   Zwischenraum gestreckt). Der fertige Zustand ist der Normalfall (ohne JavaScript, „Bewegung reduzieren“). Nur mit
   .is-armed (breit, Scroll-Antrieb) oder .is-reveal (schmal, einmaliger Aufbau) beginnt die Grafik leer. */

.mini-ipo {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.mini-ipo .dl {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.dl {
  --dl-line: var(--gold);
  --dl-fill: var(--gold);
  --dl-on-fill: var(--ink);
  --dl-flow: clamp(4.5rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--dl-flow) minmax(0, 1fr) var(--dl-flow) minmax(0, 1.1fr);
  align-items: stretch;
}

/* Auf Gold: Linien und gefülltes Feld in Anthrazit */
.section--gold .dl {
  --dl-line: var(--ink);
  --dl-fill: var(--ink);
  --dl-on-fill: #fff;
}

.dl__cell {
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1.5px solid currentColor;
  overflow-wrap: break-word;
  transition: border-color 0.4s ease;
}

.dl__cell strong {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.dl__cell span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-deep);
}

.section--dark .dl__cell span {
  color: var(--gold);
}

/* Auf Gold wäre Gold-dunkel kaum lesbar: Untertitel in der Textfarbe */
.section--gold .dl__cell span {
  color: inherit;
}

/* Mini IPO: Goldrahmen, die Fläche füllt sich von links, sobald der Strom ankommt */
.dl__cell--mid {
  isolation: isolate;
  border-color: var(--dl-fill);
  color: var(--dl-on-fill);
  transition: color 0.3s ease 0.15s;
}

.dl__cell--mid::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--dl-fill);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.dl__cell--mid span,
.section--dark .dl__cell--mid span {
  color: inherit;
}

.dl__venues {
  display: grid;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
}

/* Ankunftspunkt des Stroms am Börsenplatz: kleines Quadrat auf der Kante */
.dl__sq {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--dl-line);
  translate: -50% -50%;
  transition: scale 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.dl__flow {
  position: relative;
  min-width: 0;
}

.dl__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.dl__svg--v {
  display: none;
}

.dl__l {
  fill: none;
  stroke: var(--dl-line);
  stroke-width: 1.2;
  opacity: 0.55;
  vector-effect: non-scaling-stroke;
}

/* Fortschritt je Linie: --d (1 leer, 0 ganz) beschneidet sie von der Spitze her, waagerecht von rechts, senkrecht
   von unten. Ein Beschnitt statt Strichmuster, weil das gestreckte SVG die Strichlänge verfälschen würde. */
.dl__svg--h .dl__l {
  clip-path: inset(0 calc(var(--d, 0) * 100%) 0 0);
}

.dl__svg--v .dl__l {
  clip-path: inset(0 0 calc(var(--d, 0) * 100%) 0);
}

.dl__l--hot {
  stroke-width: 2;
  opacity: 1;
}

/* Breit mit Scroll-Antrieb: leer beginnen, Felder werden erreicht (is-reached setzt main.js) */
.dl.is-armed .dl__cell--mid:not(.is-reached) {
  color: inherit;
}

.dl.is-armed .dl__cell--mid:not(.is-reached)::before {
  transform: scaleX(0);
}

.dl.is-armed .dl__cell--venue:not(.is-reached) {
  border-color: color-mix(in srgb, currentColor 22%, transparent);
}

.dl.is-armed .dl__cell--venue:not(.is-reached) .dl__sq {
  scale: 0;
}

@media (max-width: 899px) {
  .dl {
    --dl-flow: clamp(3rem, 12vw, 4.5rem);
    grid-template-columns: minmax(0, 1fr);
  }

  .dl__svg--h {
    display: none;
  }

  .dl__svg--v {
    display: block;
  }

  .dl__flow {
    height: var(--dl-flow);
  }

  /* Zwei Börsenplätze nebeneinander, der Strom gabelt sich nach links und rechts; drei untereinander */
  .dl:not(.dl--stack) .dl__venues {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dl:not(.dl--stack) .dl__cell--venue {
    align-content: start;
    padding: 1.25rem 1rem;
  }

  .dl:not(.dl--stack) .dl__cell--venue strong {
    font-size: 1.125rem;
  }

  .dl:not(.dl--stack) .dl__cell--venue span {
    font-size: 0.875rem;
  }

  .dl__sq {
    top: 0;
    left: 50%;
  }

  .dl--stack .dl__cell--venue:not(:first-child) .dl__sq {
    display: none;
  }

  /* Einmaliger Aufbau, sobald die Grafik im Bild ist: Strom, Goldfeld, Gabelung, Börsenplätze */
  .dl.is-reveal .dl__l {
    transition: clip-path 0.7s cubic-bezier(0.33, 1, 0.68, 1);
  }

  .dl.is-reveal .dl__flow--fork .dl__l {
    transition-delay: 0.75s;
  }

  .dl.is-reveal .dl__cell--mid::before {
    transition-delay: 0.45s;
  }

  .dl.is-reveal .dl__cell--mid {
    transition-delay: 0.6s;
  }

  .dl.is-reveal .dl__cell--venue {
    transition-delay: 1.3s;
  }

  .dl.is-reveal .dl__sq {
    transition-delay: 1.35s;
  }

  .dl.is-reveal:not(.is-in) .dl__svg--v .dl__l {
    clip-path: inset(0 0 100% 0);
  }

  .dl.is-reveal:not(.is-in) .dl__cell--mid {
    color: inherit;
  }

  .dl.is-reveal:not(.is-in) .dl__cell--mid::before {
    transform: scaleX(0);
  }

  .dl.is-reveal:not(.is-in) .dl__cell--venue {
    border-color: color-mix(in srgb, currentColor 22%, transparent);
  }

  .dl.is-reveal:not(.is-in) .dl__sq {
    scale: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dl *,
  .dl *::before {
    transition: none !important;
  }
}

/* ---------- Zitat (inc/zitat.php) ---------- */
/* Ruhiger Block wie src/components/Quote.astro: Goldbalken links, Zitat groß, Name fett, Rolle in Gold.
   Mit Foto (Klasse „zitat--foto“) steht ein quadratisches Porträt in Graustufen links neben dem Zitat, schmal darüber. */
.zitat {
  max-width: 62rem;
  margin: 0;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  border-left: 6px solid var(--gold);
}

/* Abstand zum Inhalt davor (Sektionskopf, Zeilen), als erstes Element ohne */
* + .zitat {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.zitat blockquote {
  margin: 0;
}

.zitat blockquote p {
  font-size: clamp(1.4rem, 2.6vw, 2.25rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.zitat figcaption {
  display: grid;
  gap: 0.15rem;
  margin-top: 1.5rem;
}

.zitat figcaption strong {
  font-size: 1.0625rem;
  font-weight: 600;
}

.zitat figcaption span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gold-deep);
}

.section--dark .zitat figcaption span {
  color: var(--gold);
}

.section--gold .zitat {
  border-left-color: var(--ink);
}

.section--gold .zitat figcaption span {
  color: inherit;
}

.zitat--foto {
  display: grid;
  grid-template-columns: clamp(7rem, 12vw, 10rem) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.zitat__foto {
  grid-row: 1 / span 2;
  overflow: hidden;
  background: var(--grey-200);
}

.zitat__foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1);
  transition: filter 0.5s;
}

.zitat:hover .zitat__foto img {
  filter: none;
}

/* Kompakt (Klasse „zitat-kompakt“ an der Gruppe): kleiner Text und kleines Foto in Farbe, als ruhiger Abschluss nach
   Zeilen oder Text. Das Foto bleibt farbig, ohne Wechsel beim Überfahren. */
.zitat-kompakt {
  max-width: 52rem;
}

.zitat-kompakt.zitat--foto {
  grid-template-columns: clamp(5.5rem, 8vw, 7rem) minmax(0, 1fr);
}

.zitat-kompakt blockquote p {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.35;
}

.zitat-kompakt figcaption {
  margin-top: 1rem;
}

.zitat-kompakt .zitat__foto img,
.zitat-kompakt:hover .zitat__foto img {
  filter: none;
}

@media (max-width: 560px) {
  .zitat--foto {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .zitat__foto {
    grid-row: auto;
    width: 5.5rem;
    margin-bottom: 1.25rem;
  }

  /* gleiche Spezifität wie oben, sonst bliebe das Raster mit zwei Spalten */
  .zitat-kompakt.zitat--foto {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zitat__foto img {
    transition: none;
  }
}

/* ---------- Events ---------- */
/* Status einer Veranstaltung: flaches Etikett mit Rahmen (Absatz mit Klasse „event-status“) */
.event-status {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-block: 0.25rem 0.75rem;
  padding: 0.3rem 0.7rem;
  border: 1.5px solid currentColor;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Label „Upcoming“ / „Vergangen“ über dem Titel einer Veranstaltung (inc/events.php, fa2026_render_details()).
   Eckig wie .event-status, Upcoming in Grün, Vergangen gedämpft. Auf Gold in der Textfarbe. */
.event-label {
  justify-self: start;
  width: fit-content;
  margin-bottom: 0.2rem;
  padding: 0.2rem 0.55rem;
  border: 1.5px solid currentColor;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-label--upcoming {
  color: var(--green);
}

.event-label--vergangen {
  color: var(--grey-600);
}

.section--dark .event-label--upcoming {
  color: var(--green-bright);
}

.section--dark .event-label--vergangen {
  color: var(--on-dark-muted);
}

.section--gold .event-label {
  color: inherit;
}

/* Leere Upcoming-Liste: ein neutraler Satz in der Optik einer Zeile */
.events-hinweis {
  margin: 0;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--acc-line);
  font-size: var(--fs-lead);
  opacity: 0.8;
}

/* ---------- Über uns ---------- */

/* Die Kennzahlen folgen direkt auf die Mission, ihr eigener Abstand reicht */
.section.mission {
  padding-bottom: 0;
}

/* Teamkarten: Gruppe „team“ mit je einer Gruppe „member“ (Bild, H3, Absatz „member__role“).
   Quadratische Porträts in Graustufen (gleicht die Studiohintergründe an), bei Hover oder Fokus in Farbe. */
.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2.5vw, 2rem);
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
}

.team > .member {
  min-width: 0;
  margin: 0;
}

.member .member__photo {
  margin: 0;
  overflow: hidden;
  background: var(--grey-200);
}

.member .member__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1);
  transition: filter 0.5s;
}

.member:hover .member__photo img,
.member:focus-within .member__photo img {
  filter: none;
}

/* Goldbalken wie über den Titeln der Sektionen */
.member h3 {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 4px solid var(--gold);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
}

.member .member__role {
  margin: 0.3rem 0 0;
  font-weight: 500;
  color: var(--gold);
}

.section--light .member .member__role {
  color: var(--gold-deep);
}

@media (max-width: 860px) {
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .team {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .member .member__photo img {
    transition: none;
  }
}

/* ---------- VC-Vergleich (inc/vcflow.php) ---------- */

.vfs {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
}

.vf {
  --plot-h: 8.75rem;
  --vf-line: rgb(255 255 255 / 0.16);
  --vf-fa: rgb(190 155 25 / 0.14); /* --gold mit Transparenz */
  --vf-vc: rgb(255 255 255 / 0.06);
  --vf-fa-soft: rgb(190 155 25 / 0.09);
  --vf-vc-soft: rgb(255 255 255 / 0.04);
  margin: 0;
}

@supports (background: color-mix(in srgb, red 10%, transparent)) {
  .vf {
    --vf-fa: color-mix(in srgb, var(--gold) 14%, transparent);
    --vf-fa-soft: color-mix(in srgb, var(--gold) 9%, transparent);
  }
}

.vf + .vf {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--vf-line);
}

/* Kopf einer Spur: Titel mit Balken (Gold bei „Mit“, weiß bei „Ohne“), darunter die Kernaussage */
.vf__head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.vf__title {
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  line-height: 1.08;
}

.vf__title::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 4px;
  margin-bottom: 1rem;
  background: rgb(255 255 255 / 0.45);
}

.vf--with .vf__title::before {
  width: 4.5rem;
  height: 6px;
  background: var(--gold);
}

.vf__lead {
  max-width: 40rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.vf__body {
  display: grid;
  gap: 0.75rem;
}

/* Eingang: hier kommen die Start-ups herein */
.vf__intake {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.3;
}

.vf__intake strong {
  font-size: 1.0625rem;
  font-weight: 600;
}

.vf__intake span {
  font-weight: 500;
  color: var(--gold-bright);
  text-wrap: balance;
}

.vf__track {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Zeichnung: Linien (Start-ups), Tor-Linien an den Stufengrenzen, Segmentflächen */
.vf__plot {
  position: relative;
  height: var(--plot-h);
}

.vf__plot > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.vf__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  border-top: 1.5px solid;
}

.vf__panel--vc {
  background: var(--vf-vc);
  border-color: rgb(255 255 255 / 0.55);
}

.vf__panel--fa {
  background: var(--vf-fa);
  border-color: var(--gold);
}

/*
 * Alle senkrechten Kanten (Tor-Linien, Übergabe-Linie, Segmentflächen, Spalten der Stufen und Balken, Schild) leitet
 * inc/vcflow.php aus denselben Grenzwerten in Prozent der Spurbreite ab. Linien sind HTML-Elemente, die mit
 * translate auf ihrer Grenze zentriert sind, nicht SVG-Linien oder Rahmen der Zellen, deshalb liegen alle Kanten
 * auf derselben x-Position.
 */
.vf__main {
  position: relative;
}

.vf__gate,
.vf__cut {
  position: absolute;
  top: 0;
  bottom: 0;
  translate: -50% 0;
  pointer-events: none;
}

.vf__gate {
  width: 1px;
  background: var(--vf-line);
}

/* Übergabe: eine einzige Linie durch Zeichnung und Beschriftung */
.vf__cut {
  z-index: 1;
  width: 3px;
  background: var(--gold-bright);
}

/* Linien: blass im Gold, wer die Auswahl besteht, leuchtet; hinter der Übergabe nur noch die hellen */
.vf__l {
  stroke: var(--gold);
  stroke-width: 1.2;
  opacity: 0.6;
  vector-effect: non-scaling-stroke;
}

.vf--without .vf__l {
  opacity: 0.78; /* ohne uns trägt der VC alle Linien bis zum Ende */
}

.vf--with .vf__l {
  opacity: 0.55; /* mit uns reißen die meisten früh ab */
}

.vf--with .vf__l--pass,
.vf--with .vf__l--hot {
  opacity: 1;
}

.vf__l--hot {
  stroke: var(--gold-bright);
  stroke-width: 2.2;
  opacity: 1;
}

/* Quadrat am Ende der beständigsten Linien: hier fällt die Entscheidung */
.vf__sq {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--gold-bright);
  translate: -50% -50%;
}

/* Stufen: Beschriftung unter der Zeichnung, jede Spalte in der Farbe ihres Segments */
.vf__steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vf__step {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.75rem 0.85rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--on-dark-muted);
  overflow-wrap: anywhere; /* Notbremse für lange Wörter, weiche Trennstriche (&shy;) im Text trennen schöner */
}

.vf__step--fa {
  background: var(--vf-fa-soft);
}

.vf__step--vc {
  background: var(--vf-vc-soft);
}

.vf__step strong {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}

/* Warme Übergabe: goldenes Schild an der Grenze zwischen Finance Accelerator und VC */
.vf__hand {
  position: absolute;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  background: var(--gold);
  color: var(--ink);
  translate: -50% 0;
}

.vf__hand-text {
  display: grid;
  align-content: center;
  gap: 0.1rem;
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
}

.vf__hand strong {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.15;
}

.vf__hand-text span {
  font-size: 0.8125rem;
  font-weight: 500;
}

.vf__hand-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  border-left: 1.5px solid var(--ink);
}

.vf__hand-ico svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* Balken unter den Stufen: wer trägt den Aufwand? Gold = Finance Accelerator, weißer Rahmen = VC */
.vf__zones {
  display: grid;
  margin-top: 0.75rem;
}

.vf__zone {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: baseline;
  gap: 0.1rem 0.85rem;
  min-height: 3.25rem;
  padding: 0.6rem 1.1rem;
  border: 1.5px solid;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.vf__zone strong {
  font-size: 1.0625rem;
  font-weight: 600;
}

.vf__zone span {
  font-weight: 500;
}

.vf__zone--cut.vf__zone--fa {
  border-right-width: 0;
}

.vf__zone--cut.vf__zone--vc {
  border-left-width: 0;
}

.vf__zone--fa {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.vf__zone--vc {
  border-color: rgb(255 255 255 / 0.55);
  background: rgb(255 255 255 / 0.1);
}

.vf__zone--vc span {
  color: var(--on-dark-muted);
}

.vf__nums {
  display: none;
}

.vf__note {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
}

/* Breit: Eingang links neben der Zeichnung, Stufen als Beschriftung. Die Zeichnung baut sich beim Scrollen auf. */
@media (min-width: 900px) {
  .vf__head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 6rem);
  }

  .vf__body {
    grid-template-columns: minmax(7.5rem, 11%) minmax(0, 1fr);
    column-gap: clamp(1rem, 2vw, 1.75rem);
    align-items: start;
  }

  .vf__intake {
    align-content: center;
    justify-items: end;
    height: var(--plot-h);
    text-align: right;
  }

  .vf__step {
    transition:
      opacity 0.5s,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .vf__zone,
  .vf__sq,
  .vf__cut,
  .vf__hand {
    transition:
      opacity 0.5s,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Scrubbing aktiv: Beschriftungen erscheinen, sobald die Zeichnung sie erreicht */
  .vf.is-armed [data-at]:not(.is-reached) {
    opacity: 0;
  }

  .vf.is-armed .vf__step:not(.is-reached),
  .vf.is-armed .vf__hand:not(.is-reached) {
    transform: translateY(8px);
  }
}

/* Schmal: Zeichnung im Endzustand mit nummerierten Spalten, darunter die Balken und die Stufen als Liste */
@media (max-width: 899px) {
  .vf {
    --plot-h: 9.5rem;
    --nums-h: 2.75rem;
  }

  /* Die Wrapper-Box entfällt, Zeichnung, Nummern, Balken und Liste ordnen sich in der Spur neu. Die Linien reichen
     über Zeichnung und Nummern (feste Höhen). */
  .vf__main {
    display: contents;
  }

  .vf__gate,
  .vf__cut {
    bottom: auto;
    height: calc(var(--plot-h) + var(--nums-h));
  }

  .vf__intake {
    grid-auto-flow: column;
    justify-content: start;
    align-items: baseline;
    gap: 0.5rem;
  }

  .vf__zone {
    display: grid;
    gap: 0.15rem;
  }

  .vf__plot {
    order: 1;
  }

  .vf__nums {
    order: 2;
    display: grid;
    height: var(--nums-h);
  }

  .vf__zones {
    order: 3;
    margin-top: 0.75rem;
  }

  .vf__steps {
    order: 4;
    display: block;
    margin-top: 1.25rem;
    border-top: 1px solid rgb(255 255 255 / 0.25);
    counter-reset: vf;
  }

  .vf__num {
    display: grid;
    place-items: center;
    padding: 0.55rem 0;
    transition: opacity 0.4s ease 0.6s;
  }

  .vf__num--fa {
    background: var(--vf-fa);
  }

  .vf__num--vc {
    background: var(--vf-vc);
  }

  .vf__num b,
  .vf__step::before {
    display: grid;
    flex: none;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
  }

  .vf__num--fa b,
  .vf__step--fa::before {
    background: var(--gold-bright);
    color: var(--ink);
  }

  .vf__num--vc b,
  .vf__step--vc::before {
    border: 1.5px solid var(--white);
    color: var(--white);
  }

  .vf__step {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.85rem;
    row-gap: 0.1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.25);
    background: none;
    counter-increment: vf;
  }

  .vf__step::before {
    content: counter(vf);
    grid-row: span 2;
  }

  .vf__step strong {
    font-size: 1rem;
  }

  .vf__step span {
    font-size: 0.875rem;
  }

  .vf__zone {
    min-height: 3.5rem;
    padding: 0.7rem 0.75rem;
    font-size: 0.8125rem;
  }

  .vf__zone strong {
    font-size: 0.9375rem;
  }

  .vf__hand {
    top: 0.4rem;
  }

  .vf__hand-text {
    padding: 0.4rem 0.7rem;
  }

  .vf__hand strong {
    font-size: 0.875rem;
  }

  .vf__hand-text span {
    font-size: 0.75rem;
  }

  .vf__hand-ico {
    width: 1.75rem;
  }

  .vf__hand-ico svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  /* Aufbau-Animation schmal: die Zeichnung läuft einmal von links ein, Schild und Quadrat folgen */
  .vf.is-reveal .vf__plot > svg {
    clip-path: inset(-20px -20px -20px -20px);
    transition: clip-path 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .vf.is-reveal:not(.is-in) .vf__plot > svg {
    clip-path: inset(-20px 100% -20px -20px);
  }

  .vf.is-reveal .vf__hand,
  .vf.is-reveal .vf__cut,
  .vf.is-reveal .vf__sq {
    transition: opacity 0.5s ease 1.2s;
  }

  .vf.is-reveal:not(.is-in) .vf__hand,
  .vf.is-reveal:not(.is-in) .vf__cut,
  .vf.is-reveal:not(.is-in) .vf__sq,
  .vf.is-reveal:not(.is-in) .vf__num {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vf__step,
  .vf__zone,
  .vf__sq,
  .vf__cut,
  .vf__hand,
  .vf__num,
  .vf__plot > svg {
    transition: none !important;
  }
}

/* ---------- Standort (inc/standort.php) ---------- */

/* Links Adresse, Anfahrt und Route, rechts die Karte. Schmal (Handy, Tablet hochkant) untereinander. */
.standort {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.standort__info {
  display: grid;
  gap: 2rem;
  align-content: start;
}

.standort__adresse {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: var(--fs-lead);
  font-style: normal;
  line-height: 1.5;
}

.standort__adresse strong {
  font-weight: 600;
}

/* Goldener Pin: Ersatz für die Markierung in der Google-Karte, die sich ohne API-Key nicht färben lässt */
.standort__pin {
  flex: none;
  width: 2rem;
  height: 2rem;
  color: var(--gold);
}

.section--gold .standort__pin {
  color: var(--ink);
}

/* Goldbalken über „Anfahrt“ wie über den Namen der Teamkarten */
.standort__anfahrt h3 {
  padding-top: 1.25rem;
  border-top: 4px solid var(--gold);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
}

.section--gold .standort__anfahrt h3 {
  border-top-color: var(--ink);
}

.standort__anfahrt > * + * {
  margin-top: 0.75rem;
}

.standort__anfahrt ul,
.standort__anfahrt ol {
  padding-left: 1.25rem;
}

/* Kartenfläche: Anthrazit mit feinem Raster, bis die Karte geladen ist */
.standort__karte {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  min-height: 20rem;
  background: var(--ink);
  color: var(--white);
}

.section--dark .standort__karte {
  background: var(--ink-soft);
}

.standort__vorschau {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-position: center;
  background-size: 48px 48px;
  text-align: center;
}

.standort__vorschau .standort__pin {
  width: 3rem;
  height: 3rem;
  color: var(--gold);
}

.standort__ort {
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.4;
}

.standort__laden {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.standort__laden[hidden] {
  display: none;
}

.standort__hinweis {
  max-width: 30rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.standort__hinweis a {
  color: var(--gold-bright);
  text-underline-offset: 0.2em;
}

.standort__karte iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 860px) {
  .standort {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .standort__karte {
    aspect-ratio: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .standort .btn,
  .standort .wp-block-button__link {
    transition: none;
  }
}

/* ---------- Ablauf (inc/ablauf.php) ---------- */
/* Prozess als Strom durch Stationen: ein Bündel aus sieben Linien, an jeder Station eng gebündelt, die letzte
   Station ist ein Goldfeld. Jede Station trägt ihr Stück Strom bis zur nächsten (.ab__seg, SVG auf das Stück
   gestreckt). Der fertige Zustand ist der Normalfall (ohne JavaScript, „Bewegung reduzieren“). Nur mit .is-armed
   (breit, Scroll-Antrieb) oder .is-reveal (schmal, einmaliger Aufbau) beginnt die Grafik leer bzw. gedimmt.
   Farben je Grund über Custom Properties, Standard ist der dunkle Grund. */

.ab {
  --ab-line: var(--gold); /* Linien und Quadrate */
  --ab-accent: var(--gold); /* Nummer und Akteur */
  --ab-text: color-mix(in srgb, currentColor 74%, transparent); /* auf Dunkel wie --on-dark-muted */
  --ab-fill: var(--gold); /* Goldfeld der letzten Station */
  --ab-on-fill: var(--ink);
  --ab-on-fill-accent: var(--ink);
  --ab-on-fill-text: color-mix(in srgb, var(--ink) 86%, transparent);
  --ab-band: 4.5rem; /* Höhe des Stroms (breit) */
  --ab-col: 3rem; /* Breite des Stroms (schmal) */
  --ab-sq: 0.75rem; /* Kantenlänge der Quadrate */
  --ab-sq-y: 0.5rem; /* schmal: Höhe der Quadratmitte, auf der Zeile der Nummer */
  --ab-t: 0.3s; /* schmal: Staffelung des Aufbaus je Station */
  margin: 0;
}

* + .ab {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Auf Weiß: Nummer und Akteur in dunklerem Gold (Kontrast) */
.section--light .ab {
  --ab-accent: var(--gold-deep);
}

/* Auf Gold: Linien, Akteur und Goldfeld in Anthrazit, Text im Feld weiß */
.section--gold .ab {
  --ab-line: var(--ink);
  --ab-accent: var(--ink);
  --ab-text: color-mix(in srgb, var(--ink) 86%, transparent);
  --ab-fill: var(--ink);
  --ab-on-fill: var(--white);
  --ab-on-fill-accent: var(--gold);
  --ab-on-fill-text: var(--on-dark-muted);
}

.ab figcaption {
  margin-bottom: 1.5rem;
  font-size: clamp(1.1875rem, 1.5vw, 1.4375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ab__steps {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Station: oben der Strom (Höhe --ab-band), darunter der Text. Kein Spaltenabstand, damit jedes Stück Strom genau
   an der nächsten Station endet; der Abstand zum Nachbarn ist der Innenabstand rechts. */
.ab__step {
  position: relative;
  min-width: 0;
  padding: calc(var(--ab-band) + 1.25rem) clamp(1rem, 2.2vw, 2rem) 0 0;
}

.ab__sq {
  position: absolute;
  z-index: 1;
  top: calc(var(--ab-band) / 2);
  left: 0;
  width: var(--ab-sq);
  height: var(--ab-sq);
  background: var(--ab-line);
  translate: 0 -50%;
  transition: scale 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Stück Strom von der Mitte dieses Quadrats bis zur Mitte des nächsten (bzw. bis zur Kante des Goldfelds) */
.ab__seg {
  position: absolute;
  top: 0;
  left: calc(var(--ab-sq) / 2);
  width: 100%;
  height: var(--ab-band);
}

.ab__seg--goal {
  width: calc(100% - var(--ab-sq) / 2);
}

.ab__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ab__svg--v {
  display: none;
}

.ab__l {
  fill: none;
  stroke: var(--ab-line);
  stroke-width: 1.2;
  opacity: 0.55;
  vector-effect: non-scaling-stroke;
}

.ab__l--hot {
  stroke-width: 2;
  opacity: 1;
}

/* Fortschritt je Linie: --d (1 leer, 0 ganz) beschneidet sie von der Spitze her, waagerecht von rechts, senkrecht
   von unten. Ein Beschnitt statt Strichmuster, weil das gestreckte SVG die Strichlänge verfälschen würde. */
.ab__svg--h .ab__l {
  clip-path: inset(0 calc(var(--d, 0) * 100%) 0 0);
}

.ab__svg--v .ab__l {
  clip-path: inset(0 0 calc(var(--d, 0) * 100%) 0);
}

.ab__body {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  transition: opacity 0.45s ease;
}

.ab__num {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--ab-accent);
  transition: color 0.3s ease;
}

.ab__title {
  font-size: clamp(1.125rem, 1.55vw, 1.375rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.ab__who {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ab-accent);
}

.ab__text {
  margin-top: 0.15rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ab-text);
  overflow-wrap: break-word;
}

.ab__text a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.ab__text a:hover,
.ab__text a:focus-visible {
  color: var(--ab-accent);
}

/* Letzte Station: Goldfeld, in das der Strom mündet. Rahmen immer, die Fläche füllt sich von links. */
.ab__step--goal {
  --ab-accent: var(--ab-on-fill-accent);
  --ab-text: var(--ab-on-fill-text);
  isolation: isolate;
  padding-inline: clamp(1rem, 1.8vw, 1.5rem);
  padding-bottom: 1.5rem;
  box-shadow: inset 0 0 0 1.5px var(--ab-fill);
  color: var(--ab-on-fill);
  transition: color 0.3s ease 0.15s;
}

.ab__step--goal::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ab-fill);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab__step--goal .ab__text a:hover,
.ab__step--goal .ab__text a:focus-visible {
  color: inherit;
}

/* Breit, viele Stationen oder knapper Platz: Texte etwas kleiner */
@media (min-width: 900px) and (max-width: 1180px) {
  .ab__step {
    padding-right: 1.25rem;
  }

  .ab__text {
    font-size: 0.875rem;
  }
}

@media (min-width: 900px) {
  .ab--dense .ab__step {
    padding-right: clamp(0.875rem, 1.4vw, 1.5rem);
  }

  .ab--dense .ab__step--goal {
    padding-inline: clamp(0.875rem, 1.4vw, 1.25rem);
  }

  .ab--dense .ab__title {
    font-size: clamp(1rem, 1.3vw, 1.1875rem);
  }

  .ab--dense .ab__text {
    font-size: 0.875rem;
  }
}

/* Breit mit Scroll-Antrieb: Stationen leuchten auf, sobald der Strom sie erreicht (is-reached setzt main.js) */
.ab.is-armed .ab__step:not(.is-reached) .ab__sq {
  scale: 0;
}

.ab.is-armed .ab__step:not(.is-reached) .ab__body {
  opacity: 0.4;
}

.ab.is-armed .ab__step:not(.is-reached) .ab__num {
  color: inherit;
}

.ab.is-armed .ab__step--goal:not(.is-reached) {
  --ab-accent: inherit;
  --ab-text: inherit;
  color: inherit;
}

.ab.is-armed .ab__step--goal:not(.is-reached)::before {
  transform: scaleX(0);
}

/* Schmal: Strom senkrecht links, Stationen untereinander, das Goldfeld über die volle Breite */
@media (max-width: 899px) {
  .ab__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab__step {
    padding: 0 0 2.25rem var(--ab-col);
  }

  .ab__sq {
    top: var(--ab-sq-y);
    left: calc(var(--ab-col) / 2);
    translate: -50% -50%;
  }

  .ab__seg {
    top: var(--ab-sq-y);
    left: 0;
    width: var(--ab-col);
    height: 100%;
  }

  .ab__seg--goal {
    width: var(--ab-col);
    height: calc(100% - var(--ab-sq-y));
  }

  .ab__svg--h {
    display: none;
  }

  .ab__svg--v {
    display: block;
  }

  .ab__title {
    font-size: 1.1875rem;
  }

  /* Auf dem Tablet hochkant nicht über die ganze Breite: angenehme Zeilenlänge */
  .ab__body {
    max-width: 40rem;
  }

  .ab__step--goal {
    padding: 1.25rem 1.25rem 1.5rem var(--ab-col);
  }

  /* Der Strom kommt von oben: das Feld füllt sich von oben */
  .ab__step--goal::before {
    transform-origin: center top;
  }

  /* Einmaliger Aufbau, sobald die Grafik im Bild ist: Station für Station, zuletzt das Goldfeld */
  .ab.is-reveal .ab__l {
    transition: clip-path var(--ab-t) linear calc(var(--i) * var(--ab-t));
  }

  .ab.is-reveal .ab__sq {
    transition: scale 0.35s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i) * var(--ab-t));
  }

  .ab.is-reveal .ab__body {
    transition: opacity 0.5s ease calc(var(--i) * var(--ab-t));
  }

  .ab.is-reveal .ab__step--goal {
    transition: color 0.3s ease calc(var(--i) * var(--ab-t) + 0.15s);
  }

  .ab.is-reveal .ab__step--goal::before {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i) * var(--ab-t));
  }

  .ab.is-reveal:not(.is-in) .ab__svg--v .ab__l {
    clip-path: inset(0 0 100% 0);
  }

  .ab.is-reveal:not(.is-in) .ab__sq {
    scale: 0;
  }

  .ab.is-reveal:not(.is-in) .ab__body {
    opacity: 0.4;
  }

  .ab.is-reveal:not(.is-in) .ab__step--goal {
    --ab-accent: inherit;
    --ab-text: inherit;
    color: inherit;
  }

  .ab.is-reveal:not(.is-in) .ab__step--goal::before {
    transform: scaleY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab *,
  .ab *::before {
    transition: none !important;
  }
}

/* ---------- Textseite (Impressum, Datenschutz: Gruppe „textseite“ im Container) ---------- */

.textseite {
  max-width: 46rem;
  font-size: var(--fs-body);
  line-height: 1.65;
}

.textseite > * + * {
  margin-top: 1em;
}

.textseite h2 {
  margin-top: 2.25em;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.textseite h3 {
  margin-top: 1.75em;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.25;
}

.textseite > :first-child {
  margin-top: 0;
}

.textseite h2 + *,
.textseite h3 + * {
  margin-top: 0.6em;
}

.textseite ul,
.textseite ol {
  padding-left: 1.25em;
}

.textseite li + li {
  margin-top: 0.35em;
}

.textseite a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

.section--light .textseite a {
  color: var(--gold-deep);
}

.section--dark .textseite a {
  color: var(--gold);
}
