/* ==========================================================================
   Lettertypes (zelf gehost in /fonts)
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400 600;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400 600;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  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: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 600;
  src: url(/fonts/instrument-sans-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 600;
  src: url(/fonts/instrument-sans-latin.woff2) format('woff2');
  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;
}

/* ==========================================================================
   Hendrivet — design 2026
   Zelfde merk (kleuren, lettertypes, pootjes, lichtblauwe hero met ronde
   onderkant), herwerkt voor leesbaarheid, toegankelijkheid (WCAG 2.2 AA)
   en een eigen accent: het blauwe kruis uit het logo.

   Breakpoints: tablet ≤ 1024px, mobiel ≤ 767px.
   ========================================================================== */

:root {
  /* Merkkleuren (ongewijzigd) */
  --navy: #00263e;
  --indigo: #1c244b;
  --blue: #408fce; /* merkblauw: logo, kruis, iconen, grote titels */
  --sky: #d9ebff;
  --grey: #f0f2f6;
  --gold: #f0ad4e;
  --white: #ffffff;

  /* Nieuw: afgeleide tinten voor toegankelijkheid */
  --blue-ink: #256aa3; /* tekstlinks en knoppen — 5.7:1 op wit, 4.7:1 op sky */
  --blue-deep: #1f5f94; /* hover */
  --mist: #f3f8fe; /* zachte achtergrond voor kaarten */
  --sky-strong: #c4dfff;
  --muted: #4a5d78; /* secundaire tekst — 6.7:1 op wit */
  --line: #d3dce8;
  --alert: #fff4e0;
  --alert-line: #e79a2b;
  --alert-ink: #6b3e00;

  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Instrument Sans', 'Inter', system-ui, sans-serif;

  /* Typografische schaal (vloeiend tussen mobiel en desktop) */
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.3vw, 1.375rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.4vw, 2.625rem);
  --fs-hero: clamp(2.75rem, 1.5rem + 5.5vw, 5.75rem);
  --fs-hero-home: clamp(3.75rem, 2rem + 8vw, 8.5rem);

  /* Ruimte */
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: clamp(2rem, 1.5rem + 2vw, 3rem);
  --space-xl: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-hero: clamp(36px, 6vw, 80px);

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-height: 84px;
  --shadow: 0 1px 2px rgba(0, 38, 62, 0.06), 0 8px 24px -8px rgba(0, 38, 62, 0.14);
}

/* ---------- Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  overflow-x: clip;
  margin: 0;
  background-color: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-accent);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Links in lopende tekst: altijd herkenbaar (niet enkel via kleur) */
.text a,
.legal a,
.inline-link,
.faq-answer a,
.emergency a:not(.btn) {
  color: var(--blue-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.text a:hover,
.legal a:hover,
.inline-link:hover,
.faq-answer a:hover,
.emergency a:not(.btn):hover {
  color: var(--blue-deep);
  text-decoration-thickness: 2px;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong,
b {
  font-weight: 600;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--blue-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--sky-strong);
  color: var(--navy);
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a[href^='tel:'] {
  white-space: nowrap;
}

/* ---------- Layout ---------- */

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

.section {
  padding-block: var(--space-xl);
}

.title {
  color: var(--navy);
  font-size: var(--fs-h2);
}

.title--navy {
  color: var(--navy);
}

.center {
  text-align: center;
}

.center.text,
.text.center {
  max-width: 62ch;
  margin-inline: auto;
}

.text {
  display: flow-root;
  max-width: 68ch;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
}

/* Het merkkruis: één vorm, op verschillende plaatsen herhaald */
.cross {
  --c: var(--blue);
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  background:
    linear-gradient(var(--c), var(--c)) center / 34% 100% no-repeat,
    linear-gradient(var(--c), var(--c)) center / 100% 34% no-repeat;
  border-radius: 2px;
}

/* ---------- Knoppen en links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.7em 1.4em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-accent);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background-color: var(--blue-ink);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--navy);
}

.btn--ghost {
  border-color: currentColor;
  color: var(--navy);
}

.btn--ghost:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn--light {
  background-color: var(--white);
  color: var(--navy);
}

.btn--light:hover {
  background-color: var(--sky);
}

.btn--sm {
  min-height: 44px;
  padding: 0.5em 1.1em;
  font-size: 1rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  color: var(--blue-ink);
  font-family: var(--font-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.arrow-link svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  transition: transform 0.2s;
}

.arrow-link:hover {
  color: var(--blue-deep);
  text-decoration-color: currentColor;
}

.arrow-link:hover svg {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 95;
  background-color: var(--sky);
  transition: box-shadow 0.25s, background-color 0.25s;
}

.site-header.is-scrolled {
  background-color: rgba(217, 235, 255, 0.94);
  box-shadow: 0 1px 0 rgba(0, 38, 62, 0.08), 0 10px 30px -18px rgba(0, 38, 62, 0.35);
}

/* Blur op een pseudo-element: backdrop-filter op de header zelf maakt hem het
   referentiekader van het (fixed) mobiele menu, waardoor dat na scrollen verschuift. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.site-header.is-scrolled::before {
  backdrop-filter: saturate(1.4) blur(10px);
}

body.menu-open .site-header {
  background-color: var(--sky);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-height);
}

.brand {
  display: block;
  flex: none;
  width: 196px;
  margin-right: auto;
}

.brand img {
  width: 196px;
  height: 56px;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ---------- Taalkeuze ---------- */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.55);
}

.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background-color 0.2s;
}

.lang-switch a:hover {
  background-color: var(--white);
}

.lang-switch a[aria-current='true'] {
  background-color: var(--navy);
  color: var(--white);
  font-weight: 600;
}

/* ---------- Dropdowns in de header (menu en taalkeuze) ---------- */

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-width: 56px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background-color: var(--white);
  color: var(--blue-ink);
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.dropdown-toggle:hover,
.dropdown-toggle[aria-expanded='true'] {
  box-shadow: var(--shadow);
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 10;
  display: grid;
  gap: 2px;
  min-width: 64px;
  padding: 8px;
  border-radius: var(--radius-s);
  background-color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.dropdown-toggle[aria-expanded='true'] + .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-list a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--navy);
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.dropdown-list a:hover {
  background-color: var(--mist);
}

.dropdown-list a[aria-current] {
  font-weight: 600;
}

/* ---------- Mobiel menu ---------- */

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 4px 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: 600 1rem/1 var(--font-accent);
  cursor: pointer;
}

.menu-toggle-box {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--white);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.2s;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.menu-toggle[aria-expanded='true'] .hamburger {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .hamburger::before {
  top: 0;
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] .hamburger::after {
  top: 0;
  transform: rotate(-90deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1rem var(--gutter) 2rem;
  background-color: var(--sky);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 38, 62, 0.12);
  color: var(--navy);
  font-family: var(--font-accent);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.mobile-menu nav a::after {
  content: '';
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: rotate(45deg);
}

.mobile-menu nav a[aria-current='page'] {
  color: var(--blue-ink);
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mobile-menu-foot .btn {
  width: 100%;
}

.mobile-menu-foot .lang-switch {
  align-self: center;
}

.mobile-menu-foot .open-status {
  justify-content: center;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Status: nu open / gesloten ---------- */

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0;
  font-weight: 500;
}

/* Dot + tekst in één flexitem, zodat de link netjes mee in de zin loopt */
.open-status[data-state='closed'] {
  display: inline-block;
}

.open-status[data-state='closed']::before {
  display: inline-block;
  margin-right: 0.6em;
  vertical-align: 0.05em;
}

.open-status .inline-link,
.open-status .inline-link:hover {
  color: inherit;
}

.open-status::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--muted);
}

.open-status[data-state='open']::before {
  background-color: #1f8a4c;
  box-shadow: 0 0 0 4px rgba(31, 138, 76, 0.18);
}

.open-status[data-state='closed']::before {
  background-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.15);
}

/* ---------- Kruimelpad ---------- */

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.breadcrumb a {
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.breadcrumb [aria-current='page'] {
  color: var(--navy);
}

/* ---------- Hero (subpagina's) ----------
   Lichtblauw dat onder de header doorloopt en zacht uitvloeit in het wit,
   zodat de hero geen afgelijnd blok wordt. Titel links, intro rechts; op de
   achtergrond liggen twee sporen pootafdrukken. */

.page-hero {
  --paw-trail:
    url('/media/pootafdruk.webp') left 14px bottom 30px / 40px no-repeat,
    url('/media/pootafdruk.webp') left 62px bottom 115px / 40px no-repeat,
    url('/media/pootafdruk.webp') left 14px bottom 200px / 40px no-repeat,
    url('/media/pootafdruk.webp') left 62px bottom 285px / 40px no-repeat,
    url('/media/pootafdruk.webp') left 14px bottom 370px / 40px no-repeat,
    url('/media/pootafdruk.webp') left 62px bottom 455px / 40px no-repeat;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(0.5rem, 1.5vw, 1rem) clamp(3rem, 6vw, 5rem);
  background: linear-gradient(var(--sky) 0%, var(--sky) 45%, var(--white) 100%);
}

/* Elk spoor is een verticale strook (tenen naar boven) die gedraaid wordt
   in de looprichting */
.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: clamp(1rem, 3vw, 2rem);
  width: 116px;
  background: var(--paw-trail);
  opacity: 0.5;
  pointer-events: none;
  /* Het spoor is even hoog als de hero en vervaagt aan beide uiteinden,
     zodat geen pootje half afgesneden wordt tegen de header of de inhoud */
  -webkit-mask: linear-gradient(to top, transparent 0, #000 20%, #000 65%, transparent 90%);
  mask: linear-gradient(to top, transparent 0, #000 20%, #000 65%, transparent 90%);
}

.page-hero::before {
  left: 44%;
  transform: rotate(14deg);
  transform-origin: bottom left;
}

.page-hero::after {
  right: clamp(2.5rem, 7vw, 7rem);
  transform: rotate(-18deg) scaleX(-1);
  transform-origin: bottom right;
}

.page-hero .breadcrumb {
  margin-bottom: clamp(1.25rem, 3.5vw, 2.25rem);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 5rem);
}

.page-hero-heading:only-child {
  grid-column: 1 / -1;
}

.hero-label {
  margin: 0 0 0.5rem;
  color: var(--blue-ink);
  font-family: var(--font-accent);
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.3;
}

.hero-title {
  color: var(--navy);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  hyphens: auto;
  overflow-wrap: break-word;
}

.page-hero .hero-title {
  font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page-hero .hero-label {
  font-size: 1.0625rem;
}

.page-hero .hero-intro {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.55;
}

/* Pootafdrukken: decoratief */
.paw {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* De sporen op de achtergrond vervangen het losse beeld */
.page-hero .paw {
  display: none;
}

/* Secties die vroeger na een intro kwamen, krijgen hun eigen ademruimte */
.page-hero + .contact,
.page-hero + .faq,
.page-hero + .link-list-wrap {
  padding-top: var(--space-xl);
}

.page-hero + .everyday {
  padding-top: 0;
}

/* ---------- Hero (home) ---------- */

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem) 0 0;
  border-radius: 0 0 var(--radius-hero) var(--radius-hero);
  background-color: var(--sky);
}

.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem;
}

.home-hero-copy {
  position: relative;
  z-index: 1; /* knoppen boven het kruis van de hero-afbeelding */
  align-self: center;
  padding-bottom: clamp(3rem, 8vw, 7rem);
}

.home-hero .hero-label {
  margin-bottom: 0.25rem;
}

.home-hero .hero-title {
  margin-left: -0.05em;
  font-size: var(--fs-hero-home);
  letter-spacing: -0.045em;
}

.home-hero .hero-lead {
  max-width: 26ch;
  margin: 1.25rem 0 2rem;
  font-family: var(--font-accent);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 500;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* Hond en kat vóór een groot merkkruis */
.home-hero .hero-media {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 100%;
}

.hero-cross {
  position: absolute;
  bottom: 10%;
  left: 50%;
  width: min(84%, 460px);
  aspect-ratio: 1;
  transform: translateX(-50%) rotate(-6deg);
}

.hero-cross::before,
.hero-cross::after {
  content: '';
  position: absolute;
  border-radius: 14px;
  background-color: var(--blue);
}

.hero-cross::before {
  inset: 0 33%;
}

.hero-cross::after {
  inset: 33% 0;
}

.home-hero .hero-media img {
  position: relative;
  width: min(100%, 560px);
  margin-bottom: -2px;
}

.home-hero .paw--large {
  top: auto;
  bottom: 14%;
  left: 40%;
  width: 180px;
  opacity: 0.85;
  transform: rotate(8deg);
}

.home-hero .paw--small {
  bottom: 12%;
  left: 2%;
  width: 96px;
  opacity: 0.85;
  transform: rotate(18deg);
}

.paw--mobile {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-cross {
    animation: cross-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .home-hero .hero-media img {
    animation: pets-in 0.9s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  @keyframes cross-in {
    from {
      opacity: 0;
      transform: translateX(-50%) rotate(-40deg) scale(0.6);
    }
  }

  @keyframes pets-in {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
  }
}

/* ---------- Praktische info onder de hero ---------- */

.quick-info {
  position: relative;
  z-index: 3;
  margin-top: calc(-1 * clamp(1.5rem, 3vw, 2.5rem));
}

.quick-info ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: var(--radius-m);
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.quick-info li {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
}

.quick-info li + li {
  border-left: 1px solid var(--line);
}

.quick-info .icon-badge {
  margin-top: 2px;
}

.quick-info h2 {
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0;
}

.quick-info p {
  margin: 0;
  font-weight: 500;
  line-height: 1.45;
}

.quick-info a {
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.icon-badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--sky);
  color: var(--blue-ink);
}

.icon-badge .icon {
  width: 22px;
  height: 22px;
}

/* ---------- Afbeelding + tekst ---------- */

.split {
  padding-block: var(--space-xl) 0;
}

.split + .split {
  padding-top: var(--space-xl);
}

.split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.split--reverse .split-media {
  order: 2;
}

.split--page {
  padding-bottom: var(--space-xl);
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-l);
  object-fit: cover;
}

.split-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

/* ---------- Openingsuren-tabel ---------- */

.hours {
  width: 100%;
  max-width: 420px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-variant-numeric: tabular-nums;
}

.hours caption {
  padding-bottom: 0.5rem;
  font-family: var(--font-accent);
  font-weight: 600;
  text-align: left;
}

.hours th,
.hours td {
  padding: 0.55rem 1rem;
  text-align: left;
  font-weight: 400;
}

.hours tr + tr > * {
  border-top: 1px solid var(--line);
}

.hours td {
  white-space: nowrap;
  text-align: right;
}

.hours tr.is-today > * {
  background-color: var(--sky);
  font-weight: 600;
}

/* Hoeken van de cellen zelf afronden: Safari knipt tabelcellen niet af met overflow */
.hours tr:first-child > :first-child {
  border-top-left-radius: calc(var(--radius-s) - 1px);
}

.hours tr:first-child > :last-child {
  border-top-right-radius: calc(var(--radius-s) - 1px);
}

.hours tr:last-child > :first-child {
  border-bottom-left-radius: calc(var(--radius-s) - 1px);
}

.hours tr:last-child > :last-child {
  border-bottom-right-radius: calc(var(--radius-s) - 1px);
}

.hours .today-tag {
  margin-left: 0.5em;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: 1px;
}

/* ---------- Home: diensten ---------- */

.services-teaser {
  padding-block: var(--space-xl);
}

.services-teaser .title {
  margin-bottom: 1rem;
}

.services-teaser .text {
  margin-bottom: 2.5rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 980px;
  margin: 0 auto 2rem;
}

.chip-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.6rem 1.25rem 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--white);
  color: var(--navy);
  font-family: var(--font-accent);
  font-size: 1.0625rem;
  font-weight: 500;
  transition: border-color 0.2s, background-color 0.2s;
}

.chip-list a::first-letter {
  text-transform: uppercase;
}

.chip-list .cross {
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.chip-list a:hover {
  border-color: var(--blue);
  background-color: var(--mist);
}

.chip-list a:hover .cross {
  transform: rotate(90deg);
}

.services-more {
  margin: 0;
  text-align: center;
}

/* ---------- Carrousel (reviews) ---------- */

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  padding: 4px 4px 8px;
  margin: -4px -4px 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  scroll-snap-align: start;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.carousel-arrow:hover:not(:disabled) {
  border-color: var(--navy);
  background-color: var(--navy);
  color: var(--white);
}

.carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-dots {
  display: flex;
  gap: 4px;
}

.carousel-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.carousel-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--muted);
  opacity: 0.35;
  transition: width 0.25s, opacity 0.25s;
}

.carousel-dot[aria-current='true']::before {
  width: 22px;
  border-radius: 4px;
  background-color: var(--blue-ink);
  opacity: 1;
}

.carousel-status {
  min-width: 4ch;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

/* ---------- Home: reviews ---------- */

.reviews {
  padding-block: var(--space-xl);
  background-color: var(--grey);
}

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}

.reviews-head .title {
  text-align: left;
}

.review-carousel {
  --per-view: 3;
  --gap: 20px;
}

.review-carousel .carousel-track {
  align-items: stretch;
}

.review {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
  margin: 0;
  padding: 1.75rem;
  border-radius: var(--radius-m);
  background-color: var(--white);
}

.review-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-body p {
  font-size: 1.0625rem;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.review-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--font-accent);
  font-size: 1.0625rem;
  font-weight: 600;
}

.review-name .avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue-ink);
  font-size: 1rem;
}

.review--more {
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 2px dashed var(--sky-strong);
  background-color: transparent;
  color: var(--navy);
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s;
}

.review--more .review-name {
  padding: 0;
  border: 0;
}

.review--more svg {
  width: 48px;
  height: 48px;
  fill: var(--blue-ink);
  transition: transform 0.2s;
}

.review--more:hover {
  border-color: var(--blue);
  background-color: var(--white);
}

.review--more:hover svg {
  transform: translateX(4px);
}

/* ---------- Vind ons ---------- */

.find-us {
  padding-block: var(--space-xl);
}

.find-us .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: clamp(2rem, 5vw, 4rem);
}

.find-us-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.contact-item + .contact-item {
  border-top: 1px solid var(--line);
}

.contact-item h3 {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0;
}

.contact-item p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
}

.contact-item a {
  color: var(--blue-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.map {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border-radius: var(--radius-l);
  background: var(--mist);
}

.map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Intro (titel + tekst) ---------- */

.intro {
  padding-block: var(--space-xl) var(--space-l);
  text-align: center;
}

.intro .title {
  margin-bottom: 1rem;
}

.intro .text {
  max-width: 62ch;
  margin-inline: auto;
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.error-illustration {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto 1.5rem;
}

.page-404 .intro .hero-title {
  margin-bottom: 1rem;
}

/* Geen pootafdrukken in de hero van de 404 */
.page-404 .page-hero::before,
.page-404 .page-hero::after {
  content: none;
}

.intro--tight {
  padding-bottom: var(--space-l);
}

/* ---------- Diensten ---------- */

.everyday {
  padding-block: var(--space-xl) 0;
}

/* Lichtblauw paneel, zelfde vorm als de afspraakbanner maar rustiger */
.everyday-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-l);
  background-color: var(--sky);
  color: var(--navy);
}

.everyday-inner::after {
  /* Groot kruis als watermerk */
  content: '';
  position: absolute;
  z-index: -1;
  top: -80px;
  left: -60px;
  width: 240px;
  height: 240px;
  background:
    linear-gradient(var(--sky-strong), var(--sky-strong)) center / 34% 100% no-repeat,
    linear-gradient(var(--sky-strong), var(--sky-strong)) center / 100% 34% no-repeat;
  transform: rotate(-10deg);
  pointer-events: none;
}

.everyday .text {
  color: var(--muted);
}

.everyday-media img {
  width: 100%;
}

.everyday-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

/* Lijst met merkkruisjes i.p.v. vinkjes */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  width: 100%;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-s);
  background-color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  line-height: 1.4;
}

/* ::first-letter werkt niet op een flex-container, wel op het tekst-item erin */
.check-list li > span:not(.cross)::first-letter {
  text-transform: uppercase;
}

.check-list li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.check-list .cross {
  margin-top: 0.2em;
  font-size: 0.85rem;
}

.lab {
  padding-block: var(--space-xl);
}

.lab .title {
  margin-bottom: 1rem;
  text-align: center;
}

.lab .intro-text {
  max-width: 60ch;
  margin: 0 auto 2.5rem;
  font-size: var(--fs-lead);
  line-height: 1.55;
  text-align: center;
}

.lab-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.lab-card {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background-color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lab-card:hover,
.lab-card:focus-within {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.lab-card-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: var(--radius-s);
  object-fit: cover;
}

.lab-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.lab-card-body h2 {
  color: var(--navy);
  font-size: var(--fs-h3);
}

/* Hele kaart klikbaar, maar één link voor schermlezers */
.lab-card .arrow-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-m);
}

/* ---------- Urineonderzoek & artikelen ---------- */

.article {
  padding-block: 0 var(--space-xl);
}

.article .container > * {
  max-width: 72ch;
}

.article .title {
  margin-bottom: 1rem;
}

.article-subtitle {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-accent);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
}

/* Stappen naast elkaar (bv. hoe een urineonderzoek verloopt) */
.article .container > .steps {
  max-width: none;
}

.steps {
  display: grid;
  /* Het middelste blok bevat de meeste tekst */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.steps + .article-subtitle {
  margin-top: 2.75rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.75rem 1.75rem;
  border-radius: var(--radius-m);
  background-color: var(--mist);
}

.step-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--blue-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.step-label::before {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 34% 100% no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 100% 34% no-repeat;
}

.step h3 {
  font-size: var(--fs-h3);
}

.step p:not(.step-label) {
  margin: 0;
  line-height: 1.6;
}

/* Laatste blok: het resultaat, iets meer in de verf gezet */
.step--result {
  background-color: var(--sky);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-bottom: var(--space-xl);
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border-top: 4px solid var(--blue);
  border-radius: var(--radius-s) var(--radius-s) var(--radius-m) var(--radius-m);
  background-color: var(--mist);
}

.info-card h2 {
  font-size: var(--fs-h3);
}

/* ---------- Veelgestelde vragen ---------- */

.faq {
  padding-bottom: var(--space-xl);
}

.faq .container {
  max-width: calc(880px + 2 * var(--gutter));
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background-color: var(--white);
  transition: border-color 0.2s, background-color 0.2s;
}

.faq-item + .faq-item {
  margin-top: 0.75rem;
}

.faq-item:hover {
  border-color: var(--blue);
}

.faq-item[open] {
  border-color: var(--blue);
  background-color: var(--mist);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
  padding: 1.1rem 1.25rem 1.1rem 1.5rem;
  border-radius: var(--radius-m);
  color: var(--navy);
  font-family: var(--font-accent);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .faq-icon {
  display: none;
}

/* Plus dat een min wordt: hetzelfde kruis als in het logo */
.faq-item summary::after {
  content: '';
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    linear-gradient(var(--white), var(--white)) center / 2px 14px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 14px 2px no-repeat,
    var(--blue-ink);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  background:
    linear-gradient(var(--white), var(--white)) center / 14px 2px no-repeat,
    var(--navy);
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
}

.faq-answer .text {
  max-width: 70ch;
}

.faq-answer ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
  list-style: disc;
}

.faq-answer li::marker {
  color: var(--blue);
}

.faq-answer table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  font-size: 0.975rem;
}

.faq-answer td {
  padding: 0.9rem 1rem;
  line-height: 1.6;
  vertical-align: top;
}

.faq-answer tr + tr td {
  border-top: 1px solid var(--line);
}

.faq-answer td:first-child {
  width: 18%;
  background: var(--sky);
  font-family: var(--font-accent);
  font-weight: 600;
}

.help-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-m);
  background: var(--sky);
}

.help-box p {
  margin: 0;
  font-family: var(--font-accent);
  font-size: var(--fs-h3);
  font-weight: 600;
}

.help-box .help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Links ---------- */

.link-list-wrap {
  padding-bottom: var(--space-xl);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.125rem 1.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background-color: var(--white);
}

.link-card h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.0625rem;
  line-height: 1.3;
}

/* Kruis bovenaan als icoon, titel eronder */
.link-card h2 .cross {
  font-size: 1rem;
}

/* Links naast elkaar i.p.v. onder elkaar: houdt de blokken laag */
.link-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin-top: auto;
  font-size: var(--fs-sm);
}

.link-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  color: var(--blue-ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.link-card a:hover {
  color: var(--blue-deep);
}

.link-card a .icon {
  width: 1em;
  height: 1em;
}

/* ---------- Contact ---------- */

.contact {
  padding-bottom: var(--space-xl);
}

.contact .container {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-card {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: var(--radius-m);
  background-color: var(--sky);
}

.contact-card h2 {
  font-size: var(--fs-h3);
}

.contact-card .contact-item {
  padding: 0;
  border: 0;
  align-items: flex-start;
}

.contact-card .icon-badge {
  background-color: var(--white);
}

.contact-card .hours {
  max-width: none;
  background: var(--white);
}

.contact-card .note {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 38, 62, 0.15);
  font-size: var(--fs-sm);
}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 600;
}

.field .req {
  color: var(--muted);
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1.5px solid #8b9bb0;
  border-radius: var(--radius-s);
  background-color: var(--white);
  color: var(--navy);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: var(--navy);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue-ink);
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 106, 163, 0.25);
}

.contact-form [aria-invalid='true'] {
  border-color: #b3261e;
}

.field-error {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin: 0;
  color: #b3261e;
  font-size: var(--fs-sm);
  font-weight: 500;
}

.field-error[hidden] {
  display: none;
}

.field-trap {
  position: absolute;
  left: -9999px;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  grid-column: 1 / -1;
}

.form-foot small {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.submit {
  min-width: 200px;
}

.submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.form-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-s);
  font-weight: 500;
}

.form-message[data-type='success'] {
  background-color: #e3f4ea;
  color: #14532d;
}

.form-message[data-type='error'] {
  background-color: #fdecea;
  color: #8a1c13;
}

/* Spoed: opvallend maar rustig paneel */
.emergency {
  padding-bottom: var(--space-xl);
}

.emergency-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--alert-line);
  border-left-width: 8px;
  border-radius: var(--radius-m);
  background-color: var(--alert);
}

.emergency-panel .icon-badge {
  width: 56px;
  height: 56px;
  background: var(--white);
  color: var(--alert-ink);
}

.emergency-panel .title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
}

.emergency-panel .text {
  max-width: 72ch;
}

.emergency-panel a:not(.btn) {
  color: var(--alert-ink);
  font-weight: 600;
}

.contact-map {
  padding-bottom: var(--space-xl);
}

/* ---------- Privacy ---------- */

.legal {
  padding-block: var(--space-xl);
}

.legal .container {
  max-width: calc(760px + 2 * var(--gutter));
}

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
}

.legal h2:first-child {
  margin-top: 0;
}

.legal ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
  list-style: disc;
}

.legal li::marker {
  color: var(--blue);
}

.legal-spacer {
  display: none;
}

/* ---------- Afspraak-banner (boven de footer) ---------- */

.cta-band {
  padding-block: 0 var(--space-xl);
}

.cta-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 3rem;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-l);
  background-color: var(--navy);
  color: var(--white);
}

.cta-band-inner::after {
  /* Groot kruis als watermerk */
  content: '';
  position: absolute;
  top: -60px;
  right: 22%;
  width: 240px;
  height: 240px;
  background:
    linear-gradient(rgba(64, 143, 206, 0.35), rgba(64, 143, 206, 0.35)) center / 34% 100% no-repeat,
    linear-gradient(rgba(64, 143, 206, 0.35), rgba(64, 143, 206, 0.35)) center / 100% 34% no-repeat;
  transform: rotate(10deg);
  pointer-events: none;
}

.cta-band h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
}

.cta-band p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #d6e4f2;
}

.cta-band .open-status {
  margin-top: 0.75rem;
  color: var(--white);
}

.cta-band .hero-actions {
  position: relative;
  z-index: 1;
}

.cta-band .btn--ghost {
  color: var(--white);
}

.cta-band .btn--ghost:hover {
  border-color: var(--white);
  background-color: var(--white);
  color: var(--navy);
}

.cta-band .btn--primary {
  background-color: var(--white);
  color: var(--navy);
}

.cta-band .btn--primary:hover {
  background-color: var(--sky);
}

/* ---------- Footer ----------
   Zelfde opbouw als voorheen, maar lichter: het lichtblauw vloeit vanuit het
   wit in (spiegelbeeld van de subpagina-hero), een kruis uit het logo als
   watermerk en een onderbalk die bij de footer hoort i.p.v. een losse strook. */

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(var(--white) 0%, var(--sky) clamp(4rem, 9vw, 7rem));
}

.site-footer::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -60px;
  top: clamp(3rem, 6vw, 5rem);
  width: clamp(160px, 18vw, 240px);
  aspect-ratio: 1;
  background:
    linear-gradient(var(--sky-strong), var(--sky-strong)) center / 34% 100% no-repeat,
    linear-gradient(var(--sky-strong), var(--sky-strong)) center / 100% 34% no-repeat;
  transform: rotate(10deg);
  opacity: 0.6;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem);
}

.footer-brand img {
  width: 220px;
  height: 63px;
}

.footer-brand p {
  max-width: 30ch;
  margin-top: 1.25rem;
  color: var(--muted);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-size: 1.0625rem;
}

/* Klein kruisje voor elke kolomtitel, zoals in de opsommingen */
.footer-title::before {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 34% 100% no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 100% 34% no-repeat;
}

.footer-links a,
.footer-col .text a {
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.footer-links a:hover,
.footer-col .text a:hover {
  color: var(--blue-ink);
  text-decoration-color: currentColor;
}

/* Telefoon en e-mail staan los in lopende tekst: daar blijft de onderlijning */
.footer-col .text a {
  text-decoration-color: rgba(0, 38, 62, 0.3);
}

.footer-col .text a[href^='tel:'] {
  font-weight: 600;
}

.footer-col .text {
  color: var(--navy);
}

.footer-bar {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.footer-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: 64px;
  padding-block: 1rem;
  /* Scheidingslijn even breed als de inhoud, niet tot in de marges */
  background: linear-gradient(rgba(0, 38, 62, 0.12), rgba(0, 38, 62, 0.12)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

.footer-bar p {
  margin: 0;
}

.footer-bar a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(0, 38, 62, 0.3);
  text-underline-offset: 0.2em;
}

.footer-bar a:hover {
  color: var(--blue-ink);
  text-decoration-color: currentColor;
}

/* ==========================================================================
   Tablet (≤ 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }

  .header-nav,
  .header-end .lang-menu {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .brand,
  .brand img {
    width: 160px;
    height: 46px;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .home-hero-copy {
    padding-bottom: 1rem;
  }

  .home-hero .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .home-hero .hero-media img {
    width: min(80%, 460px);
  }

  .hero-cross {
    width: min(70%, 400px);
  }

  .home-hero .paw--large {
    top: 4%;
    left: 4%;
    width: 120px;
  }

  .home-hero .paw--small {
    display: none;
  }

  .quick-info ul {
    grid-template-columns: 1fr;
  }

  .quick-info li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .split .container,
  .everyday-inner,
  .find-us .container {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .split-media,
  .everyday-media {
    max-width: 720px;
  }

  .lab-cards,
  .info-cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .review-carousel {
    --per-view: 2;
  }

  .contact .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band-inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Mobiel (≤ 767px)
   ========================================================================== */

@media (max-width: 767px) {
  :root {
    --header-height: 68px;
    --fs-base: 1rem;
  }

  .menu-toggle-label {
    display: none;
  }

  .menu-toggle {
    padding: 0;
    background: none;
  }

  .header-call {
    display: none;
  }

  .brand,
  .brand img {
    width: 140px;
    height: 40px;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.875rem;
  }

  .page-hero::before {
    display: none;
  }

  .page-hero::after {
    bottom: 0.5rem;
    opacity: 0.35;
  }

  .home-hero .paw--large {
    display: none;
  }

  .home-hero .paw--mobile {
    display: block;
    top: 12px;
    right: -30px;
    width: 120px;
    opacity: 0.7;
  }

  .home-hero .hero-lead {
    font-size: 1.1875rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  /* Merkkruis achter de knop "Routebeschrijving" */
  .home-hero .hero-actions {
    position: relative;
    isolation: isolate;
  }

  .home-hero .hero-actions::after {
    content: '';
    position: absolute;
    right: -28px;
    bottom: -34px;
    z-index: -1;
    width: 120px;
    height: 120px;
    background:
      linear-gradient(var(--sky-strong), var(--sky-strong)) center / 34% 100% no-repeat,
      linear-gradient(var(--sky-strong), var(--sky-strong)) center / 100% 34% no-repeat;
    border-radius: 8px;
    transform: rotate(8deg);
  }

  .home-hero .hero-actions .btn--ghost:not(:hover) {
    background-color: var(--sky);
  }

  .home-hero .hero-media img {
    width: 88%;
  }

  .hero-cross {
    width: 78%;
  }

  .quick-info li {
    padding: 1.1rem 1.25rem;
  }

  .split-media::after {
    top: -12px;
    right: -6px;
    width: 40px;
    height: 40px;
  }

  .split--reverse .split-media::after {
    left: -6px;
  }

  /* Dienstpagina's: foto breder (tot in de marge) en hoger */
  .split--page .split-media {
    margin-inline: calc(var(--gutter) * -0.5);
  }

  .split--page .split-media img {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-m);
  }

  .intro,
  .lab .title,
  .lab .intro-text {
    text-align: left;
  }

  .intro .text {
    margin-inline: 0;
  }

  .center.text,
  .text.center,
  .services-teaser .title {
    text-align: left;
    margin-inline: 0;
  }

  .chip-list {
    justify-content: flex-start;
  }

  .services-more {
    text-align: left;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .lab-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
  }

  .lab-card-media img {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .review-carousel {
    --per-view: 1.1;
    --gap: 12px;
  }

  .map {
    min-height: 300px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .submit {
    width: 100%;
  }

  .emergency-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
    border-left-width: 1px;
    border-top-width: 8px;
  }

  .faq-item summary {
    padding: 1rem 1rem 1rem 1.15rem;
  }

  .faq-answer {
    padding: 0 1.15rem 1.25rem;
  }

  .faq-answer table,
  .faq-answer tbody,
  .faq-answer tr,
  .faq-answer td {
    display: block;
    width: 100% !important;
  }

  .faq-answer tr + tr td:first-child {
    border-top: 1px solid var(--line);
  }

  .faq-answer tr + tr td + td {
    border-top: 0;
  }

  .help-box .help-actions,
  .help-box .btn {
    width: 100%;
  }

  .cta-band-inner::after {
    right: -60px;
    top: -80px;
  }

  .cta-band .hero-actions .btn {
    flex: 1 1 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

@media print {
  .site-header,
  .cta-band,
  .map,
  .paw {
    display: none !important;
  }
}
