/* Zahnstudio Rankweil — status demo (VCSLV, 19.11.2026)
   One family, Commissioner with its flair axis fixed at 100 (flared strokes, close to the calligraphy of her logo):
   huge 200 · heading 300 · text 400 · label 500/600. Colours from her logo: copper #EC8424 (the M), slate #1C4C7C
   (its outline) and their deep tones; warm ivory paper. Dark and light screens alternate. */

@font-face { font-family: 'Commissioner'; src: url(../fonts/commissioner.woff2) format('woff2'); font-weight: 200 600; font-style: normal; font-display: swap; }

:root {
  --night: #0F263D; --night-2: #15324F; --night-3: #1B3D60;
  --slate: #1C4C7C; --copper: #EC8424; --copper-d: #A9580E; --copper-l: #F2A55E;
  --ivory: #F6F1E8; --paper: #FBF8F2; --paper-2: #EEE6D8;
  --ink: #132A41; --ink-2: #4B5D70; --line: rgba(19, 42, 65, .16);
  --on: #F4EEE4; --on-2: rgba(244, 238, 228, .72); --on-line: rgba(244, 238, 228, .18);
  --f: 'Commissioner', 'Helvetica Neue', Arial, sans-serif;
  --hdr: 76px;
  --gut: clamp(20px, 5vw, 96px);
  --r: 3px;
  --t-lab: 11.5px; --t-cap: 11px; --t-lead: 17.5px; --t-body: 15.5px; --t-small: 13.5px;
  --h2s: clamp(2.1rem, min(3.3vw, 5.4svh), 3.6rem);
  --h3m: clamp(1.45rem, min(2vw, 3.2svh), 1.95rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 899px) { :root { --hdr: 58px; } }
@media (max-width: 719px) { :root { --t-lab: 11px; --t-cap: 10.5px; --t-lead: 16px; --t-body: 15px; --t-small: 13px; --h2s: clamp(1.9rem, 8.2vw, 2.35rem); --h3m: 1.45rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 0; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 var(--t-body)/1.6 var(--f); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html.is-intro body { background: var(--night); }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
b, strong { font-weight: 600; }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
legend { padding: 0; }
.vh, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; }
:focus-visible { outline: 1.5px solid var(--copper); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }

/* ---------- type roles ---------- */
.mk { font: 600 var(--t-lab)/1.6 var(--f); letter-spacing: .18em; text-transform: uppercase; color: var(--copper-d); }
.is-dark .mk, [data-tone="dark"] .mk { color: var(--copper); }
.h2 { font-weight: 300; font-size: var(--h2s); line-height: 1.08; letter-spacing: -.012em; color: var(--ink); }
[data-tone="dark"] .h2 { color: var(--on); }
.h2 em, h3 em { font-style: normal; color: var(--copper-d); }
[data-tone="dark"] .h2 em { color: var(--copper); }

/* ---------- buttons ---------- */
.k-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 0 1.5em;
  border: 1px solid var(--slate); border-radius: var(--r); background: var(--slate); color: var(--paper); overflow: hidden; isolation: isolate;
  font: 500 14px/1 var(--f); letter-spacing: .06em; text-decoration: none; white-space: nowrap; cursor: pointer;
  -webkit-touch-callout: none; user-select: none; -webkit-tap-highlight-color: transparent; transition: background .3s, border-color .3s, transform .15s; }
.k-btn svg { width: 18px; height: 18px; flex: none; }
.k-btn:hover { background: #235A91; border-color: #235A91; }
.k-btn:active { transform: scale(.97); }
.k-btn--line { background: transparent; color: var(--slate); border-color: currentColor; }
.k-btn--line::after { content: ''; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0; transition: opacity .3s; }
.k-btn--line:hover { background: transparent; border-color: currentColor; }
.k-btn--line:hover::after { opacity: .12; }
[data-tone="dark"] .k-btn--line { color: var(--copper); }
.k-lnk { display: inline-flex; align-items: center; gap: .5em; min-height: 40px; font: 500 14px/1.3 var(--f); letter-spacing: .03em; color: inherit; text-decoration: none;
  border-bottom: 1px solid transparent; -webkit-tap-highlight-color: transparent; transition: color .25s, border-color .25s; }
.k-lnk svg { width: 17px; height: 17px; flex: none; }
.k-lnk:hover { border-bottom-color: currentColor; }

/* ---------- header ---------- */
.kopf { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--hdr); display: flex; align-items: center; gap: clamp(14px, 2vw, 34px);
  padding: 0 var(--gut); color: var(--on); transition: transform .45s var(--ease), background .35s, color .35s, box-shadow .35s; }
.kopf.is-solid { background: rgba(15, 38, 61, .97); box-shadow: 0 1px 0 var(--on-line); }
.kopf.is-light { background: rgba(251, 248, 242, .98); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.kopf.is-up { transform: translateY(-101%); }
.kopf__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.kopf__m { width: 44px; height: 32px; }
.kopf__n { font: 500 13px/1 var(--f); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.kopf__nav { display: flex; gap: clamp(16px, 2vw, 32px); }
.kopf__nav a { font: 400 14.5px/1 var(--f); letter-spacing: .02em; text-decoration: none; padding: 10px 0; opacity: .82; border-bottom: 1px solid transparent; transition: opacity .25s, border-color .25s; }
.kopf__nav a:hover, .kopf__nav a.is-on { opacity: 1; border-bottom-color: var(--copper); }
.kopf__tel { display: inline-flex; align-items: center; gap: 8px; font: 500 14.5px/1 var(--f); letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.kopf__tel svg { width: 17px; height: 17px; color: var(--copper); }
.kopf__tk { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--copper); border-radius: var(--r); color: inherit;
  font: 500 13px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s; }
.kopf__tk:hover { background: var(--copper); color: var(--night); }
.kopf__menu { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.kopf__menu span:not(.vh) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.kopf__menu span:nth-child(1) { top: 17px; } .kopf__menu span:nth-child(2) { top: 26px; }
.kopf.is-menu .kopf__menu span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.kopf.is-menu .kopf__menu span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
.lg-c { fill: var(--copper); }
.kopf.is-light .kopf__m .lg-c { stroke: var(--slate); stroke-width: 22px; paint-order: stroke; }
html.is-intro .kopf, html.is-intro .note-tab { opacity: 0; }
@media (max-width: 1180px) { .kopf__nav { display: none; } .kopf__menu { display: block; } }
@media (max-width: 899px) { .kopf__tel, .kopf__tk { display: none; } .kopf__m { width: 38px; height: 28px; } .kopf__n { font-size: 12px; letter-spacing: .14em; } }

.blatt { position: fixed; z-index: 49; inset: 0; background: var(--night); color: var(--on); padding: calc(var(--hdr) + 24px) var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.blatt[hidden] { display: none; }
.blatt__nav { display: flex; flex-direction: column; }
.blatt__nav a { font: 300 clamp(1.7rem, 7vw, 2.4rem)/1.25 var(--f); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--on-line); }
.blatt__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
.blatt__foot .k-btn { background: var(--copper); border-color: var(--copper); color: var(--night); }

/* =================================================================== 1 · cover */
.por { --ns: clamp(64px, 7.2vw, 156px); --fs1: clamp(18px, 1.6vw, 30px);
  --nt: calc(var(--hdr) + 2.6svh); --nb: calc(var(--nt) + var(--fs1) * 1.5 + var(--ns) * 1.02);
  --aw: clamp(260px, 30vw, 600px); --ax: 30vw; --at: calc(var(--nb) - var(--ns) * .62);
  --fh: min(calc(var(--aw) * 1.28), calc(100svh - var(--at) - var(--aw) * .16));
  position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--night); color: var(--on); overflow-anchor: none; }
.por__bg { position: absolute; inset: 0; background:
  radial-gradient(70% 60% at 42% 62%, rgba(28, 76, 124, .55), rgba(28, 76, 124, 0) 70%),
  radial-gradient(40% 50% at 85% 55%, rgba(236, 132, 36, .07), rgba(236, 132, 36, 0) 70%),
  linear-gradient(180deg, #0C2135 0%, #0F263D 50%, #0E2338 100%); }
.por__arch { position: absolute; z-index: 1; left: var(--ax); width: var(--aw); top: var(--at); bottom: 0; }
.por__light { position: absolute; inset: 0; border-radius: 999px 999px 0 0; background:
  radial-gradient(58% 34% at 52% 30%, rgba(242, 165, 94, .42), rgba(236, 132, 36, .12) 58%, rgba(236, 132, 36, 0) 82%),
  linear-gradient(180deg, #24496E 0%, #1A3C5E 55%, #12304C 100%); }
.por__line { position: absolute; inset: -9px -9px 0; width: calc(100% + 18px); height: calc(100% + 9px); overflow: visible; }
.por__line path { fill: none; stroke: var(--copper); vector-effect: non-scaling-stroke; }
.por__l1 { stroke-width: 1.2; } .por__l2 { stroke-width: .8; opacity: .55; }
.por__name { position: absolute; z-index: 3; left: var(--gut); top: var(--nt); font-weight: 200; pointer-events: none; }
.por__first { display: block; font: 300 var(--fs1)/1.2 var(--f); letter-spacing: .04em; color: var(--copper); margin: 0 0 .3em .05em; }
.por__last { display: block; font: 200 var(--ns)/1 var(--f); letter-spacing: -.02em; white-space: nowrap; color: var(--on); }
.por__w { display: inline-block; }
.por__fig { position: absolute; z-index: 2; bottom: 0; height: var(--fh); width: auto; max-width: none;
  left: calc(var(--ax) + var(--aw) * .5 - var(--fh) * .733 * .5); will-change: transform; user-select: none; -webkit-user-drag: none; }
.por__meta { position: absolute; z-index: 3; left: var(--gut); top: calc(var(--nb) + (100svh - var(--nb)) * .2); width: calc(var(--ax) - var(--gut) - 4vw); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.por__what { font: 500 var(--t-cap)/1.7 var(--f); letter-spacing: .18em; text-transform: uppercase; color: var(--on-2); }
.por__now { display: flex; align-items: center; gap: 10px; font: 400 16px/1.4 var(--f); color: var(--on); }
.por__now i { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5CB57E; }
.por__now i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(92, 181, 126, .45); }
.por__now i.is-closed { background: var(--copper); } .por__now i.is-closed::after { display: none; }
.por__call { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px 0 16px; border: 1px solid var(--on-line); border-radius: var(--r);
  font: 300 22px/1 var(--f); letter-spacing: .02em; text-decoration: none; color: var(--on); transition: border-color .3s, background .3s; }
.por__call svg { width: 20px; height: 20px; color: var(--copper); }
.por__call:hover { border-color: var(--copper); background: rgba(236, 132, 36, .08); }

/* ---------- the Terminkarte ---------- */
.tk { --cw: clamp(340px, 30vw, 520px); position: absolute; z-index: 4; right: var(--gut); top: calc(var(--hdr) + (100svh - var(--hdr)) * .5); width: var(--cw);
  transform: translateY(-50%) rotate(-2deg); color: var(--ink); }
.tk__drop { perspective: 1800px; }
.tk__in { position: relative; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transition: transform 1s var(--ease); }
.tk.is-flip .tk__in { transform: rotateY(180deg); }
.tk__face { position: relative; border-radius: 6px; padding: clamp(18px, 1.6vw, 26px); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(160deg, #FDFBF7 0%, #F7F1E6 60%, #F1E9DB 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 30px 60px -24px rgba(0, 0, 0, .55), 0 10px 24px -12px rgba(0, 0, 0, .35); }
.tk__face::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(169, 88, 14, .28); border-radius: 3px; pointer-events: none; }
.tk__back { position: absolute; inset: 0; transform: rotateY(180deg); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.tk__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.tk__lab { font: 600 var(--t-lab)/1.4 var(--f); letter-spacing: .2em; text-transform: uppercase; color: var(--copper-d); }
.tk__who { font: 300 clamp(1.25rem, 1.5vw, 1.5rem)/1.2 var(--f); color: var(--ink); margin-top: 2px; }
/* the M embossed into the card */
.tk__m { width: 58px; height: 42px; flex: none; margin-top: 2px; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9)) drop-shadow(0 -1px 0 rgba(120, 60, 10, .25)); }
.tk__m .lg-c { fill: var(--copper); }
.tk__row { margin-top: 12px; }
.tk__cap { display: block; font: 500 var(--t-cap)/1.5 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 7px; }
.tk__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tk__chip { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .55);
  font: 400 14px/1 var(--f); color: var(--ink); white-space: nowrap; transition: background .25s, border-color .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.tk__chip small { font-size: 11px; letter-spacing: .06em; color: var(--copper-d); margin-left: 4px; }
.tk__chip:hover { border-color: var(--slate); }
.tk__chip[aria-checked="true"] { background: var(--slate); border-color: var(--slate); color: var(--paper); }
.tk__chip[aria-checked="true"] small { color: var(--copper-l); }
.tk__chip--pain[aria-checked="true"] { background: var(--copper-d); border-color: var(--copper-d); }
.tk__about { margin-top: 8px; min-height: 1.5em; font-size: var(--t-small); line-height: 1.45; color: var(--copper-d); }
.tk__days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.tk__day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 62px; padding: 6px 2px; border: 1px solid var(--line); border-radius: 4px;
  background: rgba(255, 255, 255, .5); transition: background .25s, border-color .25s, color .25s; }
.tk__day b { font: 500 10.5px/1.2 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.tk__day span { font: 300 19px/1.15 var(--f); color: var(--ink); }
.tk__day small { font: 400 11px/1.2 var(--f); color: var(--copper-d); white-space: nowrap; }
.tk__day:hover { border-color: var(--slate); }
.tk__day[aria-checked="true"] { background: var(--slate); border-color: var(--slate); }
.tk__day[aria-checked="true"] b, .tk__day[aria-checked="true"] span { color: var(--paper); }
.tk__day[aria-checked="true"] small { color: var(--copper-l); }
.tk__times { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.tk__time { min-height: 34px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255, 255, 255, .5); font: 400 13.5px/1 var(--f); color: var(--ink); transition: background .25s, border-color .25s; }
.tk__time:hover:not(:disabled) { border-color: var(--slate); }
.tk__time:disabled { background: transparent; color: rgba(19, 42, 65, .32); text-decoration: line-through; text-decoration-color: rgba(169, 88, 14, .6); cursor: default; border-style: dashed; }
.tk__time[aria-checked="true"] { background: var(--copper); border-color: var(--copper); color: var(--night); font-weight: 500; }
.tk__times.is-warn { animation: warn .5s; }
@keyframes warn { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.tk__go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.tk__send { flex: 1 1 auto; }
.tk__hint { flex: 1 1 100%; font-size: 12px; color: var(--ink-2); }
.tk__hint.is-warn { color: var(--copper-d); }
.tk__pain { margin-top: 14px; padding: 16px; border-radius: 4px; background: rgba(169, 88, 14, .07); border: 1px solid rgba(169, 88, 14, .22); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tk__pain[hidden] { display: none; }
.tk__painh { font: 300 1.35rem/1.25 var(--f); }
.tk__painbtn { background: var(--copper-d); border-color: var(--copper-d); font-size: 17px; }
.tk__painbtn:hover { background: #8E4A0B; border-color: #8E4A0B; }
.tk__painnow, .tk__painoff { font-size: var(--t-small); color: var(--ink-2); }
.tk__painoff a { color: var(--slate); }
.tk__body[hidden] { display: none; }
.tk__script { width: 82%; height: auto; margin: 4px 0 2px; }
.tk__sum { font: 300 clamp(1.45rem, 1.9vw, 1.9rem)/1.22 var(--f); color: var(--copper-d); }
.tk__sum span { display: block; }
.tk__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 4px; }
.tk__form .k-btn { grid-column: 1 / -1; }
.tk__form[hidden] { display: none; }
.tk__f input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255, 255, 255, .7); font-size: 16px; }
.tk__f input:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(28, 76, 124, .14); }
.tk__f.is-bad input { border-color: var(--copper-d); }
.tk__done { padding: 12px 14px; border-radius: 4px; background: rgba(28, 76, 124, .07); }
.tk__done[hidden] { display: none; }
.tk__ok { display: flex; align-items: center; gap: 8px; font: 500 16px/1.3 var(--f); color: var(--slate); }
.tk__ok svg { width: 22px; height: 22px; color: #2F8F57; }
.tk__note { margin-top: 4px; font-size: var(--t-small); color: var(--ink-2); }
.tk__acts { display: flex; gap: 18px; flex-wrap: wrap; margin-top: auto; color: var(--slate); }
.tk__fine { font-size: 12px; color: var(--ink-2); }
html.is-intro .tk, html.is-intro .por__meta, html.is-intro .por__name, html.is-intro .por__fig { opacity: 0; }

/* cover on phones: a flow, the figure in the arch on top, the name on its lower edge, then the card */
@media (max-width: 899px) {
  .por { --sh: clamp(250px, 43svh, 420px); --aw: min(64vw, 330px); height: auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr);
    padding: calc(var(--hdr) + 6px) 18px 26px; }
  .por__arch, .por__fig, .por__name { grid-area: 1 / 1; }
  .por__arch { position: relative; left: auto; top: auto; bottom: auto; justify-self: center; width: var(--aw); height: var(--sh); margin-left: 10vw; }
  .por__line { inset: -7px -7px 0; width: calc(100% + 14px); height: calc(100% + 7px); }
  .por__fig { position: relative; left: auto; bottom: auto; justify-self: center; align-self: end; height: calc(var(--sh) - 6px); margin-left: 10vw; }
  .por__name { position: relative; left: auto; top: auto; align-self: end; justify-self: start; margin: 0 0 -2px; padding-top: 30px; }
  .por__name::before { content: ''; position: absolute; z-index: -1; left: -18px; right: -100vw; top: 0; bottom: -10px;
    background: linear-gradient(180deg, rgba(15, 38, 61, 0) 0%, rgba(15, 38, 61, .82) 52%, var(--night) 100%); }
  .por__first { font-size: 17px; }
  .por__last { font-size: min(12.2vw, 62px); line-height: 1.02; }
  .por__meta { position: relative; left: auto; top: auto; width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin-top: 12px; }
  .por__what { flex: 1 1 100%; font-size: 10.5px; letter-spacing: .16em; }
  .por__now { font-size: 14.5px; }
  .por__call { min-height: 42px; padding: 0 14px 0 12px; font-size: 18px; }
  .tk { --cw: auto; position: relative; right: auto; top: auto; width: auto; transform: rotate(-.6deg); margin-top: 14px; }
  .tk__face { padding: 16px; }
  .tk__days { grid-template-columns: repeat(6, minmax(52px, 1fr)); overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
  .tk__days::-webkit-scrollbar { display: none; }
  .tk__times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) and (min-width: 600px) { .por { padding-left: var(--gut); padding-right: var(--gut); } .tk { max-width: 560px; justify-self: center; width: 100%; } .por__meta { max-width: 560px; justify-self: center; width: 100%; } }
@media (max-width: 380px) { .tk__chip { padding: 0 10px; font-size: 13.5px; } }
/* short laptops: the card gets smaller type, not a different layout */
@media (min-width: 900px) and (max-height: 820px) {
  .tk__day { min-height: 54px; } .tk__time { min-height: 30px; } .tk__row { margin-top: 9px; } .tk__chip { min-height: 32px; } .tk__go { margin-top: 12px; } .tk__face { padding: 18px 20px; }
  .tk__head { padding-bottom: 8px; } .tk__cap { margin-bottom: 5px; }
}
@media (min-width: 900px) and (max-width: 1180px) { .por { --ax: 29vw; --aw: 31vw; } .por__meta { width: calc(var(--ax) - var(--gut) - 2vw); } .por__call { font-size: 19px; } }

/* =================================================================== screens layer */
:root { --scr-t: calc(var(--hdr) + clamp(14px, 3.4svh, 46px)); --scr-b: clamp(18px, 3.8svh, 50px); }
main > section:not(.por) { position: relative; padding: var(--scr-t) var(--gut) var(--scr-b); }
@media (min-width: 900px) { main > section:not(.por) { min-height: 100vh; min-height: 100svh; } }
@media (max-width: 899px) { :root { --scr-t: 30px; --scr-b: 30px; } main > section { scroll-margin-top: var(--hdr); } }
[data-tone="light"] { background: var(--ivory); color: var(--ink); }
[data-tone="dark"] { background: var(--night); color: var(--on); }

/* =================================================================== 2 · Werdegang */
.wand { display: grid; grid-template-columns: minmax(0, 31fr) minmax(0, 63fr); gap: clamp(28px, 4.5vw, 90px); align-items: center; }
.wand__text { display: flex; flex-direction: column; gap: clamp(18px, 3svh, 34px); }
.wand__text .h2 { max-width: 12em; }
.wand__big { display: flex; align-items: center; gap: 18px; }
.wand__big b { font: 200 clamp(5rem, min(9vw, 15svh), 9.5rem)/.85 var(--f); letter-spacing: -.04em; color: var(--copper-d); font-variant-numeric: lining-nums; }
.wand__big span { max-width: 9em; font: 500 var(--t-cap)/1.6 var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.wand__said { min-height: 5.2em; padding-left: 18px; border-left: 1px solid var(--copper); font: 400 var(--t-lead)/1.55 var(--f); color: var(--ink); max-width: 26em; }
.wand__wall { --wh: calc(100svh - var(--scr-t) - var(--scr-b)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 24px); height: min(var(--wh), 860px); }
.wand__por { grid-column: 2; grid-row: 1 / span 2; margin: 0; position: relative; border-radius: 2px; background: var(--paper); padding: 10px;
  box-shadow: inset 0 0 0 1px rgba(169, 88, 14, .45), 0 24px 40px -26px rgba(19, 42, 65, .55); }
.wand__por img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.wand__f { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; text-align: left; padding: clamp(14px, 1.4vw, 24px);
  border-radius: 2px; background: var(--paper); color: var(--ink); overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(169, 88, 14, .32), inset 0 0 0 7px var(--paper), inset 0 0 0 8px rgba(169, 88, 14, .18), 0 20px 34px -26px rgba(19, 42, 65, .5);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); -webkit-tap-highlight-color: transparent; }
.wand__f::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: 0; transition: opacity 1.1s ease;
  background: radial-gradient(90% 70% at 50% -10%, rgba(242, 165, 94, .38), rgba(242, 165, 94, .08) 60%, rgba(242, 165, 94, 0) 80%); }
.wand__f.is-lit::before { opacity: 1; }
.wand__f.is-lit { box-shadow: inset 0 0 0 1px rgba(169, 88, 14, .7), inset 0 0 0 7px var(--paper), inset 0 0 0 8px rgba(169, 88, 14, .35), 0 20px 34px -26px rgba(19, 42, 65, .5); }
.wand__f.is-on { transform: scale(1.045); z-index: 2; box-shadow: inset 0 0 0 1px var(--copper-d), inset 0 0 0 7px var(--paper), inset 0 0 0 8px rgba(169, 88, 14, .5), 0 30px 50px -24px rgba(19, 42, 65, .6); }
.wand__y { font: 200 clamp(1.5rem, min(2.1vw, 3.6svh), 2.3rem)/1 var(--f); color: var(--copper-d); letter-spacing: -.01em; }
.wand__t { font: 300 clamp(1.02rem, min(1.25vw, 2.2svh), 1.3rem)/1.25 var(--f); hyphens: auto; }
.wand__p { font: 500 10.5px/1.45 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.wand__f.is-key .wand__y { color: var(--copper); }
.wand__f:hover { box-shadow: inset 0 0 0 1px var(--copper-d), inset 0 0 0 7px var(--paper), inset 0 0 0 8px rgba(169, 88, 14, .35), 0 24px 40px -24px rgba(19, 42, 65, .55); }
.wand__f13 { display: none; }
@media (max-width: 899px) {
  .wand { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .wand__text { gap: 16px; }
  .wand__text .wand__big { display: none; }
  .wand__said { min-height: 4.8em; font-size: 15px; }
  .wand__wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(78px, auto); height: auto; gap: 8px; }
  .wand__por { grid-column: 1; grid-row: 1 / span 2; padding: 7px; }
  .wand__f { padding: 9px 12px; gap: 2px; justify-content: flex-start; }
  .wand__y { font-size: 1.1rem; } .wand__t { font-size: .92rem; line-height: 1.2; } .wand__p { font-size: 9px; letter-spacing: .1em; }
  .wand__f13 { display: flex; background: var(--night); color: var(--on); box-shadow: 0 20px 34px -26px rgba(19, 42, 65, .5); }
  .wand__f13 .wand__y { font-size: 2.3rem; color: var(--copper); }
  .wand__f13 .wand__p { color: var(--on-2); }
  .wand__f.is-on { transform: scale(1.03); }
}

/* =================================================================== 3 · Mundhygiene */
.mh { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 40fr); gap: clamp(28px, 4.5vw, 90px); align-items: center; overflow: hidden; }
.mh::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 30% 52%, rgba(28, 76, 124, .55), rgba(28, 76, 124, 0) 70%); pointer-events: none; }
.mh__stage { position: relative; }
.mh__draw { --dw: min(100%, calc((100svh - var(--scr-t) - var(--scr-b) - 40px) * 680 / 420)); position: relative; width: var(--dw); aspect-ratio: 680 / 420; margin: 0 auto; }
.mh__front { position: absolute; inset: 0; }
.mh__l { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform; }
/* front view: enamel, gum, margin (static layer) */
.mh__lobe { fill: none; stroke: #8C7350; stroke-width: 2.4; stroke-linecap: round; opacity: .09; }
.mh__spec { opacity: .42; }
.mh__cshadow { fill: none; stroke: rgba(92, 48, 40, .2); stroke-width: 3; }
.mh__gum { fill: url(#mhg-gum); }
.mh__mgj { fill: none; stroke: #E8B2AA; stroke-width: 1; opacity: .16; }
.mh__margin { fill: none; stroke: #E2AFA6; stroke-width: 1.3; opacity: .75; }
/* marks: calculus, measured sites, bleeding, the chart row, the zoom cone */
.mh__calc path { fill: #CDB57C; stroke: #A88D57; stroke-width: .5; opacity: .92; }
.mh__pts circle { fill: var(--on); opacity: 0; }
.mh__blood { opacity: 0; } .mh__blood circle { fill: #C3302A; } .mh__blood .mh__bloodhi { fill: #FFB3A8; }
.mh__grid { fill: none; stroke: var(--on-line); stroke-width: 1; }
.mh__fdi { font: 500 10.5px var(--f); letter-spacing: .12em; fill: var(--on-2); text-anchor: middle; }
.mh__n { font: 500 15px var(--f); fill: var(--on); text-anchor: middle; opacity: 0; }
.mh__n.is-bleed { fill: #FF8A73; font-weight: 600; }
.mh__bop { fill: #D23B2E; opacity: 0; }
.mh__advice { font: 400 15px var(--f); fill: var(--on); text-anchor: middle; opacity: 0; }
.mh__cone circle, .mh__cone path { fill: none; stroke: var(--copper); stroke-width: 1; opacity: .7; }
.mh__cone path { opacity: .38; }
/* fx: polish shine, gloss, fluoride film */
.mh__film { opacity: 0; }
.mh__gloss { opacity: 0; }
.mh__filmrim path { fill: none; stroke: #E6F5FF; stroke-width: 1.1; opacity: 0; }
/* tools: an HTML layer moved by transform; every tip sits at its svg's 0,0 */
/* the tool layer always spans front units 0…680 × 0…420, so one mapping serves desktop and phone */
.mh__tool { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.mh__tool svg { position: absolute; left: 0; top: 0; width: 11.8%; height: auto; opacity: 0; overflow: visible; }
.mh__mist path { fill: none; stroke: #D6EEFF; stroke-width: 1.3; stroke-linecap: round; opacity: 0; }
.mh__bristles path { stroke: #EDF2F6; stroke-width: 2.4; stroke-linecap: round; }
.mh__ibbr path { stroke: #9CC0E0; stroke-width: 1.3; stroke-linecap: round; }
/* the lens: tooth 23 in section */
.mh__lensbox { position: absolute; left: 67.63%; top: 21.4%; width: 31.2%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 24px 60px -18px rgba(3, 12, 22, .7); }
.mh__lens { display: block; width: 100%; height: 100%; overflow: visible; }
/* rendered one part per task after load (main.js), so the cover never waits for this drawing */
.mh__draw.w1 .mh__base, .mh__draw.w2 .mh__marks, .mh__draw.w2 .mh__fx, .mh__draw.w3 .mh__lens { display: none; }
html.no-anim .mh__draw .mh__l, html.no-anim .mh__draw .mh__lens { display: block !important; }
.lz-tub { fill: none; stroke: #B79C6E; stroke-width: .6; opacity: .28; }
.lz-odonto { fill: none; stroke: #E9C1AF; stroke-width: 1.2; opacity: .55; }
.lz-dej { fill: none; stroke: #CBB48A; stroke-width: .9; opacity: .7; }
.lz-pdl { fill: none; stroke: #D6A39E; stroke-width: .7; opacity: .6; }
.lz-trab ellipse { fill: #C2AC86; opacity: .55; }
.lz-cort { fill: none; stroke: #BFA982; stroke-width: 1.2; }
.lz-epi { fill: none; stroke: #E6B6AE; stroke-width: 2; opacity: .85; }
.lz-fib { fill: none; stroke: #E9BDB5; stroke-width: .7; opacity: .35; }
.lz-calc { fill: #CDB57C; stroke: #A28650; stroke-width: .6; }
.lz-gloss { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; opacity: 0; }
.lz-fluor { fill: none; stroke: #CDEBFF; stroke-width: 2.6; stroke-linecap: round; opacity: 0; }
.lz-scaler { opacity: 0; }
.lz-mist path { fill: none; stroke: #D6EEFF; stroke-width: 1.2; stroke-linecap: round; opacity: 0; }
.lz-read { opacity: 0; }
.lz-dim { fill: none; stroke: var(--copper); stroke-width: .9; stroke-dasharray: 2 2.6; opacity: .75; }
.lz-brk { fill: none; stroke: var(--copper); stroke-width: 1.3; }
.lz-mm { font: 500 21px var(--f); fill: var(--on); text-anchor: middle; }
.lz-lab { font: 500 8.5px var(--f); letter-spacing: .16em; text-transform: uppercase; fill: var(--on-2); text-anchor: middle; }
.lz-ring { fill: none; stroke: var(--copper); stroke-width: 1.3; }
.lz-ring2 { fill: none; stroke: #fff; stroke-width: .8; opacity: .08; }
.lz-hi { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; opacity: .14; }
.mh__cap { position: absolute; left: 67.63%; width: 31.2%; top: 77%; text-align: center; font: 500 var(--t-cap)/1.3 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--on-2); }
.mh__chart { position: absolute; left: 5.6%; top: 85%; display: flex; align-items: center; gap: 8px; font: 500 var(--t-cap)/1 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--on-2); opacity: 0; transition: opacity .6s; }
.mh__chart.is-on { opacity: 1; }
.mh__bleed { width: 8px; height: 8px; border-radius: 50%; background: #D23B2E; margin-left: 10px; }
.mh__text { position: relative; display: flex; flex-direction: column; gap: clamp(16px, 2.6svh, 28px); }
.mh__steps { position: relative; min-height: calc(var(--h2s) * 2.3 + 6.2em); }
.mh__step { position: absolute; inset: 0 0 auto; opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.mh__step.is-on { position: relative; opacity: 1; visibility: visible; transition: opacity .55s .1s, visibility 0s; }
.mh__step p { margin-top: 14px; font: 400 var(--t-lead)/1.6 var(--f); color: var(--on-2); max-width: 27em; }
.mh__bar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.mh__b { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 0 6px; text-align: left; font: 400 12.5px/1.25 var(--f); letter-spacing: .01em; color: var(--on-2); hyphens: auto;
  -webkit-tap-highlight-color: transparent; transition: color .3s; }
.mh__b i { position: relative; display: block; height: 2px; background: var(--on-line); overflow: hidden; }
.mh__b i::after { content: ''; position: absolute; inset: 0; background: var(--copper); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.mh__b.is-on, .mh__b:hover { color: var(--on); }
.mh__cta { align-self: flex-start; }
@media (max-width: 899px) {
  .mh { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mh__draw { --dw: 100%; aspect-ratio: auto; display: grid; grid-template-columns: minmax(0, 1fr) 35%; column-gap: 12px; align-items: center; }
  .mh__front { position: relative; inset: auto; grid-column: 1 / -1; aspect-ratio: 452 / 236; }
  .mh__lensbox { position: relative; left: auto; top: auto; width: 100%; grid-column: 2; grid-row: 2; margin-top: 4px; }
  .mh__cap { position: relative; left: auto; top: auto; width: auto; grid-column: 1; grid-row: 2; text-align: right; }
  .mh__cone { display: none; }
  .mh__tool { inset: auto; left: 0; top: calc(-112 / 236 * 100%); width: calc(680 / 452 * 100%); height: calc(420 / 236 * 100%); }
  .mh__steps { min-height: 0; }
  .mh__step { position: absolute; }
  .mh__step p { margin-top: 8px; font-size: 15px; line-height: 1.5; }
  .mh__step .h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .mh__bar { gap: 5px; } .mh__b { font-size: 0; gap: 0; padding: 12px 0; } .mh__b i { height: 3px; }
  .mh__text { gap: 10px; }
  .mh__chart { display: none; }
}

/* =================================================================== 4 · Leistungen */
.lei { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 60fr); grid-template-rows: auto 1fr; column-gap: clamp(28px, 4.5vw, 90px); row-gap: clamp(14px, 3svh, 34px); align-content: center; }
.lei__head { grid-column: 1; display: flex; flex-direction: column; gap: 14px; }
.lei__list { grid-column: 1; grid-row: 2; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); align-self: start; }
.lei__list li { border-bottom: 1px solid var(--line); }
.lei__it { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; padding: clamp(7px, 1.25svh, 12px) 0; text-align: left;
  font: 300 clamp(1.1rem, min(1.45vw, 2.6svh), 1.5rem)/1.25 var(--f); color: var(--ink-2); transition: color .3s, padding .4s var(--ease); -webkit-tap-highlight-color: transparent; }
.lei__it small { font: 500 10.5px/1 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--copper-d); white-space: nowrap; }
.lei__it:hover { color: var(--ink); }
.lei__it[aria-selected="true"] { color: var(--ink); padding-left: 14px; box-shadow: inset 2px 0 0 var(--copper); }
.lei__view { grid-column: 2; grid-row: 1 / span 2; position: relative; align-self: center; }
.lei__ph { margin: 0; width: 100%; aspect-ratio: 4 / 3; max-height: calc(100svh - var(--scr-t) - var(--scr-b) - 60px); overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.lei__ph img { width: 100%; height: 100%; object-fit: cover; }
.lei__card { position: absolute; left: clamp(-60px, -3vw, -24px); bottom: clamp(-22px, -2svh, -12px); width: min(410px, 60%); padding: clamp(18px, 2vw, 28px); background: var(--paper); border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(169, 88, 14, .3), 0 26px 50px -26px rgba(19, 42, 65, .5); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.lei__t { font: 300 var(--h3m)/1.15 var(--f); hyphens: auto; }
.lei__p { font-size: var(--t-body); line-height: 1.55; color: var(--ink-2); }
.lei__x { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.lei__x[hidden] { display: none; }
.lei__x li { padding: 5px 10px; border-radius: 999px; background: rgba(236, 132, 36, .12); font: 500 11px/1.2 var(--f); letter-spacing: .06em; color: var(--copper-d); }
.lei__go { margin-top: 4px; min-height: 44px; }
.lei__rail { display: none; }
@media (max-width: 899px) {
  .lei { display: flex; flex-direction: column; gap: 14px; }
  .lei__list, .lei__view { display: none; }
  .lei__rail { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 4px 18px 14px; scrollbar-width: none; }
  .lei__rail::-webkit-scrollbar { display: none; }
  .lei__c { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--paper); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(169, 88, 14, .25), 0 18px 30px -22px rgba(19, 42, 65, .45); overflow: hidden; }
  .lei__c img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .lei__cb { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px 16px; flex: 1; }
  .lei__cb h3 { font: 300 1.3rem/1.15 var(--f); hyphens: auto; }
  .lei__cb p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
  .lei__cb .k-btn { margin-top: auto; min-height: 42px; }
  .lei__cb .lei__x { margin-top: 2px; }
}

/* =================================================================== 5 · Praxis */
.vil { display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 32fr); gap: clamp(28px, 4.5vw, 90px); align-items: center; }
.vil__a { display: flex; flex-direction: column; gap: clamp(16px, 2.6svh, 28px); }
.vil__head { display: flex; flex-direction: column; gap: 12px; }
.vil__lead { font: 400 var(--t-lead)/1.55 var(--f); color: var(--on-2); max-width: 32em; }
.vil__gal { display: grid; grid-template-columns: minmax(0, 1fr) clamp(90px, 9vw, 150px); gap: 12px; }
.vil__big { position: relative; margin: 0; aspect-ratio: 700 / 450; max-height: calc(100svh - var(--scr-t) - var(--scr-b) - 210px); overflow: hidden; border-radius: 2px; background: var(--night-2); }
.vil__big img { width: 100%; height: 100%; object-fit: cover; }
.vil__big figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 14px; background: rgba(15, 38, 61, .86); font: 500 var(--t-cap)/1.3 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--on); }
.vil__thumbs { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 8px; }
.vil__th { position: relative; border-radius: 2px; overflow: hidden; opacity: .55; transition: opacity .3s; outline-offset: 2px; }
.vil__th img { width: 100%; height: 100%; object-fit: cover; }
.vil__th:hover { opacity: .85; }
.vil__th[aria-selected="true"] { opacity: 1; box-shadow: 0 0 0 1.5px var(--copper); cursor: default; }
.vil__side { display: flex; flex-direction: column; gap: clamp(20px, 3.4svh, 36px); }
.vil__team { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.vil__team li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: center; }
.vil__team img { width: 92px; height: 112px; object-fit: cover; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--on-line); }
.vil__team b { display: block; font: 300 1.2rem/1.25 var(--f); }
.vil__team small { display: block; margin-top: 4px; font: 500 var(--t-cap)/1.4 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.vil__cap { font: 500 var(--t-cap)/1.4 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--on-2); margin-bottom: 10px; }
.vil__k { display: flex; flex-wrap: wrap; gap: 8px; }
.vil__k span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--on-line); border-radius: var(--r); font: 400 16px/1 var(--f); letter-spacing: .04em; }
@media (max-width: 899px) {
  .vil { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .vil__gal { grid-template-columns: minmax(0, 1fr); }
  .vil__big { max-height: none; }
  .vil__thumbs { grid-template-rows: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vil__th { aspect-ratio: 700 / 450; }
  .vil__lead { font-size: 15px; }
}

/* =================================================================== 6 · Kontakt */
.kon { display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 58fr); gap: clamp(28px, 4.5vw, 90px); align-items: center; }
.kon__left { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(12px, 2.2svh, 22px); }
.kon__hours { border-collapse: collapse; width: 100%; max-width: 30em; font-size: 15.5px; }
.kon__hours th { width: 1%; white-space: nowrap; padding-top: 9px; padding-bottom: 9px; padding-right: 58px; text-align: left; font-weight: 400; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.kon__hours td { padding-top: 9px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.kon__hours td span { white-space: nowrap; }
.kon__hours td small { margin-left: 8px; font: 500 10.5px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--copper-d); white-space: nowrap; }
.kon__hours tr.is-today th, .kon__hours tr.is-today td { color: var(--ink); font-weight: 500; }
.kon__hours tr.is-today th { position: relative; }
.kon__hours tr.is-today th::after { content: 'heute'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font: 600 9px/1 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--copper-d); }
.kon__more { font-size: var(--t-small); color: var(--ink-2); margin-top: -6px; }
.kon__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.kon__sos { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-small); color: var(--ink-2); max-width: 30em; }
.kon__sos svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--copper-d); }
.kon__sos a { color: var(--slate); }
.kon__map { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.kon__mapin { position: relative; aspect-ratio: 1100 / 700; max-height: calc(100svh - var(--scr-t) - var(--scr-b) - 70px); border-radius: 2px; overflow: hidden; background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line), 0 26px 50px -30px rgba(19, 42, 65, .45); }
.kon__mapin img { width: 100%; height: 100%; object-fit: cover; }
.kon__route { position: absolute; inset: 0; width: 100%; height: 100%; }
.kon__case { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .9; }
.kon__rl { fill: none; stroke: var(--copper); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.kon__st { fill: var(--slate); stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; }
.kon__pin { position: absolute; width: 54px; height: 54px; margin: -54px 0 0 -27px; display: grid; place-items: center; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg);
  background: var(--night); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); }
.kon__pinm { width: 30px; height: 22px; transform: rotate(45deg); }
.kon__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: var(--t-small); color: var(--ink-2); }
.kon__walk { display: inline-flex; align-items: center; gap: 8px; }
.kon__walk svg { width: 18px; height: 18px; color: var(--copper-d); }
.kon__walk b { color: var(--ink); font-weight: 500; }
.kon__cap .k-lnk { color: var(--slate); }
.kon__cap small { margin-left: auto; font-size: 11px; opacity: .7; }
@media (max-width: 899px) {
  .kon { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .kon__hours { font-size: 14.5px; }
  .kon__hours th { padding-right: 50px; }
  .kon__mapin { max-height: none; }
  .kon__cap small { margin-left: 0; }
  main > section:last-of-type { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* =================================================================== footer, note, dock */
.fuss { background: var(--night); color: var(--on-2); padding: clamp(40px, 7svh, 80px) var(--gut) 0; font-size: 13.5px; line-height: 1.65; }
.fuss__logo { width: min(520px, 86%); height: auto; margin-bottom: clamp(26px, 4svh, 40px); }
.fuss__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px clamp(20px, 4vw, 60px); }
.fuss b { display: inline-block; margin-bottom: 4px; font: 500 var(--t-cap)/1.5 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--on); }
.fuss a { color: var(--on); }
.fuss__s { margin-top: 28px; font-size: 12.5px; opacity: .8; }
@media (max-width: 899px) { .fuss__cols { grid-template-columns: minmax(0, 1fr); } .fuss { padding-bottom: 76px; } }

.note-tab { position: fixed; z-index: 45; left: 0; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; padding: 14px 7px; border-radius: 0 4px 4px 0;
  background: var(--paper); color: var(--ink); font: 600 10px/1 var(--f); letter-spacing: .2em; text-transform: uppercase; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.note { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(380px, calc(100vw - 32px)); padding: 22px 22px 18px; background: var(--paper); color: var(--ink); border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; }
.note[hidden] { display: none; }
.note__x { position: absolute; right: 6px; top: 4px; width: 40px; height: 40px; font-size: 24px; line-height: 1; color: var(--ink-2); }
.note__s { font-size: 12px; color: var(--ink-2); }
.note .k-btn svg { width: 15px; height: 15px; }
@media (max-width: 899px) { .note-tab { top: auto; bottom: 120px; transform: rotate(180deg); padding: 12px 6px; } .note { bottom: 84px; } }

.dock { display: none; }
@media (max-width: 899px) {
  .dock { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px;
    background: #10283F; border-radius: 8px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); transform: translateY(160%); transition: transform .45s var(--ease); }
  .dock.is-on { transform: none; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 5px; font: 500 14px/1 var(--f); letter-spacing: .04em; text-decoration: none; color: var(--on); }
  .dock a:last-child { background: var(--copper); color: var(--night); }
  .dock svg { width: 18px; height: 18px; }
}

/* card nudge (a button that points at the card) */
.tk.is-nudge .tk__face { animation: nudge .9s var(--ease); }
@keyframes nudge { 0% { box-shadow: 0 0 0 0 rgba(236, 132, 36, .0), 0 30px 60px -24px rgba(0, 0, 0, .55); } 30% { box-shadow: 0 0 0 6px rgba(236, 132, 36, .55), 0 30px 60px -24px rgba(0, 0, 0, .55); } 100% { box-shadow: 0 0 0 0 rgba(236, 132, 36, 0), 0 30px 60px -24px rgba(0, 0, 0, .55); } }

/* reduced motion / no scripts */
html.no-anim .tk, html.no-anim .por__meta, html.no-anim .por__name, html.no-anim .por__fig, html.no-anim .kopf, html.no-anim .note-tab { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01s !important; } }

/* VCSLV credit — one quiet line under the footer (templates/credit) */
.vc-credit-row { margin-top: clamp(28px, 4vw, 44px); padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  display: flex; justify-content: center; grid-column: 1 / -1; flex: 0 0 100%; width: 100%; box-sizing: border-box; }
.vc-credit { --vc-dot: #D2664A; display: inline-flex; align-items: center; gap: .7em; min-height: 44px; padding: 0 6px; color: inherit; text-decoration: none; font-size: 12px; line-height: 1; letter-spacing: .04em; opacity: .72; transition: opacity .4s ease; }
.vc-credit--light { --vc-dot: #A8452F; }
.vc-credit__mark { display: block; height: .92em; width: auto; overflow: visible; }
.vc-credit__dot { fill: var(--vc-dot); transform-box: fill-box; transform-origin: center; transition: transform .8s cubic-bezier(.2, .9, .25, 1.35) .15s, filter .4s ease; }
.vc-credit__line { padding-left: .7em; border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.vc-credit.is-arm .vc-credit__dot { transform: scale(0); }
.vc-credit.is-arm.is-in .vc-credit__dot { transform: scale(1); }
.vc-credit:hover, .vc-credit:focus-visible { opacity: 1; }
.vc-credit:hover .vc-credit__dot, .vc-credit:focus-visible .vc-credit__dot { filter: drop-shadow(0 0 5px color-mix(in srgb, var(--vc-dot) 80%, transparent)); }
.vc-credit:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 520px) { .vc-credit { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding: 10px 6px; } .vc-credit__line { flex-basis: 100%; text-align: center; padding-left: 0; border-left: 0; } }
@media (prefers-reduced-motion: reduce) { .vc-credit.is-arm .vc-credit__dot { transform: none; transition: none; } }
