/* =========================================================
   Zahnarztpraxis Dr. Weller – Onepager
   ========================================================= */

@font-face { font-family: "Lexend"; src: url("../font/Lexend-Light.woff2") format("woff2"), url("../font/Lexend-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../font/Lexend-Regular.woff2") format("woff2"), url("../font/Lexend-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../font/Lexend-SemiBold.woff2") format("woff2"), url("../font/Lexend-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --navy: #1e2b79;
  --navy-deep: #162060;
  --turq: #aedede;
  --turq-ink: #4ebcbd;
  --mint: #d9eeef;
  --pale: #e5effb;
  --ico-arrow-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
  --sec-gap: clamp(110px, 13vw, 200px); /* weißer Abstand vor dem blauen Zahnersatz-Block */
  --mist: #f7faff; /* gebrochenes Weiß mit Blaustich (Hintergrund Zahnersatz) */
  --sky: #eff8f9;
  --sand: #f4e7d6;
  --cream: #f8f5f0;
  --white: #fff;
  --ink: #1e2b79;
  --muted: #565f8c;
  --line: rgba(30, 43, 121, .14);

  --max: 1440px;
  --pad: clamp(20px, 4.4vw, 64px);
  --header-h: 88px;
  --pin-top: var(--header-h); /* Oberkante gepinnter Bereiche; Smartphone: 0, weil die Navi dort wegscrollt */
  --r: 4px;
  --r-card: 8px;
  --shadow: 0 24px 60px -28px rgba(20, 29, 84, .35);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-soft: cubic-bezier(.44, 0, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--pin-top); }
body {
  margin: 0;
  font-family: "Lexend", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a, button, [data-panel] { -webkit-tap-highlight-color: transparent; } /* kein Tipp-Marker der Mobilbrowser (bei den Roll-Buttons wäre er höher als der Button) */
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg:not(.sprite) { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico { width: 1.05em; height: 1.05em; flex: 0 0 auto; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: var(--r); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--turq-ink); outline-offset: 3px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-size: .8rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: var(--turq-ink);
}
.h2 {
  font-size: clamp(2.15rem, min(4.1vw, 7svh), 3.9rem); /* richtet sich auch nach der Fensterhöhe (Notebooks mit Windows-Skalierung) */
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.022em;
  color: var(--navy);
  text-wrap: balance;
}
.h2--md { font-size: clamp(2rem, min(3.4vw, 6svh), 3.2rem); }
.tone { color: var(--turq-ink); }
.lead { margin-top: 26px; max-width: 58ch; font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.6; font-weight: 300; }
.lead--turq { color: var(--turq-ink); font-weight: 400; }
.body { margin-top: 18px; max-width: 60ch; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 42px; padding: 0 16px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: .85rem; font-weight: 400; line-height: 1; white-space: nowrap;
  cursor: pointer;
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.btn--navy { background: var(--navy); color: #fff; --hover-bg: var(--turq); --hover-fg: var(--navy); }
.btn--turq { background: var(--turq); color: var(--navy); --hover-bg: var(--navy); --hover-fg: #fff; }
.btn--white { background: #fff; color: var(--navy); --hover-bg: var(--navy); --hover-fg: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; --hover-bg: var(--navy); --hover-fg: #fff; }
.btn:hover { background: var(--hover-bg); }
.btn[data-reveal] { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), background-color .5s var(--ease-out), border-color .5s var(--ease-out); }
.ico--lead { width: 1.5em; height: 1.5em; stroke-width: 1.7; transition: color .5s var(--ease-out); }
.btn:hover > .ico--lead { color: var(--hover-fg); }

/* Text-Roll: ausrollende Zeile behält die alte Farbe, die neue rollt in der Hover-Farbe herein */
.btn__label { --roll: 1.7em; position: relative; display: inline-block; height: 1.2em; line-height: 1.2em; clip-path: inset(-.3em 0); }
/* Clip-Bereich .3em höher/tiefer als die Zeile: Unterlängen (g, p, y) und Umlaute werden nicht abgeschnitten;
   --roll größer als Zeilenhöhe + Clip-Rand, damit die ausfahrende Zeile komplett verschwindet und die wartende nicht hineinragt */
.btn__label > span { display: block; transition: transform .5s var(--ease-out); }
.btn__label > span + span { position: absolute; left: 0; top: var(--roll); color: var(--hover-fg); }
.btn:hover .btn__label > span { transform: translateY(calc(-1 * var(--roll))); }
.btn__arrow { position: relative; display: inline-block; width: 1.05em; height: 1.05em; flex: 0 0 auto; overflow: hidden; }
.btn__arrow .ico { position: absolute; inset: 0; transition: transform .5s var(--ease-out); }
.btn__arrow .ico + .ico { transform: translateX(-140%); color: var(--hover-fg); }
.btn:hover .btn__arrow .ico:first-child { transform: translateX(140%); }
.btn:hover .btn__arrow .ico + .ico { transform: none; }
.linklike { padding: 0; border: 0; background: none; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 400; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--navy); font-size: .76rem; font-weight: 400; letter-spacing: .04em; }

/* ---------- Rechtliche Seiten (Impressum, Datenschutz) ---------- */
.legal { padding: calc(var(--header-h) + clamp(56px, 7vw, 110px)) 0 clamp(80px, 9vw, 130px); }
.legal__body { margin-top: clamp(32px, 4vw, 52px); max-width: 780px; }
.legal__lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.7; }
.legal__body h2 { margin: clamp(38px, 4.5vw, 56px) 0 14px; font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--navy); }
.legal__lead + h2 { margin-top: clamp(32px, 4vw, 48px); }
.legal__body > h2:first-child { margin-top: 0; }
.legal__body p { line-height: 1.7; }
.legal__body p + p, .legal__body ul + p, .legal__body p + ul { margin-top: 14px; }
.legal__body ul { margin: 12px 0 0; padding: 0; list-style: none; }
.legal__body li { position: relative; padding-left: 26px; line-height: 1.7; }
.legal__body li + li { margin-top: 6px; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: .9em; width: 14px; height: 1px; background: var(--turq-ink); } /* Strich wie bei den Zahnersatz-Kacheln */
/* Textlinks (global einheitlich): keine Unterstreichung, Linie aus der Mitte + Farbwechsel bei Hover, Pfeil rechts oben als Kennzeichnung */
.legal__body a, .contact__block a, .quick__block a {
  padding-bottom: 2px; text-decoration: none;
  background: linear-gradient(var(--turq-ink), var(--turq-ink)) no-repeat center bottom / 0 1px; /* Linie wächst bei Hover aus der Mitte (wie in der Top-Navi) */
  transition: color .3s ease, background-size .4s var(--ease-out);
}
.legal__body a::after, .contact__block a::after, .quick__block a::after { /* Pfeil rechts oben als Link-Kennzeichnung */
  content: ""; display: inline-block; width: .72em; height: .72em; margin-left: .3em; background: currentColor;
  -webkit-mask: var(--ico-arrow-out) center / contain no-repeat; mask: var(--ico-arrow-out) center / contain no-repeat;
  transition: transform .4s var(--ease-out);
}
.legal__body a:hover, .legal__body a:focus-visible, .contact__block a:hover, .contact__block a:focus-visible, .quick__block a:hover, .quick__block a:focus-visible { color: var(--turq-ink); background-size: 100% 1px; }
.legal__body a:hover::after, .legal__body a:focus-visible::after, .contact__block a:hover::after, .contact__block a:focus-visible::after, .quick__block a:hover::after, .quick__block a:focus-visible::after { transform: translate(2px, -2px); }
/* Absender im Impressum: Design & Umsetzung, Logo, Adresse. Bewusst außerhalb von .legal__body (keine Textlink-Regeln wie Linie/Pfeil). max-width = Breite des Impressumtexts (.legal__body) */
.legal-credit { max-width: 780px; margin-top: clamp(72px, 11vw, 150px); padding-top: 34px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.legal-credit > span { font-size: .7rem; font-weight: 600; letter-spacing: .14em; line-height: 1; text-transform: uppercase; }
.legal-credit a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: inherit; text-decoration: none; }
.legal-credit img { display: block; width: auto; height: 44px; }
.legal-credit a span { font-size: .8rem; font-weight: 600; line-height: 1.2; transition: color .3s ease; }
@media (hover: hover) { .legal-credit a:hover span { color: var(--turq-ink); } }
.legal__facts { display: grid; grid-template-columns: minmax(140px, 230px) minmax(0, 1fr); gap: 14px 32px; margin: 0; }
.legal__facts dt { font-weight: 600; color: var(--navy); line-height: 1.7; }
.legal__facts dd { margin: 0; line-height: 1.7; }
.legal__facts dd ul { margin-top: 0; }
.legal__facts + h2 { margin-top: clamp(38px, 4.5vw, 56px); }
.footer nav a[aria-current="page"] { color: var(--turq-ink); }
.page-legal .footer { background: transparent; }

/* Umbruch nur auf Desktop erzwingen (responsiv bricht der Text frei um) */
.br-desktop { display: none; }
@media (min-width: 901px) { .br-desktop { display: inline; } }

/* ---------- Reveal (global) ---------- */
/* Wie Numa: Wörter fallen von oben aus der Unschärfe herein, zeilenweise gestaffelt (--line wird per JS gesetzt) */
[data-words] .w {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, -24px, 0);
  transition: opacity .75s var(--ease-soft), filter .75s var(--ease-soft), transform .75s var(--ease-soft);
  transition-delay: calc(var(--line, 0) * 150ms);
  will-change: opacity, filter, transform;
}
[data-words].is-in .w { opacity: 1; filter: blur(0); transform: none; }
[data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.hero__slide [data-reveal] { will-change: transform, opacity; } /* Ebene bleibt bestehen: kein Nachschärfen/Zucken am Ende der Einblendung */
.no-js [data-words] .w, .no-js [data-reveal] { opacity: 1; filter: none; transform: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .3s ease, transform .35s var(--ease-out);
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(20, 29, 84, .35); }
.header.is-hidden:not(:focus-within) { transform: translateY(-100%); box-shadow: none; } /* nur Smartphone, per JS (updateHeaderVisibility) */
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__logo { margin-right: auto; display: block; }
.header__logo img { height: clamp(46px, 4.2vw, 60px); width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 30px); font-size: .95rem; font-weight: 400; }
.nav > a:not(.btn) { position: relative; padding: 6px 0; transition: color .3s ease; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--turq-ink); transform: scaleX(0); transform-origin: center; transition: transform .4s var(--ease-out); }
.nav > a:not(.btn):hover, .nav > a:not(.btn).is-active { color: var(--turq-ink); }
.nav > a:not(.btn):hover::after, .nav > a:not(.btn).is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; }
/* Burger: drei Punkte (wie das Accordion-Zeichen der Zahnheilkunde). Geöffnet bleibt nur der mittlere, türkis. */
.header__burger { display: none; width: 44px; height: 44px; margin-right: -9px; padding: 0; border: 0; background: none; color: var(--navy); cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; transition: color .3s ease; }
.header__dots { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; }
.header__dots i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: currentColor; transition: transform .55s var(--ease-out), opacity .55s var(--ease-out); }
.header__dots i:nth-child(1) { transform: translateY(-8.5px); }
.header__dots i:nth-child(3) { transform: translateY(8.5px); }
.header__burger[aria-expanded="true"] { color: var(--turq-ink); }
.header__burger[aria-expanded="true"] .header__dots i:nth-child(1), .header__burger[aria-expanded="true"] .header__dots i:nth-child(3) { transform: translateY(0) scale(.4); opacity: 0; }
@media (hover: hover) { .header__burger:hover { color: var(--turq-ink); } }

/* ---------- Schnellzugriff: Rail + einfahrendes Panel ---------- */
.quick {
  --quick-w: min(460px, calc(100vw - 72px));
  --quick-x: var(--quick-w);
  position: fixed; right: 0; top: 50%; z-index: 900;
  display: flex; align-items: center;
  transform: translate3d(var(--quick-x), -50%, 0);
  transition: transform .6s var(--ease-out);
}
.quick.is-open { --quick-x: 0px; }
/* Buttons sind 8px breiter als sichtbar; der Überstand liegt hinter dem Panel und fährt beim Hover heraus */
.rail { position: relative; z-index: 0; display: flex; flex-direction: column; gap: 4px; transform: translateX(8px); transition: transform .45s var(--ease-out); }
.quick:not(.is-open) .rail:hover { transform: none; }
.quick.is-hidden { --quick-x: calc(var(--quick-w) + 72px); }
.rail__btn { width: 60px; height: 52px; padding: 0 8px 0 0; border: 0; display: grid; place-items: center; border-radius: var(--r) 0 0 var(--r); color: #fff; cursor: pointer; }
.rail__btn .ico { width: 24px; height: 24px; stroke-width: 1.8; }
.ico--fill { fill: currentColor !important; stroke: none !important; }
.rail__btn--turq { background: var(--turq-ink); }
.rail__btn--mint { background: #afdede; }
.rail__btn--navy { background: var(--navy); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.quick__panel {
  position: relative; z-index: 1;
  width: var(--quick-w); max-height: calc(100svh - var(--header-h) - 32px); overflow-y: auto;
  padding: 40px 44px 44px; background: #dce9ee; color: var(--navy);
  font-size: .92rem; box-shadow: 0 24px 60px -28px rgba(20, 29, 84, 0);
  transition: box-shadow .6s var(--ease-out);
}
.quick.is-open .quick__panel { box-shadow: var(--shadow); }
.quick__block + .quick__block { margin-top: 22px; }
.quick__block h3 { margin-bottom: 6px; font-size: .95rem; font-weight: 600; }
.quick__block p { line-height: 1.6; }
.quick__panel .hours { gap: 2px 14px; line-height: 1.55; }
.quick__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; margin-top: var(--header-h); height: max(460px, min(calc(100svh - var(--header-h)), 900px)); overflow: hidden; background: #fff; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s cubic-bezier(.2, .6, .3, 1); }
.hero__slide.is-active .hero__media img { transform: scale(1); }
/* Badges auf Bildern (Hero-Slide 1 und 3D-Röntgen): halbtransparentes Weiß mit Blur */
.hero__badge, .xray__caption, .pc__badge { position: absolute; padding: 9px 14px; border-radius: var(--r); background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--navy); font-size: .82rem; font-weight: 400; line-height: 1.2; }
.hero__badge { right: 24px; bottom: 24px; z-index: 2; }
.xray__caption { left: 24px; bottom: 24px; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .86) 18%, rgba(255, 255, 255, .25) 48%, rgba(255, 255, 255, 0) 70%); }
.hero__content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px; }
.hero__title { max-width: 14ch; font-size: clamp(2.6rem, min(5vw, 8.5svh), 4.9rem); font-weight: 600; line-height: 1.04; letter-spacing: -.025em; color: var(--navy); }
.hero__copy { margin-top: 26px; max-width: 46ch; font-size: clamp(1.02rem, 1.3vw, 1.18rem); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; gap: 10px; justify-content: center; }
.hero__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(30, 43, 121, .22); cursor: pointer; overflow: hidden; position: relative; transition: width .5s var(--ease-out), background .3s; }
.hero__dot.is-active { width: 56px; background: rgba(30, 43, 121, .18); }
/* Füllung über einen weichen Verlaufsrand statt scaleX: der Rand wandert subpixelgenau, statt alle ~160ms um ein ganzes Pixel zu springen */
@property --p { syntax: "<length-percentage>"; inherits: false; initial-value: -2px; }
.hero__dot i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) calc(var(--p) - 1.5px), transparent calc(var(--p) + 1.5px)); }

/* =========================================================
   LEISTUNGEN – Elara Vos: links sticky, rechts gleiten Einträge ein
   ========================================================= */
.services { background: var(--sky); padding: clamp(110px, 12vw, 190px) 0 clamp(90px, 10vw, 160px); overflow-x: clip; }
.services__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(48px, 8vw, 140px); align-items: start; }
.services__aside { align-self: stretch; }
.services__sticky { position: sticky; top: calc(var(--header-h) + 64px); }
.services__sticky .lead { max-width: 40ch; }
.svc {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "icon icon" "title title" "text link";
  column-gap: 32px;
  padding: 48px 0 52px;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translate3d(300px, 0, 0);
  transition: opacity 1.05s var(--ease-out), transform 1.2s var(--ease-out);
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc.is-in { opacity: 1; transform: none; }
.svc__icon { grid-area: icon; width: 46px; height: 46px; margin-bottom: 26px; color: var(--turq-ink); stroke-width: 1.4; }
.svc__title { grid-area: title; font-size: clamp(1.45rem, 2.1vw, 2rem); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; color: var(--navy); }
.svc__text { grid-area: text; margin-top: 14px; max-width: 52ch; color: var(--muted); }
.svc__link { grid-area: link; align-self: end; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 400; color: var(--navy); white-space: nowrap; }
.svc__link .ico { transition: transform .35s var(--ease-out); }
.svc__link:hover .ico { transform: translateY(4px); }

/* =========================================================
   PRAXIS – Yoga Grove: Section sticky, Bilder fahren von rechts ein
   ========================================================= */
.praxis { position: relative; height: 330vh; background: #fff; overflow-x: clip; }
.praxis__stage { position: sticky; top: var(--praxis-top, var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; } /* --praxis-top: per JS, wenn der Inhalt höher als das Fenster ist (Bühne scrollt erst bis zu ihrem Ende, dann greift der Pin) */
.praxis.is-tall .praxis__stage { padding-block: 24px; }
.praxis.is-tall .praxis__grid { align-items: end; }
.praxis__grid { --praxis-gap: clamp(40px, 7vw, 120px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--praxis-gap); align-items: center; }
.praxis__copy .lead { max-width: 44ch; }
.praxis__text { margin-top: 18px; max-width: 60ch; font-size: 1rem; line-height: 1.6; font-weight: 300; color: var(--ink-soft, inherit); }
@media (min-width: 901px) { .praxis__copy .h2 { margin-right: calc(var(--praxis-gap) * -1 + 24px); } } /* Headline darf in den Spaltenabstand, damit „Gemeinsam weiter.“ in eine Zeile passt (24 px Abstand zum Bild bleiben) */
.praxis__copy .btn { margin-top: 34px; }
.praxis__deck { position: relative; height: min(66vh, 640px); min-height: 380px; }
.pcard {
  position: absolute; inset: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--pale);
  box-shadow: var(--shadow);
  transform-origin: 50% 60%;
  will-change: transform;
}
.pcard::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--navy); opacity: var(--dim, 0); pointer-events: none; }
.pcard img { width: 100%; height: 100%; object-fit: cover; }
.pcard figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4.8rem clamp(22px, 2.4vw, 34px) clamp(22px, 2.4vw, 34px);
  color: #fff;
  background: linear-gradient(180deg, rgba(28, 40, 44, 0) 0%, rgba(28, 40, 44, .42) 48%, rgba(28, 40, 44, .78) 100%);
}
.pcard__title { margin-top: 0; font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 600; line-height: 1.1; text-shadow: 0 1px 10px rgba(28, 40, 44, .35); }
.pcard__text { margin-top: 8px; max-width: 34ch; font-size: .95rem; opacity: .92; text-shadow: 0 1px 10px rgba(28, 40, 44, .35); }
.pcard--placeholder { background: linear-gradient(135deg, var(--pale), var(--mint)); }
.pcard__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--turq-ink); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.pcard__ph .ico { width: 56px; height: 56px; stroke-width: 1.2; }
.pcard--placeholder figcaption { color: var(--navy); background: none; }
/* =========================================================
   ALLGEMEINE ZAHNHEILKUNDE – Reelio: Sticky-Stack, danach Accordion
   ========================================================= */
.dz {
  --dz-left: 34%;
  --dz-row: 58px;
  --dz-main: 92px;
  --dz-col-pad: clamp(24px, 3vw, 48px);
  position: relative;
  height: 760vh;
  background: #fff;
}
.dz__stage { position: sticky; top: var(--pin-top); height: calc(100svh - var(--pin-top)); padding-block: 18px 26px; }
.dz__board { position: relative; height: 100%; overflow: hidden; border-radius: var(--r-card); background: #fff; }

.dz-intro { position: absolute; left: 0; right: 0; top: 0; z-index: 30; padding: 8px 0 40px; background: #fff; }
.dz-intro .lead { max-width: 78ch; }

.dz-group { position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: 1; overflow: hidden; background: #fff; will-change: transform; }
.dz-group__title { position: absolute; left: 0; top: 0; width: var(--dz-left); padding: 0 var(--dz-col-pad) 0 0; }
.dz-group__title h3, .dz-main__title h3 { display: flex; align-items: center; min-height: var(--dz-main); font-size: clamp(1.45rem, 2vw, 1.95rem); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; color: var(--navy); }
.dz-group__title h3 { min-height: var(--dz-row); }
.dz-group__list { position: absolute; left: var(--dz-left); right: 0; top: 0; bottom: 0; }

.dz-item { position: absolute; left: 0; right: 0; top: 0; height: 100%; padding-right: var(--dz-col-pad); background: #fff; overflow: hidden; will-change: transform; }

.dz-head {
  width: 100%; height: var(--dz-row);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0; border: 0; background: none; text-align: left;
  box-shadow: inset 0 1px 0 var(--line);
  color: var(--navy);
}
.dz-head:disabled { cursor: default; }
.dz-head__title { font-size: clamp(1rem, 1.2vw, 1.12rem); font-weight: 600; line-height: 1.25; }
.dz-head--main { height: var(--dz-main); }
/* Akkordeon-Zeichen: drei Punkte, die sich beim Öffnen auf den mittleren reduzieren */
.dz-dots { position: relative; width: 22px; height: 22px; flex: 0 0 auto; opacity: 0; transition: color .3s ease; }
.dz-dots i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: currentColor; transition: transform .55s var(--ease-out), opacity .55s var(--ease-out); }
.dz-dots i:nth-child(1) { transform: translateY(-8.5px); }
.dz-dots i:nth-child(3) { transform: translateY(8.5px); }

.dz-body { display: grid; grid-template-rows: 1fr; }
.dz-body__inner { min-height: 0; overflow: hidden; }
.dz-body__inner > :first-child { margin-top: clamp(18px, 3vh, 34px); }
.dz-body p { max-width: 66ch; margin-bottom: 14px; font-size: clamp(.98rem, 1.15vw, 1.08rem); line-height: 1.6; }
.dz-body strong { font-weight: 600; }
.dz-links { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 30px; }
.dz-links span { width: 100%; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.dz-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: .86rem; font-weight: 400; transition: background .25s, border-color .25s; }
.dz-links a::after { content: "↗"; font-size: .8em; }
.dz-links a:hover { background: #fff; border-color: var(--turq-ink); }
.pc__links { margin: 22px 0 0; }

.dz-main { position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: 12; display: grid; grid-template-columns: var(--dz-left) minmax(0, 1fr); align-items: start; overflow: hidden; background: #fff; will-change: transform; }
.dz-main + .dz-main { z-index: 13; }
.dz-main__title { padding: 0 var(--dz-col-pad) 0 0; }
.dz-main__content { padding-right: var(--dz-col-pad); min-width: 0; }

/* Endzustand nach vollständigem Durchlauf: derselbe Stack als Accordion im Fluss */
.dz.is-accordion { height: auto; min-height: calc(100svh - var(--pin-top) - var(--sec-gap) + 2px); } /* nächste Section bleibt unterhalb des Sichtbereichs, bis gescrollt wird */
.dz.is-accordion .dz__stage { position: relative; top: auto; height: auto; }
.dz.is-accordion .dz__board { height: auto; overflow: visible; }
.dz.is-accordion .dz-intro { position: relative; transform: none !important; padding: 8px 0 40px; }
.dz.is-accordion .dz-group,
.dz.is-accordion .dz-item,
.dz.is-accordion .dz-main { position: relative; top: auto !important; height: auto !important; transform: none !important; }
.dz.is-accordion .dz-group { display: grid; grid-template-columns: var(--dz-left) minmax(0, 1fr); align-items: start; }
.dz.is-accordion .dz-group__title,
.dz.is-accordion .dz-group__list { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; }
.dz.is-accordion .dz-main { box-shadow: none; }
.dz.is-accordion .dz-body { grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-io); }
.dz.is-accordion .dz-body__inner { opacity: 0; transition: opacity .35s ease; }
.dz.is-accordion .is-open > .dz-body,
.dz.is-accordion .is-open .dz-main__content > .dz-body { grid-template-rows: 1fr; }
.dz.is-accordion .is-open .dz-body__inner { opacity: 1; transition: opacity .5s ease .15s; }
.dz.is-accordion .dz-head { cursor: pointer; }
.dz.is-accordion .dz-dots { opacity: 1; }
@media (hover: hover) {
  .dz.is-accordion .dz-head:hover .dz-head__title { color: var(--navy-deep); }
  .dz.is-accordion .dz-head:hover .dz-dots { color: var(--turq-ink); }
}
.dz.is-accordion .is-open .dz-dots i:nth-child(1), .dz.is-accordion .is-open .dz-dots i:nth-child(3) { transform: translateY(0) scale(.4); opacity: 0; }
.dz.is-accordion .is-open .dz-dots i:nth-child(2) { transform: scale(1.25); }
.dz.no-trans * { transition: none !important; }

/* =========================================================
   ZAHNERSATZ – Roofaro-Karten + Numa-Skalierung
   ========================================================= */
.prosth { margin-top: var(--sec-gap); padding: clamp(110px, 12vw, 180px) 0 0; background: var(--mist); }
.prosth__stack { margin-top: clamp(48px, 6vw, 84px); display: grid; gap: 40px; padding-bottom: 40px; }
.pc { position: sticky; top: calc(var(--header-h) + 24px); }
.pc:nth-child(2) { top: calc(var(--header-h) + 44px); }
.pc:nth-child(3) { top: calc(var(--header-h) + 64px); }
.pc:nth-child(4) { top: calc(var(--header-h) + 84px); }
.pc__inner {
  position: relative;
  min-height: clamp(440px, 64vh, 580px);
  height: var(--pc-h, auto); /* alle Karten gleich hoch (per JS auf die höchste gesetzt), sonst ragen gestapelte Karten unten heraus */
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: stretch;
  padding: clamp(18px, 1.8vw, 26px);
  border: 1px solid var(--navy);
  border-radius: var(--r-card);
  background: #fff; /* deckend, damit sich die gestapelten Karten nicht durchscheinen */
  box-shadow: 0 -10px 40px -24px rgba(20, 29, 84, .35);
  transform-origin: 50% 0;
  will-change: transform;
}
.pc__inner::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--navy); opacity: var(--cover, 0); pointer-events: none; }
.pc--flip .pc__media { order: 2; }
.pc__media { position: relative; border-radius: 6px; overflow: hidden; min-height: 0; }
.pc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* Bild bestimmt nie die Kartenhöhe */
.pc__badge { right: 16px; bottom: 16px; } /* Kennzeichnung KI-Bild, Gestaltung wie das DVT-Badge (gemeinsame Regel oben) */
.pc__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(8px, 2vw, 32px) clamp(4px, 2vw, 28px); }
.pc__body .chip { align-self: flex-start; }
.pc__title { margin-top: 20px; font-size: clamp(1.8rem, 2.8vw, 2.7rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; color: var(--navy); }
.pc__body p { margin-top: 18px; max-width: 46ch; color: var(--muted); font-size: 1.04rem; }
.pc__facts { margin-top: 26px; display: grid; gap: 10px; }
.pc__facts li { display: flex; gap: 12px; align-items: baseline; font-size: .96rem; font-weight: 400; }
.pc__facts li::before { content: ""; width: 14px; height: 1px; background: var(--turq-ink); transform: translateY(-4px); flex: 0 0 auto; }

/* Zahntechnik im Haus – ruhiger Abschluss ohne Stack */
.lab { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: end; padding-top: clamp(110px, 11vw, 170px); padding-bottom: clamp(150px, 16vw, 260px); }
.lab__benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.benefit { min-height: 250px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 22px 30px; border: 1px solid var(--navy); border-radius: var(--r-card); background: transparent; opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.benefit.is-in { opacity: 1; transform: none; }
.benefit__icon { width: 60px; height: 60px; color: var(--turq-ink); stroke-width: 1.4; }
.benefit strong { margin-top: 22px; font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
.benefit span { margin-top: auto; padding-top: 16px; font-size: .9rem; color: var(--muted); }

/* =========================================================
   3D-RÖNTGEN – Relevé: Bild links sticky, rechts scrollen Indikationen
   ========================================================= */
.xray { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: #fff; }
.xray__visual { position: relative; }
.xray__sticky { position: relative; height: 100%; min-height: calc(100svh - var(--header-h)); overflow: hidden; background: #e9eef1; }
.xray__sticky img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--xs, 1.1)); transform-origin: 50% 40%; will-change: transform; }
.xray__content { padding-left: clamp(32px, 6vw, 110px); padding-right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.xray__intro { min-height: calc(90svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; padding: 120px 0 80px; }
.xray .eyebrow { color: var(--turq); }
.xray .h2 { color: #fff; }
.xray .tone { color: var(--turq); }
.xray .lead { color: rgba(255, 255, 255, .82); max-width: 46ch; }

/* =========================================================
   SERVICE – Mugen Studio: schmale Panels, Hover öffnet
   ========================================================= */
.service { padding: clamp(110px, 12vw, 180px) 0; background: #fff; }
.service__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.service__head .lead { margin-top: 0; max-width: 46ch; justify-self: end; }
.panels { display: flex; gap: 12px; height: clamp(440px, 56vh, 540px); margin-top: clamp(48px, 5vw, 72px); container-type: inline-size; }
.panel {
  position: relative; flex: 1 1 0; min-width: 0;
  border-radius: var(--r-card);
  background: var(--cream);
  overflow: hidden; cursor: pointer;
  transition: flex-grow .75s var(--ease-io), background .45s ease;
}
.panel.is-open { flex-grow: 3.6; background: var(--turq); cursor: default; }
.panel:focus-visible { outline-offset: -3px; }
.panel__label { position: absolute; left: 50%; bottom: 26px; font-size: 1rem; font-weight: 600; white-space: nowrap; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); transition: opacity .3s ease .25s; }
.panel__icon {
  position: absolute; left: 50%; top: 24px; width: 32px; height: 32px; color: var(--navy); stroke-width: 1.4;
  transform: translateX(-50%);
  transition: left .75s var(--ease-io), top .75s var(--ease-io), width .75s var(--ease-io), height .75s var(--ease-io), transform .75s var(--ease-io);
}
.panel__body { position: absolute; left: 28px; bottom: 28px; width: 300px; width: clamp(220px, calc((100cqw - 72px) * .375 - 56px), 380px); opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .4s var(--ease-out); pointer-events: none; }
.panel__body h3 { font-size: clamp(1.45rem, 1.9vw, 1.9rem); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; }
.panel__body p { margin-top: 14px; font-size: .98rem; }
.panel__link { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding-bottom: 3px; font-size: .9rem; font-weight: 400; transition: color .3s ease; }
.panel__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff; transform: scaleX(0); transform-origin: center; transition: transform .4s var(--ease-out); }
.panel__link:hover, .panel__link:focus-visible { color: #fff; }
.panel__link:hover::after, .panel__link:focus-visible::after { transform: scaleX(1); }
@media (hover: none) { .panel__link::after { transform: scaleX(1); background: currentColor; } } /* Touch: kein Hover, Unterstrich bleibt als Hinweis sichtbar */
.panel.is-open .panel__label { opacity: 0; transition-delay: 0s; }
.panel.is-open .panel__icon { left: 26px; top: 26px; width: 48px; height: 48px; transform: none; }
.panel.is-open .panel__body { opacity: 1; transform: none; pointer-events: auto; transition: opacity .5s ease .38s, transform .6s var(--ease-out) .38s; }

/* =========================================================
   KONTAKT / FOOTER
   ========================================================= */
.contact { padding: clamp(100px, 10vw, 150px) 0 clamp(72px, 7vw, 104px); background: var(--mist); }
.contact .lead { max-width: 54ch; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 5vw, 80px); margin-top: clamp(48px, 5vw, 70px); align-items: stretch; }
.contact__block + .contact__block { margin-top: 30px; }
.contact__block h3 { margin-bottom: 8px; font-size: 1rem; font-weight: 600; }
.contact__block p { line-height: 1.7; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; line-height: 1.6; }
.hours dt { font-weight: 400; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.map { position: relative; display: flex; min-height: 380px; border: 1px solid var(--navy); border-radius: var(--r-card); background: #fff; overflow: hidden; }
.map__consent { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(28px, 3vw, 40px) clamp(20px, 3vw, 40px); text-align: center; color: var(--navy); }
.map__title { margin-top: 18px; font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--navy); }
.map__consent p { margin-top: 14px; max-width: 46ch; font-size: .92rem; }
.map__consent .map__legal { margin-top: 12px; }
.map__consent .btn { margin-top: 24px; }
.map__pin { width: 54px; height: 54px; stroke-width: 1.4; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.footer { background: var(--mist); color: var(--navy); font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: clamp(30px, 3vw, 44px); background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--pad)) 1px no-repeat; } /* feine Linie nur in Content-Breite */
.footer nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.footer nav a { position: relative; padding: 6px 0; transition: color .3s ease; }
.footer nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--turq-ink); transform: scaleX(0); transform-origin: center; transition: transform .4s var(--ease-out); }
.footer nav a:hover, .footer nav a:focus-visible { color: var(--turq-ink); }
.footer nav a:hover::after, .footer nav a:focus-visible::after { transform: scaleX(1); }

/* ---------- 360° dialog ---------- */
/* Lightbox 360°-Tour */
.tour {
  width: min(1240px, calc(100vw - 48px)); height: min(760px, calc(100svh - 48px)); max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: var(--r-card); overflow: hidden;
  background: var(--pale); box-shadow: 0 40px 100px -30px rgba(10, 16, 50, .35);
  opacity: 0; transform: scale(.96); transition: opacity .45s var(--ease-out), transform .55s var(--ease-out), overlay .45s allow-discrete, display .45s allow-discrete;
}
.tour[open] { opacity: 1; transform: none; }
@starting-style { .tour[open] { opacity: 0; transform: scale(.96); } }
.tour::backdrop { background: rgba(255, 255, 255, 0); backdrop-filter: blur(0); transition: background .45s ease, backdrop-filter .45s ease, overlay .45s allow-discrete, display .45s allow-discrete; }
.tour[open]::backdrop { background: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); }
@starting-style { .tour[open]::backdrop { background: rgba(255, 255, 255, 0); backdrop-filter: blur(0); } }
/* Dr.-Flex-Buchung: deren Overlay (inline schwarz 50 %) bekommt denselben milchigen Blur wie die Lightboxen */
#dr-flex-embed-holder { background: rgba(255, 255, 255, .55) !important; -webkit-backdrop-filter: blur(8px) !important; backdrop-filter: blur(8px) !important; }
.tour__frame, .tour__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.tour__close {
  position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; padding: 0; border: 0; border-radius: var(--r);
  display: grid; place-items: center; background: #fff; color: var(--navy); cursor: pointer;
  box-shadow: 0 6px 20px -8px rgba(10, 16, 50, .5); transition: background .3s ease, color .3s ease;
}
.tour__close:hover, .tour__close:focus-visible { background: var(--navy); color: #fff; }
.tour__close .ico { width: 22px; height: 22px; stroke-width: 2; }

/* Platzhalter Online-Terminbuchung (Dr. Flex): gleiche Lightbox wie die 360°-Tour, weiße Kachel statt Tour */
.flex { width: 100%; height: 100%; display: grid; padding: 24px; overflow: auto; }
.flex__tile { margin: auto; width: min(520px, 100%); display: flex; flex-direction: column; align-items: center; padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px); border: 1px solid var(--navy); border-radius: var(--r-card); background: #fff; text-align: center; }
.flex__icon { width: 60px; height: 60px; color: var(--turq-ink); stroke-width: 1.4; }
.flex__tile .chip { margin-top: 22px; }
.flex__title { text-wrap: balance; margin-top: 16px; font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; color: var(--navy); }
.flex__text { margin-top: 14px; max-width: 46ch; font-size: .95rem; color: var(--muted); }
.flex__legal, .map__legal { margin-top: 12px; max-width: 52ch; font-size: .8rem; line-height: 1.55; color: var(--muted); }
.flex__legal a, .map__legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; transition: color .3s ease; }
.flex__legal a:hover, .map__legal a:hover, .flex__legal a:focus-visible, .map__legal a:focus-visible { color: var(--turq-ink); }
.flex__tile .btn { margin-top: 24px; }
.tour__consent[hidden], .tour__frame[hidden] { display: none; }


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  /* Menü nach Vorlage: Seite darunter liegt unter weißem, transparentem Blur. Links groß und rechtsbündig,
     der Rand rechts liegt auf der Mittellinie der Burger-Punkte (Pad + 11 px). Header bleibt scharf. */
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: flex-end; justify-content: flex-start; gap: 0; padding: 4.2rem calc(var(--pad) + 11px) 40px; overflow-y: auto; overscroll-behavior: contain; background: rgba(255, 255, 255, .65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
  .nav > a:not(.btn) { padding: 0; font-size: clamp(2rem, 8.75vw, 3rem); font-weight: 600; line-height: 1.18; letter-spacing: -.02em; text-align: right; color: var(--navy); }
  .nav > a:not(.btn)::after { display: none; }
  .nav__cta { margin: 28px 0 0; min-height: 36px; padding: 0 15px; font-size: .75rem; }
  .header__burger { display: block; }
}

@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .services__grid { grid-template-columns: 1fr; gap: 40px; }
  .services__sticky { position: static; }
  .lab { grid-template-columns: 1fr; align-items: start; }
  .service__head { grid-template-columns: 1fr; }
  .service__head .lead { justify-self: start; }
}

@media (max-width: 900px) {
  .hero { height: auto; min-height: calc(100svh - var(--header-h)); }
  .hero__slides { position: relative; height: calc(100svh - var(--header-h)); min-height: 600px; }
  .hero__media { width: 100%; height: 46%; bottom: auto; }
  .hero__media::after { background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 70%); }
  .hero__badge { top: 16px; right: 16px; bottom: auto; }
  .hero__content { justify-content: flex-end; padding-bottom: 86px; }
  .hero__title { font-size: clamp(2.3rem, 9vw, 3.4rem); }
  .hero__dots { display: none; }

  .svc { transform: translate3d(90px, 0, 0); grid-template-areas: "icon" "title" "text" "link"; grid-template-columns: 1fr; }
  .svc__link { margin-top: 20px; justify-self: start; }

  .praxis { height: auto; padding: 100px 0 80px; }
  .praxis__stage { position: static; min-height: 0; display: block; }
  .praxis__grid { grid-template-columns: 1fr; gap: 44px; }
  .praxis__deck { height: auto; min-height: 0; display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; overscroll-behavior-y: auto; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) 18px; scrollbar-width: none; }
  .praxis__deck::-webkit-scrollbar { display: none; }
  .pcard { position: relative; inset: auto; flex: 0 0 82%; aspect-ratio: 4 / 5; scroll-snap-align: center; transform: none !important; }
  .pcard::before { display: none; }

  .dz { --dz-left: 0px; --dz-row: 54px; --dz-main: 44px; --dz-col-pad: 20px; height: 820vh; }
  .dz__stage { padding-inline: 0; padding-block: 0; }
  .dz__board { border-radius: 0; }
  .dz-intro { position: static; padding: 24px var(--dz-col-pad) 28px; }
  .dz.is-accordion .dz-intro { padding: 24px var(--dz-col-pad) 28px; } /* sonst setzt die generelle Accordion-Regel die Seitenabstände zurück auf 0 */
  .dz-group__title { width: 100%; padding: 0 var(--dz-col-pad); }
  .dz-group__title h3 { min-height: var(--dz-main); }
  .dz-group__list { left: 0; top: var(--dz-main); }
  .dz-item { padding-left: var(--dz-col-pad); }
  .dz-main { grid-template-columns: 1fr; }
  .dz-main__title { padding: 0 var(--dz-col-pad); }
  .dz-main__content { padding-left: var(--dz-col-pad); }
  .dz-head--main { height: var(--dz-row); box-shadow: inset 0 1px 0 var(--line); }
  .dz-body p { font-size: .95rem; margin-bottom: 10px; }
  .dz-body__inner > :first-child { margin-top: 0; }
  .dz-head__title { font-size: clamp(.875rem, 3.95vw, 1rem); } /* ab 360 px Breite bleiben alle Themen einzeilig */
  .dz-head { position: relative; z-index: 1; } /* bleibt antippbar, obwohl der Text den unteren Leerraum überlappt */
  .dz:not(.is-accordion) .dz-body, .dz.is-accordion .is-open > .dz-body, .dz.is-accordion .is-open .dz-main__content > .dz-body { margin-top: calc(var(--dz-pull, 0px) * -1); } /* kein Absatz zwischen Überschrift und Text */
  .dz.is-accordion .dz-body { transition: grid-template-rows .55s var(--ease-io), margin-top .55s var(--ease-io); }
  .dz-links { margin: 12px 0 20px; }
  .dz-links a { padding: 6px 10px; font-size: .8rem; }
  .dz.is-accordion .dz-group { grid-template-columns: 1fr; }
  .dz.is-accordion .dz__stage { padding-inline: 0; }

  .pc:nth-child(1) { top: calc(var(--pin-top) + 10px); }
  .pc:nth-child(2) { top: calc(var(--pin-top) + 18px); }
  .pc:nth-child(3) { top: calc(var(--pin-top) + 26px); }
  .pc:nth-child(4) { top: calc(var(--pin-top) + 34px); }
  .pc__inner { height: auto; min-height: 0; grid-template-columns: 1fr; gap: 6px; }
  .pc--flip .pc__media { order: 0; }
  .pc__media { aspect-ratio: 16 / 8; }
  .pc__badge { right: 10px; bottom: 10px; }
  .pc__body { padding: 14px 8px 10px; }
  .pc__title { margin-top: 12px; font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .pc__body p { margin-top: 10px; font-size: .96rem; }
  .pc__facts { display: none; }
  .pc__links { margin-top: 12px; gap: 6px 8px; }
  .pc__links span { font-size: .7rem; }
  .pc__links a { padding: 5px 10px; font-size: .78rem; }
  .prosth__stack { gap: 24px; }

  .lab__benefits { grid-template-columns: 1fr; }
  .benefit { min-height: 0; flex-direction: row; text-align: left; align-items: center; gap: 18px; padding: 22px; flex-wrap: wrap; }
  .benefit__icon { width: 48px; height: 48px; }
  .benefit strong { margin-top: 0; }
  .benefit span { width: 100%; margin-top: 0; padding-top: 0; }

  .xray { grid-template-columns: 1fr; }
  .xray__visual { height: 46svh; min-height: 300px; }
  .xray__sticky { min-height: 0; }
  .xray__content { position: relative; z-index: 2; background: var(--navy); padding-inline: var(--pad); }
  .xray__intro { min-height: 0; padding: 70px 0 50px; }

  .panels { height: 460px; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad); overflow-x: auto; overscroll-behavior-x: contain; overscroll-behavior-y: auto; touch-action: pan-x pan-y; scroll-snap-type: x proximity; scrollbar-width: none; gap: 12px; }
  .panels::-webkit-scrollbar { display: none; }
  /* Geschlossen: schmaler Streifen mit nur dem Icon, wartet am Rand. Offen: zieht sich per
     Transition (wie am Desktop der flex-grow-Wechsel) auf fast volle Breite auf. Welche Kachel
     offen ist, bestimmt weiterhin der bestehende scroll-Listener (zentrierte Kachel wird is-open). */
  .panel { flex: 0 0 72px; scroll-snap-align: center; background: var(--cream); transition: flex-basis .6s var(--ease-io), background .45s ease; }
  .panel.is-open { flex-basis: min(78vw, 420px); background: var(--turq); }
  .panel__label { display: none; }
  .panel__body { min-width: 0; width: calc(100% - 56px); }

  .contact__grid { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .flex { padding: 12px; }
  .flex__tile { padding: 28px 20px 26px; }
  .flex__title { font-size: 1.25rem; }
  .flex__text { font-size: .88rem; }
  .flex__legal { font-size: .76rem; }
  .footer__inner { flex-direction: column; justify-content: center; gap: 12px; padding-block: 30px 34px; text-align: center; }
}

@media (max-width: 760px) {
  .legal__facts { grid-template-columns: 1fr; gap: 2px; }
  .legal__facts dd { margin-bottom: 14px; }
  :root { --header-h: 68px; --pin-top: 0px; }
  .hero { touch-action: pan-y; } /* waagerechtes Wischen wechselt die Slides, senkrecht scrollt die Seite */
  .hero__dots { display: flex; transition: opacity .35s ease; }
  .hero__dots.is-off { opacity: 0; pointer-events: none; }
  .dz__stage { height: 100vh; height: 100lvh; } /* volle Höhe ohne Browser-Leisten: sonst bleibt unten ein weißer Streifen, wenn die Leisten wegfahren */

  /* Service: Kacheln untereinander statt Swipe. Geschlossen eine Zeile (Icon + Kurztitel), die offene klappt per Rasterzeile auf */
  .panels { flex-direction: column; height: auto; margin-inline: 0; padding: 0; overflow: visible; touch-action: auto; scroll-snap-type: none; gap: 8px; }
  .panel, .panel.is-open { flex: 0 0 auto; }
  .panel { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 64px 0fr; scroll-snap-align: none; transition: grid-template-rows .6s var(--ease-io), background .45s ease; }
  .panel.is-open { grid-template-rows: 88px 1fr; }
  .panel__icon { left: 20px; top: 16px; transform: none; }
  .panel.is-open .panel__icon { left: 20px; top: 24px; }
  .panel__label { display: flex; align-items: center; left: 68px; top: 0; bottom: auto; height: 64px; writing-mode: horizontal-tb; transform: none; }
  .panel__body { position: static; grid-row: 2; width: auto; min-width: 0; min-height: 0; overflow: hidden; padding-inline: 20px; }
  .panel__body > :last-child { margin-bottom: 24px; }
  .quick { display: none; }
  .eyebrow { margin-bottom: 16px; }
}

/* =========================================================
   NIEDRIGE DESKTOP-FENSTER (z. B. Notebook mit 125 % Windows-Skalierung)
   Ab 800 px Fensterhöhe abwärts wird kompakter gesetzt; größere Fenster bleiben unberührt.
   ========================================================= */
.prosth__stack.is-flow .pc { position: relative; top: auto; } /* per JS, wenn die Karten nicht ins Fenster passen: kein Stapeln, nichts wird abgeschnitten */
@media (min-width: 901px) {
  /* Zahnheilkunde: Intro läuft als normaler Vorlauf vor dem gepinnten Stack (per JS, siehe placeDzIntro) */
  .dz.is-detached .dz-intro { position: static; max-width: var(--max); margin-inline: auto; padding: 8px var(--pad) 32px; }
  .dz.is-detached.is-accordion .dz-intro { position: static; padding: 8px var(--pad) 32px; }
}
@media (min-width: 1101px) and (max-height: 800px) {
  :root { --header-h: 72px; }
  .header__logo img { height: 46px; }
}
@media (min-width: 901px) and (max-height: 800px) {
  .eyebrow { margin-bottom: 14px; }
  .lead { margin-top: 16px; font-size: 1rem; }

  .hero__content { padding-bottom: 30px; }
  .hero__copy { margin-top: 16px; font-size: 1rem; }
  .hero__actions { margin-top: 22px; }
  .hero__dots { bottom: 18px; }

  .praxis__text { margin-top: 10px; font-size: .94rem; line-height: 1.5; }
  .praxis__copy .btn { margin-top: 20px; }
  .praxis__deck { min-height: 320px; }

  .dz__stage { padding-block: 8px 10px; }

  .pc__inner { min-height: 380px; }
  .pc__body { padding-block: 4px; }
  .pc__title { margin-top: 12px; font-size: clamp(1.6rem, min(2.8vw, 5.5svh), 2.7rem); }
  .pc__body p { margin-top: 10px; font-size: .94rem; line-height: 1.5; }
  .pc__facts { margin-top: 12px; gap: 4px; }
  .pc__facts li { font-size: .9rem; }
  .pc__links { margin-top: 12px; gap: 6px 8px; }
  .pc__links a { padding: 5px 10px; font-size: .8rem; }

  .service { padding-block: clamp(48px, 9svh, 80px); } /* Überschrift und Panels passen zusammen ins Fenster */
  .panels { height: clamp(320px, 52vh, 540px); margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-words] .w, [data-reveal], .svc, .benefit { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
  .hero__media img { transform: none !important; transition: none !important; }
  .hero__dot.is-active i { --p: calc(100% + 2px); }
  .quick { transition: none; }
  .panel, .panel * { transition-duration: .01ms !important; }
  .btn__label > span, .btn__arrow .ico { transition: none !important; }
}
