/* =========================================================
   Flowagenten V4 — Hell, freundlich, Pastell-Welten
   Inspiration: helle, klare Oberflaechen
   ========================================================= */

:root {
  /* Hell-Palette (Slate-Toene) */
  --v4-white: #ffffff;
  --v4-ink-50: #f8fafc;
  --v4-ink-100: #f1f5f9;
  --v4-ink-200: #e2e8f0;
  --v4-ink-300: #cbd5e1;
  --v4-ink-400: #94a3b8;
  --v4-ink-500: #64748b;
  --v4-ink-700: #334155;
  --v4-ink-900: #0f172a;

  /* Brand-Akzent (heller, freundlicher Teal) */
  --v4-accent: #F4F485;       /* Brand-Gelb — Fills/Glows/Akzent auf dunkel */
  --v4-accent-deep: #F4F485;  /* kein Gold mehr — überall der dunklere Gelbton */
  --v4-accent-soft: #FFFBD6;  /* Hell-Gelb Wash */
  --v4-accent-tint: rgba(244, 244, 133, 0.22);
  --v4-cta: #F4F485;          /* CTA-Pille Erstgespräch */
  --v4-cta-hover: #FFFFAF;    /* CTA-Pille Hover */

  /* Branchen-Pastelle */
  --v4-healthcare: #FFFBD6;
  --v4-healthcare-deep: #F4F485;
  --v4-industrie: #f5e6d6;
  --v4-industrie-deep: #b58a5b;
  --v4-finance: #e6f2ea;
  --v4-finance-deep: #5b9c6e;
  --v4-immobilien: #dce8f2;
  --v4-immobilien-deep: #5b80a8;
  --v4-software: #e6e6f5;
  --v4-software-deep: #6e6eb8;
  --v4-physio: #f0e6f5;
  --v4-physio-deep: #8c6eb5;

  /* Borders */
  --v4-border: rgba(15, 23, 42, 0.08);
  --v4-border-strong: rgba(15, 23, 42, 0.16);

  /* Typo */
  --v4-font: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --v4-cont: 1320px;
  --v4-cont-wide: 1440px;
  --v4-cont-narrow: 880px;
  --v4-px: clamp(20px, 4vw, 56px);
  --v4-py: clamp(96px, 14vh, 180px);
  --v4-py-lg: clamp(128px, 20vh, 240px);

  /* Radii */
  --v4-r-sm: 12px;
  --v4-r: 24px;
  --v4-r-lg: 36px;
  --v4-r-xl: 48px;
  --v4-r-pill: 999px;

  /* Easing */
  --v4-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --v4-ease-fast: cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --v4-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --v4-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  --v4-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.10);
}

/* =========================================================
   GLOBAL — auf .v4
   ========================================================= */

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

.v4 html, .v4 body { margin: 0; padding: 0; }

.v4 body {
  font-family: var(--v4-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: var(--v4-ink-900);
  background: var(--v4-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.v4 img, .v4 svg, .v4 video { display: block; max-width: 100%; }
.v4 a { color: inherit; text-decoration: none; }
.v4 button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* =========================================================
   TYPOGRAFIE — Medium-Weights statt Heavy
   ========================================================= */

.v4 h1, .v4 h2, .v4 h3, .v4 h4 {
  font-family: var(--v4-font);
  font-weight: 500;          /* Medium statt Bold — wie Andreas wollte */
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  color: var(--v4-ink-900);
}

.v4 .v4-h-mega {
  font-size: clamp(56px, 10vw, 144px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.v4 .v4-h-display {
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.0;
}

.v4 .v4-h-section {
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.v4 .v4-h-card {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.v4 .v4-h-mini {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

.v4 .v4-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--v4-ink-500);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.v4 .v4-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
}

.v4 .v4-lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--v4-ink-500);
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* On dark sections */
.v4 [data-theme="dark"] {
  background: var(--v4-ink-900);
  color: var(--v4-white);
}
.v4 [data-theme="dark"] h1,
.v4 [data-theme="dark"] h2,
.v4 [data-theme="dark"] h3,
.v4 [data-theme="dark"] h4 { color: var(--v4-white); }
.v4 [data-theme="dark"] .v4-lead { color: rgba(255, 255, 255, 0.65); }
.v4 [data-theme="dark"] .v4-eyebrow { color: rgba(255, 255, 255, 0.50); }

/* =========================================================
   LAYOUT
   ========================================================= */

.v4 .v4-cont { width: 100%; max-width: var(--v4-cont); margin: 0 auto; padding: 0 var(--v4-px); }
.v4 .v4-cont-wide { max-width: var(--v4-cont-wide); margin: 0 auto; padding: 0 var(--v4-px); }
.v4 .v4-cont-narrow { max-width: var(--v4-cont-narrow); margin: 0 auto; padding: 0 var(--v4-px); }

.v4 .v4-section { padding: var(--v4-py) 0; position: relative; }
.v4 .v4-section-lg { padding: var(--v4-py-lg) 0; position: relative; }

.v4 .v4-section-light { background: var(--v4-white); }
.v4 .v4-section-tint { background: var(--v4-ink-50); }
.v4 .v4-section-paper { background: var(--v4-ink-100); }
.v4 .v4-section-dark { background: var(--v4-ink-900); color: var(--v4-white); }

/* =========================================================
   NAVIGATION — Pill-Hover-Indikator
   ========================================================= */

/* =========================================================
   FLOATING-PILL NAV v0.7.2 — helles Glas, Morph-Dropdown, Scroll-Collapse
   ========================================================= */
.v4-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 20px 0; pointer-events: none; }

.v4-nav__shell {
  pointer-events: auto;
  max-width: 1280px; margin: 0 auto;
  border-radius: 30px;
  background: rgba(255,255,255,.40);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: none;
  box-shadow: 0 14px 40px rgba(15,23,42,.14);
  transition: background .45s var(--v4-ease), box-shadow .45s var(--v4-ease), opacity .4s var(--v4-ease), transform .45s var(--v4-ease), max-width .45s var(--v4-ease);
}
.v4-nav__shell.is-open { max-width: 1400px; background: rgba(255,255,255,.72); box-shadow: 0 28px 70px rgba(15,23,42,.20); }
.v4-nav__shell:hover { background: rgba(255,255,255,.72); }

/* Scroll-Collapse: volle Leiste -> Menü-Button */
.v4-nav.is-scrolled .v4-nav__shell { opacity: 0; transform: translateX(40px) scale(.96); pointer-events: none; }
.v4-nav__brandmark { position: absolute; left: 34px; top: 26px; color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -.015em; text-decoration: none; text-shadow: 0 1px 14px rgba(0,0,0,.4); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .4s var(--v4-ease), transform .4s var(--v4-ease); }
.v4-nav.is-scrolled .v4-nav__brandmark { opacity: 1; transform: none; pointer-events: auto; }
.v4-nav__brandmark:hover { opacity: .75; }
.v4-nav__menubtn { position: absolute; right: 24px; top: 18px; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 30px; border: none; -webkit-appearance: none; appearance: none; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); color: var(--v4-ink-900); font-size: 15px; font-weight: 600; font-family: var(--v4-font); cursor: pointer; box-shadow: 0 8px 26px rgba(15,23,42,.22), 0 0 0 1px rgba(15,23,42,.06); opacity: 0; transform: translateX(14px) scale(.96); pointer-events: none; transition: opacity .4s var(--v4-ease), transform .4s var(--v4-ease), background .2s var(--v4-ease); }
.v4-nav.is-scrolled .v4-nav__menubtn { opacity: 1; transform: none; pointer-events: auto; }
.v4-nav__menubtn:hover { background: rgba(255,255,255,.58); }
.v4-nav.is-scrolled.is-expanded .v4-nav__shell { opacity: 1; transform: none; pointer-events: auto; }
.v4-nav.is-expanded .v4-nav__brandmark { opacity: 0; pointer-events: none; }
.v4-nav.is-expanded .v4-nav__menubtn { opacity: 0; pointer-events: none; }
.v4-nav__burger { width: 18px; height: 14px; position: relative; display: inline-block; }
.v4-nav__burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--v4-ink-900); border-radius: 2px; transition: transform .3s var(--v4-ease), opacity .2s var(--v4-ease); }
.v4-nav__burger span:nth-child(1) { top: 0; }
.v4-nav__burger span:nth-child(2) { top: 6px; }
.v4-nav__burger span:nth-child(3) { top: 12px; }

.v4-nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 28px; min-height: 84px; max-width: 1280px; margin: 0 auto; }
.v4-nav__logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; color: var(--v4-ink-900); text-decoration: none; transition: opacity .2s var(--v4-ease); }
.v4-nav__logo:hover { opacity: .7; }
.v4-nav__logoimg { width: 34px; height: 34px; border-radius: 9px; display: block; flex-shrink: 0; box-shadow: 0 2px 9px rgba(15,23,42,.20); }
.v4-nav__logoimg--m { width: 28px; height: 28px; border-radius: 8px; }
.v4-nav__items { position: relative; display: none; align-items: center; gap: 4px; margin: 0 auto; }
@media (min-width: 1024px) { .v4-nav__items { display: flex; } }
.v4-nav__pill { position: absolute; top: 50%; left: 0; width: 0; height: 40px; transform: translate(0,-50%); background: rgba(15,23,42,.06); border-radius: 999px; opacity: 0; pointer-events: none; transition: transform 320ms var(--v4-ease), width 320ms var(--v4-ease), opacity 200ms var(--v4-ease); z-index: 0; }
.v4-nav__items.has-active .v4-nav__pill { opacity: 1; }
.v4-nav__item-wrap { position: static; z-index: 1; }
.v4-nav__item { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: 17px; font-weight: 500; white-space: nowrap; color: var(--v4-ink-900); border-radius: 999px; transition: color .2s var(--v4-ease); cursor: pointer; position: relative; z-index: 1; text-decoration: none; }
.v4-nav__chevron { width: 10px; height: 6px; opacity: .45; transition: transform .26s var(--v4-ease); }
.v4-nav__item-wrap.is-hot .v4-nav__chevron { transform: rotate(180deg); }
.v4-nav__cta { display: inline-flex; align-items: center; gap: 7px; padding: 11px 22px; flex-shrink: 0; background: var(--v4-cta); color: var(--v4-ink-900); border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; transition: background .2s var(--v4-ease), transform .2s var(--v4-ease); }
.v4-nav__cta:hover { background: var(--v4-cta-hover); transform: translateY(-1px); }

/* Sprach-/Regions-Umschalter (i18n) — kompakter Globus, letzter Nav-Punkt, dezent mit Trenner */
.v4-nav__item-wrap--lang { position: relative; margin-left: 2px; padding-left: 8px; }
.v4-nav__item-wrap--lang::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 18px; background: var(--v4-border); }
.v4-nav__item--lang { padding: 10px 11px; gap: 5px; }
/* Höhere Spezifität als die globale `.v4 svg`-Regel, damit die Größe sicher greift */
.v4-nav__item--lang .v4-nav__globe { width: 18px; height: 18px; flex: 0 0 auto; opacity: .9; transition: opacity .2s var(--v4-ease); }
.v4-nav__item-wrap--lang:hover .v4-nav__globe { opacity: 1; }
/* sr-only Label: fürs Mobile-Menü als Sektionsname lesbar, visuell versteckt */
.v4-nav__lang-txt { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Sprach-Dropdown: kompakter als die Mega-Panels — kein 40vh-Mindesthöhe, einspaltig */
.v4-nav__panel--lang .v4-mega-cols { min-height: 0; grid-template-columns: 1fr; gap: 0; }
.v4-nav__panel--lang .v4-mega-intro { padding-bottom: 12px; }
.v4-nav__panel--lang .v4-panel-grid--lang { grid-template-columns: 1fr 1fr; max-width: 560px; }
.v4-panel-link[aria-current="true"] { background: rgba(20,184,166,.07); }

/* Morph-Dropdown — eine durchgehende Fläche, zieht sich nach unten auf */
.v4-nav__morph { overflow: hidden; height: 0; transition: height .48s var(--v4-ease); border-radius: 0 0 30px 30px; }
.v4-nav__panels { position: relative; padding: 20px 29px 32px 22px; max-width: 1080px; margin: 0 auto; }
.v4-nav__panel { display: none; }
.v4-nav__panel.is-active { display: block; animation: v4PanelFade .34s var(--v4-ease); }
@keyframes v4PanelFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.v4-mega-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 26px; min-height: 40vh; align-items: stretch; }
.v4-mega-links { display: flex; flex-direction: column; }
.v4-mega-intro { padding: 2px 14px 18px; max-width: 540px; }
.v4-mega-eyebrow { display: block; font-size: 33px; font-weight: 500; letter-spacing: -.01em; text-transform: none; color: #BDD0E2; margin-bottom: 10px; }
.v4-mega-title { display: none; }
.v4-mega-lead { font-size: 16px; color: var(--v4-ink-900); line-height: 1.5; margin: 0; }
.v4-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.v4-panel-link { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 13px 40px 13px 14px; border-radius: 12px; text-decoration: none; transition: background .18s var(--v4-ease); }
.v4-panel-link:hover { background: rgba(15,23,42,.06); }
.v4-panel-link::after { content: ""; position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%) translateX(-6px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F485' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat; opacity: 0; pointer-events: none; transition: opacity .22s var(--v4-ease), transform .28s var(--v4-ease); }
.v4-panel-link:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.v4-panel-link b { font-size: 19px; font-weight: 600; color: var(--v4-ink-900); }
.v4-panel-link span { font-size: 13px; color: var(--v4-ink-500); line-height: 1.4; }
.v4-mega-foot { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; padding: 14px; font-size: 14px; font-weight: 600; color: var(--v4-accent-deep); text-decoration: none; transition: color .16s var(--v4-ease); }
.v4-mega-foot:hover { color: var(--v4-ink-900); }
.v4-mega-media { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 1 / 1; align-self: start; margin-bottom: 30px; }
.v4-mega-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== MOBILE / TABLET NAV (<1024px) ===== */
.v4-nav__mobilebar { display: none; }
.v4-nav__mobilemenu { display: none; }
@media (max-width: 1023px) {
  .v4-nav__shell, .v4-nav__brandmark, .v4-nav__menubtn { display: none !important; }
  .v4-nav__mobilebar { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .v4-nav__mobilelogo { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; color: var(--v4-ink-900); text-decoration: none; padding: 10px 12px; text-shadow: 0 1px 12px rgba(255,255,255,.6); }
  .v4-nav__mtoggle { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border: none; -webkit-appearance: none; appearance: none; border-radius: 30px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 8px 26px rgba(15,23,42,.22), 0 0 0 1px rgba(15,23,42,.06); color: var(--v4-ink-900); font-family: var(--v4-font); font-size: 15px; font-weight: 600; cursor: pointer; }
  .v4-nav__mtoggle .v4-nav__burger span { background: var(--v4-ink-900); }
  .v4-nav__mobilemenu { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 60; background: rgba(247,245,241,.98); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none; transition: opacity .3s var(--v4-ease), transform .3s var(--v4-ease), visibility 0s linear .3s; }
  .v4-nav.is-mobile-open .v4-nav__mobilemenu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .3s var(--v4-ease), transform .3s var(--v4-ease); }
  .v4-nav__mm-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(15,23,42,.08); }
  .v4-nav__mm-logo { font-size: 19px; font-weight: 600; letter-spacing: -.015em; color: var(--v4-ink-900); }
  .v4-nav__mm-close { width: 44px; height: 44px; border: none; background: rgba(15,23,42,.05); border-radius: 50%; font-size: 18px; color: var(--v4-ink-900); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .v4-nav__mm-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 12px 16px; }
  .v4-mm-section { border-bottom: 1px solid rgba(15,23,42,.06); }
  .v4-mm-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 12px; background: none; border: none; font-family: var(--v4-font); font-size: 18px; font-weight: 600; color: var(--v4-ink-900); text-decoration: none; cursor: pointer; text-align: left; }
  .v4-mm-chev { width: 14px; height: 9px; flex-shrink: 0; opacity: .5; transition: transform .3s var(--v4-ease); }
  .v4-mm-section.is-open .v4-mm-chev { transform: rotate(180deg); }
  .v4-mm-sub { height: 0; overflow: hidden; transition: height .34s var(--v4-ease); }
  .v4-mm-sub-inner { padding: 0 8px 12px; display: grid; gap: 2px; }
  .v4-mm-link { display: flex; flex-direction: column; gap: 2px; padding: 11px 12px; border-radius: 12px; text-decoration: none; }
  .v4-mm-link:active { background: rgba(244, 244, 133,.1); }
  .v4-mm-link b { font-size: 16px; font-weight: 600; color: var(--v4-ink-900); }
  .v4-mm-link span { font-size: 13px; color: var(--v4-ink-500); line-height: 1.4; }
  /* Eltern-Zeile: Wort + Restzeile/Chevron = Untermenü auf/zu; Pfeil direkt neben dem Wort = zur Übersichtsseite */
  .v4-mm-row--parent { padding: 0; }
  .v4-mm-rowtoggle { display: flex; align-items: center; margin: 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--v4-font); font-size: 18px; font-weight: 600; color: var(--v4-ink-900); }
  .v4-mm-rowtoggle--word { flex: 0 0 auto; padding: 17px 3px 17px 12px; }
  .v4-mm-rowtoggle--rest { flex: 1 1 auto; justify-content: flex-end; padding: 17px 12px; }
  .v4-mm-rowgo { flex: 0 0 auto; align-self: stretch; display: flex; align-items: center; justify-content: center; padding: 0 9px; color: #8A7A12; text-decoration: none; }
  .v4-mm-rowgo:active { opacity: .55; }
  .v4-mm-go { width: 18px; height: 18px; }
  .v4-nav__mm-foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(15,23,42,.08); }
  .v4-nav__mm-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px; border-radius: 16px; background: var(--v4-cta); color: var(--v4-ink-900); font-size: 16px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 20px rgba(176,176,40,.3); }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.v4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--v4-r-pill);
  font-family: var(--v4-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  transition: transform 200ms var(--v4-ease), background 200ms var(--v4-ease), color 200ms var(--v4-ease), box-shadow 200ms var(--v4-ease);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}

.v4-btn--primary {
  background: var(--v4-cta);
  color: var(--v4-ink-900);
}
.v4-btn--primary:hover {
  background: var(--v4-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(138, 122, 18, 0.30);
}

.v4-btn--accent {
  background: var(--v4-cta);
  color: var(--v4-ink-900);
}
.v4-btn--accent:hover {
  background: var(--v4-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(138, 122, 18, 0.30);
}

.v4-btn--ghost {
  background: transparent;
  border-color: var(--v4-border-strong);
  color: var(--v4-ink-900);
}
.v4-btn--ghost:hover {
  background: var(--v4-ink-50);
  border-color: var(--v4-ink-300);
  color: var(--v4-ink-900);
}

.v4-btn--ghost-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.20);
  color: var(--v4-white);
}
.v4-btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.40);
}

.v4-btn--white {
  background: var(--v4-white);
  color: var(--v4-ink-900);
}
.v4-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.20);
}

/* Buttons sind oft <a> → `.v4 a{color:inherit}` (0,1,1) würde die Schrift auf
   dunklen Sektionen weiß einfärben. Diese Regel (0,2,0) sichert die dunkle
   Marken-Schriftfarbe auf gelben CTAs in JEDER Sektion. */
.v4 .v4-btn--primary,
.v4 .v4-btn--accent,
.v4 .v4-btn--white { color: var(--v4-ink-900); }

/* === Animierte Marken-Linie — wiederverwendbarer Hintergrund-Layer ===
   Nutzung: Sektion bekommt Klasse `fa-lbg-host`, als ERSTES Kind `fa_line_bg()` ausgeben.
   Läuft auf weißem/hellem Grund; Tempo/Deckkraft/Strichstärke via Helper-Args. */
.fa-lbg-host { position: relative; isolation: isolate; }
.fa-lbg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: var(--fa-lbg-op, 0.5); }
.fa-lbg__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Phones: lange Button-Labels duerfen umbrechen (sonst Horizontal-Overflow
   bei langer CTA wie "Berechnen Sie Ihr Einsparpotenzial" ab ~360px) */
@media (max-width: 560px) {
  .v4-btn {
    white-space: normal;
    line-height: 1.25;
    max-width: 100%;
  }
}

/* =========================================================
   HERO — hell, freundlich, mit Pastell-Atmosphaere
   ========================================================= */

.v4-hero {
  position: relative;
  padding: 160px 0 96px;
  background: var(--v4-white);
  overflow: hidden;
}

.v4-hero__atmo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Tablet-Foto rechts, heller Lese-Scrim von links für dunkle Schrift */
  background:
    linear-gradient(90deg, var(--v4-white) 0%, rgba(255,255,255,.85) 26%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 78%),
    url('../img/hero/werkstatt-hero-desktop.webp') center right / cover no-repeat;
  opacity: 1;
}
@media (max-width: 1024px) {
  .v4-hero__atmo {
    background:
      linear-gradient(90deg, var(--v4-white) 0%, rgba(255,255,255,.85) 26%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 78%),
      url('../img/hero/werkstatt-hero-tablet.webp') center right / cover no-repeat;
  }
}
@media (max-width: 900px) {
  .v4-hero__atmo {
    background:
      linear-gradient(180deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.72) 45%, rgba(255,255,255,.9) 100%),
      url('../img/hero/werkstatt-hero-mobile.webp') 78% center / cover no-repeat;
  }
}

.v4-hero__inner {
  position: relative;
  z-index: 1;
}

.v4-hero h1 {
  margin: 0 0 32px;
  max-width: 30ch;
}
.v4-hero .v4-h-mega {
  font-size: clamp(34px, 5.2vw, 74px);   /* 4-zeilige Headline, feste <br>-Umbrüche */
  line-height: 1.08;
}

.v4-hero__sub {
  font-size: clamp(16px, 1.45vw, 21px);   /* ~5px kleiner */
  color: var(--v4-ink-500);
  max-width: 24em;                         /* ~Breite der 1. Zeile — bleibt links, ragt nicht ins Bild */
  line-height: 1.5;
  margin: 0 0 48px;
  font-weight: 400;
}

.v4-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero-Vertrauens-Zeile unter den Buttons (Herkunft · Reichweite · DSGVO) */
.v4-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--v4-ink-500, #64748b);
  letter-spacing: .01em;
}
.v4-hero__trust-sep { color: var(--v4-ink-300, #cbd5e1); }

.v4-hero__hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 80px;
  font-size: 13px;
  color: var(--v4-ink-400);
  letter-spacing: 0.05em;
}

.v4-hero__hint__bar {
  width: 64px;
  height: 1px;
  background: var(--v4-ink-300);
}

/* === Startseiten-Hero Mobile: Foto randlos (volle Breite, bis hinter das Logo), Headline drauf, darunter Copy+CTAs === */
.v4-hero__mobcard { display: none; }
@media (max-width: 900px) {
  .v4-hero { padding: 0 0 clamp(40px,8vw,60px); }   /* kein Top-Padding -> Bild läuft hinter die fixe Nav/Logo */
  .v4-hero__atmo { display: none; }
  .v4-hero__inner .is-desk { display: none; }
  .v4-hero__mobcard {
    display: block; position: relative;
    margin: 0 0 clamp(26px,6vw,36px);               /* randlos, volle Breite, bis ganz oben */
    height: clamp(470px,130vw,640px);               /* etwas höher, da bis hinter das Logo */
    overflow: hidden; background: #0f172a;
  }
  /* object-position rechts -> Bild nach links gerückt, Person möglichst komplett sichtbar */
  .v4-hero__mobcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% center; display: block; }
  /* unten Verlauf für Headline-Lesbarkeit; oben sanfter Verlauf für das Logo — Bildmitte bleibt voll sichtbar */
  .v4-hero__mobcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,14,28,.84) 0%, rgba(8,14,28,.4) 34%, rgba(8,14,28,0) 60%), linear-gradient(to bottom, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 14%); pointer-events: none; }
  .v4-hero__mobcard-head { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px,5vw,28px) var(--v4-px,20px) clamp(26px,7vw,36px); }
  .v4-hero__mobcard-head .v4-eyebrow { color: #F4F485; margin: 0 0 12px; }
  .v4-hero__mobcard-head .v4-h-mega { color: #fff; font-size: clamp(28px,7.6vw,38px); line-height: 1.06; letter-spacing: -.025em; margin: 0; }
  .v4-hero__sub { max-width: none; }
}

/* Logo-Marquee unter Hero */
.v4-marquee {
  background: var(--v4-ink-50);
  border-top: 1px solid var(--v4-border);
  border-bottom: 1px solid var(--v4-border);
  overflow: hidden;
  padding: 32px 0;
}

.v4-marquee__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  width: max-content;
  animation: v4-marquee 40s linear infinite;
}

@keyframes v4-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.v4-marquee__item {
  font-size: 18px;
  font-weight: 500;
  color: var(--v4-ink-400);
  display: inline-flex;
  align-items: center;
  gap: 24px;
  letter-spacing: -0.01em;
}

.v4-marquee__item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v4-accent);
  margin-left: 24px;
}
.v4-marquee__item:last-child::after { display: none; }

/* =========================================================
   WELTEN-TILES — 4 Pastell-Cards
   ========================================================= */

.v4-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.v4-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  padding: 48px;
  border-radius: var(--v4-r-lg);
  overflow: hidden;
  background: var(--tile-bg, var(--v4-ink-100));
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: transform 400ms var(--v4-ease), box-shadow 400ms var(--v4-ease);
  text-decoration: none;
  cursor: pointer;
}

.v4-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--v4-shadow-lg);
}

.v4-tile::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--tile-glow, var(--v4-accent-tint)) 0%, transparent 60%);
  pointer-events: none;
  transition: transform 800ms var(--v4-ease);
}

.v4-tile:hover::before { transform: translate(-30px, 30px); }

.v4-tile__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.v4-tile__top {}

.v4-tile__chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--tile-accent, var(--v4-accent-deep));
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.v4-tile__title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--v4-ink-900);
  margin: 0 0 16px;
}

.v4-tile__lead {
  font-size: 16px;
  color: var(--v4-ink-700);
  line-height: 1.5;
  margin: 0;
  max-width: 90%;
}

.v4-tile__bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--tile-accent, var(--v4-accent-deep));
  margin-top: 32px;
}

.v4-tile__bottom svg {
  transition: transform 200ms var(--v4-ease);
}
.v4-tile:hover .v4-tile__bottom svg { transform: translateX(6px); }

@media (max-width: 760px) {
  .v4-tiles { grid-template-columns: 1fr; }
  .v4-tile { min-height: 360px; padding: 32px; }
}

/* =========================================================
   APPROACH — Steps mit Cards (heller Look)
   ========================================================= */

.v4-approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.v4-approach__step {
  padding: 36px 32px;
  background: var(--v4-white);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-r);
  transition: transform 300ms var(--v4-ease), box-shadow 300ms var(--v4-ease), border-color 300ms var(--v4-ease);
}

.v4-approach__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--v4-shadow);
  border-color: var(--v4-border-strong);
}

.v4-approach__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--v4-accent-soft);
  color: var(--v4-accent-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.v4-approach__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--v4-ink-900);
}

.v4-approach__body {
  font-size: 15px;
  color: var(--v4-ink-500);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1024px) { .v4-approach { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .v4-approach { grid-template-columns: 1fr; } }

/* =========================================================
   FEATURED — Dunkle Kontrast-Section
   ========================================================= */

.v4-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.v4-feature__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--v4-r-lg);
  background: linear-gradient(135deg, var(--v4-healthcare) 0%, var(--v4-finance) 100%);
  overflow: hidden;
}

.v4-feature__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,255,255,0.6) 0%, transparent 60%);
}

.v4-feature__visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v4-feature__visual__label {
  position: absolute;
  bottom: 32px; left: 32px;
  font-family: var(--v4-font);
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--v4-ink-900);
  opacity: 0.18;
}

.v4-feature__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 40px 0;
}

.v4-feature__metric__num {
  font-family: var(--v4-font);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  background: linear-gradient(120deg, #F4F485 0%, #FFFFAF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Prozent-Zahlen im Gelb-Verlauf (auf dunklem Grund) */
.v4-pct-gradient {
  background: linear-gradient(120deg, #F4F485 0%, #FFFFAF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.v4-feature__metric__label {
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.4;
}

[data-theme="dark"] .v4-feature__visual__label {
  color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 1024px) {
  .v4-feature { grid-template-columns: 1fr; gap: 48px; }
  .v4-feature__visual { aspect-ratio: 16/10; }
}

/* =========================================================
   BENTO — heller Look
   ========================================================= */

.v4-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  margin-top: 64px;
}

.v4-bento__cell {
  position: relative;
  border-radius: var(--v4-r);
  padding: 32px;
  background: var(--cell-bg, var(--v4-ink-50));
  border: 1px solid var(--v4-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 300ms var(--v4-ease), box-shadow 300ms var(--v4-ease), border-color 300ms var(--v4-ease);
  text-decoration: none;
  overflow: hidden;
}

.v4-bento__cell::before {
  content: "";
  position: absolute;
  top: -30%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--cell-glow, var(--v4-accent-tint)) 0%, transparent 60%);
  pointer-events: none;
}

.v4-bento__cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--v4-shadow-lg);
  border-color: var(--v4-border-strong);
}

.v4-bento__cell--lg { grid-column: span 4; grid-row: span 2; }
.v4-bento__cell--md { grid-column: span 3; }
.v4-bento__cell--sm { grid-column: span 2; }
.v4-bento__cell--tall { grid-column: span 2; grid-row: span 2; }

.v4-bento__cell > * { position: relative; }

.v4-bento__chip {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--v4-border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cell-accent, var(--v4-accent-deep));
  margin-bottom: 16px;
  width: fit-content;
}

.v4-bento__title {
  font-family: var(--v4-font);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--v4-ink-900);
}

.v4-bento__cell--lg .v4-bento__title,
.v4-bento__cell--tall .v4-bento__title { font-size: clamp(28px, 3vw, 40px); }

.v4-bento__cell--md .v4-bento__title,
.v4-bento__cell--sm .v4-bento__title { font-size: clamp(20px, 1.6vw, 26px); }

.v4-bento__lead {
  font-size: 14px;
  color: var(--v4-ink-500);
  line-height: 1.55;
  margin: 0 0 16px;
}

.v4-bento__price {
  font-size: 13px;
  color: var(--cell-accent, var(--v4-accent-deep));
  font-weight: 500;
  letter-spacing: 0.02em;
}

.v4-bento__icon {
  position: absolute;
  top: 32px; right: 32px;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--v4-white);
  border: 1px solid var(--v4-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cell-accent, var(--v4-accent-deep));
  z-index: 1;
}

.v4-bento__icon svg { width: 26px; height: 26px; }

@media (max-width: 1024px) {
  .v4-bento { grid-template-columns: repeat(4, 1fr); }
  .v4-bento__cell--lg, .v4-bento__cell--md { grid-column: span 4; }
  .v4-bento__cell--sm { grid-column: span 2; }
  .v4-bento__cell--tall { grid-column: span 4; grid-row: span 1; }
}
@media (max-width: 600px) {
  .v4-bento { grid-template-columns: 1fr; }
  .v4-bento__cell, .v4-bento__cell--lg, .v4-bento__cell--md, .v4-bento__cell--sm, .v4-bento__cell--tall {
    grid-column: span 1; grid-row: auto;
  }
}

/* =========================================================
   FINAL CTA — Dunkle Kontrast-Section
   ========================================================= */

.v4-final {
  position: relative;
  background: #BDD0E2;
  color: var(--v4-ink-900);
  overflow: hidden;
}

.v4-final__atmo {
  display: none;
}

.v4-final__inner {
  position: relative;
  max-width: var(--v4-cont-wide, 1320px);
  margin: 0 auto;
  padding: 0 var(--v4-px);
}

/* GRID: Links Text + CTAs, rechts Video. Auf Mobile: gestapelt. */
.v4-final__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

@media (min-width: 900px) {
  .v4-final__grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

/* LINKS — Text-Block, links-buendig */
.v4-final__left {
  text-align: left;
}

.v4-final__eyebrow {
  justify-content: flex-start;
  color: rgba(15, 23, 42, 0.55);
  margin-bottom: 24px;
}

.v4-final .v4-final__title {
  margin: 0 0 52px;
  color: var(--v4-ink-900);
  text-align: left;
  font-size: clamp(34px, 5.2vw, 74px);
  line-height: 1.08;
}

.v4-final__lead {
  font-size: clamp(17px, 1.4vw, 21px);
  color: rgba(15, 23, 42, 0.72);
  margin: 0 0 40px;
  line-height: 1.55;
  max-width: 52ch;
}

.v4-final__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* RECHTS — Video-Frame im V4-Stil mit weichen Ecken */
.v4-final__video {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: clamp(20px, 2vw, 28px);
  overflow: hidden;
  background: var(--v4-ink-800, #1e293b);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.40),
    0 0 1px rgba(255, 255, 255, 0.06);
  isolation: isolate;
  max-width: 540px;
  width: 100%;
  justify-self: end;
}

@media (max-width: 900px) {
  .v4-final__video {
    justify-self: stretch;
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
}

.v4-final__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Custom Play-Button (Gelb-Verlauf, weißes Icon, ~90% deckend) */
.v4-final__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92px; height: 92px;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(244,244,133,0.9) 0%, rgba(255,255,175,0.9) 100%);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  z-index: 3;
  transition: transform .2s var(--v4-ease), box-shadow .2s var(--v4-ease);
}
.v4-final__play:hover { transform: translate(-50%,-50%) scale(1.1); background: rgba(255,255,175,0.9); box-shadow: 0 14px 38px rgba(0,0,0,0.34); }
.v4-final__play svg { width: 38px; height: 38px; color: #fff; margin-left: 4px; }
.v4-final__play.is-hidden { display: none; }

/* HINWEIS-BADGE (waehrend Placeholder-Phase) — kleines Reminder-Pill oben links auf Video */
.v4-final__hint {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(15, 23, 42, 0.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  z-index: 2;
  pointer-events: none;
}

.v4-final__hint__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v4-accent);
  box-shadow: 0 0 0 3px rgba(244, 244, 133, 0.25);
  animation: v4-final__hint__pulse 2s ease-in-out infinite;
}

@keyframes v4-final__hint__pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(244, 244, 133, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(244, 244, 133, 0.10); }
}

/* =========================================================
   COMPLIANCE-PILLS
   ========================================================= */

.v4-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.v4-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--v4-border);
  border-radius: 999px;
  background: var(--v4-white);
  font-size: 14px;
  font-weight: 500;
  color: var(--v4-ink-700);
  transition: all 200ms var(--v4-ease);
}

.v4-pill::before {
  content: "✓";
  color: var(--v4-accent-deep);
  font-weight: 700;
}

.v4-pill:hover {
  border-color: var(--v4-border-strong);
  transform: translateY(-1px);
  box-shadow: var(--v4-shadow-sm);
}

/* =========================================================
   FOOTER
   ========================================================= */

.v4-footer {
  padding: 96px 0 48px;
  background: var(--v4-ink-50);
  color: var(--v4-ink-700);
  border-top: 1px solid var(--v4-border);
}

.v4-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}

.v4-footer__brand h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--v4-ink-900);
  margin: 0 0 16px;
}

.v4-footer__brand p {
  font-size: 14px;
  color: var(--v4-ink-500);
  line-height: 1.5;
  margin: 0;
  max-width: 380px;
}

.v4-footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--v4-ink-400);
  margin: 0 0 16px;
}

.v4-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v4-footer__col a {
  font-size: 14px;
  color: var(--v4-ink-700);
  transition: color 200ms var(--v4-ease);
}

.v4-footer__col a:hover { color: var(--v4-accent-deep); }

.v4-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--v4-border);
  font-size: 13px;
  color: var(--v4-ink-400);
}

.v4-footer__bottom__links {
  display: flex;
  gap: 24px;
}

/* Standort-/Sprachumschalter DE <-> CH */
.v4-footer__locale {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.v4-footer__locale a { color: var(--v4-ink-400); text-decoration: none; }
.v4-footer__locale a:hover { color: var(--v4-ink-700, #334155); }
.v4-footer__locale a[aria-current="true"] { color: var(--v4-ink-900, #0f172a); font-weight: 600; }
.v4-footer__locale-sep { color: var(--v4-border); }

@media (max-width: 760px) {
  .v4-footer__grid { grid-template-columns: 1fr 1fr; }
  .v4-footer__brand { grid-column: 1 / -1; }
  .v4-footer__bottom { flex-direction: column; gap: 16px; }
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.v4-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms var(--v4-ease), transform 800ms var(--v4-ease);
}
.v4-reveal.is-visible { opacity: 1; transform: translateY(0); }

.v4-reveal-stagger > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms var(--v4-ease), transform 800ms var(--v4-ease);
}
.v4-reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.v4-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.v4-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.v4-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.v4-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.v4-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.v4-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

/* === Painpoint über Foto-Hintergrund: deutlicher, parent-gesteuerter Staffel-Aufstieg ===
   Kacheln steigen von unten (unsichtbar) nach oben (sichtbar), zeitlich versetzt links→rechts.
   Parent-gesteuert: das `> .brt-value` greift erst, wenn die Reihe (`.v4-reveal-stagger`) im Bild ist
   — so bleibt der Versatz erhalten (die einzelnen `.v4-reveal` der Karten flippen sonst zu früh). */
.brt-pain--photo .brt-values.v4-reveal-stagger > .brt-value { opacity: 0; transform: translateY(56px); transition: opacity .85s var(--v4-ease), transform .85s var(--v4-ease); }
.brt-pain--photo .brt-values.v4-reveal-stagger.is-visible > .brt-value { opacity: 1; transform: translateY(0); }
.brt-pain--photo .brt-values.v4-reveal-stagger.is-visible > .brt-value:nth-child(1) { transition-delay: 0ms; }
.brt-pain--photo .brt-values.v4-reveal-stagger.is-visible > .brt-value:nth-child(2) { transition-delay: 140ms; }
.brt-pain--photo .brt-values.v4-reveal-stagger.is-visible > .brt-value:nth-child(3) { transition-delay: 280ms; }
.brt-pain--photo .brt-values.v4-reveal-stagger.is-visible > .brt-value:nth-child(4) { transition-delay: 420ms; }
@media (prefers-reduced-motion: reduce) { .brt-pain--photo .brt-values.v4-reveal-stagger > .brt-value { transition: none; transform: none; opacity: 1; } }

/* === Leistungs-Sektion: optionale 2-Spalten-Reihe (Intro links, Bild rechts) === */
.brt-leadrow { margin: 0 0 clamp(40px, 4vw, 64px); }
.brt-leadrow--img { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.brt-leadrow__media { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 90px -50px rgba(15, 23, 42, 0.45); }
.brt-leadrow__img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .brt-leadrow--img { grid-template-columns: 1fr; gap: clamp(22px, 5vw, 34px); } }

/* =========================================================
   HUB-PAGES
   ========================================================= */

.v4-hub-hero {
  position: relative;
  padding: 200px 0 96px;
  background: var(--v4-white);
  overflow: hidden;
}

.v4-hub-hero__atmo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 80% 20%, var(--hub-glow, var(--v4-healthcare)) 0%, transparent 60%);
  opacity: 0.7;
}

.v4-hub-hero__inner {
  position: relative;
  max-width: 980px;
}

.v4-hub-hero h1 { margin-bottom: 24px; }

.v4-hub-hero__sub {
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--v4-ink-500);
  line-height: 1.5;
  margin: 0;
  max-width: 720px;
}

/* Trio (Hub-Pages) */
.v4-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.v4-trio__item {
  padding: 36px;
  background: var(--v4-white);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-r);
  transition: all 300ms var(--v4-ease);
}

.v4-trio__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--v4-shadow);
  border-color: var(--v4-border-strong);
}

.v4-trio__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--v4-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--v4-accent-deep);
}

.v4-trio__icon svg { width: 26px; height: 26px; }

.v4-trio__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--v4-ink-900);
}

.v4-trio__body {
  font-size: 15px;
  color: var(--v4-ink-500);
  line-height: 1.55;
  margin: 0;
}

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

/* Items-list (Hub-Pages) */
.v4-items { margin-top: 80px; }

.v4-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--v4-border);
}
.v4-item:last-child { border-bottom: 0; }
.v4-item--reverse .v4-item__visual { order: 2; }

.v4-item__visual {
  aspect-ratio: 5/6;
  border-radius: var(--v4-r-lg);
  background: linear-gradient(135deg, var(--item-bg, var(--v4-healthcare)) 0%, var(--v4-white) 100%);
  border: 1px solid var(--v4-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.v4-item__visual__label {
  position: absolute;
  bottom: 32px; left: 32px;
  font-family: var(--v4-font);
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--v4-ink-900);
  opacity: 0.20;
}

.v4-item__title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--v4-ink-900);
}

.v4-item__body {
  font-size: 17px;
  color: var(--v4-ink-500);
  line-height: 1.6;
  margin: 0 0 28px;
}

.v4-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.v4-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--v4-ink-50);
  border: 1px solid var(--v4-border);
  font-size: 13px;
  color: var(--v4-ink-700);
  transition: all 200ms var(--v4-ease);
}
.v4-chip:hover {
  background: var(--v4-white);
  border-color: var(--v4-border-strong);
}

@media (max-width: 1024px) {
  .v4-item { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .v4-item--reverse .v4-item__visual { order: 0; }
}

/* =========================================================
   SECTION INTRO
   ========================================================= */

.v4-intro { max-width: 760px; margin-bottom: 64px; }
.v4-intro__title { margin: 0 0 24px; }
.v4-intro__lead {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--v4-ink-500);
  margin: 0;
  line-height: 1.55;
}

[data-theme="dark"] .v4-intro__lead { color: rgba(255, 255, 255, 0.65); }

.v4-counter { font-variant-numeric: tabular-nums; }

/* =========================================================
   APPS-RAIL — Streifen zwischen Sektion 2 und 3
   Horizontaler Scroller mit App-Kacheln, Slide-In von rechts
   Hoehe ca. 1.5x einer Welten-Tile (~520px)
   ========================================================= */

.v4-apps-rail {
  position: relative;
  background: var(--v4-ink-900);
  padding: clamp(56px, 7vh, 96px) 0 clamp(64px, 8vh, 112px);
  overflow: hidden;
  /* Side-Padding fuer Track: erste Karte alignt mit Container-Inhalt,
     letzte Karte bleeded ueber den rechten Viewport-Rand hinaus */
  --apps-side: clamp(20px, 4vw, 48px);
  --apps-edge: max(var(--apps-side), calc((100vw - var(--v4-cont-wide, 1320px)) / 2 + var(--apps-side)));
}

/* Subtile Glow-Atmosphaere */
.v4-apps-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 360px at 12% 30%, rgba(244, 244, 133, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 700px 320px at 88% 70%, rgba(91, 156, 110, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.v4-apps-rail__inner {
  position: relative;
  z-index: 1;
  max-width: var(--v4-cont-wide, 1320px);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* HEAD — Eyebrow + Title links, Nav rechts */
.v4-apps-rail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(28px, 4vh, 44px);
  flex-wrap: wrap;
}

.v4-apps-rail__eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.v4-apps-rail__eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}

.v4-apps-rail__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--v4-white);
  margin: 0;
  max-width: 28ch;
}

/* NAV BUTTONS */
.v4-apps-rail__nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.v4-apps-rail__btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 220ms var(--v4-ease), border-color 220ms var(--v4-ease), transform 220ms var(--v4-ease), color 220ms var(--v4-ease);
}

.v4-apps-rail__btn:hover {
  background: var(--v4-accent);
  border-color: var(--v4-accent);
  color: var(--v4-white);
  transform: translateY(-1px);
}

.v4-apps-rail__btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* TRACK — voll-breit Container, overflow hidden (kein User-Scroll, JS-Marquee uebernimmt) */
.v4-apps-rail__track {
  width: 100%;
  overflow: hidden;
  padding: 12px 0 24px;
}

/* RAIL — flex container mit dupliziertem Karten-Set, wird via JS translateX'd */
.v4-apps-rail__rail {
  display: flex;
  gap: clamp(16px, 1.6vw, 22px);
  padding-inline-start: var(--apps-edge);
  padding-inline-end: var(--apps-edge);
  width: max-content;
  will-change: transform;
}

/* Pause-Class — JS toggelt sie beim Hover ueber Section */
.v4-apps-rail.is-marquee-paused .v4-apps-rail__rail {
  /* Marquee-Pause via JS-Flag; CSS-side koennen wir hier visual feedback geben */
}

/* CARDS — leicht hochformatig, ~1.5x so hoch wie eine Welten-Tile */
.v4-apps-rail__card {
  flex: 0 0 auto;
  width: clamp(260px, 22vw, 320px);
  height: clamp(380px, 44vh, 480px);
  background: var(--card-bg, var(--v4-ink-100));
  border-radius: clamp(20px, 1.8vw, 26px);
  padding: clamp(24px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--v4-ink-900);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 320ms var(--v4-ease);
}

/* Subtiler Glow im Hintergrund jeder Karte */
.v4-apps-rail__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.v4-apps-rail__card > * { position: relative; z-index: 1; }

/* Hover */
.v4-apps-rail__card:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.40);
}

/* CARD CONTENT — App-Icon im Mittelpunkt, Title + Lead unten */
.v4-apps-rail__card__icon {
  width: clamp(64px, 5vw, 84px);
  height: clamp(64px, 5vw, 84px);
  border-radius: clamp(16px, 1.4vw, 22px);
  background: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
  color: var(--card-accent, var(--v4-ink-900));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.v4-apps-rail__card__icon svg {
  width: 60%;
  height: 60%;
}

/* Echtes App-Logo füllt den Icon-Slot (eigener Logo-Hintergrund) */
.v4-apps-rail__card__icon--img {
  background: none;
  padding: 0;
  overflow: hidden;
}
.v4-apps-rail__card__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.v4-apps-rail__card__content {
  margin-top: auto;
}

.v4-apps-rail__card__title {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: #4C5882;
  margin: 0 0 16px;
}
/* Dark-Theme-h3-Regel (Zeile ~179: [data-theme=dark] h3 -> weiss) ueberschreiben:
   Karten-BG ist hell-pastell, Headline muss Slate sein, nicht weiss */
.v4 [data-theme="dark"] .v4-apps-rail__card__title { color: #4C5882; margin: 0 0 16px; }

.v4-apps-rail__card__lead {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--v4-ink-700);
  line-height: 1.5;
  margin: 0;
}

.v4-apps-rail__card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--card-accent, var(--v4-ink-900));
  letter-spacing: -0.005em;
  transition: gap 220ms var(--v4-ease);
}

.v4-apps-rail__card:hover .v4-apps-rail__card__cta { gap: 12px; }

@media (max-width: 760px) {
  .v4-apps-rail__head { flex-direction: column; align-items: flex-start; }
  .v4-apps-rail__title { font-size: clamp(24px, 6vw, 32px); }
  .v4-apps-rail__card { width: clamp(240px, 75vw, 300px); height: clamp(360px, 60vh, 440px); }
  /* Handy: Icons in den Kacheln ~2,2x groesser (Desktop/Tablet unveraendert) */
  .v4-apps-rail__card__icon { width: 141px; height: 141px; border-radius: 28px; }
  /* Handy: Marquee aus (JS stoppt translateX), stattdessen nativer Finger-Swipe
     mit Scroll-Snap. Duplikat-Karten (aria-hidden) ausblenden, Nav-Buttons weg. */
  .v4-apps-rail__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-left: var(--apps-edge);
    overscroll-behavior-x: contain;
  }
  .v4-apps-rail__track::-webkit-scrollbar { display: none; }
  .v4-apps-rail__card { scroll-snap-align: start; }
  .v4-apps-rail__card[aria-hidden="true"] { display: none; }
  .v4-apps-rail__nav { display: none; }
}

/* =========================================================
   PHASES-GROW — Sektion 3, Curtain-Reveal von OBEN + Phase-Wechsel
   Spiegelung von .v4-welten-grow:
   - Hintergrund dunkel, Panel weiss
   - Panel kommt von oben (top: 0), waechst von 40% zu 100% Breite
   - Border-Radius an den UNTEREN Ecken (statt oberen)
   - Im Panel: 4 Phasen wechseln per Scroll, quadratisches Bild rechts
   ========================================================= */

.v4-phases-grow {
  position: relative;
  height: 200vh;          /* Kompakt: 100vh Entrance + 100vh Sticky-Lock — schneller Exit */
  background: var(--v4-ink-900);
}

.v4-phases-grow__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  --p-grow: 0;
  --p-card: 0;
  --active: 0;
}

/* STAGE — die Bildflaeche, die wie ein Vorhang von 40% auf 100% Breite waechst.
   Sitzt am unteren Rand der Sticky-Box, voller 100vh-Hoehe, runde obere Ecken. */
.v4-phases-grow__stage {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: calc(40% + 60% * var(--p-grow));
  height: 100vh;
  border-top-left-radius: clamp(24px, 2vw, 32px);
  border-top-right-radius: clamp(24px, 2vw, 32px);
  overflow: hidden;
  isolation: isolate;
  background: var(--v4-ink-900);
  box-shadow:
    0 -12px 50px rgba(15, 23, 42, 0.22),
    0 0 1px rgba(15, 23, 42, 0.12);
  will-change: width;
}

/* VOLLFLAECHEN-BILDER (eine Linie = ein Bild) — Cross-Fade, fuellen Stage komplett.
   Click-Flaeche fuer Phasen-Wechsel — Custom-Cursor uebernimmt, KEIN System-Finger. */
.v4-phases-grow__bg-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.v4-phases-grow__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 900ms var(--v4-ease),
    transform 1600ms var(--v4-ease);
  will-change: opacity, transform;
}

.v4-phases-grow__bg.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Subtile Vignette ueber dem Bild — leicht vertieft, Karte hat ihren eigenen Kontrast */
.v4-phases-grow__bg-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.04) 50%, rgba(15, 23, 42, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

/* DUNKLE FROSTED-GLASS KARTE — untere linke Ecke (stoert die Bilder am wenigsten),
   plakative Typografie, etwas breiter fuer mehr Atemraum. */
.v4-phases-grow__panel {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 38vw;
  max-width: 640px;
  min-width: 340px;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border-radius: clamp(20px, 1.6vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(32px, 4.4vh, 56px) clamp(28px, 2.8vw, 48px);
  z-index: 2;
  /* Karte fadet ein NACHDEM Bildflaeche voll-breit ist (zweite Scroll-Phase) */
  opacity: var(--p-card, 0);
  will-change: opacity;
}

/* Fallback wenn backdrop-filter nicht supported wird */
@supports not (backdrop-filter: blur(20px)) {
  .v4-phases-grow__panel {
    background: rgba(15, 23, 42, 0.85);
  }
}

/* Inhalt im Panel — Block-Layout, fuellt die Karte */
.v4-phases-grow__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Reveal triggers — Stagger-Animation wie Section 2 */
.v4-phases-grow__eyebrow,
.v4-phases-grow__title,
.v4-phases-grow__divider,
.v4-phases-grow__counter,
.v4-phases-grow__step-stack,
.v4-phases-grow__progress {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 800ms var(--v4-ease),
    transform 800ms var(--v4-ease);
}

.v4-phases-grow__inner.is-revealed .v4-phases-grow__eyebrow,
.v4-phases-grow__inner.is-revealed .v4-phases-grow__title,
.v4-phases-grow__inner.is-revealed .v4-phases-grow__divider,
.v4-phases-grow__inner.is-revealed .v4-phases-grow__counter,
.v4-phases-grow__inner.is-revealed .v4-phases-grow__step-stack,
.v4-phases-grow__inner.is-revealed .v4-phases-grow__progress {
  opacity: 1;
  transform: translateY(0);
}

.v4-phases-grow__inner.is-revealed .v4-phases-grow__eyebrow      { transition-delay: 0ms; }
.v4-phases-grow__inner.is-revealed .v4-phases-grow__title        { transition-delay: 80ms; }
.v4-phases-grow__inner.is-revealed .v4-phases-grow__divider      { transition-delay: 160ms; }
.v4-phases-grow__inner.is-revealed .v4-phases-grow__counter      { transition-delay: 220ms; }
.v4-phases-grow__inner.is-revealed .v4-phases-grow__step-stack   { transition-delay: 280ms; }
.v4-phases-grow__inner.is-revealed .v4-phases-grow__progress     { transition-delay: 340ms; }

.v4-phases-grow__panel .v4-phases-grow__eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.60);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.v4-phases-grow__panel .v4-phases-grow__eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}

.v4-phases-grow__panel .v4-phases-grow__title {
  font-size: clamp(34px, 3.2vw, 54px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.05;
  color: var(--v4-white);
  margin: 0;
}

.v4-phases-grow__panel .v4-phases-grow__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin: clamp(20px, 3vh, 32px) 0 clamp(16px, 2vh, 22px);
}

/* COUNTER — plakativ, gross, Tabular-Nums, Brand-Teal */
.v4-phases-grow__panel .v4-phases-grow__counter {
  font-family: var(--v4-font);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--v4-accent);
  margin: 0 0 16px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.v4-phases-grow__panel .v4-phases-grow__counter__total {
  color: rgba(255, 255, 255, 0.40);
  margin-left: 6px;
  font-weight: 500;
}

/* STEP-STACK — alle Steps absolut positioniert, eines aktiv */
.v4-phases-grow__step-stack {
  position: relative;
  min-height: clamp(220px, 30vh, 280px);
}

.v4-phases-grow__step {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--v4-ease), transform 500ms var(--v4-ease);
  pointer-events: none;
}

.v4-phases-grow__step.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.v4-phases-grow__panel .v4-phases-grow__step__title {
  font-family: var(--v4-font);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--v4-accent);
  margin: 0 0 12px;
}

.v4-phases-grow__panel .v4-phases-grow__step__body {
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.55;
  margin: 0 0 18px;
  max-width: 100%;
}

.v4-phases-grow__panel .v4-phases-grow__step__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v4-phases-grow__panel .v4-phases-grow__step__chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

/* PROGRESS BARS */
.v4-phases-grow__progress {
  display: flex;
  gap: 8px;
  margin-top: clamp(20px, 3vh, 32px);
}

.v4-phases-grow__progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.v4-phases-grow__progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--v4-white);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 220ms var(--v4-ease);
}

/* Phase erledigt: Linie steht voll */
.v4-phases-grow__progress-bar.is-done::after {
  transform: scaleX(1);
  transition: transform 220ms var(--v4-ease);
}

/* Aktive Phase: Linie laeuft linear ueber 2.4s voll (Auto-Play-Dauer) */
.v4-phases-grow__progress-bar.is-active::after {
  transform: scaleX(1);
  transition: transform 2400ms linear;
}

@media (max-width: 1100px) {
  .v4-phases-grow__panel {
    width: 48vw;
    max-width: 540px;
  }
}

@media (max-width: 760px) {
  .v4-phases-grow { height: 200vh; }
  .v4-phases-grow__panel {
    width: calc(100% - 32px);
    left: 16px;
    bottom: 16px;
    max-width: none;
    min-width: 0;
    padding: 28px 22px;
  }
  .v4-phases-grow__panel .v4-phases-grow__title {
    font-size: clamp(28px, 8vw, 36px);
  }
  .v4-phases-grow__step-stack { min-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .v4-phases-grow__sticky { --p-grow: 1; }
  .v4-phases-grow__inner.is-revealed { /* always revealed */ }
}

/* =========================================================
   ROI-CALCULATOR — Einsparungs-Rechner
   Kompakt-Card mit Stellschrauben links, plakative Zahl rechts
   ========================================================= */

.v4-calc {
  background: var(--v4-white);
  border: 1px solid var(--v4-line);
  border-radius: clamp(20px, 2.4vw, 32px);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
}

.v4-calc__grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(420px, 55vh, 560px);
}

@media (min-width: 900px) {
  .v4-calc__grid { grid-template-columns: 1.15fr 1fr; }
}

/* LEFT — Stellschrauben */
.v4-calc__left {
  padding: clamp(28px, 3.6vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 28px);
  background: var(--v4-white);
}

.v4-calc__field { display: block; }

.v4-calc__field__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.v4-calc__field__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--v4-ink-700);
  letter-spacing: -0.005em;
}

.v4-calc__field__value {
  font-family: var(--v4-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--v4-ink-900);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

/* SLIDER */
.v4-calc__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--v4-ink-100);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  background-image: linear-gradient(to right, var(--v4-accent) 0%, var(--v4-accent) var(--p, 0%), var(--v4-ink-100) var(--p, 0%), var(--v4-ink-100) 100%);
  transition: background-image 80ms linear;
}

.v4-calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--v4-white);
  border: 2.5px solid var(--v4-accent);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  transition: transform 200ms var(--v4-ease), box-shadow 200ms var(--v4-ease);
}

.v4-calc__slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--v4-white);
  border: 2.5px solid var(--v4-accent);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  transition: transform 200ms var(--v4-ease), box-shadow 200ms var(--v4-ease);
}

.v4-calc__slider:hover::-webkit-slider-thumb,
.v4-calc__slider:active::-webkit-slider-thumb {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(244, 244, 133, 0.30);
}

.v4-calc__slider:hover::-moz-range-thumb,
.v4-calc__slider:active::-moz-range-thumb {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(244, 244, 133, 0.30);
}

/* PILLS — Branchen-Auswahl */
.v4-calc__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v4-calc__pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--v4-line);
  background: var(--v4-white);
  color: var(--v4-ink-700);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 280ms var(--v4-ease);
}

.v4-calc__pill:hover {
  border-color: var(--v4-line-strong);
  background: var(--v4-ink-50);
}

.v4-calc__pill.is-active {
  background: var(--v4-ink-900);
  color: var(--v4-white);
  border-color: var(--v4-ink-900);
}

/* RIGHT — Result */
.v4-calc__right {
  position: relative;
  padding: clamp(32px, 4vw, 56px);
  background: linear-gradient(135deg, var(--v4-healthcare) 0%, var(--v4-finance) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.v4-calc__right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, 0.45) 0%, transparent 60%);
  pointer-events: none;
}

.v4-calc__right > * { position: relative; }

.v4-calc__result-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--v4-accent-deep);
  margin: 0 0 16px;
}

.v4-calc__result-main {
  font-family: var(--v4-font);
  font-size: clamp(54px, 8vw, 112px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--v4-ink-900);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.v4-calc__result-sub {
  font-size: 16px;
  color: var(--v4-ink-700);
  line-height: 1.4;
  margin: 12px 0 0;
  max-width: 30ch;
  font-weight: 500;
}

.v4-calc__result-divider {
  display: block;
  width: 64px;
  height: 1px;
  background: rgba(15, 23, 42, 0.18);
  margin: 28px 0;
}

.v4-calc__result-second {
  font-family: var(--v4-font);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--v4-ink-900);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.v4-calc__result-second-sub {
  font-size: 14px;
  color: var(--v4-ink-700);
  line-height: 1.4;
  margin: 6px 0 0;
}

.v4-calc__result-cta {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: var(--v4-ink-900);
  color: var(--v4-white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  width: fit-content;
  transition: all 280ms var(--v4-ease);
}

.v4-calc__result-cta:hover {
  background: var(--v4-accent-deep);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .v4-calc__grid { min-height: 0; }
  .v4-calc__right { order: -1; }
}

/* =========================================================
   WELTEN-GROW — antigravity.google Pattern
   Dunkles Panel waechst aus der Mitte unten in der Breite (40% → 100%).
   Inhalt erscheint mit eigener Reveal-Animation (entkoppelt von Scroll).
   ========================================================= */

.v4-welten-grow {
  position: relative;
  background: var(--v4-ink-50);
  padding-top: clamp(60px, 7vh, 90px);
  --p-grow: 0;
}

/* Wrapper bleibt aus Kompatibilitaet — keine Sticky mehr.
   Panel ist content-getrieben in normalem Flow, waechst nur in Breite */
.v4-welten-grow__sticky {
  position: relative;
}

/* DUNKLES PANEL — content-getriebene Hoehe, waechst nur in Breite (40% -> 100%).
   Rundungen oben bleiben konstant, unten geht es bruchlos in apps-rail (auch dunkel) */
.v4-welten-grow__panel {
  position: relative;
  /* Mobil: Layout-Breite fix (kein Text-Reflow), Vorhang oeffnet via clip-path aus der Mitte */
  width: 100%;
  min-width: 0;
  clip-path: inset(0 calc((1 - var(--p-grow)) * 30%) 0 calc((1 - var(--p-grow)) * 30%) round clamp(24px, 2vw, 32px) clamp(24px, 2vw, 32px) 0 0);
  margin: 0 auto;
  background: var(--v4-ink-900);
  border-top-left-radius: clamp(24px, 2vw, 32px);
  border-top-right-radius: clamp(24px, 2vw, 32px);
  box-shadow:
    0 -12px 50px rgba(15, 23, 42, 0.10),
    0 0 1px rgba(15, 23, 42, 0.10);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(72px, 9vh, 110px) clamp(24px, 4vw, 64px) clamp(72px, 9vh, 110px);
  will-change: clip-path;
}

/* Subtiler Akzent-Glow im Panel */
.v4-welten-grow__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 25% 20%, rgba(189, 208, 226, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 75% 80%, rgba(184, 181, 255, 0.10) 0%, transparent 60%);
  opacity: calc(0.5 + 0.5 * var(--p-grow));
  pointer-events: none;
  z-index: 0;
}

/* Inhalt im Panel — initial unsichtbar, erscheint via .is-revealed */
.v4-welten-grow__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--v4-cont-wide);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Stagger Reveal — alle Children initial hidden */
.v4-welten-grow__eyebrow,
.v4-welten-grow__title,
.v4-welten-grow__sub,
.v4-welten-grow__tile {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 900ms var(--v4-ease),
    transform 900ms var(--v4-ease);
}

/* is-revealed Klasse triggert die Reveal */
.v4-welten-grow__inner.is-revealed .v4-welten-grow__eyebrow,
.v4-welten-grow__inner.is-revealed .v4-welten-grow__title,
.v4-welten-grow__inner.is-revealed .v4-welten-grow__sub,
.v4-welten-grow__inner.is-revealed .v4-welten-grow__tile {
  opacity: 1;
  transform: translateY(0);
}

.v4-welten-grow__inner.is-revealed .v4-welten-grow__eyebrow { transition-delay: 0ms; }
.v4-welten-grow__inner.is-revealed .v4-welten-grow__title { transition-delay: 80ms; }
.v4-welten-grow__inner.is-revealed .v4-welten-grow__sub { transition-delay: 160ms; }
.v4-welten-grow__inner.is-revealed .v4-welten-grow__tile:nth-child(1) { transition-delay: 320ms; }
.v4-welten-grow__inner.is-revealed .v4-welten-grow__tile:nth-child(2) { transition-delay: 420ms; }
.v4-welten-grow__inner.is-revealed .v4-welten-grow__tile:nth-child(3) { transition-delay: 520ms; }
.v4-welten-grow__inner.is-revealed .v4-welten-grow__tile:nth-child(4) { transition-delay: 620ms; }

/* Eyebrow */
/* Eyebrow + Title uebernehmen die Vision-Styles (gelb, weight 600,
   Titel clamp 30-52px, ohne Dash) — Andreas 2026-06-05 */
.v4-welten-grow__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v4-accent);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.v4-welten-grow__eyebrow::before {
  display: none;
}

/* Headline — Vision-Style. Spezifitaet ueber __panel
   um globale .v4 h2 { color: ink-900 } zu schlagen */
.v4-welten-grow__panel .v4-welten-grow__title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
  color: var(--v4-white);
  margin: 0;
}

/* Subline */
.v4-welten-grow__sub {
  margin: 20px auto 0;
  font-size: clamp(16px, 1.3vw, 20px);
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.5;
  max-width: 720px;
  font-weight: 400;
}

/* TILES-GRID — 2x2 */
.v4-welten-grow__tiles {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(32px, 5vh, 64px);
}

@media (max-width: 760px) {
  .v4-welten-grow__tiles { grid-template-columns: 1fr; gap: 10px; }
}


/* TILES — V4-Original-Stil, groessere Schrift, mehr Atem.
   min-height: 0 damit Tiles auto-size sind und nicht durch fixes Min die 100vh sprengen */
.v4-welten-grow__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3vw, 44px);
  border-radius: clamp(20px, 2.2vw, 28px);
  overflow: hidden;
  background: var(--tile-bg, var(--v4-ink-100));
  border: none;
  text-decoration: none;
  cursor: pointer;
  min-height: 0;
  text-align: left;
}

/* Hover als zusaetzlicher Effekt — wird auf .is-revealed kombiniert */
.v4-welten-grow__inner.is-revealed .v4-welten-grow__tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  transition: transform 600ms var(--v4-ease), box-shadow 600ms var(--v4-ease);
}

.v4-welten-grow__tile::before {
  content: "";
  position: absolute;
  top: -30%; right: -15%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--tile-glow, var(--v4-accent-tint)) 0%, transparent 60%);
  pointer-events: none;
  transition: transform 800ms var(--v4-ease);
}

.v4-welten-grow__tile:hover::before { transform: translate(-30px, 30px); }

.v4-welten-grow__tile__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  /* Text auf linke 60% begrenzen — rechte 40% bleiben für ein Bild frei */
  max-width: 60%;
}

/* Bild-Layer in den rechten 40% der Karte (z.B. Branchen-Karte) */
.v4-welten-grow__tile__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  z-index: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
/* weicher Übergang von der Kartenfarbe ins Bild an der linken Bildkante */
.v4-welten-grow__tile__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--tile-bg, #fff) 0%, rgba(255, 255, 255, 0) 30%);
  pointer-events: none;
}

.v4-welten-grow__tile__chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #4C5882;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
  width: fit-content;
}

.v4-welten-grow__tile__title {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--v4-ink-900);
  margin: 0 0 12px;
}

.v4-welten-grow__tile__lead {
  font-size: clamp(14px, 1.15vw, 17px);
  color: var(--v4-ink-700);
  line-height: 1.5;
  margin: 0;
  max-width: 95%;
}

.v4-welten-grow__tile__bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #4C5882;
  margin-top: 24px;
}

.v4-welten-grow__tile__bottom svg {
  transition: transform 200ms var(--v4-ease);
}
.v4-welten-grow__tile:hover .v4-welten-grow__tile__bottom svg { transform: translateX(6px); }

/* Auf schmalen Phones: Medien-Layer als Top-Banner (statt seitlich/versteckt),
   damit die Kacheln auch auf dem Handy Bild/Video zeigen — nah am Desktop.
   Das Video fuellt den Banner via inset:0 (siehe v4-tile-video-css). */
@media (max-width: 560px) {
  .v4-welten-grow__tile { padding: 0; justify-content: flex-start; }
  .v4-welten-grow__tile__inner { max-width: 100%; padding: clamp(22px, 5.5vw, 30px); }
  .v4-welten-grow__tile__media {
    display: block;
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: clamp(160px, 46vw, 200px);
  }
  .v4-welten-grow__tile__media::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .v4-welten-grow__sticky { --p-grow: 1; }
  .v4-welten-grow__inner { /* always revealed */ }
  .v4-welten-grow__eyebrow,
  .v4-welten-grow__title,
  .v4-welten-grow__sub,
  .v4-welten-grow__tile { opacity: 1; transform: none; }
}

/* =========================================================
   CUSTOM CURSOR (madebyshape-Style)
   - Default-Cursor versteckt
   - Punkt folgt Maus praezise, Ring folgt mit Lag
   - Ueber klickbaren Elementen: Ring wird zur Pille mit Pfeil
   ========================================================= */

@media (hover: hover) and (pointer: fine) {
  .v4 body,
  .v4 a,
  .v4 button,
  .v4 [role="button"],
  .v4 .v4-tile,
  .v4 .v4-bento__cell,
  .v4 .v4-phases-grow__bg-stack,
  .v4 .v4-phases-grow__bg-stack * {
    cursor: none;
  }
}

.v4-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 300ms var(--v4-ease);
}

.v4-cursor.is-active { opacity: 1; }

.v4-cursor__ring,
.v4-cursor__dot,
.v4-cursor__arrow {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
}

.v4-cursor__ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--v4-ink-900);
  border-radius: 999px;
  background: transparent;
  transform: translate(-50%, -50%);
  transition:
    width 380ms var(--v4-ease),
    height 380ms var(--v4-ease),
    border-radius 380ms var(--v4-ease),
    background 380ms var(--v4-ease),
    border-color 380ms var(--v4-ease);
  will-change: transform, width, height;
}

.v4-cursor__dot {
  width: 5px;
  height: 5px;
  background: var(--v4-ink-900);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 300ms var(--v4-ease), transform 300ms var(--v4-ease);
  will-change: transform;
}

/* SVG-Cursor-Arrow: Width/Height mit !important, da globale .v4 svg-Regel
   max-width: 100% setzt und Parent .v4-cursor 0px breit ist.
   Position wird via JS (left/top) gesetzt, Scale via CSS-Klassen (.is-link/.is-cta) */
.v4-cursor__arrow {
  width: 24px !important;
  height: 24px !important;
  max-width: none !important;
  display: block !important;
  color: var(--v4-white);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: opacity 300ms var(--v4-ease), transform 380ms var(--v4-ease);
  will-change: transform, left, top;
}

.v4-cursor__arrow line,
.v4-cursor__arrow polyline {
  stroke-width: 2.4;
  stroke: #4C5882;
}

/* HOVER STATE on link/button: ring expands mit Brand-Teal */
.v4-cursor.is-link .v4-cursor__ring {
  width: 64px;
  height: 64px;
  background: #F4F485;
  border-color: transparent;
}

.v4-cursor.is-link .v4-cursor__dot { opacity: 0; }

.v4-cursor.is-link .v4-cursor__arrow {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1);
  color: #4C5882;
}

/* On Pill-Style links (CTAs), ring becomes pill-shaped */
.v4-cursor.is-cta .v4-cursor__ring {
  width: 130px;
  height: 48px;
  border-radius: 999px;
  background: var(--v4-accent-deep);
  border-color: var(--v4-accent-deep);
}

.v4-cursor.is-cta .v4-cursor__arrow { opacity: 1 !important; transform: translate(-50%, -50%) scale(1); }

/* On dark sections, invert color */
.v4 [data-theme="dark"] .v4-cursor__ring,
.v4-cursor.on-dark .v4-cursor__ring {
  border-color: #F4F485;
  border-width: 2px;
}
.v4 [data-theme="dark"] .v4-cursor__dot,
.v4-cursor.on-dark .v4-cursor__dot {
  background: #F4F485;
}
.v4-cursor.on-dark.is-link .v4-cursor__ring {
  background: #F4F485;
  border-color: transparent;
}
.v4-cursor.on-dark.is-link .v4-cursor__arrow { color: #4C5882; }

/* Mobile/Touch: hide custom cursor */
@media (hover: none), (pointer: coarse) {
  .v4-cursor { display: none; }
  .v4 body { cursor: auto; }
}

/* =========================================================
   PLAY-BUTTONS (Wong + Final) — angeglichen (Andreas 2026-06-05)
   +30% groesser (104px), leichter Puls, Icon #BDD0E2 mit runden
   Dreieck-Ecken. Final uebernimmt das Aussehen des Wong-Buttons.
   ========================================================= */
.v4 .v4-cine__play-btn { width: 83px; height: 83px; }
.v4 .v4-cine__play-icon { width: 34px; height: 34px; color: #4C5882; }
.v4 .v4-final__play { width: 83px; height: 83px; }
.v4 .v4-final__play svg { width: 34px; height: 34px; color: #4C5882; margin-left: 4px; }
.v4 .v4-cine__play-icon path,
.v4 .v4-final__play svg path {
  stroke: currentColor;
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.v4 .v4-cine__play-circle,
.v4 .v4-final__play { position: absolute; background: linear-gradient(135deg, #F4F485 0%, #FFFBD6 100%); }
.v4 .v4-cine__play-circle::after,
.v4 .v4-final__play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: v4-play-pulse 2s var(--v4-ease) infinite;
}
@keyframes v4-play-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(244, 244, 133, 0.8); }
  70%  { box-shadow: 0 0 0 26px rgba(244, 244, 133, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 244, 133, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .v4 .v4-cine__play-circle::after,
  .v4 .v4-final__play::after { animation: none; }
}

/* =========================================================
   CINEMATIC-HERO-SECTION
   "Ein Partner namens Zukunft." mit scroll-getriggerter
   Choreografie und Video-Reveal in der Mitte
   ========================================================= */

.v4-cine {
  position: relative;
  height: 220vh;          /* Scroll-Raum: 100vh sticky + 120vh scroll */
  background: var(--v4-white);
}

.v4-cine__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  --progress: 0;
}

.v4-cine__atmo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 30% 30%, var(--v4-healthcare) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 70% 70%, var(--v4-software) 0%, transparent 60%);
  opacity: 0.4;
}

.v4-cine__inner {
  position: relative;
  width: 100%;
  max-width: 1600px;
  padding: 0 4vw;
  z-index: 1;
}

.v4-cine__headline {
  position: relative;
  font-family: var(--v4-font);
  font-size: clamp(56px, 13vw, 200px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--v4-ink-900);
  margin: 0;
}

.v4-cine__row {
  display: flex;
  gap: 0.25em;
  align-items: baseline;
  position: relative;
  white-space: nowrap;
}

.v4-cine__row--row1 {}
.v4-cine__row--row2 {
  padding-left: 28%;
}
.v4-cine__row--row3 {}

.v4-cine__word {
  display: inline-block;
  transition: transform 80ms linear;
  will-change: transform;
}

/* Words shifted by --progress (0..1) — weit genug, dass das 72vw Video nicht ueberdeckt wird */
.v4-cine__word--shift-l {
  transform: translateX(calc(-44vw * var(--progress, 0)));
}

.v4-cine__word--shift-r {
  transform: translateX(calc(44vw * var(--progress, 0)));
}

.v4-cine__accent {
  background: linear-gradient(120deg, #F4F485 0%, #FFFFAF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* VIDEO ELEMENT — zentral, scaled von 0.25 zu 1, max 72vw / 1200px */
.v4-cine__video-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(72vw, 1200px);
  aspect-ratio: 16/10;
  border-radius: 28px;
  overflow: hidden;
  background: var(--v4-ink-900);
  pointer-events: auto;
  cursor: pointer;
  box-shadow:
    0 32px 80px rgba(15, 23, 42, 0.22),
    0 8px 24px rgba(15, 23, 42, 0.10);
  transform: translate(-50%, -50%) scale(calc(0.25 + 0.75 * var(--progress, 0)));
  opacity: var(--progress, 0);
  transition: transform 80ms linear, opacity 80ms linear, box-shadow 400ms var(--v4-ease);
  will-change: transform, opacity;
  z-index: 2;
}

.v4-cine__video-wrap:hover {
  box-shadow:
    0 40px 100px rgba(15, 23, 42, 0.32),
    0 8px 24px rgba(15, 23, 42, 0.10);
}

@media (max-width: 760px) {
  .v4-cine__video-wrap {
    width: min(86vw, 600px);
    border-radius: 22px;
  }
}

.v4-cine__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v4-cine__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.v4-cine__play-circle {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244,244,133,0.9) 0%, rgba(255,255,175,0.9) 100%);
  border-radius: 50%;
  transition: transform 300ms var(--v4-ease), background 200ms var(--v4-ease);
}

.v4-cine__video-wrap:hover .v4-cine__play-circle {
  transform: scale(1.1);
  background: rgba(255,255,175,0.9);
}

.v4-cine__play-icon {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  color: #fff;
  margin-left: 4px;
}

/* Rotating text around play-button */
.v4-cine__rotate {
  display: none;
}

.v4-cine__rotate svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.v4-cine__rotate text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.20em;
  fill: var(--v4-white);
  text-transform: uppercase;
}

@keyframes v4-rotate {
  to { transform: rotate(360deg); }
}

/* Sub-text under headline */
.v4-cine__sub {
  margin-top: clamp(16px, 2vw, 32px);
  font-size: clamp(14px, 1.2vw, 18px);
  color: var(--v4-ink-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  opacity: calc(1 - var(--progress, 0));
  transition: opacity 200ms var(--v4-ease);
}

@media (max-width: 760px) {
  .v4-cine { height: 200vh; }
  .v4-cine__row--row2 { padding-left: 20%; }
  .v4-cine__play-btn { width: 64px; height: 64px; }
  /* video-wrap width handled in main rule */
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .v4-marquee__track { animation: none; }
  .v4-cine__rotate { animation: none; }
  .v4-cine__sticky { --progress: 1; }
}

/* Skip-Link / Screen-Reader-Text: visuell ausgeblendet, nur bei Tastatur-Fokus sichtbar (A11y) */
.screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
}
.v4-skip-link:focus,
.screen-reader-text:focus {
  background: #fff !important;
  clip: auto !important;
  clip-path: none !important;
  color: #0f1923 !important;
  display: block !important;
  height: auto !important;
  width: auto !important;
  left: 16px !important;
  top: 16px !important;
  padding: 12px 22px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: normal !important;
  text-decoration: none !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 18px rgba(15, 25, 35, 0.18) !important;
  z-index: 100000 !important;
}

/* ======================================================================
   FLOW SIGNATURE GRAPHICS (.fg-*) — animierte, sich beim Scrollen
   aufbauende Diagramme. Trigger = globaler Reveal-Hook (.is-visible).
   Markup via inc/flow-graphics.php (fa_flow_graphic()).
   ====================================================================== */
.fg { max-width: 640px !important; width: 100% !important; margin: 0 auto !important; }
.fg svg { width: 100% !important; height: auto !important; overflow: visible !important; display: block !important; font-family: inherit !important; }

/* Grundzustände (vor Reveal) */
.fg__line { fill: none !important; stroke: #BDD0E2 !important; stroke-width: 2.4 !important; stroke-linecap: round !important; stroke-dasharray: 1 !important; stroke-dashoffset: 1 !important; }
.fg__line--rail { stroke: #e3d24a !important; stroke-width: 3 !important; opacity: .5 !important; }
.fg__line--clean { stroke: #e3d24a !important; stroke-width: 3.2 !important; }
.fg__line--chaos { stroke: #cdd6e0 !important; stroke-width: 2 !important; }
.fg__funnel { fill: none !important; stroke: #0f172a !important; stroke-width: 2.4 !important; stroke-linecap: round !important; stroke-linejoin: round !important; stroke-dasharray: 1 !important; stroke-dashoffset: 1 !important; opacity: .85 !important; }
.fg__node { fill: #F4F485 !important; stroke: #0f172a !important; stroke-width: 2 !important; opacity: 0; transform: scale(.3); transform-box: fill-box; transform-origin: center; }
.fg__node--lg { fill: #ffffff !important; stroke: #0f172a !important; stroke-width: 2.4 !important; }
.fg__node--sm { fill: #F4F485 !important; stroke: #0f172a !important; stroke-width: 1.6 !important; }
.fg__hub { fill: #F4F485 !important; stroke: #0f172a !important; stroke-width: 2.4 !important; opacity: 0; transform: scale(.3); transform-box: fill-box; transform-origin: center; }
.fg__hub-glow { fill: #FFFFAF !important; opacity: 0; }
.fg__hub-txt, .fg__node-num { font-weight: 700 !important; text-anchor: middle; fill: #0f172a !important; opacity: 0; }
.fg__hub-txt { font-size: 17px; }
.fg__node-num { font-size: 17px; }
.fg__label { font-size: 15px; font-weight: 600 !important; fill: #0f172a !important; opacity: 0; }
.fg__label--center { text-anchor: middle; }
.fg__cap { font-size: 13px; font-weight: 700 !important; fill: #0f172a !important; opacity: 0; letter-spacing: .06em; text-transform: uppercase; }
.fg__cap--muted { fill: #9aa7b4 !important; }

/* Reveal-Animationen */
@keyframes fg-draw { to { stroke-dashoffset: 0; } }
@keyframes fg-pop  { to { opacity: 1; transform: scale(1); } }
@keyframes fg-fade { to { opacity: 1; } }
@keyframes fg-glow { to { opacity: .5; } }
.fg.is-visible .fg__line   { animation: fg-draw 1.05s cubic-bezier(.62,.02,.2,1) forwards; animation-delay: var(--d, 0s); }
.fg.is-visible .fg__funnel { animation: fg-draw .7s cubic-bezier(.62,.02,.2,1) forwards; animation-delay: var(--d, 0s); }
.fg.is-visible .fg__node, .fg.is-visible .fg__hub { animation: fg-pop .55s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: var(--d, 0s); }
.fg.is-visible .fg__hub-glow { animation: fg-glow .8s ease forwards; animation-delay: var(--d, .7s); }
.fg.is-visible .fg__hub-txt, .fg.is-visible .fg__node-num, .fg.is-visible .fg__label, .fg.is-visible .fg__cap { animation: fg-fade .5s ease forwards; animation-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  .fg .fg__line, .fg .fg__funnel { stroke-dashoffset: 0 !important; }
  .fg .fg__node, .fg .fg__hub { opacity: 1 !important; transform: none !important; }
  .fg .fg__hub-glow { opacity: .5 !important; }
  .fg .fg__hub-txt, .fg .fg__node-num, .fg .fg__label, .fg .fg__cap { opacity: 1 !important; }
}

/* ======================================================================
   FLOW DESIGN-v5 — Abstrakte Icons (.fa-icn) + dunkle System-Infografik (.fg-system)
   ====================================================================== */
.fa-icn { display: inline-flex !important; width: 56px !important; height: 56px !important; align-items: center; justify-content: center; }
.fa-icn svg { width: 44px; height: 44px; overflow: visible; transition: transform .6s cubic-bezier(.6,.02,.2,1); }
.fa-icn__dot { transition: transform .6s cubic-bezier(.34,1.5,.6,1); }
.brt-value:hover .fa-icn svg { transform: rotate(-7deg) scale(1.06); }
.brt-value:hover .fa-icn__dot { transform: translate(2px,-2px); }

.v4-body .fg-system-wrap { background: #0f1f33 !important; }
.v4-body .fg-system-wrap .v4-eyebrow { color: #e3d24a !important; }
.v4-body .fg-system-wrap .v4-h-section, .v4-body .fg-system-wrap .v4-intro__title { color: #ffffff !important; }
.v4-body .fg-system-wrap .v4-intro__lead { color: rgba(255,255,255,.72) !important; }
.fg-system { max-width: 1000px; margin: 0 auto; }
.fg-system svg { width: 100% !important; height: auto !important; overflow: visible !important; font-family: inherit; }
.fg-system .ln { fill: none; stroke: #5b7287; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fg-system .ln-dash { stroke: #3f5163; stroke-dasharray: 5 6; }
.fg-system .bx rect { fill: #1b3047; stroke: rgba(255,255,255,.14); stroke-width: 1.5; }
.fg-system .bx text { fill: #eaf1f8; font-size: 15px; font-weight: 600; }
.fg-system .bx-o rect { fill: #14283c; }
.fg-system .bx, .fg-system .node, .fg-system .node2 { opacity: 0; transform: translateY(12px); }
.fg-system .n-glow { fill: #e3d24a; opacity: .18; }
.fg-system .n-core { fill: #F4F485; }
.fg-system .n-t { fill: #13233a; font-size: 21px; font-weight: 800; letter-spacing: .04em; }
.fg-system .n-sub { fill: rgba(255,255,255,.6); font-size: 13px; opacity: 0; }
.fg-system .node2 rect { fill: #e3d24a; }
.fg-system .s-t { fill: #13233a; font-size: 16px; font-weight: 700; }
.fg-system .s-sub { fill: #243a17; font-size: 12.5px; }
.fg-system .t-dash { fill: #7e93a6; font-size: 13px; font-weight: 600; opacity: 0; }
.fg-system.is-visible .ln { animation: fg-draw .7s ease forwards; animation-delay: var(--d,0s); }
.fg-system.is-visible .bx, .fg-system.is-visible .node, .fg-system.is-visible .node2 { animation: fgs-rise .5s cubic-bezier(.34,1.4,.6,1) forwards; animation-delay: var(--d,0s); }
.fg-system.is-visible .n-sub, .fg-system.is-visible .t-dash { animation: fg-fade .5s ease forwards; animation-delay: var(--d,0s); }
@keyframes fgs-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .fg-system .ln { stroke-dashoffset: 0; }
  .fg-system .bx, .fg-system .node, .fg-system .node2 { opacity: 1; transform: none; }
  .fg-system .n-sub, .fg-system .t-dash { opacity: 1; }
}


/* === Beispiel-/Blog-Slider (cp-ex) — global, von Content-Pipeline + Branchenseiten genutzt === */
.v4-body .cp-ex__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:0 0 4px;}
.v4-body .cp-ex__headtext{max-width:640px;}
.v4-body .cp-ex__nav{display:flex;gap:10px;flex:0 0 auto;}
.v4-body .cp-ex__btn{width:48px;height:48px;border-radius:999px;border:1px solid rgba(15,23,42,.16);background:#fff;color:#1c2742;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .25s ease,border-color .25s ease,transform .25s ease,opacity .25s ease;}
.v4-body .cp-ex__btn:hover{background:#F4F485;border-color:#F4F485;transform:translateY(-1px);}
.v4-body .cp-ex__btn svg{width:20px;height:20px;}
.v4-body .cp-ex__btn[disabled]{opacity:.35;cursor:default;}
.v4-body .cp-ex__btn[disabled]:hover{background:#fff;border-color:rgba(15,23,42,.16);transform:none;}
.v4-body .cp-ex__track{display:flex;gap:clamp(18px,2vw,28px);overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:clamp(30px,4vw,48px) clamp(24px,4vw,72px) 8px calc(50vw - 50%);margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);scroll-padding-left:calc(50vw - 50%);-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.v4-body .cp-ex__track::-webkit-scrollbar{display:none;}
.v4-body .cp-ex__card{flex:0 0 min(384px,84vw);scroll-snap-align:start;text-decoration:none;display:flex;flex-direction:column;}
.v4-body .cp-ex__track .cp-ex__card{opacity:0;transform:translateY(48px);transition:opacity .7s ease,transform .9s cubic-bezier(.16,1,.3,1);transition-delay:calc(var(--i,0)*90ms);will-change:opacity,transform;}
.v4-body .cp-ex__track.is-in .cp-ex__card{opacity:1;transform:none;}
@media(prefers-reduced-motion:reduce){.v4-body .cp-ex__card{opacity:1!important;transform:none!important;}}
.v4-body .cp-ex__img{aspect-ratio:1/1;border-radius:18px;overflow:hidden;background:#E9ECF3;box-shadow:0 30px 64px -46px rgba(15,23,42,.5);}
.v4-body .cp-ex__img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.16,1,.3,1);}
.v4-body .cp-ex__card:hover .cp-ex__img img{transform:scale(1.045);}
.v4-body .cp-ex__meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0 9px;}
.v4-body .cp-ex__cat{font-size:12px;font-weight:600;padding:5px 11px;border-radius:999px;background:#F1F3F9;color:#1c2742;}
.v4-body .cp-ex__date{font-size:13px;color:var(--v4-ink-500,#94a3b8);}
.v4-body .cp-ex__title{font-family:var(--v4-font,'Onest',sans-serif);font-size:clamp(18px,1.5vw,22px);font-weight:600;line-height:1.28;letter-spacing:-.015em;color:var(--v4-ink-900,#0f172a);margin:0;}
.v4-body .cp-ex__card:hover .cp-ex__title{color:#7E6A10;}
@media(max-width:600px){.v4-body .cp-ex__nav{display:none;}}


/* ===========================================================
   HERO-COLLAGE v3 — lebendiger Kachel-Cluster hinter dem Vordergrund-PNG
   Eine Kachel wird gross (Bild oder gelbe Verlaufsflaeche), verdraengt Nachbarn, dann wechselt's.
   Konkrete JS-Transforms (translate + scale) -> kein var()-Transition-Freeze. JS: setupHeroCollage()
   =========================================================== */
.v4-body .cp-collage{position:absolute;inset:0;z-index:1;overflow:visible;pointer-events:none;--clscale:1;}
.v4-body .cp-cl-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;}
.v4-body .cp-cl-line{fill:none;stroke:#F4F485;stroke-width:2;stroke-linecap:round;stroke-dasharray:2 7;opacity:0;vector-effect:non-scaling-stroke;animation:cpClLineIn 1.4s ease 1s forwards,cpClDash 16s linear 1s infinite;}
@keyframes cpClLineIn{to{opacity:.5;}}
@keyframes cpClDash{to{stroke-dashoffset:-72;}}

.v4-body .cp-cl-tile{position:absolute;width:calc(var(--w,150px) * var(--clscale));opacity:0;transform:translate(-50%,-50%) scale(.001);transition:transform 1.1s cubic-bezier(.16,1,.3,1),opacity .8s ease;will-change:transform,opacity;}
.v4-body .cp-cl-card{position:relative;width:100%;border-radius:18px;background:#fff;box-shadow:0 26px 56px -28px rgba(15,23,42,.5),0 5px 16px -8px rgba(15,23,42,.2);padding:clamp(12px,1vw,16px) clamp(13px,1.1vw,17px);animation:cpClFloat var(--fd,7s) ease-in-out infinite;animation-delay:var(--ad,0s);}
@keyframes cpClFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-5px);}}

.v4-body .cp-cl--chart .cp-cl-stat{font-family:var(--v4-font,'Onest',sans-serif);font-weight:700;font-size:clamp(28px,2.4vw,38px);line-height:1;letter-spacing:-.02em;color:#0f172a;}
.v4-body .cp-cl-spark{display:block;width:100%;height:clamp(34px,3vw,46px);margin:8px 0 6px;}
.v4-body .cp-cl-cap{font-size:clamp(12px,1vw,14px);font-weight:600;color:#64748b;}
.v4-body .cp-cl--note .cp-cl-ava{display:flex;margin-bottom:11px;}
.v4-body .cp-cl-ava span{width:clamp(24px,2vw,30px);height:clamp(24px,2vw,30px);border-radius:50%;border:2px solid #fff;margin-left:-8px;}
.v4-body .cp-cl-ava span:first-child{margin-left:0;}
.v4-body .cp-cl-ava span:nth-child(1){background:#0f172a;}
.v4-body .cp-cl-ava span:nth-child(2){background:#F4F485;}
.v4-body .cp-cl-ava span:nth-child(3){background:#94a3b8;}
.v4-body .cp-cl-ava span:nth-child(4){background:#FFFFAF;}
.v4-body .cp-cl-note{font-family:var(--v4-font,'Onest',sans-serif);font-weight:600;font-size:clamp(15px,1.2vw,18px);line-height:1.28;letter-spacing:-.01em;color:#0f172a;}
.v4-body .cp-cl-card--img{padding:0;overflow:hidden;aspect-ratio:4/3;background:#eef1f6;}
.v4-body .cp-cl-card--img img{display:block;width:100%;height:100%;object-fit:cover;}
.v4-body .cp-cl-card--grad{padding:0;aspect-ratio:4/3;background:linear-gradient(135deg,#FFFFAF 0%,#F4F485 100%);box-shadow:0 28px 60px -28px rgba(138,122,18,.55),0 5px 16px -8px rgba(138,122,18,.28);}
.v4-body .cp-cl-card--blue{background:#eaf2fb;padding:0;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;}
.v4-body .cp-cl-card--blue svg{width:52%;height:52%;}

@media(max-width:1240px){.v4-body .cp-collage{--clscale:.78;}}
@media(max-width:640px){.v4-body .cp-collage{--clscale:.55;}.v4-body .cp-cl--icon{display:none;}}
@media(prefers-reduced-motion:reduce){.v4-body .cp-cl-card,.v4-body .cp-cl-line{animation:none !important;}}

/* === Nach-oben-Pfeil (erscheint am Seitenende, unten rechts) === */
.v4-totop{position:fixed;right:clamp(18px,2.4vw,32px);bottom:clamp(18px,2.4vw,32px);z-index:900;width:54px;height:54px;padding:0;border:none;border-radius:50%;background:#0f172a;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 18px 38px -16px rgba(15,23,42,.55);opacity:0;visibility:hidden;transform:translateY(16px);transition:opacity .35s ease,transform .35s cubic-bezier(.22,1,.36,1),visibility .35s,background .25s ease;}
.v4-totop.is-on{opacity:1;visibility:visible;transform:translateY(0);}
.v4-totop:hover{background:#1c2742;transform:translateY(-3px);}
.v4-totop:focus-visible{outline:3px solid #F4F485;outline-offset:3px;}
.v4-totop svg{width:24px;height:24px;display:block;}
@media(max-width:600px){.v4-totop{width:48px;height:48px;}.v4-totop svg{width:22px;height:22px;}}
@media(prefers-reduced-motion:reduce){.v4-totop{transition:opacity .2s ease,visibility .2s;transform:none;}.v4-totop.is-on{transform:none;}.v4-totop:hover{transform:none;}}


/* ============================================================
   ENGPÄSSE TESTIMONIAL-SHOWCASE (.ap-engpass / .ti-*) — ZENTRAL (ab v1.0.79)
   Desktop: gelbe quadratische Fläche, 6 Personas, immer 2 sichtbar, Eck-Pillen.
   Mobile: EIN Testimonial, kompakt, wechselt rhythmisch.
   ============================================================ */
.v4-body .ap-engpass .ap-eg2{display:grid;grid-template-columns:1fr;gap:40px;}.v4-body .ap-engpass__copy .cp-eyebrow{text-align:left;}.v4-body .ap-engpass__copy h2{text-align:left;margin:0 0 24px;}.v4-body .ap-engpass__copy p{font-size:clamp(15px,1.15vw,16.5px);line-height:1.62;color:var(--v4-ink-700,#334155);margin:0 0 18px;text-align:left;}.v4-body .ap-engpass__copy p:last-child{margin-bottom:0;}.v4-body .ap-engpass__copy p b{display:block;color:var(--v4-ink-900,#0f172a);font-weight:700;margin:0 0 5px;}.v4-body .ti-stage{position:relative;}.v4-body .ti-flow{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;border-radius:inherit;pointer-events:none;}.v4-body .ti-card{position:absolute;}.v4-body .ti-photo{border-radius:50%;object-fit:cover;border:5px solid #fff;box-shadow:0 22px 48px -16px rgba(15,23,42,.5);display:flex;align-items:center;justify-content:center;overflow:hidden;font-family:var(--v4-font,'Onest',sans-serif);font-weight:800;font-size:clamp(34px,4.5vw,54px);color:#fff;position:relative;z-index:1;}.v4-body .ti-quote{position:absolute;z-index:4;width:max-content;max-width:230px;background:#fff;border-radius:22px;padding:11px 20px;box-shadow:0 18px 36px -14px rgba(15,23,42,.45);}.v4-body .ti-quote b{display:block;font-family:'Arvo',Georgia,serif;font-weight:700;font-size:14.5px;line-height:1.24;color:#1c2742;letter-spacing:-.01em;}.v4-body .ti-quote i{display:block;font-family:var(--v4-font,'Onest',sans-serif);font-style:normal;font-size:11px;font-weight:600;color:#64748b;margin-top:5px;}.v4-body .ti-stat{position:absolute;z-index:5;display:inline-flex;align-items:center;gap:9px;border-radius:999px;padding:6px 16px 6px 6px;box-shadow:0 16px 32px -14px rgba(15,23,42,.5);white-space:nowrap;}.v4-body .ti-stat__ic{width:30px;height:30px;border-radius:50%;flex:0 0 auto;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.28);}.v4-body .ti-stat__ic svg{width:16px;height:16px;}.v4-body .ti-stat__tx{display:flex;flex-direction:column;line-height:1.04;}.v4-body .ti-stat__tx b{font-family:var(--v4-font,'Onest',sans-serif);font-weight:800;font-size:15.5px;letter-spacing:-.01em;}.v4-body .ti-stat__tx i{font-style:normal;font-size:9.5px;font-weight:600;opacity:.92;text-transform:uppercase;letter-spacing:.04em;}.v4-body .ti-stat--green{background:linear-gradient(135deg,#28b487,#39cf86);color:#fff;}.v4-body .ti-stat--green svg{stroke:#fff;}.v4-body .ti-stat--pink{background:linear-gradient(135deg,#ec4899,#fb5fa3);color:#fff;}.v4-body .ti-stat--pink svg{stroke:#fff;}.v4-body .ti-stat--yellow{background:linear-gradient(135deg,#F4F485,#FFE36B);color:#1c2742;}.v4-body .ti-stat--yellow .ti-stat__ic{background:rgba(28,39,84,.12);}.v4-body .ti-stat--yellow svg{stroke:#1c2742;}@keyframes tiEnter{0%{opacity:0;filter:blur(13px);transform:translateY(42px) scale(.92);}3.5%{opacity:1;filter:blur(0);transform:translateY(0) scale(1);}30%{opacity:1;filter:blur(0);transform:translateY(0) scale(1);}33.5%{opacity:0;filter:blur(7px);transform:translateY(-18px) scale(.98);}100%{opacity:0;filter:blur(7px);transform:translateY(-18px) scale(.98);}}@keyframes tiSolo{0%{opacity:0;filter:blur(12px);transform:translateY(18px) scale(.96);}5%{opacity:1;filter:blur(0);transform:translateY(0) scale(1);}14%{opacity:1;filter:blur(0);transform:translateY(0) scale(1);}18%{opacity:0;filter:blur(8px);transform:translateY(-14px) scale(.98);}100%{opacity:0;filter:blur(8px);transform:translateY(-14px) scale(.98);}}.v4-body .ti-1{top:4%;left:3%;width:215px;height:215px;--d:0s;}.v4-body .ti-1 .ti-photo{width:215px;height:215px;}.v4-body .ti-1 .ti-quote{left:calc(100% - 40px);top:calc(100% - 40px);}.v4-body .ti-1 .ti-stat{right:calc(100% - 32px);bottom:calc(100% - 32px);}.v4-body .ti-2{top:50%;left:44%;width:195px;height:195px;--d:-3s;}.v4-body .ti-2 .ti-photo{width:195px;height:195px;}.v4-body .ti-2 .ti-quote{left:calc(100% - 40px);bottom:calc(100% - 40px);}.v4-body .ti-3{top:5%;left:45%;width:205px;height:205px;--d:-6s;}.v4-body .ti-3 .ti-photo{width:205px;height:205px;}.v4-body .ti-3 .ti-quote{right:calc(100% - 40px);top:calc(100% - 40px);}.v4-body .ti-3 .ti-stat{left:calc(100% - 32px);bottom:calc(100% - 32px);}.v4-body .ti-4{top:50%;left:2%;width:225px;height:225px;--d:-9s;}.v4-body .ti-4 .ti-photo{width:225px;height:225px;}.v4-body .ti-4 .ti-quote{left:calc(100% - 40px);bottom:calc(100% - 40px);}.v4-body .ti-4 .ti-stat{right:calc(100% - 32px);top:calc(100% - 32px);}.v4-body .ti-5{top:5%;left:26%;width:195px;height:195px;--d:-12s;}.v4-body .ti-5 .ti-photo{width:195px;height:195px;}.v4-body .ti-5 .ti-quote{left:calc(100% - 40px);top:calc(100% - 40px);}.v4-body .ti-6{top:50%;left:26%;width:200px;height:200px;--d:-15s;}.v4-body .ti-6 .ti-photo{width:200px;height:200px;}.v4-body .ti-6 .ti-quote{left:calc(100% - 40px);bottom:calc(100% - 40px);}@media(min-width:1100px){.v4-body .ap-engpass .ap-eg2{grid-template-columns:0.95fr 1.05fr;grid-template-areas:"stage copy";gap:clamp(32px,5vw,72px);align-items:center;}.v4-body .ti-stage{grid-area:stage;aspect-ratio:1;background:#FCFBDD;border-radius:clamp(28px,3vw,40px);isolation:isolate;}.v4-body .ap-engpass__copy{grid-area:copy;}.v4-body .ti-photo,.v4-body .ti-quote,.v4-body .ti-stat{opacity:0;will-change:opacity,transform,filter;animation-name:tiEnter;animation-duration:18s;animation-timing-function:cubic-bezier(.22,1,.36,1);animation-iteration-count:infinite;animation-fill-mode:both;}.v4-body .ti-1 .ti-photo{animation-delay:0.00s;}.v4-body .ti-1 .ti-quote{animation-delay:0.30s;}.v4-body .ti-1 .ti-stat{animation-delay:0.60s;}.v4-body .ti-2 .ti-photo{animation-delay:-3.00s;}.v4-body .ti-2 .ti-quote{animation-delay:-2.70s;}.v4-body .ti-2 .ti-stat{animation-delay:-2.40s;}.v4-body .ti-3 .ti-photo{animation-delay:-6.00s;}.v4-body .ti-3 .ti-quote{animation-delay:-5.70s;}.v4-body .ti-3 .ti-stat{animation-delay:-5.40s;}.v4-body .ti-4 .ti-photo{animation-delay:-9.00s;}.v4-body .ti-4 .ti-quote{animation-delay:-8.70s;}.v4-body .ti-4 .ti-stat{animation-delay:-8.40s;}.v4-body .ti-5 .ti-photo{animation-delay:-12.00s;}.v4-body .ti-5 .ti-quote{animation-delay:-11.70s;}.v4-body .ti-5 .ti-stat{animation-delay:-11.40s;}.v4-body .ti-6 .ti-photo{animation-delay:-15.00s;}.v4-body .ti-6 .ti-quote{animation-delay:-14.70s;}.v4-body .ti-6 .ti-stat{animation-delay:-14.40s;}}@media(max-width:1099px){.v4-body .ap-engpass .ap-eg2{gap:30px;}.v4-body .ti-stage{min-height:264px;background:none;border-radius:0;overflow:visible;}.v4-body .ti-flow{display:none;}.v4-body .ti-card{position:absolute;inset:0!important;width:auto!important;height:auto!important;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px;opacity:0;will-change:opacity,transform,filter;animation-name:tiSolo;animation-duration:18s;animation-timing-function:ease;animation-iteration-count:infinite;animation-fill-mode:both;animation-delay:var(--d);}.v4-body .ti-photo{position:relative!important;width:118px!important;height:118px!important;font-size:40px!important;opacity:1!important;}.v4-body .ti-quote{position:relative!important;inset:auto!important;opacity:1!important;margin:-16px 0 0;max-width:86%;text-align:center;}.v4-body .ti-quote b{font-size:15px;}.v4-body .ti-quote i{font-size:11.5px;}.v4-body .ti-stat{position:relative!important;inset:auto!important;opacity:1!important;margin:11px 0 0;}}@media(prefers-reduced-motion:reduce){.v4-body .ti-card{animation:none!important;}.v4-body .ti-photo,.v4-body .ti-quote,.v4-body .ti-stat{animation:none!important;filter:none!important;transform:none!important;opacity:0!important;}.v4-body .ti-1{opacity:1!important;}.v4-body .ti-1 .ti-photo,.v4-body .ti-1 .ti-quote,.v4-body .ti-1 .ti-stat{opacity:1!important;}.v4-body .ti-2,.v4-body .ti-3,.v4-body .ti-4,.v4-body .ti-5,.v4-body .ti-6{display:none!important;}}

/* A11y: Mindest-Klickfläche 24px für Footer-Links (Lighthouse target-size) */
.v4-footer__col h4 a{display:inline-block;padding:5px 0;margin:-5px 0;}
.v4-footer__col li a{display:inline-block;padding:4px 0;margin:-4px 0;}
.v4-footer__bottom__links a{display:inline-block;padding:5px 0;margin:-5px 0;}

/* A11y-Kontrast Footer: Grautexte von ink-400 (2,45:1) auf 4,8:1 anheben */
.v4-body .v4-footer__bottom span,.v4-body .v4-footer__bottom__links a,.v4-body .v4-footer__brand p,.v4-body .v4-footer__col h4{color:#64748b;}

/* ===== Share-Leiste (Ratgeber-Landings + Blog; DSGVO: reine Links, keine Tracker) ===== */
.fa-share{max-width:var(--v4-cw,1240px);margin:0 auto;padding:clamp(26px,4vw,44px) var(--v4-px,24px);display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;}
.fa-share__label{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#64748b;}
.fa-share__btns{display:flex;gap:10px;flex-wrap:wrap;}
.fa-share__btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1px solid #e2e8f0;background:#fff;color:#0f172a;cursor:pointer;padding:0;transition:background .2s,border-color .2s,transform .2s;}
.fa-share__btn:hover,.fa-share__btn:focus-visible{background:linear-gradient(135deg,#F4F485,#FFFBD6);border-color:rgba(126,106,16,.4);transform:translateY(-2px);color:#0f172a;}
.fa-share__btn svg{width:20px;height:20px;display:block;}
.fa-share__btn.is-copied{background:#F4F485;border-color:#7E6A10;}
.fa-share[data-pos="end"]{padding-bottom:clamp(40px,6vw,64px);}

/* ===== Social-Media-Links (Footer, reine <a>-Links, self-hosted SVG, DSGVO) =====
   Flächig schwarz mit weißen Icons, größer (Andreas 2026-07-06). */
.fa-social{display:flex;gap:12px;list-style:none;margin:22px 0 0;padding:0;flex-wrap:wrap;}
.fa-social__btn{display:inline-flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;border:none;background:rgba(244,244,133,.5);color:#0a0c10;text-decoration:none;transition:background .2s,transform .2s;}
.fa-social__btn svg{width:26px;height:26px;display:block;}
.fa-social__btn:hover,.fa-social__btn:focus-visible{background:#F4F485;transform:translateY(-3px);}

/* =====„Das Wichtigste in Kürze" (Editorial-Einstieg nach dem Hero der Ratgeber-Landings,
   ruhige große Typo ohne Unterlegung, Duktus wie die Photovoltaik-Intro-Absätze) ===== */
.fa-tldr{max-width:var(--v4-cw,1240px);margin:0 auto;padding:clamp(44px,6vw,76px) var(--v4-px,24px) 0;}
.fa-tldr__inner{max-width:900px;}
.fa-tldr__label{margin:0 0 18px;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#64748b;}
.fa-tldr__text{margin:0;font-size:clamp(19px,2vw,26px);line-height:1.62;color:#1c2742;letter-spacing:-.012em;}
