/* =========================================================
   Zahnmedizin Dr. Euler — Konzeptentwurf (VCSLV)
   Their own wordmark, petrol and brass from their site,
   porcelain paper, a night-blue mountain horizon.
   ========================================================= */

@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: #14232a;
  --night: #0f232a;
  --night-2: #132b33;
  --night-3: #1a3740;
  --petrol: #4f899f;
  --petrol-d: #2c6173;
  --petrol-l: #9cc6d3;
  --brass: #bf9a5d;
  --brass-l: #e2c690;
  --brass-d: #8f6d38;
  --paper: #f4f1eb;
  --paper-2: #e8e3d9;
  --paper-3: #fbfaf6;
  --muted: #56646a;
  --ok: #8fd1a6;
  --warn: #e7a86c;
  --rose: #c9776f;
  --line: rgba(20, 35, 42, .13);
  --line-2: rgba(20, 35, 42, .26);
  --line-inv: rgba(244, 241, 235, .14);
  --line-inv-2: rgba(244, 241, 235, .3);
  --muted-inv: rgba(244, 241, 235, .7);

  --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; }
table { border-collapse: collapse; }
fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
::selection { background: var(--brass-l); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); 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; }
[hidden] { display: none !important; }
main [data-theme="dark"] { color: var(--paper); }

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

/* ---------- 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: 3px;
  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; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::after { transform: translateY(0); }
.btn--brass { background: linear-gradient(180deg, #d6b679 0%, #bf9a5d 100%); color: #1a1408; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--brass::after { background: #e5cb98; }
.btn--petrol { background: var(--petrol-d); color: var(--paper-3); }
.btn--petrol::after { background: var(--night-3); }
.btn--line { border-color: var(--line-inv-2); color: var(--paper); }
.btn--line::after { background: var(--paper); }
.btn--line:hover { color: var(--ink); }
.btn--line-dark { border-color: var(--line-2); color: var(--ink); }
.btn--line-dark::after { background: var(--ink); }
.btn--line-dark:hover { color: var(--paper); }
.btn--ghost { color: var(--muted); padding: 0 12px; }
.btn--ghost::after { display: none; }
.btn--ghost:hover { color: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--ink);
  transition: border-color .3s, background-color .3s, color .3s;
}
.chip:hover { border-color: var(--petrol-d); }
.chip[aria-pressed="true"] { background: var(--petrol-d); border-color: var(--petrol-d); color: var(--paper-3); }
.chip small { font-size: 12px; font-weight: 400; opacity: .75; }

/* segmented control with sliding pill */
.seg { position: relative; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(20, 35, 42, .07); max-width: 100%; }
.seg button { position: relative; z-index: 1; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; white-space: nowrap; color: var(--muted); transition: color .4s var(--ease); }
.seg button[aria-checked="true"] { color: var(--paper-3); }
.seg__pill { position: absolute; z-index: 0; top: 3px; left: 0; height: 34px; border-radius: 999px; background: var(--ink); transition: transform .55s var(--ease), width .55s var(--ease); }

/* live dot */
.dot { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2.4s var(--ease) 1.5s 5; opacity: 0; }
.dot.is-closed { background: var(--warn); }
.dot.is-closed::after { animation: none; }
.dot.is-off::after { animation-play-state: paused; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- 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(244, 241, 235, .94); 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(15, 35, 42, .92)); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__brand { display: flex; align-items: center; flex: none; transition: opacity .6s var(--ease); }
.hdr__logo { width: 196px; height: 38px; }
.hdr.has-crest .hdr__brand { opacity: 0; pointer-events: none; }
.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; }
.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: 14px; flex: none; }
.hdr__book { --h: 42px; font-size: 14px; padding: 0 16px 0 18px; }
.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: 1220px) { .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: 158px; height: 31px; }
  .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(--brass-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: 14vh; min-height: 90px; }
  .menu__nav a { grid-template-columns: 34px 1fr; font-size: clamp(1.6rem, 7vw, 2.2rem); padding: 8px 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 wordmark rises out of its own hairline,
   the mountain horizon settles below it
   ========================================================= */
.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: radial-gradient(70% 60% at 50% 30%, #17343d 0%, #0f232a 62%, #0b1b21 100%);
}
.hero__scene { position: absolute; left: 0; right: 0; bottom: 0; height: min(66svh, 40vw); min-height: 340px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 46%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 46%); }
.hero__scene picture { position: absolute; inset: 0; }
.hero__fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 60%; transform-origin: 50% 70%; will-change: transform; }
.hero__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background:
  radial-gradient(44% 30% at 50% var(--crest-y, 36%), rgba(11, 27, 33, .62), rgba(11, 27, 33, .25) 60%, rgba(11, 27, 33, 0) 100%),
  linear-gradient(180deg, rgba(11, 27, 33, .2) 0%, rgba(11, 27, 33, 0) 40%, rgba(11, 27, 33, .18) 62%, rgba(11, 27, 33, .62) 84%, rgba(11, 27, 33, .9) 100%); }
.js .hero__fg, .js .hero__shade { opacity: 0; }

.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(10px, 2.4svh, 34px) 16px clamp(18px, 3.4svh, 44px);
}
.crest__logo { width: clamp(300px, min(52vw, 80svh), 760px); height: auto; aspect-ratio: 462 / 96; overflow: visible; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .45)); }
.crest__t { fill: #f6f2ea; }
.crest__b { fill: var(--brass-l); }
.crest__line { fill: none; stroke: #d2b071; stroke-width: .75; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.crest__place { margin-top: clamp(14px, 2.6svh, 30px); display: flex; align-items: center; gap: 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: rgba(246, 242, 234, .9); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.crest__place span { padding-left: .34em; white-space: nowrap; }
.crest__place i { width: 42px; height: 1px; background: rgba(226, 198, 144, .7); }
.js .crest__line { stroke-dashoffset: 1; }
.js .crest__t, .js .crest__b, .js .crest__place { opacity: 0; }
.no-anim .crest__line, .is-static .crest__line { stroke-dashoffset: 0 !important; }
.no-anim .crest__t, .no-anim .crest__b, .no-anim .crest__place, .no-anim .hero__fg, .no-anim .hero__shade, .no-anim .req--hero,
.is-static .crest__t, .is-static .crest__b, .is-static .crest__place, .is-static .hero__fg, .is-static .hero__shade, .is-static .req--hero { opacity: 1 !important; transform: none !important; }

/* =========================================================
   Terminanfrage console (hero and contact share one state)
   ========================================================= */
.req {
  position: relative; z-index: 5; color: var(--ink); background: rgba(251, 250, 246, .97); 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;
}
.req::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brass-d), var(--brass-l) 50%, var(--brass-d)); }
.req--hero { width: calc(100% - 2 * var(--gutter)); max-width: 1180px; margin: 0 auto clamp(16px, 3vh, 30px); }
.js .req--hero { opacity: 0; }
.req__top { display: flex; align-items: center; gap: 14px 28px; padding: 14px 22px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.req__title { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.req__steps { display: flex; align-items: center; gap: 6px; counter-reset: st; }
.req__steps li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; }
.req__steps li + li::before { content: ''; width: 22px; height: 1px; background: var(--line-2); margin-right: 2px; }
.req__steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 600; letter-spacing: 0; transition: background-color .4s, color .4s, border-color .4s; }
.req__steps li.is-on { color: var(--ink); }
.req__steps li.is-on b { background: var(--ink); border-color: var(--ink); color: var(--paper-3); }
.req__steps li.is-done b { background: var(--petrol-d); border-color: var(--petrol-d); color: var(--paper-3); }
.req__status { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.req__status b { color: var(--ink); font-weight: 600; }
.req__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 300px); }
.req__panes { display: grid; padding: 16px 22px 16px; min-height: 152px; min-width: 0; }
.req__pane { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.req__pane[hidden] { display: none; }
.req__q { display: flex; align-items: baseline; gap: 12px; color: var(--muted); }
.req__q small { font-size: 12.5px; letter-spacing: .02em; text-transform: none; font-weight: 400; }
.req__chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.req__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.req__alert { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border-radius: 3px; background: rgba(231, 168, 108, .14); color: #6b3f12; font-size: 13.5px; line-height: 1.45; }
.req__alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.req__alert a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.req__days { display: flex; flex-wrap: wrap; gap: 8px; }
.req__day { display: grid; justify-items: center; align-content: center; gap: 1px; width: 66px; height: 54px; border-radius: 3px; border: 1px solid var(--line-2); line-height: 1.1; transition: border-color .3s, background-color .3s, color .3s; }
.req__day span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.req__day b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.req__day:hover { border-color: var(--petrol-d); }
.req__day[aria-pressed="true"] { background: var(--petrol-d); border-color: var(--petrol-d); color: var(--paper-3); }
.req__day[aria-pressed="true"] span { color: rgba(251, 250, 246, .8); }
.req__fields { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .8fr); gap: 10px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field span { color: var(--muted); }
.field input, .field select { height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; min-width: 0; width: 100%; font-size: 15px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--petrol-d); box-shadow: 0 0 0 3px rgba(44, 97, 115, .15); }
.req__fine { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.req__side { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 16px 22px 16px; border-left: 1px solid var(--line); background: rgba(232, 227, 217, .55); min-width: 0; }
.req__sum { display: grid; gap: 6px; font-size: 13.5px; line-height: 1.4; min-width: 0; }
.req__sum li { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.req__sum li span:first-child { flex: none; width: 62px; color: var(--muted); }
.req__sum li b { font-weight: 600; min-width: 0; }
.req__sum li.is-empty b { color: var(--muted); font-weight: 400; }
.req__nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.req__nav .btn--brass { --h: 46px; flex: 1; }
.req__nav .btn--ghost { --h: 46px; }
.req__done { flex-direction: row !important; align-items: flex-start; gap: 16px !important; }
.req__done > svg { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--petrol-d); color: var(--paper-3); flex: none; }
.req__done p { font-size: 15px; line-height: 1.5; }
.req__done p b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.15; margin-bottom: 4px; }
.req__done small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.req.is-sent .req__side { display: none; }
.req.is-sent .req__body { grid-template-columns: minmax(0, 1fr); }

.req--page { width: 100%; }
.req--page .req__body { grid-template-columns: minmax(0, 1fr); }
.req--page .req__side { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; }
.req--page .req__sum { flex: 1; }
.req--page .req__nav { flex: none; }
.req--page .req__panes { min-height: 214px; padding: 18px 24px; }
.req--page .req__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.req--page .req__fields .field:last-child { grid-column: 1 / -1; }

@media (max-width: 1080px) {
  .req__body { grid-template-columns: minmax(0, 1fr); }
  .req__side { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; }
  .req__sum { flex: 1; }
}

/* =========================================================
   Heute in der Praxis: board + week strip
   ========================================================= */
.today { background: var(--night-2); }
.today__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 80px); align-items: center; }
.today__head { margin-bottom: clamp(14px, 2.6svh, 34px); }
.board { border: 1px solid var(--line-inv); border-radius: 4px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); }
.board__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(9px, 1.5svh, 14px) 20px; border-bottom: 1px solid var(--line-inv); color: var(--muted-inv); }
.board__clock { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.board__clock svg { width: 16px; height: 16px; }
.brow { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 2px 18px; padding: clamp(8px, 1.45svh, 15px) 20px; border-bottom: 1px solid var(--line-inv); }
.brow:last-child { border-bottom: 0; }
.brow__lab { grid-row: 1 / 3; color: var(--muted-inv); align-self: center; }
.brow__val { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.plate { position: relative; display: inline-grid; overflow: hidden; padding: 3px 12px 4px; border-radius: 2px; background: #0b1a20; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); font-size: clamp(1.02rem, 1.25vw, 1.2rem); font-weight: 500; letter-spacing: .02em; color: #f6f2ea; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 0; max-width: 100%; }
.plate::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.plate > span { grid-area: 1 / 1; overflow: hidden; text-overflow: ellipsis; }
.brow__tel .plate { color: var(--brass-l); transition: background-color .3s; }
.brow__tel:hover .plate { background: #12262d; }
.brow__sub { font-size: 13.5px; color: var(--muted-inv); line-height: 1.4; min-width: 0; }
.brow__sub a { color: var(--paper); border-bottom: 1px solid var(--line-inv-2); }
.brow__sub a:hover { border-color: var(--brass-l); }
.brow.is-here .plate { color: #1a1408; background: var(--brass); }

.week { display: grid; gap: clamp(10px, 1.8svh, 20px); min-width: 0; }
.week__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 18px; flex-wrap: wrap; }
.week__title { font-family: var(--serif); font-size: var(--h3s); font-weight: 500; }
.week__legend { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted-inv); }
.lg { display: inline-block; width: 18px; height: 8px; border-radius: 2px; margin-right: -6px; vertical-align: 0; }
.lg--open { background: var(--petrol-l); }
.lg--nd { background: var(--brass); }
.lg--now { width: 2px; height: 12px; background: var(--brass-l); margin-right: -8px; }
.wk { display: grid; gap: clamp(4px, .8svh, 8px); }
.wk__row { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 13px; color: var(--muted-inv); }
.wk__row.is-today { color: var(--paper); }
.wk__row.is-today .wk__d b { color: var(--brass-l); }
.wk__d { white-space: nowrap; font-variant-numeric: tabular-nums; }
.wk__d b { font-weight: 600; color: var(--paper); margin-right: 6px; }
.wk__track { position: relative; height: clamp(16px, 2.6svh, 24px); border-radius: 2px; background: rgba(255, 255, 255, .045); overflow: hidden; }
.wk__track i { position: absolute; top: 0; bottom: 0; }
.wk__open { background: linear-gradient(180deg, #a9d0dc, #7fb1c2); border-radius: 2px; }
.wk__nd { background: var(--brass); border-radius: 2px; }
.wk__closed { left: 0; right: 0; display: flex; align-items: center; padding-left: 10px; font-style: normal; font-size: 11.5px; color: rgba(244, 241, 235, .42); }
.wk__now { width: 2px; background: var(--brass-l); box-shadow: 0 0 0 3px rgba(226, 198, 144, .18); }
.wk__row--online .wk__track { background: repeating-linear-gradient(90deg, rgba(226, 198, 144, .55) 0 6px, transparent 6px 11px); height: 3px; overflow: visible; }
.wk__row--online .wk__d { color: var(--brass-l); }
.wk__axis { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; font-size: 11px; color: rgba(244, 241, 235, .5); }
.wk__ticks { position: relative; height: 14px; }
.wk__ticks span { position: absolute; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.week__fig { position: relative; border-radius: 3px; overflow: hidden; }
.week__fig img { width: 100%; height: auto; aspect-ratio: 850 / 300; object-fit: cover; }
.week__fig figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 12.5px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }

/* =========================================================
   Behandlungen: tabs, tooth drawing, text panel
   ========================================================= */
.care { background: var(--paper); }
.care__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: clamp(14px, 2.8svh, 40px); }
.care__lead { max-width: 34ch; color: var(--muted); }
.cx { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr) minmax(300px, 400px); gap: clamp(20px, 3vw, 56px); align-items: center; }
.cx__tabs { display: grid; gap: 2px; align-self: center; }
.cx__tab { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; gap: 2px 8px; padding: clamp(6px, 1.05svh, 11px) 12px; border-radius: 3px; text-align: left; position: relative; transition: background-color .35s; }
.cx__tab::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--brass); transform: scaleY(0); transition: transform .5s var(--ease); }
.cx__tab:hover { background: rgba(20, 35, 42, .04); }
.cx__tab[aria-selected="true"] { background: var(--paper-3); box-shadow: 0 1px 0 var(--line); }
.cx__tab[aria-selected="true"]::before { transform: scaleY(1); }
.cx__tab small { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--brass-d); }
.cx__tab b { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.15; }
.cx__tab span { grid-column: 2; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.cx__stage { position: relative; display: grid; justify-items: center; align-content: center; gap: 8px; min-width: 0; }
.cx__stage::before { content: ''; position: absolute; left: 50%; top: 46%; width: min(100%, 520px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, #fffdf8 0%, rgba(255, 253, 248, .6) 60%, rgba(255, 253, 248, 0) 100%); z-index: 0; }
.cx__fig { position: relative; z-index: 1; height: clamp(300px, calc(var(--scr-h) - 150px), 560px); aspect-ratio: 360 / 440; max-width: 100%; }
.tooth { width: 100%; height: 100%; overflow: visible; color: var(--petrol-d); }
.cx__legend { position: relative; z-index: 1; display: none; font-size: 12.5px; color: var(--muted); text-align: center; }
.t-bone__fill { fill: #e4dccd; }
.t-bone__hatch { color: var(--petrol-d); }
.t-bone__line { stroke: #b9ae98; stroke-width: 1.2; }
.t-gum path { fill: #e3aaa2; stroke: #c98a82; stroke-width: 1.2; transition: fill .6s var(--ease); }
.t-dentin { fill: #f2e9da; }
.t-pulp { fill: #e5a197; transition: fill .6s var(--ease); }
.t-enamel { fill: url(#tEnamel); stroke: rgba(20, 35, 42, .18); stroke-width: 1; transition: opacity .6s var(--ease); }
.t-outline { fill: none; stroke: #2a3c43; stroke-width: 1.6; stroke-linejoin: round; }
.t-canal { fill: none; stroke: var(--brass); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.t-filling, .t-plaque, .t-pocket, .t-boneloss, .t-crown, .t-implant, .t-bite, .t-emg, .t-shine { opacity: 0; }
.t-filling { fill: #fbf6ec; stroke: var(--brass); stroke-width: 1.6; }
.t-plaque circle { fill: #d9c27a; }
.t-pocket { fill: #8e3e38; }
.t-bl__gap { fill: #f4f1eb; }
.t-bl__line { fill: none; stroke: #8e3e38; stroke-width: 1.4; stroke-dasharray: 3 3; }
.t-crown path:first-child { fill: #fbf8f1; stroke: var(--brass); stroke-width: 1.8; }
.t-crown__edge { stroke: var(--brass); stroke-width: 1.2; stroke-dasharray: 4 3; }
.t-implant__crown { fill: #fbf8f1; stroke: #2a3c43; stroke-width: 1.6; }
.t-implant__gum { fill: #e3aaa2; stroke: #c98a82; stroke-width: 1.2; }
.t-implant__abut { fill: #c8ced0; stroke: #2a3c43; stroke-width: 1.4; }
.t-implant__screw { fill: url(#euBrass); stroke: #6d5428; stroke-width: 1.4; }
.t-implant__thread { stroke: #6d5428; stroke-width: 1.4; opacity: .8; }
.t-upper { fill: #fbf8f1; stroke: #2a3c43; stroke-width: 1.6; }
.t-contact { stroke: var(--brass); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.t-emg path { stroke: var(--brass); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.t-tooth { transition: opacity .6s var(--ease); }
.tooth[data-mode="wurzel"] .t-pulp, .tooth[data-mode="paro"] .t-gum path { fill: #d98479; }
.tags { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 0; white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); transform: translate(-4px, -50%); }
.tag--l { flex-direction: row-reverse; transform: translate(calc(-100% + 4px), -50%); }
.tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 3px rgba(191, 154, 93, .25); flex: none; }
.tag i { width: var(--len, 34px); height: 1px; background: var(--brass-d); flex: none; transform-origin: left; }
.tag--l i { transform-origin: right; }
.tag span { padding: 3px 8px; background: rgba(251, 250, 246, .94); border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.cx__panel { display: grid; gap: 0; align-self: center; min-width: 0; }
.cx__no { font-family: var(--serif); font-size: 3.4rem; line-height: .9; color: var(--brass); font-weight: 500; }
.cx__name { font-size: var(--h3m); font-family: var(--serif); font-weight: 600; line-height: 1.1; margin-top: 6px; }
.cx__sub { color: var(--muted); margin-top: 2px; }
.cx__text { margin-top: clamp(10px, 1.8svh, 18px); line-height: 1.6; }
.cx__steps { margin-top: clamp(12px, 2svh, 20px); display: grid; gap: 0; border-top: 1px solid var(--line); }
.cx__steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: clamp(6px, 1svh, 9px) 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cx__steps li b { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--brass-d); line-height: 1.25; }
.cx__tech { margin-top: clamp(10px, 1.6svh, 16px); font-size: 13px; color: var(--muted); }
.cx__tech b { color: var(--ink); font-weight: 600; }
.cx__cta { margin-top: clamp(14px, 2.4svh, 24px); }

/* =========================================================
   Technik
   ========================================================= */
.tech { background: var(--night); }
.tech__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 80px); align-items: center; }
.tech__head { margin-bottom: clamp(14px, 2.4svh, 30px); }
.tech__stage { position: relative; aspect-ratio: 850 / 300; border-radius: 3px; overflow: hidden; background: #0a171c; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8); }
.tech__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.tech__stage img.is-on { opacity: 1; }
.tech__emg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s var(--ease); background: radial-gradient(80% 90% at 50% 50%, #15313a, #0a171c); }
.tech__stage.is-emg .tech__emg { opacity: 1; }
.emg-grid { stroke: rgba(244, 241, 235, .07); stroke-width: 1; }
.emg-a, .emg-b { stroke: var(--brass-l); stroke-width: 2.4; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.emg-b { stroke: var(--petrol-l); }
.tech__stage.is-emg .emg-a, .tech__stage.is-emg .emg-b { animation: draw 2.4s var(--ease) forwards; }
.tech__stage.is-emg .emg-b { animation-delay: .25s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.emg-t { fill: var(--muted-inv); font: 600 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tech__scan { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--brass-l), transparent); box-shadow: 0 0 18px 4px rgba(226, 198, 144, .25); opacity: 0; }
.tech__stage.is-scan .tech__scan { animation: scan 2.6s var(--ease) 1; }
@keyframes scan { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.tech__cap { margin-top: 10px; font-size: 13px; color: var(--muted-inv); }
.tech__groups { display: grid; gap: clamp(8px, 1.6svh, 16px); }
.tg { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 18px; padding-bottom: clamp(8px, 1.6svh, 16px); border-bottom: 1px solid var(--line-inv); }
.tg:last-child { border-bottom: 0; }
.tg__k { color: var(--brass-l); padding-top: 9px; }
.tg__items { display: flex; flex-wrap: wrap; gap: 6px; }
.tchip { height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-inv-2); font-size: 13.5px; color: var(--paper); white-space: nowrap; transition: background-color .3s, border-color .3s, color .3s; }
.tchip:hover { border-color: var(--brass-l); }
.tchip[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tech__explain { margin-top: clamp(12px, 2svh, 20px); min-height: 3.2em; padding-left: 14px; border-left: 2px solid var(--brass); font-size: var(--t-lead); line-height: 1.5; color: var(--paper); }
.tech__explain b { display: block; font-size: var(--t-lab); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-l); margin-bottom: 2px; }

/* =========================================================
   Dr. Thomas Euler
   ========================================================= */
.doc { background: var(--paper); }
.doc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.doc__lead { margin-top: clamp(12px, 2svh, 22px); max-width: 46ch; font-size: var(--t-lead); color: var(--muted); }
.path { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(20px, 4svh, 48px); padding-top: 26px; }
.path::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line-2); }
.path__line { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--brass); transform-origin: left; }
.path li { position: relative; display: grid; gap: 2px; }
.path li::before { content: ''; position: absolute; left: 0; top: -26px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--brass); }
.path li:last-child::before { background: var(--brass); }
.path__y { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; line-height: 1; color: var(--petrol-d); }
.path__t { font-weight: 600; font-size: 14.5px; margin-top: 6px; }
.path__s { font-size: 13px; color: var(--muted); line-height: 1.35; }
.doc__count { display: flex; align-items: center; gap: 18px; margin-top: clamp(18px, 3.4svh, 40px); padding-top: clamp(14px, 2.4svh, 26px); border-top: 1px solid var(--line); }
.doc__num { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--serif); color: var(--ink); }
.doc__num b { font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 500; line-height: .9; font-variant-numeric: tabular-nums; }
.doc__num small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.doc__numtxt { max-width: 22ch; color: var(--muted); line-height: 1.4; }
.doc__right { display: grid; gap: clamp(14px, 2.4svh, 26px); min-width: 0; }
.doc__fig { position: relative; border-radius: 3px; overflow: hidden; }
.doc__fig img { width: 100%; height: auto; aspect-ratio: 850 / 300; object-fit: cover; }
.doc__fig figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 12.5px; color: var(--ink); background: rgba(251, 250, 246, .9); padding: 3px 8px; border-radius: 2px; }
.doc__block { display: grid; gap: 10px; }
.doc__k { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; }
.doc__diploma { grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 16px; border-radius: 3px; background: var(--night); color: var(--paper); }
.doc__diploma svg { width: 40px; height: 40px; padding: 8px; border-radius: 50%; border: 1px solid var(--brass); color: var(--brass-l); }
.doc__diploma b { display: block; font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1.2; }
.doc__diploma span { font-size: 13px; color: var(--muted-inv); }
.members { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.members li { position: relative; display: grid; place-items: center; height: 58px; border: 1px solid var(--line-2); border-radius: 3px; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .04em; color: var(--petrol-d); cursor: default; }
.members li span { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); width: max-content; max-width: 240px; padding: 6px 10px; border-radius: 3px; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 12.5px; font-weight: 400; letter-spacing: 0; line-height: 1.35; text-align: center; white-space: normal; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 2; }
.members li:hover span, .members li:focus span { opacity: 1; transform: translate(-50%, 0); }
.members li:first-child span { left: 0; transform: translate(0, 4px); }
.members li:last-child span, .members li:nth-last-child(2) span { left: auto; right: 0; transform: translate(0, 4px); }
.members li:first-child:hover span, .members li:first-child:focus span, .members li:last-child:hover span, .members li:last-child:focus span, .members li:nth-last-child(2):hover span, .members li:nth-last-child(2):focus span { transform: translate(0, 0); }
.members__fine { font-size: 12.5px; color: var(--muted); }

/* =========================================================
   Praxis: gallery
   ========================================================= */
.prax { background: var(--night-2); }
.prax__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.gal__stage { position: relative; aspect-ratio: 2 / 1; border-radius: 3px; overflow: hidden; background: #0a171c; }
.gal__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.gal__stage img.is-on { opacity: 1; }
.gal__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; }
.gal__cap { font-size: 14px; color: var(--muted-inv); min-width: 0; }
.gal__cap b { display: block; font-family: var(--serif); font-size: var(--h3s); font-weight: 500; color: var(--paper); line-height: 1.2; }
.gal__nav { display: flex; align-items: center; gap: 8px; flex: none; }
.gal__count { font-size: 13px; color: var(--muted-inv); margin-right: 8px; font-variant-numeric: tabular-nums; }
.gal__count b { color: var(--paper); font-weight: 600; }
.gal__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-inv-2); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.gal__btn:hover { background: var(--paper); color: var(--ink); }
.gal__btn svg { width: 18px; height: 18px; }
.prax__lead { margin-top: clamp(12px, 2svh, 22px); color: var(--muted-inv); font-size: var(--t-lead); }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2.2svh, 22px) 24px; margin-top: clamp(16px, 3svh, 36px); }
.perks li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.perks svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; border: 1px solid rgba(226, 198, 144, .45); color: var(--brass-l); }
.perks span { font-size: 13.5px; color: var(--muted-inv); line-height: 1.4; }
.perks b { display: block; font-size: 15px; color: var(--paper); font-weight: 600; }

/* =========================================================
   Lage
   ========================================================= */
.loc { background: var(--paper); }
.loc__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.loc__addr { margin-top: clamp(14px, 2.4svh, 26px); font-size: 15px; color: var(--muted); }
.loc__addr b { display: block; font-family: var(--serif); font-size: var(--h3m); font-weight: 600; color: var(--ink); line-height: 1.15; }
.ways { display: grid; gap: 0; margin: clamp(14px, 2.6svh, 30px) 0; border-top: 1px solid var(--line); }
.ways li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: center; padding: clamp(7px, 1.25svh, 12px) 0; border-bottom: 1px solid var(--line); }
.ways svg { width: 24px; height: 24px; color: var(--petrol-d); }
.ways span { font-size: 14px; color: var(--muted); }
.ways b { font-weight: 600; color: var(--ink); margin-right: 8px; }
.map { position: relative; border-radius: 4px; overflow: hidden; height: clamp(320px, var(--scr-h), 720px); background: #0f232a; }
.map > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: 51.7% 56.1%; }
.map__pin { position: absolute; left: 51.7%; top: 56.1%; width: 0; height: 0; }
.map__pin i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 5px rgba(191, 154, 93, .3), 0 6px 18px rgba(0, 0, 0, .5); }
.map__pin::before { content: ''; position: absolute; left: -36px; top: -36px; width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(226, 198, 144, .55); animation: ring 3s var(--ease) infinite; }
.map__pin.is-off::before { animation-play-state: paused; }
@keyframes ring { 0% { transform: scale(.35); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.map__tag { position: absolute; left: calc(51.7% + 22px); top: calc(56.1% - 26px); padding: 8px 12px; border-radius: 3px; background: rgba(251, 250, 246, .96); color: var(--ink); font-size: 12.5px; line-height: 1.35; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); white-space: nowrap; }
.map__tag b { display: block; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.map__house { position: absolute; right: 14px; bottom: 34px; width: clamp(150px, 30%, 280px); height: auto; aspect-ratio: 600 / 212; border-radius: 3px; border: 3px solid var(--paper-3); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .7); object-fit: cover; }
.map figcaption { position: absolute; right: 14px; bottom: 8px; font-size: 11px; color: rgba(244, 241, 235, .7); }
.map figcaption a { text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   Kontakt
   ========================================================= */
.contact { position: relative; background: var(--night); overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; object-fit: cover; object-position: 50% 70%; opacity: .32; z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.contact__lead { margin-top: clamp(12px, 2svh, 20px); color: var(--muted-inv); font-size: var(--t-lead); max-width: 42ch; }
.contact__lines { display: grid; gap: clamp(6px, 1.2svh, 12px); margin: clamp(16px, 3svh, 32px) 0 clamp(14px, 2.4svh, 26px); }
.contact__lines li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.contact__lines svg { width: 20px; height: 20px; color: var(--brass-l); flex: none; }
.contact__lines a { border-bottom: 1px solid var(--line-inv-2); transition: border-color .3s; }
.contact__lines a:hover { border-color: var(--brass-l); }
.hours { width: 100%; max-width: 420px; font-size: 14.5px; }
.hours td { padding: clamp(4px, .8svh, 7px) 0; border-bottom: 1px solid var(--line-inv); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { color: var(--brass-l); font-weight: 600; }
.hours tr.is-closed td:last-child { color: var(--muted-inv); }

/* ---------- Footer ---------- */
.foot { background: #0b1b21; 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(260px, 32vw, 460px); height: auto; aspect-ratio: 450 / 88; color: #f6f2ea; }
.foot__slogan { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1.05; font-weight: 500; }
.foot__slogan em { font-style: italic; color: var(--brass-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 { display: block; font-size: 15px; padding: 3px 0; color: rgba(244, 241, 235, .86); }
.foot__cols a:hover { color: var(--brass-l); }
.foot__legal { margin-top: 40px; font-size: 12.5px; line-height: 1.5; color: var(--muted-inv); max-width: 90ch; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; 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(15, 35, 42, .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: linear-gradient(180deg, #d6b679, #bf9a5d); color: #1a1408; 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(--brass-l); box-shadow: 0 0 0 4px rgba(226, 198, 144, .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(20, 35, 42, .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(--brass-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-bottom: .18em; margin-bottom: -.18em; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   Screens: every section fits one viewport
   ========================================================= */
: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, 20px); }
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; }
}

/* ---- short viewports: small laptops ---- */
@media (min-width: 900px) and (max-height: 800px) {
  .cx__text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .cx__tab span { display: none; }
  .cx__no { font-size: 2.6rem; }
  .week__fig { display: none; }
  .care__lead { display: none; }
  .path { margin-top: 18px; }
  .doc__fig { display: none; }
  .perks { margin-top: 14px; }
}

/* =========================================================
   Type system — one voice
   Cormorant Garamond: headlines, figures. Jost: text, controls, two label tiers —
   LABEL 600 · .18em (names a block) · CAPTION 500 · .14em (names a value).
   Brand lockups (logo, board plates, footer slogan) keep their own set.
   ========================================================= */
: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.55rem; --h3s: 1.25rem; }
}
body { font-synthesis: none; }
b, strong { font-weight: 600; }

/* LABEL */
.h-label, .req__q, .brow__lab, .tg__k, .doc__k, .foot__cols h4, .note__btn, .field span {
  font-family: var(--sans); font-size: var(--t-lab); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-style: normal;
}
/* CAPTION */
.board__date, .req__steps li, .cx__tab small, .wk__d, .members__fine {
  font-family: var(--sans); font-size: var(--t-cap); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-style: normal;
}
.wk__d { letter-spacing: .08em; }
/* Text */
.care__lead, .doc__lead, .prax__lead, .contact__lead { font-size: var(--t-lead); }
.cx__text, .loc__addr { font-size: var(--t-body); }

/* ---------- Phone hero ---------- */
@media (max-width: 719px) {
  .hero__scene { height: 62svh; min-height: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .6) 24%, #000 48%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .6) 24%, #000 48%); }
  .hero__fg { object-position: 50% 40%; }
  .hero__shade { background:
    radial-gradient(90% 26% at 50% var(--crest-y, 30%), rgba(11, 27, 33, .7), rgba(11, 27, 33, .3) 62%, rgba(11, 27, 33, 0) 100%),
    linear-gradient(180deg, rgba(11, 27, 33, 0) 0%, rgba(11, 27, 33, 0) 46%, rgba(11, 27, 33, .5) 70%, rgba(11, 27, 33, .92) 100%); }
  .crest { padding: clamp(4px, 1.6svh, 20px) 12px clamp(12px, 2.4svh, 26px); }
  .crest__logo { width: min(90vw, 380px); }
  .crest__place { margin-top: 12px; gap: 10px; font-size: 10px; letter-spacing: .26em; }
  .crest__place i { width: 22px; }
  .req--hero { width: auto; margin: 0 10px 10px; }
  .req__top { padding: 11px 14px 9px; gap: 8px 12px; }
  .req__title { font-size: 1.3rem; }
  .req__steps li { font-size: 0; letter-spacing: 0; gap: 0; }
  .req__steps li + li::before { width: 12px; margin-right: 4px; }
  .req__steps b { width: 20px; height: 20px; font-size: 10.5px; }
  .req__status { margin-left: 0; width: 100%; font-size: 12px; order: 3; }
  .req__panes { padding: 11px 14px 10px; min-height: 0; }
  .req__pane { gap: 9px; }
  .req__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; scroll-padding: 0 14px; }
  .req__chips::-webkit-scrollbar { display: none; }
  .chip { height: 36px; padding: 0 13px; font-size: 13.5px; flex: none; }
  .req__days { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
  .req__days::-webkit-scrollbar { display: none; }
  .req__day { flex: none; width: 58px; height: 50px; }
  .req__day b { font-size: 1.2rem; }
  .seg button { padding: 0 11px; font-size: 12.5px; height: 32px; }
  .seg__pill { height: 32px; }
  .req__fields, .req--page .req__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .req__fields .field:first-child { grid-column: 1 / -1; }
  .req--page .req__fields .field:last-child { grid-column: auto; }
  .field input, .field select { height: 40px; font-size: 16px; }
  .req__alert { font-size: 12.5px; padding: 7px 10px; }
  .req__side { padding: 10px 14px 12px; gap: 10px; }
  .req__sum { display: none; }
  .req__nav, .req--page .req__nav { flex: 1; }
  .req__nav .btn--brass, .req__nav .btn--ghost { --h: 44px; }
  .req__fine { font-size: 11.5px; }
  .req__done p { font-size: 13.5px; }
  .req__done p b { font-size: 1.25rem; }
  .req__done > svg { width: 36px; height: 36px; padding: 8px; }
}
@media (max-width: 719px) and (max-height: 700px) {
  .crest__place { display: none; }
}
@media (min-width: 720px) and (max-width: 1080px) {
  .req__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- Tablets and phones: stacked screens ---------- */
@media (max-width: 1100px) {
  .cx { grid-template-columns: minmax(180px, 220px) minmax(0, 1fr); }
  .cx__panel { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; }
  .cx__panel > * { grid-column: 2; }
  .cx__no { grid-column: 1; grid-row: 1 / 3; }
  .cx__fig { height: clamp(260px, calc(var(--scr-h) - 420px), 440px); }
}
@media (max-width: 899px) {
  .today__grid, .tech__grid, .doc__grid, .prax__grid, .loc__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .week__fig, .doc__fig { display: none; }
  .map { height: clamp(240px, 38svh, 420px); }
}

/* ---------- Phone screens: keep each one above the dock ---------- */
@media (max-width: 719px) {
  .today__grid { gap: 14px; }
  .today__head { margin-bottom: 10px; }
  .board__top { padding: 7px 12px; }
  .brow { grid-template-columns: 78px minmax(0, 1fr); gap: 1px 10px; padding: 7px 12px; }
  .plate { font-size: .95rem; padding: 2px 9px 3px; }
  .brow__sub { font-size: 12px; }
  .brow--where { display: none; }
  .week__head { display: none; }
  .wk { gap: 3px; }
  .wk__row { grid-template-columns: 60px minmax(0, 1fr); gap: 8px; font-size: 11px; }
  .wk__axis { grid-template-columns: 60px minmax(0, 1fr); gap: 8px; }
  .wk__track { height: 12px; }
  .wk__closed { font-size: 0; }

  .care__head { display: block; margin-bottom: 10px; }
  .care__lead { display: none; }
  .cx { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cx__tabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .cx__tabs::-webkit-scrollbar { display: none; }
  .cx__tab { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); }
  .cx__tab::before { display: none; }
  .cx__tab b { font-family: var(--sans); font-size: 13.5px; font-weight: 500; }
  .cx__tab small, .cx__tab span { display: none; }
  .cx__tab[aria-selected="true"] { background: var(--petrol-d); border-color: var(--petrol-d); color: var(--paper-3); box-shadow: none; }
  .cx__stage { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: 4px 14px; }
  .cx__stage::before { left: 22%; width: 60%; }
  .cx__fig { height: clamp(150px, 24svh, 230px); }
  .tags { display: none; }
  .cx__legend { display: grid; gap: 6px; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
  .cx__legend span { display: flex; align-items: center; gap: 8px; }
  .cx__legend span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); flex: none; }
  .cx__panel { display: grid; grid-template-columns: minmax(0, 1fr); }
  .cx__panel > * { grid-column: 1; }
  .cx__no { display: none; }
  .cx__name { margin-top: 0; }
  .cx__text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; }
  .cx__steps { display: none; }
  .cx__tech { margin-top: 6px; font-size: 12.5px; }
  .cx__cta { margin-top: 10px; }
  .cx__cta .btn { --h: 44px; }

  .tech__grid { gap: 12px; }
  .tech__head { margin-bottom: 8px; }
  .tech__cap { font-size: 12px; margin-top: 6px; }
  .tg { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-bottom: 8px; }
  .tg__k { padding-top: 0; }
  .tg__items { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .tg__items::-webkit-scrollbar { display: none; }
  .tchip { flex: none; height: 32px; font-size: 12.5px; }
  .tech__explain { margin-top: 8px; font-size: 14px; min-height: 4.4em; }

  .doc__grid { gap: 14px; }
  .doc__lead { font-size: 14px; margin-top: 8px; }
  .path { margin-top: 14px; padding-top: 20px; gap: 10px; }
  .path li::before { top: -20px; width: 11px; height: 11px; }
  .path__y { font-size: 1.55rem; }
  .path__t { font-size: 12.5px; margin-top: 2px; }
  .path__s { font-size: 11.5px; }
  .doc__count { margin-top: 12px; padding-top: 10px; gap: 12px; }
  .doc__num b { font-size: 2.6rem; }
  .doc__numtxt { font-size: 13px; }
  .doc__right { gap: 10px; }
  .chips li { height: 30px; padding: 0 11px; font-size: 12.5px; }
  .chips { gap: 6px; }
  .doc__diploma { padding: 8px 12px; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .doc__diploma svg { width: 32px; height: 32px; padding: 6px; }
  .doc__diploma b { font-size: 1.05rem; }
  .doc__diploma span { font-size: 11.5px; }
  .members { gap: 6px; }
  .members li { height: 40px; font-size: 1rem; }

  .prax__grid { gap: 14px; }
  .gal__bar { margin-top: 8px; }
  .gal__cap { font-size: 12.5px; }
  .gal__btn { width: 40px; height: 40px; }
  .gal__count { display: none; }
  .prax__lead { display: none; }
  .perks { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 12px; }
  .perks li { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; }
  .perks svg { width: 28px; height: 28px; padding: 5px; }
  .perks span { font-size: 12px; }
  .perks b { font-size: 13.5px; display: inline; margin-right: 6px; }

  .loc__grid { gap: 14px; }
  .loc__addr { margin-top: 8px; font-size: 13px; }
  .ways { margin: 10px 0; }
  .ways li { padding: 5px 0; }
  .ways li:nth-child(4) { display: none; }
  .ways span { font-size: 12.5px; }
  .loc .btn { display: none; }
  .map { height: clamp(200px, 32svh, 320px); }
  .map__house { display: none; }
  .map__tag { font-size: 11.5px; padding: 6px 9px; left: auto; right: 10px; top: 12px; }
  .map__tag b { font-size: 1rem; }

  .contact__grid { gap: 14px; }
  .contact__lead { font-size: 14px; margin-top: 8px; }
  .contact__lines { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .contact__lines li { font-size: 14px; gap: 8px; }
  .contact__lines li:nth-child(3), .contact__lines li:nth-child(4) { display: none; }
  .contact__lines svg { width: 17px; height: 17px; }
  .hours { display: none; }
  .req--page .req__panes { min-height: 0; padding: 12px 14px; }
}
@media (max-width: 719px) and (max-height: 780px) {
  :root { --h2s: 1.8rem; }
  .today .h-label, .care .h-label, .tech .h-label, .doc .h-label, .prax .h-label, .loc .h-label, .contact .h-label { display: none; }
  .board__top { display: none; }
  .wk__axis { display: none; }
  .cx__fig { height: 20svh; }
  .cx__text { -webkit-line-clamp: 3; }
  .tech__explain { min-height: 0; }
  .tech__cap { display: none; }
  .path__s { display: none; }
  .doc__count { display: none; }
  .perks li:nth-child(4) { display: none; }
  .map { height: 26svh; }
  .ways li:nth-child(3) { display: none; }
  .contact__lead { display: none; }
}
