/* =========================================================================
   SINGLE SOURCE for the site CHROME styling (header/nav + footer + switcher +
   profile menu + mobile menu). Loaded by BOTH the marketing pages (injected by
   the site-render route) AND the portal (app/layout.tsx). Markup: lib/chrome.ts.
   Behavior: chrome.js. Chrome classes only — no page/app styles here.
   CSS variables (--nav-h, --grad, --ink, --sand, --line, --mono, --r-*, --sh-*)
   come from whichever main stylesheet is loaded (site.css or globals.css); custom
   properties resolve at use-time, so load order does not matter.
   ========================================================================= */

/* Load the brand font here so BOTH the marketing site and the portal fetch the SAME variable
   font the SAME way (a static <link>, unprocessed by Next) — otherwise the nav renders in a
   fallback font on one and the variable font on the other, causing a small width "jump". */
/* The font <link> lives in the page head now (marketing pages, app/layout.tsx and
   the legal route). An @import here could not start until this file had been
   fetched and parsed, which made it a second, serialized render-blocking request
   on every single page. Every loader of chrome.css carries the same URL. */
/* Poppins is the heading face for the whole platform (30 Sep 2026), Plus Jakarta Sans the text face, each
   in exactly the weights the scale uses. Archivo was the second heading face and is gone: one face fewer to
   download, and no page shows two of them at once any more. */

/* Consistent text rendering across marketing + portal (identical glyph metrics = no nav jump) */
.nav, .mobile-menu, .site-footer { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ---- NAV + MEGA MENU ---- */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, background .3s ease; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 30px -16px rgba(24,25,31,.18); }
.nav.nav-hidden { transform: translateY(-100%); }
/* When the mobile menu is open the header must stay put (it holds the logo + close button).
   lockScroll pins <body> to position:fixed, which breaks the sticky nav (it follows the body's
   negative offset off-screen) and the scroll-hide transform may also still be applied — so pin the
   header to the viewport top explicitly for the duration the menu is open. */
body.mm-open .nav { position: fixed; top: 0; left: 0; right: 0; transform: none; }
.nav-inner { height: var(--nav-h); max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.nav-logo { flex-shrink: 0; } /* a crowded nav used to squeeze the logo out of its proportions (Lighthouse, 17 Nov 2026) */
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; color: var(--ink-2); font-size: var(--t-body); font-weight: var(--w-medium); padding: 9px 14px; border-radius: var(--r-pill); letter-spacing:var(--track-tight); transition: background .18s ease, color .18s ease; cursor: pointer; font-family: var(--font); }
.nav-link:hover { background: var(--sand); color: var(--ink); }
.nav-link.active { color: var(--ink); font-weight: var(--w-medium); }
.nav-chev { display: inline-flex; width: 15px; transition: transform .25s ease; }
.nav-chev svg { width: 15px; height: 15px; }
.has-mega.open .nav-chev { transform: rotate(180deg); }
.nav-item { position: relative; }
.nav-right { display: flex; align-items: center; gap: 14px; }
/* A menu link is never broken over two lines ("Over / ons" between 901 and ~1080px wide, 17 Nov 2026:
   the no-single-word-lines rule). Below 1080px the full bar only fits with tighter spacing; French has
   the longest labels and also takes the small text size below 1024px. Measured in nl/en/fr/de at
   901-1280px: every bar stays inside its 40px margins, with nothing wrapped. */
.nav-link { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1079px) {
  .nav-inner { gap: 12px; }
  .nav-links { gap: 0; }
  .nav-link { padding-left: 8px; padding-right: 8px; }
  .nav-right { gap: 8px; }
}
@media (min-width: 901px) and (max-width: 1023px) {
  :lang(fr) .nav-link { font-size: var(--t-small); padding-left: 6px; padding-right: 6px; }
}
.nav-help { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: var(--t-body); font-weight: var(--w-medium); color: var(--ink-2); }
.nav-help svg { width: 16px; height: 16px; color: var(--b1); }
.nav-help:hover { color: var(--ink); }
/* Booking focus (the /book page): on a phone the full header becomes the slim checkout header, logo +
   "Hulp nodig?". No menu, no "Boeken" button (they're already booking). Desktop is unchanged. */
.nav-help-m { display: none; }
@media (max-width: 900px) {
  .nav-focus .nav-right { display: none; }
  .nav-focus .nav-help-m { display: inline-flex; }
}

/* ---- language + country switcher ---- */
.nav-lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: var(--sand); border: none; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-pill); font-weight: var(--w-medium); font-size: var(--t-body); color: var(--ink-2); cursor: pointer; transition: .18s; font-family: var(--font); }
.lang-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.lang-btn svg { width: 16px; height: 16px; }
.flag { width: 20px; height: 14px; border-radius: 3px; display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.lang-flag { display: inline-flex; }
.lang-menu { position: absolute; top: calc(100% + 10px); right: 0; background: #fff; border-radius: 14px; box-shadow: var(--sh-md), inset 0 0 0 1px var(--line); padding: 6px; min-width: 160px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.nav-lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { display: flex; width: 100%; align-items: center; gap: 8px; background: none; border: none; text-align: left; padding: 10px 12px; border-radius: 9px; font-size: var(--t-body); font-weight: var(--w-medium); color: var(--ink-2); cursor: pointer; }
.lang-menu button:hover { background: var(--cream); }
.lang-menu button.on { color: var(--ink); font-weight: var(--w-bold); }
.lang-menu button.on::after { content: "✓"; margin-left: auto; color: var(--b1); }
.lang-menu-wide { min-width: 216px; }
.lang-sec + .lang-sec { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 4px; }
.lang-sec-h { font-size: var(--t-micro); text-transform: uppercase; letter-spacing:var(--track-caps); color: var(--muted); font-weight: var(--w-bold); padding: 8px 12px 4px; }
.lang-opt { display: flex; width: 100%; align-items: center; gap: 9px; background: none; border: none; text-align: left; padding: 9px 12px; border-radius: 9px; font-size: var(--t-body); font-weight: var(--w-medium); color: var(--ink-2); cursor: pointer; }
.lang-opt:hover { background: var(--cream); }
.lang-opt.on { color: var(--ink); font-weight: var(--w-bold); }
.lang-opt.on::after { content: "✓"; margin-left: auto; color: var(--b1); }
.lang-opt .flag { width: 20px; height: 14px; flex: 0 0 auto; }

/* ---- icon-only login + profile icon (links to the dashboard) ---- */
.nav-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); transition: box-shadow .18s ease, color .18s ease, transform .12s ease; }
.nav-iconbtn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); transform: translateY(-1px); }
.nav-iconbtn svg { width: 19px; height: 19px; }
/* Boek nu (and any nav CTA) — size its arrow icon; the portal's globals.css leaves .btn svg unsized. */
.nav-right .btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.profile-avatar { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-size: var(--t-small); font-weight: var(--w-head); letter-spacing: var(--track-body); border: 0; cursor: pointer; text-decoration: none; box-shadow: 0 4px 12px rgba(255,94,126,.28); transition: transform .12s ease, box-shadow .18s ease; }
/* Red "open task" notification badge on the header avatar (filled by chrome.js). */
.profile-avatar:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,94,126,.36); }

/* ---- burger + mega + mobile menu ---- */
.nav-burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-burger.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.x span:nth-child(2) { opacity: 0; }
.nav-burger.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Left-anchored to the trigger (not centered): the "Photobooth huren" item sits near the left of the
   nav, so a centered 680px panel spilled off the left edge of the viewport. Aligning its left edge to
   the trigger keeps it inside the content column and lined up with the menu. */
.mega { position: absolute; top: calc(100% + 14px); left: 0; transform: translateY(10px); width: min(700px, 92vw); background: #fff; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(36,16,34,.08), 0 30px 60px -28px rgba(36,16,34,.45); padding: 14px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, transform .25s cubic-bezier(.22,.61,.36,1); }
.has-mega.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
/* Invisible hover bridge across the gap between the trigger and the panel. It must span the FULL gap
   (14px resting + the 10px open-slide = 24px) or the mouse crosses a dead strip on the way down,
   fires mouseleave, and the menu snaps shut — the "not sticking" bug. Height matches that 24px. */
.mega::before { content:""; position:absolute; top:-24px; left:0; right:0; height:24px; }
/* The white menu with a studio photo per occasion (owner, 10 Nov 2026): each photo in the look of the homepage package
   cards, on its card's pastel; each option's one line of explanation, and the site's promise with a link to how it works
   underneath. Links stay ink (no orange text on white), the brand orange only on the arrow. */
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-card { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-md); transition: background .2s ease; }
.mega-card:hover, .mega-card:focus-visible { background: var(--sand); }
.mega-card:focus-visible, .mega-foot a:focus-visible { outline: 2px solid var(--b1); outline-offset: 2px; }
.mega-ph { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: var(--sand); box-shadow: 0 0 0 1px rgba(59,24,53,.06); transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.mega-card:hover .mega-ph { transform: scale(1.05) rotate(-2deg); }
@media (prefers-reduced-motion: reduce) { .mega-ph { transition: none; } .mega-card:hover .mega-ph { transform: none; } }
.mega-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega-t { font-weight: var(--w-bold); font-size: var(--t-body); color: var(--ink); letter-spacing:var(--track-tight); }
.mega-d { font-size: var(--t-small); color: var(--muted); text-wrap: balance; }  /* even lines: never "& events." alone */
.mega-foot { display: flex; align-items: center; gap: 16px; margin-top: 8px; padding: 14px 12px 4px; border-top: 1px solid var(--line); font-weight: var(--w-medium); font-size: var(--t-small); color: var(--ink-2); }
.mega-foot > span { text-wrap: balance; }
.mega-foot a { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: var(--w-bold); color: var(--ink); }
.mega-foot a svg { width: 16px; height: 16px; color: var(--b1); transition: transform .18s ease; }
.mega-foot a:hover svg { transform: translateX(3px); }
.mobile-menu { position: fixed; inset: var(--nav-h) 0 0; background: #fff; z-index: 99; transform: translateX(100%); transition: transform .35s cubic-bezier(.22,.61,.36,1); overflow-y: auto; }
body.mm-open .mobile-menu { transform: none; }
.mm-inner { padding: 14px 24px 24px; display: flex; flex-direction: column; gap: 0; }
.mm-inner > a { font-size: var(--t-h2); font-weight: var(--w-bold); letter-spacing:var(--track-tight); padding: 17px 0; border-bottom: 1px solid var(--line); }
/* Collapsible nav group (Photobooth Huren) — folds its sub-links to keep the sheet clean */
.mm-group { border-bottom: 1px solid var(--line); }
.mm-grouphead { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: var(--t-h2); font-weight: var(--w-bold); letter-spacing:var(--track-tight); padding: 17px 0; background: none; border: 0; color: inherit; cursor: pointer; font-family: inherit; text-align: left; }
.mm-chev { display: inline-flex; transition: transform .25s ease; color: var(--muted); }
.mm-chev svg { width: 24px; height: 24px; }
.mm-group.open .mm-chev { transform: rotate(180deg); }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.mm-sub > * { min-height: 0; overflow: hidden; }
.mm-group.open .mm-sub { grid-template-rows: 1fr; }
.mm-sub-in { display: flex; flex-direction: column; gap: 4px; padding-left: 2px; }
.mm-sub a { display: flex; align-items: center; gap: 13px; font-size: var(--t-h4); font-weight: var(--w-medium); padding: 11px 0; color: var(--ink); }
.mm-sub a:first-child { padding-top: 12px; }
.mm-sub a:last-child { padding-bottom: 16px; }
/* The occasion's photo per sub-item, the same as the desktop menu (owner, 9 Nov 2026), smaller. */
.mm-ph { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--sand); }
.mm-sub-t { flex: 1; }
.mm-arrow { display: inline-flex; color: var(--line-strong); flex: 0 0 auto; }
.mm-arrow svg { width: 18px; height: 18px; }
/* Mobile sidebar: language/delivery switcher (one grouped card) + account buttons */
/* The delivery-country + language control: ONE quiet row in the menu that opens a bottom sheet with
   both choices (picked off the concepts page). It is set automatically and rarely changed, so the menu
   shows only the current combination on a single row, and the options live one tap away in the sheet. */
/* one quiet row at the very bottom of the menu, under the buttons — a SINGLE divider above it (not
   two), and the current country shown as just its flag; the sheet it opens carries the full choice. */
.mm-switch { margin-top: 16px; }
.mm-regio { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; background: none; border: none;
  cursor: pointer; padding: 16px 0 2px; border-top: 1px solid var(--line); font: inherit; }
.mm-regio-l { font-size: var(--t-body); font-weight: var(--w-medium); color: var(--muted); }
.mm-regio-v { display: inline-flex; align-items: center; }
.mm-regio-v .flag { width: 24px; height: 17px; flex: 0 0 auto; border-radius: 3px; }
.mm-regio-chev { display: inline-flex; color: var(--muted); }
.mm-regio-chev svg { width: 18px; height: 18px; }

/* the bottom sheet — fixed above the menu (99) and the nav (100). The menu is already scroll-locked
   when it opens, so the sheet only fades its scrim in and slides its panel up. */
.mm-sheet { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; visibility: hidden; }
.mm-sheet.open { visibility: visible; }
.mm-sheet-scrim { position: absolute; inset: 0; background: rgba(18,19,26,.4); opacity: 0; transition: opacity .28s ease; }
.mm-sheet.open .mm-sheet-scrim { opacity: 1; }
.mm-sheet-panel { position: relative; width: 100%; background: #fff; border-radius: 22px 22px 0 0;
  padding: 12px 22px calc(22px + env(safe-area-inset-bottom,0px)); box-shadow: 0 -24px 60px -30px rgba(0,0,0,.5);
  transform: translateY(100%); transition: transform .32s cubic-bezier(.22,.61,.36,1); }
.mm-sheet.open .mm-sheet-panel { transform: none; }
.mm-sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 6px auto 18px; }
.mm-sheet-sec + .mm-sheet-sec { margin-top: 18px; }
.mm-sheet-h { font-size: var(--t-small); font-weight: var(--w-bold); color: var(--muted); margin-bottom: 10px; }
.mm-sheet .lang-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-sheet .lang-opt { display: inline-flex; align-items: center; gap: 8px; width: auto; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 10px 15px; border-radius: var(--r-pill); font-weight: var(--w-medium); font-size: var(--t-body); color: var(--ink-2); border: none; cursor: pointer; }
.mm-sheet .lang-opt .flag { width: 21px; height: 15px; }
.mm-sheet .lang-opt.on { background: var(--ink); color: #fff; box-shadow: none; }
.mm-sheet .lang-opt.on::after { content: none; }
.mm-sheet-done { margin-top: 22px; width: 100%; background: var(--ink); color: #fff; border: none; cursor: pointer;
  font: inherit; font-weight: var(--w-bold); font-size: var(--t-body); padding: 14px; border-radius: var(--r-pill); }
@media (prefers-reduced-motion: reduce) { .mm-sheet-scrim, .mm-sheet-panel { transition: none; } }
.mm-foot { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.mm-foot .mm-btn { width: 100%; margin: 0; }
.mm-foot .mm-btn svg { width: 18px; height: 18px; }

/* ---- FOOTER — "Redactie donker" -------------------------------------------------------------
   The redesign's footer (design/homepage-mockups/parts/footer.html), which is where the twenty-one
   alternatives and the reasoning behind this one live. Gone with them: the rounded top, the gradient
   hairline, the newsletter, the CTA card and the giant wordmark — nothing below styles anything the
   one footer does not draw.

   A big footer is a sitemap, not decoration: the helpdesk, three link columns, the manifest, the
   cities and the brand, separated by nothing but a hairline. Rendered by footerHTML() in
   lib/chrome.ts, so the marketing site and the portal cannot drift apart on it.

   Kool. #1B1C21 read best under the page: five darker grounds lost to it. The hairline and the chips
   sit higher than they would on a lighter ground — at 9% white a chip disappears into charcoal and
   at 13% a hairline stops being a line. */
.site-footer.v-dark { --fg: #D6D4DB; --fgs: #fff; --fline: rgba(255,255,255,.15); --fchip: rgba(255,255,255,.11);
  background: #27292E; color: var(--fg); padding: clamp(38px,6vw,60px) 0 calc(26px + env(safe-area-inset-bottom,0px)); }
  /* #27292E = the ink top bar's colour (--dh-tb in blocks.css); footer + bar bookend the page in one dark. */
/* Pin the footer wrap padding in the single-source chrome, so the footer looks identical on the
   marketing site and the portal (the portal's globals.css .wrap adds 44/88px vertical padding,
   which showed up as extra dead space at the bottom). */
.v-dark .wrap { position: relative; z-index: 1; max-width: 1200px; padding: 0 32px; }
.v-dark h3 { font-size: var(--t-micro); font-weight: var(--w-head); letter-spacing:var(--track-caps); text-transform: uppercase; color: var(--fgs);
  margin: 0 0 14px; font-family: var(--disp); }
.v-dark ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v-dark a { color: var(--fg); text-decoration: none; font-size: var(--t-body); font-weight: var(--w-medium); }
.v-dark a:hover { color: var(--fgs); }

/* The helpdesk and the three nav columns are ONE grid, not a rail wrapped around a second one.
   Nested, the phone laid out as a full-width row, then the nav fell into two columns, then the third
   column sat alone underneath — one, two, one down the page. On desktop the first track widens into
   the rail. */
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: minmax(0,330px) repeat(3,minmax(0,1fr)); gap: clamp(26px,3.6vw,48px); }
  /* open and inert on desktop: the summary is just the column heading, and it carries the 14px the
     h4's own margin gives up for the mobile summary row */
  .foot-nav > summary { list-style: none; pointer-events: none; margin-bottom: 14px; }
  .foot-nav > summary::-webkit-details-marker { display: none; }
  .foot-nav > summary .fchev { display: none; }
}
.foot-help { align-self: start; }

/* Helpdesk, mail and opening hours (and the chat once one exists): one row each, an icon and a line,
   sized like the nav links beside them so the rail reads as a fourth column. The lead row is marked by
   its icon alone, no box. The mail row carries the promised reply time as a quiet second line. */
.foot-reach { display: grid; gap: 11px; }
.foot-item { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; color: var(--fg);
  font-size: var(--t-body); font-weight: var(--w-medium); line-height: var(--lh-small); }
/* display:flex at (0,1,0) would otherwise tie with [hidden] and win on source order, so the phone
   row chrome.js hides when a country has no number would sit there saying nothing. */
.foot-item[hidden] { display: none; }
.v-dark a.foot-item:hover { color: var(--fgs); }
.foot-item svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px; opacity: .55; }
.foot-item.lead svg { opacity: 1; color: #FF9155; }
.foot-item a { color: inherit; font-size: inherit; font-weight: inherit; }



/* one hairline between rows */
.foot-rule { margin-top: clamp(24px,3.2vw,34px); padding-top: clamp(22px,3vw,30px); border-top: 1px solid var(--fline); }

/* The manifest, as a wide row: the standfirst on the left, the conditions running beside it. Beside
   the link columns it was a paragraph competing with three lists; across the row it is simply the
   thing we promise. */
.foot-manifest { display: grid; gap: 14px; }
@media (min-width: 900px) {
  .foot-manifest { grid-template-columns: minmax(0,330px) minmax(0,1fr); gap: clamp(26px,3.6vw,48px); align-items: start; }
}
.foot-manifest h3 { margin-bottom: 10px; }
/* the footer's standfirst is a heading in the heading face (it was Plus Jakarta Sans 800: a second heading face) */
.foot-manifest .lead { font-family: var(--disp); font-size: var(--t-h4); font-weight: var(--w-head); line-height: var(--lh-h4); letter-spacing: var(--track-tight); color: var(--fgs); max-width: 27ch; text-wrap: balance; }
/* balance, not the pretty .mk p gives it: Safari's pretty broke the German one as "nach Hause / geliefert. Kein /
   Stundenpreis" (a short middle line), measured on every de page (owner, 24 Nov 2026; kit.css .head p) */
/* 68ch here measures in '0'-widths (~11px), which rendered ~100 actual characters per line on
   wide desktop and tripped the readability check. 52ch lands near a 75-char measure. */
.foot-manifest p { font-size: var(--t-body); line-height: var(--lh-body); opacity: .88; max-width: 52ch; margin: 0; }

/* The city list folded into a single row. The grid is in the DOM either way — only its height
   changes — which is what keeps it indexable: Google crawls collapsed content the same as visible
   content; what it will NOT see is a list a click builds with JS. */
.foot-cities { padding: 24px 0; margin-top: 26px; border-top: 1px solid var(--fline); }
.foot-rule .foot-cities, details.foot-cities { border-top: 0; margin-top: 0; padding: 0; }
.foot-cities > summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; padding: 21px 0; }
/* "Nu beschikbaar in" sits in the city row, on its own line under the heading on every screen (owner, 24 Nov 2026: beside
   the heading read too busy) */
.foot-cities > summary { flex-wrap: wrap; row-gap: 14px; }
.foot-cities > summary .foot-where { order: 3; flex: 1 1 100%; cursor: default; }
.foot-cities > summary .foot-where-h { flex: none; }
.foot-cities > summary::-webkit-details-marker { display: none; }
.foot-cities h3, .foot-nav > summary h3 { margin: 0; }
.foot-cities-count { margin-left: auto; font-size: var(--t-small); opacity: .68; white-space: nowrap; } /* .68 = 5.4:1 on the dark footer (.58 was 4.4:1, under the 4.5 minimum) */
.fchev { width: 18px; height: 18px; opacity: .7; transition: rotate .25s ease; }
.foot-cities[open] > summary .fchev, .foot-nav[open] > summary .fchev { rotate: 180deg; }
@media (prefers-reduced-motion: reduce) { .fchev { transition: none; } }
.foot-cities .foot-cities-grid { padding-bottom: 23px; }
.foot-cities-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 16px; }
@media (min-width: 560px) { .foot-cities-grid { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 900px) { .foot-cities-grid { grid-template-columns: repeat(6,1fr); } }
/* a city whose page has not shipped yet: still listed — we do deliver there — but not a link,
   because there is nothing to link to */
.foot-cities-grid span { font-size: var(--t-body); font-weight: var(--w-medium); opacity: .42; }
/* "Alle steden" link under the grid → the full per-country index page. Sits outside .foot-cities-grid so
   the client re-render (which only rewrites the grid) never drops it. */
.foot-cities-all { display: inline-block; margin-top: 4px; font-size: var(--t-small); font-weight: var(--w-bold); color: var(--fg); opacity: .85; text-decoration: none; border-bottom: 1px solid transparent; }
.foot-cities-all:hover { opacity: 1; border-bottom-color: currentColor; }

/* the brand laid out along a row instead of down a column */
.foot-brand { display: grid; gap: 14px 26px; align-items: center; }
.foot-logo img, .v-dark .foot-logo img { height: 34px; width: auto; width: calc(34px * attr(width type(<number>)) / attr(height type(<number>))); display: block; }
.v-dark .foot-brand p { margin: 0; line-height: var(--lh-body); font-size: var(--t-body); max-width: 40ch; color: var(--fg); }
/* WHERE WE DELIVER — a label and three names, not three pills. The pill is the
   shape this site uses for a claim ("Gratis bezorgd"); a country is a fact, and
   the label in front of it is what makes it one. */
.foot-where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
/* a quiet caption, not a tracked-out eyebrow: sentence case, no wide letter-spacing,
   so it reads as a friendly lead-in to the country names rather than a label shouting. The text face at 600
   (owner, 17 Oct 2026): it was the only Poppins 600 on the site, so that weight is not loaded any more. */
.foot-where-h { flex: 0 0 100%; font-size: var(--t-small); font-weight: var(--w-medium); letter-spacing: var(--track-body);
  line-height: var(--lh-small); text-transform: none; color: var(--fgs); opacity: .72; font-family: var(--font); }
.foot-ctry { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-body);
  font-weight: var(--w-bold); color: var(--fg); }
/* a flag is 20:14, so width and auto height — and it is never recoloured, which
   currentColor on a stroke icon would have done */
.foot-where svg { width: 19px; height: auto; flex: 0 0 auto; border-radius: 3px; display: block; }
.foot-soc { display: flex; gap: 8px; }
.foot-follow { display: flex; flex-direction: column; gap: 8px; }
.foot-follow .foot-where-h { flex: none; }
/* a profile whose URL we do not have yet is a <span>: the same circle, not clickable */
.foot-soc a, .foot-soc span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fchip); color: var(--fgs); }
.foot-soc a:hover { background: rgba(255,255,255,.2); }
/* The 321Klik app (lib/chrome.ts APP_STORE_URL), in the brand row beside "Nu beschikbaar in": a short label, then the two store badges. The badges
   are black, the way both stores draw them, with a hairline so they hold their edge on the dark footer. Until a store
   URL is set both are this home-made <span>, not clickable; once one is, the stores with a URL show their OFFICIAL
   badge (.foot-app-official, Apple's and Google's own artwork, @321klik/shared/appStores storeBadge), 40 px tall. */
.foot-app { display: flex; flex-direction: column; gap: 8px; }
.foot-app .foot-where-h { flex: none; text-wrap: balance; }
.foot-app-badges { display: flex; flex-wrap: wrap; gap: 10px; }
/* before the app is in a store the marks are one link to the app page (lib/chrome.ts) */
a.foot-app-badges { text-decoration: none; border-radius: 10px; }
a.foot-app-badges:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.foot-app-official { display: inline-block; line-height: 0; border-radius: 8px; }
/* No `width: auto` here: the tag's own width (storeBadge, the badge's width at 40 px) holds its box before the lazy
   picture arrives. With `auto` Chrome drew it 80 px wide until it loaded, then it jumped (layout shift). */
.foot-app-official img { display: block; height: 40px; }
.foot-app-official:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (min-width: 900px) {
  /* logo, the chips, the socials. It was four tracks while the tagline sat between
     the logo and the chips; the tagline is gone, so the chips take the free one. */
  .foot-brand { grid-template-columns: auto minmax(0,1fr) auto auto; column-gap: 40px; }   /* logo, (space), the app, socials */
  .foot-brand > .foot-app { grid-column: 3; }
  /* the two "label: content" groups start on one line, so their labels line up */
  .foot-brand > .foot-app, .foot-brand > .foot-follow { align-self: start; }
  /* the helpdesk is the column a visitor comes to the footer FOR, so it stops reading
     like the link lists beside it: a step up in size, larger and more present icons,
     each row centred on its own icon. */
  .foot-help .foot-reach { gap: 14px; }
  .foot-help .foot-item { font-size: var(--t-body); align-items: center; gap: 12px; }
  .foot-help .foot-item svg { width: 20px; height: 20px; margin-top: 0; opacity: .7; }
  /* the city list is collapsed by default now (saves the whole grid of names); give it
     real air above so it separates from the promise instead of butting against it. */
  details.foot-cities { margin-top: clamp(26px,3.6vw,44px); }
}

/* the bottom bar. A GROUP, not display:contents: dissolved, the three legal links became individual
   flex items and a narrow bar wrapped BETWEEN them, leaving one under the copyright rather than under
   the links it belongs to. */
.v-dark .foot-bottom { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding-top: 22px; margin-top: 26px;
  border-top: 1px solid var(--fline); font-size: var(--t-small); color: rgba(255,255,255,.55); }
.foot-bottom .foot-sp { flex: 1; }
.v-dark .foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.v-dark .foot-legal a { font-size: var(--t-small); color: rgba(255,255,255,.55); }
.v-dark .foot-legal a:hover { color: var(--fgs); }

@media (max-width: 899px) {
  /* On a phone every block takes the full width and its LINKS go two up, instead of the blocks
     themselves sharing columns. Three nav groups never divide into two columns without leaving one
     on its own at the end, and this puts the helpdesk first at full size — where a number you might
     actually need to call belongs. */
  .foot-grid { grid-template-columns: 1fr; gap: 0; }
  .foot-nav { border-top: 1px solid var(--fline); }
  .foot-nav > summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; padding: 18px 0; }
  .foot-nav > summary::-webkit-details-marker { display: none; }
  .foot-nav > summary h3 { margin: 0; }
  .foot-nav > summary .fchev { margin-left: auto; opacity: .6; }
  .foot-nav ul { gap: 14px; padding-bottom: 21px; }
  .foot-nav:last-of-type { border-bottom: 1px solid var(--fline); }
  /* the count leaves the heading 235px and it needs 250, so it wrapped; on a narrow phone the
     heading is the part worth keeping, and the chevron takes over the auto margin it was holding */
  .foot-cities-count { display: none; }
  .foot-cities > summary .fchev { margin-left: auto; }
  /* close the stack with a rule of its own, and let the manifest keep its spacing without drawing a
     second line a few pixels under the first */
  .foot-grid + .foot-rule { border-top: 0; margin-top: 0; padding-top: clamp(22px,4vw,30px); }
  /* The helpdesk reads as its own band above the sitemap: centred, a step up in size, on bigger
     icons — on a phone this is the block someone reaches for when something has gone wrong, so it is
     the one thing here that does not look like a link list. justify-items centres each row on its own
     content, so the icons do NOT line up in a column; that is the point of centring it. */
  .foot-help { padding-bottom: 28px; text-align: center; }
  .foot-help h3 { margin-bottom: 17px; }
  .foot-help .foot-reach { gap: 15px; justify-items: center; }
  .foot-help .foot-item { font-size: var(--t-h4); gap: 12px; align-items: center; }
  .foot-help .foot-item svg { width: 23px; height: 23px; margin-top: 0; opacity: .62; }
  .foot-help .foot-item.lead svg { opacity: 1; }
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  /* Mobile header: logo + Boek nu (logged out) or profile icon (logged in) + burger. Nav links,
     language switcher and login icon move into the sidebar. */
  .nav-links, .nav-lang, .nav-iconbtn { display: none; }
  /* Logged out: a compact "Boek nu" stays in the mobile bar. Logged in: the profile
     avatar already occupies that slot, so hide Boek nu to avoid overcrowding. */
  .nav-right .btn-primary { padding: 0 16px; height: 44px; }
  .nav-right.is-auth .btn-primary { display: none; }
  /* the three lines sit on the right edge of their 44px tap area, so they end on the same 24px gutter the logo
     starts on (owner, 4 Nov 2026: centred they ended 35px from the edge and the bar looked lopsided) */
  .nav-burger { display: flex; align-items: flex-end; padding: 0; }
  .nav { background: #fff; box-shadow: inset 0 -1px 0 var(--line); }
  .nav-inner { gap: 12px; }
  .nav-logo { margin-right: auto; }
}
/* The chat button (chrome.js, owner 18 Nov 2026): our own light stand-in where Intercom's launcher will be, until the chat is
   needed. Same size and corner as Intercom's launcher, brand orange like the launcher's colour in Intercom (docs/INTERCOM.md), with
   a black icon like Intercom's (white on this orange fails the contrast check, so Intercom swaps it for black). */
.klik-chat-btn { position: fixed; right: 20px; bottom: 20px; z-index: 2147482000; width: 48px; height: 48px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; background: #3B1835; color: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.06), 0 2px 32px rgba(0,0,0,.16); cursor: pointer; transition: transform .18s ease; }
.klik-chat-btn:hover { transform: scale(1.1); }
.klik-chat-btn:focus-visible { outline: 3px solid #FF6B35; outline-offset: 3px; }
/* A full-screen popup is open (window.klikChatCover, chrome.js): no launcher on top of it. Intercom also gets
   hide_default_launcher; these selectors cover the moment before that lands. */
body.chat-covered .klik-chat-btn, body.chat-covered .intercom-lightweight-app-launcher, body.chat-covered .intercom-launcher-frame { display: none !important; }
/* The account's tab bar on a phone (PortalShell .ps-tabs, below 900px): every launcher stands 16px above it. Decided by CSS
   (:has), never by when a script ran: the account is reached by a client-side step from the login page, so a one-time
   measurement at load saw no bar (owner, 23 Nov 2026, the chat over "Meer" again). --klik-chat-lift is the bar's measured
   height + 16px (chrome.js applyChatLift); until it is measured, the bar's own size (66px tab + 1px border) + the safe area.
   The full Messenger's launcher is an iframe inside a fixed wrapper div with a generated class: the WRAPPER is moved (moving
   the iframe did nothing, tested on the live site). The lightweight launcher and ours are fixed themselves. */
@media (max-width: 899px) {
  body:has(.ps-tabs) .klik-chat-btn,
  body:has(.ps-tabs) .intercom-lightweight-app-launcher,
  body:has(.ps-tabs) #intercom-container div:has(> iframe.intercom-launcher-frame) {
    bottom: var(--klik-chat-lift, calc(83px + env(safe-area-inset-bottom, 0px))) !important;
  }
}
@media print { .klik-chat-btn { display: none; } }

/* =========================================================================
   Booking buttons while "Boeken" is off (noodschakelaar 0601; markup lib/bookPaused.ts, behaviour chrome.js bookPaused).
   No link any more: an outlined button on white, plum text, the brand orange only on the small pause icon. Never red, never a
   tinted fill, never a broken grey. Tapping it opens .klik-bp-pop: the banner's line with the contact link, beside the button.
   ========================================================================= */
/* NEVER a `display` on the paused link itself (owner's check, 25 Nov 2026: the price card's phone-only button showed on desktop): a link
   its own CSS hides at some width stays hidden, one that is shown keeps its own box. The icon and the status sit in .klik-bp-in. */
.klik-bp { white-space: nowrap; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.klik-bp .klik-bp-in { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.klik-bp .klik-bp-ic { flex: none; width: 16px; height: 16px; color: var(--b1, #FF6B35); }
.btn.klik-bp, .dh-cta a.klik-bp, a.kf-cta.klik-bp, button.klik-bp.klik-bp-btn {
  background: #fff !important; color: var(--ink, #3B1835) !important; border: 1.5px solid rgba(59, 24, 53, .28) !important;
  box-shadow: none !important; transform: none !important; text-shadow: none !important; transition: border-color .15s ease !important; }
.btn.klik-bp:hover, .dh-cta a.klik-bp:hover, a.kf-cta.klik-bp:hover, button.klik-bp.klik-bp-btn:hover { border-color: var(--ink, #3B1835) !important; }
a.klik-bp:not(.btn):not(.kf-cta) { color: var(--ink, #3B1835); }
.klik-bp:focus-visible { outline: 2px solid var(--b1, #FF6B35); outline-offset: 2px; }
.klik-bp-pop { position: fixed; z-index: 2147483001; width: min(340px, calc(100vw - 24px)); background: #fff; color: var(--ink, #3B1835); border: 1px solid var(--line, #EAE7EE); border-radius: 14px; box-shadow: 0 18px 44px -18px rgba(59, 24, 53, .35), 0 2px 6px rgba(59, 24, 53, .06); padding: 16px 44px 14px 16px; font-family: var(--font); font-size: var(--t-small); line-height: var(--lh-small); font-weight: var(--w-medium); text-align: left; white-space: normal; overflow: hidden; }
.klik-bp-pop::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad, linear-gradient(105deg, #FF6B35 0%, #FF7A76 50%, #F83E8E 100%)); }
.klik-bp-pop p { margin: 0; text-wrap: pretty; }
.klik-bp-pop a { color: inherit; font-weight: var(--w-bold); text-decoration: underline; text-decoration-color: var(--b1, #FF6B35); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
.klik-bp-pop-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 999px; background: none; color: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.klik-bp-pop-x:hover { background: rgba(59, 24, 53, .06); }
@media print { .klik-bp-pop { display: none; } }
/* A paused button on a React page that had no .btn of its own (components/BookCta): the site's pill size. */
button.klik-bp.klik-bp-btn:not(.btn) { padding: 14px 22px; border-radius: 999px; font: inherit; font-weight: var(--w-medium); line-height: var(--lh-ui); }
/* A paused menu item or link in a sentence (BookCta variant "text"): its own look, without the browser's button chrome. */
button.klik-bp:not(.klik-bp-btn) { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
/* The header pill on the narrowest phones (320-370px): the logo, the pill and the menu button share the bar, so the pill drops its icon
   and some padding; the status itself always stays readable. */
@media (max-width: 370px) {
  .nav-right .klik-bp { padding: 0 10px; font-size: var(--t-small); }
  .nav-right .klik-bp .klik-bp-in { gap: 0; }
  .nav-right .klik-bp .klik-bp-ic { display: none; }
}
