/* nav.css — IA v4 site chrome (8 Nov 2026): mega menu, mobile accordion, footer,
   breadcrumbs and the mobile action bar. Markup is generated by
   scripts/build-nav.mjs from navigation.json; behaviour lives in /nav.js.
   Selectors are deliberately specific: every page still carries its own inline
   nav/overlay rules, and these must win over them. */

/* ── Desktop bar ── */
nav.nav-v4 .nav-links { display: flex; gap: 26px; list-style: none; align-items: center; }
nav.nav-v4 .nav-links > li { display: flex; align-items: center; }
nav.nav-v4 .nav-links > li > a { font-size: 13px; color: var(--muted, #BEBEBE); letter-spacing: .02em; transition: color .2s; }
nav.nav-v4 .nav-links > li > a:hover,
nav.nav-v4 .nav-links > li > a.active,
nav.nav-v4 .mm.open > .mm-link { color: var(--text, #F9F9F9); }
nav.nav-v4 .nav-links > li > a.active { position: relative; }
nav.nav-v4 .nav-links > li > a.active::before { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--orange, #FE4C04); }

nav.nav-v4 .mm { position: static; }
nav.nav-v4 .mm-link { display: inline-flex; align-items: center; gap: 6px; position: relative; }
nav.nav-v4 .mm-link::after { content: ''; position: absolute; left: -12px; right: -12px; top: 100%; height: 34px; } /* hover bridge to the panel */
nav.nav-v4 .mm-caret { font-size: 9px; line-height: 1; transition: transform .25s cubic-bezier(.16,1,.3,1); }
nav.nav-v4 .mm.open .mm-caret { transform: rotate(180deg); }

nav.nav-v4 .nav-links > li > a.nav-cta {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: 999px;
  background: var(--orange, #FE4C04); color: #fff; font-weight: 600; letter-spacing: .01em;
  transition: background .2s, transform .2s;
}
nav.nav-v4 .nav-links > li > a.nav-cta:hover { background: #ff6224; color: #fff; }
nav.nav-v4 .nav-links > li > a.nav-cta::before { display: none; }

/* ── Mega panel ── */
nav.nav-v4 .mm-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #141414; border-bottom: 1px solid var(--border, rgba(249,249,249,.1));
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  padding: 34px 48px 22px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1), visibility 0s .22s;
}
nav.nav-v4 .mm.open .mm-panel,
html:not(.nav-js) nav.nav-v4 .mm:hover .mm-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .22s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1), visibility 0s; }
nav.nav-v4 .mm-inner { display: grid; gap: 36px; max-width: 1160px; margin: 0 auto; }
nav.nav-v4 .mm-inner--5 { grid-template-columns: repeat(4, minmax(0, 1fr)) 210px; }
nav.nav-v4 .mm-inner--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
nav.nav-v4 .mm-col a { color: var(--muted, #BEBEBE); transition: color .15s; }
nav.nav-v4 .mm-col a:hover, nav.nav-v4 .mm-col a[aria-current] { color: var(--text, #F9F9F9); }
nav.nav-v4 .mm-col a.mm-head { display: inline-block; font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -.01em; color: var(--text, #F9F9F9); }
nav.nav-v4 .mm-col a.mm-head::after { content: ' →'; color: var(--orange, #FE4C04); opacity: 0; transition: opacity .15s; }
nav.nav-v4 .mm-col a.mm-head:hover::after { opacity: 1; }
nav.nav-v4 .mm-desc { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--dim, #999); max-width: 24ch; }
nav.nav-v4 .mm-col ul { list-style: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border, rgba(249,249,249,.1)); display: flex; flex-direction: column; gap: 9px; }
nav.nav-v4 .mm-col li a { font-size: 13px; line-height: 1.35; }
nav.nav-v4 .mm-feature { display: flex; flex-direction: column; gap: 4px; color: var(--text, #F9F9F9); }
nav.nav-v4 .mm-feature-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; margin-bottom: 8px; background: #222; }
nav.nav-v4 .mm-feature-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s cubic-bezier(.16,1,.3,1); }
nav.nav-v4 .mm-feature:hover .mm-feature-img img { transform: scale(1.04); }
nav.nav-v4 .mm-feature-kicker { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange, #FE4C04); }
nav.nav-v4 .mm-feature-title { font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 16px; }
nav.nav-v4 .mm-feature-cap { font-size: 12px; line-height: 1.45; color: var(--dim, #999); }
nav.nav-v4 .mm-foot { max-width: 1160px; margin: 26px auto 0; padding-top: 16px; border-top: 1px solid var(--border, rgba(249,249,249,.1)); display: flex; justify-content: flex-end; }
nav.nav-v4 .mm-foot a.mm-all { font-size: 13px; color: var(--orange, #FE4C04); }
nav.nav-v4 .mm-foot a.mm-all:hover { color: var(--text, #F9F9F9); }

/* ── Hamburger (below 1100px the bar no longer fits) ── */
nav.nav-v4 .nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -8px; background: none; border: none; cursor: pointer; padding: 10px; }
nav.nav-v4 .nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text, #F9F9F9); transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .25s; transform-origin: center; }
nav.nav-v4 .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-v4 .nav-hamburger.open span:nth-child(2) { opacity: 0; }
nav.nav-v4 .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
nav.nav-v4.menu-open { z-index: 99993; }
@media (max-width: 1240px) { nav.nav-v4 .nav-links { gap: 20px; } nav.nav-v4 .nav-links > li > a { font-size: 12.5px; } }
@media (max-width: 1100px) {
  nav.nav-v4 .nav-right { display: none !important; }
  nav.nav-v4 .nav-hamburger { display: flex !important; }
}

/* ── Mobile menu: accordion ── */
.nav-mobile-overlay.nm-v4 {
  position: fixed; inset: 0; z-index: 99991; display: block; padding: 0;
  background: var(--bg, #161616);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s cubic-bezier(.16,1,.3,1), visibility 0s .3s;
}
.nav-mobile-overlay.nm-v4.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s cubic-bezier(.16,1,.3,1), visibility 0s; }
.nav-mobile-overlay.nm-v4 .nm-scroll {
  height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column;
  padding: 92px 24px calc(28px + env(safe-area-inset-bottom));
  max-width: 560px; margin: 0 auto;
}
.nav-mobile-overlay.nm-v4 .nm-scroll a,
.nav-mobile-overlay.nm-v4 .nm-scroll button {
  font-family: 'Satoshi', sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.3;
  opacity: 1; transform: none; color: var(--text, #F9F9F9); text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-overlay.nm-v4 .nm-scroll .nm-link,
.nav-mobile-overlay.nm-v4 .nm-scroll .nm-acc-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px;
  padding: 10px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -.015em;
}
.nav-mobile-overlay.nm-v4 .nm-row,
.nav-mobile-overlay.nm-v4 .nm-acc { border-bottom: 1px solid var(--border, rgba(249,249,249,.1)); }
.nav-mobile-overlay.nm-v4 .nm-scroll a[aria-current="page"] { color: var(--orange, #FE4C04); }
.nav-mobile-overlay.nm-v4 .nm-acc-mark { position: relative; width: 14px; height: 14px; flex: 0 0 14px; }
.nav-mobile-overlay.nm-v4 .nm-acc-mark::before,
.nav-mobile-overlay.nm-v4 .nm-acc-mark::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--orange, #FE4C04); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.nav-mobile-overlay.nm-v4 .nm-acc-mark::after { transform: rotate(90deg); }
.nav-mobile-overlay.nm-v4 .nm-acc-btn[aria-expanded="true"] .nm-acc-mark::after { transform: rotate(0); }
.nav-mobile-overlay.nm-v4 .nm-acc-panel { padding: 0 0 14px; }
.nav-mobile-overlay.nm-v4 .nm-scroll .nm-all { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--orange, #FE4C04); }
.nav-mobile-overlay.nm-v4 .nm-scroll .nm-sub { display: flex; align-items: center; min-height: 44px; font-size: 18px; }
.nav-mobile-overlay.nm-v4 .nm-subsub { margin: 0 0 6px 2px; padding-left: 14px; border-left: 1px solid var(--border, rgba(249,249,249,.1)); }
.nav-mobile-overlay.nm-v4 .nm-scroll .nm-sub2 { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--muted, #BEBEBE); }
.nav-mobile-overlay.nm-v4 .nm-bottom { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.nav-mobile-overlay.nm-v4 .nm-scroll .nm-cta { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; background: var(--orange, #FE4C04); color: #fff; font-weight: 600; font-size: 16px; }
/* Language switch: one segmented pill, NL | EN. Font sizes are set on the items
   themselves, because old per-page rules size every overlay link at 40-60px. */
.nav-mobile-overlay.nm-v4 .nm-langs { display: inline-flex; align-self: center; padding: 4px; gap: 4px; border: 1px solid var(--border, rgba(249,249,249,.14)); border-radius: 999px; }
.nav-mobile-overlay.nm-v4 .nm-scroll .nm-lang { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 40px; padding: 0 16px; border-radius: 999px; font-family: 'Satoshi', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .06em; line-height: 1; color: var(--muted, #BEBEBE); transition: background .2s, color .2s; }
.nav-mobile-overlay.nm-v4 .nm-scroll a.nm-lang:hover { color: var(--text, #F9F9F9); background: rgba(249,249,249,.06); }
.nav-mobile-overlay.nm-v4 .nm-lang.is-current { background: var(--text, #F9F9F9); color: var(--bg, #161616); }
/* Old pages put an "Amersfoort, Est. 2024" label at the bottom of the overlay; it collides with the switch. */
.nav-mobile-overlay.nm-v4::after { content: none !important; display: none !important; }
/* Folded sub pages (Sport en fitness): link plus a toggle on one row. */
.nav-mobile-overlay.nm-v4 .nm-subacc { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-mobile-overlay.nm-v4 .nm-subacc-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -14px; padding: 0; background: none; border: 0; cursor: pointer; }
.nav-mobile-overlay.nm-v4 .nm-subacc-btn .nm-acc-mark { width: 12px; height: 12px; flex-basis: 12px; }
.nav-mobile-overlay.nm-v4 .nm-subacc-btn .nm-acc-mark::before,
.nav-mobile-overlay.nm-v4 .nm-subacc-btn .nm-acc-mark::after { background: var(--muted, #BEBEBE); }
.nav-mobile-overlay.nm-v4 .nm-subacc-btn[aria-expanded="true"] .nm-acc-mark::after { transform: rotate(0); }

/* ── Breadcrumbs ── */
.crumbs { font-size: 11px; letter-spacing: .04em; line-height: 1.5; color: var(--dim, #999); }
.crumbs a { color: var(--dim, #999); transition: color .2s; }
.crumbs a:hover { color: var(--text, #F9F9F9); }
.crumbs [aria-current] { color: var(--muted, #BEBEBE); }
.crumbs .crumbs-sep { margin: 0 3px; color: var(--dim, #999); }
.crumbs--float { position: absolute; top: 92px; left: 0; right: 0; z-index: 5; padding: 0 48px; pointer-events: none; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.crumbs--float a { pointer-events: auto; }
@media (max-width: 768px) { .crumbs--float { top: 70px; padding: 0 20px; } }

/* ── Footer ── */
footer.ft-v4 { position: relative; z-index: 1; border-top: 1px solid var(--border, rgba(249,249,249,.1)); background: var(--bg, #161616); color: var(--text, #F9F9F9); font-family: 'Satoshi', sans-serif; }
.ft-v4 .ft-wrap { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.ft-v4 a { color: inherit; text-decoration: none; }
.ft-v4 .ft-news { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 48px 0; border-bottom: 1px solid var(--border, rgba(249,249,249,.1)); }
.ft-v4 .ft-news-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange, #FE4C04); }
.ft-v4 .ft-news-copy p { margin-top: 8px; font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
.ft-v4 .ft-news-row { display: flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid var(--border, rgba(249,249,249,.1)); border-radius: 999px; }
.ft-v4 .ft-news-input { min-width: 240px; padding: 10px 16px; background: none; border: 0; outline: none; color: var(--text, #F9F9F9); font: inherit; font-size: 14px; }
.ft-v4 .ft-news-input::placeholder { color: var(--dim, #999); }
.ft-v4 .ft-news-btn { min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--text, #F9F9F9); color: var(--bg, #161616); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.ft-v4 .ft-news-btn:hover { background: var(--orange, #FE4C04); color: #fff; }
.ft-v4 .ft-brand { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; }
.ft-v4 .ft-logo { height: 34px; width: auto; }
.ft-v4 .ft-payoff { font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -.015em; line-height: 1.1; text-align: right; }
.ft-v4 .ft-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px; padding: 40px 0 48px; border-bottom: 1px solid var(--border, rgba(249,249,249,.1)); }
.ft-v4 .ft-title { margin: 0 0 14px; font-family: 'Satoshi', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim, #999); }
.ft-v4 .ft-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ft-v4 .ft-col a { font-size: 13px; line-height: 1.4; color: var(--muted, #BEBEBE); transition: color .2s; }
.ft-v4 .ft-col a:hover, .ft-v4 .ft-col a[aria-current] { color: var(--text, #F9F9F9); }
.ft-v4 .ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding: 24px 0 32px; font-size: 12px; color: var(--dim, #999); }
.ft-v4 .ft-meta { margin: 0; }
.ft-v4 .ft-legal, .ft-v4 .ft-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ft-v4 .ft-legal a, .ft-v4 .ft-social a, .ft-v4 .ft-cookie-btn { font-size: 12px; color: var(--dim, #999); transition: color .2s; }
.ft-v4 .ft-legal a:hover, .ft-v4 .ft-social a:hover, .ft-v4 .ft-cookie-btn:hover { color: var(--text, #F9F9F9); }
.ft-v4 .ft-cookie-btn { padding: 0; background: none; border: 0; font-family: inherit; cursor: pointer; }
@media (max-width: 1100px) { .ft-v4 .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; } }
@media (max-width: 768px) {
  .ft-v4 .ft-wrap { padding: 0 20px; }
  .ft-v4 .ft-news { flex-direction: column; align-items: flex-start; gap: 20px; padding: 40px 0; }
  .ft-v4 .ft-news-form, .ft-v4 .ft-news-row { width: 100%; }
  .ft-v4 .ft-news-input { min-width: 0; flex: 1; }
  .ft-v4 .ft-brand { flex-direction: column; align-items: flex-start; padding-top: 40px; }
  .ft-v4 .ft-payoff { text-align: left; }
  .ft-v4 .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding: 32px 0 40px; }
  .ft-v4 .ft-bottom { flex-direction: column; align-items: flex-start; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ── Mobile action bar ── */
.mbar { display: none; }
@media (max-width: 768px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: flex; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(22,22,22,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border, rgba(249,249,249,.1));
    transform: translateY(110%); transition: transform .35s cubic-bezier(.16,1,.3,1);
  }
  .mbar.show { transform: none; }
  .mbar-btn { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border, rgba(249,249,249,.18)); color: var(--text, #F9F9F9); font-family: 'Satoshi', sans-serif; font-weight: 600; font-size: 15px; text-decoration: none; }
  .mbar-btn--primary { background: var(--orange, #FE4C04); border-color: var(--orange, #FE4C04); color: #fff; }
  /* The bar takes the bottom of the screen on phones: no floating page finder there. */
  .ww { display: none !important; }
}

/* Column alignment: lists start on one line whether or not a column has a description. */
nav.nav-v4 .mm-col a.mm-head { position: relative; }
nav.nav-v4 .mm-col a.mm-head::after { position: absolute; left: 100%; top: 0; margin-left: 6px; white-space: nowrap; }
nav.nav-v4 .mm-desc { min-height: 36px; }
nav.nav-v4 .mm-col > .mm-head + ul { margin-top: 56px; }
