/* XL Secure — global typography + chrome polish */
:root{
  --xl-blue:#1E5BFF;
  --xl-blue-2:#0A3FE0;
  --xl-cyan:#00C2D1;
  --xl-ink:#0A0E1A;
  --xl-ink-2:#141A2B;
  --xl-ink-3:#1E2740;
  --xl-line:rgba(255,255,255,.10);
  --xl-line-2:rgba(10,14,26,.10);
  --xl-mute:#5B6478;
  --xl-paper:#F7F8FA;
  --xl-white:#FFFFFF;
  --xl-radius:14px;
  --xl-radius-lg:22px;
  --xl-ease:cubic-bezier(.2,.7,.2,1);
}

body{
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

h1,h2,h3,h4,h5,h6,
.wp-block-heading{
  font-family:'Space Grotesk','Inter',system-ui,sans-serif;
  letter-spacing:-.01em;
}

/* Tighter buttons across the site */
.wp-element-button,
.wp-block-button__link{
  border-radius:999px;
  font-weight:600;
  letter-spacing:.01em;
}

/* ══════════════════════════════════════════════════════
   SITE HEADER — hero-matching dark background
   The Extendable theme renders the FSE template part as
   <header class="wp-block-template-part">. Paint the
   header with the same radial+linear stack used by the
   hero so they read as one continuous dark zone, and
   force every header element to read in white on dark.
   ══════════════════════════════════════════════════════ */
header.wp-block-template-part{
  position:relative;
  background:
    radial-gradient(80% 50% at 80% 20%, rgba(30,91,255,.35), transparent 60%),
    radial-gradient(60% 40% at 10% 90%, rgba(0,194,209,.20), transparent 70%),
    linear-gradient(180deg, #060A18 0%, #0A0E1A 45%, #0E1530 100%);
  color:#fff;
  isolation:isolate;
  border-bottom:0;
}
/* Decorative grid mask — same vibe as the hero's grid */
header.wp-block-template-part::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(70% 100% at 50% 50%, #000 40%, transparent 90%);
          mask-image:radial-gradient(70% 100% at 50% 50%, #000 40%, transparent 90%);
  pointer-events:none;
  z-index:0;
}
header.wp-block-template-part > *{
  position:relative;
  z-index:1;
}

/* Logo — convert the dark-blue XL wordmark to white for
   reliable contrast on the new dark header. */
header.wp-block-template-part .custom-logo{
  filter:brightness(0) invert(1);
  transition:opacity .2s cubic-bezier(.2,.7,.2,1);
}
header.wp-block-template-part .custom-logo-link:hover .custom-logo{
  opacity:.85;
}

/* Navigation links — force white-on-dark, accent cyan on hover. */
header.wp-block-template-part .wp-block-navigation,
header.wp-block-template-part .wp-block-navigation a,
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content{
  color:#fff !important;
}
header.wp-block-template-part .wp-block-navigation a{
  font-family:'Inter',sans-serif;
  font-weight:500;
  font-size:.95rem;
  letter-spacing:.01em;
  transition:color .2s cubic-bezier(.2,.7,.2,1);
}
header.wp-block-template-part .wp-block-navigation a:hover,
header.wp-block-template-part .wp-block-navigation a:focus-visible,
header.wp-block-template-part .wp-block-navigation .current-menu-item > a{
  color:#00C2D1 !important;
}
/* Submenu (dropdown) — keep dark theme so cascade is clear */
header.wp-block-template-part .wp-block-navigation__submenu-container{
  background:#0A0E1A !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:12px;
  box-shadow:0 24px 48px -16px rgba(0,0,0,.6);
  padding:8px 0;
}
header.wp-block-template-part .wp-block-navigation__submenu-container a{
  color:rgba(255,255,255,.85) !important;
  padding:8px 18px;
}
header.wp-block-template-part .wp-block-navigation__submenu-container a:hover{
  background:rgba(30,91,255,.12);
  color:#fff !important;
}
header.wp-block-template-part .wp-block-navigation__submenu-icon svg{
  fill:#fff;
}

/* Hamburger (mobile menu trigger) — white icon, subtle
   hover background for tap-target affordance. */
header.wp-block-template-part .wp-block-navigation__responsive-container-open{
  color:#fff !important;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:10px;
  padding:8px;
  transition:background .2s cubic-bezier(.2,.7,.2,1), border-color .2s cubic-bezier(.2,.7,.2,1);
}
header.wp-block-template-part .wp-block-navigation__responsive-container-open:hover{
  background:rgba(0,194,209,.12);
  border-color:rgba(0,194,209,.4);
}
header.wp-block-template-part .wp-block-navigation__responsive-container-open svg,
header.wp-block-template-part .wp-block-navigation__responsive-container-open svg path{
  fill:#fff !important;
}

/* When the mobile overlay menu is open, Extendable swaps
   to a different inner container. Re-skin it to match the
   dark theme so it doesn't flash back to white. */
.wp-block-navigation__responsive-container.is-menu-open{
  background:#060A18 !important;
  color:#fff !important;
}
.wp-block-navigation__responsive-container.is-menu-open a{
  color:#fff !important;
}
.wp-block-navigation__responsive-container.is-menu-open a:hover{
  color:#00C2D1 !important;
}
.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-close svg path{
  fill:#fff !important;
}

/* Strip the theme's default border between header and
   the first content block so the dark header bleeds into
   the dark hero on the homepage. */
header.wp-block-template-part + main,
header.wp-block-template-part + main > *:first-child{
  border-top:0;
}

/* ══════════════════════════════════════════════════════
   GLOBAL FOOTER — converted from the old "Klaar om te
   starten" homepage CTA. Lives in the FSE template part
   (wp_template_part id=89) so it renders on every page.
   ══════════════════════════════════════════════════════ */
.xls-footer{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(60% 80% at 85% 50%, rgba(0,194,209,.16), transparent 60%),
    radial-gradient(60% 80% at 15% 50%, rgba(30,91,255,.28), transparent 60%),
    linear-gradient(180deg,#0A0E1A 0%, #0E1530 100%);
  color:#fff;
  font-family:'Inter',system-ui,sans-serif;
}
.xls-footer *{box-sizing:border-box}

.xls-footer__bg{position:absolute;inset:0;pointer-events:none}
.xls-footer__grid{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(50% 60% at 50% 50%,#000,transparent);
}

.xls-footer__inner{
  position:relative;
  max-width:1280px;
  margin-inline:auto;
  padding:clamp(64px,10vw,120px) clamp(24px,5vw,48px) clamp(48px,7vw,72px);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.xls-footer__kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:6px 14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  border-radius:999px;
  font-size:.72rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:rgba(255,255,255,.85);
  backdrop-filter:blur(8px);
}
.xls-footer__kicker .dot{
  width:6px;height:6px;border-radius:999px;
  background:#00C2D1;
  box-shadow:0 0 10px #00C2D1;
}

.xls-footer__h{
  font-family:'Space Grotesk','Inter',sans-serif;
  font-size:clamp(1.9rem,4.2vw,3.4rem);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-.018em;
  margin:22px 0 18px;
  max-width:18ch;
}
.xls-footer__h .accent{
  background:linear-gradient(120deg,#FFFFFF,#FFFFFF);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.xls-footer__sub{
  font-size:1.02rem;
  line-height:1.6;
  color:rgba(255,255,255,.72);
  max-width:54ch;
  margin:0 0 38px;
}

.xls-footer__cta{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
  margin-bottom:48px;
}

.xls-footer__btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:16px 28px;
  border-radius:999px;
  background:#1E5BFF;
  color:#fff;
  font-weight:600;
  font-size:1rem;
  text-decoration:none;
  box-shadow:0 14px 36px -14px rgba(30,91,255,.65);
  transition:transform .25s cubic-bezier(.2,.7,.2,1),
             box-shadow .25s cubic-bezier(.2,.7,.2,1),
             background .25s cubic-bezier(.2,.7,.2,1);
}
.xls-footer__btn:hover{
  background:#0A3FE0;
  transform:translateY(-2px);
  box-shadow:0 20px 44px -16px rgba(30,91,255,.8);
}
.xls-footer__btn .arrow{width:14px;height:14px;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.xls-footer__btn:hover .arrow{transform:translateX(4px)}

.xls-footer__contacts{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}
.xls-footer__pill{
  display:inline-flex;
  align-items:center;
  gap:14px;
  padding:14px 20px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  border-radius:14px;
  color:#fff;
  text-decoration:none;
  backdrop-filter:blur(8px);
  transition:border-color .25s cubic-bezier(.2,.7,.2,1),
             background .25s cubic-bezier(.2,.7,.2,1),
             transform .25s cubic-bezier(.2,.7,.2,1);
}
.xls-footer__pill:hover{
  border-color:rgba(0,194,209,.6);
  background:rgba(0,194,209,.06);
  transform:translateY(-2px);
}
.xls-footer__pill .ico{
  width:38px;height:38px;
  border-radius:10px;
  background:rgba(30,91,255,.16);
  color:#00C2D1;
  display:grid;place-items:center;
  flex-shrink:0;
}
.xls-footer__pill .txt{
  display:flex;flex-direction:column;
  text-align:left;
  line-height:1.25;
}
.xls-footer__pill .txt b{
  font-family:'Space Grotesk',sans-serif;
  font-size:1rem;
  font-weight:600;
  color:#fff;
}
.xls-footer__pill .txt span{
  font-size:.74rem;
  color:rgba(255,255,255,.55);
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* ── Menu strip — 4 columns ──────────────────────────
   Now the first thing inside the footer (CTA strip was
   removed); top padding is generous to set off from the
   previous page section without the old border-top. */
.xls-footer__menu{
  position:relative;
  padding:clamp(64px,9vw,108px) clamp(24px,5vw,48px) clamp(40px,6vw,72px);
}
.xls-footer__menu-inner{
  max-width:1280px;
  margin-inline:auto;
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.3fr;
  gap:clamp(32px,4vw,56px);
  align-items:start;
}
@media (max-width:1024px){
  .xls-footer__menu-inner{grid-template-columns:1fr 1fr;gap:48px 40px}
}
@media (max-width:640px){
  .xls-footer__menu-inner{grid-template-columns:1fr;gap:40px;text-align:left}
}

.xls-footer__col{
  display:flex;
  flex-direction:column;
}
.xls-footer__col-h{
  font-family:'Space Grotesk','Inter',sans-serif;
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#FFFFFF;
  margin:0 0 22px;
}
.xls-footer__brand-logo{
  display:inline-block;
  margin-bottom:18px;
  opacity:.95;
  transition:opacity .2s cubic-bezier(.2,.7,.2,1);
}
.xls-footer__brand-logo:hover{opacity:1}
.xls-footer__brand-logo img{
  width:auto;
  height:auto;
  max-height:48px;
  display:block;
  filter:brightness(1.05);
}
.xls-footer__tagline{
  font-size:.92rem;
  line-height:1.6;
  color:rgba(255,255,255,.7);
  margin:0 0 22px;
  max-width:34ch;
}
.xls-footer__meta{
  list-style:none;
  padding:0;
  margin:0;
}
.xls-footer__meta li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:.88rem;
  color:rgba(255,255,255,.65);
  padding:6px 0;
  line-height:1.5;
}
.xls-footer__meta .ico{
  color:#00C2D1;
  flex-shrink:0;
  margin-top:3px;
}
.xls-footer__addr{
  display:flex;
  flex-direction:column;
  color:rgba(255,255,255,.78);
  text-decoration:none;
  transition:color .2s cubic-bezier(.2,.7,.2,1);
}
.xls-footer__addr:hover{color:#fff}
.xls-footer__addr span{display:block}

.xls-footer__links,
.xls-footer__contact-list{
  list-style:none;
  padding:0;
  margin:0;
}
.xls-footer__links li{margin-bottom:2px}
.xls-footer__links a{
  display:inline-flex;
  padding:6px 0;
  color:rgba(255,255,255,.78);
  font-size:.95rem;
  text-decoration:none;
  transition:color .2s cubic-bezier(.2,.7,.2,1),
             transform .2s cubic-bezier(.2,.7,.2,1);
}
.xls-footer__links a:hover{
  color:#fff;
  transform:translateX(3px);
}

.xls-footer__contact-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:6px 0;
  font-size:.95rem;
  line-height:1.5;
}
.xls-footer__contact-list .ico{
  color:#00C2D1;
  flex-shrink:0;
  margin-top:4px;
}
.xls-footer__contact-list a{
  color:rgba(255,255,255,.85);
  text-decoration:none;
  transition:color .2s cubic-bezier(.2,.7,.2,1);
}
.xls-footer__contact-list a:hover{color:#fff}
.xls-footer__contact-list span{color:rgba(255,255,255,.85)}

/* ── Bottom copyright bar ───────────────────────────── */
.xls-footer__bar{
  position:relative;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.30);
}
.xls-footer__bar-inner{
  max-width:1280px;
  margin-inline:auto;
  padding:24px clamp(24px,5vw,48px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  font-size:.82rem;
  color:rgba(255,255,255,.55);
  letter-spacing:.01em;
}
.xls-footer__copy{color:rgba(255,255,255,.6)}
.xls-footer__legal{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.xls-footer__legal a{
  color:rgba(255,255,255,.6);
  text-decoration:none;
  transition:color .2s cubic-bezier(.2,.7,.2,1);
}
.xls-footer__legal a:hover{color:#fff}
.xls-footer__legal span{
  color:rgba(255,255,255,.25);
}
@media (max-width:640px){
  .xls-footer__bar-inner{
    justify-content:center;
    text-align:center;
    flex-direction:column;
    gap:10px;
  }
  .xls-footer__legal{justify-content:center}
}

/* Defensive: if the FSE template_part wraps us in a
   constrained layout div, neutralize the cap so the
   footer always paints edge-to-edge. */
.wp-block-template-part > .xls-footer,
.entry-content > .xls-footer,
.has-global-padding > .xls-footer{
  width:auto;
  max-width:none;
  margin-inline:0;
}

@media (max-width:640px){
  .xls-footer__contacts{flex-direction:column;align-items:stretch}
  .xls-footer__pill{justify-content:flex-start}
  .xls-footer__bar-inner{justify-content:center;text-align:center}
  .xls-footer__bar-nav{justify-content:center}
}
@media (prefers-reduced-motion: reduce){
  .xls-footer__btn,.xls-footer__pill,.xls-footer__logo{transition:none}
}
