/* ============================================================
   Self-hosted fonts (latin subset) - geen externe round-trip
   ============================================================ */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/montserrat-alternates-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/montserrat-alternates-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-alternates-700-latin.woff2') format('woff2');
}

/* ============================================================
   Woensdag.nl - Main Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: #0B2545;
  background: #F6F9FD;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: #1C91CE; color: #fff; }

input, textarea, button, select { font-family: inherit; }

img { max-width: 100%; display: block; }

a { color: inherit; }

/* --- Keyframes --- */
@keyframes wd-float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(46px,-34px) scale(1.1); } }
@keyframes wd-float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-38px,42px) scale(1.14); } }
@keyframes wd-float3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(24px,28px); } }
@keyframes wd-spin   { to { transform: rotate(360deg); } }
@keyframes wd-mesh   { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes wd-bob    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes wd-bob2   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes wd-marquee{ from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wd-rise   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* --- Typography helpers --- */
.font-alt { font-family: 'Montserrat Alternates', sans-serif; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #0B3FA8;
  color: #fff;
  padding: 13px 22px;
  box-shadow: 0 8px 22px rgba(11,63,168,0.32);
}
.btn-primary:hover { transform: translateY(-2px); background: #0A3596; box-shadow: 0 14px 32px rgba(11,63,168,0.42); }

.btn-lg {
  font-size: 17px;
  padding: 17px 32px;
  box-shadow: 0 14px 34px rgba(11,63,168,0.32);
}
.btn-lg:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(11,63,168,0.42); }

.btn-sm { padding: 11px 16px; font-size: 14px; }

.btn-white {
  background: #fff;
  color: #0B3FA8;
  padding: 17px 32px;
  font-size: 17px;
  box-shadow: 0 14px 38px rgba(0,0,0,0.22);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(0,0,0,0.3); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 16px 30px;
  font-size: 17px;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: #fff; }

.btn-ghost-light {
  background: #fff;
  color: #0B3FA8;
  border: 1.5px solid #C9DEF3;
  padding: 16px 30px;
  font-size: 17px;
}
.btn-ghost-light:hover { border-color: #0B3FA8; background: #F4F9FE; }

.btn-ghost-mesh {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 16px 30px;
  font-size: 17px;
  backdrop-filter: blur(8px);
}
.btn-ghost-mesh:hover { background: rgba(255,255,255,0.2); }

.btn-outline-white {
  background: #fff;
  color: #0B3FA8;
  padding: 15px 28px;
  font-size: 16px;
}
.btn-outline-white:hover { transform: translateY(-2px); }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 999px;
}

.badge-blue { background: #EAF3FB; color: #0B3FA8; }

.badge-glass {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #D6ECFA;
  backdrop-filter: blur(8px);
}

.badge-dot::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7FD0F2;
  box-shadow: 0 0 12px #7FD0F2;
  flex-shrink: 0;
}

.badge-dot-blue::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1C91CE;
  flex-shrink: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 26px));
  z-index: 120;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(7,33,90,0.10);
  transition: background .3s, box-shadow .3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 11px 9px 20px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: #3a4a63;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #0B3FA8; background: #EAF3FB; }

/* Dropdown nav */
.nav-dropdown { position: static; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
  font-size: 15px; font-weight: 500; color: #3a4a63;
  padding: 7px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.nav-dropdown:hover .nav-dropdown-toggle::after { transform: rotate(-135deg) translateY(-2px); }
.nav-dropdown:hover .nav-dropdown-toggle { color: #0B3FA8; background: #EAF3FB; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, 190px);
  gap: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(11,37,69,.14), 0 2px 8px rgba(11,37,69,.06);
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  transition-delay: .18s;
  z-index: 200;
  min-width: max-content;
}
/* Onzichtbare brug over de tussenruimte zodat het menu niet sluit
   wanneer je van de link naar het menu beweegt. */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.wd-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.nav-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
  border-right: 1px solid #EEF2F8;
}
.nav-dropdown-col:last-child { border-right: none; }
.nav-dropdown-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #0B3FA8;
  margin-bottom: 6px;
  padding: 0 8px;
}
.nav-dropdown-menu a {
  font-size: 13.5px;
  font-weight: 500;
  color: #3a4a63;
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-dropdown-menu a:hover { color: #0B3FA8; background: #EAF3FB; }

/* Light page hero (Cases, Over Ons, Contact) */
.page-hero {
  background: #F6F9FD;
  padding: 148px 24px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero-orb-tr {
  position: absolute; top: -100px; right: -100px;
  width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, #E1F0FB, transparent 70%);
  opacity: 0.9; filter: blur(30px); pointer-events: none;
}
.page-hero-orb-bl {
  position: absolute; bottom: -60px; left: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, #EAF3FB, transparent 70%);
  opacity: 0.7; filter: blur(24px); pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #0B2545;
  margin: 0 0 20px;
}
.page-hero h1 span { color: #0B3FA8; }
.page-hero .page-hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #4a5a73;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 0;
}
.page-hero .lp-hero-stats {
  justify-content: center;
  margin-top: 40px;
  border-top: 1px solid #DDE8F5;
  padding-top: 32px;
}
.page-hero .lp-hero-stat { border-right-color: #DDE8F5; }
.page-hero .lp-hero-stat-value { color: #0B2545; font-size: 2rem; }
.page-hero .lp-hero-stat-label { color: #6a7a93; }
@media (max-width: 600px) {
  .page-hero { padding: 120px 20px 60px; }
}

/* Mobile diensten-accordions (per categorie) */
.mobile-acc { border-bottom: 1px solid #EEF3F9; }
.mobile-acc-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: #0B2545;
  padding: 14px 6px;
  font-family: inherit;
}
.mobile-acc-toggle svg { transition: transform .25s; flex-shrink: 0; color: #0B3FA8; }
.mobile-acc-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.mobile-acc-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 0 10px 12px;
}
.mobile-acc-body[hidden] { display: none; }
.mobile-sub-link {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #3a4a63;
  padding: 9px 10px;
  border-radius: 8px;
  transition: color .15s, background .15s;
  text-decoration: none;
}
.mobile-sub-link:hover { color: #0B3FA8; background: #EAF3FB; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: #0B3FA8;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .2s;
}
.nav-phone:hover { background: #EAF3FB; }

.nav-mobile-cta { display: none; align-items: center; gap: 10px; }

#menu-toggle {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  background: #EAF3FB;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}
#menu-toggle span {
  width: 18px; height: 2px;
  background: #0B3FA8;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
#menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#menu-toggle.open span:nth-child(2) { opacity: 0; }
#menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu — uitschuivende sidebar van rechts */
#mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(11,37,69,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
#mobile-menu-overlay.open { opacity: 1; visibility: visible; }

#mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 9999;
  width: min(86vw, 340px);
  background: #fff;
  box-shadow: -24px 0 60px rgba(7,33,90,0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.2,.7,.2,1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#mobile-menu.open { transform: translateX(0); }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.mobile-menu-logo { display: flex; align-items: center; }
.mobile-menu-logo img { height: 26px; width: auto; display: block; }
#mobile-menu-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #EAF3FB;
  color: #0B3FA8;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-menu-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 18px 16px;
  border-bottom: 1px solid #EEF3F9;
}
.mobile-menu-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: #0B3FA8;
  text-decoration: none;
  white-space: nowrap;
}
.mobile-menu-cta {
  margin-left: auto;
  padding: 10px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.mobile-menu-body {
  display: flex;
  flex-direction: column;
  padding: 10px 16px 28px;
}

.mobile-link {
  font-size: 17px;
  font-weight: 600;
  color: #0B2545;
  text-decoration: none;
  padding: 14px 6px;
  border-bottom: 1px solid #EEF3F9;
  transition: color .2s;
}
.mobile-link:hover { color: #0B3FA8; }
.mobile-link-strong { color: #0B3FA8; }

/* ============================================================
   RESPONSIVE - navigatie
   ============================================================ */
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-cta { display: flex; gap: 6px; }
  .nav-inner { gap: 8px; padding: 9px 10px 9px 16px; }
  .nav-logo img { max-width: 120px; height: auto; }
}
@media (max-width: 480px) {
  .nav-mobile-cta .btn-sm { padding: 9px 12px; font-size: 13px; }
  #menu-toggle { width: 38px; height: 38px; }
}
