/* ==========================================================================
   AC Caravans — Design System
   ========================================================================== */

:root {
  /* Brand palette */
  --green-800: #0b3a19;
  --green-700: #126430;
  --green-600: #16803c;
  --green-500: #22a24b;
  --green-400: #34c05f;
  --green-50:  #eaf7ee;

  --ink-900: #0f1a24;
  --ink-700: #243444;
  --ink-500: #5a6b7b;
  --ink-400: #8395a3;
  --line:    #e4e9ee;
  --surface: #ffffff;
  --canvas:  #f6f8fa;
  --canvas-2:#eef2f5;

  --amber:   #e8a01f;
  --danger:  #d64545;

  --radius:   16px;
  --radius-sm:10px;
  --radius-lg:24px;
  --shadow-sm: 0 1px 2px rgba(16,26,36,.06), 0 1px 3px rgba(16,26,36,.05);
  --shadow-md: 0 6px 20px rgba(16,26,36,.08);
  --shadow-lg: 0 20px 50px rgba(16,26,36,.14);

  --maxw: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--ink-500); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: 1.2rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-600); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-500); max-width: 60ch; }
.muted { color: var(--ink-400); }

/* ------- Buttons ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .98rem; padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
  white-space: nowrap; font-family: inherit;
}
.btn--primary { background: var(--green-500); color: #fff; box-shadow: 0 6px 16px rgba(34,162,75,.28); }
.btn--primary:hover { background: var(--green-600); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(34,162,75,.34); }
.btn--ghost { background: #fff; color: var(--ink-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-400); background: var(--canvas); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(4px); }
.btn--light:hover { background: rgba(255,255,255,.24); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ------- Badges / pills ------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; background: var(--canvas-2); color: var(--ink-700);
}
.tag--sale { background: #fff3e0; color: #b9740f; }
.tag--rent { background: var(--green-50); color: var(--green-600); }
.tag--both { background: #e7f0ff; color: #2563a8; }
.tag--sold {
  background: #fff; color: #c62f2f; border: 1px solid #f3c9c9;
  box-shadow: 0 1px 2px rgba(198,47,47,.12);
}
/* Small red dot accent before the "Verkocht" label. */
.tag--sold::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%;
  background: #e23b3b; box-shadow: 0 0 0 3px rgba(226,59,59,.16);
}

/* ------- Sold caravans ------- */
/* Higher specificity so the red wins over `.price-block .val` (green). */
.price-block .val.val--sold { color: #c62f2f; }
.card--sold .media-img,
.card--sold svg { filter: grayscale(.55) opacity(.85); }
.booking--sold { text-align: center; }
.sold-notice { padding: 8px 0 4px; }
.sold-notice h2 { font-size: 1.25rem; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.22rem; color: var(--ink-900); letter-spacing: -.03em; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-400), var(--green-600)); color: #fff; box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .18em; color: var(--ink-400); text-transform: uppercase; margin-top: -2px; }
/* Uploaded site logo (replaces the built-in SVG lockup when set). */
.brand__img { height: 62px; width: auto; max-width: 260px; display: block; }
.brand__img--plate { box-sizing: content-box; height: 38px; background: #fff; padding: 7px 12px; border-radius: 10px; }
@media (max-width: 900px) { .brand__img { height: 50px; } .brand__img--plate { height: 32px; padding: 6px 10px; } }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a {
  font-weight: 500; font-size: .96rem; color: var(--ink-700); padding: 9px 14px; border-radius: 9px; transition: .15s;
}
.nav__links a:hover { background: var(--canvas); color: var(--ink-900); }
.nav__links a.active { color: var(--green-600); font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle svg { width: 26px; height: 26px; }

/* Header dropdown menu */
.nav__has-sub { position: relative; }
.nav__sub-toggle {
  display: inline-flex; align-items: center; gap: 5px; font-family: inherit;
  font-weight: 500; font-size: .96rem; color: var(--ink-700); cursor: pointer;
  padding: 9px 14px; border-radius: 9px; background: none; border: 0; transition: .15s;
}
.nav__sub-toggle:hover { background: var(--canvas); color: var(--ink-900); }
.nav__sub-toggle.active { color: var(--green-600); font-weight: 600; }
.nav__chev { width: 16px; height: 16px; transition: transform .2s; }
.nav__submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 232px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 6px; z-index: 60; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__submenu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: .94rem; color: var(--ink-700); white-space: nowrap; }
.nav__submenu a:hover { background: var(--canvas); color: var(--ink-900); }
.nav__submenu a.active { color: var(--green-600); font-weight: 600; }
.nav__has-sub:hover .nav__submenu,
.nav__has-sub:focus-within .nav__submenu,
.nav__has-sub.open .nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__has-sub:hover .nav__chev,
.nav__has-sub:focus-within .nav__chev,
.nav__has-sub.open .nav__chev { transform: rotate(180deg); }

@media (max-width: 900px) {
  .nav__links {
    position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 2px;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 10px; }
  .nav__toggle { display: block; }
  .nav__cta .btn--ghost { display: none; }

  /* Dropdown collapses into an inline accordion inside the mobile menu */
  .nav__sub-toggle { width: 100%; justify-content: space-between; padding: 12px 10px; font-size: 1rem; }
  .nav__submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-radius: 0; padding: 0 0 4px 12px; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav__has-sub:hover .nav__submenu,
  .nav__has-sub:focus-within .nav__submenu { max-height: 0; }
  .nav__has-sub.open .nav__submenu { max-height: 260px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: #0f1a24; /* fallback behind the photo */
  color: #fff;
}
/* Full-bleed background photo (its own <img> so it can be responsive + the LCP). */
.hero__bg { position: absolute; inset: 0; z-index: 0; display: block; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 52%;
  transform-origin: 62% 50%;
  animation: heroZoom 26s ease-in-out infinite alternate;
}
/* Darkening gradient for text contrast: heaviest on the left where the copy sits,
   plus a bottom vignette so the stats stay legible. */
.hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,14,19,.88) 0%, rgba(9,14,19,.68) 40%, rgba(9,14,19,.22) 72%, rgba(9,14,19,.04) 100%),
    linear-gradient(0deg, rgba(7,11,15,.72) 0%, rgba(7,11,15,0) 46%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  min-height: clamp(520px, 82vh, 768px);
  padding: 96px 0 100px;
}
.hero__content { max-width: 620px; }
.hero .eyebrow { color: #f2ca85; }        /* warm gold echoing the string lights */
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.hero p {
  color: rgba(255,255,255,.9); font-size: 1.18rem; margin-top: 18px; max-width: 46ch;
  text-shadow: 0 1px 16px rgba(0,0,0,.5);
}
.hero p strong { color: #fff; }
.hero__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__actions .btn { box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.hero__stats { display: flex; gap: 34px; margin-top: 44px; }
.hero__stats div span {
  display: block; font-size: 1.8rem; font-weight: 800; color: #fff; letter-spacing: -.02em;
  text-shadow: 0 1px 14px rgba(0,0,0,.5);
}
.hero__stats div small { color: rgba(255,255,255,.8); font-size: .86rem; }

/* Staggered entrance for the copy. `both` keeps it hidden until its delay fires. */
.hero__content > * { animation: heroRise .7s cubic-bezier(.22,.61,.36,1) both; }
.hero__content > .eyebrow    { animation-delay: .05s; }
.hero__content > h1          { animation-delay: .15s; }
.hero__content > p           { animation-delay: .28s; }
.hero__content > .hero__actions { animation-delay: .42s; }
.hero__content > .hero__stats   { animation-delay: .55s; }

@keyframes heroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }

@media (max-width: 900px) {
  .hero__inner { min-height: clamp(460px, 78vh, 620px); padding: 72px 28px 80px; }
  .hero__bg img { object-position: 58% 50%; }
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(9,14,19,.8) 0%, rgba(9,14,19,.5) 60%, rgba(9,14,19,.28) 100%),
      linear-gradient(0deg, rgba(7,11,15,.82) 0%, rgba(7,11,15,0) 54%);
  }
  .hero__stats { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; }
  .hero__content > * { animation: none; }
}

/* ==========================================================================
   Feature / value cards
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: .2s;
}
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.feature__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-600); margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .96rem; }

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head p { margin-top: 12px; }

/* ==========================================================================
   Caravan cards / listing
   ========================================================================== */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .listing-layout { grid-template-columns: 1fr; } }

.filters {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  position: sticky; top: 92px;
}
.filters h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-400); margin: 18px 0 10px; }
.filters h4:first-child { margin-top: 0; }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: .95rem; }
.filter-opt input { width: 17px; height: 17px; accent-color: var(--green-500); cursor: pointer; }
.filters .btn { margin-top: 20px; }

/* Mobile: filters collapse behind a "Filters" button (see @media below). */
.filters-toggle {
  display: none; align-items: center; justify-content: center; gap: 10px; width: 100%;
  font-family: inherit; font-weight: 600; font-size: 1rem; color: var(--ink-900);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 18px;
  cursor: pointer; margin-bottom: 18px; transition: .15s;
}
.filters-toggle:hover { border-color: var(--ink-400); background: var(--canvas); }
.filters-toggle svg { width: 18px; height: 18px; }
.filters-toggle__count {
  display: none; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--green-500); color: #fff; border-radius: 999px; font-size: .74rem; font-weight: 700;
}
.filters-toggle__count.show { display: inline-grid; }
@media (max-width: 860px) {
  .filters-toggle { display: inline-flex; }
  /* Not sticky on mobile (that caused cards to overlap the filters when scrolling),
     and hidden until the toggle opens it. */
  .filters { position: static; top: auto; display: none; margin-bottom: 22px; }
  .filters.open { display: block; }
}
.range-val { font-weight: 600; color: var(--ink-900); }

/* Period (date) filter */
.filter-dates { display: flex; flex-direction: column; gap: 8px; }
.filter-date { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-500); }
.filter-date span { width: 32px; flex: none; }
.filter-date input {
  flex: 1; min-width: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: .92rem; color: var(--ink-900); background: #fff;
}
.filter-date input:focus { outline: none; border-color: var(--green-400); box-shadow: 0 0 0 3px var(--green-50); }
.filter-date-msg { font-size: .82rem; color: var(--ink-400); }
.filter-date-msg:not(:empty) { margin-top: 9px; }
.filter-date-msg.err { color: var(--danger); }
input[type=range] { width: 100%; accent-color: var(--green-500); }

.listing-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.listing-head .count { font-weight: 600; color: var(--ink-900); }
.select {
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: inherit;
  font-size: .94rem; color: var(--ink-700); cursor: pointer;
}

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card__media { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--canvas-2); }
.card__media svg { width: 100%; height: 100%; }
.media-img { width: 100%; height: 100%; object-fit: cover; }
.card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.card__fav {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: grid; place-items: center; border: 0; cursor: pointer; color: var(--ink-500);
}
.card__body { padding: 18px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card__brand { font-size: .8rem; font-weight: 600; color: var(--green-600); text-transform: uppercase; letter-spacing: .06em; }
.card__title { font-size: 1.18rem; margin: 3px 0 10px; }
.card__specs { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.card__spec { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink-500); }
.card__spec svg { width: 16px; height: 16px; color: var(--ink-400); }
.card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.price-block .label { font-size: .74rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .05em; }
.price-block .val { font-size: 1.1rem; font-weight: 800; color: var(--green-700); padding: 0 0 0 5px }
.price-block .val small { font-size: .8rem; font-weight: 500; color: var(--ink-400); padding-left: 5px; }
.price-block + .price-block { text-align: right; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-400); }

/* ==========================================================================
   Detail page
   ========================================================================== */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--ink-400); padding: 20px 0; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--green-600); }
.breadcrumb span { color: var(--ink-300); }

.detail-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-bottom: 14px; }
.detail-hero .main-img { aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; background: var(--canvas-2); }
.detail-hero .thumbs { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.detail-hero .thumbs > div { border-radius: var(--radius); overflow: hidden; background: var(--canvas-2); }
.detail-hero svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .detail-hero { grid-template-columns: 1fr; } .detail-hero .thumbs { grid-template-columns: 1fr 1fr; grid-template-rows: none; } }

/* Detail image slider: one big image + a row of clickable thumbnails */
.detail-gallery { margin-bottom: 14px; }
/* With multiple photos the thumbnails sit in a rail to the right of the main image,
   which also makes the main image a little smaller so everything fits on one row. */
.detail-gallery--has-thumbs { display: flex; gap: 12px; align-items: stretch; }
.detail-gallery--has-thumbs .gallery-main { flex: 1 1 auto; min-width: 0; }
.gallery-main { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--canvas-2); border: 1px solid var(--line); }
.gallery-main img, .gallery-main svg { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Vertical thumbnail rail. The track is absolutely positioned so its own height
   never forces the row taller than the main image — it just matches it and scrolls. */
.gallery-thumbs { flex: 0 0 96px; position: relative; }
.gallery-thumbs__track { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.gallery-thumb {
  width: 100%; height: 70px; padding: 0; flex: 0 0 auto; cursor: pointer;
  border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--canvas-2); transition: border-color .15s, transform .15s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { border-color: var(--green-400); }
.gallery-thumb.active { border-color: var(--green-500); }
.gallery-thumb:focus-visible { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-50); }

/* On narrow screens fall back to a horizontal strip below the main image. */
@media (max-width: 640px) {
  .detail-gallery--has-thumbs { flex-direction: column; }
  .gallery-thumbs { flex: 0 0 auto; position: static; }
  .gallery-thumbs__track { position: static; flex-direction: row; flex-wrap: wrap; }
  .gallery-thumb { width: 72px; height: 54px; }
}

.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; margin-top: 32px; }
/* Let grid items shrink below their content's min-content width so nothing forces
   horizontal overflow on small screens (default grid min-width is `auto`). */
.detail-layout > * { min-width: 0; }
@media (max-width: 980px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.detail-title-row h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.panel > h2 { font-size: 1.35rem; margin-bottom: 6px; }
.panel__sub { margin-bottom: 22px; font-size: .96rem; }

/* Specs grid (mirrors reference image) */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
@media (max-width: 620px) { .specs { grid-template-columns: 1fr; } }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-row .k { color: var(--ink-500); font-size: .94rem; }
.spec-row .v { color: var(--ink-900); font-weight: 600; font-size: .94rem; text-align: right; }

/* Facilities list with green checks */
.facilities { columns: 2; column-gap: 40px; }
@media (max-width: 620px) { .facilities { columns: 1; } }
.facility { display: flex; align-items: flex-start; gap: 11px; padding: 8px 0; break-inside: avoid; font-size: .96rem; color: var(--ink-700); }
.facility svg { width: 22px; height: 22px; color: var(--green-500); flex: none; margin-top: 1px; }

/* Sticky booking card */
.booking {
  position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md);
}
.booking__tabs { display: flex; background: var(--canvas); border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.booking__tab {
  flex: 1; text-align: center; padding: 10px; border-radius: 9px; font-weight: 600; font-size: .92rem;
  cursor: pointer; color: var(--ink-500); border: 0; background: none; transition: .15s; font-family: inherit;
}
.booking__tab.active { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-sm); }
.booking__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; }
.booking__price .amt { font-size: 2rem; font-weight: 800; color: var(--ink-900); }
.booking__price .per { color: var(--ink-400); font-size: .95rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit;
  font-size: .95rem; color: var(--ink-900); background: #fff; transition: .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-400); box-shadow: 0 0 0 3px var(--green-50); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.avail-msg { font-size: .88rem; padding: 10px 22px; border-radius: 9px; margin-bottom: 16px; display: none; align-items: center; gap: 8px; margin-top: 15px }
.avail-msg svg { width: 32px; height: 32px; }
.avail-msg.show { display: flex; }
.avail-msg.ok { background: var(--green-50); color: var(--green-600); }
.avail-msg.no { background: #fdeaea; color: var(--danger); }

/* Accessories */
.acc { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.acc:last-child { border-bottom: 0; }
.acc input { width: 18px; height: 18px; accent-color: var(--green-500); cursor: pointer; }
.acc__info { flex: 1; }
.acc__info .n { display: block; font-weight: 600; font-size: .93rem; color: var(--ink-900); }
.acc__info .d { display: block; font-size: .82rem; color: var(--ink-400); }
.acc__price { font-weight: 700; font-size: .9rem; color: var(--ink-700); white-space: nowrap; }

/* Price summary */
.summary { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 16px; }
.summary-row { display: flex; justify-content: space-between; font-size: .92rem; color: var(--ink-500); padding: 4px 0; }
.summary-row.total { font-size: 1.15rem; font-weight: 800; color: var(--ink-900); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }

.trust-row { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.trust-row span { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ink-400); }
.trust-row svg { width: 15px; height: 15px; color: var(--green-500); }

/* ==========================================================================
   Regulations page
   ========================================================================== */
.reg-hero { background: var(--canvas); border-bottom: 1px solid var(--line); }
.info-block { border-left: 3px solid var(--green-400); background: var(--green-50); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 22px 0; }
.info-block.warn { border-color: var(--amber); background: #fdf6e7; }
.info-block strong { color: var(--ink-900); }
.info-block p { color: var(--ink-700); }
/* Icon variant: small icon on the left, text on the right. */
.info-block--icon { display: flex; align-items: flex-start; gap: 14px; }
.info-block--icon > svg { flex: 0 0 auto; width: 26px; height: 26px; color: var(--green-600); margin-top: 1px; }
.info-block--icon.warn > svg { color: var(--amber); }
.info-block--icon > p { margin-top: 0; }

.license-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
@media (max-width: 720px) { .license-cards { grid-template-columns: 1fr; } }
.license-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.license-card .badge {
  display: inline-block; font-weight: 800; font-size: 1.3rem; color: #fff; background: var(--green-500);
  border-radius: 10px; padding: 4px 14px; margin-bottom: 12px;
}
.license-card .badge.be { background: var(--ink-700); }
.license-card ul { list-style: none; margin-top: 14px; }
.license-card li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: .94rem; color: var(--ink-700); }
.license-card li svg { width: 20px; height: 20px; color: var(--green-500); flex: none; }

.calc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-md); margin-top: 20px;
}
.calc-result {
  margin-top: 22px; padding: 20px; border-radius: 12px; text-align: center; font-weight: 600;
}
.calc-result.b  { background: var(--green-50); color: var(--green-600); }
.calc-result.be { background: #eef2f5; color: var(--ink-700); }
.calc-result .lic { font-size: 2.2rem; font-weight: 800; display: block; margin-bottom: 4px; }
/* Info "i" button next to a calculator label */
.calc-info { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 5px; padding: 0; border: 0; background: none; color: var(--ink-400); cursor: pointer; vertical-align: -4px; }
.calc-info:hover { color: var(--green-600); }
.calc-info svg { width: 16px; height: 16px; }

/* Kenteken (RDW) lookup inside the licence calculator */
.calc-plate__label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink-700); margin-bottom: 10px; }
.calc-plate__row { display: flex; gap: 10px; align-items: stretch; }
.calc-plate__row .btn { flex: 0 0 auto; }
/* Dutch number plate: yellow field, black frame, blue NL band. */
.nl-plate {
  display: flex; align-items: stretch; flex: 1 1 auto; min-width: 0;
  background: #f4c400; border: 2px solid #0c0c0c; border-radius: 8px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.nl-plate__band {
  display: flex; align-items: center; justify-content: center; padding: 0 9px;
  background: #0a3ca8; color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .04em; user-select: none;
}
.nl-plate input {
  flex: 1 1 auto; min-width: 0; border: 0; background: transparent; outline: none;
  font-family: inherit; font-weight: 800; font-size: 1.2rem; letter-spacing: .12em;
  text-transform: uppercase; color: #111; padding: 11px 12px;
}
.nl-plate input::placeholder { color: rgba(0,0,0,.32); font-weight: 700; }
.calc-plate__msg { font-size: .88rem; margin-top: 9px; min-height: 1.1em; display: flex; align-items: center; gap: 6px; }
.calc-plate__msg:empty { min-height: 0; margin-top: 0; }
.calc-plate__msg svg { width: 16px; height: 16px; flex: none; }
.calc-plate__msg.ok { color: var(--green-600); }
.calc-plate__msg.warn { color: #b9740f; }
.calc-plate__msg.err { color: var(--danger); }
/* "of vul handmatig in" divider */
.calc-or { display: flex; align-items: center; gap: 12px; color: var(--ink-400); font-size: .84rem; margin: 20px 0; }
.calc-or::before, .calc-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 600; color: var(--ink-900); font-size: 1.05rem; }
.faq-q svg { width: 22px; height: 22px; color: var(--ink-400); transition: .2s; flex: none; }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--green-500); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding-bottom: 20px; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 8px; }
.step__num {
  width: 42px; height: 42px; border-radius: 12px; background: var(--ink-900); color: #fff; display: grid;
  place-items: center; font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }

/* ==========================================================================
   CTA band + Footer
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  border-radius: var(--radius-lg); padding: 52px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin: 12px auto 26px; max-width: 48ch; }

.site-footer { background: var(--ink-900); color: rgba(255,255,255,.66); padding: 60px 0 28px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255,255,255,.4); }
.footer-col h5 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: .93rem; color: rgba(255,255,255,.62); }
.footer-col a:hover { color: var(--green-400); }
.footer-about p { font-size: .93rem; margin: 16px 0; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; font-size: .84rem; color: rgba(255,255,255,.4); flex-wrap: wrap; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink-900); color: #fff; padding: 15px 22px; border-radius: 12px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; z-index: 200; transition: transform .35s cubic-bezier(.2,.8,.2,1); max-width: 92vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 22px; height: 22px; color: var(--green-400); flex: none; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,26,36,.55); backdrop-filter: blur(3px); z-index: 150;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal { background: #fff; border-radius: var(--radius-lg); max-width: 520px; width: 100%; padding: 34px; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; margin: 0 auto 18px; }
.modal__icon svg { width: 34px; height: 34px; color: var(--green-500); }
.modal h3 { text-align: center; font-size: 1.5rem; margin-bottom: 8px; }
.modal p { text-align: center; margin-bottom: 20px; }
.modal .recap { background: var(--canvas); border-radius: 12px; padding: 16px; margin-bottom: 20px; font-size: .9rem; }
.modal .recap .summary-row { color: var(--ink-700); }
/* Reusable info popup */
.modal--info { max-width: 480px; }
.modal--info .info-modal__body { margin-bottom: 22px; font-size: .95rem; }
.modal--info .info-modal__body p { color: var(--ink-700); margin-bottom: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Availability calendar (booking panel)
   ========================================================================== */
.cal-wrap { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-title { font-weight: 700; color: var(--ink-900); font-size: .98rem; text-transform: capitalize; }
.cal-nav { width: 32px; height: 32px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink-700); }
.cal-nav:hover:not(:disabled) { background: var(--canvas); border-color: var(--ink-400); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd { text-align: center; font-size: .68rem; font-weight: 700; color: var(--ink-400); text-transform: uppercase; padding-bottom: 4px; }
.cal-cell { min-height: 3rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 0; background: var(--canvas); border-radius: 8px; font-family: inherit; cursor: pointer; transition: .12s; padding: 2px 0; line-height: 1; }
.cal-day { font-size: .82rem; font-weight: 600; color: var(--ink-700); }
.cal-price { font-size: .58rem; font-weight: 600; color: var(--ink-400); }
.cal-cell:hover:not(:disabled) { background: var(--green-50); }
.cal-cell:hover:not(:disabled) .cal-day, .cal-cell:hover:not(:disabled) .cal-price { color: var(--green-600); }
.cal-cell.out { background: transparent; cursor: default; min-height: 0; }
.cal-cell.past { background: transparent; cursor: not-allowed; }
.cal-cell.past .cal-day { color: var(--line); }
.cal-cell.booked { background: #fdeaea; cursor: not-allowed; }
.cal-cell.booked .cal-day { color: #d99; text-decoration: line-through; }
.cal-cell.closed { background: var(--canvas-2); cursor: not-allowed; }
.cal-cell.closed .cal-day { color: var(--ink-400); }
.cal-cell.mid { background: var(--green-50); border-radius: 0; }
.cal-cell.mid .cal-day, .cal-cell.mid .cal-price { color: var(--green-600); }
.cal-cell.sel { background: var(--green-500); }
.cal-cell.sel .cal-day, .cal-cell.sel .cal-price { color: #fff; }
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: .76rem; color: var(--ink-400); }
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.cal-dot { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.cal-dot.free { background: var(--canvas-2); }
.cal-dot.booked { background: #fdeaea; border: 1px solid #f2c4c4; }
.cal-dot.closed { background: var(--canvas-2); border: 1px solid var(--line); }
.cal-dot.sel { background: var(--green-500); }
.sel-range { font-size: .9rem; color: var(--ink-700); text-align: center; padding: 8px 0 4px; }

/* Rent request form modal */
.modal--form { max-width: 540px; text-align: left; }
.modal--form h3 { text-align: left; }
.rq-sub { text-align: left !important; background: var(--canvas); border-radius: 10px; padding: 12px 14px; font-size: .9rem; color: var(--ink-700) !important; margin-bottom: 18px; }

/* ── Cookie-consent banner (Google Analytics / Consent Mode) ─────────────── */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  display: flex; justify-content: center;
  animation: consent-in .28s ease both;
}
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.consent-banner__inner {
  width: 100%; max-width: 720px;
  background: var(--surface); color: var(--ink-700);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.consent-banner__text { flex: 1 1 320px; margin: 0; font-size: .9rem; line-height: 1.5; }
.consent-banner__text a { color: var(--green-600); font-weight: 600; }
.consent-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-consent {
  font: inherit; font-weight: 600; font-size: .9rem;
  border-radius: var(--radius-sm); padding: 10px 18px; cursor: pointer;
  border: 1px solid var(--line); transition: background .15s, border-color .15s, color .15s;
}
.btn-consent--reject { background: var(--surface); color: var(--ink-700); }
.btn-consent--reject:hover { background: var(--canvas-2); }
.btn-consent--accept { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.btn-consent--accept:hover { background: var(--green-700); border-color: var(--green-700); }
@media (max-width: 560px) {
  .consent-banner__text { flex: 1 1 60px; }
  .consent-banner__inner { flex-direction: column; align-items: stretch; }
  .consent-banner__actions { justify-content: stretch; }
  .btn-consent { flex: 1; }
}
/* Footer "Cookievoorkeuren" text button — matches the adjacent footer links. */
.consent-link {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline;
}
.consent-link:hover { color: #fff; }
