/* Raleway lokal (OFL) — kein Google Fonts CDN */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/raleway/raleway-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/raleway/raleway-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --purple-std: #323a49;
  --brand-blue: #00aeef;
  --brand-blue-dark: #007faf;
  /* Nav-Buttons (filled): idle dunkel → hover hell — Flyout-Kacheln ausgenommen */
  --nav-btn-idle: var(--brand-blue-dark);
  --nav-btn-hover: var(--brand-blue);
  --tile-tab-inset: 25px;
  --purple-accent: var(--brand-blue);
  /* Eyebrow / Kicker: überall wie Hero (Größe + Standardblau, nicht hell) */
  --eyebrow-size: 0.72rem;
  --eyebrow-weight: 600;
  --eyebrow-tracking: 0.14em;
  --eyebrow-color: var(--brand-blue-dark);
  --nav-accent: #6ec8ff;
  --bridge-bg: var(--segment-bg);
  --surface-light: #e5e6e7;
  --hero-bg: var(--surface-light);
  --segment-bg: var(--brand-blue-dark);
  --becki-head: #323a49;
  --becki-surface: #c5cdd6;
  --becki-chat-user-bg: #8a97a8;
  --becki-chat-user-text: #fff;
  --becki-accent: var(--brand-blue);
  --purple-dark: #752073;
  --purple-footer: #752073;
  --gray-panel: #e8eaee;
  --gray-soft: var(--surface-light);
  --tile-bg: #fff;
  --stage-bg: #e6e6e6;
  --tile-socket-bg: var(--gray-soft);
  --text: #2d2d2d;
  --text-muted: #5a6270;
  --text-hell: rgba(255, 255, 255, 0.82);
  --white: #fff;
  --reiter-h: 40px;
  --hero-pager-chev-w: clamp(24px, 2.5vw, 32px);
  --hero-pager-chev-w-stacked: 22px;
  --max-w: 1240px;
  --topbar-h: 72px;
  /* Höhe der blauen Brotkrumen-Zeile; 0 wenn keine Crumb auf der Seite */
  --article-crumb-h: 0px;
  --sticky-header-offset: calc(var(--topbar-h) + var(--article-crumb-h));
  --sticky-aside-gap: 40px;
  --becki-chat-gap-below-topbar: 20px;
  --becki-chat-gap-below-header: 20px;
  --layout-gutter: clamp(1rem, 3vw, 1.5rem);
  --nav-trigger-size: 0.72rem;
  --nav-trigger-pad-x: 0.55rem;
  --nav-trigger-pad-y: 0.45rem;
  --nav-trigger-min-h: 40px;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(50, 58, 73, 0.1);
  /* Erweiterte Markenpalette (blockweise Content-Akzente) — Spalten = Familien, Zeilen 1→4 dunkel→hell */
  --pal-blue-1: #007faf;
  --pal-blue-2: #00aeef;
  --pal-blue-3: #79d4f6;
  --pal-blue-4: #b0e6fb;
  --pal-violet-1: #752073;
  --pal-violet-2: #92278f;
  --pal-violet-3: #bb7ab9;
  --pal-violet-4: #d8b3d7;
  --pal-red-1: #a33737;
  --pal-red-2: #cb4747;
  --pal-red-3: #e39494;
  --pal-red-4: #f7c9c9;
  --pal-gold-1: #b3862d;
  --pal-gold-2: #cc9933;
  --pal-gold-3: #ddbb77;
  --pal-gold-4: #ebd7af;
  --pal-green-1: #3b9051;
  --pal-green-2: #4ead65;
  --pal-green-3: #71cb8f;
  --pal-green-4: #ace2bb;
  --pal-teal-1: #258b7c;
  --pal-teal-2: #2fad9a;
  --pal-teal-3: #85cec3;
  --pal-teal-4: #b7e2db;
  --pal-gray-1: #7d7d7d;
  --pal-gray-2: #b3b3b3;
  --pal-gray-3: #cccccc;
  --pal-gray-4: #e6e6e6;
  /* Aufzählungs-Bullet: SVG-Form (mask) + eine Farbe → an einer Stelle pflegbar */
  --bullet-color: var(--pal-violet-1);
  --bullet-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Ccircle cx='4' cy='4' r='4' fill='%23000'/%3E%3C/svg%3E");
  --nav-flyout-col-max: 208px;
  --nav-flyout-col-width: var(--nav-flyout-col-max);
  --nav-flyout-col-min: 112px;
  --nav-flyout-desc-step: 5%;
  --nav-flyout-link-step: 4%;
  /* Hellster Gradations-Ton (Referenz: rechte Spalte bei 3 Segmenten) */
  --nav-flyout-desc-bg: color-mix(in srgb, var(--purple-std) calc(100% - 2 * var(--nav-flyout-desc-step)), white calc(2 * var(--nav-flyout-desc-step)));
  --nav-flyout-link-idle-bg: #0d95c8;
  --nav-flyout-below-topbar: 0px;
}

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

html {
  scroll-behavior: smooth;
  /* Clip statt hidden: kein Scroll-Container, sticky bleibt; fängt 100vw-Bleed ab. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Raleway", system-ui, sans-serif;
  color: var(--text);
  background: var(--purple-std);
  line-height: 1.5;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.page-wrap {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* —— Topbar + Flyout (Kacheln mit Erklärtext, Farben wie Original) —— */
.topbar {
  background: var(--purple-std);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.65rem var(--layout-gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1440px) {
  .topbar__inner {
    max-width: min(100%, 1520px);
    padding-left: clamp(1.25rem, 2.5vw, 2.5rem);
    padding-right: clamp(1.25rem, 2.5vw, 2.5rem);
  }
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.topbar__brand img {
  width: 48px;
  height: 48px;
}

.topbar__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  min-width: 0;
}

.nav-item {
  position: relative;
}

/* Unsichtbare Brücke zum Flyout — Hover bleibt beim Mausweg L1 → Untermenü */
.nav-item:not(.nav-item--leaf)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.4rem;
}

.nav-item__trigger {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: var(--nav-trigger-size);
  font-weight: inherit;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: var(--nav-trigger-pad-y) var(--nav-trigger-pad-x);
  min-height: var(--nav-trigger-min-h);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  white-space: nowrap;
  position: relative;
  z-index: 0;
  transition: color 0.15s ease;
}

/* Hover-Fläche ohne Layout-Sprung (kein Box-Model-Wechsel am Button) */
.nav-item__trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--nav-btn-idle);
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
  z-index: -1;
}

/* Breite für fetten Rollover reservieren — verhindert Wackeln der Nachbar-Buttons */
.nav-item__text {
  display: inline-grid;
  vertical-align: top;
}

.nav-item__text-measure,
.nav-item__text-inner {
  grid-area: 1 / 1;
  white-space: nowrap;
}

.nav-item__text-measure {
  font-weight: 600;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

/* Hauptnavi: dauerhaft halbfett — Rollover blendet nur den blauen Hintergrund ein */
.nav-item__text-inner {
  font-weight: 600;
}

.nav-item__trigger:hover,
.nav-item__trigger:focus-visible {
  outline: none;
}

.nav-item:hover .nav-item__trigger::before,
.nav-item:focus-within .nav-item__trigger::before,
.nav-item.is-open .nav-item__trigger::before,
.nav-item--active .nav-item__trigger::before,
.nav-item__trigger[aria-current="page"]::before {
  opacity: 1;
  background: var(--nav-btn-hover);
}

.nav-item__chev {
  display: none;
}

.nav-flyout {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: min(300px, 88vw);
  max-width: 340px;
  background: transparent;
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
  z-index: 50;
}

.nav-item:hover .nav-flyout,
.nav-item:focus-within .nav-flyout,
.nav-item.is-open .nav-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Nach Auswahl eines Unterpunkts einklappen — bis der Nav-Punkt verlassen wird.
   Höhere Spezifität als :hover, damit das Flyout trotz Maus darüber schließt. */
.nav-item.nav-item--dismissed .nav-flyout {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
}

/*
 * Geschlossene Flyouts + Hover-Brücke (::after) aus dem Layout nehmen —
 * sonst blähen max-content/Flyout-Breiten die Dokumentbreite auf
 * (Chrome Device-Mode: Overflow → Seite wirkt links angeschnitten).
 */
.nav-item:not(:hover):not(:focus-within):not(.is-open) > .nav-flyout,
.nav-item.nav-item--dismissed > .nav-flyout {
  display: none !important;
}

.nav-item:not(:hover):not(:focus-within):not(.is-open):not(.nav-item--leaf)::after,
.nav-item.nav-item--dismissed:not(.nav-item--leaf)::after {
  content: none;
  width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
}

.nav-flyout__desc {
  margin: 0;
  padding: 0.85rem 1rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 300;
  color: var(--white);
  background: var(--brand-blue-dark);
}

.nav-flyout__links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: var(--brand-blue);
  padding: 0.55rem 1rem 0.85rem;
  margin: 0;
}

.nav-flyout__links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--white);
  text-decoration: none;
  padding: 0.2rem 0.1rem;
  border-radius: 4px;
}

.nav-flyout__links a:hover {
  font-weight: 700;
}

.nav-flyout__wide {
  display: none;
}

.nav-flyout__panel-link {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
  padding: 0.55rem 1rem 0.85rem;
  background: var(--brand-blue);
}

.nav-flyout__panel-link:hover {
  font-weight: 700;
}

/* Breite Variante: Segmente ohne Abstand, nur Außenkanten rund, Nav-Rollover */
body.nav-flyout-wide .topbar__nav {
  align-items: stretch;
}

body.nav-flyout-wide .topbar__nav .nav-item {
  display: flex;
  align-items: center;
}

body.nav-flyout-wide .nav-flyout__compact {
  display: none;
}

body.nav-flyout-wide .nav-flyout__wide {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: max-content;
  max-width: 92vw;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  /* Kurze Einblend-Bewegung von oben — wie kompakte Subnavi */
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

body.nav-flyout-wide .nav-item:hover .nav-flyout__wide,
body.nav-flyout-wide .nav-item:focus-within .nav-flyout__wide,
body.nav-flyout-wide .nav-item.is-open .nav-flyout__wide {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body.nav-flyout-wide .nav-flyout__wide {
    transition: none;
    transform: none;
  }
}

body.nav-flyout-wide .nav-flyout {
  position: absolute;
  left: var(--flyout-shift, 0);
  top: calc(100% + var(--nav-flyout-below-topbar));
  width: calc(var(--flyout-cols, 3) * var(--nav-flyout-col-width));
  min-width: 0;
  max-width: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  z-index: 50;
  overflow: visible;
  transform: none;
  transition: none;
}

body.nav-flyout-wide .nav-item:hover .nav-flyout,
body.nav-flyout-wide .nav-item:focus-within .nav-flyout,
body.nav-flyout-wide .nav-item.is-open .nav-flyout {
  transform: none;
  transition: none;
}

body.nav-flyout-wide .nav-item:not(.nav-item--leaf)::after {
  left: var(--flyout-shift, 0);
  width: calc(var(--flyout-cols, 3) * var(--nav-flyout-col-width));
  max-width: none;
  right: auto;
  height: calc(0.4rem + var(--nav-flyout-below-topbar));
}

body.nav-flyout-wide .nav-flyout__panel {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--nav-flyout-col-width);
  width: var(--nav-flyout-col-width);
  min-width: 0;
  min-height: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  text-decoration: none;
  color: var(--white);
  cursor: pointer;
  background: transparent;
  /* Default = Blau; Paletten überschreiben via data-flyout-palette */
  --flyout-tile-deep: var(--brand-blue-dark);
  --flyout-tile-mid: var(--nav-flyout-link-idle-bg);
  --flyout-tile-hover: var(--nav-btn-hover);
}

body.nav-flyout-wide .nav-flyout__panel:hover,
body.nav-flyout-wide .nav-flyout__panel:focus-visible {
  outline: none;
}

body.nav-flyout-wide .nav-flyout__panel .nav-flyout__desc {
  flex: 1;
  padding: 0.85rem 1rem 0.75rem;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 300;
  background: var(--flyout-tile-deep);
  color: var(--white);
  transition: background 0.15s ease;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Subnavipunkte dauerhaft halb fett */
body.nav-flyout-wide .nav-flyout__panel-link {
  display: block;
  margin-top: auto;
  padding: 0.55rem 1rem 0.85rem;
  pointer-events: none;
  background: var(--flyout-tile-mid);
  font-size: var(--nav-trigger-size);
  letter-spacing: 0.02em;
  font-weight: 600;
  white-space: normal;
  line-height: 1.2;
  transition: background 0.15s ease;
}

/* Panel-Hover: Intro → Mid; Unterpunkt → Hover-Ton */
body.nav-flyout-wide .nav-flyout__panel:hover .nav-flyout__desc,
body.nav-flyout-wide .nav-flyout__panel:focus-visible .nav-flyout__desc {
  background: var(--flyout-tile-mid);
}

body.nav-flyout-wide .nav-flyout__panel:hover .nav-flyout__panel-link,
body.nav-flyout-wide .nav-flyout__panel:focus-visible .nav-flyout__panel-link {
  background: var(--flyout-tile-hover);
}

/* —— Flyout-Paletten (pro Hauptmenüpunkt, opt-in) —— */
/* blue-shade: abwechselnd Standard-Blau / leicht dunkler — ruhige Abgrenzung */
body.nav-flyout-wide .nav-item[data-flyout-palette="blue-shade"] .nav-flyout__panel:nth-child(odd) {
  --flyout-tile-deep: var(--brand-blue-dark);
  --flyout-tile-mid: var(--nav-flyout-link-idle-bg);
  --flyout-tile-hover: var(--nav-btn-hover);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="blue-shade"] .nav-flyout__panel:nth-child(even) {
  /* etwas dunkler als Standard, aber nicht navy-schwarz */
  --flyout-tile-deep: color-mix(in srgb, var(--brand-blue-dark) 88%, black);
  --flyout-tile-mid: color-mix(in srgb, var(--brand-blue-dark) 62%, var(--nav-flyout-link-idle-bg));
  /* gleiches helles Rollover wie helle Kacheln — sonst zwischen Idle-Hell unsichtbar */
  --flyout-tile-hover: var(--nav-btn-hover);
}

/* brand: Kachel 1 = Standardblau; ab 2 Brand Row-2 — Link idle etwas heller, Hover wie Std (nicht pastellig) */
body.nav-flyout-wide .nav-item[data-flyout-palette="brand"] .nav-flyout__panel:nth-child(6n + 2) {
  --flyout-tile-deep: var(--pal-blue-2);
  --flyout-tile-mid: color-mix(in srgb, var(--pal-blue-2) 82%, white);
  --flyout-tile-hover: color-mix(in srgb, var(--pal-blue-2) 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="brand"] .nav-flyout__panel:nth-child(6n + 3) {
  --flyout-tile-deep: var(--pal-violet-2);
  --flyout-tile-mid: color-mix(in srgb, var(--pal-violet-2) 82%, white);
  --flyout-tile-hover: color-mix(in srgb, var(--pal-violet-2) 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="brand"] .nav-flyout__panel:nth-child(6n + 4) {
  --flyout-tile-deep: var(--pal-red-2);
  --flyout-tile-mid: color-mix(in srgb, var(--pal-red-2) 82%, white);
  --flyout-tile-hover: color-mix(in srgb, var(--pal-red-2) 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="brand"] .nav-flyout__panel:nth-child(6n + 5) {
  --flyout-tile-deep: var(--pal-gold-2);
  --flyout-tile-mid: color-mix(in srgb, var(--pal-gold-2) 82%, white);
  --flyout-tile-hover: color-mix(in srgb, var(--pal-gold-2) 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="brand"] .nav-flyout__panel:nth-child(6n + 6) {
  --flyout-tile-deep: var(--pal-green-2);
  --flyout-tile-mid: color-mix(in srgb, var(--pal-green-2) 82%, white);
  --flyout-tile-hover: color-mix(in srgb, var(--pal-green-2) 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="brand"] .nav-flyout__panel:nth-child(6n + 1):not(:first-child) {
  --flyout-tile-deep: var(--pal-teal-2);
  --flyout-tile-mid: color-mix(in srgb, var(--pal-teal-2) 82%, white);
  --flyout-tile-hover: color-mix(in srgb, var(--pal-teal-2) 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="brand"] .nav-flyout__panel:first-child {
  --flyout-tile-deep: var(--brand-blue-dark);
  --flyout-tile-mid: var(--nav-flyout-link-idle-bg);
  --flyout-tile-hover: var(--nav-btn-hover);
}

/* rainbow: Kachel 1 = Standardblau; ab 2 Cyan–Violett-8 — Link idle heller, Hover gemäßigt */
body.nav-flyout-wide .nav-item[data-flyout-palette="rainbow"] .nav-flyout__panel:nth-child(8n + 2) {
  --flyout-tile-deep: #0a6f96;
  --flyout-tile-mid: color-mix(in srgb, #0a6f96 82%, white);
  --flyout-tile-hover: color-mix(in srgb, #0a6f96 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="rainbow"] .nav-flyout__panel:nth-child(8n + 3) {
  --flyout-tile-deep: #1a5f78;
  --flyout-tile-mid: color-mix(in srgb, #1a5f78 82%, white);
  --flyout-tile-hover: color-mix(in srgb, #1a5f78 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="rainbow"] .nav-flyout__panel:nth-child(8n + 4) {
  --flyout-tile-deep: #1e3f66;
  --flyout-tile-mid: color-mix(in srgb, #1e3f66 82%, white);
  --flyout-tile-hover: color-mix(in srgb, #1e3f66 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="rainbow"] .nav-flyout__panel:nth-child(8n + 5) {
  --flyout-tile-deep: #1f7a72;
  --flyout-tile-mid: color-mix(in srgb, #1f7a72 82%, white);
  --flyout-tile-hover: color-mix(in srgb, #1f7a72 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="rainbow"] .nav-flyout__panel:nth-child(8n + 6) {
  --flyout-tile-deep: #8a6b2e;
  --flyout-tile-mid: color-mix(in srgb, #8a6b2e 82%, white);
  --flyout-tile-hover: color-mix(in srgb, #8a6b2e 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="rainbow"] .nav-flyout__panel:nth-child(8n + 7) {
  --flyout-tile-deep: #5c2a6e;
  --flyout-tile-mid: color-mix(in srgb, #5c2a6e 82%, white);
  --flyout-tile-hover: color-mix(in srgb, #5c2a6e 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="rainbow"] .nav-flyout__panel:nth-child(8n + 8) {
  --flyout-tile-deep: #2a4a5c;
  --flyout-tile-mid: color-mix(in srgb, #2a4a5c 82%, white);
  --flyout-tile-hover: color-mix(in srgb, #2a4a5c 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="rainbow"] .nav-flyout__panel:nth-child(8n + 1):not(:first-child) {
  --flyout-tile-deep: #6e2a5a;
  --flyout-tile-mid: color-mix(in srgb, #6e2a5a 82%, white);
  --flyout-tile-hover: color-mix(in srgb, #6e2a5a 70%, white);
}
body.nav-flyout-wide .nav-item[data-flyout-palette="rainbow"] .nav-flyout__panel:first-child {
  --flyout-tile-deep: var(--brand-blue-dark);
  --flyout-tile-mid: var(--nav-flyout-link-idle-bg);
  --flyout-tile-hover: var(--nav-btn-hover);
}

/* Viele Spalten: Schrift bleibt 0.8rem; JS skaliert Spaltenbreite in den Band Logo→CTA. */

.nav-layout-toggle {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0 0 0 0.5rem;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

.nav-layout-toggle:hover,
.nav-layout-toggle:focus-visible {
  opacity: 1;
  outline: none;
}

.nav-layout-toggle__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}

body.nav-flyout-wide .nav-layout-toggle__dot {
  background: #fff;
  border-color: #fff;
  transform: scale(1.08);
}

.topbar__tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

/* Reduzierte Landing-Topnav: Logo → Startseite, rechts Tel + Mail */
.topbar--minimal .topbar__inner {
  justify-content: space-between;
}

.topbar--minimal .topbar__tools {
  margin-left: auto;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--nav-trigger-min-h);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.topbar__contact:hover,
.topbar__contact:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.topbar__contact--mail {
  background: var(--white);
  border-color: var(--white);
  color: var(--purple-std);
}

.topbar__contact--mail:hover,
.topbar__contact--mail:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  color: var(--purple-dark);
}

@media (max-width: 640px) {
  .topbar--minimal .topbar__contact--phone,
  .topbar--minimal .topbar__contact--mail {
    font-size: 0.72rem;
    padding: 0.4rem 0.65rem;
  }
}

@media (min-width: 1025px) {
  .topbar__nav {
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    row-gap: 0.22rem;
    column-gap: 0.12rem;
  }

  .topbar__inner {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --nav-trigger-size: 0.78rem;
    --nav-trigger-pad-x: 0.62rem;
  }

  .topbar__nav {
    column-gap: 0.18rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --nav-trigger-size: 0.875rem;
    --nav-trigger-pad-x: 0.72rem;
    --nav-trigger-pad-y: 0.5rem;
    --nav-trigger-min-h: 44px;
  }

  .topbar__nav {
    column-gap: 0.22rem;
  }

  .topbar__brand img {
    width: 52px;
    height: 52px;
  }

  .topbar__cta {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }
}

@media (min-width: 1680px) {
  .topbar__nav {
    flex-wrap: nowrap;
  }
}

.topbar__blog {
  color: var(--nav-accent);
  font-size: var(--nav-trigger-size);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 0.9rem;
}

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

.topbar__blog[aria-current="page"] {
  color: var(--white);
}

.topbar__blog[aria-current="page"]:hover {
  color: var(--white);
}

.topbar__cta {
  appearance: none;
  border: none;
  background: var(--nav-btn-idle);
  color: var(--white);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.topbar__cta:hover {
  background: var(--nav-btn-hover);
}

.topbar__cta[aria-current="page"] {
  background: var(--nav-btn-hover);
}

.topbar__cta[aria-current="page"]:hover {
  background: var(--nav-btn-hover);
}

.topbar__burger {
  display: none;
  appearance: none;
  border: none;
  background: transparent;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  cursor: pointer;
}

.topbar__burger span {
  display: block;
  height: 2px;
  margin: 5px 3px;
  background: var(--white);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  background: #2a3140;
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0;
}

.mobile-nav summary {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav__desc {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.78rem;
  color: var(--text-hell);
  line-height: 1.4;
}

.mobile-nav__links a {
  display: block;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0;
  text-decoration: none;
}

.mobile-nav__leaf {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.55rem 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav__leaf[aria-current="page"],
.mobile-nav__links a[aria-current="page"] {
  color: var(--nav-accent);
  font-weight: 600;
}

/* —— Hero (kompakt, hellgrau) —— */
.hero-band {
  position: relative;
}

.hero {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: var(--hero-bg);
  color: var(--text);
  padding: clamp(1.5rem, 4vw, 2.25rem) var(--layout-gutter);
}

.hero__pager-row {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  width: 100%;
  max-width: var(--max-w);
  padding-left: var(--layout-gutter);
  padding-right: var(--layout-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  box-sizing: border-box;
}

.hero-pager {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  pointer-events: auto;
  line-height: 0;
  flex: 0 0 auto;
  color: var(--nav-btn-idle);
  transition: color 0.15s ease;
}

.hero-pager:hover {
  color: var(--nav-btn-hover);
}

.hero-pager:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero-pager__chev {
  display: block;
  width: var(--hero-pager-chev-w);
  line-height: 0;
}

.hero-pager__chev svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-pager__chev--prev svg {
  transform: scaleX(-1);
}

.hero__slides {
  position: relative;
}

.hero__slide {
  display: none;
}

.hero__slide.is-active {
  display: block;
}

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

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 650px);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: stretch;
  min-height: 0;
  box-sizing: border-box;
}

@media (min-width: 1440px) {
  .hero__pager-row {
    max-width: min(100%, 1520px);
    padding-left: clamp(1.25rem, 2.5vw, 2.5rem);
    padding-right: clamp(1.25rem, 2.5vw, 2.5rem);
  }
}

.hero .hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--eyebrow-color);
}

.hero .hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  font-weight: 300;
  line-height: 1.15;
  max-width: 26ch;
  color: var(--text);
}

.hero .hero__lead {
  margin: 0 0 1.1rem;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: var(--text-muted);
  /* +130px bis näher an Bild/Video (Messung im Layout) */
  max-width: calc(42ch + 130px);
  line-height: 1.55;
}

.hero .hero__lead .prose__strong,
.hero .hero__lead strong {
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 700;
  color: inherit;
}

.hero .hero__lead a {
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-blue, #007faf);
}

.hero .hero__lead a:hover,
.hero .hero__lead a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.blog-hero__lead .prose__strong,
.blog-hero__lead strong {
  font-weight: 700;
  color: inherit;
}

.blog-hero__lead a {
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-blue, #007faf);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (min-width: 1025px) {
  .hero__actions {
    flex-wrap: nowrap;
  }
}

.hero .btn--primary {
  background: var(--nav-btn-idle);
  color: var(--white);
}

.hero .btn--primary:hover {
  background: var(--nav-btn-hover);
}

.hero .btn--ghost {
  background: #fff;
  color: var(--nav-btn-idle);
  border: 1px solid var(--nav-btn-idle);
}

.hero .btn--ghost:hover {
  background: rgba(0, 127, 175, 0.06);
  color: var(--nav-btn-hover);
  border-color: var(--nav-btn-hover);
}

.btn {
  appearance: none;
  border: none;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--primary {
  background: var(--nav-btn-idle);
  color: var(--white);
  transition: background 0.15s ease;
}

.btn--primary:hover {
  background: var(--nav-btn-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 650px;
  justify-self: end;
  /* Oben mit Eyebrow bündig — nicht vertikal zentriert (sonst ragt es über den Text) */
  align-self: start;
  display: flex;
  align-items: flex-start;
  min-height: 0;
}

/* Flex-Kind sonst shrink-to-fit → leeres Motiv nur so breit wie „HERO-MOTIV“ */
.hero__visual > .bec-media-hit,
.hero__visual .hero__visual-frame {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero__visual-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  /* Desktop: JS setzt --hero-visual-h (= max. Copy-Höhe Eyebrow→Buttons, Cap 16:9) */
  height: var(--hero-visual-h, clamp(160px, 22vw, 240px));
  aspect-ratio: auto;
  box-shadow: var(--shadow);
  background: #2a3140;
  --ai-badge-corner: 12px;
}

.hero__visual-frame--pending .media-pending {
  width: 100%;
  height: 100%;
  aspect-ratio: auto; /* Frame trägt Format/Höhe — kein zweites Aspect-Sizing */
}

.hero-video-fs-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  appearance: none;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(12, 14, 22, 0.42);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.hero-video-fs-btn:hover {
  opacity: 0.92;
  background: rgba(12, 14, 22, 0.58);
}

.hero-video-fs-btn__icon {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  display: block;
  flex: 0 0 auto;
  color: inherit;
  pointer-events: none;
}

img.hero-video-fs-btn__icon {
  filter: brightness(0) invert(1);
}

svg.hero-video-fs-btn__icon {
  filter: none;
  overflow: visible;
}

.hero__visual-frame > img,
.hero__visual-frame > video,
.hero__visual-frame .hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__visual-caption {
  margin: 0.55rem 0 0;
  padding: 0;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-std);
  line-height: 1.3;
}

/* —— Hero-Video Vollbild —— */
.hero-video-fs {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.hero-video-fs.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.22s ease, visibility 0s linear 0s;
}

.hero-video-fs[hidden] {
  display: none !important;
}

.hero-video-fs.is-open[hidden] {
  display: flex !important;
}

.hero-video-fs__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(17, 22, 30, 0.92);
  cursor: pointer;
}

.hero-video-fs__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  max-height: calc(100vh - 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-fs__ai-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  --ai-badge-corner: 12px;
}

.hero-video-fs__close {
  position: absolute;
  top: -2.6rem;
  right: 0;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(50, 58, 73, 0.88);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-video-fs__close img {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1);
}

.hero-video-fs__video {
  width: 100%;
  max-height: calc(100vh - 3rem);
  border-radius: 12px;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

body.hero-video-fs-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .hero-video-fs__close {
    top: 0.35rem;
    right: 0.35rem;
    position: fixed;
    z-index: 3;
  }

  .hero-video-fs__dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    padding-top: 2.75rem;
  }

  .hero-video-fs__video {
    max-height: calc(100vh - 3.5rem);
    border-radius: 8px;
  }
}

/* —— Einklappbares Inhaltssegment (Ergebnisse) —— */
.content-segment {
  position: relative;
  overflow: visible;
  background: transparent;
  z-index: 26;
}

.content-segment--blue .content-segment__body {
  background: var(--brand-blue-dark);
}

.content-segment--violet .content-segment__body {
  background: #752073;
}

.content-segment--gray .content-segment__body {
  background: var(--purple-std);
}

.content-segment--violet .section--segment .section__kicker--on-blue,
.content-segment--gray .section--segment .section__kicker--on-blue {
  color: rgba(255, 255, 255, 0.92);
}

.section--band-blue {
  background: var(--brand-blue-dark);
  color: var(--white);
}

.section--band-violet {
  background: #752073;
  color: var(--white);
}

.section--band-gray {
  background: var(--purple-std);
  color: var(--white);
}

.section--band-white {
  background: var(--white);
  color: var(--text);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Band-Variante schlägt .section--dark (sonst immer Dunkelgrau) */
.section--dark.section--band-blue {
  background: var(--brand-blue-dark);
  color: var(--white);
}
.section--dark.section--band-violet {
  background: #752073;
  color: var(--white);
}
.section--dark.section--band-gray {
  background: var(--purple-std);
  color: var(--white);
}

.section--band-blue .section__kicker,
.section--band-violet .section__kicker,
.section--band-gray .section__kicker,
.section--dark.section--band-blue .section__kicker,
.section--dark.section--band-violet .section__kicker,
.section--dark.section--band-gray .section__kicker,
.section--band-blue .section__title,
.section--band-violet .section__title,
.section--band-gray .section__title,
.section--dark.section--band-blue .section__title,
.section--dark.section--band-violet .section__title,
.section--dark.section--band-gray .section__title,
.section--band-blue .section__sub,
.section--band-violet .section__sub,
.section--band-gray .section__sub,
.section--dark.section--band-blue .section__sub,
.section--dark.section--band-violet .section__sub,
.section--dark.section--band-gray .section__sub {
  color: var(--white);
}

.page-homepage main.article,
main.article.page-homepage {
  background: var(--gray-soft);
}

.page-homepage .bec-module-wrap,
main.article.page-homepage .bec-module-wrap {
  width: 100%;
}

.content-segment__body {
  position: relative;
  overflow: visible;
  background: var(--segment-bg);
}

.content-segment__crumb {
  position: absolute;
  top: 1.55rem;
  left: max(var(--layout-gutter), calc((100% - var(--max-w)) / 2));
  margin: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
}

.content-segment__label {
  display: none;
}

.section--segment .section__head {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section--segment .section__kicker--on-blue {
  margin: 0 0 0.35rem;
  color: var(--white);
}

.section--segment .section__title {
  color: var(--white);
}

/* —— Sections —— */
main {
  flex: 1;
  background: var(--gray-soft);
}

.section {
  padding: clamp(2rem, 5vw, 3rem) var(--layout-gutter);
}

/* In Artikelspalte schon gerastert — kein zweiter Horizontal-Gutter (sonst Einrückung) */
.article-body .article-main > .section,
.article-body .article-main > .bec-module-wrap > .section {
  padding-left: 0;
  padding-right: 0;
}

.section--dark {
  background: var(--purple-std);
  color: var(--white);
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section__head {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section__head--center {
  text-align: center;
}

/* Unterzeile im zentrierten Head: Block mit max-width mitzentrieren (auch Farbband/Editor) */
.section__head--center .section__sub,
.section__head--center .bec-flow-text.section__sub,
.section__head--center .bec-flow-text.section__sub > p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Situationen vollbreit: zentrierte Unterzeile/Intro doppelt so breit wie Default (52ch) */
.section--band-blue .section__head--center .section__sub,
.section--band-violet .section__head--center .section__sub,
.section--band-gray .section__head--center .section__sub,
.section--band-blue .section__head--center .bec-flow-text.section__sub,
.section--band-violet .section__head--center .bec-flow-text.section__sub,
.section--band-gray .section__head--center .bec-flow-text.section__sub {
  max-width: 104ch;
}

.section__kicker {
  margin: 0 0 0.5rem;
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--eyebrow-color);
}

.section--dark .section__kicker {
  color: var(--white);
}

.section__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.3vw, 2.05rem);
  font-weight: 300;
  line-height: 1.2;
}

.section__sub {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.section--dark .section__sub {
  color: var(--text-hell);
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.section--tiles {
  background: var(--surface-light);
}

/* —— Stats —— */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.stat {
  position: relative;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(50, 58, 73, 0.06);
  overflow: hidden;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease,
    opacity 0.35s ease;
}

.stat:not(.is-surface-visible) {
  opacity: 1;
  transform: none;
}

.stats--enhanced .stat:not(.is-surface-visible) {
  opacity: 0;
  transform: translateY(6px);
}

.stat.is-surface-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat__body {
  transform: none;
  opacity: 1;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.stats--enhanced .stat__body {
  transform: translate(7px, 5px);
  opacity: 0;
}

.stat.is-entered .stat__body {
  transform: translate(0, 0);
  opacity: 1;
}

.stat__value {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--purple-dark);
  line-height: 1.1;
}

.stat__value-text {
  display: inline-block;
  min-height: 1.1em;
  color: var(--purple-dark);
}

/* Scramble-Zeichen dürfen nicht umbrechen — sonst wächst die weiße Kachel mittendrin. */
.stat__value-text.is-scrambling {
  white-space: nowrap;
}

.stat__value-text.is-scrambling .stat__char {
  display: inline;
  white-space: pre;
}

.stat__value-text.is-scrambling .stat__char--ghost {
  color: rgba(117, 32, 115, 0.28);
}

.stat__value-text.is-scrambling .stat__char--set,
.stat__value-text.is-done {
  color: var(--purple-dark);
}

.stats--enhanced .stat {
  box-sizing: border-box;
  overflow: hidden;
}

.stat__label {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.stats--enhanced .stat__label {
  opacity: 0;
}

.stat.is-label-visible .stat__label {
  opacity: 1;
}

/* Endhöhe der Kacheln schon vor/ während Scramble halten — sonst ruckelt der Band-Hintergrund. */
.stats:not(.stats--enhanced) .stat__value-text:empty::before,
.stats--enhanced .stat__value-text:empty::before {
  content: attr(data-stat-final);
}

.stats--enhanced .stat__value-text:empty::before {
  visibility: hidden;
}

.stats.stats--enhanced {
  align-items: stretch;
}

/* —— Reiter-Kachel-Grid —— */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.tile-grid--count-1 {
  grid-template-columns: 1fr;
}

.tile-grid--count-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tile-grid--count-4 {
  /* 4 Kacheln: 2×2 statt vier nebeneinander */
  grid-template-columns: repeat(2, 1fr);
}

/* Eine Vollbreiten-Kachel: Motiv wie Hero (ultrawide), nicht 16:9 skaliert */
.tile-grid--ultrawide .tile__img,
.tile-grid--count-1 .tile__img {
  aspect-ratio: 1280 / 522;
}

.tile-grid--no-buttons .tile__card,
.tile--no-cta .tile__card {
  /* ohne Button-Überhang am unteren Reiter */
  padding-bottom: 1.35rem;
}

.tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tile__tab-top {
  display: inline-flex;
  align-items: flex-end;
  width: max-content;
  max-width: calc(100% - var(--tile-tab-inset));
  margin: 0 0 -1px var(--tile-tab-inset);
  position: relative;
  z-index: 3;
  align-self: flex-start;
}

.tile__tab-cap {
  flex: 0 0 18px;
  width: 18px;
  height: var(--reiter-h);
  object-fit: fill;
  display: block;
}

.tile__tab-cap:first-of-type {
  margin-right: -1px;
}

.tile__tab-cap:last-of-type {
  margin-left: -1px;
}

.tile__tab-label {
  flex: 0 1 auto;
  height: var(--reiter-h);
  margin: 0 -1px;
  padding: 0 1.1rem;
  background: var(--tile-bg);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.tile__card {
  background: var(--tile-bg);
  border-radius: 14px;
  box-shadow: 0 4px 22px rgba(50, 58, 73, 0.09);
  flex: 1;
  display: flex;
  flex-direction: column;
  /* unten: Basis + Button-Überhang (17px) + min. eine Textzeile Abstand */
  padding: 1.35rem 1.5rem calc(1.25rem + 17px + 1.45em);
  position: relative;
  z-index: 2;
}

.tile__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tile__img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.35rem;
  background: #d5dbe4;
  --ai-badge-corner: 10px;
}

.tile__img img,
.tile__img video,
.tile__img .tile__video,
.tile__img .bec-video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile__img .tile__media,
.tile__img .bec-media-hit {
  display: block;
  width: 100%;
  height: 100%;
}

.bec-video-host--hover,
.tile__img:has(> video.bec-video--hover),
.tile__img:has(video.bec-video--hover),
.case-card__img:has(video.bec-video--hover),
.case-card__media:has(video.bec-video--hover),
.reference-row__logo:has(video.bec-video--hover),
.article-figure:has(video.bec-video--hover),
.article-video__frame {
  position: relative;
}

.article-video__frame {
  display: block;
  width: 100%;
}

.bec-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  pointer-events: none;
}

video.bec-video--hover {
  position: relative;
  z-index: 1;
  background: transparent;
}

video.bec-video--hover:not([src]),
video.bec-video--hover[src=""] {
  opacity: 0;
}

.tile__title {
  margin: 0 0 0.75rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--purple-dark);
  line-height: 1.25;
}

.tile__text {
  margin: 0;
  font-size: inherit;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Legacy: Einzelabsatz direkt unter Titel füllt die Kachelhöhe */
.tile__content > .tile__text {
  flex: 1;
}

.tiles-intro {
  margin-top: 0.5rem;
  max-width: none;
}
.tiles-intro .card-item-body {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  gap: 0;
}
.tiles-intro .card-item-body .section__sub,
.tiles-intro .card-item-body > p,
.tiles-intro .card-item-body .bec-prose-block__body > p,
.tiles-intro .card-item-body .prose__list,
.tiles-intro .card-item-body .prose__list li {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  max-width: none;
}
.tiles-intro .card-item-body > p:last-child,
.tiles-intro .card-item-body > .bec-prose-block:last-child .bec-prose-block__body > p,
.tiles-intro .card-item-body > .prose__list:last-child {
  margin-bottom: 0;
}
.tile .card-item-body {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  gap: 0.5rem;
  /* Inhalt von oben: Absätze dürfen nicht flex-wachsen (sonst Liste am Kachelrand) */
  justify-content: flex-start;
  min-height: 0;
}
.tile .card-item-body .tile__text,
.tile .card-item-body > p,
.tile .card-item-body .bec-prose-block,
.tile .card-item-body .prose__list,
.tile .card-item-body .bec-prose-insert {
  flex: 0 0 auto;
}
.tile .card-item-body .tile__text,
.tile .card-item-body > p,
.tile .card-item-body .bec-prose-block__body > p,
.tile .card-item-body .prose__list,
.tile .card-item-body .prose__list li {
  margin: 0;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

/* Weißer Unter-Reiter (bewährt) — nach unten, Button darauf */
.tile__bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: -1px;
  margin-right: var(--tile-tab-inset);
  padding-bottom: 0.4rem;
  position: relative;
  z-index: 3;
  align-self: flex-end;
  width: max-content;
  max-width: calc(100% - var(--tile-tab-inset));
}

.tile__bottom-tab {
  display: inline-flex;
  align-items: flex-end;
}

.tile__bottom-cap {
  flex: 0 0 18px;
  width: 18px;
  height: var(--reiter-h);
  display: block;
  object-fit: fill;
}

.tile__bottom-cap:first-of-type {
  margin-right: -1px;
}

.tile__bottom-cap:last-of-type {
  margin-left: -1px;
}

.tile__bottom-center {
  height: var(--reiter-h);
  margin: 0 -1px;
  padding: 0 1.25rem;
  background: var(--tile-bg);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
}

.tile__cta {
  appearance: none;
  border: none;
  background: var(--nav-btn-idle);
  color: var(--white);
  font: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 1rem;
  min-width: 148px;
  height: 34px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -17px;
  box-shadow: none;
  transition: background 0.15s ease;
}

.tile__cta:hover {
  background: var(--nav-btn-hover);
}

/* —— Pain points —— */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.pain-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.pain-card__title {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.pain-card__text {
  margin: 0;
  font-size: inherit;
  color: var(--text-hell);
  line-height: inherit;
}

.card-item-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* Freitext-Blöcke nie flex-wachsen lassen (Bulletlisten sonst am unteren Kachelrand) */
.card-item-body > p,
.card-item-body > .prose__list,
.card-item-body > .bec-prose-block,
.card-item-body > .bec-prose-insert,
.card-item-body > .prose__para-btn {
  flex: 0 0 auto;
}
.card-item-body > p,
.card-item-body .bec-prose-block__body > p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.card-item-body .prose__list {
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 0.35em;
}
/* ~1 Zeile Abstand Freitext ↔ Liste (und umgekehrt) */
.card-item-body > .prose__list + p,
.card-item-body > p + .prose__list,
.card-item-body > .prose__list + .prose__para-btn,
.card-item-body > .bec-prose-block + .bec-prose-insert,
.card-item-body > .bec-prose-insert + .bec-prose-block {
  margin-top: 1.15em;
}
.card-item-body > .bec-prose-block + .bec-prose-insert + .bec-prose-block {
  margin-top: 0.35em;
}
.card-item-body > .bec-prose-insert {
  margin-top: 0.55em;
  margin-bottom: 0.55em;
}
.card-item-body .prose__list li {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
/* Absätze und Listen in Kacheln: immer gleiche Schriftgröße (nie Intro < Bullets) */
.card-item-body > p,
.card-item-body .bec-prose-block__body > p,
.card-item-body .prose__list,
.card-item-body .prose__list li {
  font-size: inherit;
  line-height: inherit;
}
.pain-card .card-item-body {
  font-size: 0.88rem;
  color: var(--text-hell);
  line-height: 1.5;
  /* Listen erben Helltext; Bullets/Nummern folgen currentColor (farbige Band-Kachel) */
  --bullet-color: currentColor;
}
.pain-card .card-item-body .prose__list,
.pain-card .card-item-body .prose__list li,
.pain-card .card-item-body .prose__list--ordered li::before {
  color: inherit;
}
.pain-card .card-item-body .prose__list li::before {
  background-color: currentColor;
}

/* Situationen: Innenkachel-Stil (Settings-Bar Hell / Weiß) */
.pain-grid--style-white .pain-card {
  background: var(--white, #fff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text);
}
.pain-grid--style-white .pain-card__title {
  color: var(--brand-blue-dark);
}
.pain-grid--style-white .pain-card__text,
.pain-grid--style-white .pain-card .card-item-body {
  color: var(--text-muted, #4a5560);
  --bullet-color: var(--brand-blue-dark);
}
.pain-grid--style-white .pain-card .card-item-body .prose__list,
.pain-grid--style-white .pain-card .card-item-body .prose__list li {
  color: inherit;
}
.pain-grid--style-white .pain-card .card-item-body .prose__list li::before {
  background-color: var(--bullet-color, var(--brand-blue-dark));
}
.pain-grid--style-white .pain-card .card-item-body .prose__list--ordered li::before {
  color: var(--bullet-color, var(--brand-blue-dark));
  background: transparent;
}

/* Einleitung unter zentrierter Unterzeile: linksbündig im Kachel-Raster */
.pain-band__intro,
.bec-flow-text.pain-band__intro {
  margin: 0.85rem 0 clamp(1.15rem, 2.8vw, 1.65rem);
  text-align: left;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.55;
  color: inherit;
  min-height: 1.55em;
}
.bec-flow-text.pain-band__intro.bec-editable:has(p:empty) {
  opacity: 0.72;
  font-style: italic;
}
.section__head--center + .pain-band__intro,
.article-inline-band__head + .pain-band__intro {
  margin-top: 1rem;
}
.section--band-blue .pain-band__intro,
.section--band-violet .pain-band__intro,
.section--band-gray .pain-band__intro,
.article-inline-band--blue .pain-band__intro,
.article-inline-band--violet .pain-band__intro,
.article-inline-band--gray .pain-band__intro,
.article-inline-band--dark .pain-band__intro {
  color: var(--white);
}
.article-inline-band--white .pain-band__intro {
  color: var(--text);
}

/*
 * Situationen (pain-band): Eyebrow / Headline / Intro wie Solo-Freitext —
 * gilt für Vollband (breit) und Inline-Band (schmal), Text weiß auf Farb-HG.
 */
.section--band-blue .section__head .section__kicker,
.section--band-violet .section__head .section__kicker,
.article-inline-band--blue .article-inline-band__head .section__kicker,
.article-inline-band--violet .article-inline-band__head .section__kicker,
.article-inline-band--gray .article-inline-band__head .section__kicker,
.article-inline-band--dark .article-inline-band__head .section__kicker,
.article-inline-band--blue .article-inline-band__head .section__kicker--on-blue,
.article-inline-band--stats .article-inline-band__head .section__kicker--on-blue,
.section--band-gray .section__head .section__kicker {
  margin: 0 0 0.5rem;
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--white); /* auf Farbband: Kontrastweiß, nicht Hellblau */
}

.section--band-blue .section__head :is(h1, h2, .section__title),
.section--band-violet .section__head :is(h1, h2, .section__title),
.section--band-gray .section__head :is(h1, h2, .section__title),
.article-inline-band--blue .article-inline-band__head :is(h1, h2, .section__title),
.article-inline-band--violet .article-inline-band__head :is(h1, h2, .section__title),
.article-inline-band--gray .article-inline-band__head :is(h1, h2, .section__title),
.article-inline-band--dark .article-inline-band__head :is(h1, h2, .section__title),
.article-inline-band--stats .article-inline-band__head :is(h1, h2, .section__title) {
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 calc(0.75rem + 12px);
  color: var(--white);
}

/* Kennzahlen-Band: gleiche Light-Schrift, etwas kleiner (längere Steffi-Headlines) */
.article-inline-band:has(.stats) .article-inline-band__head :is(h1, h2, .section__title),
.article-inline-band--stats .article-inline-band__head :is(h1, h2, .section__title),
.section--band-blue:has(.stats) .section__head :is(h1, h2, .section__title),
.section--band-violet:has(.stats) .section__head :is(h1, h2, .section__title),
.section--band-gray:has(.stats) .section__head :is(h1, h2, .section__title),
.content-segment:has(.stats) .section--segment .section__head :is(h1, h2, .section__title) {
  font-size: clamp(1.3rem, 3vw, 1.95rem);
}

.section--band-blue .section__head .section__sub,
.section--band-blue .section__head .bec-flow-text.section__sub,
.section--band-blue .section__head .bec-flow-text.section__sub > p,
.section--band-violet .section__head .section__sub,
.section--band-violet .section__head .bec-flow-text.section__sub,
.section--band-violet .section__head .bec-flow-text.section__sub > p,
.section--band-gray .section__head .section__sub,
.section--band-gray .section__head .bec-flow-text.section__sub,
.section--band-gray .section__head .bec-flow-text.section__sub > p,
.section--band-blue .pain-band__intro,
.section--band-blue .pain-band__intro > p,
.section--band-violet .pain-band__intro,
.section--band-violet .pain-band__intro > p,
.section--band-gray .pain-band__intro,
.section--band-gray .pain-band__intro > p,
.article-inline-band--blue .article-inline-band__sub,
.article-inline-band--blue .article-inline-band__sub > p,
.article-inline-band--violet .article-inline-band__sub,
.article-inline-band--violet .article-inline-band__sub > p,
.article-inline-band--gray .article-inline-band__sub,
.article-inline-band--gray .article-inline-band__sub > p,
.article-inline-band--dark .article-inline-band__sub,
.article-inline-band--dark .article-inline-band__sub > p,
.article-inline-band--blue .pain-band__intro,
.article-inline-band--blue .pain-band__intro > p,
.article-inline-band--violet .pain-band__intro,
.article-inline-band--violet .pain-band__intro > p,
.article-inline-band--gray .pain-band__intro,
.article-inline-band--gray .pain-band__intro > p,
.article-inline-band--dark .pain-band__intro,
.article-inline-band--dark .pain-band__intro > p {
  margin-top: 0;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.55;
  color: var(--white);
  max-width: none;
}
.example-card .card-item-body {
  font-size: 0.86rem;
  line-height: 1.5;
}
.point-tile .card-item-body {
  flex: 1 1 auto;
  margin: 0;
  padding: 0.9rem 1rem 0.95rem;
  background: var(--white);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.55;
  /* Inhalt von oben: Absätze dürfen nicht flex-wachsen (sonst Liste am Kachelrand) */
  justify-content: flex-start;
  min-height: 0;
}
.point-tile .card-item-body .point-tile__text,
.point-tile .card-item-body > p,
.point-tile .card-item-body .bec-prose-block,
.point-tile .card-item-body .prose__list,
.point-tile .card-item-body .bec-prose-insert {
  flex: 0 0 auto;
}
.point-tile .card-item-body .point-tile__text,
.point-tile .card-item-body > p,
.point-tile .card-item-body .bec-prose-block__body > p,
.point-tile .card-item-body .prose__list,
.point-tile .card-item-body .prose__list li {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.point-tile .card-item-body .bec-prose-insert {
  background: transparent;
}

/* —— Cases —— */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.case-grid--count-1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 28rem;
}

.case-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-grid--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid--count-4 {
  /* 4 Kacheln: 2×2 statt vier nebeneinander */
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-grid--count-5 {
  /* 5 Kacheln: 2 / 2 / 1 — letzte Kachel gleiche Breite, linksbündig */
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-grid--count-6 {
  /* 6 Kacheln: 2×3 (zwei Zeilen à drei) */
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Bild-Text-Element: Basis (Feinabstimmung am Dateiende via --bec-case-intro-gap) */
.section--case-grid .prose--band-intro {
  margin-bottom: 0;
}

.section--case-grid .prose--band-intro .section__sub,
.section--case-grid .prose--band-intro .bec-flow-text,
.section--case-grid .prose--band-intro .bec-flow-text > p:last-child {
  margin-bottom: 0;
}

.section--case-grid .prose--band-intro .section__sub,
.section--case-grid .prose--band-intro h2 {
  max-width: none;
}

/* Bild-Text-Element: Headline/Intro wie Freitext; Zentrierung via .prose--align-center (≤1024 links). */
.section--case-grid .prose--band-intro :is(h1, h2),
.section--case-grid .prose--band-intro .section__title {
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 calc(0.75rem + 12px);
  color: var(--text);
}

.section--case-grid .prose--band-intro .section__sub,
.section--case-grid .prose--band-intro .section__sub > p,
.section--case-grid .prose--band-intro .bec-flow-text,
.section--case-grid .prose--band-intro .bec-flow-text > p {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.55;
  color: var(--text);
  max-width: none;
}

.section--case-grid .prose--band-intro.prose--align-center .section__sub,
.section--case-grid .prose--band-intro.prose--align-center .bec-flow-text {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (max-width: 1024px) {
  .section--case-grid .prose--band-intro.prose--align-center .section__sub,
  .section--case-grid .prose--band-intro.prose--align-center .bec-flow-text {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

.case-card {
  display: flex;
  flex-direction: column;
  /* Grid-Zeile füllen — height:100% bricht Stretch oft (ungleiche Kachelhöhen → auto=0) */
  align-self: stretch;
  height: auto;
  min-height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(50, 58, 73, 0.08);
}

.case-card__img {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  background: #e8ecf2;
  --ai-badge-corner: var(--radius);
}

.case-card__img img,
.case-card__img video,
.case-card__video,
.case-card__img .bec-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-card__img .bec-media-hit,
.case-card__img .case-card__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.case-card__img .hero-video-fs-btn,
.article-figure .hero-video-fs-btn,
.reference-row__logo .hero-video-fs-btn,
.tile__img .hero-video-fs-btn {
  z-index: 2;
}

.article-figure.article-video {
  position: relative;
}

.reference-row__media--video {
  position: relative;
  width: 100%;
}

.reference-row__video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: #000;
}

.case-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.9rem calc(1rem + 20px) calc(1.1rem + 20px);
}

.case-card__metric {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1.25;
  color: var(--brand-blue-dark);
}

.case-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.case-card__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Text-Bild-Zitat: Kacheln nur untereinander (ohne Modul-Kopf) */
.tiq-stack {
  display: flex;
  flex-direction: column;
  gap: 5rem; /* ~4× früher 1.25rem — weniger gedrungen bei mehreren Kacheln */
  width: 100%;
  max-width: none; /* Layoutbreite = article-main (3-Spalten) bzw. section__inner/--max-w (4-Spalten) */
}

.section--text-image-quote > .section__inner {
  width: 100%;
}

.tiq-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(50, 58, 73, 0.08);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  /* Default = Violett (Bestand) */
  --tiq-accent: var(--purple-dark);
  --tiq-quote-bg: var(--purple-dark);
}

.tiq-card--blue {
  --tiq-accent: var(--brand-blue-dark);
  --tiq-quote-bg: var(--brand-blue-dark);
}

.tiq-card--violet {
  --tiq-accent: var(--purple-dark);
  --tiq-quote-bg: var(--purple-dark);
}

/* Dunkelgrau: nur Zitat-HG grau; Headline/Bullets/Links bleiben blau */
.tiq-card--gray {
  --tiq-accent: var(--brand-blue-dark);
  --tiq-quote-bg: var(--purple-std);
}

.tiq-card__color-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0.55rem 1rem 0;
  background: var(--white);
}

.tiq-card__color-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 0.15rem;
}

.tiq-card__main {
  display: grid;
  grid-template-areas: "content media";
  /* Bild +10% vs. 12.1rem; +40px Spalte → Text bricht früher um */
  grid-template-columns: minmax(0, 1fr) minmax(9.075rem, calc(13.31rem + 40px));
  gap: 1.25rem 1.5rem;
  align-items: center; /* Bild vertikal im weißen Bereich zentrieren */
  padding: calc(1.9rem + 10px) 1.5rem 1.85rem 2.1rem;
}

.tiq-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  grid-area: content;
}

.tiq-card__title {
  margin: 0;
  /* wie Reiter-Kacheln (.tile__title) — Farbe bleibt per Kachel (--tiq-accent) */
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--tiq-accent);
}

.tiq-card__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
}

.tiq-card .card-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
}

.tiq-card .card-item-body .prose__list,
.tiq-card .card-item-body .prose__list--accent-blue,
.tiq-card .card-item-body .prose__list--accent-violet,
.tiq-card .card-item-body .prose__list--accent-gray {
  --bullet-color: var(--tiq-accent);
  --prose-list-marker: var(--tiq-accent);
  margin-bottom: 0.35rem;
}

.tiq-card .card-item-body .prose__list:last-child,
.tiq-card .card-item-body > .prose__list:last-of-type {
  margin-bottom: 0.15rem;
}

.tiq-card .card-item-body .prose__list li::before {
  background-color: var(--bullet-color, var(--tiq-accent));
}

.tiq-card.prose--link-blue,
.tiq-card.prose--link-violet {
  --prose-link: var(--tiq-accent);
  --bullet-color: var(--tiq-accent);
  --prose-list-marker: var(--tiq-accent);
}

.tiq-card .card-item-body a:not(.prose__btn) {
  color: var(--tiq-accent);
}

.tiq-card__media {
  min-width: 0;
  grid-area: media;
  align-self: center;
}

.tiq-card__media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  overflow: hidden;
  --ai-badge-corner: var(--radius);
}

.tiq-card__media-frame img,
.tiq-card__media-frame video,
.tiq-card__video,
.tiq-card__media-frame .bec-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 0;
  box-sizing: border-box;
}

.tiq-card__media-frame .bec-media-hit {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.tiq-card__media-frame .hero-video-fs-btn {
  z-index: 2;
}

.tiq-card__quote {
  background: var(--tiq-quote-bg, var(--purple-dark));
  color: var(--white);
  padding: 1.55rem 2.1rem 1.65rem;
}

.tiq-card__quote-text {
  margin: 0;
  font-size: clamp(0.92rem, 1.55vw, 1.02rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
}

@media (max-width: 720px) {
  .tiq-card__main {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "content";
    justify-items: stretch;
    padding: calc(1.6rem + 10px) 1.35rem 1.6rem 1.6rem;
  }

  .tiq-card__media {
    justify-self: center;
    width: 100%;
    max-width: calc(13.2rem * 1.1); /* +10% auch mobil */
  }

  .tiq-card__content {
    width: 100%;
  }

  .tiq-card__quote {
    padding: 1.4rem 1.6rem 1.5rem;
  }
}

/* Mengentext/Listen wie Reiter-/Situationen-Kacheln (0.88rem), nicht Prose-Intro */
.case-card .card-item-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  gap: 0.5rem;
  justify-content: flex-start;
}
.case-card .card-item-body .case-card__text,
.case-card .card-item-body > p:not(.prose__para-btn),
.case-card .card-item-body .bec-prose-block,
.case-card .card-item-body .prose__list,
.case-card .card-item-body .bec-prose-insert {
  flex: 0 0 auto;
}
/* Editor: Block mit Button füllt Rest, Button darin nach unten */
.case-card .card-item-body > .bec-prose-block:has(.prose__para-btn) {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.case-card .card-item-body > .bec-prose-block:has(.prose__para-btn) > .bec-prose-block__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.case-card .card-item-body .case-card__text,
.case-card .card-item-body > p:not(.prose__para-btn),
.case-card .card-item-body .bec-prose-block__body > p:not(.prose__para-btn),
.case-card .card-item-body .prose__list,
.case-card .card-item-body .prose__list li {
  margin: 0;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}
/* CTA an den unteren Kachelrand (gleiche Höhe in der Grid-Zeile) */
.case-card .card-item-body > .prose__para-btn,
.case-card .card-item-body .bec-prose-block__body > .prose__para-btn {
  margin-top: auto;
  /* Mindestabstand Text→Button wie bisher; auto schluckt sonst den Gap bei voller Höhe */
  padding-top: calc(0.85rem + 5px);
  margin-bottom: 0;
}

/* —— Referenzen / Text-mit-Bild (3-spaltig 50/50, 4-spaltig Text breiter) —— */
.reference-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

.reference-row {
  --ref-media-col: minmax(0, 1fr);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ref-media-col);
  gap: 0;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(50, 58, 73, 0.08);
}

.reference-row--narrow {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

/* Full-/4-Spalten-Shell: ebenfalls 50/50 Text|Bild (nicht schmalere Bildspalte) */
.reference-row--wide {
  --ref-media-col: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.reference-row--image-left .reference-row__logo {
  order: -1;
}

.reference-row--image-left.reference-row--wide {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.reference-row__body {
  min-width: 0;
  padding: clamp(1.15rem, 2.8vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.reference-row__body .card-item-body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.reference-row__body .card-item-body > p,
.reference-row__body .card-item-body .bec-prose-block__body > p,
.reference-row__body .card-item-body .prose__list,
.reference-row__body .card-item-body .prose__list li {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.reference-row__kicker {
  margin: 0;
}

.reference-row__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.reference-row__intro {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
}

.reference-row__text {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.reference-row__cta {
  margin: 0.35rem 0 0;
}

.reference-row__link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  text-decoration: none;
}

.reference-row__link:hover {
  text-decoration: underline;
}

.reference-row__logo {
  position: relative;
  display: block;
  align-self: stretch;
  width: 100%;
  /* Höhe folgt der Textspalte (Grid stretch) — Motiv darf die Kachel nicht aufblasen */
  min-height: 12rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-sizing: border-box;
  overflow: hidden;
  --ai-badge-corner: 0px;
}

.reference-row__logo .bec-media-hit,
.reference-row__logo img,
.reference-row__logo .reference-row__media,
.reference-row__logo .reference-row__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  border-radius: 0;
  aspect-ratio: auto;
}

.reference-row__logo .media-pending {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
}

.quote-placeholder {
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border-radius: 14px;
  border: 1px dashed rgba(50, 58, 73, 0.18);
  background: #f8fafc;
  color: var(--text-muted);
}

.quote-placeholder__label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue-dark);
}

.quote-placeholder__hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Legacy (nicht-profile): ganze Kachel färben. Profile: nur .quote__body */
.page-article .quote--violet:not(.quote--profile),
.article-main .quote--violet:not(.quote--profile) {
  background: var(--pal-violet-1);
}

.page-article .quote--blue:not(.quote--profile),
.article-main .quote--blue:not(.quote--profile) {
  background: var(--pal-blue-1);
}

/* Bild-Slots ohne Generierung (Layout zuerst, Motive später) */
.media-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: var(--media-pending-aspect, 16 / 10);
  border-radius: inherit;
  background: linear-gradient(145deg, #e8ecf2 0%, #dfe6ef 100%);
  color: var(--text-muted);
}

.media-pending__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__visual-frame--pending,
.case-card__img:has(.media-pending) {
  background: #e8ecf2;
}

.article-figure--pending {
  margin: 0;
}

@media (max-width: 768px) {
  .reference-row,
  .reference-row--narrow,
  .reference-row--wide,
  .reference-row--image-left.reference-row--wide {
    grid-template-columns: 1fr;
  }

  .reference-row--image-left .reference-row__logo {
    order: 0;
  }

  .reference-row__logo {
    min-height: 11rem;
    max-height: 16rem;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .reference-row__logo img,
  .reference-row__logo .reference-row__media,
  .reference-row__logo .reference-row__video,
  .reference-row__logo .bec-media-hit,
  .reference-row__logo .media-pending {
    min-height: 0;
    max-height: none;
  }
}

/* —— Process —— */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

/* 5 Schritte: 3 + 2 statt 4 + 1 (v. a. im Artikel-Layout mit Aside) */
.process--count-5 {
  grid-template-columns: repeat(3, 1fr);
}

.process--count-6,
.process--count-7,
.process--count-8 {
  grid-template-columns: repeat(3, 1fr);
}

.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 2px 12px rgba(50, 58, 73, 0.06);
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--purple-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step__title {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.process-step__text {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* —— CTA band —— */
.cta-band {
  background: var(--purple-dark);
  color: var(--white);
  border-radius: 14px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-band__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 300;
}

.cta-band__text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-hell);
  max-width: 48ch;
}

/* —— Footer —— */
.site-footer {
  background: var(--purple-footer);
  color: var(--text-hell);
  padding: 1.25rem clamp(1rem, 3vw, 1.5rem);
  font-size: 0.72rem;
  text-align: center;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  opacity: 0.9;
}

/* —— BecKI Chat (Shell wie Web-Becki) —— */
.becki-chat {
  --becki-chat-resize-handle: color-mix(in srgb, var(--brand-blue) 55%, transparent);
  --becki-chat-panel-bg: var(--becki-surface);
  --becki-chat-user-bg: #8a97a8;
  --becki-chat-user-text: #fff;
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(440px, calc(100vw - 24px));
  height: min(68vh, 620px);
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 18px;
  background: var(--purple-std);
  box-shadow:
    0 14px 44px rgba(45, 52, 64, 0.18),
    0 0 21px rgba(187, 235, 252, 0.14);
  backdrop-filter: blur(8px);
  z-index: 195;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(20px, 0, 0);
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s linear 0.22s,
    top 0.28s ease,
    left 0.28s ease,
    right 0.28s ease,
    bottom 0.28s ease,
    width 0.28s ease,
    height 0.28s ease,
    border-radius 0.28s ease;
}

.becki-chat.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s linear 0s,
    top 0.28s ease,
    left 0.28s ease,
    right 0.28s ease,
    bottom 0.28s ease,
    width 0.28s ease,
    height 0.28s ease,
    border-radius 0.28s ease;
}

/* Session-Wiederherstellung: kein Aufblitzen beim Seitenwechsel mit offenem Chat */
html[data-becki-chat="open"] .becki-chat {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition: none;
}

html[data-becki-chat="open"] .becki-tab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(110%);
  transition: none;
}

html[data-becki-chat-fs="1"] .becki-chat {
  right: 12px;
  bottom: 12px;
  left: 12px;
  width: auto;
  max-width: none;
  height: var(
    --becki-chat-restore-h,
    calc(100dvh - var(--sticky-header-offset) - var(--becki-chat-gap-below-header, 20px) - 12px)
  );
  /* iOS: 100dvh / gespeicherte px können größer als sichtbarer Viewport sein */
  max-height: calc(
    100svh - var(--sticky-header-offset) - var(--becki-chat-gap-below-header, 20px) - 12px
  );
  transition: none;
}

html[data-becki-chat="open"]:not([data-becki-chat-fs="1"]) .becki-chat {
  height: var(--becki-chat-restore-h, min(68vh, 620px));
  max-height: calc(100svh - 24px);
}

.becki-chat.is-fullscreen {
  right: 12px;
  bottom: 12px;
  left: 12px;
  width: auto;
  max-width: none;
  border-radius: 18px;
}

.becki-chat.is-resizing {
  transition: none !important;
}

.becki-chat__resize {
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 14px;
  cursor: ns-resize;
  z-index: 3;
}

.becki-chat__resize::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: var(--becki-chat-resize-handle);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.15s ease;
}

.becki-chat:hover .becki-chat__resize::after,
.becki-chat.is-resizing .becki-chat__resize::after {
  opacity: 1;
}

.becki-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 15px 14px;
  min-height: 74px;
  background: var(--purple-std);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  border-radius: 18px 18px 0 0;
}

.becki-chat__head-main {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}

.becki-chat__head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  transform: translateY(-8px);
}

.becki-chat__head-btn {
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.becki-chat__head-btn:hover {
  opacity: 0.88;
}

.becki-chat__head-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.becki-chat__title {
  font-size: 1.16rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
}

.becki-chat__title-ki {
  font-weight: 600;
}

.becki-chat__avatar-wrap {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  background: var(--purple-std);
}

.becki-chat__avatar-matrix {
  width: 44px;
  height: 44px;
  display: block;
  background: var(--purple-std);
}

.becki-chat__messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--becki-chat-panel-bg);
}

.becki-chat__msg {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 92%;
}

.becki-chat__msg--assistant {
  align-self: flex-start;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(45, 52, 64, 0.1);
}

.becki-chat__msg--assistant p {
  margin: 0 0 0.65em;
}

.becki-chat__msg--assistant p:last-child {
  margin-bottom: 0;
}

.becki-chat__msg--assistant p.becki-chat__block-lead {
  margin-bottom: 0.55em;
}

.becki-chat__msg--assistant p.becki-chat__subhead {
  margin: 0.15em 0 0.45em;
}

.becki-chat__msg--assistant strong {
  font-weight: 700;
}

.becki-chat__msg--assistant a,
.becki-chat__msg--assistant a.becki-chat__link {
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 700;
  color: #007faf;
  text-decoration: none;
}

.becki-chat__msg--assistant a:hover,
.becki-chat__msg--assistant a:focus-visible,
.becki-chat__msg--assistant a.becki-chat__link:hover,
.becki-chat__msg--assistant a.becki-chat__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.becki-chat__msg--assistant a.becki-chat__link--choice {
  cursor: pointer;
}

.becki-chat__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-self: flex-start;
  margin-top: 0.15rem;
}

/* Rückfrage-Optionen: Outline wie Freitext-Buttons — nicht wie Seiten-CTAs */
.becki-chat__choice-btn {
  appearance: none;
  border: 2px solid var(--pal-blue-1, #007faf);
  border-radius: 8px;
  background: #fff;
  color: var(--pal-blue-1, #007faf);
  padding: 0.55rem 0.95rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.becki-chat__choice-btn:hover,
.becki-chat__choice-btn:focus-visible {
  background: color-mix(in srgb, var(--pal-blue-1, #007faf) 8%, white);
  color: var(--pal-blue-1, #007faf);
  border-color: var(--pal-blue-1, #007faf);
}

.becki-chat__msg--assistant ol.becki-chat__list,
.becki-chat__msg--assistant ul.becki-chat__list {
  margin: 0.35em 0 0.7em;
  padding-left: 1.25em;
}

.becki-chat__msg--assistant ol.becki-chat__list {
  list-style-type: decimal;
}

.becki-chat__msg--assistant ul.becki-chat__list {
  list-style-type: disc;
}

.becki-chat__msg--assistant li {
  margin: 0.15em 0;
  padding-left: 0.15em;
}

.becki-chat__msg--assistant ol.becki-chat__list li + li,
.becki-chat__msg--assistant ul.becki-chat__list li + li {
  margin-top: 0.55em;
}

.becki-chat__msg--assistant p.becki-chat__numbered-item + p.becki-chat__numbered-item {
  margin-top: 0.85em;
}

.becki-chat__msg--assistant li::marker {
  font-weight: 600;
}

.becki-chat__msg--user {
  align-self: flex-end;
  background: var(--becki-chat-user-bg);
  color: var(--becki-chat-user-text);
  box-shadow: 0 1px 3px rgba(45, 52, 64, 0.14);
}

.becki-chat__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
  padding: 0.75rem 1rem 1rem;
  background: var(--purple-std);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.becki-chat__input {
  resize: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--white);
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.4;
  min-height: 2.75rem;
}

.becki-chat__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.becki-chat__send {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: var(--brand-blue-dark);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, transform 0.12s ease;
}

.becki-chat__send-icon {
  display: block;
  transform: translateX(1px);
}

.becki-chat__send:hover,
.becki-chat__send:focus-visible {
  background: var(--brand-blue);
}

.becki-chat__send:active {
  transform: scale(0.96);
}

.becki-chat__typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 70px;
  color: var(--text);
}

.becki-chat__typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-blue-dark);
  opacity: 0.45;
  animation: beckiTypingBounce 0.9s infinite ease-in-out;
}

.becki-chat__typing span:nth-child(2) {
  animation-delay: 0.14s;
}

.becki-chat__typing span:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes beckiTypingBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }

  40% {
    transform: translateY(-4px);
    opacity: 0.9;
  }
}

@media (max-width: 520px) {
  .becki-chat {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
  }

  /* Mobile FS: Inset statt px-Höhe — vermeidet iOS-„Turm“ durch falsche innerHeight/Restore */
  .becki-chat.is-fullscreen,
  html[data-becki-chat-fs="1"] .becki-chat {
    top: var(--sticky-header-offset, var(--topbar-h, 72px));
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto !important;
    max-height: none;
    border-radius: 0;
  }

  .becki-chat.is-fullscreen .becki-chat__head {
    border-radius: 0;
  }
}

/* —— BecKI Tab-Lasche (rechts unten) —— */
.becki-tab {
  position: fixed;
  right: 0;
  bottom: clamp(1.1rem, 3vh, 2.25rem);
  z-index: 85;
  transform: translateX(0);
  animation: becki-tab-enter 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    opacity 0.22s ease,
    visibility 0s linear 0s,
    transform 0.28s ease;
}

@keyframes becki-tab-enter {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.becki-tab.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
  transform: translateX(110%);
  transition:
    opacity 0.18s ease,
    visibility 0s linear 0.18s,
    transform 0.28s ease;
}

.becki-tab[hidden] {
  display: none !important;
}

.becki-tab__btn {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 6.15rem;
  min-height: 7.85rem;
  padding: 0.95rem 0.7rem 1.05rem 1.05rem;
  margin: 0;
  border: none;
  background: var(--purple-std);
  /* Hochkant-Kachel: rechts bündig, links stark gerundet (kein Halbkreis) */
  border-radius: 1.45rem 0 0 1.45rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.becki-tab__btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.becki-tab__logo-wrap {
  display: block;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 0.55rem;
  overflow: visible;
  flex-shrink: 0;
  transform: translateY(-3px);
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.becki-tab__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.becki-tab__btn:hover .becki-tab__logo-wrap,
.becki-tab__btn:focus-visible .becki-tab__logo-wrap {
  transform: translateY(-5px) scale(1.04);
  filter: brightness(1.06);
}

.becki-tab__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  width: 100%;
  margin-top: 0.35rem;
  color: #fff;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.becki-tab__label-brand {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.becki-tab__label-ki {
  font-weight: 700;
}

.becki-tab__label-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
}

.becki-tab__btn:hover,
.becki-tab__btn:focus-visible {
  background: color-mix(in srgb, var(--purple-std) 88%, #fff 12%);
  box-shadow: -4px 6px 18px rgba(45, 52, 64, 0.22);
}

@media (max-width: 520px) {
  .becki-tab {
    bottom: 0.85rem;
  }

  .becki-tab__btn {
    width: 5.55rem;
    min-height: 7.15rem;
    padding: 0.85rem 0.6rem 0.95rem 0.95rem;
    border-radius: 1.25rem 0 0 1.25rem;
  }

  .becki-tab__logo-wrap {
    width: 2.75rem;
    height: 2.75rem;
  }

  .becki-tab__label-brand {
    font-size: 0.82rem;
  }

  .becki-tab__label-sub {
    font-size: 0.62rem;
  }
}

/* —— Responsive —— */
/* Unter 1440px: Hero-Pfeile unter Text/Video statt seitlich (vermeidet Überlagerung 1280–1439) */
@media (max-width: 1439px) {
  .hero {
    display: flex;
    flex-direction: column;
    padding-bottom: clamp(0.5rem, 1.5vw, 0.85rem);
  }

  .hero__pager-row {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin: 15px auto 0;
    padding: 0 var(--layout-gutter) clamp(1rem, 2.5vw, 1.5rem);
    justify-content: center;
    gap: 50px;
    align-items: center;
  }

  .hero-pager__chev {
    width: var(--hero-pager-chev-w-stacked);
  }
}

@media (max-width: 1024px) {
  .topbar__nav,
  .topbar__blog {
    display: none;
  }

  .nav-layout-toggle {
    display: none;
  }

  body.nav-flyout-wide .nav-flyout {
    display: none !important;
  }

  .topbar__burger {
    display: block;
    margin-left: auto;
  }

  .content-segment__crumb {
    left: max(var(--layout-gutter), calc((100% - var(--max-w)) / 2));
    top: 1.45rem;
    font-size: 0.58rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero .hero__title,
  .hero .hero__lead {
    max-width: none;
  }

  .hero {
    padding-bottom: clamp(0.75rem, 2vw, 1rem);
  }

  .hero__copy {
    min-width: 0;
  }

  .hero__visual {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  /* Mobil gestapelt: wieder schmale Landscape-Höhe (kein Mitwachsen mit Text). */
  .hero__visual-frame {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }

  .tile-grid--count-3,
  .tile-grid--count-4 {
    grid-template-columns: 1fr;
  }

  /* Situationen: vollbreit + schmal (inline) — gleiche Einspaltigkeit unter 1024 */
  .pain-grid,
  .pain-grid--inline,
  .pain-grid--inline.pain-grid--count-2,
  .pain-grid--inline.pain-grid--count-3,
  .pain-grid--inline.pain-grid--count-4,
  .pain-grid--count-4,
  .case-grid,
  .process {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .stage-carousel__copy {
    padding-left: clamp(0.85rem, 4vw, 1.15rem);
    padding-right: clamp(0.85rem, 4vw, 1.15rem);
  }

  .stage-carousel__copy.prose h2 {
    font-size: clamp(1.15rem, 5.5vw, 1.45rem);
    line-height: 1.25;
  }

  .stage-carousel__copy.prose p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .topbar__cta {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Detail-/Artikelseite
   ============================================================ */
.page-article main.article {
  background: var(--gray-soft);
}

/* Brotkrumen — sticky direkt unter der Topnav */
body:has(.article-crumb) {
  --article-crumb-h: 2.35rem;
  /* :root sticky-header-offset sieht dort article-crumb-h=0 — hier neu setzen */
  --sticky-header-offset: calc(var(--topbar-h) + var(--article-crumb-h));
}

.article-crumb {
  background: var(--segment-bg);
  color: var(--white);
  position: sticky;
  top: var(--topbar-h);
  z-index: 190;
}

.article-crumb__inner {
  max-width: calc(var(--max-w) + 2 * var(--layout-gutter));
  margin: 0 auto;
  padding: 0.55rem var(--layout-gutter);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
}

.article-crumb__inner a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

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

.article-crumb__sep {
  opacity: 0.6;
}

.article-crumb [aria-current="page"] {
  color: var(--white);
  font-weight: 600;
}

.article-crumb .nav-layout-toggle {
  margin-left: 0.6rem;
}

/* Zweispaltiges Body-Layout: Text + Schnellkontakt-Aside */
.article-body {
  max-width: calc(var(--max-w) + 2 * var(--layout-gutter));
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) var(--layout-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.article-body--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--max-w);
}

.article-main {
  min-width: 0;
}

/* Großzügiger Abstand zwischen eigenständigen Inhalts-Modulen —
   im Rhythmus der Startseite */
.article-body .article-main > * + * {
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
}

/* Freitext: vertikalen Modul-Raum halbieren (Padding + Nachbar-Gap).
   Generell für .section--prose, nicht seiten-spezifisch. */
.article-body .article-main > .section--prose,
.article-body .article-main > .bec-module-wrap > .section--prose,
.article-body .article-main > .bec-band-dark > .section--prose,
.bec-content-rail .section--prose {
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.article-body .article-main > .section--prose + *,
.article-body .article-main > * + .section--prose,
.article-body .article-main > .bec-module-wrap:has(> .section--prose) + *,
.article-body .article-main > * + .bec-module-wrap:has(> .section--prose),
.article-body .article-main > .bec-band-dark:has(> .section--prose) + *,
.article-body .article-main > * + .bec-band-dark:has(> .section--prose) {
  margin-top: clamp(1.375rem, 3vw, 2.25rem);
}

/* Zentrierter Freitext (Headline+Intro als Modul-Vorspann): Abstand darunter nochmals halbieren. */
.article-body .article-main > .section--prose-align-center,
.article-body .article-main > .bec-module-wrap > .section--prose-align-center,
.article-body .article-main > .bec-band-dark > .section--prose-align-center,
.bec-content-rail .section--prose-align-center {
  padding-bottom: clamp(0.25rem, 0.625vw, 0.375rem);
}

.article-body .article-main > .section--prose-align-center + *,
.article-body .article-main > .bec-module-wrap:has(> .section--prose-align-center) + *,
.article-body .article-main > .bec-band-dark:has(> .section--prose-align-center) + * {
  margin-top: clamp(0.34375rem, 0.75vw, 0.5625rem);
}

/* Unnummerierte Beispiele: Abstand unter dem Modul halbieren (Padding + Nachbar-Gap). */
.article-body .article-main > .section--example-grid,
.article-body .article-main > .bec-module-wrap > .section--example-grid,
.article-body .article-main > .bec-band-dark > .section--example-grid,
.bec-content-rail .section--example-grid {
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.article-body .article-main > .section--example-grid + *,
.article-body .article-main > .bec-module-wrap:has(> .section--example-grid) + *,
.article-body .article-main > .bec-band-dark:has(> .section--example-grid) + *,
.article-body .article-main > .example-grid + *,
.article-body .article-main > .bec-module-wrap:has(> .example-grid) + * {
  margin-top: clamp(1.375rem, 3vw, 2.25rem);
}

/* Headline + Fließtext gemeinsam zentrieren; Bullet-Listen bleiben linksbündig. */
.prose--align-center {
  text-align: center;
}

.prose--align-center .prose__list,
.prose--align-center .prose__list li {
  text-align: left;
}

.prose--align-center > .prose__para-btn,
.prose--align-center .bec-prose-block > .prose__para-btn {
  display: flex;
  justify-content: center;
}

/* Ab Stack-Breakpoint (Hero/Bilder einspaltig): zentrierter Freitext → linksbündig. */
@media (max-width: 1024px) {
  .prose--align-center {
    text-align: left;
  }

  .prose--align-center > .prose__para-btn,
  .prose--align-center .bec-prose-block > .prose__para-btn {
    justify-content: flex-start;
  }
}

/*
 * Kachel-Modul-Köpfe (nummeriert / Reiter / unnummerierte Beispiele):
 * Typo + Headline→Intro wie Freitext.
 * Intro→Kacheln: mind. wie Headline→Intro (section__head-Default oft schon größer).
 */
.section--point-tiles .section__head,
.section--example-grid .section__head,
.section--tiles .section__head {
  margin-bottom: max(calc(0.75rem + 12px), clamp(1.25rem, 3vw, 2rem));
}

.section--point-tiles .section__head :is(h1, h2),
.section--point-tiles .section__head .section__title,
.section--example-grid .section__head :is(h1, h2),
.section--example-grid .section__head .section__title,
.section--tiles .section__head :is(h1, h2),
.section--tiles .section__head .section__title {
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 calc(0.75rem + 12px);
  color: var(--text);
}

/* Intro/Fließtext — Eyebrow (.section__kicker) bewusst ausnehmen */
.section--point-tiles .section__head > p:not(.section__kicker),
.section--point-tiles .section__head .bec-flow-text,
.section--point-tiles .section__head .bec-flow-text > p,
.section--example-grid .section__head > p:not(.section__kicker),
.section--example-grid .section__head .bec-flow-text,
.section--example-grid .section__head .bec-flow-text > p,
.section--tiles .section__head .tiles-intro,
.section--tiles .section__head .tiles-intro .section__sub,
.section--tiles .section__head .tiles-intro > p,
.section--tiles .section__head .tiles-intro .bec-prose-block__body > p,
.section--tiles .section__head .tiles-intro .prose__list,
.section--tiles .section__head .tiles-intro .prose__list li {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.55;
  color: var(--text);
  max-width: none;
}

.section--point-tiles .section__head .section__kicker,
.section--example-grid .section__head .section__kicker,
.section--tiles .section__head .section__kicker {
  margin: 0 0 0.5rem;
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--eyebrow-color);
}

.section--tiles .section__head .tiles-intro .section__sub {
  margin-top: 0;
}

.section__head--align-center {
  text-align: center;
}

.section__head--align-center .tiles-intro,
.section__head--align-center .tiles-intro .section__sub,
.section__head--align-center .bec-flow-text {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__head--align-center .tiles-intro .prose__list,
.section__head--align-center .tiles-intro .prose__list li {
  text-align: left;
}

@media (max-width: 1024px) {
  .section__head--align-center {
    text-align: left;
  }

  .section__head--align-center .tiles-intro,
  .section__head--align-center .tiles-intro .section__sub,
  .section__head--align-center .bec-flow-text {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

/* Überschrift + Intro (.prose) gehören eng zum direkt folgenden
   Inhaltsblock — kein großer Trennabstand dazwischen */
.article-body .article-main > .prose + .process,
.article-body .article-main > .prose + .example-grid,
.article-body .article-main > .prose + .faq,
.article-body .article-main > .section--prose + .section--process,
.article-body .article-main > .section--prose + .section--example-grid,
.article-body .article-main > .section--prose + .section--faq {
  margin-top: clamp(1rem, 2.4vw, 1.5rem);
}

.prose h2 {
  margin: 0 0 calc(0.75rem + 12px);
  font-size: clamp(1.5rem, 3.3vw, 2.05rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
}

/* Freitext: Abstand Headline → Intro (+12px, links und zentriert). */
.prose :is(h1, h3, h4, h5, h6) {
  margin-bottom: calc(0.75rem + 12px);
}

/*
 * Freitext-Modul (nicht Kacheln): Typo wie Hero —
 * Mengentext = .hero__lead, Haupt-Headline ≈ .hero__title.
 * Gilt für links und zentriert; Listen erben die Absatzgröße.
 */
.section--prose .prose {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
}

.section--prose .prose p {
  font-size: inherit;
  line-height: 1.55;
}

.section--prose .prose :is(h1, h2),
.section--prose .prose .heading--display-h1,
.section--prose .prose .heading--display-h2 {
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  line-height: 1.15;
}

.section--prose .prose > .prose__list,
.section--prose .prose > .prose__list li,
.section--prose .prose .bec-prose-block__body > .prose__list,
.section--prose .prose .bec-prose-block__body > .prose__list li {
  font-size: inherit;
  line-height: 1.55;
}

/* Semantik ≠ Darstellung: display_as steuert Optik, Tag bleibt semantisch */
.prose .heading--display-h1,
.hero .heading--display-h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.35rem);
  font-weight: 300;
  line-height: 1.15;
}

/* Freitext-H2 = Modul-Titel (.section__title), einheitlicher Typolook */
.prose .heading--display-h2 {
  font-size: clamp(1.5rem, 3.3vw, 2.05rem);
  font-weight: 300;
  line-height: 1.2;
}
.hero .heading--display-h2 {
  font-size: clamp(1.4rem, 2.9vw, 1.8rem);
  font-weight: 300;
  line-height: 1.25;
}

.prose .heading--display-h3,
.hero .heading--display-h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.3;
}

.prose .heading--display-h4,
.hero .heading--display-h4 {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 600;
  line-height: 1.35;
}

.prose .heading--display-h5,
.hero .heading--display-h5 {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.prose .heading--display-h6,
.hero .heading--display-h6 {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prose p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Abstand Absatz ↔ Liste (~eine Zeile), einheitlich Freitext */
.prose p:has(+ .prose__list) {
  margin-bottom: 1.15rem;
}
.prose .prose__list + p,
.prose .prose__list + .prose__para-btn,
.prose .bec-prose-block:has(.prose__list) + .bec-prose-insert + .bec-prose-block,
.prose .bec-prose-block:has(p) + .bec-prose-insert + .bec-prose-block:has(.prose__list) {
  margin-top: 1.15rem;
}

.prose__list {
  margin: 0 0 0.85rem;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.35em;
}

.prose__list li {
  position: relative;
  padding-left: 1.35rem;
  /* Gleich groß wie umgebender Fließtext (nie größer als Intro/Absatz) */
  font-size: inherit;
  line-height: 1.5;
  color: var(--text);
}

/* Freitext-Modul: Absätze und Listen teilen 0.95rem */
.prose {
  font-size: 0.95rem;
}
.prose > .prose__list,
.prose > .prose__list li,
.prose .bec-prose-block__body > .prose__list,
.prose .bec-prose-block__body > .prose__list li {
  font-size: inherit;
}

/* Eingefärbte SVG-Bullet: Form kommt aus dem SVG (mask),
   Farbe steuert allein --bullet-color → pflegeleicht & zuverlässig */
.prose__list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  transform: translateY(-50%);
  background-color: var(--bullet-color, var(--purple-std));
  -webkit-mask: var(--bullet-shape) center / contain no-repeat;
  mask: var(--bullet-shape) center / contain no-repeat;
}

.prose__list--cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35em 1.5rem;
}

/* Nummerierte Liste: 1. 2. 3. statt Bullet-Maske */
.prose__list--ordered {
  counter-reset: prose-ol;
}
.prose__list--ordered li {
  padding-left: 1.7rem;
}
.prose__list--ordered li::before {
  content: counter(prose-ol) ".";
  counter-increment: prose-ol;
  background: none;
  -webkit-mask: none;
  mask: none;
  width: auto;
  height: auto;
  left: 0;
  top: 0.05em;
  transform: none;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--prose-list-marker, var(--prose-link, var(--text)));
}

/* Fett im Fließtext: Raleway Bold, gleiche Textfarbe (sichtbar gegen Light-Body) */
.prose strong,
.prose b,
.prose__strong,
.prose strong.prose__strong {
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 700;
  color: inherit;
}

/* In-Text-Links: dunkleres Blau/Violett (Modul-Einstellung), fett, ohne Unterstrich */
.prose a:not(.prose__btn) {
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: var(--prose-link, #007faf);
}

/* Linkfarbe steuert zugleich Bullet- und Nummern-Akzent der Liste */
.prose--link-blue {
  --prose-link: #007faf;
  --bullet-color: #007faf;
  --prose-list-marker: #007faf;
}
.prose--link-violet {
  --prose-link: #752073;
  --bullet-color: #752073;
  --prose-list-marker: #752073;
}

/* Listen-Akzent je Bullet-Block (Text mit Bild / Kacheln) */
.prose__list--accent-blue,
.card-item-body .prose__list--accent-blue,
.reference-row__body .prose__list--accent-blue {
  --bullet-color: #007faf;
  --prose-list-marker: #007faf;
}
.prose__list--accent-violet,
.card-item-body .prose__list--accent-violet,
.reference-row__body .prose__list--accent-violet {
  --bullet-color: #752073;
  --prose-list-marker: #752073;
}
.prose__list--accent-gray,
.card-item-body .prose__list--accent-gray,
.reference-row__body .prose__list--accent-gray {
  --bullet-color: #2d2d2d;
  --prose-list-marker: #2d2d2d;
}

.prose a:not(.prose__btn):hover,
.prose a:not(.prose__btn):focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* CTA direkt unter einem Mengentext-Absatz (Farbe = Buttonvariante, nicht Link-Akzent) */
.prose__para-btn {
  margin: calc(0.85rem + 5px) 0 1.15em;
}
.card-item-body > p + .prose__para-btn,
.card-item-body .bec-prose-block__body > p + .prose__para-btn,
.reference-row__body .bec-prose-block__body > p + .prose__para-btn,
.prose .bec-prose-block__body > p + .prose__para-btn {
  margin-top: calc(0.85rem + 5px);
  margin-bottom: 1.15em;
}
/* case-grid: Button unten bündig (nach allgemeinen Para-Btn-Regeln, sonst überschrieben) */
.case-card .card-item-body > .prose__para-btn,
.case-card .card-item-body > p + .prose__para-btn,
.case-card .card-item-body .bec-prose-block__body > .prose__para-btn,
.case-card .card-item-body .bec-prose-block__body > p + .prose__para-btn {
  margin-top: auto;
  padding-top: calc(0.85rem + 5px);
  margin-bottom: 0;
}
.prose__para-btn .prose__btn,
.prose__para-btn a.prose__btn,
.card-item-body .prose__para-btn .prose__btn,
.reference-row__body .prose__para-btn .prose__btn,
.prose .prose__para-btn .prose__btn,
.prose .prose__para-btn a.prose__btn,
.prose .prose__para-btn a.prose__btn:hover,
.prose .prose__para-btn a.prose__btn:focus-visible,
.prose--link-blue .prose__para-btn .prose__btn,
.prose--link-violet .prose__para-btn .prose__btn {
  font-family: inherit;
  font-weight: 600;
  text-decoration: none !important;
}
.prose__para-btn .prose__btn--blue,
.prose__para-btn a.prose__btn--blue,
.card-item-body .prose__para-btn .prose__btn--blue,
.reference-row__body .prose__para-btn .prose__btn--blue,
.prose .prose__para-btn .prose__btn--blue,
.prose .prose__para-btn a.prose__btn--blue,
.prose--link-blue .prose__para-btn .prose__btn--blue,
.prose--link-violet .prose__para-btn .prose__btn--blue {
  background: var(--pal-blue-1);
  color: #fff !important;
  border: 2px solid var(--pal-blue-1);
}
.prose__para-btn .prose__btn--blue:hover,
.prose__para-btn a.prose__btn--blue:hover,
.card-item-body .prose__para-btn .prose__btn--blue:hover,
.reference-row__body .prose__para-btn .prose__btn--blue:hover,
.prose .prose__para-btn .prose__btn--blue:hover,
.prose .prose__para-btn a.prose__btn--blue:hover,
.prose--link-blue .prose__para-btn .prose__btn--blue:hover,
.prose--link-violet .prose__para-btn .prose__btn--blue:hover {
  background: var(--pal-blue-2);
  border-color: var(--pal-blue-2);
  color: #fff !important;
}
.prose__para-btn .prose__btn--violet,
.prose__para-btn a.prose__btn--violet,
.card-item-body .prose__para-btn .prose__btn--violet,
.reference-row__body .prose__para-btn .prose__btn--violet,
.prose .prose__para-btn .prose__btn--violet,
.prose .prose__para-btn a.prose__btn--violet,
.prose--link-blue .prose__para-btn .prose__btn--violet,
.prose--link-violet .prose__para-btn .prose__btn--violet {
  background: var(--pal-violet-1);
  color: #fff !important;
  border: 2px solid var(--pal-violet-1);
}
.prose__para-btn .prose__btn--violet:hover,
.prose__para-btn a.prose__btn--violet:hover,
.card-item-body .prose__para-btn .prose__btn--violet:hover,
.reference-row__body .prose__para-btn .prose__btn--violet:hover,
.prose .prose__para-btn .prose__btn--violet:hover,
.prose .prose__para-btn a.prose__btn--violet:hover,
.prose--link-blue .prose__para-btn .prose__btn--violet:hover,
.prose--link-violet .prose__para-btn .prose__btn--violet:hover {
  background: var(--pal-violet-2);
  border-color: var(--pal-violet-2);
  color: #fff !important;
}
.prose__para-btn .prose__btn--outline,
.prose__para-btn a.prose__btn--outline,
.btn.prose__btn--outline,
a.btn.prose__btn--outline,
.card-item-body .prose__para-btn .prose__btn--outline,
.reference-row__body .prose__para-btn .prose__btn--outline,
.prose .prose__para-btn .prose__btn--outline,
.prose .prose__para-btn a.prose__btn--outline,
.prose--link-blue .prose__para-btn .prose__btn--outline,
.prose--link-violet .prose__para-btn .prose__btn--outline {
  background: #fff !important;
  color: var(--pal-blue-1) !important;
  border: 2px solid var(--pal-blue-1) !important;
}
.prose__para-btn .prose__btn--outline:hover,
.prose__para-btn a.prose__btn--outline:hover,
.btn.prose__btn--outline:hover,
a.btn.prose__btn--outline:hover,
.card-item-body .prose__para-btn .prose__btn--outline:hover,
.reference-row__body .prose__para-btn .prose__btn--outline:hover,
.prose .prose__para-btn .prose__btn--outline:hover,
.prose .prose__para-btn a.prose__btn--outline:hover,
.prose--link-blue .prose__para-btn .prose__btn--outline:hover,
.prose--link-violet .prose__para-btn .prose__btn--outline:hover {
  background: color-mix(in srgb, var(--pal-blue-1) 8%, white) !important;
  color: var(--pal-blue-1) !important;
  border-color: var(--pal-blue-1) !important;
}

.prose__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0.35rem;
}

/* Kennzahlen-Streifen */
.keyfacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.keyfact {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  box-shadow: 0 2px 12px rgba(50, 58, 73, 0.06);
  text-align: center;
}

.keyfact__value {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--purple-accent);
}

.keyfact__label {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.keyfact__value-text {
  display: inline-block;
  min-height: 1.1em;
}

/* Scramble-/Reveal-Effekt (analog Homepage-Stats) — nur wenn JS aktiv (.is-enhanced) */
.keyfacts.is-enhanced .keyfact:not(.is-surface-visible) {
  opacity: 0;
  transform: translateY(6px);
}

.keyfacts .keyfact {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.keyfact.is-surface-visible {
  opacity: 1;
  transform: translateY(0);
}

.keyfacts.is-enhanced .keyfact__label {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.keyfact.is-label-visible .keyfact__label {
  opacity: 1;
}

.page-article .keyfact__value-text.is-scrambling .stat__char--ghost {
  color: rgba(0, 127, 175, 0.3);
}

.page-article .keyfact__value-text.is-scrambling .stat__char--set,
.page-article .keyfact__value-text.is-done {
  color: var(--pal-blue-1);
}

/* Ohne JS: finalen Wert aus data-Attribut zeigen */
.keyfacts:not(.is-enhanced) .keyfact__value-text:empty::before {
  content: attr(data-stat-final);
}

/* Bild-Modul */
.article-figure {
  position: relative;
  margin: 0;
  --ai-badge-corner: 14px;
}

.article-figure img {
  width: 100%;
  aspect-ratio: 650 / 265;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: block;
}

.article-figure figcaption,
.article-video figcaption {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Video-Modul */
.article-video {
  position: relative;
  margin: 0;
  --ai-badge-corner: 14px;
}

.article-video__player {
  width: 100%;
  height: auto;
  aspect-ratio: 650 / 265;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: #000;
  display: block;
}

/* ============================================================
   Optionales „KI-generiert"-Label (is pic AI?)
   Wiederverwendbar in jedem Bild-Container. Voraussetzung:
   Container hat position: relative (und setzt optional
   --ai-badge-corner passend zum Eck-Radius des Bildes).
   Ein-/Ausblenden = eine Zeile Markup pro Bild.
   ============================================================ */
.ai-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  margin: 0;
  display: inline-block;
  padding: 0.34rem 0.66rem;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.015em;
  line-height: 1;
  color: #aae3f7;
  background: rgba(50, 58, 73, 0.5);
  border-top-left-radius: var(--ai-badge-corner, 0px);
  border-bottom-right-radius: 12px;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.ai-badge:hover,
.ai-badge:focus-visible {
  color: #fff;
  background: rgba(40, 48, 62, 0.72);
  outline: none;
}

.ai-badge strong {
  font-weight: 700;
  color: inherit;
}

/* Kundenzitat */
.quote {
  margin: 0;
  background: var(--purple-std);
  color: var(--white);
  border-radius: 14px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.quote__text {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 300;
  line-height: 1.45;
}

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

.quote__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.quote__author {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: var(--text-hell);
  line-height: 1.35;
}

.quote__author strong {
  color: var(--white);
  font-weight: 600;
}

/* Kundenzitat — Profilspalte links (weiß), Zitat rechts (Farbfläche) */
.quote--profile {
  background: var(--white);
  color: var(--text);
  padding: 0;
  overflow: hidden;
}

.quote--profile .quote__layout {
  display: grid;
  grid-template-columns: clamp(10.5rem, 26vw, 13.5rem) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: clamp(10.5rem, 22vw, 13.5rem);
}

.quote--profile .quote__person {
  text-align: center;
  background: var(--white);
  color: var(--text);
  padding: clamp(0.75rem, 1.8vw, 1rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
}

.quote--profile .quote__avatar-wrap {
  /* Quadrat füllt die Person-Spalte (kürzere Seite = Spaltenbreite) */
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: none;
  box-shadow: none;
  box-sizing: border-box;
  background: var(--gray-soft, #e8eef5);
  --ai-badge-corner: var(--radius);
}

.quote--profile .quote__avatar-wrap .bec-media-hit {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.quote--profile .quote__avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* kürzere Bildseite füllt das Quadrat */
  object-position: center center;
  display: block;
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Zitat-Spalte: mit .quote__body (neu) ODER direktes .quote__text (Legacy-HTML) */
.quote--profile .quote__body,
.quote--profile .quote__layout > .quote__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #752073;
  color: #fff;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.35rem, 3.2vw, 2rem);
  box-sizing: border-box;
  min-width: 0;
  min-height: 100%;
  margin: 0;
}

.quote--profile.quote--violet .quote__body,
.quote--profile.quote--violet .quote__layout > .quote__text {
  background: var(--pal-violet-1, #752073);
  color: #fff;
}

.quote--profile.quote--blue .quote__body,
.quote--profile.quote--blue .quote__layout > .quote__text {
  background: var(--pal-blue-1, var(--brand-blue-dark, #007faf));
  color: #fff;
}

.quote--profile.quote--gray .quote__body,
.quote--profile.quote--gray .quote__layout > .quote__text {
  background: var(--purple-std, #3a3348);
  color: #fff;
}

.quote--profile.quote--white .quote__body,
.quote--profile.quote--white .quote__layout > .quote__text {
  background: var(--gray-soft, #e8eef5);
  color: var(--text);
}

/* Wie .tiq-card__quote-text (Text-Bild-Zitat) */
.quote--profile .quote__text,
.quote--profile .quote__body .quote__text {
  margin: 0;
  font-size: clamp(0.92rem, 1.55vw, 1.02rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: #fff;
}

.quote--profile .quote__credit {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2em 0.5em;
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: inherit;
}

.quote--profile .quote__name {
  margin: 0;
  font-size: inherit;
  font-weight: 700;
  font-style: normal;
  color: inherit;
}

.quote--profile .quote__byline {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
  font-style: normal;
  opacity: 0.92;
  color: inherit;
}

.quote--profile.quote--white .quote__text,
.quote--profile.quote--white .quote__body .quote__text,
.quote--profile.quote--white .quote__credit {
  color: var(--text);
}

.quote--profile.quote--pending .quote__credit {
  opacity: 0.78;
}

.quote--profile.quote--pending .quote__text {
  opacity: 0.9;
}

@media (max-width: 640px) {
  .quote--profile .quote__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Beispiel-Karten (unnummeriert) */
.example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.example-grid--count-1 {
  grid-template-columns: 1fr;
}

.example-grid--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.example-grid--count-4 {
  /* wie Reiter-/Case-Kacheln: 2×2 statt vier nebeneinander */
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.example-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 2px 12px rgba(50, 58, 73, 0.06);
}

.example-card__title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--example-title-color, var(--brand-blue-dark));
}

/* Farbvarianten für die Headlines der Praxis-Beispiele.
   Standard = Blau (#007FAF). Klasse auf .example-grid (alle Kacheln)
   oder auf eine einzelne .example-card setzen. */
.example-grid--title-anthracite,
.example-card--title-anthracite {
  --example-title-color: var(--text);
}

.example-grid--title-violet,
.example-card--title-violet {
  --example-title-color: var(--purple-dark);
}

.example-card__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.5rem;
}

.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(50, 58, 73, 0.06);
  overflow: hidden;
}

.faq__q {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--purple-accent);
  transition: transform 0.15s ease;
}

.faq__item[open] .faq__q::after {
  transform: rotate(45deg);
}

.faq__a {
  margin: 0;
  padding: 0 1rem 0.95rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Schnellkontakt-Aside (sticky) — 40px unter sticky Brotkrumen */
.article-aside {
  position: sticky;
  top: calc(var(--topbar-h) + var(--article-crumb-h) + var(--sticky-aside-gap));
}

.quick-contact {
  background: var(--purple-dark);
  color: var(--white);
  border-radius: 14px;
  padding: 1.5rem 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.quick-contact__avatar {
  width: 101px;
  height: 101px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.7rem;
  border: 3px solid rgba(255, 255, 255, 0.25);
}

.quick-contact__lead {
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  color: var(--text-hell);
}

.quick-contact__name {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.quick-contact__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}

.quick-contact__row:hover {
  color: var(--nav-accent);
}

.quick-contact__cta {
  margin-top: 0.95rem;
  width: 100%;
  background: var(--white);
  color: var(--purple-dark);
}

.quick-contact__cta:hover {
  background: var(--brand-blue);
  color: var(--white);
}

/* Steffi Kontakt-Bar — flacher Streifen: Bild | Lead+Name | Kontakt+CTA */
.steffi-kontakt-bar {
  margin: 0;
  border-radius: 14px;
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1.15rem, 3vw, 1.85rem);
  color: var(--white);
  background: var(--pal-violet-1, #752073);
}

.steffi-kontakt-bar__layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.8vw, 1.75rem) clamp(1.15rem, 3.5vw, 2.25rem);
  align-items: center;
}

.steffi-kontakt-bar__person {
  flex-shrink: 0;
}

.steffi-kontakt-bar__avatar-wrap {
  width: clamp(72px, 12vw, 88px);
  height: clamp(72px, 12vw, 88px);
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
}

.steffi-kontakt-bar__avatar-wrap .bec-media-hit {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.steffi-kontakt-bar__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.steffi-kontakt-bar__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
}

.steffi-kontakt-bar__lead {
  margin: 0;
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
}

.steffi-kontakt-bar__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

.steffi-kontakt-bar__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  justify-self: end;
}

.steffi-kontakt-bar__row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.steffi-kontakt-bar__row:hover {
  color: var(--nav-accent, #8ec8f5);
}

.steffi-kontakt-bar__cta {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  margin-top: 0.35rem;
  background: var(--white);
  color: var(--purple-dark, #2a1840);
}

.steffi-kontakt-bar__cta:hover {
  background: var(--brand-blue);
  color: var(--white);
}

.steffi-kontakt-bar--blue {
  background: var(--brand-blue-dark, var(--pal-blue-1));
}

.steffi-kontakt-bar--violet {
  background: var(--pal-violet-1, #752073);
}

.steffi-kontakt-bar--gray {
  background: var(--purple-std);
}

.steffi-kontakt-bar--white {
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.steffi-kontakt-bar--white .steffi-kontakt-bar__lead {
  color: var(--text);
}

.steffi-kontakt-bar--white .steffi-kontakt-bar__name {
  color: var(--text);
}

.steffi-kontakt-bar--white .steffi-kontakt-bar__row {
  color: var(--text);
}

.steffi-kontakt-bar--white .steffi-kontakt-bar__row:hover {
  color: var(--brand-blue);
}

.steffi-kontakt-bar--white .steffi-kontakt-bar__avatar-wrap {
  border-color: rgba(0, 0, 0, 0.12);
}

.steffi-kontakt-bar--white .steffi-kontakt-bar__cta {
  background: var(--nav-btn-idle, var(--brand-blue-dark));
  color: var(--white);
}

.steffi-kontakt-bar--white .steffi-kontakt-bar__cta:hover {
  background: var(--nav-btn-hover, var(--brand-blue));
  color: var(--white);
}

/* Farbiger HG: Streifen übernimmt Section-Farbe, bleibt flach */
.section--band-blue .steffi-kontakt-bar,
.section--band-violet .steffi-kontakt-bar,
.section--band-gray .steffi-kontakt-bar,
.section--band-white .steffi-kontakt-bar {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 720px) {
  .steffi-kontakt-bar__layout {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .steffi-kontakt-bar__actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    align-items: stretch;
  }

  .steffi-kontakt-bar__cta {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .steffi-kontakt-bar__layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .steffi-kontakt-bar__actions {
    align-items: center;
  }

  .steffi-kontakt-bar__row {
    white-space: normal;
  }
}

/* Kontakt-Panel (großes Formular) */
.section--contact {
  background: var(--surface-light);
}

/* Content-Seiten: Formular im Artikel-Flow (Main-Spalte), nicht Full-Bleed-Footer.
   max-width:none nur innerhalb .article-main — sonst (Homepage) gilt --max-w. */
.section--contact--in-flow {
  background: transparent;
  margin: 0;
  padding: 0;
}

.article-main .section--contact--in-flow > .section__inner {
  max-width: none;
  margin: 0;
}

/* Homepage-Sicherheitsnetz: Kontakt bleibt am Content-Raster */
.page-homepage .section--contact > .section__inner,
main.article.page-homepage .section--contact > .section__inner {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* Mit Steffi-Aside: Formular bleibt in der Content-Spalte, Kachel rechts frei */
.article-body--has-aside .article-main .section--contact--in-flow .contact-panel {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

@media (max-width: 1100px) {
  .article-body--has-aside .article-main .section--contact--in-flow .contact-panel {
    grid-template-columns: 1fr;
  }
}

.contact-panel {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-panel__intro {
  background: var(--purple-dark);
  color: var(--white);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}

.contact-panel__intro .section__kicker {
  color: var(--white);
}

.contact-panel__intro .section__title {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.contact-panel__text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-hell);
}

.contact-panel__points {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.contact-panel__points li {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-hell);
}

.contact-panel__intro--person {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}

.contact-panel__person-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.contact-panel__person-meta {
  min-width: 0;
}

.contact-panel__portrait {
  width: 101px;
  height: 101px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0;
  background: var(--white);
  flex-shrink: 0;
  box-sizing: border-box;
}

.page-team .contact-panel__portrait {
  border: 3px solid var(--pal-violet-3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.page-blog-article .contact-panel__portrait {
  border: 3px solid var(--pal-violet-3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.contact-panel__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.contact-panel__quote {
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--text-hell);
}

.contact-panel__person {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--white);
}

.contact-panel__intro--person .section__kicker {
  margin-top: 0;
}

.contact-form {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  display: grid;
  gap: 0.75rem;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-form__field {
  display: grid;
  gap: 0.3rem;
}

.contact-form__field span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form__field input,
.contact-form__field textarea {
  font: inherit;
  font-size: 0.88rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #d3d8e0;
  border-radius: 8px;
  background: var(--surface-light);
  color: var(--text);
  resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: var(--white);
}

.contact-form__submit {
  justify-self: start;
}

.contact-form__note {
  margin: 0;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.contact-form__status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.86rem;
  font-weight: 600;
}

.contact-form__status.is-ok {
  color: #1a7a45;
}

.contact-form__status.is-error {
  color: #b42318;
}

.contact-form__status.is-busy {
  color: var(--text-muted);
}

.contact-form__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__captcha input[type="number"] {
  max-width: 8rem;
}

.contact-form__captcha.is-hidden,
.contact-form__captcha[hidden] {
  display: none !important;
}

/* Nach Erfolg: nur Danke + optional „nochmal“ — kein leeres Formular + Captcha */
.contact-form--sent > :not(.contact-form__status):not(.contact-form__again) {
  display: none !important;
}

.contact-form__again {
  justify-self: start;
  margin-top: 0.35rem;
}

/* Verlinkte Case-Cards + Zurück-Link */
.case-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.case-card--link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(50, 58, 73, 0.14);
}

.article-back {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  text-align: center;
}

.article-back a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nav-btn-idle);
  text-decoration: none;
}

.article-back a:hover {
  color: var(--nav-btn-hover);
}

/* Responsive Artikel */
@media (max-width: 1024px) {
  .article-body {
    grid-template-columns: 1fr;
  }

  /* Bei segmentierter Kontaktkachel nur einmal anzeigen (erstes Segment nach Vollbreite) */
  .article--segmented-aside .article-body--has-aside ~ .article-body--has-aside .article-aside {
    display: none;
  }

  .article-aside {
    position: static;
  }

  .quick-contact {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* Content+Steffi: Lead unter Hero / Tail unter Aside (volle Artikelbreite).
   Abstand zum dunklen Band — Kacheln/Steffi nicht bündig auf dem HG. */
.article--segmented-aside > .bec-module-wrap,
.article--segmented-aside > .bec-band-dark,
.article--segmented-aside > .section--contact {
  margin-top: clamp(1.5rem, 3.5vw, 2.5rem);
}
.article--segmented-aside > .bec-band-dark > .section--contact,
.article--segmented-aside > .bec-module-wrap.bec-band-dark {
  margin-top: 0;
}
/* Lead-Band vor der Aside-Zeile: Abstand nach unten statt doppeltem Body-Padding */
.article--segmented-aside > .bec-band-dark:has(+ .article-body),
.article--segmented-aside > .bec-module-wrap:has(+ .article-body),
.article--segmented-aside > .section--contact:has(+ .article-body),
.article--band-tail > .bec-band-dark:has(+ .article-body),
.article--band-tail > .bec-module-wrap:has(+ .article-body) {
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}
.bec-band-dark + .article-body,
.bec-module-wrap + .article-body,
.section--contact + .article-body {
  padding-top: 0;
}

/*
 * Content-Rail-Vertrag (anti-Regression):
 * - Modul-Inhalt: --max-w (section__inner / hero-stage__inner / bec-content-rail / article-main)
 * - Full-Bleed nur Hintergrund: section--band-*, content-segment, bec-band-dark, hero-band--stage
 * - 3-Spalten: Parent .article-main ist die Rail
 * - 4-Spalten / Homepage / Page-Tail: jedes Modul braucht eigene Rail oder article-body--single
 */
.bec-content-rail {
  width: 100%;
  max-width: calc(var(--max-w) + 2 * var(--layout-gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-gutter);
  padding-right: var(--layout-gutter);
  box-sizing: border-box;
}
.article-main .bec-content-rail {
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Page-tail / Lead ohne browserbreites Farbband: Layoutbreite wie .article-body */
.article--segmented-aside > .article-body ~ .bec-module-wrap:not(.bec-band-dark):not(:has(> .bec-band-dark)):not(:has(> .section--band-blue)):not(:has(> .section--band-violet)):not(:has(> .section--band-gray)),
.article--segmented-aside > .article-body ~ .bec-content-rail,
.article--segmented-aside > .article-body ~ .prose,
.article--segmented-aside > .article-body ~ .article-inline-band,
.article--segmented-aside > .article-body ~ .faq,
.article--segmented-aside > .article-body ~ .quote,
.article--segmented-aside > .article-body ~ .reference-list,
.article--segmented-aside > .article-body ~ .reference-row,
.article--segmented-aside > .article-body ~ .point-tiles,
.article--segmented-aside > .article-body ~ .example-grid,
.article--segmented-aside > .article-body ~ .process,
.article--segmented-aside > .article-body ~ .process-orbit-wrap,
.article--segmented-aside > .article-body ~ .highlight-bullets-module,
.article--segmented-aside > .article-body ~ .stage-module.highlight-bullets-module,
.article--segmented-aside > .article-body ~ .article-figure,
.article--segmented-aside > .article-body ~ .steffi-kontakt-bar,
.article--segmented-aside > .article-body ~ .keyfacts,
.article--segmented-aside > .article-body ~ .hero-stage,
.article--segmented-aside > .article-body ~ .bec-stage-carousel-host,
.article--segmented-aside > .article-body ~ .section:not(.section--band-blue):not(.section--band-violet):not(.section--band-gray),
.article--segmented-aside > .article-inline-band,
.article--segmented-aside > .bec-module-wrap:has(.article-inline-band):not(:has(> .section--band-blue)):not(:has(> .section--band-violet)):not(:has(> .section--band-gray)),
.article--band-tail > .article-body ~ .bec-module-wrap:not(.bec-band-dark):not(:has(> .bec-band-dark)):not(:has(> .section--band-blue)):not(:has(> .section--band-violet)):not(:has(> .section--band-gray)),
.article--band-tail > .article-body ~ .bec-content-rail,
.article--band-tail > .article-body ~ .prose,
.article--band-tail > .article-body ~ .article-inline-band,
.article--band-tail > .article-body ~ .faq,
.article--band-tail > .article-body ~ .quote,
.article--band-tail > .article-body ~ .reference-list,
.article--band-tail > .article-body ~ .reference-row,
.article--band-tail > .article-body ~ .point-tiles,
.article--band-tail > .article-body ~ .example-grid,
.article--band-tail > .article-body ~ .process,
.article--band-tail > .article-body ~ .process-orbit-wrap,
.article--band-tail > .article-body ~ .highlight-bullets-module,
.article--band-tail > .article-body ~ .article-figure,
.article--band-tail > .article-body ~ .steffi-kontakt-bar,
.article--band-tail > .article-body ~ .hero-stage,
.article--band-tail > .article-body ~ .bec-stage-carousel-host,
.article--band-tail > .article-body ~ .section:not(.section--band-blue):not(.section--band-violet):not(.section--band-gray),
.article--band-tail > .article-inline-band,
.article--band-tail > .bec-module-wrap:has(.article-inline-band) {
  width: 100%;
  max-width: calc(var(--max-w) + 2 * var(--layout-gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-gutter);
  padding-right: var(--layout-gutter);
  box-sizing: border-box;
}

/* Ausnahme: bewusst browserbreites Farb-/Dunkelband am Seitenende */
.article--segmented-aside > .article-body ~ .bec-band-dark,
.article--segmented-aside > .article-body ~ .section--band-blue,
.article--segmented-aside > .article-body ~ .section--band-violet,
.article--segmented-aside > .article-body ~ .section--band-gray,
.article--segmented-aside > .article-body ~ .bec-module-wrap.bec-band-dark,
.article--segmented-aside > .article-body ~ .bec-module-wrap:has(> .bec-band-dark),
.article--segmented-aside > .article-body ~ .bec-module-wrap:has(> .section--band-blue),
.article--segmented-aside > .article-body ~ .bec-module-wrap:has(> .section--band-violet),
.article--segmented-aside > .article-body ~ .bec-module-wrap:has(> .section--band-gray) {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Dunkles Endmodul: kein zusätzlicher Body-Padding-Spalt zum Band;
   Abstand kommt vom margin-top des Bands (segmented) bzw. eigener Regel (band-tail). */
.article-body:has(+ .bec-band-dark),
.article-body:has(+ .bec-module-wrap.bec-band-dark) {
  padding-bottom: 0;
}
.article-body--single:has(> .article-main > .bec-band-dark:last-child),
.article-body--single:has(> .article-main > .bec-module-wrap.bec-band-dark:last-child) {
  padding-bottom: 0;
}
.article--band-tail > .bec-band-dark,
.article--band-tail > .bec-module-wrap.bec-band-dark {
  margin-top: clamp(1.5rem, 3.5vw, 2.5rem);
}
main.article > .bec-band-dark:last-child,
main.article > .bec-module-wrap.bec-band-dark:last-child {
  margin-bottom: 0;
}

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

@media (max-width: 640px) {
  .keyfacts,
  .example-grid,
  .example-grid--count-3,
  .prose__list--cols,
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ————————————————————————————————————————————————————————————
   Contentseite: Kennzahl-Akzent, Kundenzitat-Varianten + farbiges FAQ.
   ———————————————————————————————————————————————————————————— */

/* Kennzahl-Headlines in kräftigem Marken-Blau */
.page-article .keyfact__value {
  color: var(--pal-blue-1);
}

/* Kundenzitat-Farbvarianten (nicht-profile); Profile steuert .quote__body */
.page-article .quote--violet:not(.quote--profile) {
  background: var(--pal-violet-1);
}

.page-article .quote--blue:not(.quote--profile) {
  background: var(--pal-blue-1);
}

.page-article .quote--gray:not(.quote--profile) {
  background: var(--purple-std);
}

/* FAQ: farbiger Reiter — Frage weiß auf Farbfläche; Antwort auf Weiß.
   Gilt für Artikel (.page-article) und Startseite/Editor (.faq--blue|violet|gray). */
.page-article .faq__item {
  background: var(--pal-violet-1);
  box-shadow: none;
}

.page-article .faq--violet .faq__item,
.faq.faq--violet .faq__item {
  background: var(--pal-violet-1);
  box-shadow: none;
}

.page-article .faq--blue .faq__item,
.faq.faq--blue .faq__item {
  background: var(--pal-blue-1);
  box-shadow: none;
}

.page-article .faq--gray .faq__item,
.faq.faq--gray .faq__item {
  background: var(--purple-std);
  box-shadow: none;
}

.page-article .faq__q,
.page-article .faq__q::after,
.faq.faq--violet .faq__q,
.faq.faq--violet .faq__q::after,
.faq.faq--blue .faq__q,
.faq.faq--blue .faq__q::after,
.faq.faq--gray .faq__q,
.faq.faq--gray .faq__q::after {
  color: var(--white);
}

.page-article .faq__a,
.faq.faq--violet .faq__a,
.faq.faq--blue .faq__a,
.faq.faq--gray .faq__a {
  background: var(--white);
  color: var(--text);
  padding-top: 0.9rem;
}

.hero-band--stage {
  background: var(--purple-std);
}

.hero-band__tail {
  padding: clamp(2rem, 5vw, 3rem) var(--layout-gutter) clamp(2.5rem, 6vw, 3.5rem);
  color: var(--white);
}

.hero-band__tail-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-band__tail .section__title {
  color: var(--white);
}

.hero-band__tail-text {
  margin: 0.75rem auto 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.hero-band__tail-actions {
  margin: 1.25rem 0 0;
}

.hero-band__back {
  max-width: var(--max-w);
  margin: clamp(2rem, 5vw, 3.25rem) auto 0;
  padding: 0 var(--layout-gutter) clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
}

.hero-band__back a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

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

.hero-band__tail--form {
  padding: clamp(1rem, 3vw, 1.5rem) var(--layout-gutter) clamp(2rem, 5vw, 3rem);
}

.section--contact-on-dark {
  background: transparent;
  padding: 0;
}

.hero-band__tail--form .section__inner {
  max-width: none;
  width: 100%;
  margin: 0;
}

.section--contact-on-dark .section__kicker {
  color: rgba(255, 255, 255, 0.72);
}

.section--contact-on-dark .section__title {
  color: var(--white);
}

.section--contact-on-dark .contact-panel__text,
.section--contact-on-dark .contact-panel__points {
  color: rgba(255, 255, 255, 0.85);
}

/* Tel/Mail: wie Prose-Links (fett, idle ohne Unterstrich), aber weiß ohne Farbakzent */
.section--contact-on-dark .contact-panel__points a {
  font-family: "Raleway", system-ui, sans-serif;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-bottom: none;
}

.section--contact-on-dark .contact-panel__points a:hover,
.section--contact-on-dark .contact-panel__points a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  border-bottom: none;
}

.contact-panel__points a {
  font-family: "Raleway", system-ui, sans-serif;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  border-bottom: none;
}

.contact-panel__points a:hover,
.contact-panel__points a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  opacity: 1;
}

.page-team main.article,
.page-kontakt main.article,
main.article.page-team,
main.article.page-kontakt {
  background: transparent;
}

/* Freitext auf dunklem Stage-Hintergrund: hellgrauer Streifen (lesbarer Standardtext) */
.bec-prose-light-strip {
  background: var(--hero-bg, #e8eef2);
  color: var(--text);
  padding: clamp(1.75rem, 4vw, 2.75rem) var(--layout-gutter);
  width: 100%;
  box-sizing: border-box;
}

.bec-prose-light-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.bec-prose-light-strip .prose,
.bec-prose-light-strip .prose h2,
.bec-prose-light-strip .prose h3,
.bec-prose-light-strip .prose p,
.bec-prose-light-strip .prose li,
.bec-prose-light-strip .prose strong {
  color: var(--text);
}

.hero-band--stage > .bec-module-wrap:has(.bec-prose-light-strip) {
  /* Modul-Bar bleibt über dem hellen Streifen sichtbar */
  background: transparent;
}

/* ————————————————————————————————————————————————————————————
   Content-Karussell (article-main, 3-Spalten + Steffi): kein Stage-Full-Bleed
   ———————————————————————————————————————————————————————————— */

.hero-stage--embedded,
.article-main .hero-stage {
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/*
 * Content-Rail für eingebettete Karussells (Team/Kontakt, 3- und 4-spaltig):
 * Außerhalb von .article-main (Homepage / Page-Tail / Full-Shell) gilt --max-w.
 * Nur innerhalb von .article-main entfällt die Rail (Parent ist schon die Spalte).
 * wide-tiles ändert das Innenlayout (Intro 4-spaltig), nicht die Browserbreite.
 */
.hero-stage--embedded .hero-stage__inner {
  max-width: var(--max-w);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.article-main .hero-stage .hero-stage__inner {
  max-width: none;
  width: 100%;
  margin: 0;
}

.hero-stage--embedded .stage-module__shell,
.article-main .hero-stage .stage-module__shell {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.hero-stage--embedded .stage-carousel__outer,
.article-main .hero-stage .stage-carousel__outer {
  padding: 0 clamp(1.75rem, 4vw, 2.5rem);
}

.hero-stage--embedded .stage-carousel__side--prev,
.article-main .hero-stage .stage-carousel__side--prev {
  left: calc(clamp(0.35rem, 1.5vw, 0.75rem) + 10px);
}

.hero-stage--embedded .stage-carousel__side--next,
.article-main .hero-stage .stage-carousel__side--next {
  right: calc(clamp(0.35rem, 1.5vw, 0.75rem) + 10px);
}

.hero-stage--embedded .stage-carousel__grid,
.article-main .hero-stage .stage-carousel__grid {
  grid-template-columns: minmax(0, 1fr) minmax(140px, 220px);
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.hero-stage--embedded .stage-carousel__pane,
.article-main .hero-stage .stage-carousel__pane {
  min-height: clamp(220px, 28vw, 300px);
}

/* Team-Karussell in Content-Spalte (3+Steffi): großzügig, Roster oben, Portrait 50/50.
   Stage-Seite (.hero-band--stage) bleibt unberührt. */
.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane {
  min-height: clamp(360px, 48vw, 520px);
  align-items: stretch;
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro,
.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro-cube,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro-cube {
  min-height: 0;
  padding: clamp(0.75rem, 2vw, 1.25rem) 0 clamp(1rem, 2.5vw, 1.5rem);
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__grid--intro,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__grid--intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  min-height: 0;
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy {
  max-width: none;
  width: 100%;
  padding-left: clamp(1.75rem, 4vw, 2.75rem);
  padding-right: clamp(1.75rem, 4vw, 2.75rem);
  order: 2;
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy h2,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy h2 {
  margin: 0 0 clamp(1.1rem, 2.5vw, 1.65rem);
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy > p,
.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy .bec-editable,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy > p,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy .bec-editable {
  margin-top: 0;
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__visual--roster,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__visual--roster {
  position: static;
  top: auto;
  bottom: auto;
  right: auto;
  left: auto;
  transform: none;
  order: 1;
  width: 100%;
  margin: 0 auto clamp(1.35rem, 3vw, 2rem);
  padding: 0.5rem clamp(1rem, 3vw, 1.75rem) 0.25rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__roster,
.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__roster--cube,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__roster,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__roster--cube {
  --roster-bubble-size: clamp(84px, 13vw, 112px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  grid-template-columns: none;
  grid-template-rows: none;
  width: 100%;
  max-width: calc(3 * var(--roster-bubble-size) + 2 * 0.75rem);
  margin-inline: auto;
  gap: 0.65rem 0.75rem;
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__roster-item,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__roster-item {
  width: var(--roster-bubble-size);
  height: var(--roster-bubble-size);
  flex: 0 0 var(--roster-bubble-size);
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__roster-photo,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__roster-photo {
  width: 100%;
  height: 100%;
}

/* Content-Detailslide: 50/50 — Text links (früher umbrechen), Kreis 125% rechts, Unterzeilen eng darunter */
.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__grid,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(0.75rem, 2.5vw, 1.75rem);
  align-items: center;
  text-align: initial;
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__copy,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__copy {
  max-width: 100%;
  width: 100%;
  min-width: 0;
  order: unset;
  padding-left: clamp(1.35rem, 3.2vw, 2.35rem);
  padding-right: clamp(0.35rem, 1.2vw, 0.85rem);
  text-align: left;
  justify-self: stretch;
  align-self: center;
  /* +12px Abstand zum linken Pfeil, Umbruchbreite bleibt — rückt an die Bildmaske */
  transform: translateX(12px);
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__copy h2,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__copy h2 {
  text-align: left;
  margin: 0 0 clamp(0.55rem, 1.4vw, 0.9rem);
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__visual,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__visual {
  transform: none;
  order: unset;
  margin: 0 auto;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 0.28rem;
  padding: 0;
}

/* Content-Portrait: etwas unter Stage-Default (252px), nicht mehr 125% */
.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__photo,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__photo {
  width: min(88%, clamp(190px, 26vw, 260px));
  margin-inline: auto;
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__quote,
.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__caption,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__quote,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__caption {
  text-align: center;
  max-width: min(100%, 18rem);
  margin: 0;
  line-height: 1.3;
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__quote,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__quote {
  margin-top: 10px;
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__caption,
.article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__caption {
  margin-top: 0.05rem;
  font-size: 0.88rem;
}

.hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-module__body,
.article-main .hero-stage:not(.hero-stage--wide-tiles) .stage-module[data-stage-carousel="team"] .stage-module__body {
  overflow: visible;
  padding-top: clamp(0.75rem, 2vw, 1.25rem);
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

/* Vollbreit (4-Spalten): Team-Intro wie Stage-Seite — Text links, Bubble-Feld rechts.
   Flacher als Content-Stack: Stage-Padding, mehr Luft zum Pfeil. */
.hero-stage--wide-tiles.hero-stage--embedded .stage-carousel__outer,
.article-main .hero-stage--wide-tiles .stage-carousel__outer {
  padding: 0 clamp(2.75rem, 5.5vw, 3.5rem);
}

.hero-stage--wide-tiles.hero-stage--embedded .stage-carousel__side--prev,
.article-main .hero-stage--wide-tiles .stage-carousel__side--prev {
  left: clamp(1.15rem, 2.4vw, 1.85rem);
}

.hero-stage--wide-tiles.hero-stage--embedded .stage-carousel__side--next,
.article-main .hero-stage--wide-tiles .stage-carousel__side--next {
  right: clamp(1.15rem, 2.4vw, 1.85rem);
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-module__body,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-module__body {
  overflow: hidden;
  padding-top: clamp(0.85rem, 2vw, 1.15rem);
  padding-bottom: clamp(0.75rem, 1.8vw, 1.1rem);
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane {
  min-height: 0;
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro,
.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro-cube,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro-cube {
  position: relative;
  /* Roster 2×135 + Gap — ohne Extra-Luft oben/unten */
  min-height: calc(2 * 135px + 0.75rem);
  align-items: stretch;
  padding: 0;
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__grid--intro,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__grid--intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  flex-direction: unset;
  align-items: unset;
  justify-content: unset;
  justify-items: start;
  align-content: center;
  position: static;
  width: 100%;
  min-height: 100%;
  gap: unset;
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy {
  /* +35px nach rechts; max-width mitziehen → gleiche Umbruchbreite, dichter an Bubbles */
  max-width: min(calc(42rem + 35px), calc(100% - 29rem - 12px + 35px));
  width: auto;
  order: unset;
  padding-left: calc(clamp(0.35rem, 1vw, 0.75rem) + 35px);
  padding-right: calc(clamp(0.75rem, 1.5vw, 1.25rem) + 40px);
  padding-top: 0;
  padding-bottom: 0;
  align-self: center;
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy h2,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy h2 {
  margin: 0 0 clamp(0.55rem, 1.4vw, 0.85rem);
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy > p,
.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy .bec-editable,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy > p,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy .bec-editable {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy > p:last-child,
.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy .bec-editable:last-child,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy > p:last-child,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy .bec-editable:last-child {
  margin-bottom: 0;
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__visual--roster,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__visual--roster {
  position: absolute;
  right: clamp(1.5rem, 4vw, 2.75rem);
  top: 0;
  bottom: 0;
  left: auto;
  transform: none;
  order: unset;
  width: auto;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-sizing: content-box;
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__roster,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__roster {
  --roster-bubble-size: 135px;
  display: grid;
  grid-template-columns: repeat(3, var(--roster-bubble-size));
  grid-template-rows: repeat(2, var(--roster-bubble-size));
  gap: 0.75rem;
  width: max-content;
  max-width: none;
  margin: 0;
  flex-wrap: unset;
}

/* 3×3 (ab 7 Motiven): auf Kachelhöhe (2×135 + Gap) skalieren, mit Randabstand */
.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__roster--cube,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__roster--cube {
  --roster-edge: 10px;
  --roster-gap: 0.45rem;
  --roster-tile-h: calc(2 * 135px + 0.75rem);
  --roster-bubble-size: calc(
    (var(--roster-tile-h) - 2 * var(--roster-edge) - 2 * var(--roster-gap)) / 3
  );
  display: grid;
  grid-template-columns: repeat(3, var(--roster-bubble-size));
  grid-template-rows: repeat(3, var(--roster-bubble-size));
  gap: var(--roster-gap);
  width: max-content;
  max-width: none;
  margin: 0;
  flex-wrap: unset;
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro-cube .stage-carousel__visual--roster,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro-cube .stage-carousel__visual--roster {
  top: var(--roster-edge, 10px);
  bottom: var(--roster-edge, 10px);
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro-cube .stage-carousel__copy,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro-cube .stage-carousel__copy {
  /* Kleinere 3×3-Matrix → weniger Reserve rechts */
  max-width: min(calc(42rem + 35px), calc(100% - 18rem - 12px + 35px));
}

.hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__roster-item,
.article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__roster-item {
  width: var(--roster-bubble-size);
  height: var(--roster-bubble-size);
  flex: unset;
}

@media (max-width: 1100px) {
  .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy,
  .article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy {
    max-width: min(calc(36rem + 35px), calc(100% - 22rem + 35px));
  }

  .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__roster,
  .article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__roster {
    --roster-bubble-size: clamp(96px, 12vw, 120px);
  }

  .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__roster--cube,
  .article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__roster--cube {
    --roster-edge: 8px;
    --roster-gap: 0.4rem;
    --roster-tile-h: calc(2 * clamp(96px, 12vw, 120px) + 0.75rem);
    --roster-bubble-size: calc(
      (var(--roster-tile-h) - 2 * var(--roster-edge) - 2 * var(--roster-gap)) / 3
    );
  }
}

@media (max-width: 900px) {
  /* Schmale Viewports: wieder stapeln wie Content-Karussell */
  .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__grid--intro,
  .article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__grid--intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy,
  .article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__pane--intro .stage-carousel__copy {
    max-width: none;
    width: 100%;
    order: 2;
    padding-left: clamp(1.75rem, 4vw, 2.75rem);
    padding-right: clamp(1.75rem, 4vw, 2.75rem);
  }

  .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__visual--roster,
  .article-main .hero-stage--wide-tiles .stage-module[data-stage-carousel="team"] .stage-carousel__visual--roster {
    position: static;
    order: 1;
    width: 100%;
    margin: 0 auto clamp(1.35rem, 3vw, 2rem);
    padding: 0.5rem clamp(1rem, 3vw, 1.75rem) 0.25rem;
  }
}

@media (max-width: 900px) {
  .hero-stage--embedded .stage-carousel__grid,
  .article-main .hero-stage .stage-carousel__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__grid,
  .article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.85rem;
    justify-items: center;
  }

  .hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__visual,
  .article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__visual {
    order: -1;
  }

  .hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__copy,
  .article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__copy {
    padding-right: clamp(1.35rem, 3.2vw, 2.35rem);
  }

  .hero-stage--embedded .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__photo,
  .article-main .hero-stage .stage-module[data-stage-carousel="team"] .stage-carousel__pane--portrait .stage-carousel__photo {
    width: min(70%, clamp(180px, 42vw, 260px));
  }
}

/* ————————————————————————————————————————————————————————————
   Hero-Stage: Karussellmodul im Hero-Band
   ———————————————————————————————————————————————————————————— */

.hero-stage {
  position: relative;
  z-index: 9;
  margin-top: -1px;
  background: transparent;
  padding: clamp(1rem, 3vw, 1.5rem) var(--layout-gutter) clamp(1.25rem, 3vw, 1.75rem);
}

.hero-stage__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section--stage {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.stage-module {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.stage-module__shell {
  background: var(--stage-bg);
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  /* Keine graue Kante / Seam über der Kachel — Hintergrund kommt vom hero-band--stage */
  border-top: none;
  margin-top: 0;
  /* Farbwechsel hart (wie Vorlage) — Reiter/Caps/Shell sonst asynchron */
  transition: none !important;
}

.stage-module__tab-label,
.stage-module--accent .stage-module__shell,
.stage-module--member-tile .stage-module__shell,
.stage-module--accent .stage-module__tab-label,
.stage-module--member-tile .stage-module__tab-label {
  transition: none !important;
}

.stage-module__tab-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 -1px var(--tile-tab-inset);
  padding-right: 0.15rem;
  position: relative;
  z-index: 3;
}

.stage-module__tab-top {
  display: inline-flex;
  align-items: flex-end;
  width: max-content;
  max-width: 100%;
  margin: 0;
  position: relative;
  z-index: 1;
}

.stage-module__tab-cap {
  flex: 0 0 18px;
  width: 18px;
  height: var(--reiter-h);
  object-fit: fill;
  display: block;
}

.stage-module__tab-cap:first-of-type {
  margin-right: -1px;
}

.stage-module__tab-cap:last-of-type {
  margin-left: -1px;
}

.stage-module__tab-label {
  display: flex;
  align-items: center;
  min-height: var(--reiter-h);
  height: var(--reiter-h);
  margin: 0 -1px;
  padding: 0 1.1rem;
  background: var(--stage-bg);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

/* Content-Karussell „Bild weiß“: Shell+Reiter über --stage-bg (sonst #e6e6e6) */
.stage-module--embedded:not(.stage-module--accent):not(.stage-module--member-tile),
.hero-stage--embedded .stage-module:not(.stage-module--accent):not(.stage-module--member-tile),
.article-main .hero-stage .stage-module:not(.stage-module--accent):not(.stage-module--member-tile) {
  --stage-bg: #ffffff;
}

.stage-module__body {
  padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(1.25rem, 3vw, 1.5rem);
  overflow: hidden;
}

.stage-module--accent .stage-module__shell,
.stage-module--member-tile .stage-module__shell {
  background: var(--stage-tile-accent, var(--brand-blue-dark));
}

.stage-module--accent .prose,
.stage-module--accent .prose h2,
.stage-module--accent .prose p,
.stage-module--accent .prose a:not(.prose__btn),
.stage-module--accent .prose__list li,
.stage-module--accent .stage-carousel__quote,
.stage-module--accent .stage-carousel__person,
.stage-module--accent .stage-carousel__caption,
.stage-module--member-tile .prose,
.stage-module--member-tile .prose h2,
.stage-module--member-tile .prose p,
.stage-module--member-tile .prose a:not(.prose__btn),
.stage-module--member-tile .prose__list li,
.stage-module--member-tile .stage-carousel__quote,
.stage-module--member-tile .stage-carousel__person,
.stage-module--member-tile .stage-carousel__caption {
  color: var(--white);
}

/* Listen-Intro auf farbigem Tile: color: var(--text) aus .prose p nicht übernehmen */
.stage-module--accent:not(.stage-module--accent-light) .prose p:has(+ .prose__list),
.stage-module--accent:not(.stage-module--accent-light) .prose p:has(+ .highlight-bullets__lists),
.highlight-bullets-module.stage-module--accent:not(.stage-module--accent-light) .prose > p:has(+ .prose__list),
.highlight-bullets-module.stage-module--accent:not(.stage-module--accent-light) .prose > p:has(+ .highlight-bullets__lists),
.stage-module--member-tile .prose p:has(+ .prose__list),
.stage-module--member-tile .stage-carousel__copy.prose > p,
.stage-module--member-tile .stage-carousel__copy.prose > p.bec-editable {
  color: var(--white);
}

.stage-module--accent .prose a:not(.prose__btn),
.stage-module--member-tile .prose a:not(.prose__btn) {
  color: inherit;
}

.stage-module--accent .prose__list li::before {
  background-color: #79d4f6;
}

.stage-module--member-tile .prose__list li::before {
  background-color: rgba(255, 255, 255, 0.72);
}

.stage-module--accent .stage-module__tab-label,
.stage-module--member-tile .stage-module__tab-label {
  background: var(--stage-tile-accent, var(--brand-blue-dark));
  color: var(--white);
}

.stage-module--accent .stage-carousel__side,
.stage-module--member-tile .stage-carousel__side {
  color: rgba(255, 255, 255, 0.9);
}

.stage-module--accent .stage-carousel__side.hero-pager:hover,
.stage-module--accent .stage-carousel__side.hero-pager:focus-visible,
.stage-module--member-tile .stage-carousel__side.hero-pager:hover,
.stage-module--member-tile .stage-carousel__side.hero-pager:focus-visible {
  color: rgba(255, 255, 255, 1);
}

.stage-module--accent .stage-carousel__social-title,
.stage-module--accent .stage-carousel__social-lead,
.stage-module--accent .stage-carousel__social-label {
  color: var(--white);
}

.stage-module--accent .stage-carousel__social-lead {
  color: rgba(255, 255, 255, 0.88);
}

.stage-module--accent .stage-carousel__social-icon-link:hover ~ .stage-carousel__social-label,
.stage-module--accent .stage-carousel__social-icon-link:focus-visible ~ .stage-carousel__social-label,
.stage-module--accent a.stage-carousel__social-item:hover .stage-carousel__social-label,
.stage-module--accent a.stage-carousel__social-item:focus-visible .stage-carousel__social-label {
  color: rgba(255, 255, 255, 0.95);
}

.stage-module--member-tile .stage-carousel__photo {
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}

.stage-layout-toggle {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0 0 0.72rem;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  cursor: pointer;
  opacity: 0.88;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.stage-layout-toggle:hover,
.stage-layout-toggle:focus-visible {
  opacity: 1;
  outline: none;
}

.stage-layout-toggle__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.stage-module--color-tiles .stage-layout-toggle__dot {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.08);
}

.stage-carousel__outer {
  position: relative;
  padding: 0 clamp(2.5rem, 5vw, 3.25rem);
}

.stage-carousel__side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: auto;
  height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: var(--brand-blue-dark);
  line-height: 0;
}

.stage-carousel__side--prev { left: clamp(1.25rem, 2.5vw, 2rem); }
.stage-carousel__side--next { right: clamp(1.25rem, 2.5vw, 2rem); }

.stage-carousel__side .hero-pager__chev {
  width: var(--hero-pager-chev-w);
}

.stage-carousel__side.hero-pager:hover,
.stage-carousel__side.hero-pager:focus-visible {
  color: var(--nav-btn-hover);
  transform: translateY(-50%);
}

.stage-carousel__viewport {
  overflow: hidden;
}

.stage-carousel__track {
  display: flex;
  flex-direction: row;
  width: 100%;
  transition: transform 0.48s cubic-bezier(0.25, 0.82, 0.25, 1);
}

.stage-carousel__pane {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  min-height: clamp(260px, 34vw, 340px);
  display: flex;
  align-items: center;
}

.stage-carousel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 290px);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  width: 100%;
}

.stage-carousel__pane--intro {
  position: relative;
  min-height: calc(135px * 2 + 0.75rem + 2rem);
  align-items: stretch;
}

.stage-carousel__grid--intro {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-content: center;
  position: static;
  width: 100%;
  min-height: 100%;
}

.stage-carousel__pane--intro .stage-carousel__copy {
  max-width: min(44rem, calc(100% - 29rem - 20px));
  padding-right: calc(clamp(0.75rem, 1.5vw, 1.25rem) + 50px);
}

.stage-carousel__visual--roster {
  position: absolute;
  right: clamp(2rem, 5vw, 3.25rem);
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0;
  z-index: 2;
}

.stage-carousel__roster {
  --roster-bubble-size: 135px;
  display: grid;
  grid-template-columns: repeat(3, var(--roster-bubble-size));
  grid-template-rows: repeat(2, var(--roster-bubble-size));
  gap: 0.75rem;
  width: max-content;
  margin: 0;
}

/* Ab 7 Motiven: 3×3 ≈ 335×335 */
.stage-carousel__roster--cube {
  --roster-bubble-size: clamp(92px, 9.5vw, 106px);
  grid-template-rows: repeat(3, var(--roster-bubble-size));
  gap: 0.55rem;
}

.stage-carousel__pane--intro-cube {
  min-height: calc(135px * 2 + 0.75rem + 2rem);
}

.stage-carousel__pane--intro-cube .stage-carousel__copy {
  max-width: min(38rem, calc(100% - 26rem - 20px));
}

.stage-carousel__roster-item {
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  border-radius: 50%;
}

.stage-carousel__roster-item .bec-media-hit {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  outline-offset: 4px;
}

.stage-carousel__roster-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  box-sizing: border-box;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--member-outline, rgba(50, 58, 73, 0.15));
  box-shadow: 0 2px 8px rgba(50, 58, 73, 0.06);
  transition: border-width 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.stage-carousel__roster-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.2s ease;
}

.stage-carousel__roster-item:hover .stage-carousel__roster-photo,
.stage-carousel__roster-item:focus-visible .stage-carousel__roster-photo {
  border-width: 5px;
  border-color: var(--member-outline, var(--brand-blue-dark));
  transform: scale(1.04);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--member-outline, var(--brand-blue-dark)) 28%, transparent);
}

.stage-carousel__roster-item:hover .stage-carousel__roster-photo img,
.stage-carousel__roster-item:focus-visible .stage-carousel__roster-photo img {
  transform: scale(1.04);
}

.stage-carousel__copy {
  min-width: 0;
  padding-left: calc(clamp(1.5rem, 3vw, 2.75rem) + 20px);
}

.stage-carousel__grid--portrait {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  column-gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.stage-carousel__pane--portrait .stage-carousel__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  max-width: calc(100% - 40px);
  min-width: 0;
  padding-right: calc(0.25rem + 40px);
  box-sizing: border-box;
}

.stage-carousel__copy.prose h2 {
  margin-bottom: 0.75rem;
}

.stage-carousel__copy.prose .prose__list {
  margin-bottom: 0;
}

.stage-carousel__copy.prose .prose__para-btn {
  margin: 0.75rem 0 0;
}

.stage-carousel__map-l1 {
  display: inline-block;
}

.stage-carousel__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(12px);
  padding-top: 0.75rem;
  padding-right: 0.25rem;
}

/* Roster: .stage-carousel__visual { translateY(12px) } sonst nach unten → Clipping */
.stage-carousel__visual.stage-carousel__visual--roster {
  transform: none;
  padding-top: 0;
  padding-right: 0;
}

/* 3×3: optisch mittig zwischen Textblock und Weiter-Pfeil (wie Side-Pager: top 50% / -50%) */
.stage-carousel__visual.stage-carousel__visual--roster.stage-carousel__visual--roster-cube {
  top: 50%;
  bottom: auto;
  right: clamp(4.25rem, 8vw, 6.25rem);
  transform: translateY(-50%);
  padding: 0;
}

.stage-carousel__pane--portrait .stage-carousel__visual,
.stage-carousel__visual--portrait {
  /* 40px nach links: Abstand zum rechten Weiter-Pfeil */
  transform: translate(-40px, -4px);
  width: min(100%, 252px);
  max-width: 252px;
  margin-left: auto;
  margin-right: 0;
  align-items: center;
  text-align: center;
  justify-self: end;
}

.stage-carousel__pane--portrait .stage-carousel__quote,
.stage-carousel__pane--portrait .stage-carousel__caption,
.stage-carousel__visual--portrait .stage-carousel__quote,
.stage-carousel__visual--portrait .stage-carousel__caption {
  display: block;
  width: 100%;
  max-width: 252px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-sizing: border-box;
}

.stage-carousel__photo {
  width: min(100%, 252px);
  aspect-ratio: 1;
  box-sizing: border-box;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  flex-shrink: 0;
  border: 3px solid var(--member-outline, transparent);
  box-shadow: 0 2px 10px rgba(50, 58, 73, 0.06);
}

.stage-carousel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.stage-carousel__quote {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}

.stage-carousel__person,
.stage-carousel__caption {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.stage-carousel__visual--map {
  transform: translateX(-50px);
  align-self: center;
}

.stage-carousel__pane--map .stage-carousel__copy {
  padding-right: 100px;
}

.stage-carousel__map {
  width: min(100%, 280px);
  height: auto;
  display: block;
}

.stage-carousel__pane--social {
  justify-content: center;
  align-items: center;
  min-height: clamp(280px, 34vw, 360px);
}

.stage-carousel__social-layout {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.35rem, 3vw, 1.85rem);
}

.stage-carousel__social-head {
  max-width: 34rem;
}

.stage-carousel__social-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.9vw, 1.95rem);
  line-height: 1.25;
  font-weight: 300;
  color: var(--text);
}

.stage-carousel__social-lead {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-muted);
}

.stage-carousel__social-row {
  --social-bubble-size: 135px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.85rem, 2.5vw, 1.25rem);
  width: 100%;
}

.stage-carousel__social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: default;
  text-decoration: none;
  color: inherit;
  border-radius: 0;
}

/* Nur Kreismaske ist klickbarer Link / Link-Editor */
.stage-carousel__social-icon-link {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border-radius: 50%;
  line-height: 0;
  appearance: none;
  font: inherit;
}

.stage-carousel__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--social-bubble-size);
  height: var(--social-bubble-size);
  aspect-ratio: 1;
  box-sizing: border-box;
  border-radius: 50%;
  overflow: hidden;
  background: var(--social-color, var(--brand-blue-dark));
  border: 3px solid var(--white);
  box-shadow: 0 3px 14px rgba(50, 58, 73, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Nur Icon-Fallback (ohne Foto) — Instagram-Markenverlauf, nicht bei Foto-Kreisen */
.stage-carousel__social-item--instagram .stage-carousel__social-icon:not(.stage-carousel__social-icon--photo) {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 22%, #dc2743 52%, #cc2366 78%, #bc1888 100%);
}

.stage-carousel__social-icon img {
  width: 42%;
  height: 42%;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

/* Foto-Motive in Social-Bubbles: formatfüllend (object-fit cover) */
.stage-carousel__social-icon--photo {
  background: var(--stage-bg, #e6e6e6);
  padding: 0;
}

.stage-carousel__social-icon--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.stage-carousel__social-item--blog .stage-carousel__social-icon:not(.stage-carousel__social-icon--photo) img {
  width: 54%;
  height: 54%;
}

.stage-carousel__social-label {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-align: center;
  max-width: 9rem;
  cursor: default;
}

.stage-carousel__social-icon-link:hover .stage-carousel__social-icon,
.stage-carousel__social-icon-link:focus-visible .stage-carousel__social-icon,
a.stage-carousel__social-item:hover .stage-carousel__social-icon,
a.stage-carousel__social-item:focus-visible .stage-carousel__social-icon {
  transform: scale(1.07);
  box-shadow: 0 8px 22px rgba(50, 58, 73, 0.2);
  border-color: var(--white);
}

.stage-carousel__social-icon-link:hover .stage-carousel__social-icon img,
.stage-carousel__social-icon-link:focus-visible .stage-carousel__social-icon img,
a.stage-carousel__social-item:hover .stage-carousel__social-icon img,
a.stage-carousel__social-item:focus-visible .stage-carousel__social-icon img {
  transform: scale(1.05);
}

.stage-carousel__social-icon-link:hover ~ .stage-carousel__social-label,
.stage-carousel__social-icon-link:focus-visible ~ .stage-carousel__social-label,
a.stage-carousel__social-item:hover .stage-carousel__social-label,
a.stage-carousel__social-item:focus-visible .stage-carousel__social-label {
  color: var(--text);
}

/* Legacy: gesamter Social-Tile war <a> — Pointer + Hover wiederherstellen */
a.stage-carousel__social-item {
  cursor: pointer;
}

.stage-module__footer,
.stage-carousel__pager,
.stage-carousel__dots {
  display: none;
}

.page-kontakt .section--contact {
  scroll-margin-top: calc(var(--sticky-header-offset) + 1rem);
}

/* Anker-Ziele (Module/Sections) nicht unter sticky Topnav/Crumb verstecken */
main.article section[id],
main.article .section[id],
main.article #kontakt,
main.article #kontakt-form,
main.article #leistungen {
  scroll-margin-top: calc(var(--sticky-header-offset) + 0.75rem);
}

/* Stage-Karussell: Pfeile unter dem Inhalt (wie Hero unter 1440px) */
@media (max-width: 1439px) {
  .stage-carousel__outer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 50px;
    row-gap: 0;
    padding: 0;
  }

  .stage-carousel__viewport {
    flex: 1 0 100%;
    width: 100%;
    order: 1;
  }

  .stage-carousel__side {
    position: static;
    transform: none;
    flex: 0 0 auto;
    order: 2;
    margin-top: 15px;
  }

  .stage-carousel__side--prev,
  .stage-carousel__side--next {
    left: auto;
    right: auto;
  }

  .stage-carousel__side.hero-pager:hover,
  .stage-carousel__side.hero-pager:focus-visible {
    transform: none;
  }

  .stage-module--accent .stage-carousel__side.hero-pager:hover,
  .stage-module--accent .stage-carousel__side.hero-pager:focus-visible,
  .stage-module--member-tile .stage-carousel__side.hero-pager:hover,
  .stage-module--member-tile .stage-carousel__side.hero-pager:focus-visible {
    transform: none;
  }

  .stage-carousel__side .hero-pager__chev {
    width: var(--hero-pager-chev-w-stacked);
  }

  .stage-carousel__copy {
    padding-left: clamp(1rem, 2.5vw, 1.75rem);
    padding-right: clamp(1rem, 2.5vw, 1.75rem);
  }

  .stage-carousel__pane--intro .stage-carousel__copy {
    max-width: none;
    width: 100%;
    padding-right: clamp(1rem, 2.5vw, 1.75rem);
  }

  /* Roster über dem Text: kein translateY(-50%) — sonst Clipping am Shell/Viewport */
  .stage-carousel__visual--roster,
  .stage-carousel__visual.stage-carousel__visual--roster,
  .stage-carousel__visual.stage-carousel__visual--roster.stage-carousel__visual--roster-cube {
    position: static;
    top: auto;
    bottom: auto;
    right: auto;
    left: auto;
    transform: none;
    order: -1;
    width: 100%;
    margin: 0.15rem auto 1.15rem;
    padding: 0.4rem 0.5rem 0.15rem;
    box-sizing: border-box;
  }

  .stage-carousel__roster,
  .stage-carousel__roster--cube {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    grid-template-columns: none;
    grid-template-rows: none;
    width: 100%;
    max-width: calc(3 * var(--roster-bubble-size) + 2 * 0.65rem);
    margin-inline: auto;
    gap: 0.55rem 0.65rem;
  }

  .stage-carousel__roster-item {
    width: var(--roster-bubble-size);
    height: var(--roster-bubble-size);
    flex: 0 0 var(--roster-bubble-size);
  }

  .stage-carousel__grid--intro {
    min-height: 0;
    justify-items: stretch;
  }

  .stage-carousel__pane--intro,
  .stage-carousel__pane--intro-cube {
    min-height: 0;
    align-items: stretch;
    padding-top: 0.25rem;
  }

  .stage-module__body {
    padding-top: clamp(0.35rem, 1.2vw, 0.65rem);
    padding-bottom: clamp(1rem, 2.5vw, 1.35rem);
    overflow: visible;
  }

  .stage-carousel__viewport {
    overflow: visible;
  }

  .stage-carousel__pane--portrait .stage-carousel__grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .stage-carousel__pane--portrait .stage-carousel__visual {
    transform: none;
    margin: 0 auto;
    padding-top: 0.5rem;
    width: 100%;
    max-width: 100%;
  }

  .stage-carousel__pane--portrait .stage-carousel__copy {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    justify-self: stretch;
  }

  .stage-carousel__pane--portrait .stage-carousel__photo img {
    object-position: center center;
  }
}

@media (max-width: 1024px) {
  .stage-carousel__roster {
    --roster-bubble-size: clamp(84px, 12vw, 112px);
  }

  .stage-carousel__roster--cube {
    --roster-bubble-size: clamp(72px, 10.5vw, 92px);
  }

  .stage-carousel__social-row {
    --social-bubble-size: clamp(96px, 11vw, 135px);
  }
}

@media (max-width: 860px) {
  .stage-carousel__grid,
  .stage-carousel__grid--intro {
    grid-template-columns: 1fr;
  }

  .stage-carousel__roster,
  .stage-carousel__roster--cube {
    --roster-bubble-size: clamp(68px, 22vw, 96px);
    gap: 0.5rem 0.55rem;
    max-width: calc(3 * var(--roster-bubble-size) + 2 * 0.55rem);
  }

  .stage-carousel__visual {
    transform: none;
    order: -1;
    margin-bottom: 0.5rem;
    padding-top: 0;
  }

  .stage-carousel__pane--portrait .stage-carousel__visual {
    transform: none;
    margin-left: auto;
    margin-right: auto;
  }

  .stage-carousel__visual--map {
    transform: none;
  }

  .stage-carousel__pane--map .stage-carousel__copy {
    padding-right: 0;
  }

  .stage-carousel__social-row {
    --social-bubble-size: clamp(88px, 24vw, 108px);
    gap: 0.85rem 1rem;
  }

  .stage-carousel__social-lead {
    font-size: 0.88rem;
  }

  .stage-carousel__pane {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .stage-carousel__roster,
  .stage-carousel__roster--cube {
    --roster-bubble-size: clamp(58px, 26vw, 78px);
    gap: 0.4rem 0.45rem;
    max-width: calc(3 * var(--roster-bubble-size) + 2 * 0.45rem);
  }

  .stage-carousel__visual--roster,
  .stage-carousel__visual.stage-carousel__visual--roster,
  .stage-carousel__visual.stage-carousel__visual--roster.stage-carousel__visual--roster-cube {
    margin-bottom: 0.85rem;
    padding: 0.25rem 0.25rem 0;
  }
}

/* —— Blog —— */
.page-blog main.article,
.page-blog-article main.article {
  background: var(--gray-soft);
}

.blog-hero {
  background: var(--gray-soft);
  padding: clamp(2.5rem, 6vw, 4rem) var(--layout-gutter) clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
}

.blog-hero__inner {
  max-width: 52rem;
  margin: 0 auto;
}

.blog-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--eyebrow-color);
}

.blog-hero__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
}

.blog-hero__lead {
  margin: 0 auto;
  max-width: 44rem;
  font-size: clamp(0.95rem, 1.9vw, 1.08rem);
  line-height: 1.65;
  color: var(--text-muted);
}

/* Widescreen Lead-Bild + Meta darunter (echte Blogartikel) */
.blog-lead-band {
  width: 100%;
  padding: 0 var(--layout-gutter) clamp(0.5rem, 2vw, 1rem);
}

.blog-lead-band__inner {
  max-width: min(100%, 1180px);
  margin: 0 auto;
}

.page-blog-article .blog-lead-band .article-figure--lead {
  margin: 0;
}

.page-blog-article .blog-lead-band .article-figure--lead img,
.page-blog-article .blog-lead-band .article-figure--lead .media-pending {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 14px;
}

.page-blog-article .blog-lead-band .article-figure--lead figcaption {
  display: none;
}

.blog-article-meta {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}

.page-blog-article .article-body {
  padding-top: clamp(1rem, 2.5vw, 1.75rem);
}

.page-blog-article .article-body {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.35rem);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--layout-gutter) clamp(2.5rem, 6vw, 3.5rem);
}

/* Editor: Modul-Wrap inkl. Bar als Grid-Zelle */
.blog-grid > .bec-module-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.blog-grid > .bec-module-wrap > .blog-card {
  flex: 1 1 auto;
  min-height: 0;
}

.page-blog .blog-listing {
  background: var(--gray-soft);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(50, 58, 73, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(50, 58, 73, 0.12);
}

.blog-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #e8ecf2;
  --ai-badge-corner: var(--radius);
}

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

.blog-card__body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.blog-card__tag {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue-dark);
}

.blog-card__title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.blog-card__text,
.blog-card__teaser {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.blog-card__more {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
}

.section--blog-related {
  background: var(--surface-light);
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.section--blog-author {
  padding: clamp(1.5rem, 4vw, 2.25rem) 0 0;
}

.blog-author {
  display: block;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(50, 58, 73, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-author:hover,
.blog-author:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(50, 58, 73, 0.12);
}

.blog-author__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue-dark);
}

.blog-author__main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-author__photo {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--pal-violet-3);
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.blog-author__name {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.blog-author__role {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.blog-author__more {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
}

button.blog-author__more {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.case-grid--blog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card--blog .case-card__metric {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue-dark);
}

.case-card--blog .case-card__cta {
  margin: 0.65rem 0 0;
}

.case-card--blog .case-card__source {
  margin: 0.55rem 0 0;
}

.case-card--blog .case-card__source-btn {
  appearance: none;
  border: 1px dashed rgba(15, 23, 42, 0.22);
  background: rgba(15, 23, 42, 0.03);
  border-radius: 0.35rem;
  padding: 0.35rem 0.5rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.case-card--blog .case-card__source-btn:hover {
  color: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}

.case-card--blog .case-card__link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  cursor: pointer;
  text-align: left;
}

.hero-band__back--blog {
  text-align: center;
}

.page-blog-article .article-figure--lead {
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.page-blog-article .article-main > .article-figure--lead + .prose {
  margin-top: 0;
}

.page-blog-article .prose--blog section + section {
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
}

.page-blog-article .prose--blog section > h2 {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 0.85rem;
}

.page-blog-article .prose--blog section > h2:first-child {
  margin-top: 0;
}

.page-blog-article .prose--blog h3 {
  margin: clamp(1.85rem, 4vw, 2.65rem) 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

/* —— Modul: Punkt-Kacheln (.point-tiles) ——
 * Aufzählungen mit nummerierten Kacheln (2-spaltig, Typo wie FAQ).
 * Varianten:
 *   .point-tiles--blue   Reiter dunkelblau (#007faf), Nummer dunkelblau
 *   .point-tiles--violet Reiter violett (#752073), Nummer violett — wie FAQ-Reiter
 * Ohne Modifier gilt .point-tiles--blue.
 *
 * <div class="point-tiles point-tiles--blue" aria-label="…">
 *   <article class="point-tile">
 *     <div class="point-tile__head">
 *       <span class="point-tile__num" aria-hidden="true">1</span>
 *       <h3 class="point-tile__title">Titel</h3>
 *     </div>
 *     <p class="point-tile__text">Beschreibung …</p>
 *   </article>
 * </div>
 */
.point-tiles {
  --point-tile-tab: var(--pal-blue-1);
  --point-tile-num-fg: var(--pal-blue-1);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.35rem;
  align-items: stretch;
}

.point-tiles--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 1101px) {
  .point-tiles--count-5,
  .point-tiles--count-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Fließtext unter Headlines: Absätze / Zeilenumbrüche */
.bec-flow-text {
  display: block;
}

.bec-flow-text > p {
  margin: 0 0 0.65em;
}

.bec-flow-text > p:last-child {
  margin-bottom: 0;
}

.point-tiles--blue {
  --point-tile-tab: var(--pal-blue-1);
  --point-tile-num-fg: var(--pal-blue-1);
}

.point-tiles--violet {
  --point-tile-tab: var(--pal-violet-1);
  --point-tile-num-fg: var(--pal-violet-1);
}

.point-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
}

.point-tile__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--point-tile-tab);
  color: var(--white);
}

.point-tile__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.35rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--point-tile-num-fg);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
}

.point-tile__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
}

.point-tile__text {
  /* Nur als direkter Kachel-Kind (Legacy Einzeiltext) die Fläche füllen */
  flex: 1 1 auto;
  margin: 0;
  padding: 0.9rem 1rem 0.95rem;
  background: var(--white);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.55;
}

.point-tile > .point-tile__text {
  flex: 1 1 auto;
}

.point-tile .card-item-body .point-tile__text {
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
}

/* Hervorgehobene Bullet-Liste (ohne Karussell/Bild) — Team-Kachel-Optik */
.highlight-bullets-module {
  margin: 1.25rem 0;
}

.highlight-bullets-module .stage-module__shell {
  border-top: none;
}

.highlight-bullets-module .stage-module__body {
  padding: clamp(1.15rem, 2.5vw, 1.65rem) clamp(1.25rem, 3vw, 2rem);
}

.highlight-bullets-module .prose p:last-of-type {
  margin-bottom: 0.65rem;
}

.highlight-bullets-module .prose__list {
  margin-bottom: 0;
}

/* Zwei Bullet-Blöcke 50/50 nebeneinander in der Kachel */
.highlight-bullets-module .highlight-bullets__lists {
  display: grid;
  width: 100%;
  gap: 0.35em 1.5rem;
  align-items: start;
}
.highlight-bullets-module .highlight-bullets__lists--dual {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.highlight-bullets-module .highlight-bullets__lists--single {
  grid-template-columns: minmax(0, 1fr);
}
.highlight-bullets-module .highlight-bullets__lists > .prose__list {
  margin: 0;
  min-width: 0;
}

.article-body--bleed {
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.article-body--bleed .article-main > * {
  margin-top: 0;
}

/* Inline-Farbbänder in der Artikel-Spalte (max. Spaltenbreite, kein Vollbleed) */
.article-inline-band {
  border-radius: 14px;
  overflow: hidden;
  padding: clamp(1.15rem, 2.5vw, 1.65rem) clamp(1rem, 2.5vw, 1.35rem);
}

.article-inline-band__head {
  margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
}

.article-inline-band__head .section__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 300;
  line-height: 1.25;
}

.article-inline-band--stats {
  background: var(--segment-bg, #007faf);
}

.article-inline-band--stats .section__kicker--on-blue,
.article-inline-band--stats .section__title {
  color: var(--white);
}

.article-inline-band--dark {
  background: var(--purple-std);
  color: var(--white);
}

.article-inline-band--dark .section__kicker {
  color: var(--white);
}

.article-inline-band--dark .section__title {
  color: var(--white);
}

.article-inline-band__sub {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.stats--inline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats--inline.stats--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats--inline.stats--count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats--inline .stat__value {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

.stats--inline .stat__label {
  font-size: 0.72rem;
  line-height: 1.4;
}

.pain-grid--inline,
.pain-grid--inline.pain-grid--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.pain-grid--inline.pain-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pain-grid--count-4,
.pain-grid--inline.pain-grid--count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Drei Kacheln nebeneinander in der Artikel-Hauptspalte */
.article-body--has-aside .keyfacts--count-3,
.article-body--has-aside .case-grid--count-3,
.article-body--has-aside .case-grid--count-6,
.article-body--has-aside .point-tiles--count-3,
.article-body--has-aside .example-grid--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-body--has-aside .case-grid--count-5 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-body--has-aside .stats--inline.stats--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Punkt-Kacheln: Default zweispaltig neben Steffi; bei genau 3 → 3er-Zeile (siehe oben) */
.article-body--has-aside .point-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.article-body--has-aside .point-tiles--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-body--has-aside .example-grid {
  gap: 0.55rem;
}

.article-body--has-aside .point-tile__head {
  padding: 0.65rem 0.75rem;
  gap: 0.5rem;
}

.article-body--has-aside .point-tile__num {
  min-width: 2rem;
  height: 2rem;
  font-size: 0.95rem;
}

.article-body--has-aside .point-tile__title {
  font-size: 0.78rem;
}

.article-body--has-aside .point-tile__text {
  padding: 0.7rem 0.75rem;
  font-size: inherit;
}

.article-body--has-aside .point-tile .card-item-body,
.article-body--has-aside .point-tile > .point-tile__text {
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .stats--inline,
  .pain-grid--inline,
  .pain-grid--inline.pain-grid--count-2,
  .pain-grid--inline.pain-grid--count-3,
  .pain-grid--inline.pain-grid--count-4,
  .pain-grid--count-4,
  .article-body--has-aside .keyfacts--count-3,
  .article-body--has-aside .case-grid--count-3,
  .article-body--has-aside .case-grid--count-5,
  .article-body--has-aside .case-grid--count-6,
  .article-body--has-aside .point-tiles--count-3,
  .article-body--has-aside .example-grid--count-3 {
    grid-template-columns: 1fr;
  }

  .article-body--has-aside .point-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-body--has-aside .point-tiles--count-3 {
    grid-template-columns: 1fr;
  }

  .stats--inline.stats--count-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .article-body--has-aside .point-tiles {
    grid-template-columns: 1fr;
  }
}

.article-figure--inline img {
  aspect-ratio: 16 / 9;
  max-height: 280px;
}

.article-body .article-main > .article-inline-band + * {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.prose--band-intro .section__kicker--inline,
.section--prose .prose .section__kicker,
.section--prose .prose .section__kicker--inline,
.prose .section__kicker,
.prose .section__kicker--inline {
  margin: 0 0 0.5rem;
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--eyebrow-color);
}

.prose--band-intro h2 {
  margin: 0 0 0.75rem;
}

.prose--band-intro .section__sub {
  margin: 0 0 0.85rem;
  max-width: none;
}

/* Bild-Text-Element: Intro über den Kacheln auf voller Layoutbreite */
.article-main > .prose--band-intro:has(+ .case-grid),
.article-main > .bec-module-wrap > .prose--band-intro:has(+ .case-grid),
.bec-module-wrap > .prose--band-intro:has(+ .case-grid) {
  max-width: none;
  width: 100%;
}

.article-main > .prose--band-intro:has(+ .case-grid) .section__sub,
.article-main > .bec-module-wrap > .prose--band-intro:has(+ .case-grid) .section__sub,
.bec-module-wrap > .prose--band-intro:has(+ .case-grid) .section__sub,
.article-main > .prose--band-intro:has(+ .case-grid) h2,
.article-main > .bec-module-wrap > .prose--band-intro:has(+ .case-grid) h2,
.bec-module-wrap > .prose--band-intro:has(+ .case-grid) h2 {
  max-width: none;
}

.article-body .article-main > .prose--band-intro + .reference-row {
  margin-top: clamp(1rem, 2.4vw, 1.5rem);
}

.article-body .article-main > .reference-row + .reference-row,
.article-body .article-main > .reference-row + .quote,
.article-body .article-main > .quote + .reference-row {
  margin-top: clamp(1rem, 2.5vw, 1.35rem);
}

.article-body .article-main > .quote + .prose--band-intro,
.article-body .article-main > .reference-row + .prose--band-intro {
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
}

.article-body .article-main > .prose--band-intro + .case-grid,
.article-body .article-main > .bec-module-wrap > .prose--band-intro + .case-grid {
  margin-top: calc(0.75rem + 12px);
}

@media (max-width: 640px) {
  .highlight-bullets-module .prose__list--cols,
  .highlight-bullets-module .highlight-bullets__lists--dual {
    grid-template-columns: minmax(0, 1fr);
  }
}

.page-blog-article .prose--blog .point-tile__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

@media (max-width: 860px) {
  .blog-grid,
  .case-grid--blog,
  .point-tiles,
  .point-tiles--count-3,
  .example-grid--count-3 {
    grid-template-columns: 1fr;
  }
}

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

.topbar__nav.is-pending,
.mobile-nav.is-pending {
  visibility: hidden;
}

/* JSON-Hydration: kein Flash zwischen Hardcode-Fallback und site-data.js */
body.is-site-data-pending[data-site-page] .page-wrap > main,
body.is-site-data-pending[data-site-page] .page-wrap > .hero-band {
  visibility: hidden;
}

.bec-agent-preview-banner {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #1e2a3a;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bec-agent-preview-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
}

.bec-agent-preview-banner strong {
  color: #9ec5ff;
}

.bec-agent-preview-banner__close {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font: inherit;
  cursor: pointer;
}

.bec-agent-preview-banner__close:hover {
  border-color: #9ec5ff;
  color: #9ec5ff;
}

.bec-editable {
  cursor: pointer;
  border-radius: 4px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.15s ease, background 0.15s ease;
}

.bec-editable:empty::before {
  content: "Klicken zum Bearbeiten …";
  opacity: 0.55;
  font-style: italic;
}

.bec-editable:hover,
.bec-editable:focus-visible {
  outline-color: rgba(0, 127, 175, 0.75);
  background: rgba(0, 127, 175, 0.08);
}

.bec-editable.is-selected {
  outline-color: #ffc440;
  background: rgba(255, 196, 64, 0.15);
}

/* Buttons: nur Outline — kein helles Wash über Primary/CTA (sonst weiße Schrift auf Weiß) */
.bec-editable--button:hover,
.bec-editable--button:focus-visible,
.bec-editable--button.is-selected {
  background: unset;
}

.tile__cta.bec-editable:hover,
.tile__cta.bec-editable:focus-visible {
  background: var(--nav-btn-hover);
  color: var(--white);
}

.tile__cta.bec-editable.is-selected {
  background: var(--nav-btn-idle);
  color: var(--white);
  outline-color: #ffc440;
}

.btn.bec-editable:hover,
.btn.bec-editable:focus-visible,
.btn.bec-editable.is-selected {
  /* Theme-.btn-Hintergründe behalten; Outline kommt von .bec-editable */
  background: revert-layer;
  color: revert-layer;
}

.btn.btn--primary.bec-editable:hover,
.btn.btn--primary.bec-editable:focus-visible,
.btn.btn--primary.bec-editable.is-selected {
  background: var(--nav-btn-hover, #007faf);
  color: var(--white);
}

.bec-edit-dialog {
  border: none;
  border-radius: 12px;
  padding: 0;
  max-width: min(640px, calc(100vw - 2rem));
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.bec-edit-dialog::backdrop {
  background: rgba(15, 22, 32, 0.55);
}

.bec-edit-dialog__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.1rem 1.1rem;
  font-family: Raleway, system-ui, sans-serif;
}

.bec-edit-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bec-edit-dialog__head h2 {
  margin: 0;
  font-size: 1rem;
}

.bec-edit-dialog__close {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.7;
}

.bec-edit-dialog textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  font: inherit;
  line-height: 1.45;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-sizing: border-box;
  background: #121820;
  color: #f3f5f8;
}

.bec-edit-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.bec-edit-dialog__btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #121820;
  color: #e8eaee;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.bec-edit-dialog__btn--primary {
  background: #007faf;
  border-color: #007faf;
  color: #fff;
}

.bec-edit-dialog__field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.bec-edit-dialog__field span {
  font-weight: 600;
  color: #9aa3b0;
}

.bec-edit-dialog__field input,
.bec-edit-dialog__field select,
.bec-edit-dialog__field textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #121820;
  color: #f3f5f8;
}

.bec-edit-dialog__inner {
  background: #1e2430;
  color: #e8eaee;
}

.bec-editable--button {
  cursor: pointer;
}

.bec-hero-slide-indicator {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  font-size: 0.78rem;
  line-height: 1.3;
  pointer-events: none;
}

.bec-hero-slide-indicator__hint {
  opacity: 0.85;
}

/* —— Agent-Modul-Farbvarianten (Blau / Violett / Dunkelgrau / Weiß) —— */
.stage-module--accent-light .stage-module__shell {
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: none;
  box-shadow: none;
}

.stage-module--accent-light .stage-module__tab-label {
  background: var(--white);
  color: var(--text);
  border: none;
  box-shadow: none;
}

/* Highlight-Bullets weiß: Schatten um Tab+Körper als Ganzes (kein Bleed an Cap-Nähten) */
.highlight-bullets-module.stage-module--accent-light {
  filter: drop-shadow(0 2px 14px rgba(50, 58, 73, 0.08));
}

.highlight-bullets-module.stage-module--accent-light .stage-module__tab-top {
  position: relative;
  z-index: 2;
}

.stage-module--accent-light .prose,
.stage-module--accent-light .prose h2,
.stage-module--accent-light .prose p,
.stage-module--accent-light .prose a,
.stage-module--accent-light .prose__list li {
  color: var(--text);
}

.stage-module--accent-light .prose__list li::before {
  background-color: var(--pal-blue-1);
}

.point-tiles--gray {
  --point-tile-tab: var(--purple-std);
  --point-tile-num-fg: var(--purple-std);
}

.point-tiles--white {
  --point-tile-tab: var(--white);
  --point-tile-num-fg: var(--pal-blue-1);
}

.point-tiles--white .point-tile__head {
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.point-tiles--white .point-tile__title {
  color: var(--text);
}

.page-article .quote--white:not(.quote--profile) {
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.page-article .quote--white:not(.quote--profile) .quote__name {
  color: var(--text);
}

.page-article .quote--white:not(.quote--profile) .quote__role,
.page-article .quote--white:not(.quote--profile) .quote__company,
.page-article .quote--white:not(.quote--profile) .quote__text {
  color: var(--text-muted, #5a6573);
}

.page-article .quote--profile {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.article-inline-band--blue,
.article-inline-band--stats {
  background: var(--pal-blue-1);
  color: var(--white);
}

.article-inline-band--blue .section__kicker--on-blue,
.article-inline-band--blue .section__title,
.article-inline-band--stats .section__kicker--on-blue,
.article-inline-band--stats .section__title {
  color: var(--white);
}

.article-inline-band--violet {
  background: var(--pal-violet-1);
  color: var(--white);
}

.article-inline-band--violet .section__kicker,
.article-inline-band--violet .section__title,
.article-inline-band--violet .article-inline-band__sub {
  color: var(--white);
}

.article-inline-band--gray,
.article-inline-band--dark {
  background: var(--purple-std);
  color: var(--white);
}

.article-inline-band--gray .section__kicker,
.article-inline-band--dark .section__kicker {
  color: var(--white);
}

.article-inline-band--gray .section__title,
.article-inline-band--dark .section__title {
  color: var(--white);
}

.article-inline-band--white {
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.article-inline-band--white .section__title,
.article-inline-band--white .article-inline-band__sub {
  color: var(--text);
}

.article-inline-band--white .section__kicker {
  color: var(--eyebrow-color);
  opacity: 1;
}

.article-inline-band--white .stat__value,
.article-inline-band--white .stat__label,
.article-inline-band--white .stat__value-text {
  color: var(--text);
}

.article-inline-band--white .pain-card {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.article-inline-band--white .pain-card__title,
.article-inline-band--white .pain-card__text {
  color: var(--text);
}

.article-inline-band--white .pain-grid--style-white .pain-card {
  background: var(--white, #fff);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.article-inline-band--white .pain-grid--style-white .pain-card__title {
  color: var(--brand-blue-dark);
}

.article-inline-band--white .pain-grid--style-white .pain-card__text,
.article-inline-band--white .pain-grid--style-white .pain-card .card-item-body {
  color: var(--text-muted, #4a5560);
}

.process-orbit--gray .process-orbit-tile,
.process-orbit--white .process-orbit-tile {
  background: transparent;
}

.process-orbit--white .process-orbit-tile {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: var(--white);
}

.process-orbit--white .process-orbit__headline,
.process-orbit--white .process-orbit__subtitle {
  color: var(--text);
}

/* Illu-Rad auf dunklem Vollbreiten-HG: Text bleibt hell (schlägt --white-Variant) */
.bec-band-dark .process-orbit-wrap .process-orbit__headline,
.bec-band-dark .process-orbit-wrap .process-orbit__subtitle,
.bec-band-dark .process-orbit-wrap .process-orbit__subtitle > p,
.bec-module-wrap.bec-band-dark .process-orbit-wrap .process-orbit__headline,
.bec-module-wrap.bec-band-dark .process-orbit-wrap .process-orbit__subtitle,
.bec-module-wrap.bec-band-dark .process-orbit-wrap .process-orbit__subtitle > p {
  color: var(--white);
}

/* Dunkler Vollbreiten-Streifen hinter ausgewählten Modulen (Full-Layout).
   Editor: .article-main / main.page-homepage
   A3 index.html & WP Front: nacktes <main> — daher auch main > .bec-band-dark */
.article-main > .bec-band-dark,
.article-main > .bec-module-wrap.bec-band-dark,
main > .bec-band-dark,
main > .bec-module-wrap.bec-band-dark,
main.article.page-homepage > .bec-band-dark,
main.article.page-homepage > .bec-module-wrap.bec-band-dark,
main.page-homepage > .bec-band-dark,
main.page-homepage > .bec-module-wrap.bec-band-dark {
  position: relative;
  z-index: 0;
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  box-sizing: border-box;
}

.article-main > .bec-band-dark::before,
.article-main > .bec-module-wrap.bec-band-dark::before,
main > .bec-band-dark::before,
main > .bec-module-wrap.bec-band-dark::before,
main.article.page-homepage > .bec-band-dark::before,
main.article.page-homepage > .bec-module-wrap.bec-band-dark::before,
main.page-homepage > .bec-band-dark::before,
main.page-homepage > .bec-module-wrap.bec-band-dark::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  top: 0;
  bottom: 0;
  background: var(--purple-std);
  z-index: -1;
  pointer-events: none;
}

/* Farbiger HG (Situationen / Kennzahlen): gleicher Browser-Bleed, Farbe aus variant */
.article-main > .bec-module-wrap:has(.section--band-blue),
.article-main > .bec-module-wrap:has(.section--band-violet),
.article-main > .bec-module-wrap:has(.section--band-gray),
.article-main > .bec-module-wrap:has(.section--band-white),
.article-main > .bec-module-wrap:has(.content-segment--blue),
.article-main > .bec-module-wrap:has(.content-segment--violet),
.article-main > .bec-module-wrap:has(.content-segment--gray),
.article-main > .section--band-blue,
.article-main > .section--band-violet,
.article-main > .section--band-gray,
.article-main > .section--band-white,
.article-main > .content-segment--blue,
.article-main > .content-segment--violet,
.article-main > .content-segment--gray,
main > .bec-module-wrap:has(.section--band-blue),
main > .bec-module-wrap:has(.section--band-violet),
main > .bec-module-wrap:has(.section--band-gray),
main > .bec-module-wrap:has(.section--band-white),
main > .bec-module-wrap:has(.content-segment--blue),
main > .bec-module-wrap:has(.content-segment--violet),
main > .bec-module-wrap:has(.content-segment--gray),
main > .section--band-blue,
main > .section--band-violet,
main > .section--band-gray,
main > .section--band-white,
main > .content-segment--blue,
main > .content-segment--violet,
main > .content-segment--gray {
  position: relative;
  z-index: 0;
}

.article-main > .bec-module-wrap:has(.section--band-blue)::before,
.article-main > .section--band-blue::before,
.article-main > .bec-module-wrap:has(.content-segment--blue)::before,
.article-main > .content-segment--blue::before,
main > .bec-module-wrap:has(.section--band-blue)::before,
main > .section--band-blue::before,
main > .bec-module-wrap:has(.content-segment--blue)::before,
main > .content-segment--blue::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  top: 0;
  bottom: 0;
  background: var(--brand-blue-dark);
  z-index: -1;
  pointer-events: none;
}

.article-main > .bec-module-wrap:has(.section--band-violet)::before,
.article-main > .section--band-violet::before,
.article-main > .bec-module-wrap:has(.content-segment--violet)::before,
.article-main > .content-segment--violet::before,
main > .bec-module-wrap:has(.section--band-violet)::before,
main > .section--band-violet::before,
main > .bec-module-wrap:has(.content-segment--violet)::before,
main > .content-segment--violet::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  top: 0;
  bottom: 0;
  background: #752073;
  z-index: -1;
  pointer-events: none;
}

.article-main > .bec-module-wrap:has(.section--band-gray)::before,
.article-main > .section--band-gray::before,
.article-main > .bec-module-wrap:has(.content-segment--gray)::before,
.article-main > .content-segment--gray::before,
main > .bec-module-wrap:has(.section--band-gray)::before,
main > .section--band-gray::before,
main > .bec-module-wrap:has(.content-segment--gray)::before,
main > .content-segment--gray::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  top: 0;
  bottom: 0;
  background: var(--purple-std);
  z-index: -1;
  pointer-events: none;
}

.article-main > .bec-module-wrap:has(.section--band-white)::before,
.article-main > .section--band-white::before,
main > .bec-module-wrap:has(.section--band-white)::before,
main > .section--band-white::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  top: 0;
  bottom: 0;
  background: var(--white);
  z-index: -1;
  pointer-events: none;
}

.article-main > .bec-band-dark + .bec-band-dark,
.article-main > .bec-module-wrap.bec-band-dark + .bec-module-wrap.bec-band-dark,
main > .bec-band-dark + .bec-band-dark,
main > .bec-module-wrap.bec-band-dark + .bec-module-wrap.bec-band-dark,
main.article.page-homepage > .bec-band-dark + .bec-band-dark,
main.article.page-homepage > .bec-module-wrap.bec-band-dark + .bec-module-wrap.bec-band-dark,
main.page-homepage > .bec-band-dark + .bec-band-dark,
main.page-homepage > .bec-module-wrap.bec-band-dark + .bec-module-wrap.bec-band-dark {
  margin-top: 0;
  padding-top: clamp(0.65rem, 2vw, 1.15rem);
}

/*
 * Bild-Text-Element: Headline→Intro vs Intro→Kacheln.
 * Gleiche CSS-px wirken unter großer Display-Headline optisch größer —
 * Intro→Kacheln deshalb ≈ 2×, damit es visuell mitzieht.
 */
.section--case-grid {
  --bec-case-head-gap: calc(0.75rem + 12px);
  --bec-case-intro-gap: calc((0.75rem + 12px) * 2);
}

.section--case-grid > .section__inner {
  display: flex;
  flex-direction: column;
  row-gap: var(--bec-case-intro-gap);
}

.section--case-grid .prose--band-intro {
  margin-bottom: 0;
}

.section--case-grid .prose--band-intro :is(h1, h2),
.section--case-grid .prose--band-intro .section__title {
  margin-bottom: var(--bec-case-head-gap);
}

.section--case-grid .prose--band-intro .section__sub,
.section--case-grid .prose--band-intro .bec-flow-text,
.section--case-grid .prose--band-intro .bec-flow-text > p:last-child,
.section--case-grid .prose--band-intro > p.section__sub {
  margin-bottom: 0;
}

.section--case-grid > .section__inner > .case-grid {
  margin-top: 0;
}

/* Gleiche optische Intro→Kacheln-Luft bei nummeriert / Reiter / Beispiele */
.section--point-tiles .section__head,
.section--example-grid .section__head,
.section--tiles .section__head {
  margin-bottom: calc((0.75rem + 12px) * 2);
}

