/* FNDLY: menu, mobiel menu en footer. Gedeeld door de homepage en alle andere pagina's.
   Stijl B (nov 2026): Inter Tight met Instrument Serif cursief als accent, Noordzee en zand, Signaaloranje.
   De markup komt uit tools/site/shell.py (tussen <!-- shell:nav --> en <!-- shell:foot --> op de homepage). */
:root {
  --zee: #0B1820; --zee2: #10232D; --zee3: #16303C; --nacht: #071016;
  --zand: #ECE6DD; --zand2: #F5F1EB; --kaart: #FFFFFF;
  --licht: var(--zand); --wit: var(--zand2);
  --inkt: #121A1E; --inkt2: #46545A; --mist: #6B777C; --lijn: rgba(18, 26, 30, .12);
  --signaal: #FF551D; --signaal-tekst: #B93D0B; --gloed: #FFB58A;
  --op-zee: #F2F5F4; --op-zee2: #A3B3B8; --op-zee-lijn: rgba(242, 246, 246, .12);
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gut: clamp(16px, 4vw, 56px); --max: 1360px; --r: 24px;
}

/* Woordmerk: FNDLY. met een oranje punt */
.logo { display: inline-flex; align-items: baseline; text-decoration: none; color: inherit; font-family: var(--font); font-weight: 700; font-size: 22px; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.logo i { font-style: normal; color: var(--signaal); }

/* Menu: zwevende balk */
.nav { position: fixed; z-index: 50; top: calc(12px + env(safe-area-inset-top, 0px)); left: 12px; right: 12px; color: var(--op-zee); pointer-events: none; font-family: var(--font); }
.nav-bar { pointer-events: auto; max-width: var(--max); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 20px; padding: 0 8px 0 24px; box-sizing: border-box; border-radius: 20px; background: rgba(11, 24, 32, .58); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--op-zee-lijn); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .6); transition: background-color .3s ease; }
.nav.solid .nav-bar { background: rgba(11, 24, 32, .88); }
.nav .logo { margin-right: auto; }
.menu { display: flex; align-items: center; gap: 4px; font-weight: 500; font-size: 14.5px; }
.menu > a, .dd-t { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; text-decoration: none; color: #CBD6D9; transition: color .2s ease, background-color .2s ease; }
.menu > a:hover, .dd-t:hover, .dd:focus-within .dd-t { color: #fff; background: rgba(242, 246, 246, .06); }
.menu > a[aria-current="page"], .dd-t[aria-current="page"] { color: #fff; background: rgba(242, 246, 246, .08); }
.dd { position: relative; }
.dd-t svg { transition: transform .2s ease; opacity: .7; }
.dd:hover .dd-t svg, .dd:focus-within .dd-t svg { transform: rotate(180deg); }
.dd-p { position: absolute; top: calc(100% + 14px); left: -12px; width: 380px; display: grid; gap: 2px; padding: 8px; background: #0E1F28; color: var(--op-zee); border-radius: 20px; border: 1px solid var(--op-zee-lijn); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.dd-p::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dd:hover .dd-p, .dd:focus-within .dd-p { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.dd-p a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 12px; border-radius: 14px; text-decoration: none; color: inherit; }
.dd-p a:hover, .dd-p a:focus-visible { background: rgba(242, 246, 246, .06); }
.dd-p .n { grid-row: span 2; width: 36px; height: 36px; border-radius: 11px; background: rgba(242, 246, 246, .07); color: var(--gloed); display: grid; place-items: center; font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.dd-p a:hover .n { background: var(--signaal); color: var(--zee); }
.dd-p b { font-size: 15px; font-weight: 600; }
.dd-p small { font-size: 13px; color: var(--op-zee2); line-height: 1.35; }
.dd-p .all { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; border-top: 1px solid var(--op-zee-lijn); border-radius: 0 0 14px 14px; font-weight: 600; font-size: 14px; }

.nav-login, .nav-burger, .nav .btn { flex: none; }
.nav .btn { display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; height: 46px; min-height: 0; border: 0; padding: 0 18px 0 20px; border-radius: 14px; font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; background: var(--signaal); color: var(--zee); transition: background-color .2s ease; }
.nav .btn:hover { background: #FF6A3A; }
a[href^="tel:"] { white-space: nowrap; }
.nav-login { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--op-zee-lijn); background: rgba(242, 246, 246, .04); color: inherit; text-decoration: none; transition: border-color .2s ease; }
.nav-login .nl-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-login:hover { border-color: rgba(242, 246, 246, .35); }
.nav-login .nl-ic { display: grid; place-items: center; }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--op-zee-lijn); background: rgba(242, 246, 246, .04); color: inherit; cursor: pointer; place-items: center; padding: 0; }
.nav-burger i { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.nav-burger i::before, .nav-burger i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-burger i::before { top: -6px; } .nav-burger i::after { top: 6px; }

@media (max-width: 1120px) {
  .menu { display: none; }
  .nav-burger { display: grid; }
  .nav-bar { gap: 8px; padding-left: 20px; }
}
@media (max-width: 600px) {
  .nav { top: calc(8px + env(safe-area-inset-top, 0px)); left: 8px; right: 8px; }
  .nav-bar { height: 58px; padding: 0 7px 0 16px; border-radius: 18px; }
  .nav-login { display: none; }
  .nav .btn { height: 42px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
  .nav-burger { width: 42px; height: 42px; border-radius: 12px; }
  .nav .logo { font-size: 20px; }
}
@media (max-width: 359px) {
  .nav .btn .arr-go { display: none; }
}

/* Mobiel menu */
.mmenu { position: fixed; inset: 0; z-index: 70; background: var(--zee); color: var(--op-zee); display: grid; grid-template-rows: auto 1fr auto; overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); font-family: var(--font);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.mmenu.open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.mmenu::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(60% 40% at 0% 20%, rgba(255, 85, 29, .18), transparent 70%); }
.mmenu > .wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.mm-top { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.mm-close { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--op-zee-lijn); background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.mm-body { position: relative; display: grid; align-content: start; gap: 28px; padding-block: 10px 32px; }
.mm-main { display: grid; }
.mm-main a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--op-zee-lijn); text-decoration: none; color: inherit; font-weight: 600; font-size: clamp(28px, 7.5vw, 40px); letter-spacing: -.04em; line-height: 1.1; }
.mm-main a[aria-current="page"] { color: var(--gloed); }
.mm-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.mm-sub p { grid-column: 1 / -1; margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gloed); }
.mm-sub a { color: var(--op-zee2); text-decoration: none; font-size: 16px; padding: 6px 0; }
.mm-foot { position: relative; display: grid; gap: 10px; padding-block: 18px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--op-zee-lijn); }
.mm-foot .mm-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mm-foot a.mm-pill { flex: 1 1 140px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 16px; border: 1px solid var(--op-zee-lijn); color: inherit; text-decoration: none; font-weight: 600; font-size: 16px; }
.mm-foot a.mm-pill.mm-go { background: var(--signaal); border-color: var(--signaal); color: var(--zee); }
html.mm-open, html.mm-open body { overflow: hidden; }

/* Footer */
.sfoot { position: relative; background: var(--nacht); color: var(--op-zee); overflow: hidden; isolation: isolate; font-family: var(--font); }
.sfoot::before { content: ""; position: absolute; z-index: -1; inset: auto -10% -40% -10%; height: 80%; background: radial-gradient(50% 50% at 50% 100%, rgba(255, 85, 29, .16), transparent 70%); pointer-events: none; }
.sfoot a { color: inherit; }
.sfoot .wrap { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.sf-cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px 60px; align-items: end; padding-block: clamp(70px, 9vw, 120px) clamp(44px, 5vw, 64px); }
.sf-cta h2 { margin: 0; font-weight: 600; letter-spacing: -.045em; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; }
.sf-cta p { margin: 0 0 18px; color: var(--op-zee2); }
.sf-cta .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.sf-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px; padding-block: 44px 10px; border-top: 1px solid var(--op-zee-lijn); }
.sfoot .wrap > .sf-cols:first-child { border-top: 0; padding-top: clamp(64px, 8vw, 104px); }
.sf-cols h3 { margin: 0 0 14px; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--op-zee2); }
.sf-cols nav a { display: block; padding: 5px 0; overflow-wrap: anywhere; hyphens: auto; text-decoration: none; color: var(--op-zee); font-size: 15.5px; opacity: .78; transition: opacity .2s ease; }
.sf-cols nav a:hover { opacity: 1; }
.sf-about { display: grid; gap: 18px; align-content: start; }
.sf-about .logo { font-size: 28px; }
.sf-about p { margin: 0; color: var(--op-zee2); font-size: 15.5px; max-width: 24em; line-height: 1.55; }
.sf-contact { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-contact a { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--op-zee-lijn); text-decoration: none; font-weight: 500; font-size: 15px; font-variant-numeric: tabular-nums; transition: border-color .2s ease; }
.sf-contact a:hover { border-color: rgba(242, 246, 246, .4); }
.sfoot .wm-box { overflow: hidden; margin-top: clamp(28px, 4vw, 56px); }
.sfoot .wm { display: inline-block; white-space: nowrap; font-family: var(--font); font-weight: 600; line-height: .78; letter-spacing: -.06em; font-size: 22vw; padding: .02em .02em 0 0;
  color: transparent; background: linear-gradient(100deg, rgba(242, 246, 246, .12) 0%, rgba(242, 246, 246, .12) 42%, rgba(255, 181, 138, .55) 49%, rgba(242, 246, 246, .12) 56%, rgba(242, 246, 246, .12) 100%) 100% 0 / 260% 100%; -webkit-background-clip: text; background-clip: text; }
.sfoot .wm i { font-style: normal; -webkit-text-fill-color: var(--signaal); color: var(--signaal); }
@media (prefers-reduced-motion: no-preference) { .sfoot .wm { animation: sf-sweep 9s cubic-bezier(.45, 0, .2, 1) 2.2s infinite; } }
@keyframes sf-sweep { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0% 0; } }
.sf-bottom { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; border-top: 1px solid var(--op-zee-lijn); margin-top: 18px; padding-block: 22px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 13.5px; color: var(--op-zee2); }
.sf-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.sf-bottom a { text-decoration: none; }
.sf-bottom a:hover { color: var(--op-zee); }
@media (max-width: 1000px) {
  .sf-cta { grid-template-columns: minmax(0, 1fr); }
  .sf-cols { grid-template-columns: 1fr 1fr; }
  .sf-about { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .sf-cols { gap: 28px 16px; } }

/* Toegankelijkheid */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; margin: 0; clip: auto; z-index: 100; background: var(--signaal); color: var(--zee); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
