/* ==========================================================================
   Musenhof Zahnklinik – zahnarzt.musenhof-zahnklinik.de
   Gestaltung & Umsetzung: diewebag.
   ========================================================================== */

/* ---------- Schrift (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* ---------- Tokens ---------- */
:root {
  /* Farbfamilie Terrakotta (Hauptfarbe #c87b5c) */
  --brand: #c87b5c;        /* Hauptfarbe: Icons, Fortschritt, Auswahl, Fokus */
  --brand-strong: #b0664a; /* Buttons & Akzentflächen (Kontrast mit Weiß) */
  --brand-hover: #96553d;  /* Hover */
  --brand-dark: #8a4a33;   /* Text-Akzente, Links, Eyebrows */
  --brand-deep: #5a2f20;   /* sehr dunkel, Text auf Tint */
  --brand-soft: #d9a18a;   /* gedämpfte Headline-Zeile */
  /* Alias für bestehende Inline-Verweise */
  --navy: var(--brand-dark);
  --navy-soft: var(--brand-soft);
  --navy-hover: var(--brand-hover);
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #dcd4cf;
  --line-soft: #ece6e2;
  --bg: #ffffff;
  --bg-2: #f7f4f2;
  --tint: #f7ebe5;
  --tint-ink: #5a2f20;
  --tint-ink-2: #8a4a33;
  --star: #fbbc04;
  --radius-l: 28px;
  --radius-m: 24px;
  --wrap: 1120px;
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, picture { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
h1, h2 { color: var(--brand-dark); }
h3 { color: var(--ink-2); }
section[id] { scroll-margin-top: 64px; }

.wrap { max-width: var(--wrap); margin: 0 auto; }
.sec { padding: 112px 22px; }
.sec--grey { background: var(--bg-2); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow { font-size: 17px; font-weight: 600; color: var(--ink-2); }
.h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.07; font-weight: 800; letter-spacing: -0.03em; }
.h2--xl { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.035em; }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.grey { color: var(--brand); }
.h2 .tone { color: var(--brand); }
.head { display: flex; flex-direction: column; gap: 14px; }
.head--center { align-items: center; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 980px;
  background: var(--brand-strong); color: #fff; font: inherit; font-size: 17px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--brand-hover); color: #fff; text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 52px; padding: 0 28px; }
.btn--sm { min-height: 32px; padding: 0 14px; font-size: 13px; }
.btn--soft { background: var(--bg-2); color: var(--ink); }
.btn--soft:hover { background: var(--line-soft); color: var(--ink); }
.btn[disabled] { background: #86868b; cursor: not-allowed; transform: none; }
.link-more { font-size: 17px; font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; min-height: 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.nav__logo { display: inline-flex; align-items: center; padding: 12px 0; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 13px; }
.nav__links a:not(.btn) { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 96px 22px 40px; text-align: center; }
.hero__inner { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero__eyebrow { font-size: 19px; font-weight: 600; color: var(--ink-2); }
.hero h1 { font-size: clamp(36px, 7vw, 88px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 span { color: var(--brand); }
.hero__text { max-width: 680px; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.42; color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; margin-top: 10px; }
.hero__media { position: relative; max-width: var(--wrap); margin: 64px auto 0; aspect-ratio: 16 / 7; min-height: 240px; border-radius: 32px; overflow: hidden; background: var(--line-soft); }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Vertrauensleiste ---------- */
.trust { padding: 56px 22px 96px; }
.trust__inner { display: flex; flex-direction: column; gap: 56px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px 24px; align-items: center; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat__num { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(40px, 6vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat__num svg { width: 36px; height: 36px; }
.stat__label { font-size: 17px; color: var(--muted); }
.stat img { height: 60px; width: auto; }
.press-wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 40px; border-top: 1px solid var(--line-soft); }
.press-wrap__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.press { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px clamp(32px, 6vw, 72px); }
.press img { width: auto; }

/* ---------- Leitung ---------- */
.lead-split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.lead-split__img { flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 5; max-height: 620px; border-radius: var(--radius-l); overflow: hidden; background: var(--line-soft); }
.lead-split__img img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 20%; }
.lead-split__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { padding: 8px 16px; border-radius: 980px; background: #fff; font-size: 15px; font-weight: 500; }

/* ---------- Karten allgemein ---------- */
.card { border-radius: var(--radius-l); background: var(--bg-2); padding: 44px; display: flex; flex-direction: column; gap: 14px; }
.card--sm { padding: 36px; }
.card--tint { background: var(--tint); color: var(--brand-deep); }
.card h3 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.card--sm h3 { font-size: 24px; letter-spacing: -.015em; }
.card p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.card--tint p { color: var(--tint-ink); }
.card svg.ico { width: 40px; height: 40px; flex: none; }
.card--sm svg.ico { width: 36px; height: 36px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.card--wide { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 32px; }
.card--wide > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.card--wide h3 { font-size: 32px; }
.card--wide picture { flex: 1 1 320px; min-width: 0; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--line-soft); }
.card--wide picture img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.sec-stack { display: flex; flex-direction: column; gap: 48px; }
.sec-stack--56 { gap: 56px; }

/* ---------- Schwerpunkte ---------- */
.svc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.svc-head .head { max-width: 680px; }
.svcgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.svc { border-radius: var(--radius-m); background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.svc h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; }
.svc p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.svc--accent { background: var(--brand-strong); color: #fff; }
.svc--accent h3 { color: #fff; }
.svc--accent p { color: #fbe9e1; }
.nowrap { white-space: nowrap; }

/* ---------- Patientenstimmen ---------- */
.stars { display: flex; gap: 3px; }
.stars svg { width: 22px; height: 22px; }
.ratecards { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 20px; }
.ratecard { min-width: 0; border-radius: var(--radius-m); background: #fff; padding: 28px 32px; display: flex; align-items: center; gap: 20px; }
.ratecard__score { font-size: 52px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--brand); }
.ratecard__meta { display: flex; flex-direction: column; gap: 8px; }
.ratecard__meta img { width: auto; align-self: flex-start; flex: none; }
.quote { margin: 24px auto 0; max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.quote blockquote { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.22; font-weight: 700; letter-spacing: -.02em; }
.quote figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
.quote figcaption img { height: 16px; width: auto; }

.reviews { max-width: var(--wrap); margin: 56px auto 0; display: flex; flex-direction: column; gap: 20px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.track { display: flex; width: max-content; }
.js .track { animation: marquee 70s linear infinite; }
.js .track--rev { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rcard { flex: none; width: 360px; margin: 0 20px 0 0; border-radius: var(--radius-m); background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 220px; }
.rcard__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rcard .stars { gap: 2px; }
.rcard .stars svg { width: 18px; height: 18px; }
.rcard__src { width: auto; flex: none; }
.rcard__src--google { height: 18px; }
.rcard__src--jameda { height: 15px; }
.rcard blockquote { flex: 1; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.rcard figcaption { font-size: 14px; color: var(--muted); }
.rcard figcaption strong { color: var(--ink); }
.reviews-cta { margin: 64px auto 0; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.reviews-cta p { font-size: 24px; font-weight: 700; letter-spacing: -.015em; }

/* ---------- Lage & Galerie ---------- */
.lage { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.lage__text { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1 1 360px; }
.lage__label { font-size: 15px; font-weight: 600; color: var(--tint-ink-2); }
.lage h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.lage__text p { font-size: 17px; line-height: 1.5; color: var(--tint-ink); }
.lage__text p a { font-weight: 600; }
.lage__park { display: inline-flex; align-items: center; gap: 8px; }
.lage__park svg { width: 20px; height: 20px; flex: none; }
.dist { flex: 1 1 100%; display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(90,47,32,.12); }
.dist__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.dist__item { border-radius: 16px; background: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.dist__item strong { font-size: 17px; }
.dist__item span { font-size: 15px; color: var(--tint-ink-2); }
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 20px; }
.gal picture { border-radius: var(--radius-l); overflow: hidden; background: var(--line-soft); }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal-big { grid-column: span 2; grid-row: span 2; }
.gal-wide { grid-column: span 2; }

/* ---------- Kontakt & Formular ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.steps { list-style: none; padding: 0; display: flex; flex-direction: column; }
.steps li { display: flex; gap: 18px; padding-bottom: 26px; }
.steps li:last-child { padding-bottom: 0; }
.steps__num { flex: none; width: 40px; height: 40px; border-radius: 980px; background: var(--tint); border: 1px solid var(--brand-strong); color: var(--brand-dark); font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps__num--on { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.steps li > div { display: flex; flex-direction: column; gap: 4px; padding-top: 7px; }
.steps strong { font-size: 19px; }
.steps span:not(.steps__num) { font-size: 16px; line-height: 1.5; color: var(--muted); }

.form { flex: 1 1 460px; min-width: 0; border-radius: var(--radius-l); background: #fff; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.form__head { display: flex; flex-direction: column; gap: 12px; }
.form__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.form__title h3 { font-size: 26px; font-weight: 700; letter-spacing: -.015em; }
.form__count { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.progress { height: 6px; border-radius: 980px; background: var(--line-soft); overflow: hidden; }
.progress__bar { height: 100%; width: 33%; background: var(--brand); border-radius: 980px; transition: width .35s ease; }
.fstep { display: flex; flex-direction: column; gap: 24px; }
.js .fstep[hidden] { display: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font-size: 19px; font-weight: 600; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.opts--3 { grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: flex; align-items: center; min-height: 56px; padding: 14px 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-size: 16px; font-weight: 500; color: var(--ink); transition: border-color .15s ease, background .15s ease; }
.opt:hover span { border-color: #a1a1a6; }
.opt input:checked + span { border-color: var(--brand); background: var(--tint); }
.opt input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; }
.fields--plz { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field--sub { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-width: 0; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px;
  font: inherit; font-size: 17px; font-weight: 400; color: var(--ink); background: #fff;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(200,123,92,.22); }
.field input[aria-invalid="true"] { border-color: #c00; }
.fieldset-legend-sm legend { font-size: 14px; margin-bottom: 6px; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand-strong); }
.consent span { flex: 1; min-width: 0; }
.consent a { font-weight: 600; }
.form__nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.form__nav .btn--grow { flex: 1 1 200px; min-height: 52px; }
.form__error { padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #8a1010; font-size: 15px; line-height: 1.45; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 22px 48px; background: var(--bg-2); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--ink-2); }

/* ---------- Lightbox (Impressum / Datenschutz) ---------- */
dialog.legal { width: min(760px, calc(100% - 32px)); max-height: 86vh; padding: 0; border: 0; border-radius: var(--radius-l); background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(90,47,32,.25); }
dialog.legal::backdrop { background: rgba(90,47,32,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.legal__body { padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.legal__body h2 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--brand-dark); }
.legal__body strong { color: var(--ink); }
.legal__note { padding: 14px 16px; border-radius: 14px; background: var(--tint); color: var(--tint-ink); font-size: 14px; }
.legal__close { position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; width: 44px; height: 44px; border: 0; border-radius: 980px; background: var(--bg-2); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 1; }
.legal__close:hover { background: var(--line-soft); }

/* ---------- Danke-Seite ---------- */
.thanks { padding: 96px 22px 72px; text-align: center; }
.thanks__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.thanks__check { width: 88px; height: 88px; border-radius: 980px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.thanks h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.thanks h1 span { color: var(--brand); }
.thanks__text { max-width: 600px; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); }
.next { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.next li { display: flex; flex-direction: column; gap: 10px; }
.next strong { font-size: 19px; }
.next span:not(.steps__num) { font-size: 16px; line-height: 1.5; color: var(--muted); }
.steps__num--done { background: var(--brand-strong); color: #fff; }
.steps__num--next { background: #fff; border: 2px solid var(--brand); }
.social { margin-top: 8px; display: flex; align-items: center; gap: 12px; }
.social a { width: 48px; height: 48px; border-radius: 980px; background: var(--brand-strong); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--brand-hover); color: #fff; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page .site-footer { margin-top: auto; }

/* ---------- Animationen ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .intro { animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) both; }
  .intro-late { animation: fadeUp 1.1s cubic-bezier(.2,.7,.2,1) .15s both; }
  .pop { animation: pop .7s cubic-bezier(.2,.7,.2,1) both; }
  @supports (animation-timeline: view()) {
    .reveal { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
  /* Fallback (z. B. Firefox): Klasse .io wird per JS gesetzt */
  .io .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  .io .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Mobil (bis 734 px) ---------- */
@media (max-width: 734px) {
  .sec { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 56px; }
  .hero__media { margin-top: 40px; border-radius: 20px; aspect-ratio: 4 / 3; }
  .nav { flex-wrap: nowrap; gap: 12px; }
  .nav__logo img { height: 24px; }
  .nav__links { flex: none; }
  .nav__links a:not(.btn) { display: none; }
  .card, .card--sm { padding: 28px; border-radius: 22px; }
  .hide-mobile { display: none !important; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .stat__num { font-size: 40px; }
  .stat__num svg { width: 26px; height: 26px; }
  .stat__label { font-size: 14px; }
  .press { flex-wrap: nowrap; gap: 14px; }
  .press img { height: 18px !important; flex: 0 1 auto; min-width: 0; max-width: 25%; object-fit: contain; }
  .press img.press__ntv { height: 24px !important; }
  .svcgrid { gap: 10px; }
  .svc { min-height: 0; padding: 18px 20px; gap: 4px; border-radius: 18px; }
  .svc h3 { font-size: 18px; }
  .svc h3 br { display: none; }
  .svc p { font-size: 15px; }
  .ratecards { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ratecard { flex-direction: column; align-items: center; text-align: center; padding: 20px; gap: 10px; border-radius: 20px; }
  .ratecard__meta { align-items: center; }
  .ratecard__meta img { align-self: center; }
  .ratecard__score { font-size: 40px; }
  .ratecard .stars svg { width: 18px; height: 18px; }
  .rcard { width: 280px; margin-right: 14px; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 12px; }
  .gal picture { border-radius: 18px; }
  .thanks { padding-top: 56px; }
}

/* ==========================================================================
   Erweiterungen für Themenseiten (z. B. implantate.musenhof-zahnklinik.de)
   Rein additiv – die Hauptseite nutzt diese Klassen nicht.
   ========================================================================== */

/* ---------- Header: Telefon ---------- */
.nav__tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-dark) !important; }
.nav__tel svg { width: 15px; height: 15px; flex: none; }

/* ---------- Hero-Vorteile ---------- */
.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.hero__chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 980px; background: var(--bg-2); font-size: 15px; font-weight: 500; color: var(--ink-2); }
.hero__chips svg { width: 16px; height: 16px; flex: none; }

/* ---------- Situationen ("Erkennen Sie sich wieder?") ---------- */
.sits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.sit { border-radius: var(--radius-l); background: #fff; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.sit__thought { position: relative; padding: 18px 20px; border-radius: 18px; background: var(--tint); color: var(--tint-ink); font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.sit__thought::after { content: ""; position: absolute; left: 28px; bottom: -9px; width: 18px; height: 18px; background: var(--tint); transform: rotate(45deg); border-radius: 3px; }
.sit__label { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.sit h3 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--brand-dark); }
.sit p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.sit ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sit li { display: flex; gap: 10px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.sit li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.sit .link-more { margin-top: auto; padding-top: 6px; }

/* Gleiche Flucht über alle Karten: Zeilen per Subgrid teilen */
@supports (grid-template-rows: subgrid) {
  .sit { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 16px; align-content: start; }
  .sit .link-more { margin-top: 0; align-self: end; }
}

/* ---------- Aufbau eines Implantats (Schnittdarstellung) ---------- */
.anat { border-radius: var(--radius-l); background: #fff; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.anat__fig { flex: 1 1 380px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.anat__svg { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; font-family: var(--font); }
.anat__t { font-size: 17px; font-weight: 700; fill: var(--ink); }
.anat__s { font-size: 14px; fill: var(--muted); }
.anat__fig figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.anat__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.anat__text h3 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--brand-dark); }
.anat__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: anat; }
.anat__list li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; row-gap: 2px; }
.anat__list li::before { counter-increment: anat; content: counter(anat); grid-row: span 2; width: 36px; height: 36px; border-radius: 980px; background: var(--tint); color: var(--brand-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.anat__list strong { font-size: 18px; padding-top: 6px; }
.anat__list span { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 734px) { .anat { padding: 24px 18px; border-radius: 22px; } .anat__t { font-size: 22px; } .anat__s { font-size: 18px; } }

/* ---------- Einzelne Patientenstimme mit Foto ---------- */
.sec--tint { background: var(--tint); }
.tmon { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.tmon__img { position: relative; flex: 1 1 340px; min-width: 0; max-width: 460px; aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden; background: var(--line-soft); }
.tmon__img img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.tmon__tag { position: absolute; left: 14px; bottom: 14px; padding: 4px 10px; border-radius: 980px; background: rgba(255,255,255,.85); font-size: 12px; font-weight: 500; color: var(--muted); }
.tmon__body { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tmon__mark { width: 52px; height: 52px; fill: var(--brand); }
.tmon blockquote { font-size: clamp(23px, 2.7vw, 32px); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; color: var(--brand-deep); text-wrap: balance; }
.tmon figcaption { display: flex; flex-direction: column; gap: 4px; }
.tmon__rule { width: 48px; height: 2px; background: var(--brand-deep); margin-bottom: 14px; }
.tmon figcaption strong { font-size: 18px; color: var(--brand-deep); }
.tmon figcaption > span:not(.tmon__rule) { font-size: 16px; color: var(--tint-ink-2); }
.tmon .stars { margin-top: 10px; }
.tmon__more { align-self: flex-start; margin-top: 6px; background: #fff; color: var(--brand-dark); }
.tmon__more:hover { background: var(--brand-strong); color: #fff; }
.tmon .stars svg { width: 26px; height: 26px; }
.tmon-stack { display: flex; flex-direction: column; gap: 72px; }
.tmon--rev { flex-direction: row-reverse; }
.tmon--rev .tmon__img img { object-position: 45% 25%; }
@media (max-width: 734px) { .tmon-stack { gap: 40px; } .tmon--rev { flex-direction: row-reverse; } .tmon--rev .tmon__img img { object-position: 58% 0%; } }

@media (max-width: 734px) {
  .tmon { flex-wrap: nowrap; align-items: stretch; gap: 16px; }
  .tmon__img { flex: 0 0 38%; width: 38%; max-width: none; aspect-ratio: auto; border-radius: 18px; }
  .tmon__img picture, .tmon__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .tmon__img img { object-position: 62% 0%; }
  .tmon__body { flex: 1 1 0; gap: 12px; }
  .tmon__mark { width: 28px; height: 28px; }
  .tmon blockquote { font-size: 17px; line-height: 1.4; letter-spacing: -.01em; }
  .tmon__rule { margin-bottom: 8px; width: 32px; }
  .tmon figcaption strong { font-size: 15px; }
  .tmon figcaption > span:not(.tmon__rule) { font-size: 14px; }
  .tmon .stars { margin-top: 6px; }
  .tmon .stars svg { width: 18px; height: 18px; }
  .tmon__more { min-height: 42px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
}

/* ---------- Bedenken & Antworten ---------- */
.worries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.worry { border-radius: var(--radius-m); background: var(--bg-2); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.worry__q { font-size: 15px; font-weight: 600; color: var(--brand-dark); }
.worry h3 { font-size: 23px; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.worry p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.worry--accent { background: var(--brand-strong); }
.worry--accent .worry__q { color: #fbe9e1; }
.worry--accent h3 { color: #fff; }
.worry--accent p { color: #fbe9e1; }

/* ---------- Ablauf ---------- */
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: flow; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.flow li::before { counter-increment: flow; content: counter(flow); width: 44px; height: 44px; border-radius: 980px; background: var(--tint); border: 1px solid var(--brand-strong); color: var(--brand-dark); font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 52px; right: -12px; height: 1px; background: var(--line); }
.flow strong { font-size: 19px; letter-spacing: -.01em; }
.flow span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.flow__note { font-size: 15px; line-height: 1.5; color: var(--muted); text-align: center; max-width: 720px; margin: 0 auto; }

/* ---------- Kosten ---------- */
.cost { display: flex; flex-direction: row; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.cost__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cost__facts { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.fact { border-radius: var(--radius-m); background: #fff; padding: 26px 28px; display: flex; gap: 20px; align-items: flex-start; }
.fact .fact__num { flex: none; min-width: 132px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--brand); }
.fact div { display: flex; flex-direction: column; gap: 6px; }
.fact strong { font-size: 18px; }
.fact div span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 20px; background: var(--bg-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details > div { padding: 0 26px 24px; font-size: 17px; line-height: 1.6; color: var(--ink-2); display: flex; flex-direction: column; gap: 10px; }

/* ---------- Formular: Mehrfachauswahl ---------- */
.legend-hint { font-weight: 400; font-size: 15px; color: var(--muted); }
.opt--check span { gap: 12px; }
.opt--check span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); background: #fff center / 14px no-repeat; transition: background-color .15s ease, border-color .15s ease; }
.opt--check input:checked + span::before { border-color: var(--brand-strong); background-color: var(--brand-strong); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.contact__call { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: var(--radius-m); background: #fff; }
.contact__call span { font-size: 15px; color: var(--muted); }
.contact__call a { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Ablauf vertikal (Tablet & Mobil) ---------- */
@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 640px; margin: 0 auto; width: 100%; }
  .flow li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 4px; padding-bottom: 26px; }
  .flow li::before { grid-row: span 2; }
  .flow li:not(:last-child)::after { top: 50px; bottom: 6px; left: 22px; right: auto; width: 1px; height: auto; }
  .flow strong { padding-top: 10px; }
}

/* ---------- Mobile Aktionsleiste ---------- */
.mcta { display: none; }
@media (max-width: 734px) {
  .nav__tel span { display: none; }
  .sit { padding: 28px; border-radius: 22px; }
  .worry { padding: 24px; }
  .fact { padding: 22px; gap: 14px; }
  .fact { flex-direction: column; gap: 8px; }
  .fact .fact__num { min-width: 0; font-size: 28px; }
  .faq summary { padding: 18px 20px; font-size: 17px; }
  .faq details > div { padding: 0 20px 20px; font-size: 16px; }
  .mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(0,0,0,.08); transition: transform .3s ease; }
  .mcta .btn { flex: 1 1 auto; min-height: 48px; padding: 0 16px; }
  .mcta .btn--soft { flex: 0 0 auto; }
  .mcta.is-hidden { transform: translateY(110%); }
  .has-mcta .site-footer { padding-bottom: 104px; }
}

/* ---------- Button: Outline (Header) ---------- */
.btn--outline { background: transparent; color: var(--brand-dark); box-shadow: inset 0 0 0 1.5px var(--brand-strong); }
.btn--outline:hover { background: var(--brand-strong); color: #fff; }

/* ---------- Zwei weiße Abschnitte direkt hintereinander: Abstand nicht verdoppeln ---------- */
.sec:not(.sec--grey):not(.sec--tint) + .sec:not(.sec--grey):not(.sec--tint) { padding-top: 0; }

/* ---------- Chips mobil in einer Reihe ---------- */
@media (max-width: 734px) {
  .chips--row { flex-wrap: nowrap; gap: 6px; }
  .chips--row .chip { flex: 1 1 auto; min-width: 0; padding: 12px 10px; font-size: clamp(12px, 3.3vw, 16px); text-align: center; white-space: nowrap; }
}
@media (max-width: 380px) { .chips--row .chip { padding: 11px 8px; } }

.chips__label { margin-top: 8px; margin-bottom: -6px; font-size: 16px; font-weight: 600; color: var(--ink); }

.tmon__eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); }
.tmon__title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; color: var(--brand-deep); text-wrap: balance; }
.tmon__text { font-size: 18px; line-height: 1.55; color: var(--tint-ink); max-width: 560px; }
.tmon__text strong { color: var(--brand-deep); }
.tmon__body { gap: 16px; }
.tmon__body .link-more { margin-top: 6px; font-weight: 600; }
@media (max-width: 734px) {
  .tmon__eyebrow { font-size: 12px; }
  .tmon__title { font-size: 20px; }
  .tmon__text { font-size: 15px; line-height: 1.5; }
  .tmon__body { gap: 10px; }
  .tmon__body .link-more { font-size: 15px; }
}

/* Bewertung + Ausgangssituation */
.tmon__src { margin-top: -8px; font-size: 14px; font-weight: 500; color: var(--tint-ink-2); }
.tmon__case { margin-top: 6px; padding: 22px 24px; border-radius: 20px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.tmon__case .tmon__title { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.tmon__case .tmon__text { font-size: 16px; color: var(--ink-2); }
.tmon__case .tmon__text strong { color: var(--ink); }
.tmon__case .link-more { margin-top: 4px; font-size: 16px; }
@media (max-width: 734px) {
  .tmon__src { margin-top: -4px; font-size: 13px; }
  .tmon__case { padding: 14px 14px; border-radius: 14px; gap: 6px; }
  .tmon__case .tmon__title { font-size: 16px; }
  .tmon__case .tmon__text { font-size: 14px; line-height: 1.45; }
  .tmon__case .link-more { font-size: 14px; }
}
@media (max-width: 734px) {
  .tmon { display: grid; grid-template-columns: 38% minmax(0, 1fr); column-gap: 16px; row-gap: 10px; align-items: start; }
  .tmon__body { display: contents; }
  .tmon__img { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; width: auto; }
  .tmon__mark, .tmon blockquote, .tmon__src { grid-column: 2; }
  .tmon__case { grid-column: 1 / -1; margin-top: 8px; }
  .tmon--rev { grid-template-columns: minmax(0, 1fr) 38%; }
  .tmon--rev .tmon__img { grid-column: 2; }
  .tmon--rev .tmon__mark, .tmon--rev blockquote, .tmon--rev .tmon__src { grid-column: 1; }
  .tmon__src { margin-top: 0; }
}
/* Bilder passend zur Höhe von Bewertung + Ausgangssituation */
@media (min-width: 735px) {
  .tmon { align-items: stretch; }
  .tmon__img { aspect-ratio: auto; min-height: 460px; }
  .tmon__img picture { position: absolute; inset: 0; }
  .tmon__body { justify-content: center; padding-block: 8px; }
}
@media (max-width: 734px) {
  .tmon__img img { object-position: 68% 0%; }
  .tmon--rev .tmon__img img { object-position: 58% 0%; }
}
