/* Dentalliebe Hero. Reference: 03-projekt/hero-redesign/bar.md. */
.page-hero-redesign { --hero-accent: #b8923f; --hero-action: #86671f; --hero-ink: #0c0b0d; }
.hero-stage {
  padding: 14px 28px 27px;
  background: var(--paper);
}
.hero-redesign {
  width: min(1600px, 100%); height: calc(100svh - 41px); min-height: 780px; max-height: 1040px;
  margin: 0 auto; border: 6px solid #f0f0f4; border-radius: 44px;
  background: #fafafa; color: var(--hero-ink);
  font-family: var(--font-ui); font-weight: 400;
}
.hero-redesign::before { display: none; }
.hero-redesign .hero-copy {
  position: relative; z-index: 3; width: 56%; padding: clamp(170px, 18.8vh, 210px) 0 0 54px;
}
.hero-redesign h1 {
  color: var(--hero-ink); font: 400 clamp(66px, 6vw, 96px)/.99 var(--font-ui);
  letter-spacing: -.07em; margin: 0; text-align: left; text-wrap: nowrap;
}
.hero-kicker {
  display: flex; align-items: center; gap: 10px; width: fit-content; margin-bottom: 22px; padding: 4px 14px 4px 4px;
  border-radius: 100px; background: #fff; color: var(--hero-ink);
  font: 500 15px/1 var(--font-ui); letter-spacing: -.02em;
  box-shadow: 0 0 0 1px #ececf1, 0 1px 2px #0000000a, 0 6px 14px -8px #0000001f;
}
.hero-kicker-tag {
  padding: 7px 11px 6px; border-radius: 100px; color: #fff;
  font-size: 12px; letter-spacing: .01em; text-transform: uppercase;
  background: linear-gradient(180deg, #2e2e30, #19191b);
  box-shadow: inset 0 1.5px 0 #ffffff33, 0 1px 1.5px #00000059, 0 6px 8px -4px #0000004d;
}
.hero-kicker-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.hero-kicker:hover .hero-kicker-arrow { transform: translateX(3px); }
.hero-kicker:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.hero-redesign .hero-description {
  max-width: 365px; margin-top: 50px; color: #343238;
  font-size: 17px; line-height: 1.34; letter-spacing: -.035em; text-wrap: pretty;
}
.hero-redesign .hero-description b { font-weight: 400; color: inherit; }
.hero-redesign .hero-description + .hero-description { margin-top: 12px; }
.hero-link {
  --h: 50px; --spring: cubic-bezier(.34, 1.56, .64, 1);
  position: relative; isolation: isolate; display: inline-flex; align-items: center;
  color: #fff; font: 400 15px/1 var(--font-ui); letter-spacing: -.035em; border-radius: 100px;
  transition: transform .15s var(--ease); will-change: transform; backface-visibility: hidden;
}
.hero-link-label, .hero-link-arrow { position: relative; z-index: 1; display: grid; place-items: center; min-height: var(--h); }
.hero-link-label { padding: 0 2px 0 23px; }
.hero-link-arrow { width: var(--h); flex: 0 0 var(--h); transition: transform .7s var(--spring); will-change: transform; }
.hero-link-arrow svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.25; transition: transform .5s var(--spring); will-change: transform; }
/* Goo layer: at rest the drop sits inside the pill, so it reads as one button. On hover it buds off like water and melts back on leave. */
.hero-link-goo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; transform: translateZ(0);
  filter: url(#hero-goo) drop-shadow(0 1px 1.5px #00000059) drop-shadow(0 8px 10px #0000003d);
}
.hero-link-goo span { position: absolute; top: 0; height: 100%; border-radius: 100px; will-change: transform; background: linear-gradient(180deg, #2e2e30 0%, #19191b 100%); }
.hero-link-goo span:first-child { left: 0; right: 0; transform-origin: 0 50%; transition: transform .55s var(--spring); }
.hero-link-goo span:last-child { right: 0; width: var(--h); transition: transform .7s var(--spring); }
.hero-link:hover .hero-link-goo span:first-child, .hero-link:focus-visible .hero-link-goo span:first-child { transform: scaleX(var(--sx, .84)); }
.hero-link:hover .hero-link-goo span:last-child, .hero-link:focus-visible .hero-link-goo span:last-child,
.hero-link:hover .hero-link-arrow, .hero-link:focus-visible .hero-link-arrow { transform: translateX(calc(var(--h) * .34)); }
.hero-link:hover .hero-link-arrow svg, .hero-link:focus-visible .hero-link-arrow svg { transform: rotate(45deg); }
.hero-link:active { transform: translateY(1px); }
.hero-link:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 4px; }
.hero-redesign .hero-primary { margin-top: 26px; }
.hero-redesign .hero-anchor {
  position: absolute; z-index: 0; left: 16%; bottom: -2%; width: 74%; pointer-events: none;
}
.hero-redesign .hero-visual {
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 100%), linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
  mask-composite: intersect;
}
.hero-redesign .hero-visual img { width: 100%; height: auto; max-width: none; }
.hero-redesign .hero-visual { position: relative; }
.hero-redesign .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.hero-redesign .hero-video.is-playing { opacity: 1; }
/* Die Krone steigt im Intro bis fast an den Bildrand, deshalb oben eine kürzere Ausblendung */
/* Gilt ab Skriptstart, nicht erst beim Abspielen, sonst springt die Ausblendung oben sichtbar */
.hero-redesign .hero-visual.has-video { mask-image: linear-gradient(180deg, transparent 0, #000 2%, #000 100%), linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent); }
@media (max-width: 767px) { .hero-redesign .hero-video { display: none; } }
.hero-redesign .hero-aside {
  position: absolute; z-index: 3; right: 54px; bottom: 100px; width: 258px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.hero-redesign .hero-note {
  color: #55525b; text-align: right;
  font-size: 13px; line-height: 1.3; letter-spacing: -.02em; text-shadow: 0 0 10px #fff, 0 0 4px #fff;
}
.hero-redesign .hero-callout {
  position: absolute; z-index: 2; color: #66636b; font-size: 14px; line-height: 1.2; letter-spacing: -.035em;
}
.hero-redesign .hero-callout svg { display: block; width: 100%; height: 48px; overflow: visible; fill: none; stroke: #97949c; stroke-width: .8; }
.hero-redesign .hero-callout circle { fill: #97949c; stroke: none; }
.hero-callout-top { top: calc(24% - 82px); left: 63%; width: 190px; }
.hero-callout-top span { display: block; padding-left: 36px; }
.hero-callout-bottom { top: calc(41% - 34px); left: 62%; width: 190px; text-align: right; }
.hero-callout-bottom span { display: block; padding-right: 8px; }
.hero-redesign .hero-tags {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; width: 100%;
}
/* PSK-Emblem: ein Kreis, rechtsbündig über den Tags, mit weichem Schatten */
.hero-redesign .hero-cert { line-height: 0; }
.hero-cert img { display: block; width: 108px; height: 108px; border-radius: 50%; box-shadow: 0 14px 24px -12px rgba(20, 70, 160, .5), 0 2px 4px rgba(20, 30, 60, .12); }
/* Pillen: am Desktop ein Haufen rechtsbündig (Spur löst sich auf, Dubletten aus), auf dem Handy ein laufendes Band */
.hero-tags-track { display: contents; }
.hero-tags .is-dup { display: none; }
.hero-cert-bottom { display: none; }
@keyframes hero-marquee { to { transform: translateX(-33.3333%); } }
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .hero-redesign .hero-tags { -webkit-mask-image: none; mask-image: none; }
  .hero-redesign .hero-tags-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .hero-redesign .hero-tags .is-dup { display: none; } /* stärker als die Handy-Regel weiter unten, sonst stehen die Pillen dreifach da */
}
.hero-tags span { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 13px; border-radius: 100px; background: #ffffffeb; font-size: 11px; color: #403d45; letter-spacing: -.035em; }
.hero-redesign .hero-bottom {
  position: absolute; z-index: 3; left: 54px; right: 54px; bottom: 30px;
  border-top: 1px solid #e6e6ee; padding-top: 17px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  font-size: 13px; line-height: 1.2; color: #34323c; letter-spacing: -.035em;
}
.hero-bottom p:last-child { text-align: right; }
/* Glass header: the backdrop is a separate layer so the type never refracts. */
.page-hero-redesign .hdr {
  position: fixed; top: 34px; left: 50%; right: auto; width: min(940px, 100% - 64px); transform: translateX(-50%) scale(1.05); transform-origin: 50% 0;
  height: 40px; padding: 0 5px 0 6px; border-radius: 100px; color: var(--hero-ink); font-family: var(--font-ui);
  background: transparent;
  box-shadow: 0 0 0 1px #19202d06, 0 2px 6px -3px #1823320d;
  transition: top .45s var(--ease), box-shadow .3s;
}
.page-hero-redesign .hdr.is-scrolled, .page-hero-redesign .hdr.is-solid { top: 12px; background: transparent; }
.page-hero-redesign .hdr::before, .page-hero-redesign .hdr::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
}
/* One uniform 10% tint. Contrast comes from background blur, with no
   separate opacity or white gradient in the middle of the lens. */
.page-hero-redesign .hdr::before, .page-hero-redesign .hdr.is-solid::before {
  display: block; inset: 0; height: auto; z-index: -1;
  background: rgb(255 255 255 / 10%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  box-shadow: inset 0 0 0 .5px #ffffff40;
}
/* A faint surface reflection. No painted dark bevel or coloured rim. */
.page-hero-redesign .hdr::after {
  padding: .75px;
  background: linear-gradient(125deg, #ffffff66, #ffffff0a 35%, transparent 65%, #ffffff40);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.page-hero-redesign .hdr.has-refraction::before {
  -webkit-backdrop-filter: url(#header-glass-refraction) saturate(120%);
  backdrop-filter: url(#header-glass-refraction) saturate(120%);
}
.header-glass-defs { position: fixed; width: 0; height: 0; overflow: hidden; pointer-events: none; }
@media (prefers-reduced-transparency: reduce) {
  .page-hero-redesign .hdr::before, .page-hero-redesign .hdr.has-refraction::before, .page-hero-redesign .hdr.is-solid::before {
    background: #fafafaf5; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}
@media (forced-colors: active) {
  .page-hero-redesign .hdr::before, .page-hero-redesign .hdr.has-refraction::before, .page-hero-redesign .hdr.is-solid::before {
    background: Canvas; border: 1px solid CanvasText; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .page-hero-redesign .hdr::after { display: none; }
}
.page-hero-redesign .hdr .logo { gap: 8px; font: 500 16px/1 var(--font-ui); letter-spacing: -.04em; }
.hero-logo-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #0000000f, 0 0 0 1px #1414220d; }
.page-hero-redesign .hdr .logo .ico { width: 16px; height: 16px; color: var(--hero-accent); fill: currentColor; stroke: #fff; stroke-width: .7; }
.page-hero-redesign .hdr .nav { gap: 2px; }
.page-hero-redesign .hdr .nav a {
  position: relative; z-index: 1; padding: 5px 13px; border-radius: 100px;
  font: 400 13px/1.2 var(--font-ui); letter-spacing: -.02em; color: #24232b;
  transition: color .25s, transform .2s var(--ease);
}
.page-hero-redesign .hdr .nav a:hover, .page-hero-redesign .hdr .nav a:focus-visible { color: var(--hero-ink); }
.page-hero-redesign .hdr .nav a:active { transform: scale(.96); }
.page-hero-redesign .hdr .nav a:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.page-hero-redesign .hdr .nav:not(.has-lens) a:hover { background: #ffffffc7; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #1414220f, 0 6px 14px -8px #14142240; }
/* One frosted lens glides to the hovered item and squeezes on press. */
.nav-lens {
  position: absolute; z-index: 0; left: 0; top: 0; border-radius: 100px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, #ffffffed, #ffffffa3);
  -webkit-backdrop-filter: blur(10px) saturate(180%); backdrop-filter: blur(10px) saturate(180%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 1px #1414220a, 0 0 0 1px #14142210, 0 2px 4px -1px #1414221a, 0 8px 18px -8px #14142238;
  transition: transform .45s cubic-bezier(.3, 1.3, .5, 1), width .45s cubic-bezier(.3, 1.3, .5, 1), opacity .25s, scale .18s var(--ease), box-shadow .18s;
}
.nav-lens.is-on { opacity: 1; }
.nav-lens.is-pressed { scale: .94; box-shadow: inset 0 1px 0 #fff, inset 0 1px 3px #14142214, 0 0 0 1px #14142214, 0 1px 2px #1414221a; }
.page-hero-redesign .hdr-phone { display: none; }
.page-hero-redesign .hdr-right { gap: 8px; }
.page-hero-redesign .hdr .hdr-cta, .page-hero-redesign .hdr.is-solid .hdr-cta { display: inline-flex; font-size: 13px; background: none; box-shadow: none; }
.page-hero-redesign .hdr .hero-link { --h: 30px; }
.page-hero-redesign .hdr .hero-link-label { padding: 0 0 0 14px; }
.page-hero-redesign .hdr .hero-link-goo { filter: url(#hero-goo-sm) drop-shadow(0 1px 1px #00000052) drop-shadow(0 4px 6px #00000033); }
.page-hero-redesign .hdr .hero-link-arrow svg { width: 15px; height: 15px; }
.page-hero-redesign .review-note { display: none; }
@media (min-width: 1280px) {
  .hero-redesign .hero-anchor { width: auto; height: 82%; aspect-ratio: 3 / 2; left: 56%; bottom: -11%; transform: translateX(-50%); }
}
@media (min-width: 1600px) {
  .hero-redesign .hero-copy { padding-top: 192px; }
}
@media (max-width: 1279px) {
  .hero-stage { padding: 10px 20px 22px; }
  .hero-redesign { height: calc(100svh - 32px); min-height: 760px; }
  .hero-redesign .hero-copy { padding-left: 40px; padding-top: 172px; }
  .hero-redesign h1 { font-size: clamp(64px, 6.9vw, 88px); }
  .hero-redesign .hero-description { max-width: 325px; font-size: 16px; margin-top: 40px; }
  .hero-redesign .hero-anchor { width: 96%; left: 20%; bottom: -10%; }
  .hero-redesign .hero-aside { right: 40px; bottom: 94px; }
  .hero-redesign .hero-bottom { left: 40px; right: 40px; }
  .hero-redesign .hero-callout { display: none; }
  .page-hero-redesign .hdr { width: min(860px, 100% - 64px); }
  .page-hero-redesign .hdr .nav { display: flex; }
  .page-hero-redesign .hdr .nav a { padding: 5px 11px; font-size: 12.5px; }
  .page-hero-redesign .hdr .nav a:nth-of-type(3) { display: none; }
}
@media (max-width: 1023px) {
  .page-hero-redesign .hdr { top: 26px; width: calc(100% - 40px); transform: translateX(-50%); }
  .page-hero-redesign .hdr .nav { display: none; }
  .page-hero-redesign .hdr-burger { display: grid; }
  .hero-redesign .hero-copy { width: 64%; }
  .hero-redesign h1 { font-size: clamp(60px, 8vw, 80px); }
  .hero-redesign .hero-note { font-size: 12.5px; }
  .hero-redesign .hero-callout { display: none; }
  .hero-redesign .hero-anchor { width: 108%; left: 1%; bottom: -2%; }
  .hero-redesign .hero-aside { width: 232px; right: 30px; }
}
@media (max-width: 767px) {
  .hero-stage { padding: 5px 10px 12px; }
  .hero-redesign { height: auto; min-height: 1000px; max-height: none; border-width: 4px; border-radius: 31px; }
  .hero-redesign .hero-copy { width: 100%; padding: 122px 22px 0; }
  .hero-redesign h1 { font-size: clamp(44px, 12vw, 72px); line-height: 1.01; letter-spacing: -.07em; }
  .hero-redesign .hero-description { max-width: 350px; margin-top: 25px; font-size: 15px; line-height: 1.38; letter-spacing: -.03em; }
  .hero-redesign .hero-description + .hero-description { margin-top: 9px; }
  .hero-redesign .hero-primary { margin-top: 21px; }
  .hero-link { font-size: 14px; }
  .hero-link { --h: 48px; }
  .hero-link-label { padding: 0 2px 0 19px; }
  .hero-redesign .hero-anchor { width: 200%; left: -50%; bottom: 104px; }
  /* Das Motiv blendet oben und unten weich in den Hero-Grund aus, damit Emblem, Pillen und Fußtexte darauf lesbar stehen */
  .hero-redesign .hero-visual, .hero-redesign .hero-visual.has-video { mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 46%, transparent 90%), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; -webkit-mask-composite: source-in; }
  .hero-redesign .hero-note { display: none; }
  .hero-redesign .hero-aside { left: 0; right: 0; bottom: 124px; width: auto; align-items: center; gap: 12px; }
  /* Das Emblem steht unten zwischen den zwei Fußtexten (Kopie in .hero-bottom), nicht mehr über den Pillen */
  .hero-redesign .hero-cert { display: none; }
  .hero-cert-bottom { display: block; width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 10px 18px -10px rgba(20, 70, 160, .5), 0 2px 4px rgba(20, 30, 60, .12); }
  /* Pillen als laufendes Band von rechts nach links, nicht scrollbar. Die Spur beginnt links (flex-start), drei gleiche Sätze, Weg = ein Satz */
  .hero-redesign .hero-tags { width: 100%; flex-wrap: nowrap; justify-content: flex-start; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
  .hero-redesign .hero-tags-track { display: flex; width: max-content; animation: hero-marquee 26s linear infinite; }
  .hero-tags .is-dup { display: inline-flex; }
  .hero-tags span { flex: none; margin-right: 6px; font-size: 10px; min-height: 25px; padding: 0 10px; }
  .hero-redesign .hero-bottom { left: 22px; right: 22px; bottom: 20px; gap: 10px; padding-top: 14px; font-size: 11.5px; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .page-hero-redesign .hdr { top: 16px; width: calc(100% - 24px); height: 42px; padding: 0 3px 0 5px; }
  .page-hero-redesign .hdr.is-scrolled, .page-hero-redesign .hdr.is-solid { top: 6px; }
  .page-hero-redesign .hdr .logo { font-size: 16px; gap: 7px; }
  .hero-logo-mark { width: 30px; height: 30px; }
  .page-hero-redesign .hdr .hdr-cta, .page-hero-redesign .hdr.is-solid .hdr-cta { display: none; }
  .page-hero-redesign .hdr-call { display: grid; width: 38px; height: 38px; background: transparent; }
  .page-hero-redesign .hdr-burger { width: 38px; height: 38px; }
  .page-hero-redesign .hdr-burger span { width: 19px; }
  .page-hero-redesign .hdr-right { gap: 4px; }
  .page-hero-redesign .menu { inset: 10px; border-radius: 27px; }
}
.page-hero-redesign.menu-open { overflow: hidden; }
.page-hero-redesign .menu-actions .btn { font-family: var(--font-ui); font-weight: 400; }
@media (max-width: 389px) {
  .hero-redesign .hero-bottom { font-size: 10px; gap: 8px; }
  .hero-cert-bottom { width: 54px; height: 54px; }
}
@media (max-width: 359px) {
  .hero-redesign { min-height: 980px; }
  .hero-redesign .hero-copy { padding-inline: 17px; }
  .hero-redesign h1 { font-size: 40px; }
  .hero-redesign .hero-description { font-size: 14px; }
  .page-hero-redesign .hdr .logo { font-size: 19px; }
  .hero-redesign .hero-bottom { left: 17px; right: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-link-arrow, .hero-link-arrow svg, .hero-link-goo span, .hero-kicker-arrow, .nav-lens, .page-hero-redesign .hdr { transition: none; }
}

/* ---------- H1-Verlauf: jede Zeile unten minimal heller (Fallback: diesen Block löschen) ---------- */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero-redesign h1 { --g1: var(--hero-ink); --g2: #46444c; }
  .hero-redesign h1 .h1-line > span {
    background: linear-gradient(180deg, var(--hero-ink) 30%, #46444c 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}


/* ---------- Graue Bühne mit Rahmen (2026-11-06) ----------
   Hero, „Für wen“ und „Leistungen“ stehen auf #F2F2F2 (.zone-grey in index.html).
   Rahmen nach Antons Referenz: Seitengrund → 1-px-Linie → graues Band → helles Panel mit Schatten → Inhalt.
   Der Panelschatten bleibt im Band (overflow: hidden am Rahmen), wie in der Referenz.
   Panel ist weiß (--ol-panel). Poster (#fafafa) und Intro-Video (#f7f7f7) werden per brightness auf reines Weiß gehoben, so gibt es keine Kante.
   Zurück zum alten Stand: diesen Block löschen und die zwei Wrapper in index.html entfernen,
   oder Branch fallback/hero-weiss auf GitHub. */
.page-home {
  --zone-grey: #f2f2f2;
  --band: 18px;            /* Breite des grauen Bands */
  --panel-r: 44px;         /* Radius des Panels; der Rahmen läuft konzentrisch darum */
  --stage-top: 10px;       /* Abstand Fensterrand → Rahmen */
  --stage-bottom: 22px;
}
.zone-grey { background: var(--zone-grey); padding-bottom: 150px; }
.zone-grey .hero-stage { background: none; padding-top: var(--stage-top); padding-bottom: var(--stage-bottom); }
.hero-frame {
  position: relative; width: min(1600px, 100%); margin: 0 auto; padding: var(--band);
  border: 1px solid transparent; border-radius: calc(var(--panel-r) + var(--band) + 1px);
  background: var(--ol-band-grad) padding-box, var(--ol-line-grad) border-box;
  box-shadow: inset 0 0 0 1px #ffffff26;
  overflow: hidden; isolation: isolate;
}
.hero-frame > .hero-redesign {
  width: 100%; height: calc(100svh - var(--stage-top) - var(--stage-bottom) - 2 * (var(--band) + 1px));
  border: 0; border-radius: var(--panel-r);
  background: var(--ol-panel);  /* bleibt reinweiß statt Kartenverlauf, weil Motiv und Video weißen Grund haben */
  box-shadow: var(--ol-panel-inset), var(--ol-panel-ring), var(--ol-shadow);
}
/* Grund von Poster (#fafafa) und Video (#f6–#f7) auf #fff heben. Am img/video selbst, weil motion-page.js filter auf .hero-visual animiert. */
.hero-frame .hero-visual img { filter: brightness(1.025); }
.hero-frame .hero-video { filter: brightness(1.045); }
/* Glas-Header: gleicher Abstand zur Panel-Oberkante wie vorher (14 px) */
.page-home .hdr { top: calc(var(--stage-top) + var(--band) + 1px + 14px); }
.page-home .hdr.is-scrolled, .page-home .hdr.is-solid { top: 12px; }
/* Karten in den grauen Abschnitten vorerst weiß, sonst verschwinden sie im Grund (#f5f5f5 auf #f2f2f2). Werden später neu gestaltet. */
.zone-grey .card-big, .zone-grey .svc-tile { background: #fff; }
@media (max-width: 1279px) {
  .page-home { --band: 14px; }
}
@media (max-width: 1023px) {
  .page-home .hdr { top: calc(var(--stage-top) + var(--band) + 1px + 10px); }
}
@media (max-width: 767px) {
  .page-home { --band: 8px; --panel-r: 30px; --stage-top: 6px; --stage-bottom: 12px; }
  .zone-grey { padding-bottom: 100px; }
  .hero-frame > .hero-redesign { height: auto; }
  .page-home .hdr { top: calc(var(--stage-top) + var(--band) + 1px + 7px); }
  .page-home .hdr.is-scrolled, .page-home .hdr.is-solid { top: 6px; }
  .hero-frame > .hero-redesign { box-shadow: inset 0 0 0 1px #ffffffb3, 0 1px 2px rgb(0 0 0 / .10), 0 8px 16px -6px rgb(0 0 0 / .24); }
}

/* ---------- Variante „flach“ (2026-11-06): Hero ohne Band, weißes Panel direkt auf dem Grau ----------
   Schalter: Klasse hero-flat am <body> in index.html. Ohne die Klasse gilt wieder das Outline-Panelsystem.
   Die äußere Linie des Rahmens wird zur Kante des Panels: gleiche Größe, gleicher Radius, kein Band, kein Schatten. */
.hero-flat .hero-frame { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.hero-flat .hero-frame > .hero-redesign {
  height: calc(100svh - var(--stage-top) - var(--stage-bottom));
  border: 1px solid transparent; border-radius: calc(var(--panel-r) + var(--band) + 1px);
  /* Weißes Panel, die Kante als Verlauf: oben hell, unten kräftiger */
  background: linear-gradient(var(--ol-panel), var(--ol-panel)) padding-box, var(--ol-line-grad) border-box; box-shadow: none;
}
.hero-flat.page-home .hdr { top: calc(var(--stage-top) + 1px + 14px); }
.hero-flat.page-home .hdr.is-scrolled, .hero-flat.page-home .hdr.is-solid { top: 12px; }
@media (max-width: 1023px) {
  .hero-flat.page-home .hdr { top: calc(var(--stage-top) + 1px + 10px); }
}
@media (max-width: 767px) {
  .hero-flat .hero-frame > .hero-redesign { height: auto; }
  .hero-flat.page-home .hdr { top: calc(var(--stage-top) + 1px + 7px); }
  .hero-flat.page-home .hdr.is-scrolled, .hero-flat.page-home .hdr.is-solid { top: 6px; }
}
