/* LuxDocs – gemeinsames Stylesheet für alle Seiten */

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}

:root {
  --bg: #f4f4f5;
  --paper: #fafafa;
  --sand: #ebe7e1;
  --ink: #1b1d21;
  --ink-2: #5d626b;
  --line: #dcdee2;
  --on-photo: #fafafa;
  --btn: #1b1d21;
  --btn-text: #fafafa;
  --sans: "Source Sans 3", "Frutiger", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121315; --paper: #1a1b1e; --sand: #22211f;
    --ink: #ecebe8; --ink-2: #a3a6ad; --line: #2e3034;
    --btn: #ecebe8; --btn-text: #1b1d21;
  }
}
:root[data-theme="dark"] {
  --bg: #121315; --paper: #1a1b1e; --sand: #22211f;
  --ink: #ecebe8; --ink-2: #a3a6ad; --line: #2e3034;
  --btn: #ecebe8; --btn-text: #1b1d21;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.6;
  letter-spacing: .01em; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.photo { filter: saturate(.78) contrast(.96) sepia(.06); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .photo { filter: saturate(.78) contrast(.96) sepia(.06) brightness(.86); }
}
:root[data-theme="dark"] .photo { filter: saturate(.78) contrast(.96) sepia(.06) brightness(.86); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Paired headline: italic serif line + spaced caps */
.hl { font-weight: 300; line-height: 1.08; text-wrap: balance; }
.hl em {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: .62em; letter-spacing: .01em; text-transform: none; margin-bottom: .12em;
}
.hl span { display: block; text-transform: uppercase; letter-spacing: .06em; }
.hl-xl { font-size: clamp(40px, 6.4vw, 84px); }
.hl-l { font-size: clamp(32px, 4.2vw, 54px); }
.hl-m { font-size: clamp(28px, 3vw, 40px); }

.kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.body-s { font-size: 15px; line-height: 1.7; color: var(--ink-2); }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn); color: var(--btn-text); text-decoration: none; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 999px;
  transition: opacity .2s;
}
.pill:hover { opacity: .85; }
.pill.light { background: #fafafa; color: #1b1d21; }
.pill.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* Floating nav */
.nav {
  position: fixed; top: 16px; left: 16px; right: 16px; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 74px; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 6%, transparent);
  opacity: 0; transition: opacity .3s;
}
.nav.solid::before { opacity: 1; }
.menu-open .nav::before { opacity: 0; }
.glass {
  background: rgba(250,250,250,.16); color: #fafafa;
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
}
.nav.solid .glass { background: color-mix(in srgb, var(--bg) 82%, transparent); color: var(--ink); border-color: color-mix(in srgb, var(--ink) 8%, transparent); }
.nav-left { justify-self: start; display: flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; font-size: 14px; cursor: pointer; }
.burger { width: 32px; height: 32px; border-radius: 50%; background: #1b1d21; display: grid; place-items: center; }
.burger i, .burger i::before, .burger i::after { display: block; width: 12px; height: 1.5px; background: #fafafa; position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; transition: transform .3s, top .3s; }
.burger i::before { top: -4px; } .burger i::after { top: 4px; }
.menu-open .nav-left { background: transparent; border-color: transparent; color: var(--ink); }
.menu-open .burger i { background: transparent; }
.menu-open .burger i::before { top: 0; transform: rotate(45deg); }
.menu-open .burger i::after { top: 0; transform: rotate(-45deg); }
.wordmark {
  justify-self: center; text-decoration: none; color: #fafafa; text-align: center;
  font-weight: 600; font-size: 15px; letter-spacing: .32em; text-transform: uppercase; line-height: 1.15;
  transition: color .3s;
}
.wordmark small { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: .02em; font-size: 13px; opacity: .85; }
.nav.solid .wordmark, .menu-open .wordmark { color: var(--ink); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 16px; font-size: 14px; transition: opacity .3s; }
.nav-right a.tel { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.nav-right .pill { padding: 6px 14px; font-size: 13px; }
.nav.solid .nav-right .pill { background: var(--btn); color: var(--btn-text); }
.menu-open .nav-right { opacity: 0; pointer-events: none; }

/* Menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 35; background: var(--paper);
  display: grid; grid-template-columns: 7fr 5fr;
  opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.menu nav { padding: 120px 64px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; overflow-y: auto; }
.menu ol { list-style: none; }
.menu ol a {
  display: flex; align-items: baseline; gap: 18px; text-decoration: none; padding: 6px 0;
  font-weight: 300; font-size: clamp(28px, 3.6vw, 46px); letter-spacing: .06em; text-transform: uppercase; line-height: 1.15;
  opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s, color .2s;
}
.menu ol a em { font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--ink-2); width: 2ch; }
.menu ol a:hover { color: var(--ink-2); }
.menu-open .menu ol a { opacity: 1; transform: none; }
.menu-open .menu ol li:nth-child(2) a { transition-delay: .04s; }
.menu-open .menu ol li:nth-child(3) a { transition-delay: .08s; }
.menu-open .menu ol li:nth-child(4) a { transition-delay: .12s; }
.menu-open .menu ol li:nth-child(5) a { transition-delay: .16s; }
.menu-open .menu ol li:nth-child(6) a { transition-delay: .2s; }
.menu-open .menu ol li:nth-child(7) a { transition-delay: .24s; }
.menu .contact { display: flex; flex-wrap: wrap; gap: 32px 56px; font-size: 15px; color: var(--ink-2); }
.menu .contact h3 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.menu .contact a { display: block; text-decoration: none; }
.menu .contact a:hover { color: var(--ink); }
.menu figure { position: relative; overflow: hidden; }
.menu figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.menu-open, body.modal-open { overflow: hidden; }

/* Hero */
.hero { position: relative; height: min(100svh, 960px); min-height: 620px; color: var(--on-photo); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 2.8s cubic-bezier(.2,.7,.2,1) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,10,.35) 0%, rgba(10,12,10,.18) 40%, rgba(10,12,10,.55) 100%); }
.hero-inner { position: relative; z-index: 1; height: 100%; display: grid; grid-template-rows: 1fr auto; text-align: center; padding: 0 24px 40px; }
.hero h1 { align-self: center; padding-top: 60px; animation: rise 1.4s .3s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > div { animation: rise 1.4s .6s cubic-bezier(.2,.7,.2,1) both; }
.hero p { max-width: 560px; margin: 0 auto 24px; font-size: 17px; line-height: 1.55; color: rgba(250,250,250,.92); }
.down { width: 30px; height: 30px; margin: 0 auto; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; }
.down svg { width: 12px; stroke: #fafafa; }
@keyframes settle { from { transform: scale(1.1); } to { transform: scale(1.02); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Split rows */
.split { display: grid; grid-template-columns: 5fr 8fr; min-height: 640px; }
.split.rev { grid-template-columns: 8fr 5fr; }
.split.rev .panel { order: 2; }
.panel {
  background: linear-gradient(160deg, var(--sand), var(--paper));
  padding: 64px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
.panel.center { justify-content: center; text-align: center; align-items: center; }
.panel .body-s { max-width: 460px; margin-bottom: 18px; }
.panel .lead { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 22px; line-height: 1.4; color: var(--ink); max-width: 460px; margin-bottom: 22px; }
.split .media { position: relative; overflow: hidden; min-height: 420px; }
.split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Head rows */
.head-row { display: grid; grid-template-columns: 5fr 8fr; background: var(--paper); }
.head-row > div { padding: 72px 48px; }
.head-row > div:first-child { text-align: center; display: grid; place-items: center; }
.head-row > div:last-child { background: var(--bg); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.head-row .body-s { max-width: 460px; }

/* Doctors */
.doctors { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--bg); }
.doctor { background: var(--paper); padding: 64px 48px 60px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.doctor > div { max-width: 460px; display: flex; flex-direction: column; align-items: center; }
.doctor .portrait {
  width: 184px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 30px;
  box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px var(--line);
}
.doctor .kicker { color: var(--ink-2); margin-bottom: 12px; }
.doctor h3 { font-weight: 300; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: .05em; text-transform: uppercase; line-height: 1.15; }
.doctor .role { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 18px; line-height: 1.4; margin: 8px 0 18px; color: var(--ink-2); }
.doctor .desc { font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.doctor dl { align-self: stretch; border-top: 1px solid var(--line); margin-bottom: 28px; font-size: 14px; }
.doctor dl div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.doctor dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 2px; }

/* Ways */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.way { position: relative; overflow: hidden; min-height: 520px; color: #fafafa; display: flex; align-items: flex-end; }
.way img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.way::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.8)); }
.way .txt { position: relative; z-index: 1; padding: 40px; max-width: 460px; }
.way .kicker { opacity: .85; margin-bottom: 10px; }
.way p { font-size: 15px; color: rgba(250,250,250,.88); margin-top: 10px; }

/* Steps */
.steps-wrap { background: var(--paper); padding: 110px 48px; }
.steps-wrap .hl { text-align: center; margin-bottom: 72px; }
.steps { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; list-style: none; }
.steps li { border-top: 1px solid var(--line); padding-top: 26px; }
.steps .num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 44px; line-height: 1; margin-bottom: 18px; }
.steps h3 { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }

/* Event */
.event-kicker { color: var(--ink-2); margin-bottom: 22px; }
.date-big { font-weight: 300; font-size: 96px; line-height: 1; letter-spacing: .02em; }
.date-sub { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-top: 8px; }
.event-meta { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin: 18px 0 26px; }
.links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 30px; }
.visit-grid h3 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.visit-grid p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.visit-grid a { text-decoration: none; }

/* Map (lädt Google Maps erst nach Klick) */
.map {
  position: relative; height: 480px; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--ink) 5%, transparent) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 0 1px, transparent 1px 64px),
    linear-gradient(160deg, var(--sand), var(--paper));
}
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px; padding: 24px;
}
.map-consent svg { width: 34px; height: 34px; color: var(--ink); }
.map-consent .kicker { color: var(--ink); }
.map-consent .body-s { max-width: 420px; margin-bottom: 6px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(.96); }

.split.compact { min-height: 520px; }

/* Closing */
.closing { text-align: center; padding: 120px 24px 100px; }
.closing .body-s { max-width: 520px; margin: 22px auto 30px; }
.closing .phone { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.closing .phone a { color: var(--ink); text-underline-offset: 3px; }
.row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Footer card */
footer { padding: 0 24px 24px; }
.card { background: var(--paper); border-radius: 6px; max-width: 1180px; margin: 0 auto; padding: 56px 48px 28px; }
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.cols h3 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.cols a, .cols span { display: block; font-size: 15px; text-decoration: none; margin-bottom: 8px; }
.cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.notes { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px; font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.notes p + p { margin-top: 10px; }
.legal-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; font-size: 12px; color: var(--ink-2); }
.legal-line nav { display: flex; gap: 20px; }
.legal-line a { text-decoration: none; }
.legal-line a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Choice dialogs (Buchung / WhatsApp) */
.modal {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px;
  background: rgba(12,13,15,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
}
.modal.open { opacity: 1; visibility: visible; transition: opacity .3s; }
.modal-card {
  position: relative; width: min(520px, 100%); background: var(--paper); border-radius: 6px;
  padding: 48px 40px 40px; text-align: center; transform: translateY(10px); transition: transform .3s;
}
.modal.open .modal-card { transform: none; }
.modal-card .hl { margin-bottom: 10px; }
.modal-card .body-s { margin-bottom: 28px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg); cursor: pointer; font-size: 20px; line-height: 1; }
.options { display: grid; gap: 10px; text-align: left; }
.option {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s, background .2s;
}
.option:hover { border-color: var(--ink); background: var(--bg); }
.option strong { display: block; font-weight: 400; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.option small { display: block; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.option svg { flex: none; width: 16px; height: 16px; stroke: var(--ink); }

/* Chatbot */
#ld-chat-bubble {
  position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 56px; height: 56px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--btn); color: var(--btn-text); box-shadow: 0 8px 28px rgba(0,0,0,.22); transition: transform .2s;
}
#ld-chat-bubble:hover { transform: scale(1.06); }
#ld-chat-bubble svg { width: 24px; height: 24px; }
#ld-chat-bubble .dot { position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: #6fbf8e; box-shadow: 0 0 0 2px var(--btn); }
#ld-chat-window {
  position: fixed; right: 24px; bottom: 92px; z-index: 45; width: 360px; height: min(560px, calc(100svh - 140px));
  background: var(--paper); border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.2);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(14px); visibility: hidden; transition: opacity .3s, transform .3s, visibility 0s linear .3s;
}
#ld-chat-window.ld-open { opacity: 1; transform: none; visibility: visible; transition: opacity .3s, transform .3s; }
#ld-chat-header {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; flex-shrink: 0;
  background: linear-gradient(160deg, var(--sand), var(--paper)); border-bottom: 1px solid var(--line);
}
.ld-hlogo { font-weight: 600; font-size: 14px; letter-spacing: .28em; text-transform: uppercase; line-height: 1.2; }
.ld-hlogo small { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: .02em; text-transform: none; font-size: 13px; color: var(--ink-2); }
.ld-hstatus { margin-left: auto; font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.ld-hstatus::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3f9b6a; }
#ld-chat-close { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg); cursor: pointer; font-size: 18px; line-height: 1; }
#ld-chat-msgs { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.ld-m { max-width: 86%; padding: 11px 14px; border-radius: 4px; font-size: 14px; line-height: 1.55; animation: ldf .25s ease; }
.ld-m.b { background: var(--bg); color: var(--ink); align-self: flex-start; }
.ld-m.u { background: var(--btn); color: var(--btn-text); align-self: flex-end; }
.ld-m p { margin: 4px 0; }
.ld-row { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; animation: ldf .25s ease; }
.ld-b {
  background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; cursor: pointer; transition: background .15s, color .15s; text-decoration: none; text-align: center;
}
.ld-b:hover, .ld-b.p { background: var(--btn); color: var(--btn-text); border-color: var(--btn); }
.ld-b.p { font-weight: 600; }
.ld-note { font-size: 12px; line-height: 1.5; color: var(--ink-2); margin: 4px 2px 0; }
.ld-thanks { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-2); text-align: center; margin-top: 8px; }
#ld-input-area { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); flex-shrink: 0; }
#ld-inp { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; outline: none; }
#ld-inp:focus { border-color: var(--ink); }
#ld-send { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--btn); color: var(--btn-text); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
#ld-send svg { width: 16px; height: 16px; fill: currentColor; }
@keyframes ldf { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.menu-open #ld-chat-bubble, .menu-open #ld-chat-window { opacity: 0; pointer-events: none; }

/* Legal pages */
.legal-hero { background: linear-gradient(160deg, var(--sand), var(--paper)); padding: 168px 24px 88px; text-align: center; }
.legal-hero .body-s { max-width: 620px; margin: 22px auto 0; }
.legal-hero .hl span { hyphens: manual; overflow-wrap: anywhere; }
.legal-wrap { max-width: 1180px; margin: 0 auto; padding: 88px 24px 120px; display: grid; grid-template-columns: 260px 1fr; gap: 72px; align-items: start; }
.toc { position: sticky; top: 104px; font-size: 14px; }
.toc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 16px; font-weight: 300; letter-spacing: 0; transition: transform .2s; }
.toc details[open] summary::after { transform: rotate(45deg); }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; text-decoration: none; color: var(--ink-2); padding: 5px 0 5px 16px; margin-left: -1px; border-left: 1px solid transparent; line-height: 1.4; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-left-color: var(--ink); }
.prose { max-width: 720px; }
.prose h2 {
  font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5;
  padding-top: 32px; margin: 48px 0 16px; border-top: 1px solid var(--line); scroll-margin-top: 96px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 21px; line-height: 1.35; margin: 30px 0 10px; }
.prose p, .prose address { font-size: 16px; line-height: 1.75; color: var(--ink-2); margin-bottom: 14px; }
.prose address { font-style: normal; color: var(--ink); padding: 18px 22px; background: var(--paper); border-radius: 4px; }
.prose a { text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }

/* Mobile bottom bar */
.bar { display: none; }

/* Reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .menu ol a, .menu, .modal, .modal-card, #ld-chat-window { transition: none; }
  .hero img, .hero h1, .hero-inner > div, .ld-m, .ld-row { animation: none; }
}

@media (max-width: 900px) {
  .nav-left .lbl, .nav-right { display: none; }
  .nav-left { padding: 5px; }
  .menu { grid-template-columns: 1fr; }
  .menu figure { display: none; }
  .menu nav { padding: 96px 24px 40px; }
  .split, .split.rev, .head-row { grid-template-columns: 1fr; }
  .split.rev .panel { order: 0; }
  .split, .split.compact { min-height: 0; }
  .split .media { min-height: 360px; }
  .panel { padding: 56px 24px; }
  .head-row > div { padding: 56px 24px; }
  .ways, .doctors { grid-template-columns: 1fr; }
  .way { min-height: 420px; }
  .way .txt { padding: 28px 22px; }
  .steps-wrap { padding: 80px 24px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .visit-grid { grid-template-columns: 1fr; gap: 22px; }
  .map { height: 380px; }
  .cols { grid-template-columns: 1fr 1fr; }
  .card { padding: 40px 24px 24px; }
  .closing { padding: 88px 24px 80px; }
  .legal-hero { padding: 128px 24px 64px; }
  .legal-wrap { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 96px; }
  .toc { position: static; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
  .toc summary { margin-bottom: 0; }
  .toc details[open] summary { margin-bottom: 14px; }
  .bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transition: opacity .3s;
  }
  .bar button { border: 0; cursor: pointer; padding: 11px 0; border-radius: 999px; font-size: 15px; }
  .bar button:first-child { background: color-mix(in srgb, var(--ink) 10%, var(--bg)); color: var(--ink); }
  .bar button:last-child { background: var(--btn); color: var(--btn-text); }
  .menu-open .bar { opacity: 0; pointer-events: none; }
  body { padding-bottom: 70px; }
  #ld-chat-bubble { bottom: 84px; right: 14px; width: 52px; height: 52px; }
  #ld-chat-window { right: 10px; left: 10px; width: auto; bottom: 146px; height: min(540px, calc(100svh - 230px)); }
}
@media (max-width: 600px) {
  .doctor { padding: 52px 24px 52px; }
  .doctor .portrait { width: 160px; }
  .cols { grid-template-columns: 1fr; }
  .date-big { font-size: 76px; }
  .modal-card { padding: 44px 22px 26px; }
}
