/* =========================================================
   Zahnarztpraxis Dr. Hamid Hesso — Konzeptentwurf (VCSLV)
   Their word mark in Computer Modern Sans, a deep petrol ground,
   the cyan of their current site, porcelain white, one champagne metal.
   ========================================================= */

@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0f2124;
  --night: #0b181b;
  --night-2: #10221f;
  --slate: #132a2e;
  --petrol: #17383e;
  --aqua: #087489;
  --aqua-2: #065c6c;
  --aqua-l: #5fd0e2;
  --aqua-soft: rgba(8, 116, 137, .08);
  --gold: #c9ad72;
  --gold-l: #ead7a8;
  --gold-d: #a88b52;
  --paper: #f3f5f2;
  --paper-2: #e6ebe8;
  --paper-3: #fbfcfa;
  --muted: #586866;
  --ok: #7fd6a4;
  --off: #e3a08f;
  --line: rgba(15, 33, 36, .12);
  --line-2: rgba(15, 33, 36, .24);
  --line-inv: rgba(243, 245, 242, .13);
  --line-inv-2: rgba(243, 245, 242, .28);
  --muted-inv: rgba(243, 245, 242, .68);

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1440px;
  --hdr-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip; font-variant-numeric: lining-nums;
}
img, video, svg { display: block; max-width: 100%; }
svg { fill: currentColor; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; min-width: 0; }
legend { padding: 0; }
::selection { background: #cdeef3; color: var(--ink); }
:focus-visible { outline: 2px solid var(--aqua-l); outline-offset: 3px; }
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.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; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 2px; transition: top .2s; }
.skip:focus { top: 16px; }
@media (max-width: 719px) { .hide-s { display: none !important; } }
@media (min-width: 720px) { .show-s { display: none !important; } }

/* logo colours: ink on light ground, porcelain with a champagne rule on dark */
.hdr__logo, .foot__logo { fill: currentColor; }
.lg-rule { fill: var(--lg-rule, currentColor); }
[data-theme="dark"], .hero { --lg-rule: var(--gold); }
.hdr.is-solid:not(.on-dark) { --lg-rule: var(--ink); }
.menu-open .hdr.hdr { --lg-rule: var(--gold); }

/* ---------- Type ---------- */
.h2 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.012em; text-wrap: balance; }
.h2 em { font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--aqua); }
[data-theme="dark"] .h2 em { color: var(--gold-l); }
.h-label { display: inline-flex; align-items: center; gap: 12px; color: var(--aqua); }
.h-label::before { content: ''; width: 28px; height: 1px; flex: none; background: currentColor; opacity: .8; }
.h-label--inv { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 22px 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::after { transform: translateY(0); }
.btn--aqua { background: var(--aqua); color: #fff; }
.btn--aqua::after { background: var(--aqua-2); }
.btn--gold { background: linear-gradient(180deg, #efe0b9 0%, #cdb27a 100%); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--gold::after { background: var(--gold-l); }
.btn--line { border-color: currentColor; }
.btn--line::after { background: currentColor; }
.btn--line:hover { color: var(--ink); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost::after { background: var(--paper-2); }
.btn--ghost-inv { border-color: var(--line-inv-2); color: var(--paper); }
.btn--ghost-inv::after { background: rgba(243, 245, 242, .12); }
.btn--ghost-inv:hover svg { transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap .4s var(--ease), opacity .3s; white-space: nowrap; }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 16px; }
.dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(127, 214, 164, .55); animation: pulse 2.4s infinite; }
.dot.is-closed { background: var(--off); }
.dot.is-closed::after { animation: none; opacity: 0; }
.dot.is-off::after { animation-play-state: paused; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(3.6); opacity: 0; } }
.rbtn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background-color .3s, color .3s, border-color .3s; flex: none; }
.rbtn:hover { background: var(--aqua); color: #fff; border-color: var(--aqua); }
.rbtn svg { width: 18px; height: 18px; }

/* segmented control with sliding pill */
.seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(15, 33, 36, .06); max-width: 100%; }
.seg button { position: relative; z-index: 1; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--muted); transition: color .4s var(--ease); }
.seg button[aria-selected="true"], .seg button[aria-checked="true"] { color: #fff; }
.seg__pill { position: absolute; z-index: 0; top: 4px; left: 0; height: 38px; border-radius: 999px; background: var(--aqua); transition: transform .55s var(--ease), width .55s var(--ease); }
.seg--sm button { height: 34px; padding: 0 13px; font-size: 13.5px; }
.seg--sm .seg__pill { height: 34px; }
.seg--dark { background: rgba(243, 245, 242, .1); }
.seg--dark button { color: var(--muted-inv); }
.seg--dark button[aria-selected="true"] { color: var(--ink); }
.seg--dark .seg__pill { background: var(--gold-l); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); color: var(--paper);
  transition: color .5s var(--ease), transform .6s var(--ease), height .5s var(--ease), box-shadow .5s;
}
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: transparent; transition: background-color .5s var(--ease); }
.hdr.is-solid { --hdr-h: 64px; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr.is-solid::before { background: rgba(243, 245, 242, .93); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.hdr.is-solid.on-dark { color: var(--paper); box-shadow: 0 1px 0 var(--line-inv); }
.hdr.is-solid.on-dark::before { background: var(--hdr-dark, rgba(11, 24, 27, .92)); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__brand { display: flex; align-items: center; flex: none; transition: opacity .6s var(--ease); }
.hdr__logo { width: 154px; height: 35px; filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .28)); }
.hdr.is-solid:not(.on-dark) .hdr__logo { filter: none; }
.hdr.has-crest .hdr__brand { opacity: 0; pointer-events: none; }
.hdr:not(.is-solid) { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.hdr__nav { display: flex; gap: clamp(16px, 2vw, 32px); font-size: 14.5px; font-weight: 500; transition: opacity .4s var(--ease); }
.hdr__nav a { position: relative; padding: 6px 0; opacity: .92; white-space: nowrap; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hdr__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.hdr__tel svg { width: 17px; height: 17px; }
.hdr__book { --h: 42px; font-size: 14px; padding: 0 18px 0 20px; }
.hdr__book svg { width: 15px; height: 15px; }
.hdr__menu { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 4px 0 10px; font-size: 14px; font-weight: 500; }
.hdr__burger { width: 26px; height: 10px; position: relative; display: block; }
.hdr__burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.hdr__burger i:first-child { top: 0; }
.hdr__burger i:last-child { top: 8.5px; }
.menu-open .hdr__burger i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-open .hdr__burger i:last-child { top: 4.25px; transform: rotate(-45deg); }
.menu-open .hdr { color: var(--paper); }
.menu-open .hdr::before { background: var(--night) !important; backdrop-filter: none !important; }
.menu-open .hdr.is-solid { box-shadow: none; }
.menu-open .hdr__brand { opacity: 1 !important; pointer-events: auto !important; }
.menu-open .hdr__nav { opacity: 0; pointer-events: none; }
@media (max-width: 1320px) { .hdr__tel { display: none; } }
@media (max-width: 1180px) { .hdr__nav { display: none; } }
@media (max-width: 719px) {
  :root { --hdr-h: 64px; }
  .hdr.is-solid { --hdr-h: 56px; }
  .hdr__book { display: none; }
  .hdr__logo { width: 128px; height: 29px; }
  .hdr__menu-label { display: none; }
  .hdr__menu { width: 44px; justify-content: center; padding: 0; }
}

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--night); color: var(--paper);
  display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: 1fr auto;
  padding: calc(var(--hdr-h) + 24px) var(--gutter) 28px; gap: 0 6vw; clip-path: inset(0 0 100% 0);
}
.menu[hidden] { display: none; }
.menu__media { position: relative; grid-row: 1 / 3; overflow: hidden; border-radius: 3px; }
.menu__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.menu__media img.is-on { opacity: 1; transform: scale(1); }
.menu__nav { align-self: center; }
.menu__nav li { overflow: hidden; border-bottom: 1px solid var(--line-inv); }
.menu__nav a { display: grid; grid-template-columns: 52px 1fr auto; align-items: baseline; gap: 12px; padding: 12px 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, min(2.8vw, 5svh), 3rem); line-height: 1.08; letter-spacing: -.01em; transition: color .4s, padding .5s var(--ease); }
.menu__nav a:hover { padding-left: 14px; color: var(--gold-l); }
.menu__no { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--muted-inv); font-weight: 500; }
.menu__nav em { font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: .02em; color: var(--muted-inv); text-align: right; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 15px; padding-top: 24px; }
.menu__foot a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; }
.menu__foot svg { width: 18px; height: 18px; }
.menu__foot .btn { margin-left: auto; }
@media (max-width: 899px) {
  .menu { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding-top: calc(var(--hdr-h) + 8px); overflow-y: auto; overscroll-behavior: contain; }
  .menu__media { grid-row: auto; height: 15vh; min-height: 100px; }
  .menu__nav a { grid-template-columns: 34px 1fr; font-size: clamp(1.6rem, 7vw, 2.2rem); padding: 9px 0; }
  .menu__nav em { grid-column: 2; text-align: left; margin-top: -2px; }
  .menu__foot { gap: 10px 20px; padding-top: 16px; }
  .menu__foot .btn { margin-left: 0; width: 100%; }
}

/* =========================================================
   Hero: their word mark grows out of its rule over the reception
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--hdr-h);
  overflow: hidden; overflow-anchor: none; color: var(--paper); isolation: isolate; background: #0a1517;
}
.hero__scene { position: absolute; inset: 0; overflow: hidden; }
.hero__scene picture { position: absolute; inset: 0; }
/* wider than the screen, so Dr. Hesso and the assistant stand left and right of the name */
.hero__fg { position: absolute; top: 0; bottom: 0; left: -15%; width: 117%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 45%; will-change: transform; }
.js .hero__fg, .js .hero__shade { opacity: 0; }
.hero__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background:
  radial-gradient(40% 30% at 50% var(--crest-y, 34%), rgba(7, 18, 20, .66), rgba(7, 18, 20, .3) 60%, rgba(7, 18, 20, 0) 100%),
  linear-gradient(180deg, rgba(7, 18, 20, .66) 0%, rgba(7, 18, 20, .36) 20%, rgba(7, 18, 20, .26) 42%, rgba(7, 18, 20, .34) 60%, rgba(7, 18, 20, .74) 80%, rgba(7, 18, 20, .92) 100%); }

.crest {
  position: relative; z-index: 4; flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: clamp(8px, 2svh, 30px) 16px clamp(18px, 3.4svh, 44px); color: var(--paper);
}
.crest__logo { width: clamp(320px, min(36vw, 66svh), 600px); height: auto; aspect-ratio: 2660 / 600; overflow: visible; fill: #f6f8f5; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .5)); }
.crest__place { margin-top: clamp(14px, 2.4svh, 28px); display: flex; align-items: center; gap: 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .36em; text-transform: uppercase; color: rgba(246, 248, 245, .92); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.crest__place span { padding-left: .36em; white-space: nowrap; }
.crest__place i { width: 42px; height: 1px; background: rgba(234, 215, 168, .75); }
.js .crest__name, .js .crest__job, .js .crest__place, .js .crest__rule { opacity: 0; }
.no-anim .crest__name, .no-anim .crest__job, .no-anim .crest__place, .no-anim .hero__fg, .no-anim .hero__shade, .no-anim .crest__rule,
.is-static .crest__name, .is-static .crest__job, .is-static .crest__place, .is-static .hero__fg, .is-static .hero__shade, .is-static .crest__rule { opacity: 1 !important; }

/* ---------- Termin console ---------- */
.tq {
  position: relative; z-index: 5; width: calc(100% - 2 * var(--gutter)); max-width: 1160px; margin: 0 auto clamp(16px, 3vh, 30px);
  background: rgba(251, 252, 250, .97); color: var(--ink); border-radius: 4px; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.tq::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--aqua), #3fb6c9 50%, var(--aqua)); }
.js .hero .tq { opacity: 0; }
.no-anim .hero .tq, .is-static .tq { opacity: 1 !important; }
.tq__head { display: flex; align-items: center; gap: 12px 28px; padding: 13px 22px 12px; border-bottom: 1px solid var(--line); }
.tq__lab { color: var(--aqua); white-space: nowrap; }
.tq__steps { display: flex; gap: 6px; counter-reset: s; }
.tq__steps button { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 4px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .3s, background-color .3s; white-space: nowrap; }
.tq__steps i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); transition: background-color .3s, border-color .3s, color .3s; }
.tq__steps button[aria-current="step"] { color: var(--ink); background: var(--aqua-soft); }
.tq__steps button[aria-current="step"] i { background: var(--aqua); border-color: var(--aqua); color: #fff; }
.tq__steps button.is-done i { background: rgba(8, 116, 137, .14); border-color: transparent; color: var(--aqua); }
.tq__steps button:disabled { cursor: default; opacity: .55; }
.tq__live { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.tq__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); }
.tq__stage { position: relative; display: grid; padding: 16px 22px 18px; min-width: 0; }
/* all steps share one cell: the console keeps the height of the tallest step, nothing jumps */
.tq__step { grid-area: 1 / 1; display: block; min-width: 0; }
.tq__step[hidden] { display: block; visibility: hidden; pointer-events: none; }
.tq__q { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin-bottom: 12px; }
.tq__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chip { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 3px; text-align: left; font-size: 15px; font-weight: 500; transition: border-color .3s, background-color .3s, color .3s; }
.chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.chip .chip__s { display: none; }
@media (max-width: 899px) { .chip .chip__l { display: none; } .chip .chip__s { display: inline; } }
.chip svg { width: 20px; height: 20px; color: var(--aqua); flex: none; }
.chip svg { opacity: .18; transition: opacity .3s; }
.chip:hover { border-color: var(--aqua); }
.chip[aria-checked="true"] svg { opacity: 1; }
.chip[aria-checked="true"] { border-color: var(--aqua); background: var(--aqua-soft); color: var(--aqua-2); box-shadow: inset 0 0 0 1px var(--aqua); }
.tq__hint { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.tq__hint[hidden], .tq__note[hidden] { display: none; }
.tq__note { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.tq__note svg { width: 17px; height: 17px; color: var(--aqua); flex: none; }
.tq__hint svg { width: 18px; height: 18px; color: #b0543f; flex: none; }
.tq__hint a { font-weight: 600; border-bottom: 1px solid currentColor; white-space: nowrap; }
.tq__grid2 { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 12px 26px; }
.tq__f--days { grid-row: span 2; }
.tq__flab { display: block; margin-bottom: 7px; color: var(--muted); white-space: nowrap; }
.tq__days { display: flex; gap: 6px; }
.day { width: 58px; height: 82px; border: 1px solid var(--line-2); border-radius: 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: border-color .3s, background-color .3s, color .3s; }
.day b { font-size: 17px; font-weight: 600; line-height: 1.1; }
.day small { font-size: 12px; color: var(--muted); line-height: 1.2; white-space: nowrap; }
.day:hover { border-color: var(--aqua); }
.day[aria-pressed="true"] { background: var(--aqua); border-color: var(--aqua); color: #fff; }
.day[aria-pressed="true"] small { color: rgba(255, 255, 255, .82); }
.tq__grid3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 18px; }
.field { display: block; min-width: 0; }
.field span { display: block; margin-bottom: 7px; color: var(--muted); white-space: nowrap; }
.field input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; font-size: 15px; transition: border-color .3s; }
.field input:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(8, 116, 137, .12); }
.field input.is-bad { border-color: #b0543f; box-shadow: 0 0 0 3px rgba(176, 84, 63, .12); }
.field input::placeholder { color: rgba(88, 104, 102, .6); }
.tq__side { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 16px 22px 18px; border-left: 1px solid var(--line); background: rgba(230, 235, 232, .5); min-width: 0; }
.tq__sum { display: grid; gap: 8px; }
.tq__sum dt { color: var(--muted); }
.tq__sum dd { font-size: 15px; font-weight: 500; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tq__nav { display: flex; gap: 10px; align-items: center; }
.tq__back { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: border-color .3s, opacity .3s; }
.tq__back svg { width: 18px; height: 18px; }
.tq__back:hover { border-color: var(--ink); }
.tq__back:disabled { opacity: .35; cursor: default; }
.tq__next { --h: 48px; flex: 1; min-width: 0; }
.tq__done { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; }
.tq__done[hidden] { display: grid; }
.tq__ticket { border: 1px dashed rgba(8, 116, 137, .5); border-radius: 4px; padding: 12px 16px; background: #fff; }
.tq__tlab { display: flex; align-items: center; gap: 8px; color: var(--aqua); margin-bottom: 6px; }
.tq__tlab svg { width: 18px; height: 18px; flex: none; }
.tq__tk { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin-bottom: 6px; }
.tq__tl { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 4px 16px; }
.tq__tl li { min-width: 0; }
.tq__tl span { display: block; color: var(--muted); }
.tq__tl b { display: block; font-weight: 500; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tq__fine { font-size: 13px; line-height: 1.45; color: var(--muted); }
.tq__x { display: none; position: absolute; right: 10px; top: 9px; width: 34px; height: 34px; border-radius: 50%; place-items: center; z-index: 2; transition: background-color .3s; }
.tq__x svg { width: 18px; height: 18px; }
.tq__x:hover { background: var(--paper-2); }
@media (max-width: 1080px) {
  .tq__live { display: none; }
  .tq__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Termin sheet (the console moves in here) ---------- */
html.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; }
.sheet[hidden] { display: none; }
.sheet__veil { position: absolute; inset: 0; background: rgba(7, 18, 20, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet__slot { position: relative; width: min(1100px, 100%); }
.sheet .tq { width: 100%; max-width: none; margin: 0; opacity: 1; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); }
.sheet .tq__head { padding-right: 56px; }
.sheet .tq__x { display: grid; }
.sheet-open .dock { transform: translateY(140%); }

/* =========================================================
   Heute in der Praxis: the board and the way from the station
   ========================================================= */
.today { position: relative; background: var(--night); color: var(--paper); }
.today__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 48px; flex-wrap: wrap; }
.today__lead { max-width: 46ch; color: var(--muted-inv); }
.today__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: stretch; }
.board { background: linear-gradient(180deg, #132a2e, #0f2326); border-radius: 4px; box-shadow: 0 0 0 1px var(--line-inv), 0 30px 60px -30px rgba(0, 0, 0, .6); overflow: hidden; display: flex; flex-direction: column; }
.board__top { display: flex; align-items: center; gap: 18px; padding: 12px 20px; border-bottom: 1px solid var(--line-inv); }
.board__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .01em; }
.board__date { color: var(--muted-inv); }
.board__clock { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; font-weight: 500; }
.board__rows { flex: 1; display: flex; flex-direction: column; }
.brow { flex: 1; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 6px 18px; padding: clamp(8px, 1.6svh, 16px) 20px; border-bottom: 1px solid var(--line-inv); }
.brow:last-child { border-bottom: 0; }
.brow__lab { color: var(--gold); }
.brow__vals { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; min-width: 0; }
.tv { position: relative; display: inline-block; max-width: 100%; overflow: hidden; vertical-align: bottom; white-space: nowrap; }
.tv--side { white-space: normal; }
.tv > span { display: inline-block; }
.tv--main { font-family: var(--serif); font-size: var(--h3s); font-weight: 600; line-height: 1.2; }
.tv--side { color: var(--muted-inv); }
.brow--now .tv--main { font-size: var(--h3m); }
.brow--now.is-open .tv--main { color: #bfeccf; }
.brow--now.is-closed .tv--main { color: #f2c7bb; }
.brow--sos.is-today { background: linear-gradient(90deg, rgba(201, 173, 114, .14), rgba(201, 173, 114, 0)); }
.brow__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--gold-l); border-bottom: 1px solid rgba(234, 215, 168, .4); white-space: nowrap; }
.brow__link svg { width: 14px; height: 14px; }
.brow--week { align-items: center; }
.week { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wk { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 5px; text-align: center; padding: 6px 4px 6px; border-radius: 3px; }
.wk__d { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; }
.wk__d small { display: block; font-weight: 400; letter-spacing: 0; color: var(--muted-inv); font-size: 11px; }
.wk__bar { position: relative; height: clamp(34px, 6svh, 60px); border-radius: 2px; background: rgba(243, 245, 242, .06); overflow: hidden; }
.wk__bar i { position: absolute; left: 0; right: 0; border-radius: 1px; }
.wk__open { background: linear-gradient(180deg, #3fb6c9, var(--aqua)); }
.wk__sos { background: rgba(201, 173, 114, .65); }
.wk__now { left: -2px !important; right: -2px !important; height: 2px; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .8); }
.wk.is-today { background: rgba(243, 245, 242, .08); box-shadow: inset 0 0 0 1px var(--line-inv-2); }
.wk.is-holiday .wk__bar { background: repeating-linear-gradient(-45deg, rgba(243, 245, 242, .07) 0 4px, transparent 4px 8px); }
.week__leg { grid-column: 1 / -1; display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted-inv); }
.week__leg i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

.map { position: relative; border-radius: 4px; overflow: hidden; background: #112428; box-shadow: 0 0 0 1px var(--line-inv); min-height: 280px; display: flex; flex-direction: column; }
.map__svg { flex: 1; width: 100%; height: 100%; min-height: 0; max-width: none; }
.map__water path { fill: none; stroke: #18414a; stroke-width: 9; stroke-linecap: round; }
.map__bld path { fill: #1a3337; }
.map__road path, .map__rail path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map__road--small path { stroke: #2a4549; stroke-width: 2.4; }
.map__road--mid path { stroke: #33525a; stroke-width: 4.6; }
.map__road--big path { stroke: #3e5f66; stroke-width: 7.2; }
.map__rail path { stroke: #3a5355; stroke-width: 1.1; }
.map__station { fill: #2f4c51; }
.map__praxis { fill: var(--aqua); }
.map__walk { fill: none; stroke: var(--gold-l); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 5 5; }
.map__walkm { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.js .map__walkm { stroke-dashoffset: 1; }
.no-anim .map__walkm, .is-static .map__walkm { stroke-dashoffset: 0 !important; }
.map__bus circle { fill: #112428; stroke: var(--paper); stroke-width: 1.2; }
.map__pin circle { fill: var(--aqua-l); }
.map__pin .map__core { fill: #fff; }
.map__pulse { opacity: .25; transform-box: fill-box; transform-origin: center; animation: mapPulse 2.6s infinite; }
.map.is-off .map__pulse { animation-play-state: paused; }
@keyframes mapPulse { 0% { transform: scale(.6); opacity: .5; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
.map__dot circle { fill: var(--paper); }
.map__lab { font-family: var(--sans); font-size: 9.5px; font-weight: 500; fill: var(--paper); letter-spacing: .04em; paint-order: stroke; stroke: #112428; stroke-width: 3px; stroke-linejoin: round; }
.map__lab--street { font-size: 8px; fill: rgba(243, 245, 242, .62); letter-spacing: .12em; text-transform: uppercase; }
.map__lab--p { fill: #bdf0f8; font-size: 10.5px; font-weight: 600; }
.map__cap { display: flex; justify-content: space-between; align-items: center; gap: 8px 18px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line-inv); background: rgba(11, 24, 27, .9); font-size: 14px; }
.map__cap span { display: inline-flex; align-items: center; gap: 10px; }
.map__cap svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.map__cap .link-arrow { font-size: 14px; color: var(--gold-l); }
.map__osm { position: absolute; right: 8px; top: 6px; font-size: 10px; color: rgba(243, 245, 242, .55); }

/* =========================================================
   Leistungen
   ========================================================= */
.areas { background: var(--paper); }
.areas__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.areas__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 60px); align-items: stretch; }
.areas__media { position: relative; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.areas__media img, .team__media img, .tour__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.areas__media img.is-on, .team__media img.is-on, .tour__media img.is-on { opacity: 1; }
.areas__cap { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 7px 13px; border-radius: 999px; background: rgba(11, 24, 27, .74); color: var(--paper); font-size: 13px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.areas__panel { display: flex; flex-direction: column; min-width: 0; }
.areas__count { color: var(--muted); }
.areas__title { font-family: var(--serif); font-weight: 500; margin: 4px 0 clamp(8px, 1.6svh, 18px); }
.areas__list { border-top: 1px solid var(--line); }
.areas__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; padding: clamp(8px, 1.45svh, 14px) 0; border-bottom: 1px solid var(--line); }
.areas__list svg { width: 20px; height: 20px; color: var(--aqua); margin-top: 3px; grid-row: span 2; }
.areas__list b { font-family: var(--serif); font-weight: 600; line-height: 1.2; }
.areas__list span { color: var(--muted); line-height: 1.45; }
.areas__cta { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-top: auto; padding-top: clamp(12px, 2.4svh, 26px); }
.areas__note { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.areas__note svg { width: 18px; height: 18px; color: var(--aqua); }

/* =========================================================
   Implantat: the journey and a diagram that builds itself
   ========================================================= */
.impl { background: radial-gradient(80% 90% at 80% 40%, #13302f 0%, var(--night) 70%); color: var(--paper); }
.impl__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.impl__steps { margin-top: clamp(12px, 2.6svh, 30px); border-top: 1px solid var(--line-inv); counter-reset: st; }
.istep { border-bottom: 1px solid var(--line-inv); }
.istep__btn { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: clamp(8px, 1.5svh, 14px) 0; text-align: left; }
.istep__no { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted-inv); transition: color .3s; }
.istep__k { font-family: var(--serif); font-weight: 600; line-height: 1.2; transition: color .3s; }
.istep__btn svg { width: 16px; height: 16px; color: var(--muted-inv); transition: transform .5s var(--ease), color .3s; }
.istep.is-on .istep__no, .istep.is-on .istep__btn svg { color: var(--gold); }
.istep.is-on .istep__btn svg { transform: rotate(90deg); }
.istep__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.istep.is-on .istep__more { grid-template-rows: 1fr; }
.istep__in { overflow: hidden; visibility: hidden; transition: visibility 0s .6s; }
.istep.is-on .istep__in { visibility: visible; transition: none; }
.istep__in p { padding: 0 0 clamp(10px, 1.8svh, 16px) 52px; color: rgba(243, 245, 242, .82); }
.istep__btn:hover .istep__k { color: var(--gold-l); }
.impl__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: clamp(14px, 2.8svh, 30px); }
.impl__fine { flex: 1 1 260px; font-size: 13px; line-height: 1.5; color: var(--muted-inv); }
.impl__stage { position: relative; border-radius: 4px; background: linear-gradient(180deg, #0f2529, #0b1b1e); box-shadow: 0 0 0 1px var(--line-inv); overflow: hidden; display: flex; flex-direction: column; }
.ix { width: 100%; height: auto; max-height: calc(var(--scr-h) - 60px); aspect-ratio: 600 / 480; margin: 0 auto; }
.ix__bone { fill: #13302f; }
.ix__gum { fill: rgba(95, 208, 226, .07); stroke: rgba(95, 208, 226, .4); stroke-width: 1.2; }
.ix__tooth path { fill: rgba(243, 245, 242, .07); stroke: rgba(243, 245, 242, .78); stroke-width: 1.3; stroke-linejoin: round; }
.ix__xray, .ix__plan, .ix__implant, .ix__crown, .ix__care { transition: opacity .6s var(--ease), transform 1s var(--ease); }
.ix__scan { opacity: .9; }
.ix__gap { fill: none; stroke: var(--aqua-l); stroke-width: 1.2; stroke-dasharray: 4 4; }
.ix__ghost { fill: none; stroke: var(--gold-l); stroke-width: 1.2; stroke-dasharray: 5 5; }
.ix__dim { fill: none; stroke: rgba(234, 215, 168, .6); stroke-width: 1; }
.ix__thread { fill: none; stroke: rgba(70, 52, 22, .55); stroke-width: 1.2; }
.ix__por { stroke: var(--aqua-l); stroke-width: 1.3; }
.ix__spark { fill: var(--gold-l); }
.ix__arc { fill: none; stroke: var(--aqua-l); stroke-width: 1.2; stroke-dasharray: 3 6; }
/* states */
.ix .ix__xray, .ix .ix__plan, .ix .ix__care { opacity: 0; }
.ix .ix__implant { opacity: 0; transform: translateY(-120px); }
.ix .ix__crown { opacity: 0; transform: translateY(-90px); }
.ix[data-step="1"] .ix__xray { opacity: 1; }
.ix[data-step="2"] .ix__plan { opacity: 1; }
.ix[data-step="3"] .ix__implant, .ix[data-step="4"] .ix__implant, .ix[data-step="5"] .ix__implant { opacity: 1; transform: none; }
.ix[data-step="4"] .ix__crown, .ix[data-step="5"] .ix__crown { opacity: 1; transform: none; }
.ix[data-step="5"] .ix__care { opacity: 1; }
.ix[data-step="1"] .ix__scan { animation: scan 3.2s var(--ease) infinite; }
.ix.is-off .ix__scan { animation-play-state: paused; }
@keyframes scan { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(740px); } }
.impl__cap { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--line-inv); font-size: 14px; color: var(--muted-inv); }
.impl__no { color: var(--gold); }

/* =========================================================
   Dr. Hesso
   ========================================================= */
.doc { background: var(--paper); }
.doc__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4.4vw, 80px); align-items: center; }
.doc__fig { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; max-height: var(--scr-h); width: 100%; margin-inline: auto; background: var(--paper-2); }
.doc__fig img { width: 100%; height: 100%; object-fit: cover; }
.doc__lead { margin-top: clamp(10px, 2svh, 20px); max-width: 52ch; }
.doc__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(14px, 2.8svh, 32px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.doc__facts div { padding: clamp(10px, 1.8svh, 18px) 16px clamp(10px, 1.8svh, 18px) 0; }
.doc__facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.doc__facts dt { color: var(--muted); }
.doc__facts b { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, min(3vw, 5svh), 2.9rem); line-height: 1.05; color: var(--aqua); font-variant-numeric: lining-nums; }
.cv { margin-top: clamp(14px, 2.8svh, 32px); }
.cv__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cv__lab { color: var(--aqua); }
.cv__nav { display: flex; gap: 8px; }
.cv__rail { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin-top: 10px; }
.cv__rail::before { content: ''; position: absolute; left: 6px; right: 6px; top: 12px; height: 1px; background: var(--line-2); }
.cv__dot { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 5px; min-width: 0; text-align: left; }
.cv__dot i { width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line-2); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.cv__dot span { font-size: 12.5px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .3s; }
.cv__dot:hover i { border-color: var(--aqua); }
.cv__dot[aria-selected="true"] i { background: var(--aqua); border-color: var(--aqua); transform: scale(1.2); }
.cv__dot[aria-selected="true"] span { color: var(--ink); }
.cv__dot.is-past i { border-color: var(--aqua); }
.cv__card { margin-top: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 20px; align-items: baseline; padding: 14px 18px; border-radius: 4px; background: var(--paper-3); box-shadow: 0 0 0 1px var(--line); min-height: 86px; }
.cv__y { grid-row: span 2; font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: 1; color: var(--aqua); white-space: nowrap; }
.cv__t { font-weight: 500; line-height: 1.35; }
.cv__p { color: var(--muted); font-size: 14px; }

/* =========================================================
   Team
   ========================================================= */
.team { background: var(--night-2); color: var(--paper); }
.team__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4.4vw, 80px); align-items: center; }
.team__text .seg { margin-top: clamp(14px, 2.8svh, 30px); }
.team__names { font-family: var(--serif); font-weight: 600; color: var(--gold-l); margin-top: clamp(14px, 2.6svh, 28px); line-height: 1.15; }
.team__t { margin-top: 10px; max-width: 46ch; color: rgba(243, 245, 242, .82); min-height: 4.8em; }
.team__media { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 2; max-height: var(--scr-h); width: 100%; background: var(--slate); }

/* =========================================================
   Praxis: Rundgang
   ========================================================= */
.tour { background: var(--paper); }
.tour__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.tour__facts { margin-top: clamp(14px, 2.8svh, 30px); border-top: 1px solid var(--line); }
.tour__facts li { display: flex; align-items: center; gap: 14px; padding: clamp(8px, 1.5svh, 13px) 0; border-bottom: 1px solid var(--line); }
.tour__facts svg { width: 22px; height: 22px; color: var(--aqua); flex: none; }
.tour__show { display: flex; flex-direction: column; min-width: 0; }
.tour__media { position: relative; overflow: hidden; border-radius: 4px 4px 0 0; aspect-ratio: 3 / 2; max-height: calc(var(--scr-h) - 96px); width: 100%; background: var(--paper-2); }
.tour__bar { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 22px; padding: 12px 16px; background: var(--paper-3); border-radius: 0 0 4px 4px; box-shadow: 0 0 0 1px var(--line); }
.tour__tabs { display: flex; gap: 4px; }
.tour__tab { height: 36px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .3s, background-color .3s; }
.tour__tab:hover { color: var(--ink); }
.tour__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tour__t { color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* =========================================================
   Kontakt
   ========================================================= */
.contact { position: relative; background: var(--night); color: var(--paper); overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.contact__bg img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 40%; opacity: .32; }
.contact__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 24, 27, .94) 0%, rgba(11, 24, 27, .72) 55%, rgba(11, 24, 27, .5) 100%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4.4vw, 80px); align-items: center; }
.contact__addr { font-style: normal; margin-top: clamp(12px, 2.4svh, 26px); font-size: var(--t-lead); color: rgba(243, 245, 242, .88); }
.contact__lines { margin-top: clamp(10px, 2svh, 20px); display: grid; gap: 6px; }
.contact__lines a, .contact__lines span { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; }
.contact__lines a:hover { color: var(--gold-l); }
.contact__lines svg { width: 19px; height: 19px; color: var(--gold); flex: none; }
.hours { background: rgba(251, 252, 250, .97); color: var(--ink); border-radius: 4px; padding: clamp(16px, 2.6svh, 28px) clamp(18px, 2.2vw, 30px); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); }
.hours__lab { color: var(--aqua); }
.hours__list { margin-top: 8px; }
.hours__list li { display: flex; justify-content: space-between; gap: 16px; padding: clamp(5px, 1svh, 9px) 0; border-bottom: 1px solid var(--line); }
.hours__list li span:last-child { font-variant-numeric: tabular-nums; }
.hours__list li.is-today { font-weight: 600; }
.hours__list li.is-today span:first-child::after { content: 'heute'; margin-left: 10px; padding: 1px 8px; border-radius: 999px; background: var(--aqua-soft); color: var(--aqua); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hours__list li.is-shut span:last-child { color: var(--muted); }
.hours__more { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.hours__more a { color: var(--aqua); border-bottom: 1px solid currentColor; }
.hours__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(12px, 2.2svh, 22px); }
.hours__cta .btn--ghost-inv { color: var(--ink); border-color: var(--line-2); }
.hours__cta .btn--ghost-inv::after { background: var(--paper-2); }

/* ---------- Footer ---------- */
.foot { background: #081315; color: var(--paper); padding: clamp(56px, 7vw, 110px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.foot__big { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.foot__logo { width: clamp(240px, 26vw, 380px); height: auto; aspect-ratio: 2660 / 600; }
.foot__slogan { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1.05; font-weight: 500; }
.foot__slogan em { font-style: italic; color: var(--gold-l); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(36px, 5vw, 72px); padding-top: 32px; border-top: 1px solid var(--line-inv); }
.foot__cols h4 { color: var(--muted-inv); margin-bottom: 14px; }
.foot__cols a, .foot__cols p, .foot__cols button { display: block; font-size: 15px; padding: 3px 0; color: rgba(243, 245, 242, .86); text-align: left; }
.foot__cols a:hover, .foot__cols button:hover { color: var(--gold-l); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; font-size: 13px; color: var(--muted-inv); }
.foot__base a { border-bottom: 1px solid var(--line-inv-2); }
@media (max-width: 719px) { .foot__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Dock (mobile) ---------- */
.dock { display: none; }
@media (max-width: 899px) {
  .dock {
    display: flex; gap: 6px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
    padding: 6px; border-radius: 999px; background: rgba(11, 24, 27, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); transform: translateY(140%); transition: transform .6s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock__book { flex: 1; display: grid; place-items: center; height: 48px; border-radius: 999px; background: var(--aqua); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }
  .dock__ico, .dock__note { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); border: 1px solid var(--line-inv-2); flex: none; }
  .dock__ico svg { width: 20px; height: 20px; }
  .dock__note i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-l); box-shadow: 0 0 0 4px rgba(234, 215, 168, .18); }
  .menu-open .dock { transform: translateY(140%); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Concept note ---------- */
.note { position: fixed; left: max(10px, calc(var(--gutter) / 2 - 14px)); top: 50%; z-index: 52; font-size: 14px; opacity: 0; visibility: hidden; transform: translate(-6px, -50%); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.note.is-shown, .note.is-open { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.note__btn { display: inline-flex; align-items: center; gap: 10px; writing-mode: vertical-rl; transform: rotate(180deg); width: 28px; padding: 14px 0 12px; border-radius: 999px; background: rgba(15, 33, 36, .8); color: var(--paper); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line-inv); }
.note__btn i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-l); }
.note__panel { position: absolute; left: 40px; top: 50%; transform: translateY(-50%); width: min(340px, calc(100vw - 32px)); background: var(--paper-3); color: var(--ink); border-radius: 4px; padding: 22px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); display: grid; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.note__panel[hidden] { display: none; }
.note__panel b { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }
.note__panel .btn { --h: 44px; margin-top: 6px; justify-self: start; }
.note__fine { font-size: 12px; line-height: 1.45; color: var(--muted); }
.note__fine a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 899px) {
  .note { left: 12px; right: 12px; top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateY(8px); }
  .note.is-open { transform: none; }
  .note.is-shown:not(.is-open) { opacity: 0; visibility: hidden; }
  .note__btn { display: none; }
  .note__panel { position: static; width: auto; transform: none; }
}

[data-img-reveal] { overflow: hidden; }
.ln-mask { padding: 0 .16em .26em .06em; margin: 0 -.16em -.26em -.06em; }
.is-nudge { animation: nudge .7s var(--ease); }
@keyframes nudge { 0% { transform: scale(1.025); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .js .map__walkm { stroke-dashoffset: 0; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   Screens: every section fits one viewport. Big visuals take
   the height that is left; phones subtract the dock.
   ========================================================= */
:root {
  --scr-t: calc(var(--hdr-h) + clamp(14px, 3.4svh, 46px));
  --scr-b: clamp(18px, 3.8svh, 50px);
  --scr-h: calc(100svh - var(--scr-t) - var(--scr-b));
  --h2s: clamp(2.1rem, min(3.4vw, 5.4svh), 3.8rem);
}
@media (max-width: 899px) { :root { --scr-b: calc(86px + env(safe-area-inset-bottom)); } }
@media (max-width: 719px) { :root { --scr-t: calc(var(--hdr-h) + 12px); --h2s: clamp(1.9rem, 8.2vw, 2.35rem); } }

main .h2 { font-size: var(--h2s); }
main .h-label { margin-bottom: clamp(8px, 1.6svh, 22px); }
main > section:not(.hero) { padding-top: var(--scr-t); padding-bottom: var(--scr-b); }
@media (min-width: 900px) {
  main > section:not(.hero) { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
}
.today__head, .areas__head { margin-bottom: clamp(12px, 2.6svh, 36px); }
/* big visuals flex to the height that is left */
@media (min-width: 900px) {
  .today__grid { height: clamp(380px, calc(var(--scr-h) - var(--h2s) * 1.2 - 64px), 640px); }
  .areas__grid { height: clamp(400px, calc(var(--scr-h) - var(--h2s) * 1.2 - 64px), 660px); }
}

@media (min-width: 900px) and (max-height: 800px) {
  .today__lead { display: none; }
  .areas__list span { font-size: 13.5px; }
  .doc__facts b { font-size: 1.9rem; }
  .istep__in p { font-size: 14.5px; }
}
@media (min-width: 900px) and (max-height: 740px) {
  .brow--week .wk__d small { display: none; }
  .cv__card { min-height: 0; padding: 10px 16px; }
  .doc__lead { display: none; }
}

/* =========================================================
   Type system — one voice
   Cormorant Garamond: headlines, figures, plates.
   Jost: text, controls and two label tiers —
   LABEL 600 · .18em (names a block) · CAPTION 500 · .14em (names a value)
   The word mark (header, hero, footer) keeps its own Computer Modern Sans.
   ========================================================= */
:root {
  --t-lab: 11.5px; --t-cap: 11px; --t-lead: 17px; --t-body: 15px; --t-small: 14px;
  --h3m: clamp(1.6rem, 2.1vw, 2rem);
  --h3s: clamp(1.3rem, min(1.7vw, 2.8svh), 1.6rem);
}
@media (max-width: 719px) {
  :root { --t-lab: 11px; --t-cap: 10.5px; --t-lead: 15px; --t-body: 14.5px; --t-small: 13.5px; --h3m: 1.5rem; --h3s: 1.2rem; }
}
body { font-synthesis: none; }
b, strong { font-weight: 600; }

/* LABEL */
.h-label, .tq__lab, .brow__lab, .foot__cols h4, .note__btn, .hours__lab, .cv__lab, .tq__tlab span {
  font-family: var(--sans); font-size: var(--t-lab); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-style: normal;
}
/* CAPTION */
.tq__flab, .field span, .tq__sum dt, .tq__tl span, .areas__count, .doc__facts dt, .board__date, .istep__no, .impl__no, .menu__no {
  font-family: var(--sans); font-size: var(--t-cap); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-style: normal;
}
/* Headings */
.tq__q, .areas__title, .team__names { font-size: var(--h3m); }
.istep__k, .areas__list b, .tq__tk { font-size: var(--h3s); }
/* Text */
.today__lead, .doc__lead { font-size: var(--t-lead); }
.areas__list span, .istep__in p, .team__t, .tour__facts span, .cv__t { font-size: var(--t-body); }
.tv--side, .board__date { font-size: var(--t-small); }

/* =========================================================
   Phones
   ========================================================= */
@media (max-width: 719px) {
  .hero__fg { left: 0; width: 100%; object-position: 50% 30%; }
  .hero__shade { background:
    radial-gradient(90% 26% at 50% var(--crest-y, 22%), rgba(7, 18, 20, .74), rgba(7, 18, 20, .3) 62%, rgba(7, 18, 20, 0) 100%),
    linear-gradient(180deg, rgba(7, 18, 20, .72) 0%, rgba(7, 18, 20, .34) 24%, rgba(7, 18, 20, .12) 40%, rgba(7, 18, 20, .3) 56%, rgba(7, 18, 20, .86) 74%, rgba(7, 18, 20, .96) 100%); }
  .crest { flex: 0 0 auto; padding: clamp(10px, 2.6svh, 26px) 12px 0; }
  .hero::after { content: ''; flex: 1 0 8px; }
  .crest__logo { width: min(84vw, 340px); }
  .crest__place { margin-top: 10px; gap: 12px; font-size: 10.5px; letter-spacing: .3em; }
  .crest__place i { width: 26px; }
  .tq { order: 2; width: auto; margin: 0 10px 10px; }
  .tq__head { padding: 10px 12px 9px; gap: 10px; }
  .tq__lab { display: none; }
  .tq__steps { flex: 1; justify-content: space-between; gap: 2px; }
  .tq__steps button { padding: 0 8px 0 3px; font-size: 12.5px; gap: 6px; }
  .tq__body { grid-template-columns: minmax(0, 1fr); }
  .tq__stage { padding: 12px 12px 4px; min-height: 0; }
  .tq__q { font-size: 1.3rem; margin-bottom: 9px; }
  .tq__chips { gap: 6px; }
  .chip { height: 42px; padding: 0 10px; gap: 8px; font-size: 14px; }
  .chip svg { width: 18px; height: 18px; }
  .tq__hint, .tq__note { font-size: 12.5px; margin-top: 8px; }
  .tq__grid2 { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .tq__f--days { grid-row: auto; }
  .tq__days { gap: 5px; }
  .day { flex: 1; width: auto; height: 46px; }
  /* the options name themselves on phones; the labels stay for screen readers */
  .tq__grid2 .tq__f:not(.tq__f--days) .tq__flab, .tq__grid3 .tq__f .tq__flab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .day b { font-size: 15px; }
  .day small { font-size: 11px; }
  .tq__grid2 .seg, .tq__grid3 .seg { display: flex; width: 100%; }
  .tq__grid2 .seg button, .tq__grid3 .seg button { flex: 1; padding: 0 6px; }
  .tq__grid3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 8px; }
  .tq__grid3 .tq__f { grid-column: 1 / -1; }
  .field input { height: 40px; }
  .tq__flab, .field span { margin-bottom: 5px; }
  .tq__side { border-left: 0; background: none; padding: 10px 12px 12px; }
  .tq__sum { display: none; }
  .tq__back { width: 46px; height: 46px; }
  .tq__next { --h: 46px; }
  .tq__tl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tq__tl li { display: flex; gap: 10px; align-items: baseline; }
  .tq__tl span { flex: 0 0 64px; }
  .tq__tl b { -webkit-line-clamp: 1; }
  .tq__fine { font-size: 12px; }
  .sheet { padding: 0; place-items: end stretch; }
  .sheet__slot { width: 100%; }
  .sheet .tq { margin: 0; border-radius: 12px 12px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .sheet .tq__head { padding-right: 48px; }
  .sheet .tq__lab { display: none; }
}
@media (max-width: 719px) and (max-height: 700px) {
  .crest__place { display: none; }
}
@media (min-width: 720px) and (max-width: 1080px) {
  .tq__body { grid-template-columns: minmax(0, 1fr) 250px; }
  .tq__grid2 { grid-template-columns: minmax(0, 1fr); }
  .tq__f--days { grid-row: auto; }
}

/* ---------- Phone screens: keep each one above the dock ---------- */
@media (max-width: 899px) {
  .today__grid, .areas__grid, .impl__grid, .doc__grid, .team__grid, .tour__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
  .today__head { margin-bottom: 10px; }
  .today__lead { display: none; }
  .today__grid { gap: 10px; }
  .board__top { padding: 9px 12px; gap: 12px; }
  .board__title { font-size: 1.25rem; }
  .brow { grid-template-columns: 86px minmax(0, 1fr); padding: 7px 12px; gap: 3px 10px; }
  .brow__link { grid-column: 2; justify-self: start; font-size: 12.5px; }
  .brow--sos .brow__vals { flex-direction: column; gap: 0; }
  .tv--main { font-size: 1.12rem; }
  .brow--now .tv--main { font-size: min(1.45rem, 6vw); }
  .week { grid-column: 1 / -1; gap: 3px; }
  .brow--week .brow__lab { display: none; }
  .wk { padding: 4px 2px; gap: 3px; }
  .wk__d { font-size: 11.5px; }
  .wk__d small { font-size: 10px; }
  .wk__bar { height: 26px; }
  .map { min-height: 0; height: clamp(124px, 19svh, 200px); }
  .map__cap { padding: 8px 12px; font-size: 13px; }
  .map__cap span { display: none; }
  .map__cap { justify-content: flex-end; }

  .areas__head { margin-bottom: 10px; gap: 10px; }
  .areas__head .seg { display: flex; width: 100%; }
  .areas__head .seg button { flex: 1; padding: 0 4px; font-size: 13px; }
  .areas__media { height: clamp(110px, 17svh, 200px); }
  .areas__grid { gap: 10px; }
  .areas__count, .areas__title { display: none; }
  .areas__list li { padding: 5px 0; grid-template-columns: 22px minmax(0, 1fr); gap: 0 8px; }
  .areas__list svg { width: 16px; height: 16px; }
  .areas__list span { font-size: 13px; line-height: 1.35; }
  .areas__cta { padding-top: 10px; }
  .areas__cta .btn { --h: 44px; padding: 0 16px 0 18px; font-size: 14px; }
  .areas__note { display: none; }

  .impl__grid { gap: 10px; }
  .impl .h-label { display: none; }
  .impl__stage { order: -1; }
  .ix { max-height: 20svh; }
  .impl__cap { padding: 7px 12px; font-size: 13px; }
  .impl__steps { margin-top: 8px; }
  .istep__btn { grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 8px; padding: 7px 0; }
  .istep__in p { padding: 0 0 9px 38px; font-size: 13.5px; line-height: 1.45; }
  .impl__cta { margin-top: 10px; }
  .impl__cta .btn { --h: 44px; }
  .impl__fine { font-size: 11.5px; line-height: 1.4; }

  .doc__grid { grid-template-columns: 38% minmax(0, 1fr); gap: 4px 14px; align-items: start; }
  .doc__fig { grid-row: 1; aspect-ratio: 4 / 5; }
  .doc__text { display: contents; }
  .doc__text .h-label { grid-column: 2; grid-row: 1; align-self: start; display: none; }
  .doc__text .h2 { grid-column: 2; grid-row: 1; align-self: end; font-size: min(var(--h2s), 7.4vw); }
  .doc__lead, .doc__facts, .cv { grid-column: 1 / -1; }
  .doc__lead { margin-top: 10px; font-size: 14px; }
  .doc__facts { margin-top: 10px; }
  .doc__facts div { padding: 7px 8px 7px 0; }
  .doc__facts div + div { padding-left: 10px; }
  .doc__facts b { font-size: 1.6rem; }
  .cv { margin-top: 10px; }
  .cv__rail { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .cv__dot span { font-size: 10.5px; }
  .cv__dot:nth-child(even) span { visibility: hidden; }
  .cv__dot[aria-selected="true"] span { visibility: visible; }
  .cv__card { padding: 10px 12px; gap: 2px 12px; min-height: 0; }
  .cv__t { font-size: 13.5px; }
  .cv__p { font-size: 12.5px; }
  .rbtn { width: 38px; height: 38px; }

  .team__grid { gap: 12px; }
  .team__media { order: -1; aspect-ratio: auto; height: clamp(160px, 28svh, 280px); }
  .team__text .seg { display: flex; width: 100%; margin-top: 10px; }
  .team__text .seg button { flex: 1; padding: 0 6px; font-size: 13px; }
  .team__names { margin-top: 12px; font-size: 1.35rem; }
  .team__t { font-size: 14px; min-height: 6.2em; }

  .tour__grid { gap: 12px; }
  .tour__facts { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .tour__facts li { padding: 6px 0; gap: 8px; font-size: 13px; }
  .tour__facts li:nth-child(3) { grid-column: 1 / -1; }
  .tour__facts svg { width: 18px; height: 18px; }
  .tour__facts span { font-size: 13px; line-height: 1.3; }
  .tour__media { aspect-ratio: auto; height: clamp(150px, 25svh, 260px); }
  .tour__bar { grid-template-columns: minmax(0, 1fr); padding: 8px 10px; gap: 6px; }
  .tour__tabs { justify-content: space-between; gap: 2px; }
  .tour__tab { padding: 0 7px; font-size: 12.5px; height: 32px; }
  .tour__t { font-size: 13px; min-height: 2.7em; }

  .contact__grid { gap: 14px; }
  .contact__addr { margin-top: 8px; font-size: 14.5px; }
  .contact__lines { margin-top: 6px; gap: 2px; }
  .contact__lines a, .contact__lines span { font-size: 14.5px; }
  .hours { padding: 12px 14px; }
  .hours__list li { padding: 4px 0; font-size: 14px; }
  .hours__more { font-size: 12.5px; margin-top: 8px; }
  .hours__cta .btn { --h: 44px; flex: 1; padding: 0 14px; }
}
@media (max-width: 719px) and (max-height: 780px) {
  :root { --h2s: 1.8rem; }
  .today .h-label, .areas .h-label, .impl .h-label, .team .h-label, .tour .h-label { display: none; }
  .brow { padding-block: 6px; }
  .map { height: 15svh; }
  .week__leg { display: none; }
  .ix { max-height: 15svh; }
  .istep__btn { padding: 5px 0; }
  .istep__in p { padding-bottom: 6px; }
  .hours__more { display: none; }
  .contact__addr { display: none; }
  .areas__media { height: 17svh; }
  .areas__list span { display: none; }
  .ix { max-height: 18svh; }
  .team__media { height: 22svh; }
  .tour__media { height: 20svh; }
  .tour__facts li:nth-child(5) { display: none; }
  .hours__list li { padding: 3px 0; }
  .doc__lead { display: none; }
  .cv__p { display: none; }
}
@media (min-width: 720px) and (max-width: 899px) {
  .areas__media { height: 34svh; }
  .map { height: 30svh; }
  .team__media, .tour__media { max-height: 36svh; }
  .impl__stage .ix { max-height: 30svh; }
  .doc__fig { max-height: 40svh; width: auto; }
}
