/* Ordination Dr. Thomas Neuhauser — demo by VCSLV
   Layers: fonts · tokens · base · header · hero · week · request · services · map · contact · dock/sheets · screens · type system */

@font-face { font-family: 'Source Serif 4'; src: url(../fonts/source-serif-4.woff2) format('woff2'); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url(../fonts/source-serif-4-italic.woff2) format('woff2'); font-weight: 300 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url(../fonts/hanken-grotesk.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --paper: #f4f1eb;
  --paper-2: #ebe6dc;
  --card: #fbfaf6;
  --ink: #262c2c;
  --ink-2: #4b5251;
  --muted: #776f63;
  --taupe: #c3bfb3;
  --taupe-2: #a49d8f;
  --line: rgba(38, 44, 44, .13);
  --line-2: rgba(38, 44, 44, .22);
  --heart: #3d4343;
  --brass: #a3824a;
  --brass-d: #7d6232;
  --brass-l: #c9ad78;
  --live: #3f8a59;
  --dark: #222828;
  --dark-2: #2c3333;
  --dark-line: rgba(244, 241, 235, .14);
  --on-dark: #efebe3;
  --on-dark-2: #b9b3a7;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --hdr-h: 72px;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (max-width: 719px) { :root { --hdr-h: 58px; --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 0; overflow-anchor: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--t-body); line-height: 1.55; font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input { font: inherit; color: inherit; }
b, strong { font-weight: 600; }
em { font-style: italic; }
h1, h2, h3, p, ol, ul, dl, dd, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-inline-size: 0; }
legend { padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.nobr { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--r); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 22px; border-radius: var(--r); font: 600 14.5px/1 var(--sans); letter-spacing: .02em; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .18s var(--ease), background-color .2s, color .2s; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #121616; }
.btn--brass { background: var(--brass); color: #1b1a17; }
.btn--brass:hover { background: var(--brass-l); }
.btn--line { border: 1px solid currentColor; color: var(--ink); }
.btn--line::after { content: ''; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0; transition: opacity .2s; }
.btn--line:hover::after { opacity: .1; }
.btn--light { color: var(--on-dark); }
.btn--back { color: var(--on-dark-2); padding: 0 6px; min-height: 46px; font-weight: 500; }
.btn--back:hover { color: var(--on-dark); }

/* ---------- live dots ---------- */
.now__dot { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--taupe-2); flex: 0 0 auto; }
.now__dot.is-on { background: var(--live); }
.now__dot.is-on::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--live); animation: ping 2.4s ease-out 5; }
.now__dot.is-soon { background: var(--brass); }
.is-off .now__dot::after, .now__dot.is-off::after { animation-play-state: paused; }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hdr-h); display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter); background: rgba(244, 241, 235, .95); border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s, background-color .3s; }
.hdr.is-solid { border-bottom-color: var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.on-dark { background: rgba(34, 40, 40, .96); color: var(--on-dark); border-bottom-color: var(--dark-line); }
.hdr.on-dark .hdr__brand img { filter: none; }
.hdr__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; transition: opacity .35s; }
.hdr__brand img { width: 36px; height: 36px; }
.hdr__name { font: 500 19px/1 var(--serif); letter-spacing: -.005em; white-space: nowrap; }
.hdr.has-crest .hdr__brand { opacity: 0; pointer-events: none; }
.hdr__nav { display: flex; gap: 26px; }
.hdr__nav a { position: relative; font: 500 14px/1 var(--sans); letter-spacing: .02em; text-decoration: none; padding: 8px 0; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__book { min-height: 42px; padding: 0 18px; }
.hdr.on-dark .hdr__book { background: var(--brass); color: #1b1a17; }
.hdr__menu { display: none; align-items: center; gap: 10px; min-height: 44px; font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.hdr__menu i { position: relative; width: 20px; height: 10px; }
.hdr__menu i::before, .hdr__menu i::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s; }
.hdr__menu i::before { top: 0; } .hdr__menu i::after { top: 8.5px; }
.menu-open .hdr__menu i::before { top: 4.25px; transform: rotate(45deg); }
.menu-open .hdr__menu i::after { top: 4.25px; transform: rotate(-45deg); }
.menu-open .hdr { transform: none; background: var(--paper); color: var(--ink); }
.menu-open .hdr__brand { opacity: 1; pointer-events: auto; }
.menu-open .hdr__book { display: none; }
.menu { position: fixed; inset: 0; z-index: 39; background: var(--paper); padding: calc(var(--hdr-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu nav { display: flex; flex-direction: column; }
.menu a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 32px/1.1 var(--serif); text-decoration: none; }
.menu small { font: 600 11px/1 var(--sans); letter-spacing: .16em; color: var(--muted); }
.menu__foot { font-size: 14px; color: var(--muted); }
@media (max-width: 1059px) { .hdr__nav { display: none; } .hdr__menu { display: inline-flex; } }
@media (max-width: 719px) { .hdr__book { display: none; } .hdr__name { font-size: 17px; } .hdr__brand img { width: 32px; height: 32px; } }
@media (max-width: 400px) { .menu-open .hdr__name { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--hdr-h); overflow: hidden; overflow-anchor: none;
  background: radial-gradient(60% 46% at 50% 38%, #fbf9f5 0%, rgba(251, 249, 245, 0) 70%), var(--paper); }
.hero__line { position: absolute; left: 0; top: var(--ly, 40%); height: 1.5px; pointer-events: none; }
.hero__line--l { width: var(--lw, 0px); }
.hero__line--r { left: var(--rx, 100%); right: 0; top: var(--ry, 40%); }
.hero__line i { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(164, 157, 143, 0), var(--taupe-2) 18%, var(--taupe-2)); transform-origin: left center; }
.hero__line--r i { background: linear-gradient(90deg, var(--taupe-2), var(--taupe-2) 82%, rgba(164, 157, 143, 0)); }
.hero__blip { position: absolute; top: -1px; left: 0; width: 120px; height: 3.5px; border-radius: 2px; background: linear-gradient(90deg, rgba(163, 130, 74, 0), var(--brass) 70%, rgba(163, 130, 74, 0)); opacity: 0; will-change: transform; }
.crest { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(6px, 1.4svh, 22px) var(--gutter) clamp(12px, 2.2svh, 26px); }
.crest__box { position: relative; width: clamp(108px, 19.5svh, 204px); height: clamp(108px, 19.5svh, 204px); }
.crest__mark { width: 100%; height: 100%; overflow: visible; }
.crest__cross { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.crest__ecg, .crest__tubeline { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.js .crest__cross, .js .crest__ecg, .js .crest__tubeline { stroke-dashoffset: 1; }
.js .crest__heart { opacity: 0; }
.js .crest__piece { opacity: 0; }
.crest__lab { margin-top: clamp(14px, 2.6svh, 28px); font: 600 var(--t-lab)/1.6 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--muted); padding-left: .42em; }
.crest__name { margin-top: clamp(4px, 1svh, 10px); font: 400 clamp(2.9rem, min(5.4vw, 9.4svh), 5.6rem)/1.04 var(--serif); letter-spacing: -.015em; color: var(--ink); white-space: nowrap; overflow: hidden; padding: 0 .16em .14em; margin-bottom: -.14em; }
.crest__name span { display: inline-block; will-change: transform; }
.crest__sub { margin-top: clamp(10px, 1.8svh, 18px); display: flex; align-items: center; gap: 18px; font: 400 var(--t-lead)/1.4 var(--sans); color: var(--ink-2); }
.crest__sub i { display: block; width: 46px; height: 1px; background: var(--taupe-2); transform-origin: center; }
.js .crest__lab, .js .crest__name, .js .crest__sub, .js .now, .js .hdr { opacity: 0; }

.now { position: relative; width: min(1180px, calc(100% - 2 * var(--gutter))); margin: 0 auto clamp(16px, 3.6svh, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.42fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 50px -30px rgba(38, 44, 44, .35); }
.now__row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; column-gap: 10px; row-gap: 6px; padding: clamp(14px, 2.2svh, 22px) clamp(16px, 1.7vw, 24px); min-width: 0; }
.now__row + .now__row { border-left: 1px solid var(--line); }
.now__dot { align-self: center; }
.now__cap { font: 500 var(--t-cap)/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.now__val { grid-column: 1 / -1; font: 500 clamp(1.18rem, min(1.55vw, 2.9svh), 1.5rem)/1.2 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; }
.now__sub { grid-column: 1 / -1; font-size: var(--t-small); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.now__row--go { grid-template-columns: auto minmax(0, 1fr); }
.now__btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.now__btns .btn { min-height: 44px; padding: 0 18px; }
.now__note { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 10px clamp(16px, 1.7vw, 24px); font-size: var(--t-small); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.now__note b { color: var(--brass-d); font-weight: 600; }

@media (max-width: 899px) {
  .now { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .now__row--go { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); }
}
@media (max-width: 719px) {
  .crest { padding-top: 6px; padding-bottom: 12px; }
  .crest__box { width: clamp(92px, min(30vw, 17svh), 150px); height: clamp(92px, min(30vw, 17svh), 150px); }
  .crest__lab { letter-spacing: .3em; padding-left: .3em; }
  .crest__name { font-size: clamp(2.05rem, 9.2vw, 2.7rem); }
  .crest__sub { gap: 10px; font-size: 14.5px; }
  .crest__sub i { display: none; }
  .now { grid-template-columns: minmax(0, 1fr); margin-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .now__row { grid-template-columns: auto auto minmax(0, 1fr); align-items: baseline; padding: 11px 14px; row-gap: 2px; }
  .now__row + .now__row { border-left: 0; border-top: 1px solid var(--line); }
  .now__row .now__dot { align-self: center; }
  .now__val { grid-column: auto; font-size: 1.12rem; text-align: right; }
  .now__sub { grid-column: 2 / -1; text-align: right; font-size: 13px; }
  .now__row--go .now__val { display: none; }
  .now__row--go { grid-template-columns: auto minmax(0, 1fr); }
  .now__btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .now__btns .btn { padding: 0 10px; font-size: 14px; }
  .now__note { padding: 8px 14px; font-size: 12.5px; }
}

/* ---------- section heads ---------- */
.h-label { font: 600 var(--t-lab)/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.h2 { margin-top: 10px; font: 400 var(--h2s)/1.08 var(--serif); letter-spacing: -.012em; }
.h2 em { font-style: italic; font-weight: 400; color: var(--brass-d); }
.ask .h2 em { color: var(--brass-l); }

/* ---------- week ---------- */
.week { background: var(--paper); }
.week__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 24vw, 320px); grid-template-areas: "head head" "wk sos"; gap: clamp(18px, 3.4svh, 36px) clamp(28px, 4vw, 64px); align-items: start; }
.week__head { grid-area: head; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 32px; }
.week__head .h-label, .week__head .h2 { grid-column: 1; }
.week__lead { grid-column: 2; grid-row: 2; font-size: var(--t-body); color: var(--ink-2); padding-bottom: 6px; }
.wk { grid-area: wk; min-width: 0; }
.wk__bar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.wk__range { font: 500 var(--t-lead)/1.2 var(--serif); min-width: 13ch; }
.wk__nav { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: background-color .2s, opacity .2s; }
.wk__nav:hover { background: rgba(38, 44, 44, .06); }
.wk__nav:disabled { opacity: .3; pointer-events: none; }
.wk__nav i { width: 8px; height: 8px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateX(1.5px) rotate(45deg); }
.wk__nav--next i { transform: translateX(-1.5px) rotate(-135deg); }
.wk__axis { position: relative; height: 18px; margin-left: var(--wk-name); font: 500 11px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.wk__axis span { position: absolute; left: calc(var(--h) / 12 * 100%); transform: translateX(-50%); }
.wk__axis span:last-child { transform: translateX(-100%); }
.wk { --wk-name: clamp(118px, 12vw, 160px); --wk-row: clamp(44px, 6.6svh, 60px); }
.wk__days { border-top: 1px solid var(--line); }
.wk__day { position: relative; display: grid; grid-template-columns: var(--wk-name) minmax(0, 1fr); height: var(--wk-row); border-bottom: 1px solid var(--line); transition: background-color .25s; }
.wk__day.is-pick { background: rgba(163, 130, 74, .11); }
.wk__day.is-pick .wk__name b { color: var(--brass-d); }
.wk__day.is-today .wk__name small::after { content: ' · heute'; color: var(--brass-d); font-weight: 600; }
.wk__name { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; padding-left: 4px; text-align: left; height: 100%; }
.wk__name b { font: 500 16px/1.1 var(--serif); }
.wk__name small { font: 500 12px/1.1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; min-height: 1.1em; }
.wk__day:hover .wk__name b { color: var(--brass-d); }
.wk__track { position: relative; height: 100%; background-image: repeating-linear-gradient(90deg, rgba(38, 44, 44, .07) 0 1px, transparent 1px calc(100% / 12)); }
.wk__o { position: absolute; top: 18%; height: 44%; left: calc((var(--a) - 420) / 720 * 100%); width: calc((var(--b) - var(--a)) / 720 * 100%); background: var(--heart); color: var(--paper); border-radius: 3px; display: flex; align-items: center; justify-content: center; font: 500 12px/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; transform-origin: left center; }
.wk__t { position: absolute; bottom: 12%; height: 13%; min-height: 5px; left: calc((var(--a) - 420) / 720 * 100%); width: calc((var(--b) - var(--a)) / 720 * 100%); background: var(--brass); border-radius: 2px; font-size: 0; color: transparent; overflow: hidden; transform-origin: left center; }
.wk__x { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 14px; font: 500 13px/1 var(--sans); color: var(--muted); letter-spacing: .02em; background: repeating-linear-gradient(-45deg, rgba(38, 44, 44, .05) 0 6px, transparent 6px 12px); }
.wk__day.is-off .wk__o, .wk__day.is-off .wk__t { opacity: .14; }
.wk__now { position: absolute; top: 4px; bottom: 4px; width: 2px; margin-left: -1px; background: var(--brass-d); border-radius: 1px; left: calc((var(--m) - 420) / 720 * 100%); pointer-events: none; }
.wk__now::before { content: ''; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--brass-d); }
.wk__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 12px; font-size: var(--t-small); color: var(--ink-2); }
.wk__key { display: inline-flex; align-items: center; gap: 8px; }
.wk__key::before { content: ''; width: 22px; height: 10px; border-radius: 2px; background: var(--heart); }
.wk__key--t::before { height: 5px; background: var(--brass); }
.wk__key--n::before { width: 2px; height: 14px; background: var(--brass-d); }
.wk__more { color: var(--muted); }
.wk__pick { margin-top: 10px; min-height: 1.55em; font: 500 var(--t-body)/1.55 var(--sans); color: var(--ink); }
.wk__pick b { font-weight: 600; }
.sos { grid-area: sos; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 2.6svh, 26px) 22px; }
.sos__list { margin-top: 12px; }
.sos__list li + li { border-top: 1px solid var(--line); }
.sos__list a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; text-decoration: none; }
.sos__list b { font: 400 clamp(1.7rem, 2.4vw, 2.1rem)/1 var(--serif); min-width: 2.4em; font-variant-numeric: lining-nums; }
.sos__list span { font-size: var(--t-small); color: var(--ink-2); }
.sos__list a:hover b { color: var(--brass-d); }
.sos__link { display: inline-block; margin-top: 10px; font-size: var(--t-small); color: var(--ink-2); text-underline-offset: 3px; }
@media (max-width: 899px) {
  .week__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "wk" "sos"; }
  .week__head { grid-template-columns: minmax(0, 1fr); }
  .week__lead { grid-column: 1; grid-row: auto; padding: 4px 0 0; }
  .sos { display: grid; grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
  .sos__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 6px; }
  .sos__list li + li { border-top: 0; border-left: 1px solid var(--line); padding-left: 12px; }
  .sos__list a { flex-direction: column; gap: 4px; padding: 4px 0; }
  .sos__list b { font-size: 1.5rem; }
  .sos__list span { font-size: 12px; line-height: 1.25; hyphens: manual; overflow-wrap: break-word; }
  .sos__link { margin-top: 6px; font-size: 12.5px; }
}
@media (max-width: 719px) {
  .wk { --wk-name: 64px; --wk-row: 50px; }
  .week__lead { font-size: 14px; }
  .wk__name b { font-size: 0; }
  .wk__day.is-today .wk__name small::after { content: none; }
  .wk__day.is-today .wk__name small { color: var(--brass-d); font-weight: 600; }
  .wk__name b::before { content: attr(data-s); font: 600 15px/1.1 var(--sans); }
  .wk__o { font-size: 10.5px; letter-spacing: -.01em; }
  .wk__o.is-narrow { font-size: 0; }
  .wk__legend { margin-top: 8px; gap: 6px 14px; font-size: 12.5px; }
  .wk__more { display: none; }
  .wk__pick { margin-top: 6px; font-size: 13.5px; line-height: 1.4; min-height: 2.8em; }
  .wk__bar { margin-bottom: 4px; }
  .wk__axis { font-size: 10px; }
}

/* ---------- request (dark) ---------- */
.ask { background: var(--dark); color: var(--on-dark); }
.ask .h-label { color: var(--on-dark-2); }
.ask__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.ask__lead { margin-top: 16px; font-size: var(--t-lead); color: var(--on-dark-2); max-width: 30em; }
.ask__steps { display: flex; gap: 10px; margin-top: clamp(18px, 4svh, 40px); counter-reset: st; }
.ask__steps li { counter-increment: st; flex: 1; padding-top: 12px; border-top: 2px solid var(--dark-line); font: 500 var(--t-cap)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); transition: border-color .35s, color .35s; }
.ask__steps li::before { content: '0' counter(st) '  '; white-space: pre; color: var(--brass-l); }
.ask__steps li.is-on { border-top-color: var(--brass); color: var(--on-dark); }
.req { position: relative; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r); padding: clamp(20px, 3svh, 34px) clamp(20px, 2.4vw, 36px); min-height: clamp(330px, 46svh, 430px); display: flex; flex-direction: column; }
.req__step { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.req__q { font: 400 clamp(1.45rem, min(2vw, 3.6svh), 1.85rem)/1.2 var(--serif); color: var(--on-dark); margin-bottom: 4px; }
.req__q--2 { margin-top: 6px; font-size: clamp(1.15rem, min(1.5vw, 2.8svh), 1.35rem); }
.req__kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kind { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px; text-align: left; padding: clamp(18px, 3svh, 28px) 20px; min-height: clamp(120px, 22svh, 200px); border: 1px solid var(--dark-line); border-radius: var(--r); background: rgba(255, 255, 255, .02); transition: border-color .2s, background-color .2s, transform .18s var(--ease); }
.kind__ic { width: 34px; height: 34px; margin-bottom: auto; fill: none; stroke: var(--brass-l); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kind b { font: 400 clamp(1.7rem, 2.3vw, 2.2rem)/1 var(--serif); }
.kind span { font-size: var(--t-small); color: var(--on-dark-2); line-height: 1.4; }
.kind:hover { border-color: var(--brass-l); background: rgba(201, 173, 120, .07); }
.kind:active { transform: scale(.98); }
.kind[aria-pressed="true"] { border-color: var(--brass); background: rgba(163, 130, 74, .16); }
.req__note, .req__hint { font-size: var(--t-small); color: var(--on-dark-2); }
.req__note { margin-top: auto; }
.req__hint.is-warn { color: #e7c98f; }
.req__warn { font-size: var(--t-small); line-height: 1.5; padding: 10px 14px; border-left: 2px solid var(--brass); background: rgba(163, 130, 74, .12); color: var(--on-dark); border-radius: 0 var(--r) var(--r) 0; }
.req__warn a { color: var(--on-dark); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--col { flex-direction: column; align-items: stretch; }
.chips--days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chip { min-height: 42px; padding: 8px 14px; border: 1px solid var(--dark-line); border-radius: 999px; font: 500 14px/1.2 var(--sans); color: var(--on-dark); transition: border-color .2s, background-color .2s, color .2s; text-align: center; }
.chips--col .chip { border-radius: var(--r); text-align: left; padding: 12px 16px; }
.chips--days .chip { border-radius: var(--r); padding: 6px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; }
.chips--days .chip small { font-size: 11.5px; color: var(--on-dark-2); }
.chip:hover { border-color: var(--brass-l); }
.chip[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: #1b1a17; }
.chip[aria-pressed="true"] small { color: #3a3224; }
.chips--half { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chips--half .chip { border-radius: var(--r); display: flex; flex-direction: column; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; }
.chips--half .chip small { font-size: 12px; color: var(--on-dark-2); }
.chips--half .chip:only-child { grid-column: 1 / -1; }
.req__go { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; }
.req__go .btn--brass { min-width: 150px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font: 500 var(--t-cap)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.field input { height: 46px; padding: 0 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); border-radius: var(--r); font-size: 16px; color: var(--on-dark); transition: border-color .2s; }
.field input::placeholder { color: rgba(239, 235, 227, .35); }
.field input:focus { outline: none; border-color: var(--brass-l); }
.field.is-bad input { border-color: #d39b6a; }
.req__new { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.req__new-l { font-size: var(--t-body); color: var(--on-dark); }
.chips--yn .chip { min-width: 72px; }
.req__done { align-items: stretch; justify-content: center; }
.ticket { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 22px 24px 20px; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .6); }
.ticket::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--r) var(--r) 0 0; background: var(--brass); }
.ticket__lab { font: 600 var(--t-lab)/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ticket__title { font: 400 clamp(1.6rem, 2.2vw, 2rem)/1.1 var(--serif); margin-top: 4px; }
.ticket__rows { margin-top: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 18px; font-size: var(--t-small); border-top: 1px dashed var(--line-2); padding-top: 12px; }
.ticket__rows dt { color: var(--muted); }
.ticket__rows dd { font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ticket__when { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: var(--t-small); color: var(--ink-2); }
.ticket__when b { color: var(--ink); }
.req__demo { font-size: var(--t-small); color: var(--on-dark-2); text-align: center; }
.req__done .btn { align-self: center; }
@media (max-width: 899px) {
  .ask__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
  .ask__steps { display: none; }
  .ask__lead { margin-top: 8px; }
  .req { min-height: 0; }
}
@media (max-width: 719px) {
  .ask__lead { font-size: 14px; }
  .ask.is-busy .ask__lead, .ask.is-busy .ask__head .h-label { display: none; }
  .ticket__title { font-size: 1.4rem; }
  .ticket__rows { margin-top: 10px; padding-top: 9px; gap: 4px 14px; font-size: 13px; }
  .ticket__when { margin-top: 10px; padding-top: 9px; font-size: 13px; }
  .req__done { gap: 8px; }
  .req { padding: 16px 14px; }
  .req__step { gap: 10px; }
  .req__kinds { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .kind { min-height: 0; padding: 14px 16px; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .kind b { font-size: 1.6rem; }
  .kind__ic { display: none; }
  .chips--days { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .chips--days .chip { min-height: 46px; font-size: 13px; }
  .chip { min-height: 40px; padding: 7px 12px; font-size: 13.5px; }
  .chips--col .chip { padding: 10px 12px; }
  .req__warn { font-size: 13px; padding: 8px 10px; }
  .field input { height: 44px; }
  .ticket { padding: 18px 16px 14px; }
}

/* ---------- services ---------- */
.svc { background: var(--paper); }
.svc__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 23vw, 300px); grid-template-areas: "head kassen" "list kassen"; gap: clamp(16px, 3svh, 34px) clamp(28px, 4vw, 64px); align-items: start; }
.svc__head { grid-area: head; }
.svc__list { grid-area: list; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
.svc__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: clamp(14px, 2.5svh, 24px) 0; border-top: 1px solid var(--line); }
.svc__ic { width: clamp(38px, 3.4vw, 46px); height: clamp(38px, 3.4vw, 46px); color: var(--heart); }
.svc__ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.svc__item:nth-child(odd) .svc__ic { color: var(--brass-d); }
.svc__t { font: 400 var(--h3s)/1.2 var(--serif); hyphens: manual; }
.svc__d { margin-top: 4px; font-size: var(--t-small); color: var(--ink-2); line-height: 1.45; }
.kassen { grid-area: kassen; align-self: stretch; display: flex; flex-direction: column; background: var(--heart); color: var(--on-dark); border-radius: var(--r); padding: clamp(20px, 3svh, 30px) 24px; }
.kassen .h-label { color: var(--on-dark-2); }
.kassen__plates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.kassen__plates li { display: grid; place-items: center; height: clamp(54px, 8svh, 72px); border: 1px solid var(--dark-line); border-radius: var(--r); font: 500 clamp(1.15rem, 1.6vw, 1.45rem)/1 var(--serif); letter-spacing: .04em; background: rgba(255, 255, 255, .03); }
.kassen__facts { margin-top: auto; padding-top: 18px; }
.kassen__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--dark-line); font-size: var(--t-small); }
.kassen__facts dt { color: var(--on-dark-2); }
.kassen__facts dd { text-align: right; }
@media (max-width: 899px) {
  .svc__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list" "kassen"; }
  .svc__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kassen { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; }
  .kassen__plates { margin-top: 0; display: flex; gap: 6px; }
  .kassen__plates li { height: 34px; padding: 0 10px; font-size: 1rem; }
  .kassen__facts { margin-top: 0; padding-top: 0; display: none; }
}
@media (max-width: 719px) {
  .svc__list { grid-template-columns: minmax(0, 1fr); }
  .svc__item { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; align-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .svc__item::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
  .svc__item.is-open::after { transform: rotate(-135deg) translateY(-2px); }
  .svc__ic { width: 30px; height: 30px; }
  .svc__t { font-size: 1.12rem; }
  .svc__d { display: none; font-size: 13px; }
  .svc__item.is-open .svc__d { display: block; }
  .kassen .h-label { width: 100%; }
}

/* ---------- map ---------- */
.lage { background: var(--paper-2); }
.lage__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 25vw, 330px); grid-template-areas: "head head" "map side"; gap: clamp(16px, 3svh, 30px) clamp(24px, 3.4vw, 56px); align-items: start; }
.lage__head { grid-area: head; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lage__door { display: flex; gap: 22px; padding-bottom: 6px; }
.lage__door li { display: flex; align-items: center; gap: 8px; font: 500 var(--t-body)/1.2 var(--sans); }
.lage__door svg { width: 22px; height: 22px; fill: none; stroke: var(--brass-d); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map { grid-area: map; min-width: 0; }
.map__box { position: relative; width: min(100%, calc(var(--map-h, 62svh) * 1600 / 894)); aspect-ratio: 1600 / 894; border-radius: var(--r); overflow: hidden; background: #efebe3; box-shadow: inset 0 0 0 1px var(--line); margin-inline: auto; }
.map__img { width: 100%; height: 100%; object-fit: cover; }
.map__routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.map__routes path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: opacity .35s; }
.map__routes .map__case { stroke: #fbfaf7; stroke-width: 7px; }
.map__routes .map__line { stroke: var(--brass-d); stroke-width: 3.5px; }
.map__routes g { opacity: 0; transition: opacity .35s; }
.map__routes g.is-on { opacity: 1; }
.map__routes g.is-peek { opacity: .55; }
.map__home { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.map__home i { width: 18px; height: 18px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(251, 250, 247, .95), 0 4px 14px rgba(0, 0, 0, .25); flex: 0 0 auto; }
.map__home b { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); font: 600 13px/1 var(--sans); background: var(--ink); color: var(--paper); padding: 6px 9px; border-radius: 3px; white-space: nowrap; }
.map__pin { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--card); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink), 0 3px 10px rgba(0, 0, 0, .18); display: grid; place-items: center; font: 600 13px/1 var(--sans); transition: background-color .2s, color .2s, transform .2s var(--ease); }
.map__pin.is-on { background: var(--ink); color: var(--paper); transform: translate(-50%, -50%) scale(1.12); }
.map__src { margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.lage__side { grid-area: side; display: flex; flex-direction: column; gap: 14px; }
.places { border-top: 1px solid var(--line-2); }
.place { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: clamp(12px, 2svh, 16px) 4px; border-bottom: 1px solid var(--line-2); text-align: left; transition: background-color .2s; }
.place:hover { background: rgba(38, 44, 44, .045); }
.place__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--ink); font: 600 12.5px/1 var(--sans); transition: background-color .2s, color .2s; }
.place b { font: 500 var(--t-lead)/1.2 var(--sans); }
.place__t { font: 500 var(--t-lead)/1 var(--serif); white-space: nowrap; font-variant-numeric: lining-nums; }
.place__t small { font: 400 12.5px/1 var(--sans); color: var(--muted); }
.place[aria-pressed="true"] .place__n { background: var(--ink); color: var(--paper); }
.place[aria-pressed="true"] b { color: var(--brass-d); }
.places__info { font-size: var(--t-small); color: var(--ink-2); min-height: 1.5em; }
.lage__side .btn { align-self: flex-start; }
@media (max-width: 899px) {
  .lage__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "map" "side"; gap: 12px; }
  .lage__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lage__door { gap: 16px; padding-bottom: 0; }
  .lage__door li { font-size: 14px; }
  .places { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .place { padding: 9px 2px; gap: 8px; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; }
  .place__n { grid-row: 1 / 3; }
  .place b { font-size: 14px; }
  .place__t { font-size: 14px; }
  .lage__side { gap: 8px; }
  .lage__side { display: grid; grid-template-columns: minmax(0, 1fr); }
  .map__src { display: none; }
}
@media (max-width: 719px) {
  .map__home b { font-size: 11px; padding: 4px 6px; left: 50%; top: auto; bottom: 20px; transform: translateX(-50%); }
  .map__home i { width: 14px; height: 14px; }
  .map__pin { width: 22px; height: 22px; font-size: 11px; }
  .places__info { font-size: 13px; }
  .lage__side .btn { min-height: 42px; }
}

/* ---------- contact ---------- */
.contact { background: var(--paper); display: flex; flex-direction: column; }
.contact__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 88px); align-items: center; }
.contact__name { font-size: clamp(2.3rem, min(4vw, 7svh), 4rem); }
.contact__name em { color: var(--ink); font-style: normal; display: block; }
.contact__fach { margin-top: 12px; font-size: var(--t-lead); color: var(--ink-2); }
.contact__addr { margin-top: 16px; font: 400 var(--t-lead)/1.5 var(--sans); font-style: normal; }
.contact__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.ccard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(14px, 2.4svh, 22px) 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ccard--go { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; background: var(--heart); color: var(--on-dark); border-color: var(--heart); }
.ccard--go .ccard__lab { color: var(--on-dark-2); width: 100%; }
.ccard--go .btn { background: var(--brass); color: #1b1a17; }
.ccard__lab { font: 500 var(--t-cap)/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ccard__val { font: 400 clamp(1.3rem, 1.9vw, 1.7rem)/1.15 var(--serif); font-variant-numeric: lining-nums; }
.ccard__val--mail { font-size: clamp(1.05rem, 1.35vw, 1.25rem); overflow-wrap: anywhere; }
.ccard__sub { display: flex; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--ink-2); }
.foot { margin-top: clamp(16px, 3svh, 32px); border-top: 1px solid var(--line); padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); }
.foot__grid { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot__mark { width: 40px; height: 40px; }
.foot__imp { max-width: 62ch; }
.foot__imp summary { cursor: pointer; font-weight: 600; color: var(--ink-2); list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.foot__imp summary::-webkit-details-marker { display: none; }
.foot__imp summary::after { content: '+'; font-weight: 500; }
.foot__imp[open] summary::after { content: '–'; }
.foot__imp p { margin-top: 6px; line-height: 1.5; overflow-wrap: anywhere; }
.foot__note { margin-left: auto; }
@media (max-width: 899px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: start; }
  .foot__note { margin-left: 0; }
}
@media (max-width: 719px) {
  .contact__name { font-size: 2rem; }
  .contact__fach, .contact__addr { font-size: 15px; margin-top: 8px; }
  .contact__cards { gap: 8px; }
  .ccard { padding: 12px 14px; }
  .ccard__val { font-size: 1.2rem; }
  .ccard__val--mail { font-size: 1.05rem; }
  .ccard--go { display: none; }
  .foot__mark { display: none; }
  .foot__grid { gap: 4px 16px; font-size: 12.5px; }
}

/* ---------- dock, sheet, draft, assistant ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(244, 241, 235, .96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
.dock.is-on { transform: none; }
.dock__go { min-height: 48px; border-radius: var(--r); background: var(--ink); color: var(--paper); font: 600 15px/1 var(--sans); }
.dock__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); font: 600 14px/1 var(--sans); }
.dock__draft { min-height: 48px; padding: 0 10px; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dock__go:active, .dock__tel:active { transform: scale(.97); }
@media (max-width: 899px) { .dock { display: grid; } }
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; background: rgba(20, 24, 24, .42); }
.sheet__in { position: relative; width: 100%; background: var(--paper); border-radius: 12px 12px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
.sheet__state { font: 400 1.6rem/1.2 var(--serif); }
.sheet__sub { font-size: 14px; color: var(--ink-2); }
.sheet__btns { display: grid; gap: 8px; margin-top: 6px; }
.sheet__btns .btn { min-height: 50px; }
.sheet__sos { font-size: 13.5px; color: var(--ink-2); }
.sheet__sos a { font-weight: 600; }
.sheet__x, .draft__x, .asst__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; }
.sheet__x::before, .sheet__x::after, .draft__x::before, .draft__x::after, .asst__x::before, .asst__x::after { content: ''; position: absolute; left: 12px; right: 12px; top: 19.5px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.sheet__x::after, .draft__x::after, .asst__x::after { transform: rotate(-45deg); }
.draft-tab { position: fixed; left: 0; top: 50%; z-index: 35; transform: translateY(-50%); writing-mode: vertical-rl; rotate: 180deg; padding: 14px 7px; background: var(--card); border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--r) var(--r) 0; font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.draft-tab:hover { color: var(--ink); }
.draft { position: fixed; left: 52px; top: 50%; z-index: 58; transform: translateY(-50%); width: min(380px, calc(100vw - 72px)); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 18px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--ink-2); }
.draft__t { font: 500 1.25rem/1.2 var(--serif); color: var(--ink); padding-right: 30px; }
.draft .btn { align-self: flex-start; }
.draft__small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 899px) {
  .draft-tab { display: none; }
  .draft { left: 12px; right: 12px; top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); transform: none; width: auto; }
}
.asst-btn { position: fixed; right: 22px; bottom: var(--ab, 24px); z-index: 44; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .35s, transform .18s var(--ease); font: 600 14px/1 var(--sans); }
.asst-btn.is-on { opacity: 1; }
.asst-btn.is-away { pointer-events: none; }
.asst-btn:active { transform: scale(.96); }
.asst-btn__ic { width: 38px; height: 38px; border-radius: 50%; background: var(--brass); display: grid; place-items: center; color: #1b1a17; }
.asst-btn__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.asst-btn__dot { position: absolute; top: 4px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--brass-l); box-shadow: 0 0 0 2px var(--ink); }
.asst-btn.is-seen .asst-btn__dot { display: none; }
.asst-bubble { position: fixed; right: 22px; bottom: calc(var(--ab, 24px) + 62px); z-index: 44; max-width: 260px; padding: 10px 14px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px 10px 2px 10px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .4); opacity: 0; transition: opacity .4s; pointer-events: none; }
.asst-bubble.is-on { opacity: 1; }
.asst { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: min(420px, calc(100vw - 44px)); height: min(720px, calc(100vh - 44px)); height: min(720px, calc(100svh - 44px)); display: flex; flex-direction: column; background: var(--dark); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); }
.asst__bar { position: relative; display: flex; align-items: center; height: 52px; padding: 0 60px 0 18px; color: var(--on-dark); font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.asst__x { top: 6px; color: var(--on-dark); }
.asst__frame { flex: 1; }
.asst__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 899px) {
  .asst-btn { right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 0 6px; height: 50px; }
  .asst-btn .asst-btn__l { display: none; }
  .asst-btn.is-label .asst-btn__l { display: inline; padding-right: 10px; }
  .asst-bubble { right: 12px; bottom: calc(140px + env(safe-area-inset-bottom)); max-width: min(260px, calc(100vw - 24px)); }
  .asst { inset: 0; width: auto; height: auto; border-radius: 0; }
}

/* ---------- reveals ---------- */
.js .rv { opacity: 0; transform: translateY(22px); }
.no-anim .rv, .is-static .rv { opacity: 1 !important; transform: none !important; }
.no-anim .crest__cross, .no-anim .crest__ecg, .no-anim .crest__tubeline,
.is-static .crest__cross, .is-static .crest__ecg, .is-static .crest__tubeline { stroke-dashoffset: 0 !important; }
.no-anim .crest__heart, .is-static .crest__heart { opacity: 1 !important; }
.no-anim .crest__piece, .is-static .crest__piece,
.no-anim .crest__lab, .no-anim .crest__name, .no-anim .crest__sub, .no-anim .now, .no-anim .hdr,
.is-static .crest__lab, .is-static .crest__name, .is-static .crest__sub, .is-static .now, .is-static .hdr { opacity: 1 !important; }

/* ---------- screens layer ---------- */
: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.6rem);
}
@media (max-width: 899px) { :root { --scr-b: calc(84px + env(safe-area-inset-bottom)); } }
@media (max-width: 719px) { :root { --scr-t: calc(var(--hdr-h) + 14px); --h2s: clamp(1.8rem, 7.8vw, 2.25rem); } }
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; }
  .contact { justify-content: flex-start; }
  .contact { padding-bottom: 0 !important; }
}
@media (max-width: 899px) {
  .contact { min-height: 100vh; min-height: 100svh; padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
}
.map__box { --map-h: calc(var(--scr-h) - 120px); }
@media (max-height: 800px) and (min-width: 900px) {
  :root { --scr-t: calc(var(--hdr-h) + 12px); --scr-b: 16px; --h2s: clamp(1.9rem, min(3vw, 5.2svh), 3rem); }
  .wk { --wk-row: clamp(40px, 6svh, 50px); }
  .svc__item { padding: 11px 0; }
  .req { min-height: 0; }
}

/* ---------- phone compaction ---------- */
@media (max-width: 719px) {
  .hide-s { display: none; }
  .wk { --wk-row: 44px; }
  .wk__nav { width: 36px; height: 36px; }
  .sos { padding: 8px 12px; }
  .sos > .h-label, .sos__link { display: none; }
  .sos__list { margin-top: 0; }
  .sos__list a { gap: 2px; }
  .sos__list b { font-size: 1.3rem; }
  .week__grid { row-gap: 12px; }
}
@media (max-width: 719px) and (max-height: 760px) {
  .wk { --wk-row: 40px; }
  .wk__legend { margin-top: 6px; }
  .wk__pick { min-height: 2.6em; font-size: 13px; }
  .svc__item { padding: 6px 0; }
  .kassen { padding: 8px 12px; }
  .place { padding: 7px 2px; }
  .lage__grid { gap: 10px; }
}

@media (max-width: 719px) and (max-height: 650px) {
  :root { --h2s: 1.62rem; }
  .svc__item { padding: 4px 0; }
  .svc__ic { width: 26px; height: 26px; }
  .wk { --wk-row: 37px; }
  .contact__name { font-size: 1.7rem; }
  .contact__fach, .contact__addr { margin-top: 4px; }
  .ccard { padding: 9px 12px; gap: 3px; }
  .ticket { padding: 14px 14px 10px; }
  .ticket__rows { gap: 3px 12px; }
}

/* ---------- type system (last) ---------- */
:root { --t-lab: 11.5px; --t-cap: 11px; --t-lead: 17px; --t-body: 15px; --t-small: 14px;
  --h3m: clamp(1.6rem, 2.1vw, 1.95rem); --h3s: clamp(1.15rem, min(1.45vw, 2.7svh), 1.4rem); }
@media (max-width: 719px) { :root { --t-lab: 11px; --t-cap: 10.5px; --t-lead: 15px; --t-body: 14.5px; --t-small: 13.5px; --h3s: 1.12rem; } }
.draft p a { color: var(--ink); text-underline-offset: 3px; }
