/* =========================================================
   Zahnarztpraxis Renato Kunz – Gestaltung „Schiefer“
   Regeln: DESIGN.md · Schriften lokal (SIL OFL), keine Fremd-Requests
   ========================================================= */

/* ---------- Schriften ---------- */
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/fonts/merriweather-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/fonts/merriweather-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Merriweather"; font-style: italic; font-weight: 300 900; font-display: swap;
  src: url("/fonts/merriweather-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/fonts/merriweather-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/fonts/merriweather-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Merriweather Sans"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url("/fonts/merriweather-sans-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }

/* ---------- Tokens ---------- */
:root {
  --slate: #303f49;
  --slate-2: #4a5c6b;
  --slate-deep: #26323a;
  --ink: #1f2a31;
  --text: #3d4a53;
  --muted: #5b6871;
  --mist: #eef1f3;
  --paper: #ffffff;
  --line: #d8dee2;
  --line-on-slate: rgba(255, 255, 255, .2);
  --on-slate: #ffffff;
  --on-slate-soft: #c9d3d9;

  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Merriweather Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.4vw, 72px);
  --measure: 68ch;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --step--1: .875rem;
  --step-0: clamp(1.0625rem, .98rem + .3vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --step-3: clamp(2rem, 1.5rem + 2vw, 3.1rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.3vw, 4.4rem);

  /* Schieferflächen: Unifarbe; über Fotos leicht transparent mit Unschärfe für Lesbarkeit */
  --slate-glass: rgba(48, 63, 73, .82);
  --glass-blur: blur(16px) saturate(1.2);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 var(--step-0)/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 300; line-height: 1.15; letter-spacing: -.01em; margin: 0; text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--slate); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--ink); }
strong { color: var(--ink); font-weight: 600; }
::selection { background: var(--slate); color: #fff; }
:focus-visible { outline: 2px solid var(--slate-2); outline-offset: 3px; border-radius: 2px; }
.num { font-variant-numeric: tabular-nums; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }
.label { font: 600 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.6em; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.btn--light { background: #fff; color: var(--slate); }
.btn--light:hover { background: var(--mist); color: var(--ink); }
.btn--slate { background: var(--slate); color: #fff; }
.btn--slate:hover { background: var(--slate-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font: 600 1rem/1.4 var(--sans); text-decoration: none; color: var(--slate); }
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Masthead: Schieferfläche ---------- */
.masthead { background: var(--slate-glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); color: var(--on-slate); position: relative; z-index: 20; }
.masthead a { color: var(--on-slate); text-decoration: none; }
.masthead__logo img { filter: brightness(0) invert(1); width: 118px; height: auto; }
.masthead__nav ul { list-style: none; margin: 0; padding: 0; }
.masthead__nav a { display: block; font: 400 1.25rem/1.2 var(--serif); padding: .8em 0; border-bottom: 1px solid var(--line-on-slate); transition: color .25s var(--ease), padding-left .35s var(--ease); }
.masthead__nav a:hover { color: var(--on-slate-soft); padding-left: .35em; }
.masthead__nav a[aria-current="page"] { font-weight: 700; }
.masthead__contact .label { color: var(--on-slate-soft); }
.masthead__phone { display: inline-block; margin-top: .35em; font: 400 2rem/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.masthead__phone:hover { color: var(--on-slate-soft); }
.masthead__today { margin: .7em 0 0; font-size: .95rem; color: var(--on-slate-soft); }
.call-num { display: none; }
.masthead__today b { color: #fff; font-weight: 600; }
.masthead :focus-visible { outline-color: #fff; }

/* Sprachwahl */
.langs { position: relative; z-index: 25; }
.langs summary { list-style: none; cursor: pointer; display: inline-grid; place-items: center; min-width: 44px; height: 40px; padding: 0 .7em; border: 1px solid var(--line-on-slate); border-radius: 999px; font: 600 .82rem/1 var(--sans); letter-spacing: .08em; color: #fff; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { background: rgba(255,255,255,.14); }
.langs ul { position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px; margin: 0; padding: 6px; list-style: none; background: var(--slate-deep); border-radius: 10px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.langs a { display: block; padding: .55em .8em; border-radius: 6px; font: 500 .95rem/1.2 var(--sans); color: var(--on-slate); }
.langs a:hover { background: rgba(255,255,255,.1); }
.langs a[aria-current] { font-weight: 700; color: #fff; }

.masthead__book { display: none; }
.book-line { margin: .2em 0 1.2em; }

/* Desktop: kein Menü-Toggle */
@media (min-width: 1024px) {
  .masthead__toggle { display: none; }
}

/* Handy & Tablet: Schieferleiste oben */
@media (max-width: 1023.98px) {
  .masthead { position: sticky; top: 0; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 10px var(--gutter); box-shadow: 0 6px 20px -10px rgba(0,0,0,.45); }
  .masthead__logo img { width: 58px; }
  .langs { justify-self: end; }
  .masthead__call { justify-self: end; display: inline-flex; align-items: center; gap: .5em; padding: .65em 1.1em; border-radius: 999px; background: #fff; color: var(--slate) !important; font: 600 .95rem/1 var(--sans); }
  .masthead__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-on-slate); border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
  .masthead__toggle .icon { width: 22px; height: 22px; }
  .masthead__nav, .masthead__contact { grid-column: 1 / -1; display: none; }
  .masthead.is-open .masthead__nav, .masthead.is-open .masthead__contact { display: block; }
  .masthead.is-open .masthead__nav { margin-top: 8px; }
  .masthead.is-open .masthead__contact { padding: 20px 0 14px; }
  .masthead__phone { font-size: 1.6rem; }
  .callbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--slate-glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: 0 10px 30px -10px rgba(0,0,0,.55); transition: transform .4s var(--ease), opacity .4s var(--ease); }
  .callbar a { flex: 1; display: flex; justify-content: center; align-items: center; gap: .5em; padding: .85em .6em; border-radius: 999px; color: #fff; font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap; }
  .callbar a.callbar__book { background: #fff; color: var(--slate); }
  .callbar.is-hidden { transform: translateY(140%); opacity: 0; }
  body { padding-bottom: 84px; }
}

/* Desktop: Leiste unten zentriert, mitlaufend */
@media (min-width: 1024px) {
  .callbar { position: fixed; left: 0; right: 0; bottom: 20px; margin: 0 auto; width: 380px; z-index: 30; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--slate-glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: 0 10px 30px -10px rgba(0,0,0,.55); transition: transform .4s var(--ease), opacity .4s var(--ease); }
  .callbar a { flex: 1; display: flex; justify-content: center; align-items: center; gap: .5em; padding: .75em 1em; border-radius: 999px; color: #fff; font: 600 .95rem/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background .2s; }
  .callbar a:hover { background: rgba(255,255,255,.12); }
  .callbar a.callbar__book { background: #fff; color: var(--slate); }
  .callbar a.callbar__book:hover { background: rgba(255,255,255,.88); }
  .callbar.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
  body { padding-bottom: 88px; }
}

/* ---------- Kopfbild ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(31,42,49,.78) 0%, rgba(31,42,49,.35) 38%, rgba(31,42,49,0) 62%); }
.hero__copy { padding: 0 var(--gutter) clamp(48px, 9vh, 96px); max-width: 980px; }
.hero h1 { color: #fff; font-size: clamp(2.05rem, 1.3rem + 3.4vw, 4.4rem); font-weight: 300; hyphens: manual; }
.hero__copy p { margin: 1.1em 0 0; max-width: 40ch; font-size: var(--step-1); line-height: 1.5; color: rgba(255,255,255,.92); }
.hero--page { min-height: clamp(420px, 62vh, 640px); }
.hero--page h1 { font-size: var(--step-3); }
@media (max-width: 1023.98px) {
  .hero { min-height: calc(100svh - 70px); }
  .hero--page { min-height: 380px; }
}

/* ---------- Abschnitte ---------- */
.section { padding: clamp(64px, 10vw, 128px) var(--gutter); }
.section--mist { background: var(--mist); }
.section--slate { background: var(--slate); color: var(--on-slate-soft); }
.section--slate h2, .section--slate h3, .section--slate strong { color: #fff; }
.section--slate a:not(.btn) { color: #fff; }
.section h2 { font-size: var(--step-3); }
.section h3 { font-size: var(--step-1); font-weight: 400; }
.prose { max-width: var(--measure); }
.prose > * + h2 { margin-top: 1.6em; }
.prose h2 + p, .prose h3 + p { margin-top: .6em; }
.prose > * + h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink); font-family: var(--serif); font-weight: 300; }
.split { display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }

/* Kontaktband unter dem Kopfbild */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; padding: 0 var(--gutter); background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.facts__item { display: flex; align-items: flex-start; gap: 16px; padding: 30px 0; }
.facts__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: #eef1f3; color: var(--slate); }
.facts__icon .icon { width: 20px; height: 20px; }
.facts .label { color: var(--muted); }
.facts p:not(.label) { margin: .4em 0 0; font: 400 1.15rem/1.4 var(--serif); }
.facts a { color: var(--ink); text-decoration: none; }
.facts p.facts__more { margin-top: .35em; font: 600 .9rem/1.3 var(--sans); }
.facts__more a { display: inline-flex; align-items: center; gap: .35em; color: var(--slate); }
.facts__more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.facts__more .icon { width: 16px; height: 16px; }
.facts p.facts__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .7em; }
.pill { display: inline-flex; align-items: center; padding: .6em 1.1em; border-radius: 999px; font: 600 .95rem/1 var(--sans); white-space: nowrap; transition: background .2s, color .2s; }
.facts .pill--line { border: 1px solid var(--line); color: var(--ink); }
.facts .pill--line:hover { border-color: var(--slate); }
.facts .pill--solid { background: var(--slate); color: #fff; }
.facts .pill--solid:hover { background: var(--slate-deep); }
.status { display: inline-flex; align-items: center; gap: .5em; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa5ac; }
.status--open::before { background: #3a9b5c; box-shadow: 0 0 0 4px rgba(58,155,92,.16); }
.status__detail::before { content: " · "; }
.facts__status .status { font-weight: 400; }
.facts__status .status__detail { display: block; margin-top: .2em; font: 400 .95rem/1.4 var(--sans); color: var(--muted); }
.facts__status .status__detail::before { content: none; }
@media (max-width: 859px) { .facts__item + .facts__item { border-top: 1px solid var(--line); } .facts__item { padding: 22px 0; } }
@media (min-width: 860px) { .facts { grid-template-columns: 1fr 1fr 1.15fr; } .facts__item { padding: 32px 28px; } .facts__item:first-child { padding-left: 0; } .facts__item + .facts__item { border-left: 1px solid var(--line); } }

/* Bildband mit Text */
.band { position: relative; overflow: hidden; color: #fff; isolation: isolate; padding: clamp(96px, 14vw, 180px) var(--gutter); }
.band__img { position: absolute; inset: 0; z-index: -2; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(31,42,49,.82) 0%, rgba(31,42,49,.55) 50%, rgba(31,42,49,.15) 100%); }
.band h2 { color: #fff; font-size: var(--step-3); }
.band p { max-width: 52ch; color: rgba(255,255,255,.92); }
.band a:not(.btn) { color: #fff; }
.band h2 + p { margin-top: .8em; }
.band .btn { margin-top: .6em; }

.band--praxis { text-align: center; }
.band--praxis::after { background: radial-gradient(120% 90% at 50% 40%, rgba(31,42,49,.55) 0%, rgba(31,42,49,.78) 100%); }
.praxis-head h2 { margin: 0 auto; }
.praxis-head p { margin: .7em auto 0; font: 300 var(--step-1)/1.5 var(--serif); color: rgba(255,255,255,.92); max-width: 40ch; }
.praxis-grid { list-style: none; margin: clamp(48px, 7vw, 88px) auto 0; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 0; }
.praxis-grid li { padding: 0 clamp(16px, 2vw, 28px); position: relative; }
.praxis-grid li + li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: rgba(255,255,255,.22); }
.praxis-grid .mark { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(48,63,73,.35); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); font: 300 2.4rem/1 var(--serif); color: #fff; transition: transform .5s cubic-bezier(.34,1.56,.64,1), background-color .35s var(--ease); }
.praxis-grid .mark--text { font-size: 1.35rem; font-weight: 400; }
.praxis-grid .mark .icon { width: 36px; height: 36px; }
.praxis-grid li:hover .mark { transform: scale(1.08) rotate(-6deg); background: rgba(255,255,255,.16); }
.praxis-grid h3 { margin-top: 18px; color: #fff; font-size: 1.25rem; font-weight: 400; overflow-wrap: normal; }
.praxis-grid p { margin: .5em auto 0; max-width: 26ch; font-size: .98rem; color: rgba(255,255,255,.88); }
@media (max-width: 699px) { .praxis-grid li + li::before { left: 30%; right: 30%; top: -20px; bottom: auto; width: auto; height: 1px; } }
@media (prefers-reduced-motion: no-preference) {
  .js .praxis-grid li.reveal { transform: translateY(26px) scale(.96); transition-delay: calc(var(--i, 0) * 160ms); }
  .js .praxis-grid li.reveal.is-in { transform: none; }
  .js .praxis-grid li.reveal .mark { transform: scale(.4); }
  .js .praxis-grid li.reveal.is-in .mark { transform: none; transition-delay: calc(var(--i, 0) * 160ms + 200ms); }
}

/* Herstellungskette */
.chain { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.chain li { counter-increment: step; position: relative; padding: 0 0 28px 56px; }
.chain li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; transition: background-color .35s var(--ease), color .35s var(--ease), transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .35s var(--ease); border-radius: 50%; border: 1px solid var(--slate-2); display: grid; place-items: center; font: 400 1rem/1 var(--serif); color: var(--slate); background: var(--paper); z-index: 1; }
.chain li::after { content: ""; position: absolute; left: 18px; top: 36px; bottom: 0; width: 1px; background: var(--line); }
.chain li:last-child::after { display: none; }
.chain h3 { font-size: 1.25rem; font-weight: 400; }
.chain p { margin: .35em 0 0; font-size: 1rem; }
@media (min-width: 1100px) {
  .chain { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .chain li { padding: 56px 0 0; }
  .chain li::after { left: 36px; right: -28px; top: 18px; bottom: auto; width: auto; height: 1px; }
}
.equipment { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 28px; }
@media (min-width: 900px) { .equipment { grid-template-columns: repeat(3, 1fr); } }
.equipment h3 { font-size: 1.25rem; font-weight: 400; margin-bottom: .4em; }
.equipment p { margin: 0; font-size: 1rem; }

/* Labor-Schritte: Kreise springen nacheinander auf, Linie zeichnet sich zum nächsten Schritt */
.chain li:hover::before, .js .chain li.reveal.is-in:hover::before { background: var(--slate); color: #fff; transform: scale(1.15) rotate(-8deg); box-shadow: 0 0 0 6px rgba(74,92,107,.14); }
@media (prefers-reduced-motion: no-preference) {
  .js .chain li.reveal { opacity: 1; transform: none; }                 /* Reihe selbst bleibt stehen */
  .js .chain li.reveal > * { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 1ms + 260ms); }
  .js .chain li.reveal.is-in > * { opacity: 1; transform: none; }
  .js .chain li.reveal::before { transform: scale(0) rotate(-120deg); }
  .js .chain li.reveal.is-in::before { animation: step-pop .8s cubic-bezier(.34,1.56,.64,1) backwards; animation-delay: calc(var(--d, 0) * 1ms); transform: none; }
  .js .chain li.reveal::after { clip-path: inset(0 0 100% 0); transition: clip-path .7s cubic-bezier(.65,0,.35,1); transition-delay: calc(var(--d, 0) * 1ms + 380ms); }
  .js .chain li.reveal.is-in::after { clip-path: inset(0 0 0 0); }
  @keyframes step-pop {
    0%   { transform: scale(0) rotate(-120deg); background: var(--slate); color: #fff; }
    55%  { transform: scale(1.25) rotate(10deg); background: var(--slate); color: #fff; box-shadow: 0 0 0 10px rgba(74,92,107,.18); }
    80%  { transform: scale(.95) rotate(-3deg); }
    100% { transform: none; background: var(--paper); color: var(--slate); box-shadow: 0 0 0 0 rgba(74,92,107,0); }
  }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1100px) {
  .js .chain li.reveal::after { clip-path: inset(0 100% 0 0); }
  .js .chain li.reveal.is-in::after { clip-path: inset(0 0 0 0); }
}

/* Praxis-Fakten */
.praxis-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 56px; }
.praxis-list li:last-child { border-bottom: 1px solid var(--line); }
.praxis-list li { padding: 18px 0; border-top: 1px solid var(--line); }

/* Team-Vorschau */
.people { display: grid; gap: clamp(32px, 5vw, 64px); margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .people { grid-template-columns: 1fr 1fr; } }
.person h3 { font-size: var(--step-2); font-weight: 300; }
.person .role { font: italic 400 1rem/1.4 var(--serif); color: var(--muted); margin: .4em 0 1em; }
.person blockquote, .quote { margin: 1.2em 0; padding: 0; font: italic 300 var(--step-1)/1.5 var(--serif); color: var(--ink); }
.quote::before, .person blockquote::before { content: "„"; }
.quote::after, .person blockquote::after { content: "“"; }

/* Lange Texte (Unterseiten) */
.longform h2 { font-size: var(--step-2); }
.longform > * + h2 { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.longform h3 { font-size: 1.25rem; font-weight: 400; }
.longform .role { font: italic 400 1rem/1.4 var(--serif); color: var(--muted); margin-top: .4em; }
.longform .names { list-style: none; padding: 0; }
.longform .names li { padding: .5em 0; border-bottom: 1px solid var(--line); }

/* Unterseiten: Bausteine */
.section-more { margin-top: clamp(32px, 4vw, 48px); }
.section--mist > h2, .section > h2.reveal:first-child { max-width: 24ch; }
.chain--long p { font-size: .98rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding: .7em 0 .7em 2.2em; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .85em; width: 1.4em; height: 1.4em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%234a5c6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.tech-grid { display: grid; gap: 28px 40px; margin-top: clamp(40px, 6vw, 64px); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tech-grid > div { padding: 26px; border: 1px solid rgba(255,255,255,.28); background: rgba(48,63,73,.38); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-radius: 4px; }
.tech-grid h3 { color: #fff; font-size: 1.25rem; font-weight: 400; }
.tech-grid p { margin: .6em 0 0; font-size: .98rem; max-width: none; }
.tech-grid a { display: inline-block; margin-top: .8em; font-weight: 600; }
.options { display: grid; gap: 0 56px; margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .options { grid-template-columns: 1fr 1fr; } }
.options article { padding: 26px 0; border-top: 1px solid var(--line); }
.options h3 { font-size: var(--step-1); font-weight: 400; }
.options p { margin: .6em 0 0; max-width: 52ch; }
.role { font: italic 400 1rem/1.4 var(--serif); color: var(--muted); margin-top: .6em; }
.hours { border-collapse: collapse; margin: 1.4em 0; width: 100%; max-width: 520px; }
.hours th, .hours td { text-align: left; padding: .7em 1.2em .7em 0; border-bottom: 1px solid var(--line-on-slate); font-weight: 400; }
.hours th { color: #fff; }
.hours td { white-space: nowrap; }
@media (max-width: 480px) { .hours th, .hours td { padding-right: .7em; font-size: .95rem; } .hours th { display: block; padding-bottom: 0; border-bottom: 0; } .hours tr { display: grid; grid-template-columns: auto auto; } .hours th { grid-column: 1 / -1; } }
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid h3 { margin-top: 16px; font-size: var(--step-1); font-weight: 400; }
.contact-grid p { margin: .6em 0 0; }
.mark-sm { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--slate-2); color: var(--slate); transition: transform .5s cubic-bezier(.34,1.56,.64,1), background-color .3s var(--ease), color .3s var(--ease); }
.mark-sm .icon { width: 26px; height: 26px; }
.contact-grid > div:hover .mark-sm { transform: scale(1.1) rotate(-6deg); background: var(--slate); color: #fff; }

/* Termine */
.appointments .phone-xl { display: inline-block; margin: .2em 0 .4em; white-space: nowrap; font: 300 clamp(2.2rem, 1.4rem + 2.6vw, 4rem)/1 var(--serif); color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; }
.appointments .phone-xl:hover { color: var(--on-slate-soft); }
.longform .phone-xl { display: inline-block; white-space: nowrap; font: 300 clamp(2rem, 1.4rem + 2vw, 3rem)/1.1 var(--serif); color: var(--slate); text-decoration: none; font-variant-numeric: tabular-nums; }
.longform .phone-xl:hover { color: var(--slate-2); }
.notice { margin-top: clamp(32px, 4vw, 48px); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line-on-slate); border-radius: 6px; background: rgba(0,0,0,.18); max-width: 62ch; }
.notice h3 { display: flex; gap: .55em; align-items: center; font-size: 1.3rem; font-weight: 700; }
.notice p { margin: .7em 0 0; }

/* ---------- Fuss ---------- */
.footer { background: var(--slate-deep); color: var(--on-slate-soft); padding: clamp(56px, 8vw, 96px) var(--gutter) 28px; }
.footer a { color: #fff; text-decoration: none; display: inline-flex; gap: .5em; align-items: center; }
.footer a:hover { color: var(--on-slate-soft); }
.footer h2 { color: #fff; font-size: 1.15rem; font-weight: 400; margin-bottom: .9em; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
.footer__note { display: flex; gap: .5em; font-size: .9rem; }
.footer__note .icon { margin-top: .25em; }
.footer__bottom { margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--line-on-slate); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .9rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { display: inline; }

/* ---------- Bewegung ---------- */
/* Parallax: Bildebene ist höher als der Abschnitt, damit beim Verschieben keine Lücken entstehen */
[data-parallax] { will-change: transform; }
.hero__img[data-parallax] { inset: -2% 0 -18% 0; }
.band__img[data-parallax] { inset: -16% 0; }
[data-hero-copy] { will-change: transform, opacity; }
/* gestaffeltes Einblenden in Reihen */
.js .tiles .tile, .js .chain li, .js .people .person, .js .equipment > div { transition-delay: calc(var(--i, 0) * 110ms); }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero__img img { animation: settle 2.4s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.05); filter: blur(2px); } to { transform: none; filter: none; } }
  @view-transition { navigation: auto; }
}

/* Scrollleiste im Schiefer-Ton */
html { scrollbar-color: var(--slate-2) var(--mist); }

/* =========================================================
   Panorama-Kopf: Logo zentriert über dem Bild, Menü zwischen
   feinen Linien, drei Schieferfelder ragen ins Kopfbild.
   ========================================================= */
.tiles { display: grid; gap: 2px; position: relative; z-index: 3; margin: 0 auto; width: calc(100% - 2 * var(--gutter)); max-width: 1600px; }
.hero--home { flex-direction: column; align-items: stretch; justify-content: flex-end; }
.hero--home .hero__copy { margin: auto; }
.tile { display: block; background: rgba(48, 63, 73, .52); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); color: #fff; text-decoration: none; padding: clamp(28px, 3vw, 40px); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .4s var(--ease); }
.tile:nth-child(2) { background: rgba(74, 92, 107, .46); }
.tile:hover, .tile:nth-child(2):hover { background: rgba(48, 63, 73, .7); }
.tile h2, .tile p, .tile .by, .tile .more { text-shadow: 0 1px 12px rgba(20,28,33,.35); }
.tile h2 { color: #fff; font-size: var(--step-2); font-weight: 300; }
.tile .by { display: block; margin-top: .45em; font: italic 400 1rem/1.4 var(--serif); color: rgba(255,255,255,.88); }
.tile p { margin: 1em 0 0; font-size: 1rem; color: rgba(255,255,255,.9); }
.tile .more { display: inline-flex; align-items: center; gap: .5em; margin-top: 1.2em; font: 600 1rem/1 var(--sans); }
.tile:hover, .js .tile.reveal.is-in:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); }
.tile:hover .more .icon { transform: translateX(4px); }
.tile .more .icon { transition: transform .35s var(--ease); }
.hero__copy { margin: 0 auto; text-align: center; }
.hero__copy p { margin-left: auto; margin-right: auto; }

@media (min-width: 1024px) {
  html { scroll-padding-top: 96px; }
  .masthead { position: absolute; top: 0; left: 0; right: 0; height: auto; display: flex; flex-direction: column; align-items: center; padding: 30px var(--gutter) 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; overflow: visible; }
  .masthead__logo img { width: 120px; }
  .masthead__nav { margin-top: 22px; width: min(1000px, 100%); border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); }
  .masthead__nav ul { display: flex; justify-content: center; gap: clamp(20px, 3vw, 48px); }
  .masthead__nav a { border: 0; padding: 16px 0; font: 500 1rem/1 var(--sans); letter-spacing: .04em; }
  .masthead__nav a:hover { padding-left: 0; }
  .masthead__nav a[aria-current="page"] { font-weight: 700; box-shadow: inset 0 -2px 0 #fff; }
  .masthead__contact { display: none; }
  .masthead__call { display: inline-flex; position: absolute; right: var(--gutter); top: 36px; align-items: center; gap: .5em; padding: .8em 1.3em; border-radius: 999px; background: #fff; color: var(--slate) !important; font: 600 1rem/1 var(--sans); }
  .masthead__call .call-num { display: inline; }
  .masthead__book { display: inline-flex; position: absolute; right: var(--gutter); top: 92px; align-items: center; padding: .6em 1.2em; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; color: #fff; font: 600 .92rem/1 var(--sans); }
  .masthead__book:hover { background: rgba(255,255,255,.14); }
  .masthead.is-stuck .masthead__book { display: none; }
  .langs { position: absolute; left: var(--gutter); top: 38px; }
  .langs summary { height: 44px; min-width: 52px; }
  .langs ul { right: auto; left: 0; }
  .masthead.is-stuck .langs { position: relative; left: auto; top: auto; order: 3; margin-right: 12px; flex-shrink: 0; }
  .masthead.is-stuck .langs ul { left: auto; right: 0; }
  /* fixierte Leiste nach dem Kopfbild */
  .masthead.is-stuck { position: fixed; flex-direction: row; justify-content: space-between; padding: 10px var(--gutter); background: var(--slate-glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: 0 8px 24px -12px rgba(0,0,0,.4); animation: drop .5s var(--ease); }
  .masthead.is-stuck .masthead__logo img { width: 64px; }
  .masthead.is-stuck .masthead__logo { flex-shrink: 0; margin-right: 24px; }
  .masthead.is-stuck .masthead__nav { margin: 0; width: auto; border: 0; }
  .masthead.is-stuck .masthead__nav a { padding: 14px 0; }
  .masthead.is-stuck .masthead__call { position: static; order: 4; white-space: nowrap; }
  .masthead.is-stuck .masthead__nav ul { gap: clamp(14px, 1.5vw, 36px); }
  .masthead__nav a { white-space: nowrap; }
  .masthead.is-stuck .masthead__nav { order: 2; margin-left: auto; margin-right: 24px; }
  @keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
  .hero { align-items: center; padding: 200px 0 210px; }
  .hero::after { background: linear-gradient(180deg, rgba(31,42,49,.62) 0%, rgba(31,42,49,.18) 34%, rgba(31,42,49,.22) 62%, rgba(31,42,49,.55) 100%); }
  .hero__copy { padding-bottom: 0; }
  .hero--page { align-items: flex-end; padding: 220px 0 0; }
  .hero--page .hero__copy { padding-bottom: clamp(48px, 8vh, 80px); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .hero--home { padding: 190px 0 0; align-items: stretch; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .masthead.is-stuck .masthead__call { display: none; }
  .masthead.is-stuck .masthead__nav { margin-right: 20px; }
  .masthead.is-stuck .masthead__nav a { font-size: .9rem; }
  .masthead.is-stuck .masthead__nav ul { gap: 14px; }
}
@media (max-width: 1023.98px) {
  .tiles { margin: 32px 0 0; gap: 0; width: 100%; }
  .hero--home .hero__copy { margin: auto 0 0; padding-top: 48px; }
  .hero--home::after { background: linear-gradient(180deg, rgba(31,42,49,.62) 0%, rgba(31,42,49,.42) 45%, rgba(31,42,49,.5) 100%); }
  .hero h1, .hero__copy p { text-shadow: 0 1px 18px rgba(20,28,33,.35); }
  .tile { border-top: 1px solid var(--line-on-slate); }
}
.longform { margin-left: auto; margin-right: auto; }

.nowrap { white-space: nowrap; }
.js .reveal.no-anim, .js .reveal.no-anim *, .js .reveal.no-anim::before, .js .reveal.no-anim::after { transition: none !important; animation: none !important; }

/* Google-Bewertungen */
.reviews { padding: clamp(40px, 6vw, 72px) var(--gutter); border-top: 1px solid var(--line); text-align: center; }
.reviews__inner { max-width: 720px; margin: 0 auto; }
.reviews .label { color: var(--muted); }
.reviews__score { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 14px 0 0; }
.reviews__num { font: 300 clamp(2.4rem, 5vw, 3.2rem)/1 var(--serif); color: var(--ink); }
.reviews__stars { display: inline-flex; gap: 3px; }
.reviews__stars svg { width: 24px; height: 24px; fill: #e2a93b; }
.reviews__count { font: 400 1.05rem/1.3 var(--sans); color: var(--muted); }
.reviews__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin: 20px 0 0; }
