/* CLARIQUE Spec 004: Dandy-Niveau. Liegt über style.css und greift nur auf Seiten mit <body class="d4">.
   Prinzipien: große dünne Headlines, gedimmter Fließtext, viel Luft, flache Karten, dunkle Bühne in Burgund-Schwarz,
   eine Signalfarbe (Sand). Keine Versalien, Buttons 6 px, keine Punkte vor Labels, keine CSS-Deko-Glows. */

.d4 {
  --canvas: #170a0d;
  --canvas-2: #1f0d10;
  --brand-ink: #2a0d10;
  --ink-70: rgba(26, 10, 12, .70);
  --ink-50: rgba(26, 10, 12, .50);
  --white-80: rgba(255, 255, 255, .80);
  --white-60: rgba(255, 255, 255, .62);
  --white-20: rgba(255, 255, 255, .22);
  --pop: #e8d9c3;
  --pop-ink: #2a0d10;
  --stat-dark: #f0c9c0;
  --tile: #f2eeea;
  --card: #faf7f4;
  --card-line: #efe9e4;
  --hair: #e6e1dc;
  --rose: #f6e9e6;
  --t-hero: clamp(2.7rem, 6.6vw, 6rem);
  --t-h2: clamp(2.2rem, 4.5vw, 4rem);
  --t-item: clamp(1.7rem, 3.2vw, 3rem);
  --t-stat: clamp(2.6rem, 4.6vw, 4rem);
  --t-faq: clamp(1.25rem, 2.2vw, 1.9rem);
  --sp: clamp(3.5rem, 7vw, 6rem);
  --wide: 1320px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  background: #fff;
  color: var(--ink-70);
}
.d4 h1, .d4 h2, .d4 h3 { font-weight: 400; letter-spacing: -0.03em; color: var(--brand-ink); }
.d4 .container { max-width: var(--wide); }
.d4 p { color: var(--ink-70); }

/* ---------- Buttons ---------- */
.d4 .btn { height: 48px; padding: 0 22px; border-radius: 6px; font-weight: 500; font-size: .95rem; letter-spacing: 0; transform: none !important; }
.d4 .btn-pop { background: var(--pop); color: var(--pop-ink); }
.d4 .btn-pop:hover { background: #fff; }
.d4 .btn-dark { background: var(--brand-deep); color: #fff; }
.d4 .btn-dark:hover { background: var(--brand-dark); }
.d4 .btn-line-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.d4 .btn-line-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.d4 .btn-line { background: transparent; color: var(--brand-ink); border: 1px solid rgba(42, 13, 16, .35); }
.d4 .btn-line:hover { border-color: var(--brand-ink); }
.d4 .tlink { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-ink); font-weight: 500; border-bottom: 1px solid var(--brand); padding-bottom: 2px; }
.d4 .tlink svg { width: 16px; height: 16px; transition: transform .3s ease-out; }
.d4 .tlink:hover svg { transform: translateX(5px); }
.d4 .on-dark .tlink { color: #fff; border-color: var(--pop); }

/* ---------- Navigation dunkel ---------- */
.d4 .nav { background: var(--canvas); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.d4 .nav.scrolled { box-shadow: none; border-bottom-color: rgba(255, 255, 255, .10); }
.d4 .nav-links a { color: rgba(255, 255, 255, .82); font-weight: 400; }
.d4 .nav-links a:hover, .d4 .nav-links a.active { color: #fff; }
.d4 .nav-toggle span { background: #fff; }
.d4 .nav-cta { height: 40px; background: var(--pop); color: var(--pop-ink); }
.d4 .nav-cta:hover { background: #fff; }
.d4 .lang-switch button, .d4 .lang-switch .lang-current { color: rgba(255, 255, 255, .82); }
@media (max-width: 900px) {
  .d4 .nav-links { background: var(--canvas); }
  .d4 .nav-links a { color: #fff; border-color: rgba(255, 255, 255, .08); }
}

/* ---------- Section-Kopf ---------- */
.d4 .sec { padding: var(--sp) 0; }
.d4 .sec.tint { background: var(--band); }
.d4 .shead { max-width: 900px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.d4 .shead.left { margin-left: 0; text-align: left; }
.d4 .eyebrow { display: block; font-size: .9rem; font-weight: 500; color: var(--brand); margin-bottom: 1rem; letter-spacing: 0; }
.d4 .shead h2 { font-size: var(--t-h2); line-height: 1.08; }
.d4 .shead p { margin-top: 1.4rem; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.55; max-width: 720px; margin-left: auto; margin-right: auto; }
.d4 .shead.left p { margin-left: 0; }

/* ---------- Hero dunkel mit überhängendem Videorahmen ---------- */
.d4 .d4-hero { background: var(--canvas); padding-top: var(--nav-height); margin-bottom: clamp(9rem, 22vw, 21rem); position: relative; }
.d4 .d4-hero-bg { position: absolute; inset: 0; background-image: url('../img/d4/hero-glow.webp'); background-size: cover; background-position: 50% 100%; pointer-events: none; }
.d4 .d4-hero-text { position: relative; max-width: 860px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 5.5rem) 20px clamp(2.5rem, 5vw, 4rem); text-align: center; }
.d4 .d4-hero .eyebrow { color: var(--stat-dark); }
.d4 .d4-hero h1 { font-size: var(--t-hero); line-height: 1.0; color: #fff; }
.d4 .d4-hero .lead { margin: 1.8rem auto 0; max-width: 640px; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--white-80); }
.d4 .d4-hero .entity { margin: 1.1rem auto 0; max-width: 680px; font-size: .9rem; line-height: 1.55; color: var(--white-60); }
.d4 .d4-hero .hero-actions { margin-top: 2.2rem; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.d4 .d4-hero .hero-note { margin-top: 1.2rem; font-size: .85rem; color: var(--white-60); }
.d4 .d4-frame { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 20px; transform: translateY(clamp(6rem, 18vw, 17rem)); margin-top: calc(-1 * clamp(6rem, 18vw, 17rem)); }
.d4 .d4-frame-in { border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--canvas-2);
  box-shadow: 0 13px 28px rgba(0, 0, 0, .10), 0 24px 24px rgba(0, 0, 0, .09); }
.d4 .d4-frame video, .d4 .d4-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d4 .d4-hero-spacer { height: clamp(6rem, 18vw, 17rem); }

/* ---------- Zahlenband ---------- */
.d4 .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--hair); }
.d4 .stat { padding: 2rem 1.5rem 0 0; border-right: 1px solid var(--hair); margin-right: 1.5rem; }
.d4 .stat:last-child { border-right: 0; margin-right: 0; }
.d4 .stat-note { font-size: .95rem; color: var(--ink-70); min-height: 2.8em; display: block; }
.d4 .stat strong { display: block; margin-top: .6rem; font-size: var(--t-stat); font-weight: 400; letter-spacing: -0.03em; line-height: 1; color: var(--brand-ink); }
.d4 .stats-src { margin-top: 2rem; font-size: .85rem; color: var(--ink-50); }
@media (max-width: 900px) {
  .d4 .stats { grid-template-columns: 1fr 1fr; }
  .d4 .stat { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--hair); padding: 1.4rem 1rem 1.4rem 0; }
  .d4 .stat { min-width: 0; }
  .d4 .stat strong { font-size: 2.4rem; }
}
@media (max-width: 560px) {
  .d4 .stats { grid-template-columns: 1fr; }
  .d4 .stat { display: flex; flex-direction: column-reverse; padding: 1.2rem 0; }
  .d4 .stat strong { margin: 0 0 .35rem; font-size: 2.6rem; }
  .d4 .stat-note { min-height: 0; }
}

/* ---------- Sticky-Switchback ---------- */
.d4 .swb-grid { display: flex; gap: clamp(2rem, 5vw, 4.5rem); align-items: flex-start; }
.d4 .swb-list { flex: 0 0 min(500px, 42%); list-style: none; margin: 0; padding: 0; }
.d4 .swb-item { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: 2rem 0; }
.d4 .swb-item h3 { font-size: var(--t-item); line-height: 1.08; max-width: 460px; }
.d4 .swb-item p { font-size: 1.05rem; line-height: 1.6; max-width: 460px; }
.d4 .swb-item .swb-m { display: none; }
.d4 .swb-float { flex: 1; position: sticky; top: calc(50% - 280px); height: 560px; }
.d4 .swb-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; opacity: 0; transition: opacity .5s var(--ease-out); }
.d4 .swb-media.is-on { opacity: 1; }
@media (max-width: 991px) {
  .d4 .swb-float { display: none; }
  .d4 .swb-list { flex: 1; }
  .d4 .swb-item { min-height: 0; }
  .d4 .swb-item .swb-m { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin-top: .8rem; }
}

/* ---------- Produktkacheln ---------- */
.d4 .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem 1.5rem; }
.d4 .tile-pic { aspect-ratio: 1 / 1; background: var(--tile); border-radius: 4px; overflow: hidden; margin-bottom: 1.3rem; }
.d4 .tile-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.d4 .tile:hover .tile-pic img { transform: scale(1.03); }
.d4 .tile h3 { font-size: 1.5rem; line-height: 1.25; }
.d4 .tile .tile-price { display: block; margin-top: .35rem; font-size: 1.05rem; color: var(--brand); font-weight: 500; }
.d4 .tile p { margin-top: .5rem; font-size: .98rem; line-height: 1.55; }
.d4 .tiles-cta { margin-top: 3rem; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 1100px) { .d4 .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .d4 .tiles { grid-template-columns: 1fr; gap: 2.4rem; } }

/* ---------- Dunkles Panel (Scanner) ---------- */
.d4 .panel { background: var(--canvas); color: #fff; position: relative; overflow: hidden; }
.d4 .panel-in { position: relative; z-index: 2; max-width: var(--wide); margin: 0 auto; padding: clamp(4.5rem, 9vw, 7.5rem) 20px; display: grid; grid-template-columns: minmax(0, 620px) 1fr; }
.d4 .panel .eyebrow { color: var(--stat-dark); }
.d4 .panel h2 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 5.2rem); line-height: 1.0; }
.d4 .panel p { color: var(--white-80); font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; margin-top: 1.6rem; max-width: 560px; }
.d4 .panel .hero-actions { margin-top: 2.2rem; display: flex; gap: 12px; flex-wrap: wrap; }
.d4 .panel-img { position: absolute; right: 0; top: 0; width: 58%; height: 100%; }
.d4 .panel-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.d4 .panel-img::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 260px; background: linear-gradient(to right, var(--canvas), rgba(23, 10, 13, 0)); z-index: 1; }
@media (max-width: 900px) {
  .d4 .panel-in { grid-template-columns: 1fr; padding-bottom: 0; }
  .d4 .panel-img { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .d4 .panel-img::before { inset: 0 0 auto 0; width: auto; height: 120px; background: linear-gradient(to bottom, var(--canvas), rgba(23, 10, 13, 0)); }
}

/* ---------- Zeitleiste (Ablauf) ---------- */
.d4 .tl { background: var(--canvas-2); border-radius: 8px; padding: clamp(2.2rem, 5vw, 4rem); color: #fff; }
.d4 .tl h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; }
.d4 .tl .tl-total { margin-top: 1rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--white-80); }
.d4 .tl-steps { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.d4 .tl-step { padding-top: 1.4rem; }
.d4 .tl-step .tl-when { display: block; font-size: .88rem; color: var(--stat-dark); }
.d4 .tl-step h3 { color: #fff; font-size: 1.45rem; margin-top: .55rem; line-height: 1.2; }
.d4 .tl-step p { color: var(--white-60); font-size: .98rem; line-height: 1.55; margin-top: .55rem; }
.d4 .tl .source { margin-top: 2rem; color: var(--white-60); font-size: .85rem; }
@media (max-width: 900px) { .d4 .tl-steps { grid-template-columns: 1fr; gap: 0; } .d4 .tl-step { padding: 1.3rem 0; border-bottom: 1px solid rgba(255,255,255,.12); } }

/* ---------- Pfadkarten ---------- */
.d4 .paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.d4 .path { background: var(--tile); border-radius: 6px; padding: 2rem; display: flex; flex-direction: column; }
.d4 .path img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 3px; }
.d4 .path h3 { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hair); font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.05; }
.d4 .path p { margin: .8rem 0 1.8rem; font-size: 1.05rem; line-height: 1.55; }
.d4 .path .btn { margin-top: auto; width: 100%; }
@media (max-width: 991px) { .d4 .paths { grid-template-columns: 1fr; } }

/* ---------- Karten der bestehenden Abschnitte flach ziehen ---------- */
.d4 .band, .d4 .land, .d4 [class*="land-"] { background-image: none !important; }
.d4 .band { background-color: var(--band); }
.d4 section .section-head h2 { font-size: var(--t-h2); line-height: 1.08; font-weight: 400; }
.d4 section .section-head p { font-size: clamp(1.02rem, 1.4vw, 1.2rem); }
.d4 .kicker { font-weight: 500; letter-spacing: 0; }

/* ---------- FAQ ---------- */
.d4 #faq details { border-top: 1px solid var(--hair); }
.d4 #faq summary { font-size: var(--t-faq); font-weight: 400; letter-spacing: -0.02em; color: var(--brand-ink); line-height: 1.2; padding: 1.5rem 3rem 1.5rem 0; }

/* ---------- Abschluss-CTA heller Verlauf ---------- */
.d4 .d4-cta { background: linear-gradient(0deg, var(--tile) 0%, #fff 100%); padding: var(--sp) 0; text-align: center; }
.d4 .d4-cta h2 { font-size: var(--t-h2); line-height: 1.05; max-width: 900px; margin: 0 auto; }
.d4 .d4-cta p { margin: 1.4rem auto 0; max-width: 620px; font-size: 1.15rem; }
.d4 .d4-cta .hero-actions { margin-top: 2.2rem; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Bewegung ---------- */
.d4 .rv { opacity: 0; transform: translateY(1rem); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0s); }
.d4 .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .d4 .rv { opacity: 1; transform: none; transition: none; }
  .d4 .swb-media { transition: none; }
}

/* ---------- Bestehende Bausteine im Dandy-Stil (helle flache Karten, dunkle Bühne) ---------- */
/* Antwort- und Mini-Kästen: hell, flach, Symbol-Marke als Brand-Quadrat auf der Kante (Jasper 15.10.) */
.d4 .abox, .d4 .mini-box { background: var(--card); border: 1px solid var(--card-line); color: var(--ink-70); box-shadow: none; }
.d4 .abox h3, .d4 .mini-box h3 { color: var(--brand-ink); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.02em; }
.d4 .abox .tile-label { color: var(--brand); font-weight: 500; }
.d4 .abox .tile-lead, .d4 .mini-box p { color: var(--ink-70); }
.d4 .abox-facts li { border-top-color: var(--hair); }
.d4 .abox-facts strong { color: var(--brand-ink); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.03em; }
.d4 .abox-facts span { color: var(--ink-70); }
.d4 .abox .abox-link { color: var(--brand-ink); font-weight: 500; }
.d4 .abox .abox-link .hd-icon { color: var(--brand); }
.d4 .abox.collapsible::after { background: linear-gradient(180deg, rgba(250, 247, 244, 0) 0%, var(--card) 72%); }
.d4 .abox-toggle { background: var(--brand-ink); color: #fff; box-shadow: none; }
.d4 .abox-toggle:hover { background: var(--brand); }
.d4 .abox .icon-tag, .d4 .mini-box .icon-tag { background: var(--brand); box-shadow: none; }
.d4 .abox .icon-tag .hd-icon, .d4 .mini-box .icon-tag .hd-icon { color: #fff; }
.d4 .mini-box.light { background: #fff; }

/* Verlaufskästen werden dunkle Bühne */
.d4 .gbox { background: var(--canvas-2); color: #fff; }
.d4 .gbox h2, .d4 .gbox h3 { color: #fff; font-weight: 400; }
.d4 .gbox p, .d4 .gbox span, .d4 .gbox li { color: var(--white-80); }
.d4 .gbox strong { color: #fff; font-weight: 400; }
.d4 .gbox .source { color: var(--white-60); }
.d4 .gbox .text-tag { background: var(--pop); color: var(--pop-ink); }
.d4 .gbox .btn-white { background: var(--pop); color: var(--pop-ink); }
.d4 .text-tag { font-weight: 500; }

/* Fotokarten behalten weiße Schrift im Bild */
.d4 .photo-card h3 { color: #fff; font-weight: 400; font-size: 1.5rem; letter-spacing: -0.02em; }
.d4 .photo-card p { color: rgba(255, 255, 255, .88); }

/* Rechner: Ergebnis auf dunkler Bühne, Segmente ruhiger */
.d4 .calc-card { box-shadow: none; border: 1px solid var(--card-line); }
.d4 .seg { border-color: rgba(42, 13, 16, .35); }
.d4 .seg button { border-right-color: rgba(42, 13, 16, .2); font-weight: 500; }
.d4 .seg button.active { background: var(--brand-ink); }
.d4 .res-total { background: var(--canvas); }
.d4 .res-total strong { font-weight: 400; font-size: 2.6rem; letter-spacing: -0.03em; color: var(--pop); }
.d4 .res strong { font-weight: 400; letter-spacing: -0.02em; }
.d4 .calc-btn { background: var(--brand-ink); }
.d4 .abox .abox-body::after { background: linear-gradient(180deg, rgba(250, 247, 244, 0) 0%, var(--card) 75%); }
/* „Fertigung und Planung“: Zahlen-Kasten und Rollen-Karte untereinander statt 4:1 */
.d4 #zahlen .duo { grid-template-columns: 1fr !important; }
.d4 #zahlen .duo .gbox { min-height: 0; }

/* =================== Scanner-Seite (durchgehend dunkle Bühne) =================== */
.d4.scn { background: var(--canvas); color: var(--white-80); }
.d4.scn main h2, .d4.scn main h3 { color: #fff; }
.d4.scn main p { color: var(--white-80); }
.d4.scn .eyebrow { color: var(--stat-dark); }
.d4.scn .source { color: var(--white-60); font-size: .85rem; }
.d4 .scn-hero { padding-top: var(--nav-height); }
.d4 .scn-hero-text { max-width: 900px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 5.5rem) 20px 0; text-align: center; }
.d4 .scn-hero h1 { color: #fff; font-size: clamp(3.2rem, 8vw, 6.6rem); line-height: 1; letter-spacing: -0.03em; }
.d4 .scn-hero .lead { margin: 1.6rem auto 0; max-width: 620px; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--white-80); }
.d4 .scn-hero .hero-actions { margin-top: 2rem; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* Scroll-Sequenz: Wrapper lang, Bühne sticky */
.d4 .seq { position: relative; height: 260vh; margin-top: 2.5rem; }
.d4 .seq-stage { position: sticky; top: var(--nav-height); height: calc(100vh - var(--nav-height)); overflow: hidden; }
.d4 .seq canvas { width: 100%; height: 100%; display: block; }
.d4 .seq-fallback { display: none; width: 100%; height: 100%; object-fit: contain; }
.d4 .seq.no-seq { height: auto; }
.d4 .seq.no-seq .seq-stage { position: relative; height: auto; top: 0; }
.d4 .seq.no-seq canvas { display: none; }
.d4 .seq.no-seq .seq-fallback { display: block; }
/* Statement Wort für Wort */
.d4 .stmt { position: relative; }
.d4 .stmt-in { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding: 0 20px; }
.d4 .stmt-text { max-width: 980px; text-align: center; font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.2; letter-spacing: -0.02em; color: #fff !important; }
.d4 .stmt-text span { color: var(--white-20); transition: color .25s linear; }
.d4 .stmt-text span.on { color: #fff; }
/* Blöcke */
.d4 .scn-block { padding: var(--sp) 0; }
.d4 .scn-split { max-width: var(--wide); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.d4 .scn-split.rev { grid-template-columns: .9fr 1.1fr; }
.d4 .scn-split.rev .scn-media { order: 2; }
.d4 .scn-media { margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--canvas-2); }
.d4 .scn-media video, .d4 .scn-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d4 .scn-copy h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; }
.d4 .scn-note { display: block; margin-top: 2rem; font-size: 1.1rem; color: #fff; }
.d4 .scn-stat { display: block; margin-top: .3rem; font-size: clamp(3.2rem, 6vw, 5rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; color: var(--stat-dark); }
.d4 .scn-value { display: block; margin: 1.6rem 0 0; font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--stat-dark); line-height: 1.25; }
.d4 .scn-copy p { margin-top: 1.2rem; font-size: 1.05rem; line-height: 1.6; }
.d4 .scn-copy p.dim { color: var(--white-60); }
.d4.scn .swb-item h3 { color: #fff; }
.d4.scn .swb-media { border-radius: 8px; }
/* Angebot mit sticky Gerät */
.d4 .offer { max-width: var(--wide); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.d4 .offer-media { position: sticky; top: calc(var(--nav-height) + 6vh); border-radius: 8px; overflow: hidden; }
.d4 .offer-media img { width: 100%; display: block; }
.d4 .offer-list h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.05; }
.d4 .offer-item { padding: clamp(2.5rem, 6vw, 5rem) 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.d4 .scn-stat-sm { display: block; font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; color: var(--stat-dark); }
.d4 .offer-item h3 { margin-top: .5rem; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.d4 .offer-item p { margin-top: .8rem; max-width: 460px; }
/* Lieferumfang */
.d4 .incl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.d4 .incl > div { padding: 1.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.d4 .incl h3 { font-size: 1.5rem; }
.d4 .incl p { margin-top: .5rem; font-size: .98rem; color: var(--white-60) !important; }
/* Technische Daten */
.d4 .container.narrow { max-width: 980px; }
.d4 .specs { width: 100%; border-collapse: collapse; font-size: 1rem; }
.d4 .specs th, .d4 .specs td { text-align: left; padding: 1.05rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); vertical-align: top; }
.d4 .specs th { width: 36%; font-weight: 400; color: var(--white-60); padding-right: 1.5rem; }
.d4 .specs td { color: #fff; }
/* FAQ dunkel */
.d4 .scn-faq details { border-top: 1px solid rgba(255, 255, 255, .14); }
.d4 .scn-faq details:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.d4 .scn-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; font-size: var(--t-faq); line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.d4 .scn-faq summary::-webkit-details-marker { display: none; }
.d4 .scn-faq summary::after { content: ""; flex: none; width: 20px; height: 20px; margin-top: 8px; background: linear-gradient(var(--stat-dark), var(--stat-dark)) center / 100% 1px no-repeat, linear-gradient(var(--stat-dark), var(--stat-dark)) center / 1px 100% no-repeat; transition: transform .25s ease; }
.d4 .scn-faq details[open] summary::after { transform: rotate(45deg); }
.d4 .scn-faq .faq-a { padding: 0 3rem 1.6rem 0; }
.d4 .scn-faq .faq-a p { font-size: 1.05rem; line-height: 1.65; }
/* Abschluss mit Video, unten in Schwarz auslaufend */
.d4 .scn-end { position: relative; padding: clamp(5rem, 12vw, 10rem) 20px 0; text-align: center; overflow: hidden; }
.d4 .scn-end-text { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.d4 .scn-end h2 { font-size: clamp(2.6rem, 5.8vw, 5.2rem); line-height: 1.02; }
.d4 .scn-end p { margin: 1.4rem auto 0; max-width: 620px; font-size: 1.15rem; }
.d4 .scn-end .hero-actions { margin-top: 2.2rem; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.d4 .scn-end-media { position: relative; margin: clamp(2rem, 5vw, 4rem) auto 0; max-width: 1200px; }
.d4 .scn-end-media video { width: 100%; display: block; border-radius: 8px; }
.d4 .scn-end-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, var(--canvas), rgba(23, 10, 13, 0)); }
.d4.scn .footer { background: var(--canvas); }
@media (max-width: 900px) {
  .d4 .scn-split, .d4 .scn-split.rev, .d4 .offer { grid-template-columns: 1fr; }
  .d4 .scn-split.rev .scn-media { order: 0; }
  .d4 .offer-media { position: relative; top: 0; }
  .d4 .incl { grid-template-columns: 1fr; }
  .d4 .specs th { width: 42%; }
  .d4 .seq { height: 190vh; }
}
/* Mobile feste CTA-Leiste */
.d4 .sticky-cta { background: rgba(23, 10, 13, .94); border-top: 1px solid rgba(255, 255, 255, .08); }
.d4 .sticky-cta .btn { background: var(--pop); color: var(--pop-ink); }

/* Wissen-Übersicht: Beitragskarten mit Bild (Dandy 3.18) */
.d4 .wissen-grid { gap: 3rem 1.5rem; }
.d4 .wissen-card { background: transparent; border: 0; box-shadow: none; padding: 0; display: flex; flex-direction: column; }
.d4 .wissen-card:hover { transform: none; box-shadow: none; }
.d4 .wissen-card .icon-tag { display: none; }
.d4 .wc-pic { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--tile); margin-bottom: 1.1rem; }
.d4 .wc-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.d4 .wissen-card:hover .wc-pic img { transform: scale(1.03); }
.d4 .wissen-card-cat { color: var(--brand); font-weight: 500; font-size: .85rem; }
.d4 .wissen-card h3 { margin-top: .45rem; font-size: 1.4rem; line-height: 1.25; letter-spacing: -0.02em; color: var(--brand-ink); font-weight: 400; }
.d4 .wissen-card p { margin-top: .5rem; font-size: .98rem; line-height: 1.55; color: var(--ink-70); }
.d4 .wissen-card-meta { margin-top: .8rem; font-size: .88rem; color: var(--ink-50); }
.d4 .wissen-filter button, .d4 [class*="filter"] button { border-radius: 6px; font-weight: 500; }

/* Mobil: Kacheln und Einstiegswege als Wischreihe, Karte für Karte einrastend (Jasper 15.10.) */
@media (max-width: 900px) {
  .d4 .tiles, .d4 .paths { display: flex; overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scroll-behavior: smooth; gap: 14px; padding: 4px 20px 10px; margin: 0 -20px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .d4 .tiles::-webkit-scrollbar, .d4 .paths::-webkit-scrollbar { display: none; }
  .d4 .tiles > *, .d4 .paths > * { flex: 0 0 84%; scroll-snap-align: start; scroll-snap-stop: always; }
  .d4 .tiles::after, .d4 .paths::after { content: ""; flex: 0 0 6px; }
}
/* Fortschrittsbalken unter Wischreihen (statt Punkten) */
.swipe-bar { display: none; }
@media (max-width: 900px) {
  .swipe-bar { display: block; position: relative; height: 2px; margin: 14px auto 0; width: 34%; max-width: 160px; background: rgba(42, 13, 16, .14); border-radius: 2px; overflow: hidden; }
  .swipe-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: var(--brand, #993434); border-radius: 2px; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
  .on-dark .swipe-bar, .d4.scn .swipe-bar { background: rgba(255, 255, 255, .18); }
  .on-dark .swipe-bar i, .d4.scn .swipe-bar i { background: #e8d9c3; }
}

/* ---------- Runde 2: Rechner mobil kompakt ---------- */
@media (max-width: 700px) {
  .d4 #rechner .calc-card { padding: 16px 14px; }
  .d4 #rechner .calc-grid { gap: 14px; }
  .d4 #rechner .calc-field { margin-bottom: 12px; }
  .d4 #rechner .calc-field label { font-size: .82rem; line-height: 1.3; margin-bottom: 6px; }
  .d4 #rechner .calc-field small { display: none; }
  .d4 #rechner .seg button { padding: 9px 4px; font-size: .86rem; min-height: 0; }
  .d4 #rechner .seg-wrap { display: grid; grid-template-columns: 1fr 1fr; }
  .d4 #rechner .calc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .d4 #rechner .calc-row2 .calc-field label { min-height: 3.9em; display: flex; align-items: flex-end; }
  .d4 #rechner .input-unit input { padding: 10px 8px; font-size: 1rem; }
  .d4 #rechner .calc-more summary { font-size: .84rem; padding: 4px 0; }
  .d4 #rechner .calc-row3 { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .d4 #rechner .calc-btn { display: none; }
  .d4 #rechner .calc-results { padding: 12px; gap: 8px; }
  .d4 #rechner .res { padding: 10px 10px; }
  .d4 #rechner .res-total { padding: 14px 16px; }
  .d4 #rechner .res-total strong { font-size: 2.1rem; }
  .d4 #rechner .res-total small { font-size: .8rem; }
  .d4 #rechner .res-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .d4 #rechner .res-row .res-l { font-size: .7rem; line-height: 1.25; gap: 4px; }
  .d4 #rechner .res-row .res-l svg { display: none; }
  .d4 #rechner .res-row strong { font-size: 1.12rem; margin-top: 4px; }
  .d4 #rechner .res-row small { display: none; }
  .d4 #rechner .calc-note { font-size: .74rem; line-height: 1.45; margin-top: 4px; }
}

/* ---------- Runde 2: Hero als Split (Foto mit eingebrannter Blende rechts) ---------- */
.d4 .d4-hero2 { margin-bottom: 0; min-height: max(720px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.d4 .hero2-media { position: absolute; top: 0; right: 0; bottom: 0; width: 66vw; z-index: -1; }
.d4 .hero2-media img { width: 100%; height: 100%; object-fit: cover; object-position: 0 28%; display: block; }
.d4 .hero2-in { position: relative; width: 100%; max-width: var(--wide); margin: 0 auto; padding: clamp(2rem, 6vh, 5rem) 20px clamp(1.6rem, 3.5vh, 2.6rem); }
.d4 .hero2-text { max-width: min(660px, 47vw); }
.d4 .d4-hero2 .eyebrow { display: block; margin-bottom: 1.4rem; }
.d4 .d4-hero2 h1 { font-size: clamp(3rem, 5.8vw, 6.6rem); line-height: .97; letter-spacing: -.04em; text-align: left; }
.d4 .d4-hero2 .lead { margin: 1.8rem 0 0; max-width: 520px; text-align: left; }
.d4 .d4-hero2 .hero-actions { justify-content: flex-start; margin-top: 2.2rem; }
.d4 .hero2-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(3rem, 9vh, 6.5rem); border-top: 1px solid var(--white-20); }
.d4 .hero2-stat { display: flex; flex-direction: column; gap: .55rem; padding: 1.5rem 1.5rem .2rem 0; }
.d4 .hero2-stat + .hero2-stat { padding-left: 1.5rem; border-left: 1px solid var(--white-20); }
.d4 .hero2-stat .hd-icon { width: 38px; height: 38px; color: #fff; margin-bottom: .2rem; }
.d4 .hero2-stat strong { font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 400; letter-spacing: -.03em; line-height: 1; color: #fff; }
.d4 .hero2-stat span { font-size: .88rem; line-height: 1.45; color: var(--white-60); }
.d4 .hero2-foot { margin-top: 1.6rem; display: grid; gap: .45rem; max-width: 980px; }
.d4 .hero2-foot .entity { margin: 0; max-width: none; text-align: left; font-size: .8rem; color: var(--white-60); }
.d4 .hero2-foot .stats-src { margin: 0; font-size: .72rem; line-height: 1.5; color: rgba(255, 255, 255, .42); text-align: left; }
@media (max-width: 760px) {
  .d4 .d4-hero2 { min-height: 0; display: block; }
  .d4 .hero2-media { position: relative; width: 100%; aspect-ratio: 3 / 4; display: block; }
  .d4 .hero2-media img { position: absolute; inset: 0; object-position: 50% 0; }
  .d4 .hero2-in { margin-top: -50vw; padding-top: 0; }
  .d4 .hero2-text { max-width: none; }
  .d4 .d4-hero2 h1 { font-size: clamp(2.6rem, 11.4vw, 3.6rem); }
  .d4 .d4-hero2 .lead { margin-top: 1.3rem; }
  .d4 .hero2-stats { grid-template-columns: 1fr 1fr; margin-top: 2.6rem; }
  .d4 .hero2-stat, .d4 .hero2-stat + .hero2-stat { padding: 1.1rem .9rem 1.1rem 0; border-left: none; }
  .d4 .hero2-stat:nth-child(even) { padding-left: .9rem; border-left: 1px solid var(--white-20); }
  .d4 .hero2-stat:nth-child(n+3) { border-top: 1px solid var(--white-20); }
  .d4 .hero2-stat .hd-icon { width: 32px; height: 32px; }
}

/* ---------- Runde 2: Sektionsfotos mit eingebrannter Blende ---------- */
.d4 .has-photo { position: relative; isolation: isolate; }
.d4 section.has-photo { overflow: hidden; }
.d4 .sec-photo { position: absolute; top: 0; right: 0; width: 60vw; max-width: 1760px; height: auto; z-index: -1; pointer-events: none; user-select: none; }
.d4 .sec-photo.center { left: 50%; right: auto; transform: translateX(-50%); width: min(1500px, 112vw); max-width: none; top: -1.5rem; }
.d4 #warum .shead, .d4 #antworten.has-photo .section-head { text-align: left; margin-left: 0; max-width: 660px; }
.d4 #warum .shead p, .d4 #antworten.has-photo .section-head p { margin-left: 0; }
.d4 #warum { padding-top: clamp(5rem, 11vw, 10rem); }
.d4 #antworten.has-photo { padding-top: clamp(5rem, 10vw, 9rem); }
.d4 .d4-cta.has-photo { background: #fff; text-align: left; padding: clamp(5rem, 11vw, 10rem) 0; }
.d4 .d4-cta.has-photo h2, .d4 .d4-cta.has-photo p { margin-left: 0; max-width: 560px; }
.d4 .d4-cta.has-photo .hero-actions { justify-content: flex-start; }
.d4 .swb-ic { width: 46px; height: 46px; color: var(--brand); }
@media (max-width: 760px) {
  .d4 .sec-photo { position: relative; display: block; width: 100%; max-width: none; height: 66vw; object-fit: cover; object-position: 90% 50%; margin: 0 0 -8vw; }
  .d4 .sec-photo.center { left: auto; transform: none; width: 100%; height: 50vw; object-position: 50% 50%; top: 0; margin-bottom: -6vw; }
  .d4 #warum, .d4 #antworten.has-photo { padding-top: 0; }
  .d4 .d4-cta.has-photo { padding-top: 0; }
  .d4 #faq.has-photo { padding-top: 0; }
}

/* Ablauf: dunkler Kasten mit Foto, Icon je Schritt */
.d4 .tl.has-photo { position: relative; overflow: hidden; isolation: isolate; }
.d4 .tl-photo { position: absolute; top: 0; right: 0; width: 68%; height: auto; z-index: -1; pointer-events: none; }
.d4 .tl-ic { width: 42px; height: 42px; color: #fff; display: block; margin-bottom: 1rem; }
@media (max-width: 760px) {
  .d4 .tl-photo { position: relative; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: 88% 50%; margin-bottom: 1.4rem; border-radius: 6px; }
}

/* Fertigung: Produktionsvideo im dunklen Kasten */
.d4 .gbox.has-video { overflow: hidden; isolation: isolate; min-height: 460px; }
.d4 .gbox-video { position: absolute; top: 0; right: 0; height: 100%; width: 70%; object-fit: cover; z-index: -1; pointer-events: none; }
.d4 .gbox.has-video h2, .d4 .gbox.has-video p, .d4 .gbox.has-video .stats-row { max-width: 52%; }
@media (max-width: 900px) {
  .d4 .gbox.has-video { min-height: 0; }
  .d4 .gbox-video { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; order: -1; margin-bottom: 1.4rem; border-radius: 6px; }
  .d4 .gbox.has-video h2, .d4 .gbox.has-video p, .d4 .gbox.has-video .stats-row { max-width: none; }
}
.d4 .gbox-pic { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin-bottom: 1.4rem; }
.d4 .partner-media { border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--canvas-2); margin-bottom: .6rem; }
.d4 .partner-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Moment: Videoband ohne Text */
.d4 .moment { position: relative; height: clamp(320px, 50vw, 780px); padding: 0; overflow: hidden; background: var(--canvas); }
.d4 .moment-video { width: 100%; height: 100%; object-fit: cover; object-position: 28% 42%; display: block; }
@media (max-width: 760px) { .d4 .moment { height: 92vw; } .d4 .moment-video { object-position: 22% 40%; } }

/* Einstiegswege: Icon-Tag auf der Kartenkante */
.d4 .path { position: relative; }
.d4 .path .icon-tag { z-index: 2; top: -28px; left: 28px; }
.d4 .paths { padding-top: 28px; }

/* Faktentabellen mobil gestapelt statt seitlich überlaufend */
@media (max-width: 700px) {
  .d4 .facts-table, .d4 .facts-table tbody, .d4 .facts-table tr, .d4 .facts-table th, .d4 .facts-table td { display: block; width: auto; min-width: 0; }
  .d4 .facts-table thead { display: none; }
  .d4 .facts-table tr { padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .d4 .facts-table th, .d4 .facts-table td { padding: 2px 0; border: 0; text-align: left; overflow-wrap: anywhere; }
  .d4 .facts-table th[scope="row"] { font-weight: 600; padding-bottom: 6px; }
  .d4 .facts-table td:last-child:not(:first-child) { font-size: .8rem; color: var(--ink-50); margin-top: 4px; }
}

/* ---------- Runde 3: echtes Material, klare Kanten, keine Blenden ---------- */
.d4 .hero3 { display: block; min-height: 0; overflow: visible; }
.d4 .hero3-media { position: relative; height: min(72svh, 860px); min-height: 420px; background: #000; overflow: hidden; }
.d4 .hero3-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.d4 .vtag { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 8px; background: var(--canvas); color: #fff; font-size: .82rem; line-height: 1; padding: 8px 12px 8px 9px; border-radius: 4px; }
.d4 .vtag .hd-icon { width: 22px; height: 22px; color: #fff; }
.d4 .hero3-in { padding-top: 0; }
.d4 .hero3-panel { position: relative; z-index: 1; margin: clamp(-330px, -22vw, -150px) 0 0 calc(-1 * clamp(1.4rem, 3.2vw, 3rem)); background: var(--canvas); padding: clamp(1.8rem, 3.2vw, 3rem); max-width: 880px; }
.d4 .hero3 .hero2-stats { margin-top: clamp(2rem, 4vw, 3.2rem); }
@media (max-width: 760px) {
  .d4 .hero3-media { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
  .d4 .vtag { top: 12px; right: 12px; font-size: .74rem; }
  .d4 .hero3-panel { margin: -44px -20px 0; padding: 1.6rem 20px 0; }
}
.d4 .swb-media { border-radius: 6px; }

/* Einblick: sechs Videokacheln, Icon-Tag auf der Kante, Titel in weißer Fläche */
.d4 #einblick { background: var(--canvas); }
.d4 #einblick .shead h2 { color: #fff; }
.d4 #einblick .shead p { color: var(--white-60); }
.d4 #einblick .eyebrow { color: var(--stat-dark); }
.d4 .vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); padding-top: 28px; }
.d4 .vtile { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 6px; background: #000; }
.d4 .vtile video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; }
.d4 .vtile .icon-tag { top: -28px; left: 24px; z-index: 2; box-shadow: none; }
.d4 .vtile-label { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 4px; background: #fff; color: var(--brand-ink); border-radius: 4px; padding: 14px 16px; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.2; letter-spacing: -.01em; }
.d4 .vtile-n { font-size: .74rem; color: var(--brand); letter-spacing: .02em; }
@media (max-width: 900px) {
  .d4 .vgrid { display: flex; overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scroll-behavior: smooth; gap: 14px; padding: 32px 20px 10px; margin: 0 -20px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .d4 .vgrid::-webkit-scrollbar { display: none; }
  .d4 .vgrid > * { flex: 0 0 78%; scroll-snap-align: start; scroll-snap-stop: always; }
  .d4 .vgrid::after { content: ""; flex: 0 0 6px; }
}

/* Fertigungskasten: Video als klar abgesetzte Fläche rechts */
.d4 .gbox.has-video { padding-right: calc(46% + 40px); }
.d4 .gbox.has-video .gbox-video { width: 46%; right: 0; top: 0; height: 100%; z-index: 0; border-radius: 0 6px 6px 0; }
.d4 .gbox.has-video h2, .d4 .gbox.has-video p, .d4 .gbox.has-video .stats-row { max-width: none; }
.d4 .gbox.has-video .text-tag { z-index: 2; }
@media (max-width: 900px) {
  .d4 .gbox.has-video { padding-right: 26px; }
  .d4 .gbox.has-video .gbox-video { position: relative; top: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; }
}

/* Abschluss: Text links, echtes Produktfoto rechts mit klarer Kante */
.d4 .cta3 { background: #fff; text-align: left; }
.d4 .cta3-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.d4 .cta3 h2, .d4 .cta3 p { margin-left: 0; }
.d4 .cta3 .hero-actions { justify-content: flex-start; }
.d4 .cta3-media { margin: 0; }
.d4 .cta3-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; display: block; }
@media (max-width: 900px) { .d4 .cta3-grid { grid-template-columns: 1fr; } .d4 .cta3-media { order: -1; } }

/* Patientenkarten: echtes Material, Titel in weißer Fläche statt Blende */
.d4 #patienten .photo-card { background: var(--tile); }
.d4 #patienten .pc-bottom { left: 14px; right: 14px; bottom: 14px; background: #fff; border-radius: 4px; padding: 14px 16px; }
.d4 #patienten .pc-bottom h3 { color: var(--brand-ink); margin: 0; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.2; }

/* ---------- Runde 4: Hero mit Schlüsselbild, klare Kanten ---------- */
.d4 .hero4 { display: block; min-height: 0; margin-bottom: 0; overflow: visible; padding-top: var(--nav-height); }
.d4 .hero4-media { position: relative; height: max(560px, calc(100svh - var(--nav-height))); max-height: 1100px; overflow: hidden; background: var(--canvas); }
.d4 .hero4-media picture, .d4 .hero4-media img { display: block; width: 100%; height: 100%; }
.d4 .hero4-media img { object-fit: cover; object-position: 65% 50%; }
.d4 .hero4-head { position: absolute; left: 0; right: 0; top: clamp(2rem, 6vh, 4.5rem); max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.d4 .hero4-head h1 { max-width: min(600px, 44vw); font-size: clamp(2.6rem, min(5.2vw, 8.4vh), 7rem); line-height: .97; letter-spacing: -.04em; color: #fff; text-align: left; }
.d4 .hero4-head .eyebrow { display: block; margin-bottom: 1.2rem; color: var(--stat-dark); }
.d4 .hero4-in { padding-top: 0; }
.d4 .hero4-panel { position: relative; z-index: 1; margin: clamp(-260px, -16vw, -150px) 0 0 calc(-1 * clamp(1.4rem, 3.2vw, 3rem)); background: var(--canvas); padding: clamp(1.6rem, 3vw, 2.8rem) clamp(1.4rem, 3.2vw, 3rem); max-width: 720px; }
.d4 .hero4-panel .lead { margin: 0; max-width: 560px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--white-80); text-align: left; }
.d4 .hero4-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4rem 0 0; padding: 0; }
.d4 .hero4-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; border: 1px solid var(--white-20); border-radius: 4px; font-size: .9rem; line-height: 1; color: #fff; }
.d4 .hero4-badges .hd-icon { width: 18px; height: 18px; color: var(--pop); flex: 0 0 auto; }
.d4 .hero4 .hero-actions { justify-content: flex-start; margin-top: 1.8rem; }
.d4 .hero4 .hero2-stats { margin-top: clamp(2.2rem, 4vw, 3.4rem); }
@media (max-width: 760px) {
  .d4 .hero4-media { height: auto; aspect-ratio: 3 / 4; max-height: none; }
  .d4 .hero4-media img { object-position: 50% 50%; }
  .d4 .hero4-head { position: static; padding: 1.8rem 20px 0; background: var(--canvas); }
  .d4 .hero4-head h1 { max-width: none; font-size: clamp(2.4rem, 10.6vw, 3.4rem); }
  .d4 .hero4-panel { margin: 0 -20px; padding: 1.2rem 20px 0; }
}

/* ---------- Runde 4: dunkle Scroll-Abschnitte (Aligner, Scanner) ---------- */
.d4 .seq-split { height: 250vh; margin-top: 0; background: var(--canvas); }
.d4 .seq-split .seq-stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1rem, 3vw, 3rem);
  padding-left: max(20px, calc((100vw - var(--wide)) / 2 + 20px)); background: var(--canvas); }
.d4 .seq-split canvas { width: 100%; height: 100%; display: block; }
.d4 .seq-copy { position: relative; z-index: 1; max-width: 560px; }
.d4 .seq-copy .eyebrow { color: var(--stat-dark); }
.d4 .seq-copy h2 { margin-top: .8rem; font-size: var(--t-h2); line-height: 1.04; color: #fff; }
.d4 .seq-copy p { margin-top: 1.2rem; font-size: 1.08rem; line-height: 1.6; color: var(--white-60); }
.d4 .risk-list { list-style: none; margin: 2rem 0 2.4rem; padding: 0; display: grid; gap: 1rem; }
.d4 .risk-list li { display: flex; align-items: center; gap: 14px; font-size: clamp(1.45rem, 2.5vw, 2.3rem); line-height: 1.1; letter-spacing: -.02em; color: var(--white-20); transform: translateY(10px); transition: color .45s var(--ease-out), transform .45s var(--ease-out); }
.d4 .risk-list li .hd-icon { width: clamp(26px, 2.4vw, 36px); height: clamp(26px, 2.4vw, 36px); flex: 0 0 auto; color: var(--pop); opacity: .25; transition: opacity .45s var(--ease-out); }
.d4 .risk-list li.on { color: #fff; transform: none; }
.d4 .risk-list li.on .hd-icon { opacity: 1; }
.d4 .seq-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1.6rem 0 2rem; padding: 0; }
.d4 .seq-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px 9px 10px; border: 1px solid var(--white-20); border-radius: 4px; font-size: .92rem; line-height: 1; color: var(--white-60); transition: border-color .4s, color .4s; }
.d4 .seq-chips .hd-icon { width: 20px; height: 20px; color: #fff; opacity: .4; transition: opacity .4s; }
.d4 .seq-chips li.on { border-color: var(--pop); color: #fff; }
.d4 .seq-chips li.on .hd-icon { opacity: 1; }
.d4 .seq-split.no-seq { height: auto; }
.d4 .seq-split.no-seq .seq-stage { position: relative; top: 0; height: auto; padding-top: var(--sp); padding-bottom: var(--sp); }
@media (max-width: 760px) {
  .d4 .seq-split { height: 210vh; }
  .d4 .seq-split .seq-stage { grid-template-columns: 1fr; grid-template-rows: 42% 58%; gap: 0; padding: 0 20px; align-items: start; }
  .d4 .seq-split canvas { order: -1; margin: 0 -20px; width: calc(100% + 40px); }
  .d4 .seq-copy h2 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .d4 .risk-list { margin: 1.2rem 0 1.4rem; gap: .7rem; }
  .d4 .risk-list li { font-size: 1.3rem; }
  .d4 .seq-copy p { font-size: .98rem; margin-top: .8rem; }
  .d4 .seq-chips { margin: 1rem 0 1.2rem; }
}

/* ---------- Runde 4: Feinschliff, ein System für Buttons, Links, Chips, Icons ---------- */
/* Buttons: 48 px, 6 px Radius, eine Primärfarbe je Untergrund */
.d4 .btn { min-height: 48px; padding: 0 22px; border-radius: 6px; font-size: .95rem; font-weight: 500; letter-spacing: 0; gap: 10px; line-height: 1;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out); }
.d4 .btn:active { transform: translateY(1px); }
.d4 .btn svg, .d4 .btn .btn-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.d4 .btn-dark, .d4 .btn-primary:not(.nav-cta), .d4 .calc-btn { background: #6b1d1d; color: #fff; border: 0; }
.d4 .btn-dark:hover, .d4 .btn-primary:not(.nav-cta):hover, .d4 .calc-btn:hover { background: var(--brand-ink); color: #fff; }
.d4 .btn-line, .d4 .btn-secondary { background: transparent; color: var(--brand-ink); border: 1px solid rgba(42, 13, 16, .35); }
.d4 .btn-line:hover, .d4 .btn-secondary:hover { border-color: var(--brand-ink); background: rgba(42, 13, 16, .04); color: var(--brand-ink); }
.d4 .btn-pop, .d4 .btn-white { background: var(--pop); color: var(--pop-ink); border: 0; }
.d4 .btn-pop:hover, .d4 .btn-white:hover { background: #f2e6d4; color: var(--pop-ink); }
.d4 .btn-line-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.d4 .btn-line-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); color: #fff; }
.d4 .nav-cta { min-height: 40px; }
@media (max-width: 760px) { .d4 .btn { min-height: 46px; } }

/* Textlinks: eine Form, Pfeil in Markenfarbe, ruhige Bewegung */
.d4 .tlink, .d4 .link-arrow { font-size: .97rem; font-weight: 600; color: var(--brand-ink); gap: 8px; }
.d4 .tlink svg, .d4 .link-arrow svg { color: var(--brand); width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.d4 .tlink:hover svg, .d4 .link-arrow:hover svg { transform: translateX(3px); }
.d4 .on-dark .tlink, .d4 .on-dark .link-arrow, .d4 .gbox .link-arrow { color: #fff; }
.d4 .on-dark .tlink svg, .d4 .on-dark .link-arrow svg, .d4 .gbox .link-arrow svg { color: var(--pop); }

/* Kicker und Eyebrows: eine Größe */
.d4 .kicker, .d4 .eyebrow { font-size: .9rem; font-weight: 500; letter-spacing: 0; line-height: 1.5; }

/* Chips und Badges: gleiche Maße */
.d4 .hero4-badges li, .d4 .seq-chips li { padding: 9px 13px 9px 10px; font-size: .92rem; min-height: 40px; }
.d4 .hero4-badges .hd-icon, .d4 .seq-chips .hd-icon { width: 18px; height: 18px; }

/* Feature-Icons: 40 px */
.d4 .hero2-stat .hd-icon, .d4 .tl-ic, .d4 .swb-ic { width: 40px; height: 40px; }
.d4 .icon-tag { width: 56px; height: 56px; border-radius: 4px; }
.d4 .icon-tag .hd-icon { width: 32px; height: 32px; }

/* Runde 4: Korrekturen Hero und Sticky-Button */
.d4 .hero4-panel { margin-top: calc(-1 * clamp(200px, 36vh, 340px)); }
.d4 .hero4-head h1 { max-width: clamp(480px, 42vw, 800px); }
.d4 .sticky-cta .btn, .d4 .sticky-cta .btn:hover { background: var(--pop); color: var(--pop-ink); }
@media (max-width: 760px) {
  .d4 .hero4-media { height: auto; aspect-ratio: auto; overflow: visible; }
  .d4 .hero4-media picture { aspect-ratio: 3 / 4; height: auto; overflow: hidden; }
  .d4 .hero4-panel { margin: 0 -20px; }
  .d4 .hero4-badges { gap: 6px; }
  .d4 .hero4-badges li { font-size: .84rem; padding: 7px 10px 7px 8px; min-height: 34px; }
  .d4 .hero4-badges .hd-icon { width: 16px; height: 16px; }
}
@media (max-width: 760px) { .d4 .hero4-in { margin-top: 0; } }
.d4 .seq-split, .d4 .seq-split .seq-stage { background: var(--seq-bg, var(--canvas)); }
.d4 .btn:focus-visible, .d4 .tlink:focus-visible, .d4 .link-arrow:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.d4 .on-dark .btn:focus-visible, .d4 .hero4 .btn:focus-visible, .d4 .seq-split .btn:focus-visible { outline-color: var(--pop); }
.d4 .btn span, .d4 .btn svg { color: inherit; }
