/* ==========================================================================
   LANDINGPAGE-VORLAGE (Apple-Stil, hell) – diewebag.
   Markenfarben: nur den Block "MARKENFARBEN" unten anpassen.
   Alles andere (Buttons, Icons, Formular, Lightbox …) leitet sich davon ab.
   ========================================================================== */

/* ---------- 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 {
  /* ===== MARKENFARBEN · Aesthetic Centrum Bamberg =====
     Hausfarbe ist #301f39 (Aubergine) – sie sitzt auf Überschriften und Buttons.
     --brand ist bewusst eine Stufe heller: diese Variable färbt Icons,
     Fortschrittsbalken, Fokusring und die ausgewählte Formularoption.
     Exakt auf #301f39 gesetzt wären diese Zustände von normalem Text
     nicht mehr zu unterscheiden.
     Soll es später eine echte Akzentfarbe geben: nur --brand und
     --brand-strong tauschen, alles andere zieht automatisch nach.      */
  --brand: #6b4f77;        /* Icons, Fortschritt, Auswahl, Fokus – 7,0:1 auf Weiß */
  --brand-strong: #301f39; /* Buttons & Akzentflächen – 15,2:1 auf Weiß */
  --brand-hover: #452f50;  /* Hover von Buttons/Links – 11,8:1 auf Weiß */
  --brand-dark: #301f39;   /* Überschriften, Links, Text-Akzente */
  --brand-deep: #1c1222;   /* sehr dunkel: dunkler Abschnitt, Schatten */
  --brand-soft: #9a7ea4;   /* gedämpfte zweite Headline-Zeile – 3,6:1, reicht für
                              große Schrift (WCAG AA ab 24 px bzw. 18,7 px fett) */
  --tint: #f3eff5;         /* zart getönte Kartenflächen */
  --line: #dfd9e3;         /* Rahmen (Formularfelder, Optionen) */
  --line-soft: #eeeaf0;    /* feine Trennlinien */
  --bg-2: #f8f5f9;         /* getönte Sektionen */
  /* Haarlinie – Rand aller nicht vollflächig gefüllten Boxen.
     Statischer Wert als Rückfall; moderne Browser mischen ihn weiter
     unten aus der Hauptfarbe, damit er bei einem Farbwechsel mitzieht.
     Auf dunklen Flächen übernimmt --hairline-hell.                    */
  --hairline: #ddd6e1;
  --hairline-hell: rgba(255,255,255,.12);
  /* ===== Ende Markenfarben ===== */
  /* Aliase (nicht ändern) */
  --navy: var(--brand-dark);
  --navy-soft: var(--brand-soft);
  --navy-hover: var(--brand-hover);
  --tint-ink: var(--brand-deep);
  --tint-ink-2: var(--brand-dark);
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --bg: #ffffff;
  --star: #fbbc04;
  --radius-l: 28px;
  --radius-m: 24px;
  --wrap: 1120px;
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* Haarlinie aus der Hauptfarbe ableiten, wo color-mix unterstützt wird */
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  :root { --hairline: color-mix(in srgb, var(--brand-dark) 13%, transparent); }
}

/* ---------- 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); }
.sec--tight { padding-top: 64px; padding-bottom: 64px; }
.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); border: 1px solid var(--hairline); color: var(--ink); }
.btn--soft:hover { background: var(--line-soft); color: var(--ink); }
.btn[disabled] { background: #86868b; cursor: not-allowed; transform: none; }

/* ---------- Einwilligungsbanner ----------
   Liegt unten und blockiert die Seite nicht. Beide Schaltflaechen sind
   gleich gross und gleich erreichbar - eine Gestaltung, die zum Ja
   draengt, waere keine freiwillige Einwilligung (Art. 4 Nr. 11 DSGVO). */
/* --consent-h wird von consent.js auf die gemessene Bannerhoehe gesetzt,
   damit der Footer mit Impressum und Datenschutz nicht darunter
   verschwindet. Ohne Banner ist der Wert 0. */
body { padding-bottom: var(--consent-h, 0px); }
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--hairline); box-shadow: 0 -8px 32px rgba(28, 18, 34, .09); }
.consent[hidden] { display: none; }
.consent__inner { max-width: var(--wrap); margin: 0 auto; padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.consent__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.consent__text p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.consent__text p:first-child { font-size: 15px; color: var(--ink); }
.consent__btns { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.consent__btns .btn { min-height: 42px; font-size: 15px; }
.link-more { font-size: 17px; font-weight: 500; }
/* Kleinzeile unter dem Hero-CTA */
.hero__usp { font-size: 15px; color: var(--muted); text-align: center; }
.hero__usp-ico { margin-right: 8px; font-size: 16px; line-height: 1; }

/* ---------- 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); }
/* object-position ganz oben: Der Clip ist 16:9, der Hero 16:7, es werden also
   140 px Hoehe beschnitten. Mittig weggeschnitten verschwinden die Gesichter
   und es bleibt nur Haut – oben buendig sind waehrend der Umarmung die
   laechelnden Gesichter im Bild, und genau die tragen die Szene.
   Auf dem Handy (4:3) wird nur seitlich beschnitten, dort wirkt der Wert nicht. */
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }

/* ---------- 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; }
/* ---------- Implantathersteller ---------- */
/* Logoreihe am Fuss der Textspalte, abgesetzt durch eine Haarlinie. */
.herst { margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.herst__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px clamp(26px, 3.5vw, 44px); }
.herst__logos img { width: auto; }

/* ---------- Preise ---------- */
.lead--center { max-width: 760px; margin: 0 auto; text-align: center; }
.preise { max-width: 760px; margin: 0 auto; width: 100%; border: 1px solid var(--hairline); border-radius: var(--radius-l); overflow: hidden; background: #fff; }
.preis { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 22px 28px; border-top: 1px solid var(--line-soft); }
.preis:first-child { border-top: 0; }
.preis__name { font-size: 18px; font-weight: 500; }
.preis__wert { font-size: 20px; font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.preis__stern { color: var(--brand); font-weight: 500; }
.preise__fuss { max-width: 760px; margin: -28px auto 0; font-size: 15px; color: var(--muted); text-align: center; }
.preise__cta { display: flex; justify-content: center; }

.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; }
/* Unterkanten auf einer Linie, statt beide Spalten mittig zu zentrieren. */
.lead-split--bottom { align-items: flex-end; }
/* Bild rechts. Beim Umbruch auf dem Handy steht das Bild trotzdem oben,
   weil das erste Flex-Kind die erste Zeile belegt. */
.lead-split--rev { flex-direction: row-reverse; }
.lead-split--4x3 .lead-split__img { aspect-ratio: 4 / 3; max-height: 460px; }

/* Hakenliste. Das Haekchen steckt als SVG im Hintergrund, damit kein
   zusaetzliches Markup je Punkt noetig ist. */
.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: no-repeat center/20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b4f77' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.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; border: 1px solid var(--hairline); font-size: 15px; font-weight: 500; }
/* Mitgliedschaften: freie Reihe, kein Kasten. Die Logos sind freigestellt und
   liegen direkt auf dem Abschnitt - Begruendung im HTML-Kommentar daneben. */
.memb { margin-top: 10px; display: flex; flex-direction: column; gap: 16px; }
.memb__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.memb__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px clamp(28px, 4vw, 48px); }
.memb__logos img { width: auto; }

/* ---------- Karten allgemein ---------- */
.card { border-radius: var(--radius-l); background: var(--bg-2); border: 1px solid var(--hairline); 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; }
/* Kleine Rubrik über der Kartenüberschrift, anstelle eines Icons */
.card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand); margin-bottom: -4px; }
/* Schrittziffer ohne Trennzeichen, nur farblich abgesetzt */
.card h3 .nr { color: var(--brand-soft); margin-right: 10px; font-variant-numeric: tabular-nums; }
.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; }
/* Vier gleich breite Kacheln nebeneinander (USP-Reihe).
   Ohne den Modifier passen bei 1120 px Inhaltsbreite nur drei. */
.grid-auto--4 { grid-template-columns: repeat(auto-fit, minmax(min(236px, 100%), 1fr)); }
.grid-auto--4 .card--sm { padding: 28px; gap: 12px; }
.grid-auto--4 .card--sm h3 { font-size: 21px; }
.grid-auto--4 .card--sm p { font-size: 16px; }
.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; border: 1px solid var(--hairline); 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); border-color: transparent; color: #fff; }
.svc--accent h3 { color: #fff; }
.svc--accent p { color: color-mix(in srgb, #fff 82%, var(--brand-strong)); }
.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; border: 1px solid var(--hairline); 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; border: 1px solid var(--hairline); 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; }
/* Alle Karten einer Reihe sind so hoch wie die laengste. Ohne Namenszeile
   am Fuss stuende der kurze Text sonst oben und darunter ein grosses Loch -
   deshalb sitzt er mittig im verbleibenden Raum. */
.rcard blockquote { flex: 1; display: flex; align-items: center; 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 color-mix(in srgb, var(--brand-deep) 12%, transparent); }
/* Feste 3 Spalten statt auto-fit: Bei sechs Eintraegen fuellt auto-fit die
   erste Zeile mit fuenf und laesst den sechsten allein stehen. */
.dist__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dist__item { border-radius: 16px; background: #fff; border: 1px solid var(--hairline); 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; }
/* Das Portrait wird je nach Kachelformat senkrecht beschnitten – der Ausschnitt
   beginnt deshalb oben, damit der Kopf vollständig im Bild bleibt. */
.gal img.gal-portrait { object-position: 50% 10%; }
.gal-big { grid-column: span 2; grid-row: span 2; }
.gal-wide { grid-column: span 2; }
.gal-full { grid-column: 1 / -1; }

/* ---------- 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; border: 1px solid var(--hairline); 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 color-mix(in srgb, var(--brand) 22%, transparent); }
.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; }
.form__hinweis {
  font-size: 14px; line-height: 1.55; color: var(--muted);
  padding: 12px 14px; border-radius: 12px; background: var(--tint);
  border: 1px solid var(--hairline);
}
.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 color-mix(in srgb, var(--brand-deep) 25%, transparent); }
dialog.legal::backdrop { background: color-mix(in srgb, var(--brand-deep) 28%, transparent); -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); border: 1px solid var(--hairline); 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: 1px solid var(--hairline); 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); border: 1px solid var(--hairline); 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; }
  /* Banner: Text ueber den Schaltflaechen, beide gleich breit nebeneinander. */
  .consent__inner { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); gap: 12px; }
  .consent__text { flex: 1 1 100%; }
  .consent__btns { width: 100%; }
  .consent__btns .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .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; }
  /* Herstellerlogos in einer Reihe. Die Hoehen sind dafuer kleiner als auf
     dem Desktop und stehen hier mit !important, weil sie im HTML als
     inline-style gesetzt sind. Die beiden Bildmarken (Motiva, GC) brauchen
     mehr Hoehe als die beiden Wortmarken, um gleich gross zu wirken. */
  /* Zwei Spalten statt einer: sechs Karten untereinander sind eine lange
     Strecke zum Scrollen, und die Zeile passt in die halbe Breite. */
  .dist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dist__item { padding: 14px 15px; }
  .dist__item strong { font-size: 16px; }
  .dist__item span { font-size: 14px; }
  .herst { padding-top: 22px; }
  .herst__logos { flex-wrap: nowrap; justify-content: space-between; gap: 12px; }
  .herst__logos img { flex: 0 1 auto; min-width: 0; max-width: 27%; object-fit: contain; height: 13px !important; }
  .herst__logos img:nth-child(2) { height: 22px !important; }
  .herst__logos img:nth-child(4) { height: 20px !important; }
  .lead-split--4x3 .lead-split__img { aspect-ratio: 4 / 3; }
  .ticks li { font-size: 16px; padding-left: 28px; }
  .sec--tight { padding-top: 48px; padding-bottom: 48px; }
  /* Immer gestapelt: halb umbrechende Zeilen sehen sonst zufaellig aus,
     je nachdem wie lang die Bezeichnung ist. */
  .preis { flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 20px; }
  .preis__name { font-size: 16px; }
  .preis__wert { font-size: 18px; }
  .preise__fuss { margin-top: -30px; }
  /* Mitgliedschaften: kleiner, damit alle drei in eine Zeile passen.
     !important, weil die Hoehen im HTML als inline-style stehen. */
  .memb { margin-top: 4px; gap: 12px; }
  .memb__logos { flex-wrap: nowrap; gap: 22px; }
  .memb__logos img { flex: 0 1 auto; min-width: 0; object-fit: contain; height: 34px !important; }
  .memb__logos img:first-child { height: 48px !important; }
  .memb__logos img:last-child { height: 38px !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; }
  /* Auf dem Handy ist die Reihe eine Wischleiste, kein Laufband. Deshalb
     jede Karte nur so hoch wie ihr Text - sonst zieht die laengste
     Bewertung alle anderen auf ihre Hoehe und die kurzen bestehen zur
     Haelfte aus Leerraum. */
  .track { align-items: flex-start; }
  .rcard { width: 280px; margin-right: 14px; min-height: 0; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 12px; }
  .gal picture { border-radius: 18px; }
  .thanks { padding-top: 56px; }
}

/* ---------- Dunkler Abschnitt ---------- */
.sec--dark { background: var(--brand-deep); color: rgba(255,255,255,.78); }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark .eyebrow { color: rgba(255,255,255,.58); }
.sec--dark .lead { color: rgba(255,255,255,.72); }
.sec--dark .h2 .tone, .sec--dark .grey { color: var(--brand-soft); }

/* ---------- Implantatlage: Schnittgrafik mit Umschalter ----------
   Zwei vollständige Szenen liegen im SVG übereinander; der Umschalter
   blendet die passende ein. Bei "unter dem Muskel" wölbt sich der Muskel
   über das Implantat, bei "über dem Muskel" bleibt er flach an der Wand.
   Die Radio-Buttons müssen Geschwister von .implant__fig bleiben,
   sonst greift der ~ Selektor nicht.                                   */
.implant { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.implant > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.implant__controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 40px; }
.implant__group { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.implant__cap { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.implant__switch { display: inline-flex; flex-wrap: wrap; justify-content: center; padding: 4px; border-radius: 980px; background: rgba(255,255,255,.09); border: 1px solid var(--hairline-hell); }
.implant__switch label {
  padding: 10px 22px; border-radius: 980px; font-size: 15px; font-weight: 600;
  color: rgba(255,255,255,.6); cursor: pointer; transition: background .2s ease, color .2s ease;
}
.implant__switch label:hover { color: #fff; }
.implant > input:focus-visible ~ .implant__switch { outline: 3px solid var(--brand-soft); outline-offset: 3px; }
.implant__fig { width: 100%; max-width: 660px; height: auto; }
/* Alles ausblenden, was nicht gewaehlt ist. Achtung: NICHT .form verwenden,
   die Klasse gehoert zum Kontaktformular – daher .impl-form.             */
.szene, .zugang, .impl-form,
.implant .note-l, .implant .note-z, .implant .note-f { display: none; }

#lage-sub:checked   ~ .implant__controls label[for="lage-sub"],
#lage-fas:checked   ~ .implant__controls label[for="lage-fas"],
#lage-epi:checked   ~ .implant__controls label[for="lage-epi"],
#zug-axil:checked   ~ .implant__controls label[for="zug-axil"],
#zug-imf:checked    ~ .implant__controls label[for="zug-imf"],
#zug-peri:checked   ~ .implant__controls label[for="zug-peri"],
#form-rund:checked  ~ .implant__controls label[for="form-rund"],
#form-anat:checked  ~ .implant__controls label[for="form-anat"],
#form-ergo:checked  ~ .implant__controls label[for="form-ergo"] { background: #fff; color: var(--brand-deep); }

#lage-sub:checked   ~ .implant__fig .szene--sub,
#lage-fas:checked   ~ .implant__fig .szene--fas,
#lage-epi:checked   ~ .implant__fig .szene--epi,
#zug-axil:checked   ~ .implant__fig .zugang--axil,
#zug-imf:checked    ~ .implant__fig .zugang--imf,
#zug-peri:checked   ~ .implant__fig .zugang--peri,
#form-rund:checked  ~ .implant__fig .impl-form--rund,
#form-anat:checked  ~ .implant__fig .impl-form--anat,
#form-ergo:checked  ~ .implant__fig .impl-form--ergo { display: block; }

#lage-sub:checked ~ .note-l--sub, #lage-fas:checked ~ .note-l--fas, #lage-epi:checked ~ .note-l--epi,
#zug-axil:checked ~ .note-z--axil, #zug-imf:checked ~ .note-z--imf, #zug-peri:checked ~ .note-z--peri,
#form-rund:checked ~ .note-f--rund, #form-anat:checked ~ .note-f--anat, #form-ergo:checked ~ .note-f--ergo { display: block; }

/* Vor- und Nachteile der gewaehlten Lage */
.implant .note-l { width: 100%; max-width: 720px; }
.note-l__t { font-size: 18px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 18px; letter-spacing: -.01em; }
.vn { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.vn__sp { padding: 20px 22px; border-radius: var(--radius-m); background: rgba(255,255,255,.05); border: 1px solid var(--hairline-hell); }
.vn__h { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px; }
.vn__h--pro { color: #8fd6a8; }
.vn__h--con { color: #e3a0a0; }
.vn ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vn li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.72); }
.vn li::before { position: absolute; left: 0; top: -1px; font-weight: 700; }
.vn__sp:has(.vn__h--pro) li::before { content: "\002B"; color: #8fd6a8; }
.vn__sp:has(.vn__h--con) li::before { content: "\2212"; color: #e3a0a0; }

/* Einzeilige Erlaeuterungen zu Zugangsweg und Form */
.implant .note-z, .implant .note-f {
  max-width: 680px; text-align: center; font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,.6); padding-top: 18px; margin-top: -4px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.implant .note-z strong, .implant .note-f strong { color: rgba(255,255,255,.88); }

/* Ergebniskontur: haengt von Lage UND Form ab. Die verketteten :checked
   funktionieren nur, weil die form-Radios im HTML NACH den lage-Radios stehen. */
.kontur--voll { display: none; }
#lage-sub:checked ~ #form-rund:checked ~ .implant__fig .kv--sub-rund,
#lage-sub:checked ~ #form-anat:checked ~ .implant__fig .kv--sub-anat,
#lage-sub:checked ~ #form-ergo:checked ~ .implant__fig .kv--sub-ergo,
#lage-fas:checked ~ #form-rund:checked ~ .implant__fig .kv--fas-rund,
#lage-fas:checked ~ #form-anat:checked ~ .implant__fig .kv--fas-anat,
#lage-fas:checked ~ #form-ergo:checked ~ .implant__fig .kv--fas-ergo,
#lage-epi:checked ~ #form-rund:checked ~ .implant__fig .kv--epi-rund,
#lage-epi:checked ~ #form-anat:checked ~ .implant__fig .kv--epi-anat,
#lage-epi:checked ~ #form-ergo:checked ~ .implant__fig .kv--epi-ergo { display: block; }

/* Faszie: duenne Linie ueber dem Implantat */
.faszie { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 1.6; stroke-dasharray: 1 4; stroke-linecap: round; }

/* Hervorgehobener Hinweis unter der Grafik */
.implant__hinweis {
  max-width: 660px; display: flex; flex-direction: column; gap: 12px;
  padding: 26px 30px; border-radius: var(--radius-m);
  background: rgba(255,255,255,.06); border: 1px solid var(--hairline-hell);
}
.implant__hinweis-t { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.implant__hinweis p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.7); }
@media (max-width: 734px) { .implant__hinweis { padding: 22px; border-radius: 18px; } }

/* Schnittstelle und Weg zur Implantattasche */
.schnitt { stroke: #fff; stroke-width: 4.5; stroke-linecap: round; fill: none; }
.weg { stroke: rgba(255,255,255,.55); stroke-width: 1.7; stroke-linecap: round; fill: none; stroke-dasharray: 5 6; }

.haut { fill: none; stroke: rgba(255,255,255,.6); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.knochen { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.38); stroke-width: 1.8; }
.muskel { fill: none; stroke: rgba(255,255,255,.26); stroke-width: 14; stroke-linecap: round; }
.muskel-k { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.6; stroke-linecap: round; }
.implantat { fill: rgba(255,255,255,.22); stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; }
.lbl { fill: rgba(255,255,255,.78); font: 600 14px var(--font); }
.lead-line { stroke: rgba(255,255,255,.28); stroke-width: 1.3; fill: none; }
.dot { fill: rgba(255,255,255,.65); }

@keyframes implIn { 0%, 8% { opacity: 0; transform: translateX(210px); } 30%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(210px); } }
/* Nacheinander, nicht ueberblendend: sonst sind kurzzeitig beide Konturen
   gleichzeitig sichtbar und die Brust bekommt zwei Warzen.               */
/* Beide Luecken sind wichtig: beim Wechsel flach->voll UND am Schleifenende,
   sonst ueberlappen sich die Konturen und die Brust bekommt zwei Warzen.

   RECHTLICHER SCHALTER: Der Wechsel flach -> voll zeigt die Veraenderung des
   Aussehens durch den Eingriff. Soll das entfallen (siehe LIES-MICH, Abschnitt
   HWG), genuegt eine Zeile:   .kontur--flach { display: none !important; }
   Die Grafik erklaert dann nur noch die Lage des Implantats.              */
@keyframes konturFlach { 0%, 24% { opacity: 1; } 30%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes konturVoll  { 0%, 42% { opacity: 0; } 50%, 88% { opacity: 1; } 93%, 100% { opacity: 0; } }
@keyframes lblIn { 0%, 56% { opacity: 0; } 68%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes wegLauf { to { stroke-dashoffset: -44; } }
@media (prefers-reduced-motion: no-preference) {
  .implantat-g   { animation: implIn 7s cubic-bezier(.3,.7,.3,1) infinite; }
  .kontur--voll  { animation: konturVoll 7s ease infinite; }
  .kontur--flach { animation: konturFlach 7s ease infinite; }
  .labels        { animation: lblIn 7s ease infinite; }
  .weg           { animation: wegLauf 1.8s linear infinite; }
}
/* Ohne Animation direkt den Endzustand zeigen */
@media (prefers-reduced-motion: reduce) { .kontur--flach { display: none; } }

@media (max-width: 734px) {
  .implant__switch label { padding: 9px 15px; font-size: 14px; }
  .implant .note { font-size: 15px; text-align: left; }
  .lbl { font-size: 17px; }
}

/* ---------- Bewertungskarten: Blindtext-Kennzeichnung ----------
   Nur solange im Slider Platzhalter stehen. Sobald echte Bewertungen
   eingesetzt sind, Klasse "rcard--draft" im HTML entfernen – diese
   Regeln greifen dann nicht mehr und können bleiben.                */
.rcard--draft { border: 1px dashed #d8b4b4; }
.rcard__flag {
  flex: none; padding: 4px 10px; border-radius: 980px;
  background: #fdecec; color: #8a1010;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.rcard__title { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.rcard--draft figcaption { color: #8a1010; font-style: italic; }

/* ---------- FAQ (Akkordeon, ohne JavaScript) ---------- */
.faq { max-width: 860px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq__item { border-radius: var(--radius-m); background: #fff; border: 1px solid var(--hairline); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 13px; height: 13px; margin-right: 2px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq__item summary:hover { color: var(--brand-dark); }
.faq__item summary:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.faq__body { padding: 0 26px 24px; }
.faq__body p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.faq__body p + p { margin-top: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__body { animation: fadeUp .35s cubic-bezier(.2,.7,.2,1) both; }
}
@media (max-width: 734px) {
  .faq__item summary { padding: 18px 20px; font-size: 16px; gap: 14px; }
  .faq__body { padding: 0 20px 20px; }
  .faq__body p { font-size: 15px; }
}

/* ---------- Vorlage: Icons & Platzhalter ---------- */
svg.ico, .lage__park svg, .quote > svg, .thanks__check svg { color: var(--brand); }
.ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, var(--line-soft) 0 14px, var(--bg-2) 14px 28px);
  color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.ph--logo { width: 180px; height: 30px; border-radius: 6px; font-size: 12px; padding: 0 10px; }
.ph--press { width: 96px; height: 28px; border-radius: 6px; font-size: 11px; padding: 0 6px; }
.ph--badge { width: 200px; height: 60px; border-radius: 10px; font-size: 12px; }
.lead-split__img picture, .lead-split__img > img { display: block; width: 100%; height: 100%; }
.lead-split__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 734px) {
  .press .ph--press { width: auto; flex: 1 1 0; min-width: 0; height: 22px; font-size: 9px; }
  .nav__logo .ph--logo { width: 140px; height: 24px; }
}
