/* Bewegungsraum – Praxis für Physiotherapie (fiktive Beispielpraxis)
   Onepager-Demo · XhaoLab · Paketstufe "Basic Static Website" */

@font-face {
  font-family: 'BR Serif';
  src: url('../solaris/schrift/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxC9TeA.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'BR Sans';
  src: url('../solaris/schrift/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Bewegungsumfang im Hero: ein Wert treibt Arm, Bogen und Gradzahl */
@property --a { syntax: '<number>'; inherits: true; initial-value: 178; }
@property --n { syntax: '<integer>'; inherits: true; initial-value: 178; }

:root {
  --paper: #F7F2EA;
  --paper-2: #EFE7DA;
  --card: #FFFCF7;
  --sand-200: #E9DFCF;
  --sand-300: #DCCDB5;
  --sage-100: #E6ECE1;
  --sage-200: #D3DECB;
  --sage-300: #B7C7AD;
  --sage-500: #7D9473;
  --sage-700: #4E6446;
  --forest: #1F2D25;
  --forest-2: #2B3D32;
  --ink: #1F2D25;
  --muted: #59645A;
  --line: rgba(31, 45, 37, .12);
  --line-2: rgba(31, 45, 37, .2);
  --clay: #B4572F;
  --clay-d: #9A4524;
  --clay-300: #E7A585;
  --clay-100: #F6DDCD;
  --open: #3F8F5A;
  --soon: #D08A2E;
  --closed: #9AA096;
  --serif: 'BR Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'BR Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --hd-h: 4.75rem;
  --r-lg: 1.75rem;
  --r-md: 1.25rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-1: 0 1px 2px rgba(31, 45, 37, .05), 0 8px 24px -12px rgba(31, 45, 37, .18);
  --shadow-2: 0 2px 6px rgba(31, 45, 37, .06), 0 24px 60px -24px rgba(31, 45, 37, .35);
  --mbar-h: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 1rem); }
html.pre body { opacity: 0; animation: failsafe 0s linear 1.6s forwards; }
@keyframes failsafe { to { opacity: 1; } }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: opacity .35s ease;
}
::selection { background: var(--clay-100); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: .5rem; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--forest); color: var(--paper); padding: .75rem 1.1rem; border-radius: .75rem;
  text-decoration: none; font-weight: 600; transition: top .2s ease;
}
.skip:focus { top: 1rem; }

.wrap { width: min(75rem, 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- Typo ---------- */
.h1, .h2, .h3, .h4, .brand-name, .ft-word, .ad-v, .hs-t, .done-t {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -.02em;
}
.h1 { font-size: clamp(3rem, 1.1rem + 5.4vw, 5.9rem); line-height: .98; letter-spacing: -.035em; font-weight: 380; }
.h2 { font-size: clamp(2.1rem, 1.3rem + 2.5vw, 3.5rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-size: clamp(1.45rem, 1.2rem + .6vw, 1.75rem); line-height: 1.15; font-weight: 450; }
.h4 { font-size: 1.3rem; line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--muted); line-height: 1.6; max-width: 36rem; text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-700);
}
.eb-n {
  font-family: var(--serif); font-size: .95rem; letter-spacing: 0; font-weight: 500;
  color: var(--clay-d); padding-right: .7rem; border-right: 1px solid var(--line-2); line-height: 1;
}
.eb-line { width: 1.75rem; height: 2px; border-radius: 2px; background: var(--clay); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 3rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--bh); padding: 0 1.35rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .3s ease, transform .3s var(--ease);
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn-sm { --bh: 2.6rem; padding: 0 1.05rem; font-size: .92rem; }
.btn-lg { --bh: 3.6rem; padding: 0 .55rem 0 1.6rem; font-size: 1.02rem; }
.btn-lg:not(:has(.btn-ic)) { padding: 0 1.5rem; }
.btn-clay { background: var(--clay); color: #FFFCF7; box-shadow: 0 10px 24px -12px rgba(180, 87, 47, .75); }
.btn-clay:hover { background: var(--clay-d); transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(154, 69, 36, .85); }
.btn-ghost { background: rgba(255, 252, 247, .6); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card); border-color: var(--forest); }
.btn-ic {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: rgba(255, 252, 247, .16); overflow: hidden;
}
.btn-ic svg { transition: transform .45s var(--ease); }
.btn:hover .btn-ic svg { transform: translateX(3px); }
.ico-arrow { transition: transform .4s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn .ico { width: 1.25rem; height: 1.25rem; }

/* ---------- Status dot ---------- */
.dot { position: relative; display: inline-block; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: var(--closed); }
[data-state="open"] .dot { background: var(--open); }
[data-state="soon"] .dot { background: var(--soon); }
[data-state="open"] .dot::after, [data-state="soon"] .dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
.dot-lg { width: .85rem; height: .85rem; margin-top: .55rem; }

/* ---------- Header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd-h); transition: background-color .35s ease, box-shadow .35s ease, height .35s var(--ease); }
.hd::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(247, 242, 234, .86); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line); transition: opacity .35s ease;
}
.hd.is-scrolled::before, .hd.is-open::before { opacity: 1; }
.hd.is-scrolled { --hd-h: 4.1rem; }
.hd-in { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; border-radius: .75rem; }
.brand-mark { width: 2.5rem; height: 2.5rem; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-txt { display: grid; line-height: 1.1; }
.brand-name { font-size: 1.32rem; font-weight: 500; letter-spacing: -.02em; }
.brand-sub { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .15rem; }
.nav { display: flex; gap: .25rem; }
.nav a {
  position: relative; padding: .55rem .85rem; border-radius: 999px; text-decoration: none;
  font-size: .95rem; font-weight: 550; color: var(--ink); transition: background-color .25s ease;
}
.nav a:hover { background: rgba(31, 45, 37, .06); }
.nav a[aria-current="true"] { background: var(--forest); color: var(--paper); }
.hd-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.st-pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .9rem; border-radius: 999px;
  background: rgba(255, 252, 247, .7); border: 1px solid var(--line); text-decoration: none;
  font-size: .85rem; font-weight: 600; white-space: nowrap; transition: border-color .25s ease, background-color .25s ease;
}
.st-pill:hover { border-color: var(--line-2); background: var(--card); }
.menu-btn {
  display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(255, 252, 247, .7); position: relative;
}
.menu-btn span { position: absolute; left: 50%; width: 1.1rem; height: 2px; border-radius: 2px; background: var(--forest); transition: transform .35s var(--ease), top .35s var(--ease); transform: translateX(-50%); }
.menu-btn span:first-child { top: calc(50% - 4px); }
.menu-btn span:last-child { top: calc(50% + 3px); }
.menu-btn[aria-expanded="true"] span:first-child { top: calc(50% - 1px); transform: translateX(-50%) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: calc(50% - 1px); transform: translateX(-50%) rotate(-45deg); }
.menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(31, 45, 37, .4);
  clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease); visibility: hidden;
}
.hd.is-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-in { display: grid; padding: .5rem 0 1.25rem; }
.menu-in a {
  display: flex; align-items: baseline; gap: 1rem; padding: .95rem 0; text-decoration: none;
  font-family: var(--serif); font-size: 1.6rem; letter-spacing: -.02em; border-bottom: 1px solid var(--line);
}
.mn-n { font-family: var(--sans); font-size: .78rem; font-weight: 600; color: var(--clay); letter-spacing: .08em; }
.menu-status { display: flex; align-items: center; gap: .6rem; padding-top: 1.1rem; font-size: .95rem; font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(40rem, 100svh, 58rem);
  display: grid; align-items: center;
  padding: calc(var(--hd-h) + 2rem) 0 3.5rem;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42rem 30rem at 82% 30%, rgba(183, 199, 173, .5), transparent 70%),
    radial-gradient(36rem 26rem at 8% 92%, rgba(231, 165, 133, .26), transparent 70%),
    radial-gradient(30rem 22rem at 30% 10%, rgba(255, 252, 247, .9), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-eyebrow { margin-bottom: 1.6rem; }
.h1-row { display: block; }
.h1-em { position: relative; display: inline-block; color: var(--sage-700); }
.swoosh { position: absolute; left: .02em; right: .06em; bottom: -.12em; width: calc(100% - .08em); height: .26em; overflow: visible; }
.swoosh path { stroke-dasharray: 100; stroke-dashoffset: 0; }
.hero-lead { margin-top: 1.75rem; max-width: 33rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 40rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 550; color: var(--forest-2); }
.hero-facts .ico { width: 1.3rem; height: 1.3rem; color: var(--sage-700); }

.hero-art {
  position: relative; justify-self: center; width: min(100%, 27.5rem);
  --a: 178; --n: 178;
}
.art-svg { width: 100%; height: auto; aspect-ratio: 460 / 600; filter: drop-shadow(0 30px 50px rgba(31, 45, 37, .16)); }
.arm { transform: translate(236px, 226px) rotate(calc(var(--a) * -1deg)); }
.g-arc { stroke-dasharray: 180 180; stroke-dashoffset: calc((180 - var(--a)) * 1px); }
.deg { counter-reset: n var(--n); }
.deg::before { content: counter(n); }

.badge-ring { position: absolute; top: -1.4rem; right: -2.6rem; width: 7.25rem; height: 7.25rem; filter: drop-shadow(0 14px 24px rgba(31, 45, 37, .25)); }
.badge-ring svg { width: 100%; height: 100%; }
.badge-ring text { font-family: var(--sans); font-weight: 650; }
.ring-rot { transform-box: view-box; transform-origin: 60px 60px; }

.art-card {
  position: absolute; display: grid; text-decoration: none;
  background: rgba(255, 252, 247, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 1.1rem; box-shadow: var(--shadow-2);
}
.art-deg { right: -2.25rem; bottom: 4.25rem; padding: .85rem 1.1rem .9rem; min-width: 10.5rem; }
.ad-k { font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ad-v { font-size: 2.6rem; line-height: 1; margin-top: .3rem; color: var(--forest); font-variant-numeric: tabular-nums; display: flex; align-items: flex-start; }
.ad-u { color: var(--clay); }
.ad-s { font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.art-status { left: -2.25rem; bottom: 1.1rem; grid-template-columns: auto 1fr; align-items: center; gap: .8rem; padding: .9rem 1.2rem .9rem 1rem; transition: transform .35s var(--ease); }
.art-status:hover { transform: translateY(-2px); }
.as-txt { display: grid; line-height: 1.25; }
.as-txt .st-t { font-weight: 650; font-size: .98rem; }
.as-txt .st-d { font-size: .84rem; color: var(--muted); }

/* Ladechoreografie (nur einmal, nie pausiert) */
.ready:not(.no-motion) .ld { animation: rise 1s var(--ease) backwards; }
.ready:not(.no-motion) .ld-1 { animation-delay: .05s; }
.ready:not(.no-motion) .ld-2 { animation-delay: .14s; }
.ready:not(.no-motion) .ld-3 { animation-delay: .24s; }
.ready:not(.no-motion) .ld-4 { animation-delay: .36s; }
.ready:not(.no-motion) .ld-5 { animation-delay: .46s; }
.ready:not(.no-motion) .ld-6 { animation-delay: .56s; }
.ready:not(.no-motion) .art-svg { animation: artIn 1.3s var(--ease) .15s backwards; }
.ready:not(.no-motion) .badge-ring { animation: pop .9s cubic-bezier(.34, 1.56, .64, 1) .8s backwards; }
.ready:not(.no-motion) .art-deg { animation: rise .9s var(--ease) 1s backwards; }
.ready:not(.no-motion) .art-status { animation: rise .9s var(--ease) 1.15s backwards; }
.ready:not(.no-motion) .swoosh path { animation: draw 1.1s var(--ease) .75s backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(1.4rem); } to { opacity: 1; transform: none; } }
@keyframes artIn { from { opacity: 0; transform: translateY(2rem) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* Endlos-Animationen: laufen nur im Zustand "play" */
.ready:not(.no-motion) .hero-art { animation: rom 7.5s cubic-bezier(.65, 0, .35, 1) 1.4s infinite both; }
.ready:not(.no-motion) .ring-rot { animation: spin 28s linear infinite; }
.ready:not(.no-motion) .pin-pulse { animation: pinp 2.4s ease-out infinite; }
@keyframes rom {
  0%, 10% { --a: 0; --n: 0; }
  44%, 64% { --a: 178; --n: 178; }
  94%, 100% { --a: 0; --n: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pinp { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }
.is-paused .hero-art, .is-paused .ring-rot, .is-paused .pin-pulse, .is-paused .dot::after,
.hero-off .hero-art, .hero-off .ring-rot, .map-off .pin-pulse { animation-play-state: paused !important; }
.is-paused .dot::after { animation: none !important; }

/* ---------- Sektionen ---------- */
.sec { position: relative; padding: clamp(3.5rem, 5.2vw, 4.75rem) 0; }
.sec-tint { background: linear-gradient(180deg, var(--paper-2), #E9E6DA 100%); }
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(1.75rem, 3.2vw, 2.5rem); }
.sec-head.split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.sec-head.split .eyebrow { grid-column: 1 / -1; }
.sec-head.split .lead { margin: 0; justify-self: end; max-width: 30rem; }
.sec-head .lead { margin-top: .25rem; }

/* ---------- Leistungen ---------- */
.filter { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem 1.25rem; margin-bottom: 1.75rem; }
.flt-label { font-weight: 650; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 1px solid var(--line-2); background: rgba(255, 252, 247, .65); color: var(--ink);
  border-radius: 999px; padding: .55rem 1rem; font-size: .92rem; font-weight: 550; line-height: 1.2;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease);
}
.chip:hover { border-color: var(--forest); background: var(--card); }
.chip:active { transform: scale(.96); }
.chip.is-on { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.flt-count { font-size: .9rem; color: var(--muted); white-space: nowrap; }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: .75rem;
  padding: 1.4rem 1.5rem 1.2rem; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: box-shadow .4s ease, border-color .4s ease, opacity .45s ease, background-color .4s ease;
}
.svc:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); }
/* Filter: nicht passende Karten treten zurück, bleiben aber lesbar (Text >= 4,5:1) und bedienbar */
.svc.is-dim { background: transparent; border-style: dashed; border-color: var(--line-2); box-shadow: none; }
.svc.is-dim .h3 { color: var(--muted); }
.svc.is-dim .svc-ic { background: var(--paper-2); color: var(--muted); }
.svc.is-dim .tags li { background: var(--paper-2); color: var(--muted); }
.svc.is-dim .svc-dur { background: transparent; }
.svc.is-hit { border-color: rgba(78, 100, 70, .5); box-shadow: var(--shadow-2); }
.svc.is-hit .svc-ic { background: var(--sage-700); color: #FFFCF7; }
.svc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .2rem; }
.svc-ic {
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 1.1rem;
  background: var(--sage-100); color: var(--sage-700); transition: transform .5s var(--ease), background-color .4s ease;
}
.svc-ic svg { width: 1.9rem; height: 1.9rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc-ic { transform: rotate(-6deg) scale(1.05); background: var(--clay-100); color: var(--clay-d); }
.svc-dur { font-size: .82rem; font-weight: 600; color: var(--muted); background: var(--paper); border: 1px solid var(--line); padding: .3rem .65rem; border-radius: 999px; }
.svc p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line-2); }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tags li { font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--sage-100); color: var(--sage-700); white-space: nowrap; transition: background-color .4s ease, color .4s ease; }
.svc-cta {
  display: inline-flex; align-items: center; gap: .35rem; border: 0; background: none; padding: .45rem 0;
  font-weight: 650; font-size: .9rem; color: var(--clay-d); white-space: nowrap; border-radius: .5rem;
}
.svc-cta svg { width: 1rem; height: 1rem; transition: transform .4s var(--ease); }
.svc-cta:hover svg { transform: translateX(3px); }
.svc-cta:hover span { text-decoration: underline; text-underline-offset: .2em; }
.svc-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin-top: 1.4rem; font-size: .93rem; color: var(--muted); }
.svc-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.svc-facts svg { width: 1.1rem; height: 1.1rem; flex: none; padding: .15rem; border-radius: 50%; background: var(--sage-100); color: var(--sage-700); box-sizing: content-box; }

/* ---------- Dunkle Sektion (Team) ---------- */
.sec-dark { background: var(--forest); color: var(--paper); overflow: hidden; isolation: isolate; }
.sec-dark::before {
  content: ""; position: absolute; z-index: -1; right: -10rem; top: -14rem; width: 34rem; height: 34rem; border-radius: 50%;
  border: 1px solid rgba(233, 223, 207, .1); box-shadow: 0 0 0 4rem rgba(233, 223, 207, .025), 0 0 0 8rem rgba(233, 223, 207, .02);
}
.sec-dark .lead { color: #BAC5B6; }
.eyebrow-inv { color: var(--sage-300); }
.eyebrow-inv .eb-n { color: var(--clay-300); border-color: rgba(233, 223, 207, .25); }
.sec-dark .mate-role { color: #BAC5B6; }
.sec-dark .tags li { background: rgba(233, 223, 207, .1); color: #DCE3D7; }
.sec-dark .mate-frame::before { border-color: rgba(31, 45, 37, .1); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.mate { display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; align-content: start; }
.mate-frame {
  position: relative; aspect-ratio: 240 / 260; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .5), transparent 60%), var(--bg, var(--sage-200));
  margin-bottom: .9rem; isolation: isolate;
}
.mate-frame::before {
  content: ""; position: absolute; inset: 10% 14% -20%; border-radius: 999px 999px 0 0; z-index: -1;
  border: 1.5px solid rgba(31, 45, 37, .08);
}
.av { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; transition: transform .7s var(--ease); }
.av-h, .av-hb { transform-box: view-box; transform-origin: 120px 168px; transition: transform .7s var(--ease); }
.mate:hover .av-h, .mate:hover .av-hb { transform: rotate(-5deg); }
.mate:hover .av { transform: translateY(-4px); }
.mate-more {
  position: absolute; right: .8rem; bottom: .8rem; z-index: 3; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 0; background: var(--card); box-shadow: 0 6px 16px -6px rgba(31, 45, 37, .45); display: grid; place-items: center;
  transition: transform .45s var(--ease), background-color .3s ease;
}
.mate-more span { position: relative; display: block; } .mate-more span, .mate-more span::before { width: .95rem; height: 2px; border-radius: 2px; background: var(--forest); transition: transform .45s var(--ease), background-color .3s ease; }
.mate-more span::before { content: ""; position: absolute; left: 0; top: 0; transform: rotate(90deg); }
.mate-more:hover { transform: scale(1.08); }
.mate-more[aria-expanded="true"] { transform: rotate(135deg); background: var(--clay); }
.mate-more[aria-expanded="true"] span, .mate-more[aria-expanded="true"] span::before { background: #FFFCF7; }
.mate-panel {
  position: absolute; inset: 0; z-index: 2; display: grid; align-content: end; gap: .55rem;
  padding: 1.4rem 1.25rem 4rem; background: rgba(31, 45, 37, .94); color: var(--paper);
  opacity: 0; transform: translateY(8%); transition: opacity .4s ease, transform .5s var(--ease); pointer-events: none;
}
.mate-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mp-k { font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-300); }
.mp-q { font-family: var(--serif); font-size: 1.12rem; line-height: 1.32; letter-spacing: -.01em; }
.mp-l { font-size: .82rem; color: #BAC5B6; }
.mate-name { font-size: 1.32rem; }
.mate-role { font-size: .92rem; color: var(--muted); }
.tags-sm { margin-top: .5rem; }

/* ---------- Besuch ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.25rem; align-items: stretch; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.hours { padding: 1.75rem; display: flex; flex-direction: column; }
.hours-head { display: flex; justify-content: space-between; align-items: center; }
.live { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-700); background: var(--sage-100); padding: .3rem .6rem; border-radius: 999px; }
.live-dot { width: .4rem; height: .4rem; border-radius: 50%; background: var(--open); }
.hours-state { display: flex; gap: .85rem; margin-top: 1.4rem; }
.hs-t { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); line-height: 1.1; }
.hs-d { color: var(--muted); margin-top: .25rem; font-size: 1rem; }
.tl { margin-top: 1.5rem; }
.tl-track { position: relative; height: .7rem; border-radius: 999px; background: var(--paper-2); }
.tl-open { position: absolute; top: 0; bottom: 0; left: calc(var(--s, 0) * 100%); width: calc((var(--e, 0) - var(--s, 0)) * 100%); border-radius: 999px; background: linear-gradient(90deg, var(--sage-300), var(--sage-500)); transition: left .6s var(--ease), width .6s var(--ease); }
.tl-now { position: absolute; top: -.4rem; bottom: -.4rem; left: calc(var(--p, 0) * 100%); width: 2px; margin-left: -1px; background: var(--clay); border-radius: 2px; }
.tl-now[hidden] { display: none; }
.tl-now::after { content: ""; position: absolute; left: 50%; top: -.3rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--clay); transform: translateX(-50%); box-shadow: 0 0 0 3px var(--card); }
.tl-now-l { position: absolute; bottom: calc(100% + .45rem); left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 700; color: var(--clay-d); white-space: nowrap; }
.tl-ticks { display: flex; justify-content: space-between; margin-top: .45rem; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.week { margin-top: 1.4rem; display: grid; gap: .1rem; }
.week li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .42rem .75rem; border-radius: .7rem; font-size: .96rem; font-variant-numeric: tabular-nums; }
.wk-h { color: var(--muted); }
.week li.is-today { background: var(--sage-100); font-weight: 650; }
.week li.is-today .wk-h { color: var(--forest); }
.wk-today { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--forest); color: var(--paper); padding: .15rem .45rem; border-radius: 999px; margin-left: .5rem; vertical-align: .1em; }
.hours-note { margin-top: auto; padding-top: 1.1rem; font-size: .84rem; color: var(--muted); }

.mapcard { display: flex; flex-direction: column; overflow: hidden; }
.map-tabs { display: flex; gap: .4rem; padding: .9rem .9rem 0; flex-wrap: wrap; }
.mt {
  display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--line-2); background: transparent;
  border-radius: 999px; padding: .5rem .95rem; font-size: .9rem; font-weight: 600; transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.mt svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mt:hover { border-color: var(--forest); }
.mt.is-on { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.map { position: relative; margin: .9rem .9rem 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 640 / 400; background: #ECE3D3; }
.map-svg { width: 100%; height: 100%; }
.route path { stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; transition: opacity .3s ease; }
.map[data-route="bus"] .route[data-r="bus"] path,
.map[data-route="car"] .route[data-r="car"] path,
.map[data-route="bike"] .route[data-r="bike"] path { opacity: 1; animation: draw 1.2s var(--ease) .1s forwards; }
.no-motion .map .route path { animation: none !important; stroke-dashoffset: 0; }
.bus-line { opacity: .35; transition: opacity .4s ease, stroke-width .4s ease; }
.map[data-route="bus"] .bus-line { opacity: 1; stroke-width: 5; }
.m-park { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease); }
.map[data-route="car"] .m-park { transform: scale(1.18); }
.m-stop { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease); }
.map[data-route="bus"] .m-stop { transform: scale(1.06); }
.pin-pulse { transform-box: fill-box; transform-origin: center; }
.map-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem 1.25rem; padding: 1rem 1.4rem 1.25rem; }
.map-info { grid-column: 1 / -1; font-size: 1rem; font-weight: 550; min-height: 2.8em; display: flex; align-items: center; gap: .6rem; }
.map-info::before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--clay); }
.map-addr { font-size: .92rem; color: var(--muted); line-height: 1.45; }
.map-addr strong { color: var(--ink); font-weight: 650; }
.ma-b { margin-top: .1rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-side .sec-head { margin-bottom: 1.6rem; }
.direct { display: grid; gap: .6rem; }
.direct-row {
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s ease, transform .35s var(--ease);
}
.direct-row:hover { border-color: var(--line-2); transform: translateX(3px); }
.direct-ic { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .9rem; background: var(--sage-100); color: var(--sage-700); flex: none; }
.direct-ic svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.direct-k { display: block; font-size: .8rem; color: var(--muted); }
.direct-v { display: block; font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.01em; line-height: 1.2; }
.next { margin-top: 1.75rem; }
.next .h4 { margin-bottom: 1rem; }
.next-list { position: relative; display: grid; gap: .2rem; }
.ns { position: relative; display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: 1rem; padding: .35rem 0 .65rem; }
/* Verbindungslinie je Schritt: endet exakt am nächsten Kreis (Kreisunterkante 2,45rem, nächster Kreis -0,55rem) */
.ns:not(:last-child)::before, .ns:first-child::after {
  content: ""; position: absolute; left: 1.05rem; top: 2.7rem; bottom: -.3rem; width: 2px; margin-left: -1px; border-radius: 2px;
}
.ns:not(:last-child)::before { background: var(--line-2); }
.ns:first-child::after { background: linear-gradient(180deg, var(--forest), var(--clay)); transform-origin: top; transform: scaleY(0); transition: transform 1s var(--ease) .15s; }
.next.is-sent .ns:first-child::after { transform: none; }
.ns-n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--line-2); font-family: var(--serif); font-size: 1rem; color: var(--muted);
  transition: background-color .45s ease, border-color .45s ease, color .45s ease, transform .5s var(--ease);
}
.ns-n svg { position: absolute; width: 1rem; height: 1rem; opacity: 0; transform: scale(.4); transition: opacity .35s ease, transform .5s var(--ease); }
.ns-num { transition: opacity .25s ease; }
.ns-t { font-weight: 650; line-height: 1.35; padding-top: .3rem; }
.ns-p { font-size: .93rem; color: var(--muted); line-height: 1.5; margin-top: .1rem; }
.ns.is-now .ns-n { background: var(--clay); border-color: var(--clay); color: #FFFCF7; box-shadow: 0 0 0 5px rgba(180, 87, 47, .14); }
.ns.is-done .ns-n { background: var(--forest); border-color: var(--forest); color: #FFFCF7; }
.ns.is-done .ns-num { opacity: 0; }
.ns.is-done .ns-n svg { opacity: 1; transform: none; }

.formcard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: clamp(1.4rem, 2.6vw, 2.1rem); }
.form { display: grid; gap: 1rem; }
.form[hidden] { display: none; }
.form-title { font-size: 1.5rem; }
.lbl { display: block; font-size: .9rem; font-weight: 650; margin-bottom: .5rem; }
.req { color: var(--clay); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.inp {
  width: 100%; min-height: 3.1rem; padding: .75rem 1rem; border-radius: .9rem;
  background: #FBF8F2; border: 1.5px solid var(--line-2); font-size: 1rem; line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.inp::placeholder { color: #8A9187; }
.inp:hover { border-color: rgba(31, 45, 37, .35); }
.inp:focus { outline: none; border-color: var(--sage-700); background: #fff; box-shadow: 0 0 0 4px rgba(125, 148, 115, .22); }
.inp[aria-invalid="true"] { border-color: var(--clay); box-shadow: 0 0 0 4px rgba(180, 87, 47, .12); }
.ta { resize: vertical; min-height: 4.6rem; }
.sel-wrap { position: relative; }
.sel-wrap::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: .55rem; height: .55rem; border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.fld.is-flash .inp { animation: flash 1.4s ease; }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(180, 87, 47, 0); } 30% { box-shadow: 0 0 0 6px rgba(180, 87, 47, .25); border-color: var(--clay); } }
.err { min-height: 0; font-size: .85rem; color: var(--clay-d); font-weight: 600; margin-top: .4rem; }
.err:empty { display: none; }
/* Spalten nach Inhalt: alle vier Optionen einzeilig, solange der Platz reicht */
.seg { display: grid; grid-template-columns: repeat(4, auto); gap: .45rem; }
.seg-i, .time-i { position: relative; display: block; cursor: pointer; }
.seg-i input, .time-i input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-i span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 3rem; height: 100%; padding: .55rem .6rem;
  border-radius: .9rem; border: 1.5px solid var(--line-2); font-size: .9rem; font-weight: 600; line-height: 1.2;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.seg-i:hover span, .time-i:hover > span { border-color: rgba(31, 45, 37, .4); }
.seg-i input:checked + span { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.seg-i input:focus-visible + span, .time-i input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
.time-i > span { display: grid; gap: .1rem; padding: .6rem .8rem; border-radius: .9rem; border: 1.5px solid var(--line-2); transition: background-color .2s ease, border-color .2s ease; }
.time-i b { font-size: .92rem; font-weight: 650; }
.time-i small { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.time-i input:checked + span { background: var(--sage-100); border-color: var(--sage-700); }
.time-i input:checked + span b::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--sage-700); margin-right: .4rem; vertical-align: .1em; }
.help-row { display: flex; justify-content: space-between; gap: 1rem; margin-top: .45rem; }
.help { font-size: .84rem; color: var(--muted); }
.count { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: start; cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 1.5rem; height: 1.5rem; margin: 0; cursor: pointer; }
.check-box { width: 1.5rem; height: 1.5rem; border-radius: .45rem; border: 1.5px solid var(--line-2); background: #FBF8F2; display: grid; place-items: center; color: transparent; transition: background-color .2s ease, border-color .2s ease, color .2s ease; margin-top: .05rem; }
.check-box svg { width: 1rem; height: 1rem; }
.check input:checked + .check-box { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.check input:focus-visible + .check-box { outline: 3px solid var(--clay); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check-box { border-color: var(--clay); }
.check-t { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.inline-link, .ft-link { border: 0; background: none; padding: 0; color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.inline-link { color: var(--ink); }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.25rem; padding-top: .25rem; }
.form-hint { font-size: .88rem; color: var(--muted); }
.btn-submit .spin { display: none; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 2px solid rgba(255, 252, 247, .35); border-top-color: #FFFCF7; animation: spin .8s linear infinite; margin-right: .6rem; }
.btn-submit.is-busy .spin { display: block; }
.btn-submit.is-busy .btn-ic { display: none; }
.btn-submit.is-busy { pointer-events: none; padding-right: 1.4rem; }
.btn-submit.is-shake { animation: shake .45s ease; }
@keyframes shake { 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

.done { display: grid; justify-items: start; gap: 1rem; outline: none; }
.done[hidden] { display: none; }
.done-ic { width: 4.25rem; height: 4.25rem; }
.done-c, .done-k { stroke-dasharray: 100; stroke-dashoffset: 0; }
.ready:not(.no-motion) .done:not([hidden]) .done-c { animation: draw .8s var(--ease) both; }
.ready:not(.no-motion) .done:not([hidden]) .done-k { animation: draw .6s var(--ease) .45s both; }
.ready:not(.no-motion) .done:not([hidden]) > *:not(.done-ic) { animation: rise .7s var(--ease) backwards; }
.ready:not(.no-motion) .done:not([hidden]) > .done-t { animation-delay: .25s; }
.ready:not(.no-motion) .done:not([hidden]) > .done-p { animation-delay: .32s; }
.ready:not(.no-motion) .done:not([hidden]) > .sum { animation-delay: .4s; }
.ready:not(.no-motion) .done:not([hidden]) > .done-note,
.ready:not(.no-motion) .done:not([hidden]) > .btn { animation-delay: .5s; }
.done-t { font-size: 2.2rem; }
.done-p { color: var(--muted); max-width: 32rem; }
.sum { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .1rem 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); margin-top: .25rem; }
.sum dt { font-size: .86rem; color: var(--muted); padding: .35rem 0; }
.sum dd { font-weight: 600; padding: .35rem 0; overflow-wrap: anywhere; }
.done-note { font-size: .84rem; color: var(--muted); padding: .45rem .8rem; border-radius: 999px; background: var(--sage-100); }

/* ---------- Footer ---------- */
.ft { background: var(--forest); color: var(--paper); padding: clamp(3rem, 5vw, 4.25rem) 0 calc(1.75rem + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .5rem 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(233, 223, 207, .14); }
.ft-word { font-size: clamp(2.8rem, .6rem + 5.6vw, 6rem); line-height: .9; letter-spacing: -.045em; color: transparent; background: linear-gradient(180deg, #EFE7DA 0%, rgba(239, 231, 218, .35) 100%); -webkit-background-clip: text; background-clip: text; font-weight: 350; }
.ft-claim { color: var(--sage-300); font-size: 1.05rem; }
.ft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding: 1.75rem 0; font-size: .96rem; line-height: 1.6; color: #D8DED3; }
.ft-k { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-300); margin-bottom: .6rem; }
.ft a { text-decoration: none; }
.ft a:hover, .ft-link:hover { color: #fff; text-decoration: underline; text-underline-offset: .18em; }
.ft-link { text-decoration: none; font-weight: 400; color: #D8DED3; }
.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(233, 223, 207, .14); font-size: .85rem; color: #AEB9AA; }
.ft-fict { padding: .2rem .65rem; border-radius: 999px; border: 1px solid rgba(233, 223, 207, .2); }
.ft-top-link { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--paper); border-radius: .5rem; }
.ft-top-link svg { width: 1rem; height: 1rem; transition: transform .35s var(--ease); }
.ft-top-link:hover svg { transform: translateY(-3px); }

/* ---------- Mobile CTA-Leiste ---------- */
.mbar {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 40; display: none;
  grid-template-columns: auto minmax(0, 1fr); gap: .5rem; padding: .5rem; border-radius: 999px;
  background: rgba(255, 252, 247, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(31, 45, 37, .45);
  transform: translateY(calc(100% + 1.5rem)); transition: transform .5s var(--ease);
}
.mbar.is-on { transform: none; }
.mbar .btn { --bh: 2.9rem; }
.mbar-call { padding: 0 1.1rem; }

/* ---------- Toast & Dialog ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(1.25rem + var(--mbar-h)); z-index: 60; display: flex; align-items: center; gap: .7rem;
  max-width: min(30rem, calc(100% - 2rem)); padding: .85rem 1.15rem; border-radius: 1rem;
  background: var(--forest); color: var(--paper); font-size: .92rem; line-height: 1.4; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55);
  opacity: 0; transform: translate(-50%, 1rem); pointer-events: none; transition: opacity .3s ease, transform .45s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast-ic { color: var(--clay-300); flex: none; }
.toast-ic svg { width: 1.2rem; height: 1.2rem; }
.dlg { border: 0; padding: 0; border-radius: var(--r-lg); max-width: min(32rem, calc(100% - 2rem)); background: var(--card); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.dlg::backdrop { background: rgba(31, 45, 37, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg-in { display: grid; gap: 1rem; justify-items: start; padding: 2rem; }
.dlg-p { color: var(--muted); }

/* ---------- Scroll-Reveal ---------- */
.ready:not(.no-motion) .rv { opacity: 0; transform: translateY(1.75rem); transition: opacity .8s ease, transform 1s var(--ease); }
.ready:not(.no-motion) .rv.in { opacity: 1; transform: none; }
.ready:not(.no-motion) .svc.rv.in { transition: opacity .8s ease, transform 1s var(--ease), box-shadow .4s ease, border-color .4s ease, background-color .4s ease; }
.no-motion *, .no-motion *::before, .no-motion *::after { scroll-behavior: auto !important; }
.no-motion .dot::after { animation: none !important; display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .st-pill { display: none; }
}
@media (max-width: 1040px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
  .filter { grid-template-columns: minmax(0, 1fr); }
  .visit-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { gap: 1.5rem; }
  .contact-side { display: contents; }
  .contact-side .sec-head { order: 1; margin-bottom: 0; }
  .formcard { order: 2; }
  .direct { order: 3; margin-top: .5rem; }
  .next { order: 4; margin-top: .75rem; }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  :root { --hd-h: 4.25rem; }
  .hd.is-scrolled { --hd-h: 4rem; }
  .nav, .hd-cta { display: none; }
  .menu-btn { display: block; }
  .hero { min-height: 0; padding-top: calc(var(--hd-h) + 2.25rem); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .hero-art { width: min(100% - 3rem, 24rem); }
  .sec-head.split { grid-template-columns: minmax(0, 1fr); }
  .sec-head.split .lead { justify-self: start; max-width: 36rem; }
  .ft-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .mbar { display: grid; }
  :root { --mbar-h: 4.6rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .1em; }
  .brand-name { font-size: 1.2rem; }
  .brand-mark { width: 2.25rem; height: 2.25rem; }
  .hero-eyebrow { margin-bottom: 1.2rem; font-size: .72rem; }
  .hero-lead { margin-top: 1.35rem; }
  .hero-ctas { margin-top: 1.75rem; }
  .hero-ctas .btn { width: 100%; justify-content: space-between; }
  .hero-ctas .btn-ghost { justify-content: center; }
  .hero-facts { gap: .65rem 1.25rem; margin-top: 1.75rem; }
  .hero-art { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; }
  .art-svg { grid-column: 1 / -1; width: min(100%, 20.5rem); justify-self: center; }
  .art-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin-top: -3.4rem; }
  .art-status { grid-column: 1; grid-row: 2; align-items: start; align-content: center; padding: .8rem .85rem; gap: .6rem; }
  .art-status .dot { margin-top: .4rem; }
  .as-txt .st-t { font-size: .9rem; }
  .as-txt .st-d { font-size: .78rem; }
  .art-deg { grid-column: 2; grid-row: 2; padding: .75rem .9rem; min-width: 0; }
  .ad-v { font-size: 2rem; }
  .ad-k { font-size: .62rem; letter-spacing: .06em; }
  .ad-s { font-size: .7rem; }
  .badge-ring { width: 5.25rem; height: 5.25rem; right: .25rem; top: -.75rem; }
  .svc { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: .9rem; row-gap: .45rem; }
  .svc-top { display: contents; }
  .svc-ic { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .svc .h3 { grid-column: 2; grid-row: 1; align-self: end; font-size: 1.35rem; }
  .svc-dur { grid-column: 2; grid-row: 2; justify-self: start; align-self: start; font-size: .74rem; padding: .15rem .5rem; }
  .svc p { grid-column: 1 / -1; margin-top: .35rem; }
  .svc-foot { grid-column: 1 / -1; flex-wrap: wrap; padding-top: .8rem; }
  .svc-foot .tags { flex-wrap: nowrap; }
  .map-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
  .mt { flex-direction: column; gap: .2rem; padding: .55rem .3rem; border-radius: 1rem; font-size: .8rem; text-align: center; }
  .ft-grid > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .ft-grid > div:nth-child(4) { order: 4; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  .svc { padding: 1.3rem 1.3rem 1.1rem; }
  .svc-top { margin-bottom: .1rem; }
  .svc-ic { width: 3rem; height: 3rem; border-radius: 1rem; }
  .chips { gap: .4rem; }
  .chip { padding: .5rem .85rem; font-size: .88rem; }
  .team-grid { gap: 1.5rem .9rem; }
  .mate-name { font-size: 1.12rem; }
  .mate-role { font-size: .84rem; line-height: 1.4; }
  .mate-panel { padding: 1rem .9rem 3.4rem; gap: .35rem; }
  .mp-q { font-size: .92rem; line-height: 1.3; }
  .mp-k, .mp-l { font-size: .66rem; }
  .mate-more { width: 2.3rem; height: 2.3rem; right: .55rem; bottom: .55rem; }
  .tags-sm li { font-size: .72rem; padding: .2rem .5rem; }
  .hours { padding: 1.35rem; }
  .map { aspect-ratio: 1 / 1; margin: .75rem .75rem 0; }
  .map-tabs { padding: .75rem .75rem 0; }
  .map-foot { grid-template-columns: minmax(0, 1fr); padding: 1rem 1.1rem 1.25rem; }
  .map-foot .btn { justify-self: start; }
  .row2, .seg, .times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; justify-content: space-between; }
  .ft-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem 1.25rem; }
  .ft-top-link { margin-left: 0; }
  .sum { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sum dt { padding-bottom: 0; }
  .sum dd { padding-top: 0; }
}
@media (max-width: 380px) {
  .team-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ft-grid { grid-template-columns: minmax(0, 1fr); }
}
[tabindex="-1"]:focus { outline: none; }
