/* ============================================
   MAST NEDERLAND — Modern redesign
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: #3D3560;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* === DESIGN TOKENS === */
:root {
  --purple-900: #2D1054;
  --purple-800: #4A1D7A;
  --purple-700: #6B2E8F;
  --purple-600: #8B44B8;
  --purple-500: #A85CCF;
  --purple-300: #C9A0E0;
  --purple-200: #DCC5EE;
  --purple-100: #EFE4F7;
  --purple-50:  #F8F4FB;
  --red:        #ED1C24;
  --red-dark:   #C61017;
  --text-dark:  #1A0B2E;
  --text-body:  #3D3560;
  --text-muted: #7B6E9A;
  --border:     #EAE0F5;
  --white:      #FFFFFF;
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-sm:  0 2px 8px rgba(107,46,143,0.07);
  --shadow:     0 4px 20px rgba(107,46,143,0.12);
  --shadow-lg:  0 12px 48px rgba(107,46,143,0.18);
  --transition: 0.25s ease;
  --max-w:      1160px;
  --header-h:   76px;
}

/* === LAYOUT === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-sm { padding: clamp(40px, 5vw, 60px) 0; }
.section-alt { background: var(--purple-50); }

/* === TYPOGRAPHY === */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 12px;
}

h1.section-title,
h2.section-title {
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 580px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  margin: 0;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
}

.btn-primary {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,49,91,0.38);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--purple-700);
  border-color: white;
}

.btn-secondary:hover {
  background: var(--purple-100);
  border-color: var(--purple-200);
  color: var(--purple-800);
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}

.btn-ghost-white:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: white;
  color: var(--purple-700);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--purple-50);
  border-color: var(--purple-300);
  color: var(--purple-800);
}

.btn-gradient {
  background: linear-gradient(145deg, var(--purple-800), var(--purple-600));
  color: white;
  border-color: transparent;
}

.btn-gradient:hover {
  background: linear-gradient(145deg, var(--purple-900), var(--purple-700));
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.is-scrolled,
body.inner-page .site-nav {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  display: block;
  flex-shrink: 0;
}

body:not(.inner-page) .site-nav:not(.is-scrolled) .logo-icon {
  filter: brightness(0) invert(1);
}

.logo-text { display: flex; flex-direction: column; }

.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--purple-700);
  line-height: 1;
  letter-spacing: -0.03em;
}

.logo-tagline {
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.site-nav:not(.is-scrolled) .logo-name {
  color: white;
}

.site-nav:not(.is-scrolled) .logo-tagline {
  color: rgba(255,255,255,0.6);
}

body.inner-page .site-nav .logo-name { color: var(--purple-700); }
body.inner-page .site-nav .logo-tagline { color: var(--text-muted); }

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

.nav-menu a {
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}

.nav-menu a.active {
  background: rgba(255,255,255,0.18);
  color: white;
  font-weight: 600;
}

.site-nav.is-scrolled .nav-menu a,
body.inner-page .site-nav .nav-menu a {
  color: var(--text-body);
}

.site-nav.is-scrolled .nav-menu a:hover,
body.inner-page .site-nav .nav-menu a:hover {
  background: var(--purple-50);
  color: var(--purple-700);
}

.site-nav.is-scrolled .nav-menu a.active,
body.inner-page .site-nav .nav-menu a.active {
  background: var(--purple-100);
  color: var(--purple-700);
}

/* CTA in nav */
.nav-cta {
  padding: 8px 18px;
  background: var(--red);
  color: white !important;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.88rem;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,49,91,0.35);
}

.site-nav.is-scrolled .nav-cta,
body.inner-page .site-nav .nav-cta {
  background: var(--red) !important;
  color: white !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.site-nav.is-scrolled .nav-hamburger span,
body.inner-page .site-nav .nav-hamburger span {
  background: var(--purple-700);
}

.nav-hamburger.is-open span:first-child  { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.nav-hamburger.is-open span:last-child   { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: calc(var(--header-h) + 10px);
  left: 16px;
  right: 16px;
  z-index: 99;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 2px;
  padding: 10px;
  max-height: calc(100vh - var(--header-h) - 24px);
  overflow-y: auto;
  animation: navOverlayIn 0.2s ease;
}

@keyframes navOverlayIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-overlay.is-open { display: flex; }

.nav-overlay a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 13px 16px;
  border-radius: var(--radius);
  transition: all var(--transition);
  width: auto;
  text-align: left;
}

.nav-overlay a:hover,
.nav-overlay a.active {
  background: var(--purple-50);
  color: var(--purple-700);
}

.nav-overlay a.nav-overlay-cta {
  background: var(--red);
  color: white;
  margin-top: 6px;
  font-size: 0.95rem;
  text-align: center;
}

.nav-overlay a.nav-overlay-cta:hover {
  background: var(--red-dark);
  color: white;
}

/* === HERO (Home) === */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--purple-900) 0%, var(--purple-700) 55%, var(--purple-600) 100%);
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-1 {
  width: 700px; height: 700px;
  right: -150px; top: -200px;
  background: radial-gradient(circle, rgba(168,92,207,0.35) 0%, transparent 65%);
}

.hero-orb-2 {
  width: 500px; height: 500px;
  left: -180px; bottom: -180px;
  background: radial-gradient(circle, rgba(45,16,84,0.55) 0%, transparent 65%);
}

.hero-orb-3 {
  width: 300px; height: 300px;
  right: 25%; bottom: 10%;
  background: radial-gradient(circle, rgba(232,49,91,0.12) 0%, transparent 65%);
}

.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  pointer-events: none;
}

.hero-network .star {
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.9)) drop-shadow(0 0 8px rgba(255,255,255,0.6));
  animation-name: star-twinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: var(--header-h);
  padding-bottom: 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88);
  padding: 6px 14px 6px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-title .muted {
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

.hero-desc {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 490px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-mark {
  width: min(300px, 34vw);
  opacity: 0.12;
  filter: brightness(0) invert(1) drop-shadow(0 0 60px rgba(168,92,207,0.5));
}

/* Wave */
.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  line-height: 0;
  pointer-events: none;
}

.wave-bottom svg {
  display: block;
  width: 100%;
}

/* Stats bar */
.stats-bar {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -52px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 4px 16px;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--border);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--purple-700);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* === SERVICE CARDS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.services-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Kennisbank: 4 kolommen (services-grid-4) knepen een kaart tot een kwart
   van de breedte — met vaak maar 1-2 artikelen viel die daardoor te smal en
   te lang uit. De standaard 3 kolommen van .services-grid volstaan hier; het
   afkappen van de toelichtingstekst houdt kaarten bovendien gelijk van
   hoogte, ongeacht de lengte van de samenvatting. */
.kb-grid .service-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-700), var(--purple-500));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--purple-200);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--purple-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--purple-700);
  transition: background var(--transition), color var(--transition);
}

.service-card:hover .service-icon {
  background: var(--purple-700);
  color: white;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.85;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-600);
  margin-top: 20px;
  transition: gap var(--transition), color var(--transition);
}

.service-card:hover .service-card-link {
  gap: 10px;
  color: var(--purple-800);
}

/* === KENNISBANK BLOG CARDS === */
.kb-toolbar {
  max-width: 480px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.blog-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--purple-200);
}

.kb-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 20px;
}

.cover-a { background: linear-gradient(135deg, var(--purple-800), var(--purple-500)); }
.cover-b { background: linear-gradient(135deg, var(--purple-900), var(--purple-600)); }
.cover-c { background: linear-gradient(135deg, var(--purple-700), var(--purple-300)); }
.cover-d { background: linear-gradient(135deg, var(--text-dark), var(--purple-700)); }

.blog-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  flex: 1;
}

.blog-card-body .service-card-link { margin-top: 18px; }

/* === ABOUT SECTION (home) === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--purple-800), var(--purple-600));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-inner {
  opacity: 0.25;
  width: 60%;
  filter: brightness(0) invert(1);
}

.about-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--purple-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
  flex-shrink: 0;
}

.about-badge-text .value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.about-badge-text .label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.about-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 0.975rem;
  margin-bottom: 18px;
}

.about-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 500;
}

.check-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--purple-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
  flex-shrink: 0;
}

/* === CTA BAND === */
.cta-band {
  background: linear-gradient(145deg, var(--purple-900) 0%, var(--purple-700) 100%);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(168,92,207,0.35) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text h2 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: rgba(255,255,255,0.8); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 120px;
  background: linear-gradient(145deg, var(--purple-900) 0%, var(--purple-700) 55%, var(--purple-600) 100%);
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(168,92,207,0.5) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 14px;
}

.page-hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* === TEAM PAGE === */
.story-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

.story-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.story-aside-card {
  background: linear-gradient(145deg, var(--purple-800), var(--purple-700));
  border-radius: var(--radius-xl);
  padding: 36px;
  color: white;
  margin-bottom: 20px;
}

.story-aside-card .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.founder-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.founder-title {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}

.founder-since {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}

.story-quote-card {
  background: var(--purple-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-left: 4px solid var(--purple-600);
}

.story-quote-card p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--purple-800);
  line-height: 1.8;
}

.story-content {}

.story-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.12;
}

.story-content p {
  color: var(--text-muted);
  line-height: 1.95;
  font-size: 0.975rem;
  margin-bottom: 20px;
}

.story-content p:last-child { margin-bottom: 0; }

/* Team cards grid */
.team-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.team-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--purple-200);
}


.team-avatar {
  width: 96px; height: 96px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  object-fit: cover;
}

.team-avatar-icon {
  padding: 18px;
}

.team-avatar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.team-card .role {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 16px;
}

.team-card .note {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.team-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--purple-700);
  transition: color var(--transition), gap var(--transition);
  margin-top: 6px;
  word-break: break-all;
}

.team-link:hover { color: var(--purple-900); gap: 10px; }
.team-link svg { flex-shrink: 0; }
.team-card .note + .team-link { margin-top: auto; }

/* Names box */
.names-box-wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* Full-width banner, aligned with the team-cards grid above */
.names-box {
  width: 100%;
  background: linear-gradient(145deg, var(--purple-900) 0%, var(--text-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  margin: 12px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.names-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
}

.names-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.name-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  transition: all var(--transition);
}

.name-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* === DIENSTVERLENING PAGE === */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-block + .service-block {
  margin-top: 0;
}

.service-block.flip {
  direction: rtl;
}

.service-block.flip > * { direction: ltr; }

.service-block-visual {
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--purple-50), var(--purple-100));
  aspect-ratio: 5/4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.visual-icon {
  color: var(--purple-300);
  opacity: 0.6;
}

.visual-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--purple-200), var(--purple-100));
  pointer-events: none;
}

.visual-bg-shape-1 {
  width: 200px; height: 200px;
  top: -50px; right: -50px;
  opacity: 0.5;
}

.visual-bg-shape-2 {
  width: 150px; height: 150px;
  bottom: -40px; left: -30px;
  opacity: 0.35;
}

.service-block-content .eyebrow { display: block; margin-bottom: 8px; }

.service-block-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.service-block-content p {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 0.975rem;
  margin-bottom: 16px;
}

.service-block-content p:last-of-type { margin-bottom: 24px; }

/* === CONTACT PAGE === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.contact-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 4px);
}

.contact-sidebar h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.contact-sidebar > p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 32px;
  font-size: 0.975rem;
}

.address-card {
  background: linear-gradient(145deg, var(--purple-800), var(--purple-700));
  border-radius: var(--radius-xl);
  padding: 32px;
  color: white;
  margin-bottom: 20px;
}

.address-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.address-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.address-card-lines {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}

.kvk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
}

.email-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.email-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.email-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--purple-200);
}

.email-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.email-card-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--purple-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
  flex-shrink: 0;
}

.email-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
}

.email-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.65;
}

.email-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple-700);
  transition: color var(--transition);
}

.email-card a:hover { color: var(--purple-900); }

/* === FOOTER === */
.site-footer {
  background: var(--text-dark);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.footer-contact-card ul { gap: 12px; }

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  display: block;
}

.footer-brand-tagline {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: block;
  margin-top: 2px;
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  line-height: 1.85;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover { color: white; }

/* === DIVIDERS === */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* === VACATURES: FILTER TOOLBAR === */
.vacatures-toolbar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px clamp(20px, 3vw, 32px);
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vacatures-search { position: relative; }

.vacatures-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.vacatures-search input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--purple-50);
  transition: border-color var(--transition), background var(--transition);
}

.vacatures-search input:focus {
  outline: none;
  border-color: var(--purple-500);
  background: white;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-pill {
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-body);
  font-size: 0.83rem;
  font-weight: 600;
  transition: all var(--transition);
}

.filter-pill:hover { border-color: var(--purple-300); color: var(--purple-700); }

.filter-pill.active {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: white;
}

/* Vakgebieden chips */
.field-chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.field-chip {
  padding: 12px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
}

.field-chip:hover {
  border-color: var(--purple-600);
  background: var(--purple-700);
  color: white;
  transform: translateY(-2px);
}

.filter-selects { display: flex; flex-wrap: wrap; gap: 10px; }

.filter-select {
  padding: 10px 36px 10px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: white url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B6E9A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 14px center;
  font-size: 0.83rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-body);
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition);
}

.filter-select:focus { outline: none; border-color: var(--purple-500); }

.filter-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--purple-700);
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.filter-clear-btn:hover { color: var(--purple-900); text-decoration: underline; }

.vacatures-results-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 24px;
}

.vacatures-results-count strong { color: var(--text-dark); }

/* === VACATURES: GRID & CARD === */
.vacatures-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.vacature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vacature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-200);
}

.vacature-card.is-featured { border-color: var(--purple-500); box-shadow: 0 4px 24px rgba(107,46,143,0.16); }

.vacature-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.vacature-sector-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 50px;
  background: var(--purple-100);
  color: var(--purple-700);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.vacature-card-top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.vacature-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 50px;
  background: var(--red);
  color: white;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.vacature-deadline-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 50px;
  background: rgba(237,28,36,0.08);
  border: 1px solid rgba(237,28,36,0.25);
  color: var(--red-dark);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.vacature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.vacature-card .opdrachtgever {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.opdrachtgever-logo {
  height: 48px;
  width: 48px;
  object-fit: cover;
  background: var(--purple-50);
  border: 1px solid var(--border);
  border-radius: 12px;
  flex-shrink: 0;
}

.vacature-card-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }

.vacature-card-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-body);
  font-weight: 500;
}

.vacature-card-meta-item svg { color: var(--purple-500); flex-shrink: 0; }

.vacature-card-plaatsingsdatum {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.vacature-card-deadline {
  color: var(--purple-700);
  font-weight: 600;
}

.vacature-card-deadline:not(:first-child)::before {
  content: '·';
  margin-right: 8px;
  color: var(--text-muted);
  font-weight: 400;
}

.vacature-card-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.vacature-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.vacature-tarief { font-size: 0.82rem; font-weight: 700; color: var(--purple-700); }

.vacature-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--red);
  transition: gap var(--transition), color var(--transition);
}

.vacature-card-link:hover { gap: 10px; color: var(--red-dark); }

/* Stretched-link: makes the whole card clickable while keeping a single real <a> */
.vacature-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.vacatures-empty, .kb-empty {
  text-align: center;
  padding: 64px 20px;
  background: var(--purple-50);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}

.vacatures-empty svg, .kb-empty svg { color: var(--purple-300); margin: 0 auto 16px; }
.vacatures-empty h3, .kb-empty h3 { color: var(--text-dark); font-size: 1.2rem; margin-bottom: 8px; }

/* === VACATURE DETAIL === */
.vacature-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-700);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 28px;
  transition: gap var(--transition);
}

.vacature-back-link:hover { gap: 10px; }

.vacature-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

.vacature-detail-header { margin-bottom: 32px; }

.vacature-detail-header h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.15;
}

.vacature-detail-header .opdrachtgever {
  font-size: 1rem;
  color: var(--purple-600);
  font-weight: 600;
}

.vacature-detail-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.vacature-detail-title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 16px;
}

.vacature-prose { color: var(--text-body); line-height: 1.85; font-size: 0.95rem; }
.vacature-prose p { margin-bottom: 18px; }
.vacature-prose p:last-child { margin-bottom: 0; }

.vacature-prose h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin: 32px 0 14px;
}

.vacature-prose h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin: 32px 0 14px;
}

.vacature-prose h2:first-child,
.vacature-prose h3:first-child { margin-top: 0; }

.vacature-prose ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.vacature-prose ul li {
  position: relative;
  padding-left: 20px;
}

.vacature-prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-500);
}

/* === VACATURE KENMERKEN BOX === */
.vacature-kenmerken {
  background: var(--purple-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px 24px;
}

.vacature-kenmerken-item .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.vacature-kenmerken-item .value { font-size: 0.92rem; font-weight: 600; color: var(--text-dark); }

.vacature-tarief-block {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 18px;
}

.vacature-tarief-block strong { color: var(--purple-700); }

.vacature-reden-inhuur {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 18px;
}

.vacature-reden-inhuur strong { color: var(--purple-700); }

.opdrachtgever-profile {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--purple-50);
  border-radius: var(--radius-lg);
}

.opdrachtgever-profile-logo {
  height: 56px;
  width: 56px;
  object-fit: cover;
  background: var(--purple-50);
  border: 1px solid var(--border);
  border-radius: 14px;
  flex-shrink: 0;
}

p.opdrachtgever-profile-naam {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.opdrachtgever-profile-naam a { color: var(--purple-700); }
.opdrachtgever-profile-naam a:hover { text-decoration: underline; }

.opdrachtgever-profile-beschrijving {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* === VACATURE CHECKLIST (eisen / wensen) === */
.vacature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.vacature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.vacature-checklist .check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--purple-100);
  color: var(--purple-700);
  flex-shrink: 0;
  margin-top: 1px;
}

.vacature-vog-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--purple-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.vacature-vog-note svg { color: var(--purple-600); flex-shrink: 0; }

/* === VACATURE BOILERPLATE (vaste voorwaarden) === */
.vacature-boilerplate {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.vacature-boilerplate h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.vacature-boilerplate .vacature-prose { font-size: 0.9rem; color: var(--text-muted); }
.vacature-boilerplate .vacature-prose h3 { font-size: 1rem; margin: 24px 0 10px; color: var(--text-dark); }

.vacature-letop {
  background: var(--purple-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 24px;
}

.vacature-letop h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--purple-700);
  margin-bottom: 10px;
}

.vacature-letop ol {
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.vacature-letop li strong { color: var(--text-dark); }

.vacature-letop li:not(:last-child) { margin-bottom: 8px; }

.vacature-sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.vacature-sidebar-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.vacature-sidebar-item:last-of-type { border-bottom: none; }
.vacature-sidebar-item .label { color: var(--text-muted); font-weight: 500; }
.vacature-sidebar-item .value { color: var(--text-dark); font-weight: 700; text-align: right; }
.vacature-sidebar .btn { width: 100%; justify-content: center; margin-top: 20px; }

.vacature-sidebar-col {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
}

.vacature-puntensysteem {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.vacature-puntensysteem h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.vacature-puntensysteem > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.punten-groep { margin-bottom: 18px; }
.punten-groep:last-of-type { margin-bottom: 0; }

.punten-groep-naam {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--purple-700);
  margin-bottom: 8px;
}

.punten-groep-naam-hint {
  text-transform: none;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--text-muted);
}

.punten-niveaus {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.punten-niveau {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.punten-niveau:hover { border-color: var(--purple-300); background: var(--purple-50); }

.punten-niveau input[type="radio"] {
  accent-color: var(--purple-700);
  flex-shrink: 0;
}

.punten-niveau:has(input:checked) {
  border-color: var(--purple-500);
  background: var(--purple-50);
}

.punten-niveau-label {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.4;
}

.punten-niveau-punten {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple-700);
}

.punten-totaal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-body);
}

.punten-totaal strong {
  font-size: 1.15rem;
  color: var(--purple-700);
}

.punten-drempel-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--purple-50);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.punten-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.punten-status.is-voldoende {
  background: #E3F5E9;
  color: #1E7A45;
}

.punten-status.is-onvoldoende {
  background: #FDEAEA;
  color: var(--red-dark);
}

.punten-toelichting {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.vacature-not-found { text-align: center; padding: 100px 20px; }
.vacature-not-found h1 { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; }
.vacature-not-found p { color: var(--text-muted); margin-bottom: 28px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .story-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-aside { position: static; }
  .service-block { grid-template-columns: 1fr; gap: 36px; }
  .service-block.flip { direction: ltr; }
  .service-block-visual {
    width: 84px;
    height: 84px;
    aspect-ratio: unset;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
    border: none;
  }
  .visual-bg-shape { display: none; }
  .visual-icon { width: 40px !important; height: 40px !important; color: white; opacity: 1; stroke-width: 1.5; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-sidebar { position: static; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text p { margin: 0 auto; }
  .vacature-detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .vacature-sidebar-col { position: static; max-height: none; overflow-y: visible; }
  .team-cards { grid-template-columns: repeat(2, 1fr); }
}

/* Bij 6 losse navigatielinks + de rode CTA-knop past het volledige desktopmenu
   niet meer op 1024px (de oorspronkelijke drempel) — de rij heeft geen wrap of
   shrink, dus de knop viel dan buiten beeld op smallere desktopschermen, ruim
   vóórdat het hamburgermenu inschakelde. Vandaar een aparte, ruimere drempel. */
@media (max-width: 1200px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 768px) {

  .hero-inner { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 28px); }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero-title { font-size: clamp(2.6rem, 9vw, 3.2rem); }

  .services-grid { grid-template-columns: 1fr; }
  .services-grid-4 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-cards { grid-template-columns: 1fr; }
  .names-box { padding: 28px; }
  .filter-row { flex-direction: column; align-items: stretch; }
  .filter-clear-btn { align-self: flex-start; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-bar { padding: 24px 20px; }
  .cta-actions { justify-content: center; }

  .vacature-card-plaatsingsdatum { flex-direction: column; align-items: flex-start; gap: 2px; }
  .vacature-card-deadline:not(:first-child)::before { content: none; }
}

/* === SOLLICITATIE MODAL === */
.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.apply-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.apply-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 11, 46, 0.55);
}

.apply-modal-panel {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px clamp(24px, 4vw, 44px);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition);
}

.apply-modal.is-open .apply-modal-panel {
  transform: translateY(0) scale(1);
}

.apply-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.apply-modal-close:hover {
  background: var(--purple-50);
  color: var(--purple-700);
}

.apply-vacature-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-600);
  margin-bottom: 20px;
  padding-right: 40px;
}

.apply-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.apply-error {
  background: #FCE4E9;
  color: var(--red-dark);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.apply-steps {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
}

.apply-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}

.apply-step::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.apply-step:first-child::before { display: none; }

.apply-step-num {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple-50);
  border: 2px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: all var(--transition);
}

.apply-step.is-active .apply-step-num {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: white;
}

.apply-step.is-active { color: var(--text-dark); }

.apply-step.is-done .apply-step-num {
  background: var(--purple-600);
  border-color: var(--purple-600);
  color: white;
}

.apply-step.is-done::before,
.apply-step.is-active::before {
  background: var(--purple-600);
}

.apply-panel h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.apply-field-full { grid-column: 1 / -1; }

.apply-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 6px;
}

.apply-field input,
.apply-field select,
.apply-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--purple-50);
  transition: border-color var(--transition), background var(--transition);
}

.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  background: white;
}

.apply-field textarea { resize: vertical; min-height: 110px; }

.apply-field input[type="file"] {
  padding: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
}

.apply-field input[type="file"]::file-selector-button,
.apply-field input[type="file"]::-webkit-file-upload-button {
  padding: 9px 18px;
  margin-right: 12px;
  border: none;
  border-radius: 50px;
  background: var(--purple-700);
  color: white;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.apply-field input[type="file"]:hover::file-selector-button,
.apply-field input[type="file"]:hover::-webkit-file-upload-button {
  background: var(--purple-800);
}

.apply-field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.apply-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.apply-actions-end {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.apply-panel-confirm {
  text-align: center;
  padding: 20px 0 8px;
}

.apply-confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--purple-50);
  color: var(--purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.apply-panel-confirm h3 { margin-bottom: 12px; }

.apply-panel-confirm p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

@media (max-width: 540px) {
  .apply-grid { grid-template-columns: 1fr; }
}

/* === MOBILE STICKY APPLY BAR === */
.mobile-apply-bar { display: none; }

@media (max-width: 768px) {
  .mobile-apply-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: var(--header-h);
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 12px clamp(20px, 4vw, 40px);
  }

  .mobile-apply-bar-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-apply-bar .btn {
    flex-shrink: 0;
    padding: 9px 18px;
    font-size: 0.82rem;
  }
}
