/* ==========================================================================
   Physiotherapie MarCas GmbH – Stylesheet
   Aufbau: Schrift · Tokens · Basis · Layout · Komponenten · Seiten · Bewegung
   ========================================================================== */

/* ---------- Schrift (lokal eingebunden, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  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: "Mona Sans";
  src: url("../fonts/mona-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Farben */
  --ink: #16171a;          /* Anthrazit-Schwarz */
  --ink-2: #202226;        /* Anthrazit-Fläche */
  --ink-3: #2d3035;
  --paper: #ffffff;
  --mist: #f4f4f2;         /* sehr helles Grau */
  --mist-2: #ebebe8;
  --line: #e2e2de;
  --line-strong: #c9c9c4;
  --text: #16171a;
  --text-2: #4f5258;       /* 7,6:1 auf Weiß */
  --text-3: #686b71;       /* 5,3:1 auf Weiß */
  --orange: #e39b2a;       /* Logo-Orange: Akzent, Linien, Buttons */
  --orange-hi: #eeae4a;
  --orange-text: #9c5a05;  /* Orange als Schrift auf Hell: 5,6:1 */
  --red: #c83731;          /* nur im Logo */
  --on-dark: #f4f4f2;
  --on-dark-2: #b3b5ba;    /* 8,9:1 auf Anthrazit */
  --on-dark-3: #8b8e94;
  --grid: rgba(22, 23, 26, 0.055);
  --grid-dark: rgba(255, 255, 255, 0.06);

  /* Form */
  --r-xs: 8px;
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
  --shadow-1: 0 1px 2px rgba(22, 23, 26, 0.05), 0 6px 16px -6px rgba(22, 23, 26, 0.10);
  --shadow-2: 0 2px 6px rgba(22, 23, 26, 0.06), 0 24px 48px -18px rgba(22, 23, 26, 0.28);
  --shadow-3: 0 4px 10px rgba(22, 23, 26, 0.08), 0 36px 72px -24px rgba(22, 23, 26, 0.40);

  /* Raster & Abstände */
  --wrap: 1320px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --section: clamp(80px, 11vw, 152px);
  --cell: 48px;            /* Messraster */

  /* Kopfzeile */
  --logo-w: 140px;
  --logo-w-compact: 160px;
  --header-h: 80px;
  --header-h-compact: 58px;
  --bar-top: 10px;

  /* Bewegung */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: light;
}

@media (min-width: 900px) {
  :root {
    --logo-w: 172px;
    --logo-w-compact: 176px;
    --header-h: 104px;
    --header-h-compact: 62px;
  }
}

/* ---------- Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-compact) + var(--bar-top) + 16px);
  scrollbar-color: var(--line-strong) var(--mist);
}

body {
  margin: 0;
  font-family: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--orange);
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

::selection { background: var(--orange); color: var(--ink); }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 620;
  font-stretch: 104%;
  letter-spacing: -0.028em;
  line-height: 1.04;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--orange); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--r-s);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* Messraster: feine Linien wie der Hintergrund einer Bewegungsstudie */
.grid-bg {
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}
.section--dark.grid-bg,
.grid-bg--dark {
  background-image:
    linear-gradient(to right, var(--grid-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-dark) 1px, transparent 1px);
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { font-size: clamp(2.1rem, 1.35rem + 2.7vw, 3.5rem); }
.section-head p { color: var(--text-2); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); max-width: 62ch; }
.section--dark .section-head p { color: var(--on-dark-2); }

.section-head--split {
  max-width: none;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; }
}

/* ---------- Icons ---------- */
.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ----------
   Eine Formensprache für alle Buttons: geschlossene Fläche, gleichmäßig abgerundet, einheitliche Höhe. */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-line: transparent;
  --btn-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 1.5px solid var(--btn-line);
  border-radius: 12px;
  background: var(--btn-bg);
  background-clip: border-box;
  color: var(--btn-fg);
  box-shadow: var(--btn-shadow);
  font-size: 1rem;
  font-weight: 620;
  font-stretch: 102%;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.3s ease,
    transform 0.3s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn .icon--arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

/* Orange: das MarCas-Orange als volle, saubere Fläche */
.btn--primary {
  --btn-bg: var(--orange);
  --btn-line: var(--orange);
  --btn-fg: var(--ink);
  --btn-shadow: 0 1px 2px rgba(22, 23, 26, 0.12), 0 8px 18px -10px rgba(22, 23, 26, 0.45);
}
.btn--primary:hover {
  --btn-bg: var(--orange-hi);
  --btn-line: var(--orange-hi);
  --btn-shadow: 0 2px 4px rgba(22, 23, 26, 0.12), 0 14px 26px -12px rgba(22, 23, 26, 0.5);
  transform: translateY(-1px);
}
.btn--dark { --btn-bg: var(--ink); --btn-line: var(--ink); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--ink-3); --btn-line: var(--ink-3); transform: translateY(-1px); }
.btn--ghost { --btn-line: var(--line-strong); }
.btn--ghost:hover { --btn-line: var(--ink); }
.btn--ghost-light { --btn-fg: var(--on-dark); --btn-line: rgba(255, 255, 255, 0.28); }
.btn--ghost-light:hover { --btn-line: rgba(255, 255, 255, 0.7); }
.btn--sm { font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark .btn:focus-visible, .site-footer .btn:focus-visible { outline-color: var(--orange); }
.btn--primary:focus-visible { outline-color: var(--ink); }
.on-dark .btn--primary:focus-visible { outline-color: #fff; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 559px) {
  .hero .actions .btn,
  .panel .actions .btn,
  .cta-band .actions .btn { flex: 1 1 100%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.45s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow .icon { transition: transform 0.35s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--dark .link-arrow { color: var(--on-dark); }

/* ---------- Kopfzeile: Compact Sticky ----------
   Oben: volle Breite, dunkles Anthrazit, großzügig. Ab ca. 80 px Scrollen: schwebende, schlanke Leiste
   mit dezenter Transparenz, feiner Linie und leichtem Blur. Eine einzige Klasse (.is-compact am <html>) steuert alles. */
.header-spacer { height: var(--header-h); }

.site-header {
  /* Leiste im kompakten Zustand bündig mit dem Seiteninhalt (plus 18 px Innenabstand) */
  --bar-x: max(10px, calc(var(--gutter) - 18px), calc((100% - var(--wrap)) / 2 - 18px));
  --nav-gap: clamp(18px, 3vw - 8px, 34px);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--header-h);
  color: var(--on-dark);
  background-color: var(--ink);
  border: 1px solid transparent;
  border-top-width: 0;
  border-radius: 0;
  box-shadow: none;
  transition:
    height 0.5s var(--ease-out),
    top 0.5s var(--ease-out),
    left 0.5s var(--ease-out),
    right 0.5s var(--ease-out),
    border-radius 0.5s var(--ease-out),
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.5s ease,
    -webkit-backdrop-filter 0.4s ease,
    backdrop-filter 0.4s ease;
}
.is-compact .site-header {
  --nav-gap: clamp(16px, 2vw, 32px);
  top: var(--bar-top);
  left: var(--bar-x);
  right: var(--bar-x);
  height: var(--header-h-compact);
  border-top-width: 1px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background-color: rgba(22, 23, 26, 0.88);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.site-header .wrap {
  height: 100%;
  display: grid;
  /* Seitenspalten nie schmaler als ihr Inhalt: Navigation bleibt mittig, solange Platz ist, und rückt sonst zur Seite statt zu überlappen */
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: 20px;
  transition: padding 0.5s var(--ease-out);
}
.is-compact .site-header .wrap { padding-inline: 18px; }
.site-header :focus-visible { outline-color: var(--orange); }

/* Logo: volles Originallogo oben, beim Scrollen die Wortmarke (Quadrate treten zurück) */
.brand {
  --w: var(--logo-w);
  grid-column: 1;
  justify-self: start;
  position: relative;
  display: block;
  width: var(--w);
  height: calc(var(--w) * 0.46344);
  overflow: hidden;
  border-radius: 4px;
  color: #fff;
  transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out);
}
.brand svg { width: 100%; height: auto; }
.brand .logo-steps {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: opacity 0.35s ease, transform 0.5s var(--ease-out);
}
.is-compact .brand { --w: var(--logo-w-compact); height: calc(var(--w) * 0.15448); }
.is-compact .brand .logo-steps { opacity: 0; transform: scaleY(0.2); }

/* Navigation: mittig, feine orange Linie an der Unterkante für den aktiven Punkt */
.nav { display: none; grid-column: 2; height: 100%; }
.nav ul { display: flex; height: 100%; gap: var(--nav-gap); list-style: none; transition: gap 0.5s var(--ease-out); }
.nav li { display: flex; }
.nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 2px;
  font-size: 0.97rem;
  font-weight: 520;
  color: var(--on-dark-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: -10px; right: -10px; bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: var(--orange); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Rechte Gruppe: Telefon, Termin-Button, Menü-Schalter */
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 560;
  font-size: 0.93rem;
  text-decoration: none;
  color: var(--on-dark-2);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.header-phone:hover { color: #fff; }
.header-phone .icon { color: var(--orange); }
.header-cta { display: none; }
.site-header .header-cta {
  min-height: 46px;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  transition:
    background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out),
    min-height 0.5s var(--ease-out), padding 0.5s var(--ease-out), border-radius 0.5s var(--ease-out), font-size 0.5s var(--ease-out);
}
.is-compact .site-header .header-cta { min-height: 40px; padding: 0 1.05rem; border-radius: 10px; font-size: 0.9rem; }

.menu-toggle {
  position: relative;
  display: inline-block;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color 0.25s ease;
}
@media (hover: hover) { .menu-toggle:hover { border-color: rgba(227, 155, 42, 0.7); } }
.menu-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.3s var(--ease-out), transform 0.35s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 1000px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 1440px) { .header-phone { display: inline-flex; } }

/* Mobile Navigation: dunkel, Punkte erscheinen leicht versetzt */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 16px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--on-dark);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.is-compact .mobile-nav { padding-top: calc(var(--header-h-compact) + var(--bar-top) + 16px); }
.menu-open .mobile-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease, transform 0.45s var(--ease-out), visibility 0s;
}
.mobile-nav ul { list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.mobile-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.mobile-nav a.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  font-weight: 600;
  font-stretch: 104%;
  letter-spacing: -0.025em;
  color: var(--on-dark);
  text-decoration: none;
  transition: color 0.25s ease;
}
.mobile-nav a.mobile-nav__link[aria-current="page"] { color: var(--orange); }
.mobile-nav a.mobile-nav__link .icon { color: rgba(255, 255, 255, 0.3); transition: color 0.2s, transform 0.3s var(--ease-out); }
.mobile-nav a.mobile-nav__link[aria-current="page"] .icon,
.mobile-nav a.mobile-nav__link:hover .icon { color: var(--orange); transform: translateX(3px); }
.menu-open .mobile-nav li { animation: develop 0.6s var(--ease-out) both; }
.menu-open .mobile-nav li:nth-child(2) { animation-delay: 0.04s; }
.menu-open .mobile-nav li:nth-child(3) { animation-delay: 0.08s; }
.menu-open .mobile-nav li:nth-child(4) { animation-delay: 0.12s; }
.menu-open .mobile-nav li:nth-child(5) { animation-delay: 0.16s; }
.mobile-nav__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mobile-nav__foot .status { margin-bottom: 6px; }
.menu-open { overflow: hidden; }
@media (min-width: 1000px) { .mobile-nav { display: none; } }

/* ---------- Öffnungsstatus ---------- */
.status {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 540;
  color: var(--text-2);
}
.status__dot {
  position: relative;
  margin-top: 0.55em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
  flex: none;
}
.status.is-open .status__dot { background: var(--orange); }
.status.is-open .status__dot::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  opacity: 0;
  animation: pulse 2.4s var(--ease-out) infinite;
}
.status strong { color: var(--ink); font-weight: 650; }
.on-dark .status { color: var(--on-dark-2); }
.on-dark .status strong { color: var(--on-dark); }
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(16px, 5vw, 64px);
  padding-bottom: clamp(64px, 8vw, 112px);
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-areas: "copy" "visual" "facts";
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}
.hero__copy { grid-area: copy; }
.hero__visual { grid-area: visual; }
.hero__facts { grid-area: facts; }
.hero h1 {
  font-size: clamp(2.55rem, 1.05rem + 6.1vw, 5.6rem);
  font-weight: 640;
  font-stretch: 106%;
  letter-spacing: -0.038em;
  line-height: 0.98;
}
.hero h1 .accent-line {
  display: block;
  color: var(--ink);
}
.hero h1 .accent-line::after {
  content: "";
  display: block;
  width: 1.4em;
  height: 0.075em;
  margin-top: 0.22em;
  border-radius: 99px;
  background: var(--orange);
  transform-origin: left;
}
.hero__lead {
  margin-top: clamp(22px, 2.4vw, 32px);
  max-width: 34em;
  font-size: clamp(1.0625rem, 0.98rem + 0.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-2);
}
.hero .actions { margin-top: clamp(28px, 3vw, 40px); }
.hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-self: start;
  gap: 12px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-2);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 9px; }
.hero__facts .icon { color: var(--orange); }
.hero__facts a { text-decoration: none; font-weight: 600; color: var(--ink); }
.hero__facts a:hover { text-decoration: underline; text-decoration-color: var(--orange); }

.hero__visual {
  position: relative;
  padding-bottom: 72px;
}
.hero__visual::before { /* Messraster hinter der Bildkomposition */
  content: "";
  position: absolute;
  inset: -32px calc(-1 * var(--gutter)) 0 -32px;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 45%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 70% 40%, #000 45%, transparent 85%);
  pointer-events: none;
}
.hero__photo {
  position: relative;
  margin: 0 0 0 auto;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
}
@media (min-width: 600px) { .hero__photo { aspect-ratio: 4 / 5; } }
@media (max-width: 599px) { .hero__photo.frame::before, .hero__photo.frame::after { display: none; } }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-l); }
.hero .study--hero {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: min(62%, 300px);
}

@media (min-width: 1000px) {
  .hero { padding-top: clamp(40px, 5vw, 72px); }
  .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    grid-template-areas: "copy visual" "facts visual";
    row-gap: clamp(28px, 3.4vw, 44px);
  }
  .hero__copy { align-self: end; }
  .hero h1 { font-size: min(5.6rem, 6.4vw); }
  .hero__visual { padding-bottom: 0; padding-left: 48px; }
  .hero__photo { width: min(100%, 560px, calc((100svh - var(--header-h) - 96px) * 0.8)); min-width: min(100%, 380px); aspect-ratio: 4 / 5; }
  .hero .study--hero { right: auto; left: 0; bottom: -40px; width: min(52%, 290px); }
}

/* Rahmen mit Registrierecken (wie Markierungen auf einer Fotoplatte) */
.frame { position: relative; }
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  pointer-events: none;
  border-color: var(--ink);
  border-style: solid;
  opacity: 0.28;
  transition: opacity 0.4s ease, border-color 0.4s ease, transform 0.5s var(--ease-out);
}
.frame::before { top: -10px; left: -10px; border-width: 1.5px 0 0 1.5px; border-top-left-radius: 6px; }
.frame::after { right: -10px; bottom: -10px; border-width: 0 1.5px 1.5px 0; border-bottom-right-radius: 6px; }

/* ---------- Bewegungsstudie (Studienplatte) ---------- */
.study {
  position: relative;
  border-radius: 22px;
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, var(--grid-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-dark) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  color: var(--on-dark);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.study svg { width: 100%; height: auto; overflow: visible; }
.study__caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px 16px;
  margin-top: -6px;
}
.study__label { font-size: 0.8rem; line-height: 1.3; color: var(--on-dark-2); }
.study__label b { display: block; color: var(--on-dark); font-weight: 600; font-size: 0.86rem; }
.study__value {
  font-variant-numeric: tabular-nums;
  font-size: 1.9rem;
  font-weight: 600;
  font-stretch: 96%;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--orange);
}
.study__replay {
  position: absolute;
  top: 8px; left: 8px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--on-dark-3);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.study__replay:hover { color: var(--orange); background: rgba(255, 255, 255, 0.06); }
.study__replay .icon { width: 20px; height: 20px; }

/* SVG-Bestandteile der Figur */
.fig-line { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fig-head { fill: none; stroke: currentColor; stroke-width: 2.4; }
.fig-joint { fill: var(--ink); stroke: currentColor; stroke-width: 1.6; }
.fig-base { color: rgba(244, 244, 242, 0.92); }
.exp { color: rgba(244, 244, 242, 0.9); opacity: var(--o, 1); transition: opacity 0.9s var(--ease-out), color 0.6s ease; }
.exp.is-live { color: var(--orange); opacity: 1; }
.exp.is-off { opacity: 0; transition-duration: 0.2s; }
.gonio-arc { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; }
.gonio-tick { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
.gonio-tick--major { stroke: rgba(255, 255, 255, 0.6); }
.gonio-sweep { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; }
.gonio-label { fill: var(--on-dark-2); font-size: 17px; font-family: inherit; font-variant-numeric: tabular-nums; }
.floor-line { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; }

/* Helle Studienplatte (Leistungen ohne Foto) */
.study--light {
  background-color: #fff;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  color: var(--ink);
  box-shadow: none;
}
.study--light .ill-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.study--light .ill-fine { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; opacity: 0.45; }
.study--light .ill-accent { fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.study--light .ill-tape { fill: none; stroke: var(--orange); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; opacity: 0.92; }
.study--light .ill-fill { fill: var(--orange); }
.study--light .ill-ghost { opacity: var(--o, 0.3); }
.study--light .ill-label { fill: var(--text-3); font-size: 16px; font-family: inherit; font-variant-numeric: tabular-nums; }

/* ---------- Über uns (Startseite): Statistik-Spalte links, Text rechts, gemeinsame volle Höhe ---------- */
.about-section { padding-block: clamp(72px, 8vw, 120px); }
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 7vw, 72px);
  align-items: stretch;
}
.about__text { display: flex; flex-direction: column; }
.about__text h2 { font-size: clamp(2.1rem, 1.35rem + 2.7vw, 3.5rem); }
.about__text > p { margin-top: 22px; color: var(--text-2); max-width: 60ch; }
.about__text .link-arrow { margin-top: 32px; align-self: flex-start; }
.section--dark .about__text > p { color: var(--on-dark-2); }
@media (min-width: 960px) {
  .about {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas: "stats text";
    gap: 0;
    min-height: clamp(640px, 78svh, 900px);
  }
  .about-stats { grid-area: stats; padding-right: clamp(40px, 5vw, 88px); }
  .about__text {
    grid-area: text;
    padding-left: clamp(40px, 5vw, 88px);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
  .about__text .link-arrow { margin-top: auto; }
  .about__text .ledger { margin-bottom: 36px; }
}

/* Linierte Liste mit Messmarken */
.ledger { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.ledger li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.ledger li::before {
  content: "";
  grid-row: 1 / span 2;
  width: 14px; height: 2px;
  margin-top: 0.8em;
  border-radius: 2px;
  background: var(--orange);
  transform-origin: left;
}
.ledger b { font-weight: 620; font-size: 1.04em; letter-spacing: -0.01em; }
.ledger span { color: var(--text-2); font-size: 0.95em; }
.section--dark .ledger { border-color: rgba(255, 255, 255, 0.14); }
.section--dark .ledger li { border-color: rgba(255, 255, 255, 0.14); }
.section--dark .ledger span { color: var(--on-dark-2); }

/* ---------- Über uns: Statistiken (frei stehend, von oben bis unten verteilt) ---------- */
.about-stats {
  list-style: none;
  display: grid;
  grid-auto-rows: auto;
}
/* Desktop: natürliche Zeilenhöhen, verbleibender Platz wird gleichmäßig verteilt (auto-Zeilen dehnen sich) */
@media (min-width: 960px) { .about-stats { align-content: stretch; } }
.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 34px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--on-dark);
}
.stat:first-child { padding-top: 6px; border-top: 0; }
.stat:last-child { padding-bottom: 0; }
.stat__index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 560;
  color: var(--on-dark-3);
  font-variant-numeric: tabular-nums;
}
.stat__index::after {
  content: "";
  width: 26px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--orange);
  transform-origin: left;
}
.stat__value {
  font-size: clamp(2.6rem, 1.6rem + 2.4vw, 4.2rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--orange);
}
.stat__value [data-count-to] { display: inline-block; }
.stat--founded .stat__value { font-size: clamp(3.4rem, 2rem + 3.8vw, 6rem); }
.stat--word .stat__value { font-size: clamp(2rem, 1.3rem + 1.8vw, 3rem); letter-spacing: -0.028em; line-height: 1.1; }
.stat__pre, .stat__unit { font-size: 0.34em; font-weight: 560; letter-spacing: 0; color: var(--on-dark-2); }
.stat__label { margin-top: 16px; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.08rem); font-weight: 600; letter-spacing: -0.01em; color: var(--on-dark); }
.stat__text { margin-top: 6px; font-size: clamp(0.92rem, 0.88rem + 0.15vw, 1rem); line-height: 1.55; color: var(--on-dark-2); max-width: 40ch; }

/* Zeitleiste: ein Teilstrich pro Jahr seit der Gründung */
.stat-ruler { position: relative; height: 34px; margin-top: 22px; max-width: 420px; }
.stat-ruler__ticks { position: absolute; left: 0; right: 0; top: 0; height: 10px; display: flex; justify-content: space-between; align-items: flex-start; }
.stat-ruler__ticks span { width: 1px; height: 6px; background: rgba(255, 255, 255, 0.26); }
.stat-ruler__ticks span:first-child, .stat-ruler__ticks span:last-child { height: 10px; background: rgba(255, 255, 255, 0.55); }
.stat-ruler__line { position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: var(--orange); transform-origin: left; }
.stat-ruler__from, .stat-ruler__to { position: absolute; top: 16px; font-size: 0.75rem; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.stat-ruler__from { left: 0; }
.stat-ruler__to { right: 0; }

/* Einblendung je Statistik beim Erreichen: Einblenden, Linien bauen sich auf, Zahlen zählen (Zähler in main.js) */
.motion [data-stats] .stat { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 1s var(--ease-out); }
.motion [data-stats] .stat.is-in { opacity: 1; transform: none; }
.motion [data-stats] .stat__index::after { transform: scaleX(0); transition: transform 0.8s var(--ease-out) 0.25s; }
.motion [data-stats] .stat.is-in .stat__index::after { transform: scaleX(1); }
.motion [data-stats] .stat-ruler__line { transform: scaleX(0); transition: transform 1.7s var(--ease-out) 0.45s; }
.motion [data-stats] .stat.is-in .stat-ruler__line { transform: scaleX(1); }
.motion [data-stats] .stat-ruler__ticks span { opacity: 0; transition: opacity 0.35s ease; transition-delay: calc(0.4s + var(--i, 0) * 0.07s); }
.motion [data-stats] .stat.is-in .stat-ruler__ticks span { opacity: 1; }
.motion [data-stats] .stat--word .stat__value { filter: brightness(1.8) blur(1.5px); transition: filter 1.1s var(--ease-out) 0.35s; }
.motion [data-stats] .stat--word.is-in .stat__value { filter: none; }

/* ---------- Leistungen: Kacheln ---------- */
.tiles {
  display: grid;
  gap: 16px;
  list-style: none;
}
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

.tile {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  height: 100%;
  align-content: start;
  padding: 10px;
  border-radius: var(--r-m);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.tile__media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  background: var(--mist);
}
.tile__media img,
.tile__media .study { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.tile__media img { transition: transform 0.9s var(--ease-out); }
.tile__media .study svg { width: 100%; height: 100%; }
.tile__media .study { transition: background-color 0.4s ease; }
.tile__body { display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 6px 0; }
.tile h3 { font-size: 1.12rem; font-weight: 630; letter-spacing: -0.018em; line-height: 1.2; font-stretch: 102%; }
.tile p { font-size: 0.93rem; line-height: 1.5; color: var(--text-2); }
.tile__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.9rem;
  font-weight: 620;
  color: var(--ink);
}
.tile__more .icon { width: 1.05em; height: 1.05em; transition: transform 0.4s var(--ease-out); color: var(--orange); }
.tile::after { /* Messmarke oben rechts */
  content: "";
  position: absolute;
  top: 18px; right: 18px;
  width: 14px; height: 14px;
  border-top: 1.5px solid var(--orange);
  border-right: 1.5px solid var(--orange);
  border-top-right-radius: 4px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.35s ease, transform 0.5s var(--ease-out);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tile:hover .tile__media img { transform: scale(1.05); }
.tile:hover .tile__more .icon { transform: translateX(4px); }
.tile:hover::after { opacity: 1; transform: none; }
.tile:hover .study--light { background-color: #fbfbfa; }

@media (min-width: 640px) {
  .tile { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; padding: 10px 10px 20px; }
  .tile__media { aspect-ratio: 4 / 3; border-radius: 12px; }
  .tile__body { padding: 20px 10px 0; gap: 10px; }
  .tile h3 { font-size: 1.25rem; }
  .tile::after { top: 22px; right: 22px; border-color: #fff; }
  .tile--study::after { border-color: var(--orange); }
}

/* ---------- Warum MarCas (dunkles Band) ---------- */
.why {
  display: grid;
  gap: clamp(48px, 6vw, 88px);
  align-items: start;
}
.why h2 { font-size: clamp(2.1rem, 1.35rem + 2.7vw, 3.5rem); }
.why__intro { margin-top: 22px; color: var(--on-dark-2); max-width: 46ch; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
.why__list { list-style: none; margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.why__list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 6px 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.why__list .icon {
  grid-row: 1 / span 2;
  width: 30px; height: 30px;
  color: var(--orange);
  stroke-width: 1.5;
}
.why__list b { font-size: 1.2rem; font-weight: 620; letter-spacing: -0.015em; }
.why__list span { color: var(--on-dark-2); }
.why__focus { margin-top: 28px; color: var(--on-dark-2); font-size: 0.98rem; }
.why__focus b { color: var(--on-dark); font-weight: 600; }

@media (min-width: 960px) {
  .why { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .why__list { margin-top: 0; }
}
.atlas-section + .why-section { padding-top: 0; }
.atlas-section + .why-section .why {
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Praxis-Karussell (Startseite) ----------
   Natives horizontales Scrollen mit Einrasten: funktioniert per Wischen, Trackpad, Tastatur und Pfeil-Buttons.
   Die Bilder behalten ihr Format (Hoch- und Querformat nebeneinander), nur die Höhe ist einheitlich. */
.carousel { --slide-h: clamp(220px, 40vw, 560px); }
.carousel__track {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: var(--r-m); }
.carousel__slide { flex: none; margin: 0; display: grid; gap: 12px; scroll-snap-align: start; }
.carousel__slide img {
  height: var(--slide-h);
  width: auto;
  max-width: min(86vw, 940px);
  object-fit: cover;
  border-radius: var(--r-m);
  background: var(--mist);
}
.carousel__slide figcaption { font-size: 0.88rem; color: var(--text-3); display: flex; align-items: center; gap: 10px; }
.carousel__slide figcaption::before { content: ""; width: 14px; height: 1.5px; background: var(--orange); border-radius: 2px; }
.carousel__bar { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); margin-top: 26px; }
.carousel__count { font-size: 0.95rem; color: var(--text-3); white-space: nowrap; }
.carousel__count b { color: var(--ink); font-weight: 650; }
.carousel__progress { position: relative; flex: 1; height: 1.5px; background: var(--line); border-radius: 2px; overflow: hidden; }
.carousel__progress span {
  position: absolute; inset: 0;
  background: var(--orange);
  transform: scaleX(var(--p, 0.3333));
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.carousel__nav { display: flex; gap: 10px; }
.carousel__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.carousel__btn .icon { width: 20px; height: 20px; }
@media (hover: hover) { .carousel__btn:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: #fff; } }
.carousel__btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.carousel__btn:disabled { opacity: 0.35; cursor: default; }
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

/* Vollständige Galerie (Unsere Praxis) */
.gallery-full {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
.gallery-full figure { margin: 0; display: grid; gap: 10px; }
.gallery-full img { width: 100%; border-radius: var(--r-m); object-fit: cover; aspect-ratio: 3 / 2; }
.gallery-full figcaption { font-size: 0.9rem; color: var(--text-3); display: flex; gap: 10px; align-items: center; }
.gallery-full figcaption::before { content: ""; width: 14px; height: 1.5px; background: var(--orange); border-radius: 2px; }
@media (min-width: 760px) {
  .gallery-full { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gallery-full figure { grid-column: span 3; }
  .gallery-full .wide { grid-column: span 4; }
  .gallery-full .narrow { grid-column: span 2; }
  .gallery-full .narrow img { aspect-ratio: auto; height: 100%; }
  .gallery-full .narrow { grid-template-rows: minmax(0, 1fr) auto; }
}

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  gap: 20px;
}
.panel {
  border-radius: var(--r-l);
  background: #fff;
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: var(--shadow-1);
}
.panel--dark {
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: var(--shadow-2);
}
.contact__phone-label { font-size: 0.95rem; color: var(--on-dark-2); }
.contact__phone {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  font-weight: 620;
  font-stretch: 100%;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 3px no-repeat;
  padding-bottom: 8px;
  transition: background-size 0.6s var(--ease-out);
}
.contact__phone:hover { background-size: 100% 3px; }
.contact__lead { margin-top: 18px; color: var(--on-dark-2); max-width: 44ch; }
.panel--dark .actions { margin-top: 28px; }
.contact__details {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 560px) { .contact__details { grid-template-columns: 1fr 1fr; } }
.detail { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 0.98rem; }
.detail .icon { color: var(--orange); margin-top: 2px; }
.detail b { display: block; font-weight: 600; color: var(--on-dark); }
.detail span, .detail a { color: var(--on-dark-2); }
.detail a { text-decoration-color: rgba(255,255,255,.3); }
.detail a:hover { color: #fff; text-decoration-color: var(--orange); }

.hours-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hours-title h3 { font-size: 1.4rem; letter-spacing: -0.02em; }
.hours {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
}
.hours th, .hours td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 450; }
.hours td { text-align: right; color: var(--text-2); }
.hours th { color: var(--ink); font-weight: 540; }
.hours tr.is-closed td { color: var(--text-3); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 650; }
.hours tr.is-today th { position: relative; padding-left: 20px; }
.hours tr.is-today th::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 10px; height: 2px;
  border-radius: 2px;
  background: var(--orange);
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.site-footer .hours th, .site-footer .hours td { border-color: rgba(255,255,255,.12); color: var(--on-dark-2); padding: 9px 0; font-size: 0.95rem; }
.site-footer .hours th { color: var(--on-dark); }
.site-footer .hours tr.is-today th, .site-footer .hours tr.is-today td { color: #fff; }

@media (min-width: 980px) {
  .contact { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 22px; }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero {
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.breadcrumb { font-size: 0.9rem; color: var(--text-3); margin-bottom: clamp(24px, 3vw, 40px); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: ""; width: 12px; height: 1px; background: var(--line-strong); }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); }
.breadcrumb [aria-current] { color: var(--ink); }

.page-hero__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 1rem + 5vw, 4.4rem); hyphens: auto; -webkit-hyphens: auto; font-weight: 640; font-stretch: 106%; letter-spacing: -0.036em; line-height: 1; }
.page-hero h1::after {
  content: "";
  display: block;
  width: 1.4em;
  height: 0.075em;
  margin-top: 0.22em;
  border-radius: 99px;
  background: var(--orange);
  transform-origin: left;
}
.page-hero__lead { margin-top: 22px; font-size: clamp(1.0625rem, 0.98rem + 0.45vw, 1.3rem); color: var(--text-2); max-width: 40em; }
.page-hero__media img { width: 100%; border-radius: var(--r-l); aspect-ratio: 3 / 2; object-fit: cover; }
.page-hero__media .study { aspect-ratio: 3 / 2; display: grid; place-items: center; }
.page-hero__media .study svg { height: 100%; width: auto; max-width: 100%; }
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .page-hero__grid h1 { font-size: min(4.4rem, 4.6vw); }
  .page-hero__grid--text h1 { font-size: min(5rem, 6vw); }
  .page-hero__grid--text { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Fließtext (Behandlungen, Rechtliches) ---------- */
.article-layout {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (min-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 360px; }
}
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2.1em;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.prose h2 + * { margin-top: 0.75em; }
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; letter-spacing: -0.015em; }
.prose p { color: #2b2d31; }
.prose .intro { font-size: 1.2em; line-height: 1.55; color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 1.5px; }
.prose ul { list-style: none; border-top: 1px solid var(--line); }
.prose ul li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  color: #2b2d31;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: calc(12px + 0.8em);
  width: 14px; height: 2px;
  border-radius: 2px;
  background: var(--orange);
}
.prose ul.cols { display: grid; }
@media (min-width: 640px) {
  .prose ul.cols { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}
.prose .placeholder, .placeholder {
  background: rgba(227, 155, 42, 0.16);
  border-bottom: 1.5px dashed var(--orange);
  padding: 0 4px;
  border-radius: 3px;
}

.aside { display: grid; gap: 20px; }
@media (min-width: 1000px) { .aside { position: sticky; top: calc(var(--header-h-compact) + var(--bar-top) + 28px); } }
.aside .panel--dark { padding: 28px; }
.aside h2, .aside h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.aside .contact__phone { font-size: 1.9rem; }
.aside .actions { flex-direction: column; }
.aside .actions .btn { width: 100%; }
.more-list { list-style: none; margin-top: 14px; border-top: 1px solid var(--line); }
.more-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 540;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.more-list a .icon { color: var(--line-strong); transition: color 0.2s, transform 0.35s var(--ease-out); }
.more-list a:hover { color: var(--ink); }
.more-list a:hover .icon { color: var(--orange); transform: translateX(3px); }
.more-list a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.more-list a[aria-current="page"] .icon { color: var(--orange); }

.pager {
  display: grid;
  gap: 16px;
  margin-top: clamp(56px, 7vw, 88px);
}
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  border-radius: var(--r-m);
  border: 1.5px solid var(--line);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.4s var(--ease-out);
}
.pager a:hover { border-color: var(--ink); transform: translateY(-2px); }
.pager span { font-size: 0.88rem; color: var(--text-3); }
.pager b { font-size: 1.15rem; font-weight: 620; letter-spacing: -0.015em; display: inline-flex; align-items: center; gap: 8px; }
.pager b .icon { color: var(--orange); }
.pager .next { text-align: right; }
.pager .next b { justify-content: flex-end; }

/* ---------- Abschluss-Band ---------- */
.cta-band {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--r-l);
  background-color: var(--ink);
  color: var(--on-dark);
}
.cta-band h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
.cta-band p { margin-top: 14px; color: var(--on-dark-2); max-width: 46ch; }
@media (min-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; } }

/* Team */
.team { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.team li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.team b { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); font-weight: 600; letter-spacing: -0.025em; }
.team span { color: var(--text-3); font-size: 0.92rem; }

.focus-grid { display: grid; gap: 14px; list-style: none; }
@media (min-width: 700px) { .focus-grid { grid-template-columns: repeat(3, 1fr); } }
.focus-grid li { padding: 26px; border-radius: var(--r-m); background: #fff; box-shadow: var(--shadow-1); }
.focus-grid b { display: block; font-size: 1.35rem; font-weight: 620; letter-spacing: -0.02em; }
.focus-grid span { display: block; margin-top: 8px; color: var(--text-2); font-size: 0.95rem; }
.focus-grid .icon { width: 30px; height: 30px; color: var(--orange); margin-bottom: 22px; stroke-width: 1.5; }

.two-col { display: grid; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- Fußzeile ---------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-2);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: calc(28px + var(--callbar-h, 0px));
  font-size: 0.98rem;
}
.footer__top {
  display: grid;
  gap: 44px;
  padding-bottom: clamp(44px, 6vw, 72px);
}
.footer__brand img { width: 220px; height: auto; }
.footer__brand p { margin-top: 22px; max-width: 30ch; }
.footer__col h2 {
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.005em;
  color: var(--on-dark);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a { color: var(--on-dark-2); text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); }
.footer__col address { display: grid; gap: 4px; }
.footer__col .footer__contact { display: grid; gap: 8px; margin-top: 14px; }
.footer__col .footer__contact a { color: var(--on-dark); font-weight: 560; }
@media (min-width: 720px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: 1.25fr 1fr 1fr 0.8fr; } }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: var(--on-dark-3);
}
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__bottom a { color: var(--on-dark-2); text-decoration: none; }
.footer__bottom a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); }

/* ---------- Mobile Anrufleiste ---------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -20px rgba(22, 23, 26, 0.4);
  transition: transform 0.45s var(--ease-out);
}
.callbar .btn--ghost { width: 56px; padding: 0; }
.menu-open .callbar { transform: translateY(110%); }
:root { --callbar-h: calc(74px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .callbar { display: none; }
  :root { --callbar-h: 0px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; gap: 20px; }
.notfound .code { font-size: clamp(5rem, 3rem + 10vw, 11rem); font-weight: 700; font-stretch: 110%; letter-spacing: -0.06em; line-height: 0.9; color: var(--ink); }
.notfound .code span { color: var(--orange); }

/* ---------- Bewegungsatlas (interaktive Bewegungsstudien) ---------- */
.atlas-section { padding-bottom: clamp(64px, 8vw, 112px); }
.atlas { display: grid; gap: 14px; }
@media (min-width: 1000px) {
  .atlas { grid-template-columns: minmax(0, 1fr) 272px; gap: 20px; align-items: start; }
}
.atlas__plate {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  border-radius: var(--r-l);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background-color: var(--ink-2);
  background-image:
    linear-gradient(to right, var(--grid-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-dark) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.atlas__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2vw, 24px) 0;
}
.atlas__title { display: grid; gap: 4px; min-height: 3.2em; }
.atlas__title b { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); font-weight: 620; letter-spacing: -0.015em; color: var(--on-dark); }
.atlas__title span { font-size: 0.9rem; line-height: 1.45; color: var(--on-dark-2); max-width: 58ch; }
.atlas__toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.atlas__toggle:hover { border-color: var(--orange); color: var(--orange); }
.atlas__toggle .icon { width: 20px; height: 20px; }
.atlas__toggle .icon--play { display: none; }
.atlas__toggle.is-paused .icon--play { display: block; }
.atlas__toggle.is-paused .icon--pause { display: none; }
.atlas__stage { position: relative; aspect-ratio: 1 / 1; margin: 4px 4px 0; }
@media (min-width: 640px) {
  .atlas__stage { aspect-ratio: auto; height: clamp(340px, 58vh, 600px); margin: 4px 12px 0; }
}
.atlas-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  filter: brightness(1.9) contrast(0.6) blur(2px);
  transition: opacity 0.45s ease, filter 0.9s var(--ease-out);
  pointer-events: none;
}
.atlas-svg.is-active { opacity: 1; filter: none; }
.atlas__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 0 clamp(16px, 2vw, 24px) clamp(16px, 2vw, 22px);
}
.atlas__phases { display: flex; flex-wrap: wrap; gap: 8px; }
.atlas__phase {
  position: relative;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--on-dark-2);
  font-size: 0.88rem;
  font-weight: 560;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.atlas__phase::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--orange);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.atlas__phase:hover { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.36); }
.atlas__phase[aria-current="true"] { color: var(--on-dark); border-color: rgba(227, 155, 42, 0.65); }
.atlas__readout { display: grid; justify-items: end; gap: 2px; margin-left: auto; }
.atlas__readout span:first-child { font-size: 0.85rem; color: var(--on-dark-2); }
.atlas__value {
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem);
  font-weight: 600;
  font-stretch: 96%;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.atlas__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1000px) { .atlas__tabs { grid-template-columns: 1fr; gap: 10px; } }
.atlas__tab {
  display: grid;
  gap: 4px;
  min-height: 52px;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: var(--on-dark);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.35s var(--ease-out);
}
.atlas__tab:hover { border-color: rgba(255, 255, 255, 0.32); }
.atlas__tab-name { font-size: 0.92rem; font-weight: 620; letter-spacing: -0.01em; overflow-wrap: anywhere; }
@media (min-width: 640px) { .atlas__tab-name { font-size: 0.98rem; } }
.atlas__tab-meta { display: none; font-size: 0.8rem; line-height: 1.35; color: var(--on-dark-3); }
@media (min-width: 640px) { .atlas__tab-meta { display: block; } .atlas__tab { padding: 14px 16px; } }
.atlas__tab[aria-selected="true"] { border-color: var(--orange); background: rgba(227, 155, 42, 0.1); }
.atlas__tab[aria-selected="true"] .atlas__tab-name { color: var(--orange); }
.atlas__tab[aria-selected="true"] .atlas__tab-meta { color: var(--on-dark-2); }
.atlas__noscript { padding: 0 24px 24px; color: var(--on-dark-2); }

/* Linien der anatomischen Zeichnungen */
.atlas-svg .bone { fill: rgba(244, 244, 242, 0.045); stroke: rgba(244, 244, 242, 0.9); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.atlas-svg .bone--ctx { fill: rgba(244, 244, 242, 0.02); stroke: rgba(244, 244, 242, 0.42); }
.atlas-svg .bone--behind { fill: none; stroke: rgba(244, 244, 242, 0.36); stroke-dasharray: 4 5; }
.atlas-svg .bone-line { fill: none; stroke: rgba(244, 244, 242, 0.3); stroke-width: 1.1; stroke-linecap: round; }
.atlas-svg .bone-line--strong { stroke: rgba(244, 244, 242, 0.75); stroke-width: 2.4; }
.atlas-svg .disc { fill: rgba(244, 244, 242, 0.1); stroke: rgba(244, 244, 242, 0.18); stroke-width: 0.8; }
.atlas-svg .rib { fill: none; stroke: rgba(244, 244, 242, 0.18); stroke-width: 1.1; }
.atlas-svg .ghost { fill: none; stroke: rgba(244, 244, 242, 0.12); stroke-width: 1.2; }
.atlas-svg .ghosts { transition: opacity 0.5s ease; }
.atlas-svg .tendon { stroke: rgba(244, 244, 242, 0.4); stroke-width: 1.4; stroke-dasharray: 1 4; stroke-linecap: round; fill: none; }
.atlas-svg .tendon--strong { stroke-width: 2; stroke: rgba(244, 244, 242, 0.5); }
.atlas-svg .surface { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; opacity: 0.8; }
.atlas-svg .axis { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; stroke-dasharray: 3 6; }
.atlas-svg .axis--accent { stroke: var(--orange); opacity: 0.8; stroke-dasharray: 6 5; }
.atlas-svg .joint { fill: var(--ink-2); stroke: var(--orange); stroke-width: 2; }
.atlas-svg .joint-ring { fill: none; stroke: var(--orange); stroke-width: 1; stroke-dasharray: 2 4; opacity: 0.7; }
.atlas-svg .joint-mark { transition: opacity 0.4s ease; }
.atlas-svg .gauge { transition: opacity 0.5s ease; }
.atlas-svg .gauge-arc { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.atlas-svg .gauge-tick { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; }
.atlas-svg .gauge-tick--major { stroke: rgba(255, 255, 255, 0.62); }
.atlas-svg .gauge-sweep { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.atlas-svg .gauge-pointer { stroke: var(--orange); stroke-width: 1; opacity: 0.55; stroke-dasharray: 2 4; }
.atlas-svg .gauge-label { fill: var(--on-dark-2); font-size: 15px; font-family: inherit; font-variant-numeric: tabular-nums; }
.atlas-svg .anno { fill: var(--on-dark-3); font-size: 13px; font-family: inherit; letter-spacing: 0.01em; }
.atlas-svg .view { opacity: 0; transition: opacity 0.6s ease; }
.atlas-svg .view.is-active { opacity: 1; }
@media (max-width: 639px) {
  .atlas-svg .bone { stroke-width: 2.6; }
  .atlas-svg .bone-line { stroke-width: 1.6; }
  .atlas-svg .gauge-sweep { stroke-width: 3.4; }
  .atlas-svg .gauge-label { font-size: 24px; }
  .atlas-svg .anno { font-size: 20px; }
  .atlas-svg .axis, .atlas-svg .gauge-arc, .atlas-svg .gauge-tick { stroke-width: 1.5; }
}

/* ---------- Standort (Karte vor dem Footer) ---------- */
.title-bar::after {
  content: "";
  display: block;
  width: 1.4em;
  height: 0.075em;
  margin-top: 0.22em;
  border-radius: 99px;
  background: var(--orange);
  transform-origin: left;
}
.location-section { padding-bottom: clamp(64px, 8vw, 104px); }
.location { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1000px) {
  .location { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
}
.location__map {
  position: relative;
  min-height: 380px;
  border-radius: var(--r-l);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--ink-2);
  background-image:
    linear-gradient(to right, var(--grid-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-dark) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
@media (min-width: 1000px) { .location__map { min-height: 540px; } }
.location__map::after { /* feine Vignette über den Kacheln, unter Pin und Bedienelementen */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 450;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 0 60px rgba(10, 11, 12, 0.4);
}
.location__canvas { position: absolute; inset: 0; z-index: 1; }
.location__preview {
  position: absolute;
  inset: 0;
  z-index: 500;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.location.is-ready .location__preview { opacity: 0; visibility: hidden; }
.location__preview-pin { position: absolute; left: 50%; top: 46%; }
.location__consent {
  position: absolute;
  left: clamp(14px, 2vw, 22px);
  right: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 22px);
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: 440px;
  padding: 18px 20px;
  border-radius: var(--r-m);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(22, 23, 26, 0.9);
  color: var(--on-dark);
}
.location__consent-title { font-weight: 620; font-size: 1rem; }
.location__consent p:not(.location__consent-title) { font-size: 0.86rem; line-height: 1.5; color: var(--on-dark-2); }
.location__consent a { color: var(--on-dark); text-decoration-color: var(--orange); }
.location__consent label { display: inline-flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--on-dark-2); cursor: pointer; }
.location__consent input { width: 18px; height: 18px; accent-color: var(--orange); }
.location.is-loading .location__consent .btn { opacity: 0.6; pointer-events: none; }
.location__hud {
  position: absolute;
  left: clamp(14px, 2vw, 22px);
  top: clamp(14px, 2vw, 20px);
  z-index: 700;
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 23, 26, 0.82);
  pointer-events: none;
}
.location__hud span { font-size: 0.72rem; color: var(--on-dark-3); }
.location__hud b { font-size: 0.86rem; font-weight: 560; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.location__tap {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 700;
  display: none;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(22, 23, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--on-dark-2);
  font-size: 0.82rem;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}
.location.is-ready.needs-activation .location__tap { display: block; }

/* Leaflet an das Design anpassen */
.location .leaflet-container { background: #1c1d20; font-family: inherit; outline-offset: -3px; }
.location .leaflet-container:focus-visible { outline: 2px solid var(--orange); }
.location .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(0.8) contrast(1.12); opacity: 0; transition: opacity 0.8s ease; }
.location.is-ready .leaflet-tile-pane { opacity: 1; }
.location .leaflet-bar { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; overflow: hidden; box-shadow: none; }
.location .leaflet-top.leaflet-right { top: 6px; right: 6px; }
.location .leaflet-bar a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  line-height: 42px;
  background: rgba(22, 23, 26, 0.9);
  color: var(--on-dark);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.location .leaflet-bar a:hover { background: rgba(32, 34, 38, 0.95); color: var(--orange); }
.location .leaflet-bar a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.location .leaflet-bar a.leaflet-disabled { color: var(--on-dark-3); background: rgba(22, 23, 26, 0.9); }
.location .leaflet-control-attribution {
  padding: 3px 8px;
  border-radius: 8px 0 0 0;
  background: rgba(22, 23, 26, 0.9);
  color: var(--on-dark-2);
  font-size: 11px;
}
.location .leaflet-control-attribution a { color: var(--on-dark); }
.location .leaflet-bottom { z-index: 1000; }

/* Standort-Pin */
.loc-marker { background: none; border: 0; }
.loc-pin { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.loc-pin > * { position: absolute; }
.loc-pin__cross { background: linear-gradient(to right, transparent, rgba(227, 155, 42, 0.55) 32%, transparent 46%, transparent 54%, rgba(227, 155, 42, 0.55) 68%, transparent); }
.loc-pin__cross--x { left: -150px; top: 0; width: 300px; height: 1px; }
.loc-pin__cross--y { left: 0; top: -150px; width: 1px; height: 300px; background: linear-gradient(to bottom, transparent, rgba(227, 155, 42, 0.55) 32%, transparent 46%, transparent 54%, rgba(227, 155, 42, 0.55) 68%, transparent); }
.loc-pin__ring {
  left: -9px; top: -9px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  opacity: 0.35;
  transform: scale(2.2);
}
.loc-pin__shadow { left: -9px; top: -3px; width: 18px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, 0.5); filter: blur(1.5px); }
.loc-pin__drop { left: -18px; top: -47px; width: 36px; height: 48px; max-width: none; overflow: visible; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45)); transform-origin: 50% 100%; }
.loc-pin__drop path { fill: var(--orange); stroke: #16171a; stroke-width: 1.5; }
.loc-pin__drop circle { fill: #16171a; }
.loc-pin { --lead-rot: -32deg; }
.loc-pin__leader { left: 12px; top: -40px; width: 58px; height: 1px; background: var(--orange); transform: rotate(var(--lead-rot)); transform-origin: 0 50%; opacity: 0.85; }
.loc-pin__label {
  left: 60px; top: -94px;
  display: grid;
  gap: 1px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(227, 155, 42, 0.55);
  background: rgba(22, 23, 26, 0.92);
  color: var(--on-dark-2);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}
.loc-pin__label b { color: var(--on-dark); font-weight: 620; font-size: 13px; }
/* Schmale Karten: kürzere Beschriftung, Vorschau-Pin oberhalb des Einwilligungsfelds */
@media (max-width: 999px) {
  .loc-pin__leader { width: 38px; }
  .loc-pin__label { left: 42px; top: -80px; }
  .loc-pin__long { display: none; }
  .location__preview-pin { top: 27%; }
}

/* Ablauf: Messkreuz zeichnet sich, Pin setzt auf, Ring pulsiert, Hinweislinie und Beschriftung folgen */
.motion .location:not(.is-live) .loc-pin > * { opacity: 0; }
.motion .location.is-live .loc-pin__cross--x { animation: loc-draw-x 1s var(--ease-out) both; }
.motion .location.is-live .loc-pin__cross--y { animation: loc-draw-y 1s var(--ease-out) 0.1s both; }
.motion .location.is-live .loc-pin__drop { animation: loc-pin-in 0.8s var(--ease-out) 0.35s both; }
.motion .location.is-live .loc-pin__shadow { animation: loc-fade 0.8s ease 0.5s both; }
.motion .location.is-live .loc-pin__ring { animation: loc-ring 2.8s var(--ease-out) 1s infinite both; }
.motion .location.is-live .loc-pin__ring--late { animation-delay: 2.4s; }
.motion .location.is-live .loc-pin__leader { animation: loc-leader 0.7s var(--ease-out) 1s both; }
.motion .location.is-live .loc-pin__label { animation: develop 0.9s var(--ease-out) 1.25s both; }
.location:not(.is-visible) .loc-pin__ring { animation-play-state: paused; }
@keyframes loc-draw-x { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes loc-draw-y { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes loc-pin-in {
  0% { opacity: 0; transform: translateY(-16px) scale(0.55); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes loc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes loc-ring {
  0% { opacity: 0.75; transform: scale(0.6); }
  70%, 100% { opacity: 0; transform: scale(4.2); }
}
@keyframes loc-leader { from { transform: rotate(var(--lead-rot)) scaleX(0); } to { transform: rotate(var(--lead-rot)) scaleX(1); } }

/* Informationskarte */
.location__card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-l);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.location__name { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 620; letter-spacing: -0.02em; color: var(--on-dark); }
.location__address { margin-top: 6px; font-size: 1.05rem; line-height: 1.55; color: var(--on-dark-2); }
.location__contact { list-style: none; display: grid; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.location__contact li { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.location__contact a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 540;
}
.location__contact a span { display: block; font-size: 0.8rem; font-weight: 450; color: var(--on-dark-3); }
.location__contact .icon { color: var(--orange); }
.location__contact a:hover b { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 0.2em; }
.location__contact b { font-weight: 560; }
.location__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.location__actions .btn { min-width: 0; white-space: normal; text-align: center; }
.location__actions .btn--route { grid-column: 1 / -1; }
.location__note { font-size: 0.8rem; color: var(--on-dark-3); text-align: center; }
@media (max-width: 519px) { .location__actions { grid-template-columns: 1fr; } }

/* Einblendung beim Scrollen */
.motion [data-reveal="title"] { transition: none; }
.motion [data-reveal="title"]:not(.is-in) { opacity: 0; transform: none; filter: none; }
.motion [data-reveal="title"]:not(.is-in)::after { transform: scaleX(0); }
.motion [data-reveal="title"].is-in { animation: title-in 1.3s var(--ease-out) both; }
.motion [data-reveal="title"].is-in::after { animation: draw 1.1s var(--ease-out) 0.45s both; }
.motion [data-reveal="map"] { transition: opacity 0.9s ease, transform 1.2s var(--ease-out), filter 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.motion [data-reveal="map"]:not(.is-in) { opacity: 0; transform: scale(0.985); filter: brightness(0.5); }

/* Übergang zum Footer */
main:has(> .location-section:last-child) + .site-footer { padding-top: 0; }
main:has(> .location-section:last-child) + .site-footer .footer__top {
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Cookie-Einwilligung: Banner und Einstellungen ---------- */
.consent {
  position: fixed;
  z-index: 90;
  left: 12px;
  right: 12px;
  bottom: calc(var(--callbar-h) + 10px);
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--r-m);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1b1c1f;
  color: var(--on-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 28px 60px -24px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
}
.consent.is-shown { opacity: 1; transform: none; }
.consent.is-leaving { opacity: 0; transform: translateY(12px); transition: opacity 0.28s ease, transform 0.3s ease; }
.consent[hidden] { display: none; }
@media (min-width: 900px) { .consent { left: 24px; right: 24px; bottom: 24px; } }
.consent__title { font-size: 1.15rem; font-weight: 620; letter-spacing: -0.015em; color: var(--on-dark); }
.consent__text { margin-top: 8px; font-size: 0.95rem; line-height: 1.55; color: var(--on-dark-2); max-width: 64ch; }
.consent__link { display: inline-block; margin-top: 10px; font-size: 0.9rem; color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
.consent__link:hover { color: #fff; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.consent__actions .btn { min-width: 0; padding: 0 1rem; }
.consent__settings {
  grid-column: 1 / -1;
  order: 3;
  justify-self: center;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: none;
  color: var(--on-dark-2);
  font-size: 0.95rem;
  font-weight: 560;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 0.25em;
  cursor: pointer;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.consent__settings:hover { color: var(--on-dark); text-decoration-color: var(--orange); }
@media (min-width: 640px) {
  .consent__actions { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .consent__settings { grid-column: auto; order: 0; justify-self: start; margin-right: 8px; }
}
.consent :focus-visible, .consent-dialog :focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.consent .btn--primary:focus-visible, .consent-dialog .btn--primary:focus-visible { outline-color: #fff; }

.consent-dialog {
  width: min(640px, calc(100% - 24px));
  max-height: min(88vh, 780px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-l);
  background: #1b1c1f;
  color: var(--on-dark);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}
.consent-dialog[open] { display: flex; flex-direction: column; animation: consent-in 0.45s var(--ease-out) both; }
.consent-dialog.is-closing { animation: consent-out 0.2s ease both; }
.consent-dialog::backdrop { background: rgba(10, 11, 12, 0.62); }
.consent-dialog[open]::backdrop { animation: consent-fade 0.35s ease both; }
@keyframes consent-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes consent-out { to { opacity: 0; transform: translateY(8px); } }
@keyframes consent-fade { from { opacity: 0; } }
.consent-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.consent-dialog__head h2 { font-size: 1.3rem; letter-spacing: -0.02em; color: var(--on-dark); }
.consent-dialog__close {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--on-dark-2);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.consent-dialog__close:hover { color: var(--orange); border-color: rgba(227, 155, 42, 0.6); }
.consent-dialog__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.consent-dialog__body { padding: 18px 24px 8px; overflow-y: auto; overscroll-behavior: contain; }
.consent-dialog__intro { font-size: 0.93rem; line-height: 1.55; color: var(--on-dark-2); }
.consent-dialog__intro a { color: var(--on-dark); text-decoration-color: var(--orange); text-underline-offset: 0.2em; }
.consent-cats { list-style: none; margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.consent-cat { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.consent-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.consent-cat__name { font-size: 1rem; font-weight: 600; color: var(--on-dark); cursor: pointer; }
.consent-cat.is-unused .consent-cat__name { color: var(--on-dark-2); cursor: default; }
.consent-cat__desc { margin-top: 6px; font-size: 0.88rem; line-height: 1.5; color: var(--on-dark-2); max-width: 52ch; }
.consent-cat__services, .consent-cat__note { margin-top: 6px; font-size: 0.8rem; line-height: 1.45; color: var(--on-dark-3); }
.consent-cat__always { flex: none; font-size: 0.82rem; font-weight: 600; color: var(--orange); }
.consent-switch {
  flex: none;
  position: relative;
  width: 46px; height: 28px;
  margin: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.consent-switch::before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--on-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease-out), background-color 0.25s ease;
}
.consent-switch:checked { background: var(--orange); }
.consent-switch:checked::before { transform: translateX(18px); background: var(--ink); }
.consent-switch:disabled { opacity: 0.4; cursor: not-allowed; }
.consent-dialog__foot {
  display: grid;
  gap: 10px;
  padding: 16px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 560px) { .consent-dialog__foot { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.consent-dialog__foot .btn { min-width: 0; padding: 0 1rem; }

/* Footer-Link „Cookie-Einstellungen“ */
.footer__link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-dark-2);
  font: inherit;
  cursor: pointer;
}
.footer__link-btn:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  .consent { transform: none; }
}

/* ---------- Bewegung beim Scrollen ---------- */
/* Belichtung: Inhalte „entwickeln“ sich wie auf einer Fotoplatte – kurz überbelichtet, dann scharf */
.motion [data-reveal] {
  transition: opacity 0.7s ease, filter 1.3s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(14px); filter: brightness(2.2) contrast(0.55) blur(1.5px); }
.section--dark.motion [data-reveal]:not(.is-in),
.motion .section--dark [data-reveal]:not(.is-in) { filter: brightness(0.4) blur(1.5px); }

/* Verschluss: Bilder werden wie eine Belichtung freigegeben */
.motion [data-reveal="shutter"] {
  transition: clip-path 1.2s var(--ease-out), transform 1.2s var(--ease-out), opacity 0.6s ease;
  transition-delay: var(--d, 0s);
}
.motion [data-reveal="shutter"]:not(.is-in) {
  clip-path: inset(0 0 100% 0 round var(--r-l));
  transform: translateY(24px);
  filter: brightness(1.6);
  opacity: 1;
}
.motion [data-reveal="shutter"].is-in { filter: none; transition: clip-path 1.2s var(--ease-out), transform 1.2s var(--ease-out), filter 1.6s var(--ease-out) 0.3s; }
.motion [data-reveal="shutter"].is-in { clip-path: inset(0 0 0 0 round var(--r-l)); }

/* Messmarken zeichnen sich */
.motion [data-reveal="ticks"] li::before { transform: scaleX(0); transition: transform 0.8s var(--ease-out); }
.motion [data-reveal="ticks"].is-in li::before { transform: scaleX(1); }
.motion [data-reveal="ticks"].is-in li:nth-child(2)::before { transition-delay: 0.08s; }
.motion [data-reveal="ticks"].is-in li:nth-child(3)::before { transition-delay: 0.16s; }
.motion [data-reveal="ticks"].is-in li:nth-child(4)::before { transition-delay: 0.24s; }
.motion [data-reveal="ticks"].is-in li:nth-child(5)::before { transition-delay: 0.32s; }
.motion [data-reveal="ticks"]:not(.is-in) { opacity: 1; transform: none; filter: none; }

/* Hero: Überschrift erscheint Zeile für Zeile */
.motion .hero h1 .line {
  display: block;
  animation: title-in 1.4s var(--ease-out) both;
  animation-delay: calc(0.1s + var(--i, 0) * 0.16s);
}
.motion .hero h1 .accent-line::after { animation: draw 1.1s var(--ease-out) 0.55s both; }
.motion .hero__lead, .motion .hero .actions, .motion .hero__facts { animation: develop 1.2s var(--ease-out) both; }
.motion .hero__lead { animation-delay: 0.3s; }
.motion .hero .actions { animation-delay: 0.4s; }
.motion .hero__facts { animation-delay: 0.5s; }
.motion .hero__photo { animation: shutter 1.4s var(--ease-out) 0.15s both; }
.motion .hero .study--hero { animation: develop 1.2s var(--ease-out) 0.55s both; }
/* Seitentitel aller Unterseiten: derselbe Ablauf wie auf der Startseite */
.motion .page-hero .breadcrumb { animation: develop 0.9s var(--ease-out) both; }
.motion .page-hero h1 { animation: title-in 1.3s var(--ease-out) 0.1s both; }
.motion .page-hero h1::after { animation: draw 1.1s var(--ease-out) 0.55s both; }
.motion .page-hero__lead { --rise: 12px; animation: title-in 1.2s var(--ease-out) 0.28s both; }
/* Aktiver Menüpunkt: die orange Linie zeichnet sich nach jedem Seitenwechsel neu */
.motion .nav a[aria-current="page"]::after { animation: draw 0.9s var(--ease-out) 0.3s both; }

/* Kacheln erscheinen als Liste, leicht versetzt */
.motion [data-reveal="tiles"]:not(.is-in) { opacity: 1; transform: none; filter: none; }
.motion [data-reveal="tiles"] > li { transition: opacity 0.6s ease, transform 1s var(--ease-out), filter 1.1s var(--ease-out); }
.motion [data-reveal="tiles"]:not(.is-in) > li { opacity: 0; transform: translateY(16px); filter: brightness(1.6) blur(1px); }
.motion [data-reveal="tiles"] > li:nth-child(2) { transition-delay: 0.05s; }
.motion [data-reveal="tiles"] > li:nth-child(3) { transition-delay: 0.1s; }
.motion [data-reveal="tiles"] > li:nth-child(4) { transition-delay: 0.15s; }
.motion [data-reveal="tiles"] > li:nth-child(5) { transition-delay: 0.2s; }
.motion [data-reveal="tiles"] > li:nth-child(6) { transition-delay: 0.25s; }
.motion [data-reveal="tiles"] > li:nth-child(7) { transition-delay: 0.3s; }
.motion [data-reveal="tiles"] > li:nth-child(8) { transition-delay: 0.35s; }

@keyframes title-in {
  0% { opacity: 0; transform: translateY(var(--rise, 0.24em)); filter: brightness(2.4) contrast(0.5) blur(2px); }
  35% { opacity: 1; }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes develop {
  0% { opacity: 0; filter: brightness(2.4) contrast(0.5) blur(2px); }
  35% { opacity: 1; }
  100% { opacity: 1; filter: none; }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes shutter {
  from { clip-path: inset(0 0 100% 0 round var(--r-l)); transform: translateY(30px); }
  to { clip-path: inset(0 0 0 0 round var(--r-l)); transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
}

/* ---------- Seitenwechsel: ruhige Überblendung, Kopfzeile bleibt stehen ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
.callbar { view-transition-name: callbar; }
::view-transition-old(root) { animation: 200ms ease-out both vt-fade-out; }
::view-transition-new(root) { animation: 320ms var(--ease-out) both vt-fade-in; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

@media print {
  .site-header, .header-spacer, .callbar, .mobile-nav, .location__map, .study__replay { display: none !important; }
  .section--dark, .site-footer, .panel--dark { background: #fff !important; color: #000 !important; }
}
