/* =====================================================================
   Fysio Family — shared navigation (navigation-01 adapted)
   Single source of truth, loaded on every page.
   Injected markup lives in fysio-nav.js. Absolute asset paths so it
   works from /, /blog/, /spieren/ alike.
   ===================================================================== */

/* Hide the OLD nav + top bar (kept in the DOM so their legacy JS keeps
   working without errors; visually replaced by the new component). */
#top-bar,
#main-nav { display: none !important; }

/* Embed/iframe mode (e.g. the booking popup loads /afspraak?embed=1): hide the
   injected nav + topbar so only the widget shows inside the popup. */
html.embed .navigation-01-header,
html.embed .ff-rebrand-slot,
html.embed .ff-topbar { display: none !important; }

/* Keep article anchors clear of both fixed navigation rows. */
html .tp-content [id] { scroll-margin-top: calc(124px + var(--ff-rebrand-height, 0px)); }
html #onze-naam { scroll-margin-top: calc(144px + var(--ff-rebrand-height, 0px)); }

/* Temporary name-change notice. The slot reserves space above page content;
   its measured height also keeps the existing fixed navigation aligned. */
.ff-rebrand-slot { height: var(--ff-rebrand-height, 0px); }
.ff-rebrand-slot[hidden] { display: none; }
.ff-rebrand {
  position: fixed;
  inset: 0 0 auto;
  z-index: 202;
  color: #e8edf6;
  background: linear-gradient(105deg, #302238 0%, #1b2b41 52%, #10384b 100%);
  border-bottom: 1px solid rgba(160, 204, 237, .2);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.ff-rebrand__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 1212px;
  margin: 0 auto;
  padding: 8px 52px;
  box-sizing: border-box;
}
.ff-rebrand__text { margin: 0; text-align: center; font-size: 13px; line-height: 20px; font-weight: 400; }
.ff-rebrand__text strong { color: #fff; font-weight: 700; white-space: nowrap; }
.ff-rebrand__close {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #d2dfec;
  background: transparent;
  cursor: pointer;
}
.ff-rebrand__close svg { width: 16px; height: 16px; }
.ff-rebrand__close:hover { color: #fff; background: rgba(255,255,255,.08); }
.ff-rebrand__close:focus-visible { outline: 2px solid #91d9ff; outline-offset: -5px; }
html.ff-rebrand-active { --ff-rebrand-height: 45px; }
@media (max-width: 560px) {
  html.ff-rebrand-active { --ff-rebrand-height: 57px; }
  .ff-rebrand__inner { min-height: 56px; padding-inline: 44px; }
  .ff-rebrand__text { font-size: 12px; line-height: 19px; }
  .ff-rebrand__text strong { display: block; font-size: 13px; }
}

/* ---------- Top phone / reimbursement bar ---------- */
.ff-topbar {
  --ff-topbar-h: 34px;
  position: fixed;
  top: var(--ff-rebrand-height, 0px);
  left: 0;
  right: 0;
  z-index: 99;
  height: var(--ff-topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 16px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  background-color: #0d1117;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.2s ease, visibility 0s;
}
.ff-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1180px;
}
.ff-topbar__msg { color: #bae6fd; }
@media (max-width: 560px) { .ff-topbar__msg { display: none; } }
.ff-topbar__inner > .ff-topbar__msg:only-child,
.ff-topbar a { margin-left: auto; }
.ff-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.ff-topbar a:hover { color: #00b8ee; }
.ff-topbar a svg { width: 14px; height: 14px; }
.ff-topbar__links { display: inline-flex; align-items: center; gap: 16px; margin-left: auto; }
.ff-topbar__links a { margin-left: 0; }
.ff-topbar__languages { display: none; }

/* =====================================================================
   navigation-01 (adapted to Fysio Family)
   ===================================================================== */
.navigation-01-header {
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-dropdown: linear(0, 0.005, 0.02 2.1%, 0.081 4.7%, 0.467 15.7%, 0.563, 0.645, 0.717, 0.778 28.5%, 0.829 32%, 0.872 35.8%, 0.909 40.1%, 0.938 44.9%, 0.961 50.3%, 0.977 56.5%, 0.987 63.6%, 0.994 72.3%, 1);
  --duration-dropdown: 0.5s;
  --clr-light: rgba(13, 17, 23, 0.72);
  --corner-shape: superellipse(1.2);
  --box-shadow: 0px 4px 4px 0px hsla(0, 0%, 0%, 0.039), 0px 0px 1px 0px hsla(0, 0%, 0%, 0.62);

  position: fixed;
  top: calc(34px + var(--ff-rebrand-height, 0px));
  z-index: 100;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  overflow: visible;
  color: white;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 450;
  transition: top 0.45s var(--ease-dropdown);
}
.navigation-01-header.is-scrolled { top: calc(34px + var(--ff-rebrand-height, 0px)); }

.navigation-01-header *,
.navigation-01-header *::before,
.navigation-01-header *::after { box-sizing: border-box; }

.navigation-01-header a { color: inherit; text-decoration: none; }
.navigation-01-header ul,
.navigation-01-header li { padding: 0; margin: 0; list-style: none; }
.navigation-01-header button:where(:not(.lang-btn):not(.lang-dropdown-item)) { padding: 0; border: 0; color: inherit; font: inherit; background: none; cursor: pointer; }
.navigation-01-header img,
.navigation-01-header svg { display: block; max-width: 100%; }

.navigation-01-header .header-actions {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.navigation-01-header .header-actions #lang-switcher { margin-right: 0; }

.navigation-01-header .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 16px;
  border-radius: 9999px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  background: linear-gradient(135deg, #7d4c8d, #0b82c5);
  box-shadow: 0 6px 20px rgba(11, 130, 197, 0.35);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.navigation-01-header .cta svg { width: 14px; height: 14px; }
@media (hover: hover) { .navigation-01-header .cta:hover { opacity: 0.9; transform: translateY(-1px); } }
.navigation-01-header .cta:active { transform: scale(0.98); }

.navigation-01-header .header-shell {
  --header-shell-expanded-max: 1180px;
  --header-shell-scrolled-max: 1120px;
  position: relative;
  width: 100%;
  max-width: var(--header-shell-max, var(--header-shell-expanded-max));
  transition: max-width 0.8s var(--ease-dropdown);
}

.navigation-01-header .header-bar {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  corner-shape: var(--corner-shape);
  pointer-events: none;
  opacity: 0;
  background-color: var(--clr-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity 0.35s var(--ease-out-cubic);
}
.navigation-01-header.is-scrolled .header-bar { opacity: 1; }
.navigation-01-header.is-scrolled .header-shell { max-width: var(--header-shell-max-scrolled, var(--header-shell-scrolled-max)); }

/* Keep language controls stable: hover must not move the navigation. */
.navigation-01-header .lang-name,
.navigation-01-header .lang-section-label,
.navigation-01-header .lang-more-label { display: none; }
.navigation-01-header .lang-btn { min-height: 44px; }
/* Desktop language choices sit directly on the header without visible tiles. */
.navigation-01-header .header-actions .lang-btn {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.navigation-01-header .lang-more-btn { min-width: 44px; }
.navigation-01-header #lang-search { min-height: 44px; }
.navigation-01-header .lang-dropdown-item { min-height: 44px; font-size: 14px; }

.navigation-01-header .header-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 6px 12px 6px 16px;
  overflow: visible;
}

.navigation-01-header :where(a, button):focus-visible {
  outline: 2px solid #00b8ee;
  outline-offset: 2px;
  box-shadow: none;
}

.navigation-01-header .logo { justify-self: start; display: block; width: auto; height: 48px; border-radius: 9999px; transition: height 0.45s var(--ease-out-cubic); }
.navigation-01-header.is-scrolled .logo { height: 26px; }
.navigation-01-header .logo svg,
.navigation-01-header .logo img { width: auto; height: 100%; max-width: none; }

.navigation-01 {
  grid-column: 2;
  justify-self: center;
  position: relative;
  overflow: visible;
  padding-inline: 8px;
  border-radius: 9999px;
  corner-shape: var(--corner-shape);
}

.navigation-01 .nav-list {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 3px;
}

.navigation-01 .nav-flyout {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: -4px;
  z-index: 10;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0ms linear 180ms;
}
.navigation-01 .nav-flyout[hidden] { display: block; }
.navigation-01 .nav-flyout::before { content: ""; position: absolute; top: -12px; left: 0; width: 100%; height: 12px; pointer-events: none; }
.navigation-01 .nav-flyout.is-open { visibility: visible; pointer-events: auto; transition: visibility 0ms; }
.navigation-01 .nav-flyout.is-open::before { pointer-events: auto; }

.navigation-01 .nav-flyout.is-open .nav-flyout__bg {
  --flyout-y: 0px;
  --flyout-scale: 1;
  background-color: var(--clr-light);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.navigation-01 .nav-flyout.is-open .nav-flyout__viewport { --flyout-y: 0px; --flyout-scale: 1; }

.navigation-01 .nav-flyout__bg,
.navigation-01 .nav-flyout__viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 16px;
  corner-shape: var(--corner-shape);
  --flyout-y: -4px;
  --flyout-scale: 0.98;
  transform: translate3d(var(--flyout-x, 0px), var(--flyout-y), 0) scale(var(--flyout-scale));
  transition:
    transform var(--duration-dropdown) var(--ease-dropdown),
    width var(--duration-dropdown) var(--ease-dropdown),
    height var(--duration-dropdown) var(--ease-dropdown);
}
.navigation-01 .nav-flyout__bg {
  z-index: 0;
  will-change: width, height, transform;
  background-color: rgba(0, 0, 0, 0);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform var(--duration-dropdown) var(--ease-dropdown),
    width var(--duration-dropdown) var(--ease-dropdown),
    height var(--duration-dropdown) var(--ease-dropdown),
    background-color 180ms var(--ease-out-quad),
    -webkit-backdrop-filter 180ms var(--ease-out-quad),
    backdrop-filter 180ms var(--ease-out-quad);
}
.navigation-01 .nav-flyout__viewport { z-index: 1; overflow: hidden; }

.navigation-01 .nav-flyout__bg.is-instant,
.navigation-01 .nav-flyout__viewport.is-instant { transition: transform 0s, width 0s, height 0s; }

.navigation-01 .nav-flyout__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--duration-dropdown) var(--ease-dropdown),
    opacity 180ms var(--ease-out-quad);
}
.navigation-01 .nav-flyout__panel.is-active { opacity: 1; pointer-events: auto; transform: translate3d(0, 0, 0); }
.navigation-01 .nav-flyout__panel.is-leaving-left,
.navigation-01 .nav-flyout__panel.is-enter-left { opacity: 0; transform: translate3d(-200px, 0, 0); }
.navigation-01 .nav-flyout__panel.is-leaving-right,
.navigation-01 .nav-flyout__panel.is-enter-right { opacity: 0; transform: translate3d(200px, 0, 0); }

.navigation-01 .nav-dropdown__inner { position: relative; }
.navigation-01 .nav-dropdown__list { position: relative; z-index: 1; display: flex; flex-direction: column; }

.navigation-01 .nav-dropdown__pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 13px;
  corner-shape: var(--corner-shape);
  opacity: 0;
  background: rgba(56, 189, 248, 0.14);
  transform: translate3d(0, 0, 0);
  transition:
    transform 200ms var(--ease-out-cubic),
    height 200ms var(--ease-out-cubic),
    opacity 150ms ease;
}
.navigation-01 .nav-dropdown__pill.is-instant { transition: opacity 150ms ease; }
.navigation-01 .nav-dropdown__pill.is-visible { opacity: 1; }

.navigation-01 .nav-dropdown__item {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 13px;
  corner-shape: var(--corner-shape);
  text-align: left;
}
.navigation-01 .nav-dropdown__title { font-weight: 500; line-height: 1.2; display: inline-flex; align-items: center; gap: 8px; }
.navigation-01 .nav-dropdown__description { color: hsla(0, 0%, 100%, 0.55); font-size: 13px; line-height: 1.35; }

.navigation-01 .nav-badge {
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 2px 7px; border-radius: 999px; color: #fff;
  background: #22c55e; text-transform: uppercase;
}

.navigation-01 .nav-flyout__panel--mega .nav-dropdown__inner { display: flex; align-items: stretch; width: 640px; }
.navigation-01 .nav-flyout__panel--mega .nav-dropdown__sidebar { position: relative; flex: 0 0 42%; padding: 4px 0 4px 4px; }
.navigation-01 .nav-flyout__panel--mega .nav-dropdown__item { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }

.navigation-01 .nav-dropdown__preview { position: relative; flex: 1; margin: 4px; border-radius: 13px; corner-shape: var(--corner-shape); background-color: black; }
.navigation-01 .nav-dropdown__preview-panel { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease-out-quad); }
.navigation-01 .nav-dropdown__preview-panel.is-active,
.navigation-01 .nav-dropdown__preview-panel.is-entering.is-entering-active { opacity: 1; }
.navigation-01 .nav-dropdown__preview-panel.is-active .nav-dropdown__placeholder img,
.navigation-01 .nav-dropdown__preview-panel.is-active .nav-dropdown__placeholder video,
.navigation-01 .nav-dropdown__preview-panel.is-entering.is-entering-active .nav-dropdown__placeholder img,
.navigation-01 .nav-dropdown__preview-panel.is-entering.is-entering-active .nav-dropdown__placeholder video { transform: scale(1); }
.navigation-01 .nav-dropdown__preview-panel.is-entering { opacity: 0; }
.navigation-01 .nav-dropdown__preview-panel.is-entering .nav-dropdown__placeholder img,
.navigation-01 .nav-dropdown__preview-panel.is-entering .nav-dropdown__placeholder video { transform: scale(1.1); }
.navigation-01 .nav-dropdown__placeholder { width: 100%; height: 100%; overflow: hidden; border-radius: 13px; corner-shape: var(--corner-shape); }
.navigation-01 .nav-dropdown__placeholder img,
.navigation-01 .nav-dropdown__placeholder video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.95; transform: scale(1.1); transition: transform 600ms var(--ease-out-cubic); }
.navigation-01 .nav-dropdown__preview-soon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: hsla(0, 0%, 100%, 0.4); font-size: 14px; letter-spacing: 0.02em; }

.navigation-01 .nav-apple-preview {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 13px;
  background: radial-gradient(ellipse at 50% 44%, #1b3029 0%, #101d23 48%, #090e16 100%);
}
.navigation-01 .nav-apple-preview canvas,
.navigation-01 .nav-apple-preview__poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.navigation-01 .nav-apple-preview__poster { object-fit: contain; }
.navigation-01 .nav-apple-preview canvas { opacity: 0; }
.navigation-01 .nav-apple-preview.is-ready canvas { opacity: 1; }
.navigation-01 .nav-apple-preview.is-ready .nav-apple-preview__poster { visibility: hidden; }

/* Pain maps remain complete: never crop their anatomy or embedded legend. */
.navigation-01 .nav-pattern-preview { height:100%; display:flex; flex-direction:column; padding:10px; overflow:hidden; border-radius:13px; background:#fff; color:#162b39; }
.navigation-01 .nav-pattern-preview img { display:block; flex:1; min-height:0; width:100%; height:0; object-fit:contain; }
.navigation-01 .nav-pattern-preview__caption { flex:none; padding:12px 8px 5px; border-top:1px solid #e4ecee; line-height:1.45; }
.navigation-01 .nav-pattern-preview__caption strong { display:block; font-size:14px; font-weight:600; }
.navigation-01 .nav-pattern-preview__caption span { display:block; margin-top:5px; color:#526977; font-size:12px; }
@media (min-width:1200px) and (pointer:fine) {
  .navigation-01 .nav-flyout__panel--knowledge .nav-dropdown__inner { width:680px; min-height:0; }
  .navigation-01 .nav-flyout__panel--knowledge .nav-dropdown__sidebar { flex-basis:48%; }
}

.navigation-01 .nav-flyout__panel--simple .nav-dropdown__inner { width: max-content; min-width: 220px; padding: 4px; }
.navigation-01 .nav-flyout__panel--simple .nav-dropdown__title { white-space: nowrap; }

.navigation-01 .nav-flyout__panel--featured .nav-dropdown__inner { display: flex; gap: 4px; padding: 4px; }
.navigation-01 .nav-featured__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 220px;
  height: 280px;
  padding: 16px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 13px;
  corner-shape: var(--corner-shape);
  background-color: var(--clr-light);
}
.navigation-01 .nav-featured__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 62%);
}
.navigation-01 .nav-featured__card:hover .nav-featured__image { transform: scale(1); }
.navigation-01 .nav-featured__image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.9; transform: scale(1.06); transition: transform 500ms var(--ease-out-cubic); }
.navigation-01 .nav-featured__content { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 4px; }

.navigation-01 .nav-list > li > .nav-item { opacity: 1; transition: opacity 150ms ease; }
.navigation-01:has(.nav-list > li > .nav-item:is(:hover, :focus-visible, [aria-expanded="true"])) .nav-list > li > .nav-item { opacity: 0.55; }
.navigation-01:has(.nav-list > li > .nav-item:is(:hover, :focus-visible, [aria-expanded="true"])) .nav-list > li > .nav-item:is(:hover, :focus-visible, [aria-expanded="true"]) { opacity: 1; }

.navigation-01 .nav-item { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 9999px; white-space: nowrap; }
.navigation-01 .nav-item:hover .nav-chevron,
.navigation-01 .nav-item:active .nav-chevron,
.navigation-01 .nav-item[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
/* ponytail: flex:none — without it the SVG flex-collapses to 0 width in the not-scrolled header, then "grows" to 9px after the first scroll reflow. */
.navigation-01 .nav-chevron { flex: none; width: 9px; height: 9px; transition: transform 150ms ease-out; }

.navigation-01 .nav-hover-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 9999px;
  corner-shape: var(--corner-shape);
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translate3d(0, 0, 0);
  transition:
    transform 200ms var(--ease-out-cubic),
    width 200ms var(--ease-out-cubic),
    opacity 150ms ease;
}
.navigation-01 .nav-hover-bg.is-instant { transition: opacity 150ms ease; }
.navigation-01 .nav-hover-bg.is-visible { opacity: 1; }

.navigation-01 .nav-accordion { display: none; }

.navigation-01-header .nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  corner-shape: var(--corner-shape);
  color: white;
}
.navigation-01-header .nav-menu-toggle__icon { position: relative; width: 16px; height: 10px; }
.navigation-01-header .nav-menu-toggle__icon span {
  position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; border-radius: 999px;
  background-color: currentColor; transform-origin: center;
  transition: transform 0.35s var(--ease-out-cubic), top 0.35s var(--ease-out-cubic);
}
.navigation-01-header .nav-menu-toggle__icon span:nth-child(1) { transform: translateY(calc(-50% - 3.25px)); }
.navigation-01-header .nav-menu-toggle__icon span:nth-child(2) { transform: translateY(calc(-50% + 3.25px)); }
.navigation-01-header.is-mobile-nav-open .nav-menu-toggle__icon span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.navigation-01-header.is-mobile-nav-open .nav-menu-toggle__icon span:nth-child(2) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

@media (max-width: 1199px), (pointer: coarse) {
  /* Keep the slim language/contact row visible above the navigation. */
  .ff-topbar { --ff-topbar-h: 40px; z-index: 201; justify-content: space-between; gap: 8px; }
  .ff-topbar__languages { display: block; min-width: 0; }
  .ff-topbar__languages #lang-switcher { display: flex; margin: 0; }
  .ff-topbar__languages #lang-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: none;
  }
  .ff-topbar__languages .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 4px 6px;
    position: relative;
    isolation: isolate;
    overflow: visible;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #bdc9d9;
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 0;
    line-height: 1;
    transition: background-color 150ms ease, color 150ms ease;
  }
  /* The visible tile is 28px high with a roomier 40px touch area. */
  .ff-topbar__languages .lang-btn::before {
    content: "";
    position: absolute;
    inset: 6px 0;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(159, 190, 222, 0.18);
    border-radius: 8px;
    background: #17202d;
    transition: background-color 150ms ease, border-color 150ms ease;
  }
  .ff-topbar__languages .lang-btn.active { color: #fff; background: transparent; box-shadow: none; }
  .ff-topbar__languages .lang-btn.active::before {
    background: linear-gradient(125deg, rgba(125,76,141,.65), rgba(11,130,197,.7));
    border-color: rgba(155, 211, 244, .38);
  }
  .ff-topbar__languages .lang-btn:hover { color: #fff; background: transparent; }
  .ff-topbar__languages .lang-btn:hover::before { border-color: #69869d; }
  .ff-topbar__languages .lang-flag { width: 14px; height: 10px; margin-right: 4px; border-radius: 2px; }
  .ff-topbar__languages .lang-name,
  .ff-topbar__languages .lang-section-label,
  .ff-topbar__languages .lang-more-label { display: none; }
  .ff-topbar__languages .lang-more-btn { min-width: 36px; letter-spacing: 0 !important; }
  .ff-topbar__languages #lang-more-wrap { position: static; }
  .ff-topbar__languages #lang-more-dropdown {
    top: calc(100% + 8px);
    left: 16px;
    right: auto;
    width: min(340px, calc(100vw - 32px));
    max-height: min(340px, calc(100dvh - 88px - var(--ff-rebrand-height, 0px)));
    padding: 8px 0;
    border-color: #344258;
    border-radius: 18px;
    overscroll-behavior: contain;
  }
  .ff-topbar__languages .lang-dropdown-item { min-height: 44px; font-size: 14px; }
  .ff-topbar__languages #lang-search { min-height: 44px; }
  .ff-topbar__languages button:focus-visible { outline: 2px solid #91d9ff; outline-offset: 2px; }
  .ff-topbar__inner { width: auto; flex: none; }
  .ff-topbar__msg, .ff-topbar__links a span { display: none; }
  .ff-topbar__links { gap: 2px; }
  .ff-topbar__links a { justify-content: center; width: 40px; min-height: 40px; border-radius: 50%; }
  .ff-topbar__links a:hover { background: rgba(255,255,255,.06); }
  .ff-topbar__links a svg { width: 16px; height: 16px; }
  .navigation-01-header { top: calc(40px + var(--ff-rebrand-height, 0px)); padding: 4px 16px; }
  .navigation-01-header.is-scrolled { top: calc(40px + var(--ff-rebrand-height, 0px)); }
  html .ff-info-target, html .treatment-spotlight, html .treatment-card { scroll-margin-top: calc(144px + var(--ff-rebrand-height, 0px)); }
  .navigation-01-header .header-shell,
  .navigation-01-header.is-scrolled .header-shell { max-width: none; }
  /* Start with logo + hamburger; show the appointment CTA after scrolling.
     Opening the menu at the top only adds the menu's background. */
  .navigation-01-header.is-mobile-nav-open .header-bar { opacity: 1; }
  .navigation-01-header:not(.is-scrolled) .cta {
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0s 0.3s;
  }
  .navigation-01-header .header-content { display: flex; align-items: center; gap: 10px; padding-inline: 12px; padding-left: 16px; }
  .navigation-01-header .logo { flex: none; height: 44px; margin-right: auto; }
  .navigation-01-header.is-scrolled .logo,
  .navigation-01-header.is-mobile-nav-open .logo { height: 22px; }
  .navigation-01-header .cta {
    position: relative;
    isolation: isolate;
    gap: 7px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 20px;
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    background: transparent;
    box-shadow: none;
  }
  /* A slimmer 34px pill inside the unchanged 44px touch target. */
  .navigation-01-header .cta::before {
    content: "";
    position: absolute;
    inset: 5px 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, #7d4c8d, #0b82c5);
    box-shadow: 0 3px 10px rgba(11, 130, 197, 0.18);
    pointer-events: none;
  }
  .navigation-01-header .nav-menu-toggle { display: inline-flex; }
  /* Krappe breedtes: pijltje/hamburger mogen nooit platgeknepen worden; CTA-tekst mag ellipsen.
     min-width:0 op de hele keten (header-actions → cta → span), anders blokkeert
     flexbox' automatische min-content-breedte het krimpen en steekt de hamburger buiten de pill. */
  .navigation-01-header .header-actions { min-width: 0; }
  .navigation-01-header .cta svg,
  .navigation-01-header .nav-menu-toggle { flex: none; }
  .navigation-01-header .cta span { overflow: hidden; text-overflow: ellipsis; }

  .navigation-01 {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    grid-column: unset;
    justify-self: unset;
    max-height: calc(100dvh - 144px - var(--ff-rebrand-height, 0px));
    padding: 4px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 24px;
    corner-shape: var(--corner-shape);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background-color: rgba(13, 20, 30, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    clip-path: inset(0 0 100% 0 round 24px);
    transition:
      clip-path 0.55s var(--ease-dropdown),
      opacity 0.25s var(--ease-out-quad),
      visibility 0s linear 0.55s;
  }
  .navigation-01 .nav-list { flex: none; flex-direction: column; align-items: stretch; width: 100%; gap: 2px; padding: 0; }
  .navigation-01 .nav-list > li { display: block; opacity: 1 !important; }
  .navigation-01 .nav-list > li > .nav-item {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 16px 18px; border-radius: 24px; corner-shape: var(--corner-shape);
    font-size: 17px; opacity: 1 !important; transition: background-color 0.2s ease;
  }
  .navigation-01 .nav-list > li.is-expanded > .nav-item { background-color: rgba(255, 255, 255, 0.06); }
  .navigation-01 .nav-chevron { width: 11px; height: 11px; }
  .navigation-01 .nav-item:hover .nav-chevron,
  .navigation-01 .nav-item:active .nav-chevron { transform: none; }
  .navigation-01 .nav-item[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
  .navigation-01 .nav-hover-bg { display: none; }

  .navigation-01 .nav-flyout,
  .navigation-01 .nav-flyout[hidden],
  .navigation-01 .nav-flyout__bg,
  .navigation-01 .nav-flyout__viewport { display: none; }

  .navigation-01 .nav-accordion { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-dropdown); }
  .navigation-01 .nav-list > li.is-expanded > .nav-accordion { grid-template-rows: 1fr; }
  .navigation-01 .nav-accordion__inner { min-height: 0; overflow: hidden; }
  .navigation-01 .nav-flyout__panel.is-accordion {
    position: static; display: block; width: 100%; padding: 2px 0 10px;
    opacity: 1; pointer-events: auto; transform: none; transition: none;
  }
  .navigation-01 .nav-flyout__panel--mega .nav-dropdown__inner { width: 100%; flex-direction: column; }
  .navigation-01 .nav-flyout__panel--mega .nav-dropdown__sidebar { flex: none; width: 100%; padding: 0; }
  .navigation-01 .nav-flyout__panel--mega .nav-dropdown__preview,
  .navigation-01 .nav-flyout__panel--mega .nav-dropdown__pill { display: none; }
  .navigation-01 .nav-flyout__panel--simple .nav-dropdown__inner,
  .navigation-01 .nav-flyout__panel--featured .nav-dropdown__inner { width: 100%; padding: 0; }
  .navigation-01 .nav-flyout__panel--simple .nav-dropdown__pill,
  .navigation-01 .nav-flyout__panel--featured .nav-dropdown__pill { display: none; }
  .navigation-01 .nav-flyout__panel--featured .nav-dropdown__inner { flex-direction: column; gap: 0; }
  .navigation-01 .nav-featured__card {
    width: 100%; height: auto; padding: 11px 17px; border-radius: 24px;
    background-color: transparent; transition: background-color 0.2s ease;
  }
  .navigation-01 .nav-featured__card::after,
  .navigation-01 .nav-featured__image { display: none; }
  .navigation-01 .nav-featured__card:hover,
  .navigation-01 .nav-featured__card:focus-visible,
  .navigation-01 .nav-dropdown__item:hover,
  .navigation-01 .nav-dropdown__item:focus-visible { background-color: rgba(255, 255, 255, 0.05); }
  .navigation-01 .nav-featured__content { gap: 4px; }
  .navigation-01 .nav-dropdown__item { padding: 11px 17px; border-radius: 24px; transition: background-color 0.2s ease; }


  .navigation-01-header.is-mobile-nav-open { z-index: 200; }
  .navigation-01-header.is-mobile-nav-open .navigation-01 {
    opacity: 1; visibility: visible; pointer-events: auto; clip-path: inset(0 0 0 0 round 24px);
    transition: clip-path 0.55s var(--ease-dropdown), opacity 0.2s var(--ease-out-quad), visibility 0s;
  }
}

/* Tablet menus stay close to their trigger instead of stretching across the page. */
@media (min-width: 600px) and (max-width: 1199px), (min-width: 600px) and (pointer: coarse) {
  .navigation-01 { left: auto; width: 440px; max-width: 100%; }
}

/* Kleine telefoons (≤480px, o.a. iPhone 375–390px): logo + CTA + hamburger
   passen niet naast elkaar → alles iets compacter en de CTA-pijl weg.
   (Op Pro Max 430px paste het nét; daaronder kneep flexbox de iconen plat.) */
@media (max-width: 480px) {
  .navigation-01-header .header-content { gap: 6px; padding-left: 12px; }
  .navigation-01-header .cta { gap: 6px; padding: 6px 10px; font-size: 12px; }
  .navigation-01-header .cta svg { display: none; }
}

/* CTA-label: lang standaard, kort op schermen waar "Maak een afspraak"
   afknipt tot "Maak een afspr…" (≤374px: 360px-Androids, iPhone SE1). */
.navigation-01-header .cta .cta-short { display: none; }
@media (max-width: 374px) {
  .navigation-01-header .cta .cta-long { display: none; }
  .navigation-01-header .cta .cta-short { display: inline; }
}

@media (max-width: 374px) {
  .ff-topbar { padding-inline: 8px; gap: 4px; }
  .ff-topbar__languages .lang-btn { padding-inline: 5px; font-size: 11px; }
  .ff-topbar__languages #lang-buttons { gap: 4px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .ff-topbar,
  .ff-topbar *,
  .navigation-01-header,
  .navigation-01-header * { transition-duration: 0.01ms !important; }
}

/* Avoid inherited visibility delays before focusing the mobile menu. */
@media (prefers-reduced-motion: reduce) and (max-width: 1199px), (prefers-reduced-motion: reduce) and (pointer: coarse) {
  .navigation-01-header * { transition: none !important; }
}

/* ============================================================
   CURSOR RESTORE — kill the bespoke JS cursor site-wide.
   Hides #cursor-dot/#cursor-ring and restores the native system
   cursor. html-prefixed selectors have specificity (0,0,2) so they
   beat the inline  a,button,[onclick],input,textarea,select,label
   { cursor:none !important }  (specificity 0,0,1) on EVERY page,
   regardless of whether this file loads before or after the inline
   <style> (load order varies per page; specificity does not).
   ============================================================ */

/* 1. Remove the fake cursor visuals (JS may still set left/top on
      these, but display:none makes them invisible and non-layout). */
#cursor-dot, #cursor-ring { display: none !important; }

/* 2. Default native cursor on the document. */
html, body { cursor: auto !important; }

/* 3. Clickable things -> pointer. (0,0,2) beats inline (0,0,1) !important. */
html a,
html button,
html [onclick],
html select,
html label,
html summary,
html [role="button"] { cursor: pointer !important; }

/* 4. Text-entry fields -> text caret. */
html input,
html textarea { cursor: text !important; }

/* 4a. Non-text inputs are clickable, not text (these typed selectors
       have higher specificity (0,1,2) than rule 4, so they win). */
html input[type="checkbox"],
html input[type="radio"],
html input[type="range"],
html input[type="button"],
html input[type="submit"],
html input[type="reset"],
html input[type="file"],
html input[type="color"] { cursor: pointer !important; }

/* 5. Disabled controls -> not-allowed (native behaviour). */
html button:disabled,
html input:disabled,
html select:disabled,
html textarea:disabled { cursor: not-allowed !important; }

/* =====================================================================
   Fysio Family — shared footer (waabi-style, brand blue)
   Injected by fysio-nav.js (injectFooter). Old per-page footers are
   hidden by JS, not removed.
   ===================================================================== */
.ff-footer { padding: 12px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.ff-footer * { box-sizing: border-box; }
.ff-footer__panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(90% 130% at 0% 0%, #0d3a5e 0%, rgba(13, 58, 94, 0) 55%),
    radial-gradient(110% 130% at 100% 15%, #092a45 0%, rgba(9, 42, 69, 0) 60%),
    linear-gradient(180deg, #051523 0%, #030c16 55%, #02070d 100%);
}
/* glowing "room" — soft bloom + hot light panel, like waabi's pink box */
.ff-footer__bloom {
  position: absolute; inset: -12%;
  background: radial-gradient(46% 50% at 47% 64%,
    rgba(125, 211, 252, 0.18) 0%,
    rgba(56, 189, 248, 0.08) 42%,
    rgba(3, 11, 20, 0) 72%);
  pointer-events: none;
}
/* WebGL tunnel canvas (primary, waabi-style) */
.ff-footer__gl {
  position: absolute; inset: 0;
  pointer-events: none;
}
.ff-footer__gl canvas { display: block; width: 100%; height: 100%; }
.ff-footer__panel.ff-has-gl .ff-footer__scene,
.ff-footer__panel.ff-has-gl .ff-footer__bloom { display: none; }

/* looping light-tunnel video (fallback when WebGL is unavailable) */
.ff-footer__video {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  transform: scale(1.06) translate(var(--ff-vx, 0px), var(--ff-vy, 0px));
  transition: transform 0.4s ease-out;
}
.ff-footer__video video {
  width: 100%; height: 100%;
  object-fit: fill;
  opacity: 0.92;
}
.ff-footer__panel.ff-has-video .ff-footer__scene,
.ff-footer__panel.ff-has-video .ff-footer__bloom { display: none; }

.ff-footer__scene {
  position: absolute; inset: 0;
  perspective: 1100px;
  pointer-events: none;
}
.ff-zoomstack {
  position: absolute; left: 50%; top: 50%;
  width: 38%; height: 44%;
  transform: translate(-50%, -50%) translate(var(--ff-px, 0px), var(--ff-py, 0px));
  transition: transform 0.4s ease-out;
}
/* the bright end of the corridor */
.ff-zoomstack .ff-zcore {
  position: absolute; inset: 0; display: block;
  border-radius: 14px;
  background: linear-gradient(180deg,
    rgba(200, 232, 255, 0.62) 0%,
    rgba(115, 185, 245, 0.50) 45%,
    rgba(45, 125, 195, 0.40) 100%);
  filter: blur(18px);
}
/* stacked squares zooming outward - each one a slightly different colour */
.ff-zoomstack .ff-zr {
  position: absolute; inset: 0; display: block;
  border: 34px solid rgba(160, 212, 248, 0.4);
  border-radius: 18px;
  filter: blur(12px);
  opacity: 0;
  animation: ff-zoomring 14s linear infinite;
  animation-delay: calc(var(--i) * -2s);
  will-change: transform, opacity;
}
/* ponytail: alleen transform + opacity, zodat de animatie op de compositor
   draait. Een border-color in deze keyframes dwingt Chrome alle zeven
   vervaagde lagen elk frame opnieuw te tekenen; dat houdt hij niet bij en
   dan verschijnen halve ringen met harde randen. Het verloop van licht
   naar donker zit daarom in de opacity. */
@keyframes ff-zoomring {
  0%   { transform: scale(1.0);  opacity: 0; }
  7%   { opacity: 1; }
  30%  { transform: scale(1.45); opacity: 0.53; }
  60%  { transform: scale(2.05); opacity: 0.22; }
  85%  { transform: scale(2.65); opacity: 0.07; }
  100% { transform: scale(3.10); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ff-zoomstack .ff-zr { animation: none; opacity: 0.6; }
}
.ff-footer__inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  min-height: clamp(480px, 46vw, 620px);
  padding: clamp(44px, 6.5vw, 88px) clamp(24px, 5vw, 72px) clamp(20px, 3vw, 34px);
  display: flex; flex-direction: column;
}
.ff-footer__top {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
}
.ff-footer__intro { max-width: 340px; }
.ff-footer__intro h2 {
  margin: 0 0 22px;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 600; line-height: 1.18; letter-spacing: -0.01em;
  color: #fff;
}
.ff-footer__reach { margin: 0 0 14px; font-size: 15px; font-weight: 600; line-height: 1.7; color: rgba(255,255,255,0.92); }
.ff-footer__reach a { color: #fff; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.ff-footer__reach a:hover { color: #7dd3fc; }
.ff-footer__reach .ff-sep { margin: 0 6px; color: rgba(255,255,255,0.45); }
.ff-footer__rebrand { margin: 14px 0 0; font-size: 13px; line-height: 1.6; }
.ff-footer__rebrand a { color: rgba(224, 242, 254, 0.78); text-decoration: underline; text-underline-offset: 3px; }
.ff-footer__rebrand a:hover { color: #7dd3fc; }
.ff-footer__cols { display: flex; gap: clamp(28px, 4vw, 64px); }
.ff-footer__label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: rgba(186, 230, 253, 0.55); }
.ff-footer__col a {
  display: block; padding: 3.5px 0;
  font-size: 15px; color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 14px rgba(3, 15, 26, 0.6);
  text-decoration: none; transition: color .2s;
}
.ff-footer__col a:hover { color: #7dd3fc; }
.ff-footer__social { display: flex; gap: 12px; }
.ff-footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: #071627;
  transition: transform .2s, background .2s;
}
.ff-footer__social a:hover { transform: translateY(-2px); background: #d6efff; }
.ff-footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.ff-footer__bottom {
  margin-top: auto; padding-top: clamp(40px, 6vw, 90px);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
}
.ff-footer__legal { font-size: 13px; color: rgba(224, 242, 254, 0.6); }
.ff-footer__legal p { margin: 0 0 8px; }
.ff-footer__legal a { display: inline-flex; align-items: center; min-height: 24px; color: rgba(224, 242, 254, 0.75); text-decoration: none; margin-right: 18px; transition: color .2s; }
.ff-footer__legal a:hover { color: #7dd3fc; text-decoration: underline; text-underline-offset: 3px; }
.ff-footer__mark { display: block; width: clamp(240px, 36vw, 540px); height: auto; margin-bottom: -4px; }

@media (max-width: 860px) {
  .ff-footer { padding: 8px; }
  .ff-footer__panel { border-radius: 20px; }
  .ff-footer__inner { min-height: 0; padding: 48px 26px 24px; }
  .ff-footer__top { flex-direction: column; gap: 40px; }
  .ff-footer__intro { max-width: none; }
  .ff-footer__cols { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .ff-footer__scene {
    -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 30%);
    mask-image: linear-gradient(to bottom, transparent 4%, #000 30%);
  }
  .ff-zoomstack { width: 54%; height: 28%; top: 56%; }
  .ff-zoomstack .ff-zr { border-width: 18px; filter: blur(7px) brightness(1.6); }
  .ff-zoomstack .ff-zcore { filter: blur(12px) brightness(1.3); }
  .ff-footer__bloom { background: radial-gradient(60% 40% at 50% 72%, rgba(125, 211, 252, 0.40) 0%, rgba(56, 189, 248, 0.15) 45%, rgba(3, 11, 20, 0) 75%); }
  .ff-footer__bottom { padding-top: 56px; flex-direction: column-reverse; align-items: flex-start; gap: 30px; }
  .ff-footer__mark { width: min(70vw, 360px); }
}

/* =====================================================================
   Fysio Family — afspraak buttons: rotating gradient ring
   Applied by fysio-nav.js (upgradeAfspraakButtons) to pill links
   pointing at /afspraak. Brand gradient #7d4c8d -> #0b82c5.
   ===================================================================== */
@property --ffr {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes ff-grad-rotate { to { --ffr: 360deg; } }
.ff-grad-btn {
  border: 3px solid transparent !important;
  border-radius: 9999px !important;
  /* center: original brand fill · thin dark gap · rotating gradient ring */
  background:
    linear-gradient(135deg, #7d4c8d, #0b82c5) padding-box,
    conic-gradient(from var(--ffr),
      rgba(255, 255, 255, 0) 0deg,
      rgba(255, 255, 255, 0) 240deg,
      rgba(233, 245, 255, 0.85) 300deg,
      #ffffff 325deg,
      rgba(233, 245, 255, 0.55) 345deg,
      rgba(255, 255, 255, 0) 360deg) border-box !important;
  color: #fff !important;
  animation: ff-grad-rotate 3s linear infinite;
  transition: box-shadow .25s ease, transform .25s ease;
}
.ff-grad-btn:hover {
  box-shadow: 0 6px 26px rgba(11, 130, 197, 0.45), 0 2px 10px rgba(125, 76, 141, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .ff-grad-btn { animation: none; }
}

/* Navigate immediately; no full-page snapshots or delayed link handling. */
@view-transition { navigation: none; }

/* Anti-flashbang: de browsercanvas is standaard wit; tijdens paginawissels
   (View Transition of gewone load) schijnt dat wit door vóór de body-styles
   geladen zijn. Donkere canvas site-breed: */
html {
  background-color: #02070d;
}
/* Old per-page entrance fades must not delay the readable page. */
body { animation: none !important; }

/* Keep the same colours without resampling moving content behind the header. */
.navigation-01-header .header-bar {
  background-color: rgba(13, 17, 23, 0.94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* The blurred footer rings only move when visible and the page is idle. */
.ff-zoomstack .ff-zr { animation-play-state: paused; }
.ff-footer-in-view .ff-zr { animation-play-state: running; }
.ff-grad-btn { animation-play-state: paused; }
.ff-grad-btn.ff-button-in-view { animation-play-state: running; }
html.ff-motion-paused .ff-zr,
html.ff-motion-paused .ff-grad-btn { animation-play-state: paused !important; }

/* ── Spierpagina's: figures gecentreerd tussen de tekst ──
   ponytail: figures NIET meer rechts floaten. Dat gaf een grote lege void
   links bij pagina's met veel afbeeldingen en weinig tekst (de beelden
   stapelden rechts ver onder de tekst door). Nu gewoon gecentreerd
   gestapeld — werkt bij elk aantal beelden. img is al w-full max-w-lg mx-auto,
   kolom blijft max-w-3xl. */
#muscle-content figure { margin: 1.5rem auto; text-align: center; }

/* De toegankelijkheidsknop start verborgen — fysio-nav.js
   (initWidgetFade) toont hem pas na scrollen voorbij de hero. CSS-default
   voorkomt de flits bij binnenkomst voordat het JS draait. */
#a11y-toggle { opacity: 0; pointer-events: none; }

/* Mobile hero photo and footer stay still; ambient glow and CTA rings remain animated. */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  #hero-canvas { display: none !important; }
  .ff-zoomstack .ff-zr { animation-play-state: paused !important; }
}

/* Two approved pain maps in one knowledge-menu preview, without cropping. */
.navigation-01 .nav-pattern-preview__pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; flex:1; min-height:0; }
.navigation-01 .nav-pattern-preview__pair img { width:100%; height:100%; min-width:0; object-fit:contain; }

/* MK Studio credit: local asset, no tracking or animation. */
.mk-credit-row { position:relative; z-index:1; display:flex; justify-content:center; align-items:center; flex-wrap:wrap; width:100%; padding:10px 16px; box-sizing:border-box; }
.mk-credit-row .mk-credit { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:36px; max-width:100%; padding:2px 6px; box-sizing:border-box; color:inherit; font-family:inherit; font-size:12px; font-weight:400; line-height:1.4; letter-spacing:.015em; text-transform:none; text-decoration:none; white-space:nowrap; border-radius:4px; }
.mk-credit-row .mk-credit img { display:block; width:24px; height:24px; flex:0 0 24px; object-fit:contain; margin:0; }
.mk-credit-row .mk-credit:hover span { text-decoration:underline; text-underline-offset:4px; }
.mk-credit-row .mk-credit:focus-visible { outline:2px solid currentColor; outline-offset:4px; }


.ff-footer__locations { display: grid; gap: .55rem; margin: 1.35rem 0 1rem; }
.ff-footer__locations h3 { margin: 0 0 .15rem; color: #fff; font-size: 1.05rem; font-weight: 650; }
.ff-footer__place {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .22rem .65rem;
  align-items: center; padding: .8rem .9rem; border: 1px solid #47677c; border-radius: 12px;
  background: #102c40; color: #fff; text-decoration: none; line-height: 1.4;
}
.ff-footer__place:hover, .ff-footer__place:focus-visible { background: #16394f; border-color: #90d8fa; }
.ff-footer__place:focus-visible { outline: 2px solid #90d8fa; outline-offset: 2px; }
.ff-footer__district { grid-column: 1 / -1; color: #a8def8; font-size: .82rem; font-weight: 650; }
.ff-footer__place strong { grid-column: 1; color: #fff; font-size: 1rem; }
.ff-footer__street { grid-column: 1; color: #d5e2e9; font-size: .88rem; }
.ff-footer__route {
  grid-column: 2; grid-row: 2 / 4; padding: .32rem .45rem; border-radius: .45rem;
  background: #23495e; color: #f1faff; font-size: .78rem; font-weight: 650;
}
