/* =========================================================
   Zahnarztpraxis Dr. Andreas Sander — Konzeptentwurf (VCSLV)
   Navy of the team polos, the light blue of the tooth mark,
   white rooms and the walnut of the reception desk as the one warm accent.
   ========================================================= */

@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --ink: #13202e;
  --night: #0d1724;
  --night-2: #13233a;
  --night-3: #1a2e47;
  --blue: #2b5c88;
  --blue-2: #224b70;
  --blue-d: #173653;
  --ice: #a9d6ff;
  --ice-l: #d6ebff;
  --ice-s: #eaf4fd;
  --paper: #f4f4f1;
  --paper-2: #e8eae6;
  --paper-3: #fbfbf9;
  --wood: #b98552;
  --wood-l: #dcb88b;
  --muted: #5b6672;
  --ok: #8fd6a8;
  --warn: #f0c27a;
  --line: rgba(19, 32, 46, .12);
  --line-2: rgba(19, 32, 46, .25);
  --line-inv: rgba(234, 244, 253, .13);
  --line-inv-2: rgba(234, 244, 253, .28);
  --muted-inv: rgba(234, 244, 253, .7);

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

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-anchor: none; }  /* scroll memory is handled in main.js */
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; overflow-anchor: none;
}
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; }
::selection { background: var(--ice-l); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ice); 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; } }

/* ---------- Type ---------- */
.h2 { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -.018em; text-wrap: balance; }
.h2 em { font-style: italic; font-weight: 400; letter-spacing: -.012em; color: var(--blue); }
[data-theme="dark"] .h2 em { color: var(--ice); }
.h-label { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); }
.h-label::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 3px; background: currentColor; opacity: .9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M8.5 0h83A8.5 8.5 0 0 1 100 8.5v83a8.5 8.5 0 0 1-8.5 8.5h-83A8.5 8.5 0 0 1 0 91.5v-83A8.5 8.5 0 0 1 8.5 0Zm41.5 18.6c-3.6 0-7.2-3-13.4-3-7.8 0-13 5.8-13 14 0 7.8 2.2 13 3.8 17.8 1.8 5.2 2.2 8.6 2.4 13.6.2 7 .6 13.6 2.4 18.6 1 3 2.2 5.8 4.4 5.8s4.8-.8 5.3-4.6c.5-4.2.3-12.8.5-18.8.2-5 3.2-7.8 7.6-7.8s7.4 2.8 7.6 7.8c.2 6 0 14.6.4 18.8.5 3.8 2.9 4.6 5.1 4.6s3.2-2.8 4.2-5.8c1.7-5 2-11.6 2.2-18.6.2-5 .7-8.6 2.4-13.6 1.7-5 3.9-10.2 3.9-18 0-8-4.9-13.8-12.4-13.8-6.2 0-9.8 3-13.4 3Z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M8.5 0h83A8.5 8.5 0 0 1 100 8.5v83a8.5 8.5 0 0 1-8.5 8.5h-83A8.5 8.5 0 0 1 0 91.5v-83A8.5 8.5 0 0 1 8.5 0Zm41.5 18.6c-3.6 0-7.2-3-13.4-3-7.8 0-13 5.8-13 14 0 7.8 2.2 13 3.8 17.8 1.8 5.2 2.2 8.6 2.4 13.6.2 7 .6 13.6 2.4 18.6 1 3 2.2 5.8 4.4 5.8s4.8-.8 5.3-4.6c.5-4.2.3-12.8.5-18.8.2-5 3.2-7.8 7.6-7.8s7.4 2.8 7.6 7.8c.2 6 0 14.6.4 18.8.5 3.8 2.9 4.6 5.1 4.6s3.2-2.8 4.2-5.8c1.7-5 2-11.6 2.2-18.6.2-5 .7-8.6 2.4-13.6 1.7-5 3.9-10.2 3.9-18 0-8-4.9-13.8-12.4-13.8-6.2 0-9.8 3-13.4 3Z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat; }
.h-label--inv { color: var(--ice); }

/* ---------- 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--blue { background: var(--blue); color: #fff; }
.btn--blue::after { background: var(--blue-2); }
.btn--ice { background: var(--ice); color: var(--night); }
.btn--ice::after { background: #fff; }
.btn--line { border-color: currentColor; }
.btn--line::after { background: currentColor; }
.btn--line:hover { color: var(--night); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost::after { background: var(--paper-2); }
.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; }
.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(143, 214, 168, .55); animation: pulse 2.4s infinite; }
.dot.is-off::after, .dot.is-closed::after { animation-play-state: paused; }
.dot.is-closed { background: var(--warn); }
.dot.is-closed::after { background: transparent; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(3.6); opacity: 0; } }

/* segmented control with sliding pill */
.seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(19, 32, 46, .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(--blue); transition: transform .55s var(--ease), width .55s var(--ease); }
.seg--dark { background: rgba(234, 244, 253, .08); }
.seg--dark button { color: var(--muted-inv); }
.seg--dark button[aria-checked="true"] { color: var(--night); }
.seg--dark .seg__pill { background: var(--ice); }
.seg--sm button { height: 34px; padding: 0 12px; font-size: 13.5px; }
.seg--sm .seg__pill { height: 34px; }

/* chips (treatments, days) */
.chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.chip { position: relative; display: grid; gap: 1px; align-content: center; min-height: 58px; padding: 9px 12px; border-radius: 4px; border: 1px solid var(--line-2); background: var(--paper-3); text-align: left; transition: border-color .3s, background-color .3s, color .3s, transform .4s var(--ease); }
.chip b { font-weight: 500; font-size: 15px; line-height: 1.25; }
.chip small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.chip:hover { border-color: var(--blue); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.chip[aria-checked="true"] small, .chip[aria-pressed="true"] small { color: rgba(255, 255, 255, .78); }
.chip--pain[aria-checked="true"] { background: var(--wood); border-color: var(--wood); }
.when { display: grid; gap: 14px; }
.when__k { margin-bottom: 7px; color: var(--muted); }
.when__days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.when__days .chip { min-height: 50px; justify-items: center; text-align: center; }
.when__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.when__opts .chip { min-height: 52px; }

.pill { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; white-space: nowrap; }

/* ---------- 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: #fff;
  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, 244, 241, .93); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.hdr.is-solid.on-dark { color: #fff; box-shadow: 0 1px 0 var(--line-inv); }
.hdr.is-solid.on-dark::before { background: var(--hdr-dark, rgba(13, 23, 36, .9)); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__brand { display: flex; align-items: center; gap: 12px; flex: none; transition: opacity .6s var(--ease); }
.hdr__mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .2)); }
.hdr__word { display: grid; line-height: 1.15; }
.hdr__word small { font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.hdr__word b { font-size: 17px; font-weight: 500; letter-spacing: .01em; }
.hdr.has-crest .hdr__brand { opacity: 0; pointer-events: none; }
.hdr:not(.is-solid) { text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
.hdr__nav { display: flex; gap: clamp(18px, 2.2vw, 36px); 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 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: #fff; }
.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: 1240px) { .hdr__nav { display: none; } }
@media (max-width: 719px) {
  :root { --hdr-h: 64px; }
  .hdr.is-solid { --hdr-h: 56px; }
  .hdr__book { display: none; }
  .hdr__mark { width: 34px; height: 34px; }
  .hdr__word b { font-size: 15.5px; }
  .hdr__word small { font-size: 9.5px; }
  .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: #fff;
  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: 400; font-size: clamp(1.8rem, min(2.7vw, 4.8svh), 2.9rem); line-height: 1.1; letter-spacing: -.015em; transition: color .4s, padding .5s var(--ease); }
.menu__nav a:hover { padding-left: 14px; color: var(--ice); }
.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.55rem, 6.8vw, 2.1rem); 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: the tooth mark draws itself, the reception appears
   ========================================================= */
.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: #fff; isolation: isolate; background: var(--night);
}
.hero__scene { position: absolute; inset: 0; }
.hero__scene picture { position: absolute; inset: 0; }
.hero__fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform-origin: 50% 50%; 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(42% 40% at 50% var(--crest-y, 40%), rgba(9, 17, 28, .7), rgba(9, 17, 28, .36) 60%, rgba(9, 17, 28, 0) 100%),
  linear-gradient(180deg, rgba(9, 17, 28, .7) 0%, rgba(9, 17, 28, .4) 22%, rgba(9, 17, 28, .32) 44%, rgba(9, 17, 28, .42) 62%, rgba(9, 17, 28, .78) 82%, rgba(9, 17, 28, .94) 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.2svh, 40px); color: #fff;
}
.crest__mark { width: clamp(96px, 15svh, 152px); height: auto; aspect-ratio: 1; overflow: visible; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .4)); }
.crest__draw { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.crest__club { margin-top: clamp(14px, 2.6svh, 30px); font-size: 12px; font-weight: 600; letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.crest__name { margin-top: clamp(4px, 1svh, 12px); font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, min(5.6vw, 9.4svh), 5.6rem); line-height: 1.04; letter-spacing: -.02em; white-space: nowrap; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.crest__name span { display: inline-block; }
.crest__name .sp { width: .24em; }
.crest__since { margin-top: clamp(10px, 2svh, 22px); display: flex; align-items: center; gap: 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .36em; text-transform: uppercase; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.crest__since span { padding-left: .36em; white-space: nowrap; }
.crest__since i { width: 42px; height: 1px; background: var(--wood-l); opacity: .8; }
.js .crest__draw { stroke-dashoffset: 1; }
.js .crest__sq, .js .crest__tooth, .js .crest__club, .js .crest__name, .js .crest__since { opacity: 0; }
.no-anim .crest__draw, .is-static .crest__draw { stroke-dashoffset: 0 !important; }
.no-anim .crest__sq, .no-anim .crest__tooth, .no-anim .crest__club, .no-anim .crest__name, .no-anim .crest__since, .no-anim .hero__fg, .no-anim .hero__shade,
.is-static .crest__sq, .is-static .crest__tooth, .is-static .crest__club, .is-static .crest__name, .is-static .crest__since, .is-static .hero__fg, .is-static .hero__shade { opacity: 1 !important; }

/* ---------- Termin console ---------- */
.tc {
  position: relative; z-index: 5; width: calc(100% - 2 * var(--gutter)); max-width: 1180px; margin: 0 auto clamp(16px, 3vh, 30px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(360px, 1.15fr); grid-template-rows: auto auto;
  background: rgba(251, 251, 249, .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;
}
.tc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--ice) 50%, var(--blue)); }
.tc > div:not(.tc__info) { padding: 17px 22px 17px; border-right: 1px solid var(--line); min-width: 0; }
.tc > .tc__go { border-right: 0; }
.tc__lab { display: block; margin-bottom: 9px; color: var(--muted); white-space: nowrap; }
.tc__btn { display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 3px; text-align: left; transition: border-color .3s, background-color .3s; }
.tc__btn:hover, .tc__btn[aria-expanded="true"] { border-color: var(--blue); background: rgba(43, 92, 136, .05); }
.tc__btn svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.tc__val { font-size: 15.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tc__go { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 18px; }
.tc__state { display: grid; gap: 4px; line-height: 1.1; min-width: 0; }
.tc__for { font-size: 12.5px; color: var(--muted); }
.tc__now { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc__cta { --h: 48px; }
.tc__info { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px 28px; flex-wrap: wrap; padding: 10px 22px 11px; border-top: 1px solid var(--line); background: rgba(232, 234, 230, .72); font-size: 13.5px; }
.tc__notes { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tc__notes li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.tc__notes svg { width: 17px; height: 17px; color: var(--blue); flex: none; }
.tc__notes b { font-weight: 600; }
.tc__more { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.tc__more a { color: var(--muted); border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.tc__more a:hover { color: var(--ink); border-color: var(--ink); }
.js .tc { opacity: 0; }
@media (max-width: 1080px) {
  .tc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tc > .tc__go { grid-column: 1 / -1; border-top: 1px solid var(--line); }
}

/* ---------- Popovers (treatment, wish time) ---------- */
.pop {
  position: fixed; z-index: 80; top: 0; left: 0; width: min(720px, calc(100vw - 24px));
  background: var(--paper-3); color: var(--ink); border-radius: 6px; padding: 18px 20px 16px;
  box-shadow: 0 40px 90px -30px rgba(8, 16, 28, .55), 0 0 0 1px var(--line);
}
.pop[hidden], .pop__veil[hidden] { display: none; }
.pop--zeit { width: min(520px, calc(100vw - 24px)); }
.pop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pop__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.1; }
.pop__x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.pop__x svg { width: 16px; height: 16px; }
.pop__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.pop__legend { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.pop__ok { --h: 42px; font-size: 14px; flex: none; }
.pop__veil { position: fixed; inset: 0; z-index: 79; background: rgba(8, 16, 28, .45); }
.pop .chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 719px) {
  .pop { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: 100%; border-radius: 14px 14px 0 0; max-height: 88svh; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--line); }
  .pop .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pop .chip { min-height: 50px; }
}

/* =========================================================
   Heute in der Praxis: the display board
   ========================================================= */
.today { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.today::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 10% 0%, rgba(43, 92, 136, .45), transparent 65%), radial-gradient(50% 50% at 100% 100%, rgba(185, 133, 82, .12), transparent 70%); }
.today .wrap { position: relative; }
.today__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px 6vw; align-items: end; }
.today__lead { color: var(--muted-inv); max-width: 42ch; justify-self: end; }
.today__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 52px); align-items: stretch; }
.tafel { position: relative; border-radius: 6px; overflow: hidden; color: #eef5fc;
  background: linear-gradient(180deg, #14263c 0%, #0f1d30 100%);
  box-shadow: 0 0 0 1px rgba(169, 214, 255, .16), 0 50px 90px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.tafel__top { display: flex; align-items: center; gap: 18px; padding: 12px 22px; border-bottom: 1px solid rgba(169, 214, 255, .14); }
.tafel__title { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.6rem; white-space: nowrap; }
.tafel__date { color: rgba(234, 244, 253, .66); }
.tafel__clock { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.trow { border-bottom: 1px solid rgba(169, 214, 255, .1); }
.trow:last-child { border-bottom: 0; }
.trow__head { width: 100%; display: grid; grid-template-columns: 112px minmax(0, 1fr) 24px; align-items: center; gap: 16px; padding: 9px 18px 9px 22px; text-align: left; transition: background-color .3s; }
.trow__head:hover { background: rgba(169, 214, 255, .05); }
.trow__lab { color: var(--ice); }
.trow__vals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, auto); gap: 10px; min-width: 0; align-items: baseline; }
.tv { position: relative; display: block; overflow: hidden; min-width: 0; line-height: 1.3; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.tv > span { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.tv--main { font-family: var(--serif); font-weight: 500; font-size: 1.36rem; color: #f6fbff; }
.tv--side { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15rem; color: var(--wood-l); text-align: right; }
.trow__ico { width: 20px; height: 20px; color: var(--ice); transition: transform .5s var(--ease); justify-self: end; }
.trow.is-open .trow__ico { transform: rotate(45deg); }
.trow__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.trow.is-open .trow__more { grid-template-rows: 1fr; }
.trow__in { overflow: hidden; padding: 0 22px 0 calc(22px + 112px + 16px); visibility: hidden; transition: visibility 0s .6s; }
.trow.is-open .trow__in { padding-bottom: 14px; visibility: visible; transition-delay: 0s; }
.trow__txt { line-height: 1.55; color: rgba(234, 244, 253, .84); max-width: 58ch; margin-bottom: 10px; }
.trow__txt b { color: #fff; font-weight: 600; }
.trow__in .link-arrow { color: #fff; }
.trow__src { display: block; margin-top: 6px; font-size: 12.5px; color: rgba(234, 244, 253, .55); }
.wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 10px; max-width: 420px; }
.wk li { display: grid; justify-items: center; gap: 2px; padding: 5px 0 6px; border-radius: 3px; background: rgba(169, 214, 255, .06); font-size: 12px; color: rgba(234, 244, 253, .6); }
.wk li b { font-weight: 600; color: rgba(234, 244, 253, .85); }
.wk li.is-open { background: rgba(169, 214, 255, .16); color: #fff; }
.wk li.is-today { box-shadow: inset 0 0 0 1px var(--ice); }
.fc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fc li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 0 10px; align-items: center; padding: 4px 14px 4px 0; }
.fc li + li { padding-left: 14px; border-left: 1px solid rgba(169, 214, 255, .14); }
.fc svg { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--ice); }
.fc span { font-size: 13.5px; color: rgba(234, 244, 253, .78); }
.tafel__foot { padding: 9px 22px; font-size: 12px; color: rgba(234, 244, 253, .52); border-top: 1px solid rgba(169, 214, 255, .1); }
.today__fig { position: relative; min-height: 100%; border-radius: 6px; overflow: hidden; background: var(--night-2); }
.today__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
.today__fig figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 3px; background: rgba(13, 23, 36, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.today__fig figcaption b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.today__fig figcaption span { font-size: 13.5px; color: var(--muted-inv); }
@media (max-width: 1100px) { .today__grid { grid-template-columns: minmax(0, 1fr); } .today__fig { display: none; } }
@media (max-width: 719px) {
  .today__head { grid-template-columns: 1fr; }
  .today__lead { display: none; }
  .tafel__top { padding: 9px 14px; gap: 10px; }
  .tafel__title { font-size: 1.2rem; }
  .tafel__date { display: none; }
  .tafel__clock { font-size: 1.2rem; }
  .trow__head { grid-template-columns: minmax(0, 1fr) 24px; gap: 2px 10px; padding: 8px 12px 9px 14px; }
  .trow__lab { grid-column: 1; grid-row: 1; }
  .trow__ico { grid-column: 2; grid-row: 1 / 3; }
  .trow__vals { grid-column: 1; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .tv--main { font-size: 1.14rem; }
  .tv--side { font-size: 1.02rem; }
  .trow__in { padding: 0 14px; }
  .fc { grid-template-columns: 1fr; }
  .fc li, .fc li + li { padding: 6px 0; border-left: 0; border-top: 1px solid rgba(169, 214, 255, .12); }
  .tafel__foot { display: none; }
  .trow--kasse .trow__vals { grid-template-columns: auto minmax(0, 1fr); }
}

/* =========================================================
   Termin: the request in three steps + what the desk sees
   ========================================================= */
.book { background: var(--paper); }
.book__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px 6vw; align-items: end; }
.book__lead { color: var(--muted); max-width: 44ch; justify-self: end; }
.book__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(22px, 3.4vw, 60px); align-items: stretch; }
.wiz { position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2.4svh, 26px) clamp(16px, 2vw, 28px); border-radius: 4px; background: #fff; box-shadow: 0 30px 60px -40px rgba(19, 32, 46, .35), inset 0 0 0 1px var(--line); }
.wiz::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 4px 4px 0 0; background: var(--blue); }
.wiz__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: clamp(14px, 2.4svh, 22px); }
.wiz__steps button { position: relative; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0 0 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); text-align: left; transition: color .3s; }
.wiz__steps button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.wiz__steps button::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.wiz__steps button[aria-selected="true"], .wiz__steps button.is-done { color: var(--ink); }
.wiz__steps button[aria-selected="true"]::before, .wiz__steps button.is-done::before { transform: scaleX(1); }
.wiz__steps i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-style: normal; font-size: 12.5px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s, color .3s, box-shadow .3s; }
.wiz__steps button[aria-selected="true"] i, .wiz__steps button.is-done i { background: var(--blue); color: #fff; box-shadow: none; }
.wiz__panes { position: relative; flex: 1; display: grid; }
.wiz__pane { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateX(16px); transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.wiz__pane.is-on { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.wiz .chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wiz__pane[data-pane="1"] { display: flex; flex-direction: column; }
.wiz__pane[data-pane="1"] .chips { flex: 1; grid-auto-rows: minmax(58px, 1fr); }
.wiz__pane[data-pane="2"] .when { height: 100%; align-content: space-between; }
.pain { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 4px; background: rgba(185, 133, 82, .1); box-shadow: inset 0 0 0 1px rgba(185, 133, 82, .4); }
.pain[hidden] { display: none; }
.pain > svg { width: 24px; height: 24px; color: var(--wood); }
.pain p { display: grid; gap: 1px; font-size: 14px; color: var(--muted); }
.pain b { color: var(--ink); font-weight: 600; }
.pain .btn { --h: 44px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.field { display: grid; gap: 4px; margin-bottom: 12px; min-width: 0; align-content: start; }
.field > span { color: var(--muted); }
.field input, .field select { width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; padding: 0 12px; font-size: 15px; outline: none; transition: border-color .3s; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2313202e' stroke-width='1.6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; }
.field input:focus, .field select:focus { border-color: var(--blue); }
.field input.is-bad { border-color: #c4553d; }
.field .seg { align-self: start; }
.wiz__nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: clamp(12px, 2svh, 20px); padding-top: clamp(12px, 2svh, 18px); border-top: 1px solid var(--line); }
.wiz__nav .btn { --h: 46px; }
.wiz__back svg { transform: none !important; }
.wiz__back:disabled { visibility: hidden; }
.wiz__sum { font-size: 13.5px; color: var(--muted); line-height: 1.4; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wiz__sum b { color: var(--ink); font-weight: 500; }
.wiz__send { display: none; }
.wiz.is-last .wiz__next { display: none; }
.wiz.is-last .wiz__send { display: inline-flex; }
.wiz.is-pain .wiz__next { opacity: .35; pointer-events: none; }
.form__done { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(18px, 3svh, 32px) clamp(18px, 2.4vw, 36px); border-radius: inherit; background: var(--paper-3); text-align: left; }
.form__done[hidden] { display: none; }
.done__head { display: flex; gap: 16px; align-items: flex-start; }
.done__head svg { width: 40px; height: 40px; color: var(--blue); flex: none; }
.form__done b { font-family: var(--serif); font-size: var(--h3m); font-weight: 400; line-height: 1.12; display: block; margin-bottom: 4px; color: var(--ink); }
.done__head p { color: var(--muted); max-width: 52ch; }
.done__rows { display: grid; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px var(--line); border-left: 3px solid var(--wood); padding: 4px 16px; }
.done__rows div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.done__rows div:last-child { border-bottom: 0; }
.done__rows dd { font-weight: 500; font-size: 14.5px; min-width: 0; overflow-wrap: anywhere; }
.form__done small { color: var(--muted); }

.desk { display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2.4svh, 24px) clamp(16px, 2vw, 26px); border-radius: 4px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.desk__lab { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: clamp(10px, 2svh, 18px); }
.ticket { position: relative; border-radius: 4px; background: #fff; box-shadow: 0 24px 50px -30px rgba(19, 32, 46, .45), 0 0 0 1px var(--line); overflow: hidden; }
.ticket::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--wood); }
.ticket__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px 10px 18px; border-bottom: 1px solid var(--line); }
.ticket__top b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.2; }
.ticket__top time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket__rows { display: grid; padding: 4px 16px 6px 18px; }
.ticket__rows div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: clamp(5px, 1svh, 8px) 0; border-bottom: 1px dashed var(--line); }
.ticket__rows div:last-child { border-bottom: 0; }
.ticket__rows dt, .done__rows dt { color: var(--muted); }
.ticket__rows dd { font-size: 14.5px; font-weight: 500; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.ticket__rows dd.is-empty { color: rgba(19, 32, 46, .38); font-weight: 400; }
.ticket__rows dd.is-flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { background: rgba(169, 214, 255, .55); } 100% { background: transparent; } }
.ticket__foot { display: flex; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; padding: 10px 16px 12px 18px; background: var(--ice-s); font-size: 13px; color: var(--muted); }
.ticket__next { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 500; }
.ticket__next svg { width: 15px; height: 15px; }
.desk__note { margin-top: auto; padding-top: clamp(12px, 2svh, 18px); color: var(--muted); font-size: 14px; max-width: 44ch; }
@media (max-width: 1100px) {
  .chips, .wiz .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .book__head { grid-template-columns: 1fr; }
  .book__lead { justify-self: start; }
  .book__grid { grid-template-columns: minmax(0, 1fr); }
  .desk { display: none; }
}

/* =========================================================
   Woche: phone hours against a week of online requests
   ========================================================= */
.week { background: var(--night-2); color: #fff; position: relative; overflow: hidden; }
.week::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 100% 0%, rgba(169, 214, 255, .14), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(185, 133, 82, .14), transparent 70%); }
.week .wrap { position: relative; }
.week__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.week__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.hm { position: relative; min-width: 0; }
.hm__hours { display: flex; justify-content: space-between; margin: 0 0 8px 46px; font-size: 12px; color: var(--muted-inv); font-variant-numeric: tabular-nums; }
.hm__rows { display: grid; gap: clamp(4px, .8svh, 7px); }
.hm__row { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 8px; align-items: center; }
.hm__day { color: var(--muted-inv); }
.hm__cells { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; }
.hm__c { height: clamp(26px, 5.2svh, 46px); border-radius: 2px; background: rgba(234, 244, 253, .06); transition: background-color .5s var(--ease), transform .4s var(--ease), box-shadow .3s; }
.hm__c:hover { transform: scaleY(1.12); }
.hm[data-v="web"] .hm__c { background: rgba(169, 214, 255, .34); }
.hm[data-v="web"] .hm__c.is-ord { background: rgba(169, 214, 255, .72); }
.hm[data-v="web"] .hm__c.is-tel { background: var(--wood-l); }
.hm[data-v="ord"] .hm__c.is-ord { background: var(--ice); }
.hm[data-v="tel"] .hm__c.is-tel { background: var(--wood-l); }
.hm .hm__c.is-now { box-shadow: 0 0 0 2px #fff; }
.hm__legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: 13px; color: var(--muted-inv); }
.hm__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.lg--tel { background: var(--wood-l); }
.lg--ord { background: rgba(169, 214, 255, .72); }
.lg--web { background: rgba(169, 214, 255, .34); }
.hm__tip { margin-top: 8px; min-height: 1.6em; font-size: 14px; color: var(--muted-inv); }
.hm__tip b { color: #fff; font-weight: 600; }
.week__side { display: grid; gap: clamp(16px, 3svh, 30px); min-width: 0; }
.nums { display: grid; gap: 0; border-top: 1px solid var(--line-inv); }
.nums li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: clamp(8px, 1.6svh, 14px) 0; border-bottom: 1px solid var(--line-inv); }
.nums b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, min(4vw, 7svh), 3.6rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.nums li:nth-child(1) b { color: var(--wood-l); }
.nums li:nth-child(3) b { color: var(--ice); }
.nums span { color: var(--muted-inv); }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.flow li { position: relative; display: grid; gap: 8px; padding: 12px 12px 14px; border-radius: 4px; background: rgba(234, 244, 253, .06); box-shadow: inset 0 0 0 1px var(--line-inv); }
.flow i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ice); color: var(--night); font-style: normal; font-size: 12.5px; font-weight: 600; }
.flow span { display: grid; gap: 2px; color: var(--muted-inv); line-height: 1.35; }
.flow b { color: #fff; font-weight: 500; }
@media (max-width: 1100px) { .week__grid { grid-template-columns: minmax(0, 1fr); } .flow { display: none; } }
@media (max-width: 719px) {
  .week__seg { width: 100%; }
  .week__seg button { flex: 1 1 0; padding: 0 8px; font-size: 13px; }
  .hm__hours { margin-left: 30px; }
  .hm__row { grid-template-columns: 24px minmax(0, 1fr); gap: 6px; }
  .hm__cells { gap: 2px; }
  .hm__c { height: clamp(14px, 2.5svh, 24px); border-radius: 1px; }
  .hm__legend { margin-top: 10px; gap: 4px 14px; font-size: 12px; }
  .hm__tip { margin-top: 4px; font-size: 13px; min-height: 0; }
  .nums li { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 5px 0; }
  .nums b { font-size: 1.9rem; }
}

/* =========================================================
   Behandlungen explorer
   ========================================================= */
.care { background: var(--paper-3); }
.care__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px 6vw; align-items: end; }
.care__lead { color: var(--muted); max-width: 44ch; justify-self: end; }
.ctabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-2); margin-bottom: clamp(14px, 2.4svh, 26px); }
.ctabs button { position: relative; display: grid; gap: 1px; padding: 11px 12px 0 0; text-align: left; color: var(--muted); transition: color .3s; }
.ctabs button::before { content: ''; position: absolute; left: 0; right: 12px; top: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.ctabs button[aria-selected="true"] { color: var(--ink); }
.ctabs button[aria-selected="true"]::before { transform: scaleX(1); }
.ctabs b { font-family: var(--serif); font-weight: 400; font-size: 1.24rem; line-height: 1.15; }
.ctabs span { font-size: 12.5px; }
.cx { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 56px); align-items: stretch; }
.ill { position: relative; height: clamp(300px, calc(var(--scr-h) - 230px), 600px); border-radius: 4px; overflow: hidden; background: linear-gradient(180deg, #f2f8fd, #e6f0f9); box-shadow: inset 0 0 0 1px rgba(43, 92, 136, .1); }
.ill__bg, .ill__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ill__svg { opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.ill__svg.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.dr { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.dr--thin { stroke-width: 1.5; stroke: var(--blue-d); }
.dr--acc { stroke: var(--wood); }
.dr--wide { stroke-width: 5; stroke-opacity: .55; }
.dr--dash { stroke-dasharray: .02 .02; }
.ill__fill { fill: rgba(169, 214, 255, .35); }
.ill__fill--hatch { fill: url(#zsHatch); }
.ill__dot { fill: var(--wood); }
.ccard { display: flex; flex-direction: column; min-width: 0; }
.ccard__no { color: var(--muted); font-variant-numeric: tabular-nums; }
.ccard__name { font-family: var(--serif); font-weight: 400; margin: 4px 0 12px; }
.ccard__text { color: var(--muted); max-width: 54ch; }
.ccard__facts { display: grid; gap: 0; margin: clamp(12px, 2svh, 20px) 0 0; border-top: 1px solid var(--line); }
.ccard__facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: center; padding: clamp(7px, 1.3svh, 11px) 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ccard__facts svg { width: 20px; height: 20px; color: var(--blue); }
.ccard__cta { margin-top: auto; padding-top: clamp(14px, 2.4svh, 24px); display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.ccard__src { color: var(--muted); font-size: 14px; }
@media (max-width: 899px) {
  .care__head { grid-template-columns: 1fr; }
  .care__lead { display: none; }
  .cx { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ill { height: clamp(150px, 24svh, 300px); }
  .ctabs { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 10px; padding: 0 var(--gutter); width: calc(100% + 2 * var(--gutter)); border-top: 0; gap: 6px; }
  .ctabs::-webkit-scrollbar { display: none; }
  .ctabs button { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); }
  .ctabs button::before { display: none; }
  .ctabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
  .ctabs b { font-family: var(--sans); font-weight: 500; font-size: 14px; }
  .ctabs span { display: none; }
}

/* =========================================================
   Technik: CEREC step by step, under a strip of the treatment room
   ========================================================= */
.tech { position: relative; overflow: hidden; color: #fff; background: var(--night); }
.tech::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 100% 100%, rgba(43, 92, 136, .4), transparent 70%); }
.tech .wrap { position: relative; }
.tech__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(12px, 2.6svh, 36px); }
.tech__fig { position: relative; height: clamp(180px, calc(var(--scr-h) - 330px), 470px); border-radius: 4px; overflow: hidden; background: var(--night-2); }
.tech__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.tech__fig figcaption { position: absolute; left: 16px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(13, 23, 36, .72); font-size: 12.5px; color: rgba(234, 244, 253, .85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tech__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; margin-top: clamp(16px, 3.2svh, 40px); }
.steps { min-width: 0; }
.steps__bar { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps__bar::before { content: ''; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: var(--line-inv-2); }
.steps__bar::after { content: ''; position: absolute; left: 0; top: 17px; height: 2px; width: var(--p, 12.5%); background: var(--ice); transition: width .8s var(--ease); }
.steps__bar button { position: relative; z-index: 1; display: grid; justify-items: start; gap: 10px; padding-right: 10px; text-align: left; color: var(--muted-inv); transition: color .3s; }
.steps__bar i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line-inv-2); font-style: normal; font-family: var(--serif); font-size: 1.15rem; transition: background-color .4s, color .4s, box-shadow .4s, transform .4s var(--ease); }
.steps__bar b { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.1; color: inherit; }
.steps__bar button.is-past i { box-shadow: inset 0 0 0 1px var(--ice); color: var(--ice); }
.steps__bar button[aria-selected="true"] { color: #fff; }
.steps__bar button[aria-selected="true"] i { background: var(--ice); color: var(--night); box-shadow: 0 0 0 6px rgba(169, 214, 255, .16); transform: scale(1.06); }
.steps__text { margin-top: clamp(12px, 2.2svh, 22px); min-height: 3.3em; max-width: 56ch; color: rgba(234, 244, 253, .88); }
.tech__num { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: clamp(10px, 1.8svh, 18px) 0; border-top: 1px solid var(--line-inv); border-bottom: 1px solid var(--line-inv); }
.tech__num b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, min(4.6vw, 8svh), 4.4rem); line-height: .95; letter-spacing: -.02em; color: var(--ice); white-space: nowrap; }
.tech__num span { color: var(--muted-inv); }
.tech__side { display: grid; gap: clamp(10px, 1.8svh, 16px); min-width: 0; }
.gear { display: flex; flex-wrap: wrap; gap: 6px; }
.gear li { padding: 6px 13px; border-radius: 999px; background: rgba(234, 244, 253, .08); box-shadow: inset 0 0 0 1px var(--line-inv-2); font-size: 13px; white-space: nowrap; }
@media (max-width: 899px) { .gear { display: none; } }
@media (max-width: 899px) {
  .tech__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 719px) {
  .tech__fig { height: clamp(110px, 18svh, 200px); }
  .tech__fig figcaption { display: none; }
  .steps__bar b { font-size: 1.05rem; }
  .steps__bar i { width: 30px; height: 30px; font-size: 1rem; }
  .steps__bar::before, .steps__bar::after { top: 14px; }
  .tech__num b { font-size: 2.5rem; }
}

/* =========================================================
   Dr. Sander
   ========================================================= */
.doc { background: var(--paper); }
.doc__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.doc__fig { position: relative; justify-self: end; height: min(var(--scr-h), 640px); aspect-ratio: 4 / 5; max-width: 100%; border-radius: 4px; overflow: hidden; background: #fff; }
.doc__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.doc__mini { display: none; }
.doc__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.doc__fig figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 3px; background: rgba(13, 23, 36, .82); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.doc__fig figcaption b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.2; }
.doc__fig figcaption span { font-size: 13.5px; color: var(--muted-inv); }
.doc__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: clamp(16px, 3svh, 32px) 0 clamp(10px, 2svh, 20px); padding-bottom: clamp(12px, 2svh, 20px); border-bottom: 1px solid var(--line-2); }
.doc__stats p { display: grid; gap: 6px; }
.doc__stats b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, min(4.4vw, 8svh), 4.2rem); line-height: .95; letter-spacing: -.02em; color: var(--blue); font-variant-numeric: tabular-nums; }
.doc__stats span { color: var(--muted); }
.cv { position: relative; display: grid; gap: 0; }
.cv li { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 30px; padding: clamp(6px, 1.2svh, 11px) 0; }
.cv li::before { content: ''; position: absolute; left: 73px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.cv li::after { content: ''; position: absolute; left: 69px; top: calc(clamp(6px, 1.2svh, 11px) + .55em); width: 9px; height: 9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--blue); }
.cv li:last-child::after { background: var(--blue); }
.cv b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.cv span { color: var(--ink); }
.doc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(14px, 2.4svh, 24px); }
.doc__tags span { padding: 6px 13px; border-radius: 999px; background: rgba(43, 92, 136, .08); color: var(--blue); font-size: 13px; white-space: nowrap; }
@media (max-width: 899px) {
  .doc__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .doc__fig { display: none; }
}

/* =========================================================
   Team
   ========================================================= */
.team { background: var(--paper-2); }
.team__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(14px, 2.6svh, 28px); }
.job { display: grid; gap: 2px; max-width: 460px; padding: 12px 18px 13px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .5s var(--ease); }
.job:hover { box-shadow: inset 0 0 0 1px var(--blue); transform: translateY(-2px); }
.job__lab { color: var(--wood); }
.job b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.job__perks { font-size: 13.5px; color: var(--muted); }
.team__fig { position: relative; height: clamp(200px, calc(var(--scr-h) - 330px), 470px); border-radius: 4px; overflow: hidden; background: var(--paper); }
.team__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); margin-top: clamp(12px, 2.4svh, 24px); }
.crew li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; padding: clamp(7px, 1.2svh, 11px) 0; border-bottom: 1px solid var(--line); }
.crew .crew__img { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; }
.crew__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.crew__img i { font-style: normal; font-family: var(--serif); font-size: 1.15rem; color: var(--blue); }
.crew__txt { min-width: 0; }
.crew__txt b { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.crew__txt span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
@media (max-width: 1100px) { .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 719px) {
  .team__head { margin-bottom: 10px; }
  .job { padding: 9px 14px 10px; }
  .job b { font-size: 1.12rem; }
  .job__perks { font-size: 12.5px; }
  .team__fig { height: clamp(110px, 17svh, 190px); }
  .crew { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; margin: 12px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); }
  .crew::-webkit-scrollbar { display: none; }
  .crew li { flex: 0 0 62%; scroll-snap-align: start; grid-template-columns: 48px minmax(0, 1fr); padding: 10px 12px; border: 0; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .crew .crew__img { width: 48px; height: 48px; }
}

/* =========================================================
   Rundgang
   ========================================================= */
.tour { background: var(--paper); }
.tour__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(14px, 2.6svh, 28px); }
.htour { position: relative; display: flex; gap: clamp(18px, 3vw, 44px); padding-bottom: 4px; }
.htour::before { content: ''; position: absolute; left: 9px; right: 9px; top: 11px; height: 2px; background: var(--line-2); }
.htour::after { content: ''; position: absolute; left: 9px; top: 11px; height: 2px; width: var(--p, 0%); background: var(--blue); transition: width .7s var(--ease); }
.htour button { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; padding-top: 3px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .3s; white-space: nowrap; }
.htour button i { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-2); transition: box-shadow .4s, background-color .4s, transform .4s var(--ease); }
.htour button.is-past i { box-shadow: inset 0 0 0 2px var(--blue); }
.htour button[aria-selected="true"] { color: var(--ink); }
.htour button[aria-selected="true"] i { background: var(--blue); box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 5px rgba(43, 92, 136, .14); transform: scale(1.1); }
.tour__media { position: relative; height: clamp(240px, calc(var(--scr-h) - 250px), 560px); border-radius: 4px; overflow: hidden; background: var(--paper-2); }
.tour__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: transform, opacity; }
.tour__img.is-on { opacity: 1; }
.tour__k { position: absolute; left: 18px; bottom: 18px; padding: 8px 16px 10px; border-radius: 3px; background: rgba(251, 251, 249, .93); font-family: var(--serif); font-size: 1.45rem; font-style: italic; line-height: 1; }
.tour__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; margin-top: clamp(12px, 2.2svh, 22px); }
.tour__text { max-width: 60ch; min-height: 3.2em; }
.amen { display: flex; flex-wrap: wrap; gap: 8px; }
.amen li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 10px; border-radius: 999px; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; white-space: nowrap; }
.amen svg { width: 17px; height: 17px; color: var(--blue); }
@media (max-width: 719px) {
  .tour__head { margin-bottom: 10px; }
  .htour { width: 100%; justify-content: space-between; gap: 6px; }
  .htour button { font-size: 12.5px; }
  .tour__media { height: clamp(170px, 30svh, 300px); }
  .tour__k { left: 10px; bottom: 10px; font-size: 1.12rem; padding: 6px 12px 8px; }
  .tour__text { min-height: 0; }
  .amen { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .amen::-webkit-scrollbar { display: none; }
}

/* =========================================================
   Kontakt
   ========================================================= */
.contact { position: relative; overflow: hidden; color: #fff; background: var(--night); }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { position: absolute; inset: 0; width: 100%; height: 118%; object-fit: cover; object-position: 30% 30%; }
.contact__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9, 17, 28, .94) 0%, rgba(9, 17, 28, .8) 46%, rgba(9, 17, 28, .62) 100%); }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(28px, 5vw, 96px); align-items: center; }
.contact__addr { font-style: normal; font-size: 18px; line-height: 1.6; margin: clamp(16px, 3svh, 30px) 0 clamp(12px, 2svh, 18px); }
.contact__lines { display: grid; gap: 2px; }
.contact__lines a { display: inline-flex; align-items: center; gap: 12px; padding: 5px 0; font-size: 16px; transition: color .3s; }
.contact__lines a:hover { color: var(--ice); }
.contact__lines svg { width: 20px; height: 20px; color: var(--ice); }
.hours { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 28px; margin-top: clamp(14px, 2.6svh, 26px); padding-top: clamp(12px, 2svh, 18px); border-top: 1px solid var(--line-inv); }
.hours div { display: grid; gap: 2px; }
.hours dt { color: var(--muted-inv); }
.hours dd { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; white-space: nowrap; }
.way { position: relative; padding: clamp(18px, 3svh, 30px) clamp(18px, 2.4vw, 32px); border-radius: 4px; background: rgba(251, 251, 249, .97); color: var(--ink); }
.way::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 4px 4px 0 0; background: var(--blue); }
.way__title { font-family: var(--serif); font-weight: 400; }
.way__rows { display: grid; margin: clamp(10px, 2svh, 16px) 0; border-top: 1px solid var(--line); }
.way__rows li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; padding: clamp(9px, 1.6svh, 14px) 0; border-bottom: 1px solid var(--line); }
.way__rows svg { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.way__rows p { display: grid; gap: 1px; }
.way__rows b { font-weight: 600; font-size: 15px; }
.way__rows span { color: var(--muted); }
.way__cta { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.way__cta .link-arrow { color: var(--muted); font-size: 14px; }
@media (max-width: 899px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .contact__addr { margin: 8px 0 4px; font-size: 15.5px; }
  .contact__lines { display: flex; flex-wrap: wrap; gap: 2px 18px; }
  .contact__lines a { padding: 2px 0; font-size: 15px; }
  .hours { margin-top: 10px; padding-top: 10px; gap: 4px 18px; }
  .hours dd { font-size: 1.1rem; }
  .hours div:nth-child(3) { display: none; }
  .way { padding: 14px 16px; }
}

/* ---------- Footer ---------- */
.foot { background: #0a121d; color: #fff; 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: 24px 40px; flex-wrap: wrap; }
.foot__brand { display: inline-flex; align-items: center; gap: 16px; }
.foot__mark { width: clamp(56px, 6vw, 80px); height: clamp(56px, 6vw, 80px); flex: none; }
.foot__word { display: grid; line-height: 1.15; }
.foot__word small { font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-inv); }
.foot__word b { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 500; }
.foot__slogan { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.08; font-weight: 400; max-width: 22ch; letter-spacing: -.015em; }
.foot__slogan em { font-style: italic; color: var(--ice); }
.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(234, 244, 253, .86); }
.foot__cols a:hover { color: var(--ice); }
.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(13, 23, 36, .93); 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(--ice); color: var(--night); 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: #fff; 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(--ice); box-shadow: 0 0 0 4px rgba(169, 214, 255, .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(19, 32, 46, .78); color: #fff; 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(--ice); }
.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: 400; font-size: 1.3rem; line-height: 1.2; }
.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; }
.is-nudge { animation: nudge .7s var(--ease); }
@keyframes nudge { 0% { transform: scale(1.025); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.no-anim .tc { opacity: 1 !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.85rem, 8vw, 2.3rem); } }

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, .book__head, .week__head, .care__head { margin-bottom: clamp(12px, 2.6svh, 40px); }

/* ---- board fit ---- */
.tafel__top { padding-block: clamp(7px, 1.3svh, 13px); }
.trow__head { padding-block: clamp(5px, 1.4svh, 14px); }

/* ---- short viewports: small laptops, iPhone Safari with toolbars ---- */
@media (min-width: 900px) and (max-height: 800px) {
  .ccard__text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .chip { min-height: 50px; padding-block: 7px; }
  .field { margin-bottom: 8px; }
  .field input, .field select { height: 42px; }
  .desk__note { display: none; }
  .cv li { padding-block: 5px; }
  .crew li { padding-block: 6px; }
}

/* =========================================================
   Type system — one voice
   Newsreader: headlines, figures, board values.
   Jost: text, controls and two label tiers —
   LABEL 600 · .18em (names a block) · CAPTION 500 · .14em (names a value)
   Brand lockups (header, crest, footer) 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.5rem; --h3s: 1.22rem; }
}
body { font-synthesis: none; }
b, strong { font-weight: 600; }

/* LABEL */
.h-label, .tc__lab, .trow__lab, .foot__cols h4, .note__btn, .field > span, .when__k, .desk__lab, .job__lab, .hours dt {
  font-family: var(--sans); font-size: var(--t-lab); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-style: normal;
}
/* CAPTION */
.tafel__date, .ccard__no, .ticket__rows dt, .done__rows dt, .ticket__top time, .hm__day, .fc b, .wk li b {
  font-family: var(--sans); font-size: var(--t-cap); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-style: normal;
}
.fc b { font-weight: 600; color: #f6fbff; }
.wk li b { letter-spacing: .1em; }
/* Headings */
.ccard__name, .form__done b, .way__title { font-size: var(--h3m); line-height: 1.12; letter-spacing: -.01em; }
.ticket__top b, .job b, .doc__fig figcaption b { font-size: var(--h3s); }
/* Text */
.today__lead, .book__lead, .care__lead, .steps__text { font-size: var(--t-lead); }
.ccard__text, .trow__txt, .tour__text, .contact__addr + .contact__lines a, .way__rows span, .nums span, .doc__stats span, .cv span, .hm__tip { font-size: var(--t-body); }
.desk__note, .flow span, .tech__num span, .wiz__sum, .pain p, .crew__txt span { font-size: var(--t-small); }

/* ---------- Phone hero ---------- */
@media (max-width: 719px) {
  .hero__fg { object-position: 50% 50%; }
  .hero__shade { background:
    radial-gradient(95% 34% at 50% var(--crest-y, 36%), rgba(9, 17, 28, .76), rgba(9, 17, 28, .4) 62%, rgba(9, 17, 28, .1) 100%),
    linear-gradient(180deg, rgba(9, 17, 28, .72) 0%, rgba(9, 17, 28, .4) 22%, rgba(9, 17, 28, .32) 42%, rgba(9, 17, 28, .5) 60%, rgba(9, 17, 28, .86) 78%, rgba(9, 17, 28, .97) 100%); }
  .crest { padding: clamp(4px, 1.4svh, 18px) 12px clamp(12px, 2.4svh, 24px); }
  .crest__mark { width: clamp(78px, min(24vw, 13svh), 116px); }
  .crest__club { font-size: 10.5px; letter-spacing: .44em; margin-top: 14px; }
  .crest__name { font-size: clamp(2.3rem, 10.6vw, 3rem); }
  .crest__since { margin-top: 10px; gap: 12px; font-size: 10.5px; letter-spacing: .3em; }
  .crest__since i { width: 26px; }
  .tc { width: auto; margin: 0 10px 10px; display: flex; flex-wrap: wrap; align-items: stretch; }
  .tc > div:not(.tc__info) { border: 0 !important; }
  .tc__f--beh { flex: 1 1 52%; min-width: 0; padding: 13px 6px 6px 12px !important; }
  .tc__f--zeit { flex: 1 1 44%; min-width: 0; padding: 13px 12px 6px 6px !important; }
  .tc__go { flex: 0 0 100%; padding: 6px 12px 12px !important; }
  .tc__lab { margin-bottom: 6px; font-size: 9.5px; }
  .tc__btn { height: 44px; padding: 0 10px; gap: 8px; }
  .tc__btn svg { width: 18px; height: 18px; }
  .tc__val { font-size: 14px; }
  .tc__now { font-size: 1.3rem; }
  .tc__for { font-size: 11px; }
  .tc__cta { --h: 46px; padding: 0 14px 0 16px; font-size: 14.5px; }
  .tc__info { flex: 0 0 100%; padding: 7px 12px; font-size: 12px; }
  .tc__notes { flex-wrap: nowrap; overflow: hidden; gap: 14px; }
  .tc__notes li:nth-child(n+2) { display: none; }
  .tc__more { display: none; }
}
@media (max-width: 719px) and (max-height: 700px) {
  .crest__since { display: none; }
}
@media (min-width: 720px) and (max-width: 899px) {
  .tc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- Phone screens: keep each one above the dock ---------- */
@media (max-width: 719px) {
  .trow--wx { display: none; }
  .book__lead { display: none; }
  .wiz { padding: 12px 14px 14px; }
  .wiz__steps { margin-bottom: 12px; }
  .wiz__steps button { font-size: 13px; gap: 6px; padding-bottom: 8px; }
  .wiz__steps i { width: 22px; height: 22px; font-size: 11.5px; }
  .chips, .wiz .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .chip { min-height: 46px; padding: 6px 10px; }
  .chip b { font-size: 14px; }
  .chip small { font-size: 11.5px; }
  .when { gap: 10px; }
  .when__days .chip { min-height: 44px; }
  .when__opts { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .when__opts .chip { min-height: 40px; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
  .when__opts[aria-label="Tageszeit"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .when__opts[aria-label="Tageszeit"] .chip { grid-template-columns: 1fr; gap: 0; align-items: center; justify-items: center; text-align: center; }
  .form__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .field { margin-bottom: 9px; }
  .field input, .field select { height: 42px; }
  .pain { grid-template-columns: auto minmax(0, 1fr); }
  .pain .btn { grid-column: 1 / -1; }
  .wiz__nav { grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-top: 12px; padding-top: 12px; }
  .wiz__sum { display: none; }
  .wiz__nav .btn { --h: 44px; padding: 0 16px; }
  .wiz__next, .wiz__send { justify-self: end; grid-column: 2; }
  .wiz.is-last .wiz__send { display: inline-flex; }
  .ccard__no { display: none; }
  .ccard__name { margin: 0 0 6px; }
  .ccard__text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .ccard__facts { margin-top: 8px; }
  .ccard__facts li { padding-block: 6px; font-size: 14px; }
  .ccard__cta { padding-top: 12px; }
  .ccard__cta .btn { --h: 44px; }
  .ccard__src { display: none; }
  .doc__stats { margin: 12px 0 8px; padding-bottom: 10px; gap: 14px; }
  .doc__stats b { font-size: 2.5rem; }
  .cv li { grid-template-columns: 44px minmax(0, 1fr); gap: 24px; padding-block: 6px; }
  .cv li::before { left: 56px; }
  .cv li::after { left: 52px; top: calc(6px + .5em); }
  .doc__mini { display: block; width: 84px; height: 105px; flex: none; object-fit: cover; object-position: 50% 15%; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
  .cv b { font-size: 1.05rem; }
  .doc__tags { margin-top: 10px; }
}
@media (max-width: 719px) and (max-height: 780px) {
  :root { --h2s: 1.75rem; }
  .tafel__top { padding-block: 6px; }
  .trow__head { padding-block: 5px 6px; }
  .today .h-label, .book .h-label, .care .h-label, .doc .h-label, .team .h-label, .tour .h-label, .week .h-label { display: none; }
  .chip { min-height: 40px; padding-block: 4px; }
  .wiz__pane[data-pane="1"] .chips { grid-auto-rows: minmax(40px, 1fr); }
  .wiz__steps { margin-bottom: 8px; }
  .ill { height: 19svh; }
  .hm__tip { display: none; }
  .contact__lines li:last-child { display: none; }
  .wiz .field--msg { display: none; }
  .ccard__facts li:nth-child(3) { display: none; }
  .tour__media { height: 24svh; }
  .team__fig { height: 13svh; }
  .job__perks { display: none; }
  .doc__tags { display: none; }
  .hm__c { height: 15px; }
  .nums li { padding-block: 5px; }
  .way__rows li { padding-block: 7px; }
  .hours { display: none; }
}
