/*
Theme Name: PL-Systems
Theme URI: https://pl-systems.nl
Author: PL-Systems
Description: ICT-beheer & infrastructuur thema voor PL-Systems — ontzorgen, security-first (CIA-triade), geen vendor lock-in. Afgeleid van het PL-Services thema, met een eigen teal/indigo identiteit.
Version: 1.0.0
Text Domain: pl-systems
*/

/* ============================================
   PL-Systems - Dynamic Premium Stylesheet
   Brand: Teal-ink #0e1b18 | Accent teal #2e9e8b (logo teal #609c90) | Warm paper #f6f3ec
   ============================================ */

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

:root {
  /* --- Brand base: DEEP TEAL-INK (own identity, not PL-Services purple) --- */
  --primary:        #0e1b18;   /* teal-ink — dark base + heading colour */
  --primary-light:  #1b322c;   /* lighter ink — borders / glass on dark */
  --primary-dark:   #0a1614;
  --primary-deep:   #07110f;   /* deepest ink */

  /* --- Accent: TEAL/GREEN (PL-Systems identity) --- */
  --accent:         #2e9e8b;   /* action teal — buttons, links, CTAs (punchy) */
  --accent-light:   #4fb8a4;
  --accent-dark:    #237a6c;   /* AA-safe fill behind white text */
  --accent-brand:   #609c90;   /* exact logo teal — muted, subtle uses/badges */
  --accent-soft:    #e7f4f1;   /* pale teal chip / tint */
  --mint:           #6cc0a8;   /* gradient highlight / glow */

  /* --- Cool neutral base + sparing warm highlight (own identity, de-beiged) --- */
  --paper:          #e9ecef;   /* cool light grey — body bg + light sections (replaces warm beige) */
  --paper-2:        #dfe3e7;   /* deeper cool grey */
  --gold:           #e8a13a;   /* sparing warm highlight — single warm pop on the cool palette */
  --gold-soft:      #f6e4c4;

  /* --- Gradients (teal-ink → teal, the signature) --- */
  --gradient-hero:   linear-gradient(150deg,#0e1b18 0%,#11332b 55%,#1c6a5c 130%);
  --gradient-accent: linear-gradient(135deg,#2e9e8b 0%,#6cc0a8 100%);
  --gradient-brand:  linear-gradient(135deg,#0e1b18 0%,#2e9e8b 100%);

  /* --- Cool neutral greys (de-beiged): light end neutral-cool, darks keep the teal-ink tint --- */
  --white: #ffffff;
  --off-white: #f5f7f8;
  --gray-50: #f1f3f5;
  --gray-100: #e4e8eb;   /* hairlines / card + form borders */
  --gray-200: #d2d8dd;
  --gray-300: #b3bbc1;
  --gray-400: #899097;
  --gray-500: #687077;   /* secondary text */
  --gray-600: #454d49;   /* body text — keeps a subtle teal-ink tint */
  --gray-700: #2c322f;
  --gray-800: #18201d;
  --gray-900: #0e1b18;   /* = teal-ink (footer / dark) */

  /* --- Feedback --- */
  --success: #2e9e8b;   /* unify success with the teal accent */
  --warning: #e0a23b;
  --danger:  #e05b5b;

  /* --- Radii (softer than PL-Services) --- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-pill: 999px;

  /* --- Shadows (tinted teal/indigo, not blue/purple) --- */
  --shadow-sm: 0 1px 2px rgba(28, 28, 48, 0.05);
  --shadow-md: 0 6px 20px rgba(28, 28, 48, 0.08);
  --shadow-lg: 0 12px 36px rgba(28, 28, 48, 0.12);
  --shadow-xl: 0 20px 56px rgba(28, 28, 48, 0.16);
  --shadow-glow: 0 0 44px rgba(46, 158, 139, 0.30);   /* teal glow */

  /* --- Motion --- */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.55s cubic-bezier(0.4, 0, 0.2, 1);

  /* --- Layout --- */
  --max-width: 1240px;
  --nav-height: 72px;

  /* --- Legacy aliases: map old PL-Services blue tokens → teal so ported CSS
         stays on-brand. Removed as templates are reskinned in later phases. --- */
  --accent-bright: var(--accent-light);
  --gradient-1: var(--accent);
  --gradient-2: var(--accent-light);
  --gradient-3: var(--mint);
  --gradient-4: var(--accent-brand);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--paper);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden !important;
}

/* Hide mobile-only menu elements on desktop */
.mobile-menu-header,
.mobile-menu-footer,
.mobile-menu-close {
  display: none;
}

/* --- Animated Gradient Background --- */
.gradient-bg {
  background: linear-gradient(-45deg, var(--primary), var(--accent), var(--gradient-2), var(--primary-dark));
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

.gradient-text {
  color: var(--accent);
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

p:last-child {
  margin-bottom: 0;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1000;
  transition: background 0.5s ease, border-bottom-color 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

/* Signature teal topline along the very top edge */
.nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  z-index: 1;
}

.nav.scrolled {
  border-bottom-color: rgba(46,158,139,0.18);
  box-shadow: 0 2px 18px rgba(7,17,15,0.35);
  background: rgba(14,27,24,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.5s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: all 0.5s ease;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.5rem;
  right: 0.5rem;
  height: 1.5px;
  background: #fff;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: #fff;
}

.nav-link.active {
  color: #fff;
  font-weight: 600;
}

.nav-link.active::after {
  background: var(--accent-light);
  transform: scaleX(1);
}

/* Scrolled state - links stay white on blue bg */
.nav.scrolled .nav-link {
  color: rgba(255,255,255,0.8);
}

.nav.scrolled .nav-link:hover,
.nav.scrolled .nav-link.active {
  color: #fff;
}

.nav.scrolled .nav-link::after {
  background: rgba(255,255,255,0.8);
}

.nav.scrolled .nav-link .chevron {
  color: rgba(255,255,255,0.5);
}

.nav-link .chevron {
  width: 10px;
  height: 10px;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.5;
  color: rgba(255,255,255,0.6);
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  width: max-content;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 0.375rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-dropdown a:hover {
  color: var(--primary);
  background: var(--gray-50);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-actions .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  transition: all 0.5s ease;
}

.nav-actions .btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
}

.nav.scrolled .nav-actions .btn-outline {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.nav.scrolled .nav-actions .btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

.nav-actions .btn-primary {
  background: #fff;
  color: var(--primary);
  transition: all 0.5s ease;
}

.nav-actions .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav.scrolled .nav-actions .btn-primary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.nav.scrolled .nav-actions .btn-primary:hover {
  background: rgba(255,255,255,0.25);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 550;
  line-height: 1;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: #1f6b5e;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Quiet header Portal link (text, not a button) */
.nav-portal {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.5rem 0.4rem;
  transition: color var(--transition);
}
.nav-portal:hover { color: #fff; }

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--gradient-2));
  color: var(--white);
}

.btn-accent:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(46, 158, 139, 0.05);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  white-space: normal;
}

.btn-ghost:hover {
  color: var(--accent-dark);
}

.btn-ghost svg {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.btn-ghost:hover svg {
  transform: translateX(4px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  border-radius: 100px;
}

/* --- Sections --- */
section {
  padding: 3.5rem 0;
  position: relative;
}

.section-sm {
  padding: 2rem 0;
}

.section-lg {
  padding: 4.5rem 0;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-gray {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.375rem 1rem;
  background: linear-gradient(135deg, rgba(46, 158, 139, 0.1), rgba(79, 184, 164, 0.1));
  border-radius: 100px;
  border: 1px solid rgba(46, 158, 139, 0.15);
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--gray-500);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 0;
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(46, 158, 139, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(79, 184, 164, 0.2) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 80%, rgba(108, 192, 168, 0.15) 0%, transparent 40%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(46, 158, 139, 0.5);
  border-radius: 50%;
  animation: float linear infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-duration: 8s; animation-delay: 0s; width: 3px; height: 3px; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-duration: 12s; animation-delay: -2s; width: 5px; height: 5px; background: rgba(79, 184, 164, 0.4); }
.particle:nth-child(3) { left: 45%; top: 30%; animation-duration: 10s; animation-delay: -4s; }
.particle:nth-child(4) { left: 65%; top: 70%; animation-duration: 9s; animation-delay: -1s; width: 6px; height: 6px; background: rgba(108, 192, 168, 0.3); }
.particle:nth-child(5) { left: 80%; top: 40%; animation-duration: 11s; animation-delay: -3s; width: 3px; height: 3px; }
.particle:nth-child(6) { left: 90%; top: 15%; animation-duration: 7s; animation-delay: -5s; background: rgba(79, 184, 164, 0.5); }
.particle:nth-child(7) { left: 15%; top: 80%; animation-duration: 13s; animation-delay: -2s; width: 5px; height: 5px; }
.particle:nth-child(8) { left: 55%; top: 10%; animation-duration: 14s; animation-delay: -6s; width: 4px; height: 4px; background: rgba(8, 145, 178, 0.2); }
.particle:nth-child(9) { left: 35%; top: 45%; animation-duration: 8s; animation-delay: -7s; width: 3px; height: 3px; }
.particle:nth-child(10) { left: 75%; top: 55%; animation-duration: 10s; animation-delay: -4s; background: rgba(108, 192, 168, 0.4); }

@keyframes float {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  animation: fadeSlideUp 0.8s ease forwards;
}

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

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s ease 0.1s both;
}

.hero-content h1 .highlight,
.page-hero h1 .highlight {
  color: var(--accent-light);
  -webkit-text-fill-color: var(--accent-light);
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.7;
  animation: fadeSlideUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease 0.3s both;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeSlideUp 0.8s ease 0.4s both;
}

.hero-visual-graphic {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  position: relative;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.hero-ring:nth-child(1) {
  inset: 0;
  border: 1px solid rgba(46, 158, 139, 0.15);
  background: radial-gradient(circle, transparent 60%, rgba(46, 158, 139, 0.03) 100%);
}

.hero-ring:nth-child(2) {
  inset: 12%;
  border: 1px solid rgba(79, 184, 164, 0.2);
  animation-direction: reverse;
  animation-duration: 30s;
}

.hero-ring:nth-child(3) {
  inset: 24%;
  border: 1px solid rgba(46, 158, 139, 0.15);
  animation-duration: 20s;
}

.hero-ring:nth-child(4) {
  inset: 36%;
  border: 1px dashed rgba(108, 192, 168, 0.12);
  animation-direction: reverse;
  animation-duration: 25s;
}

.hero-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(46, 158, 139, 0.2), rgba(79, 184, 164, 0.2));
  border: 1px solid rgba(46, 158, 139, 0.3);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 20px rgba(46, 158, 139, 0.2); }
  to { box-shadow: 0 0 40px rgba(46, 158, 139, 0.4), 0 0 80px rgba(79, 184, 164, 0.15); }
}

.hero-center-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

.hero-node {
  position: absolute;
  width: 52px;
  height: 52px;
  background: rgba(46, 158, 139, 0.1);
  border: 1px solid rgba(46, 158, 139, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  animation: nodeFloat 4s ease-in-out infinite;
}

.hero-node:hover {
  background: rgba(46, 158, 139, 0.25);
  border-color: rgba(46, 158, 139, 0.5);
  transform: scale(1.15);
}

.hero-node svg {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-node:nth-child(5) { top: 2%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.hero-node:nth-child(6) { top: 22%; right: 2%; animation-delay: 0.5s; }
.hero-node:nth-child(7) { bottom: 22%; right: 2%; animation-delay: 1s; }
.hero-node:nth-child(8) { bottom: 2%; left: 50%; transform: translateX(-50%); animation-delay: 1.5s; }
.hero-node:nth-child(9) { bottom: 22%; left: 2%; animation-delay: 2s; }
.hero-node:nth-child(10) { top: 22%; left: 2%; animation-delay: 2.5s; }

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-node:nth-child(5):hover,
.hero-node:nth-child(8):hover {
  transform: translateX(-50%) scale(1.15);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Connection lines between nodes */
.hero-connections {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-connections line {
  stroke: rgba(46, 158, 139, 0.12);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  animation: dashMove 3s linear infinite;
}

@keyframes dashMove {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -16; }
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 7rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .hero-particles {
  z-index: 2;
  position: relative;
}

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

.page-hero .label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  padding: 0.375rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 640px;
  animation: fadeSlideUp 0.6s ease both;
}

.page-hero p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
  line-height: 1.7;
  animation: fadeSlideUp 0.6s ease 0.1s both;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gradient-2), var(--gradient-3));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}

.card:hover {
  border-color: rgba(46, 158, 139, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(46, 158, 139, 0.1), rgba(79, 184, 164, 0.1));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.card:hover .card-icon {
  background: linear-gradient(135deg, var(--accent), var(--gradient-2));
  box-shadow: 0 4px 16px rgba(46, 158, 139, 0.3);
  transform: scale(1.05);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: color var(--transition);
}

.card:hover .card-icon svg {
  color: var(--white);
}

/* Platform-pagina + Home services: cards hebben gekleurde icoon-achtergronden, dus svg moet altijd wit zijn (niet alleen op hover) */
body.page-platform .card-icon svg,
.home-services .card-icon svg {
  color: #fff;
}

/* Contact form status meldingen */
.pl-form-status {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  display: none;
}
.pl-form-status.sending,
.pl-form-status.success,
.pl-form-status.error {
  display: block;
}
.pl-form-status.sending  { background: rgba(46,158,139,0.08); color: var(--accent); border: 1px solid rgba(46,158,139,0.2); }
.pl-form-status.success  { background: rgba(16,185,129,0.08); color: #047857; border: 1px solid rgba(16,185,129,0.25); }
.pl-form-status.error    { background: rgba(239,68,68,0.08); color: #b91c1c; border: 1px solid rgba(239,68,68,0.25); }

/* Dual map grid (Rotterdam + Amsterdam contact pagina) */
.dual-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .dual-map-grid { grid-template-columns: 1fr; }
}

.card h3 {
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.card:hover h3 {
  color: var(--accent-dark);
}

.card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
}

.stat {
  text-align: center;
  position: relative;
}

.stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat:last-child::after {
  display: none;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 450;
}

/* --- Feature Section --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 1.5rem 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-content .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.375rem 1rem;
  background: linear-gradient(135deg, rgba(46, 158, 139, 0.1), rgba(79, 184, 164, 0.1));
  border-radius: 100px;
  border: 1px solid rgba(46, 158, 139, 0.15);
}

.feature-content h2 {
  margin-bottom: 1rem;
}

.feature-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  padding: 0.375rem 0;
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-visual {
  border-radius: var(--radius-2xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
  box-shadow: var(--shadow-lg);
}

.feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(79, 184, 164, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(46, 158, 139, 0.2) 0%, transparent 50%);
}

.feature-visual-inner {
  padding: 2.5rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Animated mock UI inside feature visuals */
.mock-ui {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.mock-ui-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mock-ui-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mock-ui-dot:nth-child(1) { background: #ff5f56; }
.mock-ui-dot:nth-child(2) { background: #ffbd2e; }
.mock-ui-dot:nth-child(3) { background: #27c93f; }

.mock-ui-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-bottom: 0.625rem;
  overflow: hidden;
}

.mock-ui-bar-fill {
  height: 100%;
  border-radius: 4px;
  animation: barFill 3s ease-in-out infinite alternate;
}

.mock-ui-bar:nth-child(2) .mock-ui-bar-fill {
  background: linear-gradient(90deg, var(--accent), var(--gradient-2));
  width: 85%;
  animation-delay: 0.3s;
}

.mock-ui-bar:nth-child(3) .mock-ui-bar-fill {
  background: linear-gradient(90deg, var(--success), #6cc0a8);
  width: 72%;
  animation-delay: 0.6s;
}

.mock-ui-bar:nth-child(4) .mock-ui-bar-fill {
  background: linear-gradient(90deg, var(--gradient-3), #4fb8a4);
  width: 93%;
  animation-delay: 0.9s;
}

.mock-ui-bar:nth-child(5) .mock-ui-bar-fill {
  background: linear-gradient(90deg, var(--gradient-4), #fbbf24);
  width: 60%;
  animation-delay: 1.2s;
}

@keyframes barFill {
  0% { transform: scaleX(0.3); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* --- Mock UI text elements --- */
.mock-ui-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-left: auto;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.mock-ui-body {
  padding: 0.5rem 0;
}

.mock-bar-group {
  margin-bottom: 0.75rem;
}

.mock-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.375rem;
}

.mock-bar-val {
  color: #fff;
  font-weight: 600;
}

.mock-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.mock-bar-fill {
  height: 100%;
  border-radius: 4px;
  width: var(--fill-width);
  background: var(--fill-color);
}

.mock-chart {
  margin-top: 1rem;
}

.mock-chart svg {
  width: 100%;
  height: auto;
}

/* --- Missing layout classes used in HTML --- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  display: inline-block;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.label-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 0.375rem 1rem;
  background: rgba(46, 158, 139, 0.08);
  border: 1px solid rgba(46, 158, 139, 0.12);
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.tilt-card {
  display: block;
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.section-alt {
  background: var(--white);
}

/* DC Visual card elements */
.dc-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.dc-card-header strong {
  color: #fff;
  font-size: 1rem;
}

.dc-pulse {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.dc-card-location {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}

.dc-card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.625rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dc-card-stats span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.dc-status {
  color: var(--success) !important;
  font-weight: 600;
}

.dc-connection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.dc-connection svg {
  width: 100%;
  max-width: 200px;
}

.dc-connection span {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

/* CTA block section */
.section-cta-block {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.section-cta-block .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-cta-block .hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.section-cta-block .container {
  position: relative;
  z-index: 2;
}

.cta-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive for hero-grid */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-visual,
  .hero-visual-side {
    display: none !important;
  }
  .feature-row-reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    text-align: center;
  }
  .dc-locations {
    grid-template-columns: 1fr;
  }
}

/* --- Trust / Logos --- */
.trust-strip {
  padding: 2.5rem 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}

.trust-strip p {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-logo {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition);
}
.trust-logo:hover {
  transform: scale(1.06);
}
/* Unify the logo row: muted grayscale at rest, full colour on hover */
.trust-logo > svg,
.trust-logo > img {
  filter: grayscale(1) opacity(0.55);
  transition: filter var(--transition);
}
.trust-logo:hover > svg,
.trust-logo:hover > img {
  filter: grayscale(0) opacity(1);
}
.trust-logo > svg,
.trust-logo > img {
  width: auto;
  display: block;
}

/* Per-brand sizing (height) */
.trust-logo--small   { height: 26px; }
.trust-logo--small   > svg, .trust-logo--small   > img { height: 26px; max-width: 110px; }
.trust-logo--normal  { height: 34px; }
.trust-logo--normal  > svg, .trust-logo--normal  > img { height: 34px; max-width: 140px; }
.trust-logo--large   { height: 44px; }
.trust-logo--large   > svg, .trust-logo--large   > img { height: 44px; max-width: 170px; }
.trust-logo--xl      { height: 56px; }
.trust-logo--xl      > svg, .trust-logo--xl      > img { height: 56px; max-width: 200px; }

/* --- Marquee for logos --- */
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- CTA Section --- */
.cta-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-section .hero-particles {
  z-index: -1;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 184, 164, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 5s ease-in-out infinite alternate;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 158, 139, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 5s ease-in-out infinite alternate-reverse;
}

@keyframes pulse-glow {
  from { transform: scale(1); opacity: 0.5; }
  to { transform: scale(1.2); opacity: 1; }
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-inner p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Reviews / Testimonials --- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 120px;
  font-family: Georgia, serif;
  color: rgba(46, 158, 139, 0.06);
  line-height: 1;
}

.testimonial-card:hover {
  border-color: rgba(46, 158, 139, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: #f59e0b;
  fill: #f59e0b;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.8125rem;
}

.testimonial-avatar:nth-child(odd) {
  background: linear-gradient(135deg, var(--accent), var(--gradient-2));
}

.testimonial-avatar {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* Photo avatar variant */
img.testimonial-avatar {
  width: 44px;
  height: 44px;
  object-fit: cover;
  background: none;
  border: 2px solid var(--accent-soft);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(46, 158, 139, 0.1), rgba(79, 184, 164, 0.1));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.contact-info-item:hover .contact-info-icon {
  background: linear-gradient(135deg, var(--accent), var(--gradient-2));
  box-shadow: 0 4px 16px rgba(46, 158, 139, 0.3);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: color var(--transition);
}

.contact-info-item:hover .contact-info-icon svg {
  color: var(--white);
}

.contact-info-item h4 {
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gradient-2), var(--gradient-3));
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 158, 139, 0.1);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 550;
  color: var(--primary);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  background: var(--primary);
  padding: clamp(3.5rem, 6vw, 5rem) 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

/* Oversized faded wordmark behind the footer columns (editorial flourish) */
.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: -0.18em;
  transform: translateX(-50%);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 16rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.footer .container { position: relative; z-index: 1; }
.footer-brand .brand-dot { color: var(--gold); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.1fr 1.2fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 4rem;
  align-items: start;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1.25rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-brand a img {
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer h5 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer ul li {
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.66);   /* readable plain-text (address, BTW, KVK) on ink */
  line-height: 1.5;
}

.footer ul li a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  transition: all var(--transition);
  position: relative;
}

.footer ul li a:hover {
  color: var(--accent-light);
  padding-left: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-bottom-links a:hover {
  color: var(--gray-300);
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(46, 158, 139, 0.1), rgba(79, 184, 164, 0.1));
  color: var(--accent);
  border: 1px solid rgba(46, 158, 139, 0.15);
}

.badge-white {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.15);
}

.badge svg {
  width: 14px;
  height: 14px;
}

/* --- DC Map Visual --- */
.dc-visual {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.dc-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(46, 158, 139, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(79, 184, 164, 0.15) 0%, transparent 50%);
}

.dc-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.dc-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.dc-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all var(--transition);
}

.dc-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.dc-card h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dc-card h4 .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.dc-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* --- Knowledge Base --- */
.kb-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-slow);
  color: inherit;
}

.kb-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.kb-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 60%, var(--gradient-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.kb-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(79, 184, 164, 0.3) 0%, transparent 60%);
}

.kb-card-image svg {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}

.kb-card-body {
  padding: 1.5rem;
}

.kb-card-meta {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.625rem;
  background: rgba(46, 158, 139, 0.08);
  border-radius: 100px;
  display: inline-block;
}

.kb-card-body h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.kb-card-body p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.kb-card-body h3 {
  color: var(--primary);
}

/* Kennisbank article content */
.kb-article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-600);
}

.kb-article-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.kb-article-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.kb-article-content p {
  margin-bottom: 1rem;
}

.kb-article-content ol,
.kb-article-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.kb-article-content li {
  margin-bottom: 1rem;
  list-style: decimal;
}

.kb-article-content ul li {
  list-style: disc;
}

.kb-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--gray-100);
  margin: 0.75rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.kb-article-content code {
  display: block;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
  overflow-x: auto;
  margin: 1rem 0;
}

/* --- Map --- */
.map-container {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gray-100);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
}

/* --- ISO Badge --- */
.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.iso-badge img,
.iso-badge svg {
  height: 32px;
  width: auto;
}

.iso-badge span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
}

/* --- Google Reviews Embed --- */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.google-badge:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* --- Animations (Intersection Observer) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(n+10) { transition-delay: 0.3s; }

/* Parallax */
.parallax {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 2.5rem 0;
  }

  .section-lg {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }
}

/* Nav switches to the mobile hamburger at ≤1200px. The desktop horizontal nav has
   too many top-level items (+ two action buttons) to fit below this width without
   cramping/wrapping. Must stay in sync with the 1200 checks in js/main.js. */
@media (max-width: 1200px) {
  .nav-inner {
    padding: 0 1rem;
  }

  .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(14,27,24,0.98);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    position: relative;
    z-index: 10000;
  }

  .mobile-menu-header,
  .mobile-menu-footer {
    display: block;
  }

  .mobile-menu-close {
    display: flex;
  }

  .mobile-menu-header {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.5rem;
    background: rgba(14,27,24,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    z-index: 2;
  }

  .mobile-menu-logo img {
    height: 22px;
    filter: brightness(0) invert(1);
  }

  .mobile-menu-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 50%;
    color: rgba(255,255,255,0.55);
    line-height: 0;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }

  .mobile-menu-close svg {
    width: 16px;
    height: 16px;
    display: block;
  }

  .mobile-menu-close:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
  }

  .mobile-menu-footer {
    width: 100%;
    margin-top: auto;
    padding: 1.25rem 1.5rem 1.6rem;
    background: rgba(14,27,24,0.98);
    border-top: 1px solid rgba(255,255,255,0.07);
  }

  /* Full-width stacked action buttons in the mobile menu footer */
  .mobile-menu-btn {
    display: flex !important;
    width: 100%;
    margin-bottom: 0.6rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
  .mobile-menu-btn:last-of-type { margin-bottom: 0.9rem; }

  .mobile-menu-contact {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    text-align: center;
    line-height: 1.7;
  }

  .nav-item {
    text-align: left;
    width: 100%;
    max-width: none;
  }

  .nav-menu .nav-item:first-of-type { margin-top: 0.5rem; }

  /* Left-aligned rows: label hugs the left gutter, chevron is pinned to the right edge
     (justify-content:space-between) so the trailing icon never shifts the label off-axis. */
  .nav-link {
    padding: 0.7rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    justify-content: space-between;
    border-radius: 0;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(12px);
    transition: color 0.2s, opacity 0.4s ease, transform 0.4s ease;
  }

  /* Active page: accent text + a thin accent bar on the left edge. */
  .nav-menu .nav-link.active {
    box-shadow: inset 3px 0 0 var(--accent);
  }

  /* Right-pinned chevron for items with a sub-menu; rotates smoothly when opened. */
  .nav-link .chevron {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
  }

  .nav-item.mobile-open > .nav-link .chevron {
    transform: rotate(180deg);
  }

  /* Active page highlight in the mobile menu */
  .nav-menu .nav-link.active {
    color: var(--accent-light) !important;
    font-weight: 700;
  }

  .nav-menu.open .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.open .nav-item:nth-child(1) .nav-link { transition-delay: 0.08s; }
  .nav-menu.open .nav-item:nth-child(2) .nav-link { transition-delay: 0.14s; }
  .nav-menu.open .nav-item:nth-child(3) .nav-link { transition-delay: 0.20s; }
  .nav-menu.open .nav-item:nth-child(4) .nav-link { transition-delay: 0.26s; }
  .nav-menu.open .nav-item:nth-child(5) .nav-link { transition-delay: 0.32s; }
  .nav-menu.open .nav-item:nth-child(6) .nav-link { transition-delay: 0.38s; }
  .nav-menu.open .nav-item:nth-child(7) .nav-link { transition-delay: 0.44s; }
  .nav-menu.open .nav-item:nth-child(8) .nav-link { transition-delay: 0.50s; }
  .nav-menu.open .nav-item:nth-child(9) .nav-link { transition-delay: 0.56s; }

  .nav-link:hover {
    color: #fff !important;
  }

  .nav-link .chevron {
    color: rgba(255,255,255,0.35) !important;
  }

  .nav-link::after {
    display: none;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    min-width: 0;
    width: 100%;
    max-width: none;
    text-align: left;
    /* Collapsed by default; smooth slide-open via max-height when .mobile-open. */
    display: block;
    visibility: visible;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.32s ease, opacity 0.28s ease, padding 0.32s ease;
  }

  .nav-dropdown a {
    color: rgba(255,255,255,0.58) !important;
    background: transparent !important;
    padding: 0.5rem 1.5rem 0.5rem 2.5rem;
    font-size: 0.9rem;
    white-space: normal;
  }

  .nav-dropdown a:hover,
  .nav-dropdown a:focus-visible {
    color: var(--accent-light) !important;
    background: transparent !important;
  }

  .nav-item.mobile-open .nav-dropdown {
    opacity: 1;
    max-height: 480px;
    padding: 0.15rem 0 0.4rem;
  }

  .nav-item:hover .nav-dropdown {
    transform: none;
  }

  .nav-toggle {
    display: flex;
    order: 3;
    margin-left: auto;
    position: relative;
    z-index: 10000;
  }

  .nav-toggle span {
    background: #fff;
    transition: all 0.3s ease;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(8px);
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  /* On mobile/tablet the top bar shows only logo + hamburger. The Portal link and the
     "Plan een adviesgesprek" CTA are cloned by js/main.js into the slide-in menu footer,
     so hiding the in-bar duplicates keeps the bar clean and the hamburger inside it. */
  .nav-actions {
    display: none;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stat::after {
    display: none;
  }

  .page-hero {
    padding: 7rem 0 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Footer grid responsive */
  .footer > .container > div:first-child {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Prevent horizontal overflow */
  .cta-section::before,
  .cta-section::after {
    display: none;
  }

  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  .dc-locations {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .trust-logos {
    gap: 2rem;
  }

  .faq-question {
    cursor: pointer;
  }
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--gray-100);
}

.specs-table th {
  font-weight: 600;
  color: var(--primary);
  background: var(--gray-50);
}

.specs-table td {
  color: var(--gray-600);
}

/* --- Smooth Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gradient-2), var(--gradient-3));
  z-index: 999;
  transition: width 0.1s linear;
}

/* ============================================
   Knowledge Base Article Content
   ============================================ */
.kb-article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.kb-article-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.kb-article-content h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.25rem;
}

.kb-article-content p {
  margin-bottom: 1.25rem;
  color: var(--gray-600);
}

.kb-article-content img {
  border-radius: 12px;
  margin: 1.5rem 0;
}

.kb-article-content ul,
.kb-article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.kb-article-content ol {
  list-style: decimal;
}

.kb-article-content li {
  margin-bottom: 0.5rem;
  color: var(--gray-600);
}

.kb-article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--gray-50);
  border-radius: 0 8px 8px 0;
}

.kb-article-content code {
  background: var(--gray-50);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
}

.kb-article-content pre {
  background: var(--gray-900);
  color: var(--gray-200);
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.kb-article-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.kb-article-content a {
  color: var(--accent);
  text-decoration: underline;
}

.kb-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.kb-article-content th,
.kb-article-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-100);
  text-align: left;
}

.kb-article-content th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--primary);
}

/* --- Pagination Styling --- */
.page-numbers {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  justify-content: center;
}

.page-numbers li a,
.page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.page-numbers li a {
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.page-numbers li a:hover {
  background: var(--gray-50);
  border-color: var(--accent);
  color: var(--accent);
}

.page-numbers li span.current {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

/* ─────────────────────────────────────────
   Kennisbank redesign
   ───────────────────────────────────────── */
.kb-hero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.kb-hero .label-badge { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.kb-hero h1 { color: #fff; }
.kb-hero p { color: rgba(255,255,255,0.75); }

.kb-search {
  margin: 2rem auto 0;
  max-width: 560px;
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 100px;
  padding: 0.375rem 0.375rem 0.375rem 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.kb-search-icon {
  position: absolute;
  left: 1.25rem;
  width: 18px; height: 18px;
  color: var(--gray-400);
}
.kb-search input[type="text"] {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 0.9375rem;
  padding: 0.75rem 0.5rem;
  color: var(--primary);
  font-family: inherit;
  outline: none;
}
.kb-search input[type="text"]::placeholder { color: var(--gray-400); }
.kb-search button { border-radius: 100px !important; padding: 0.625rem 1.25rem !important; }

/* Category grid */
.kb-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.kb-cat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all 0.25s ease;
  overflow: hidden;
}
.kb-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--kb-cat-color, #237a6c) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.kb-cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--kb-cat-color, #237a6c);
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--kb-cat-color, #237a6c) 40%, transparent);
}
.kb-cat-card:hover::before { opacity: 0.06; }
.kb-cat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--kb-cat-color, #237a6c) 10%, white);
  color: var(--kb-cat-color, #237a6c);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kb-cat-icon svg { width: 22px; height: 22px; }
.kb-cat-body { flex: 1; min-width: 0; position: relative; }
.kb-cat-body h3 { font-size: 1rem; margin: 0 0 0.125rem; color: var(--primary); font-weight: 600; }
.kb-cat-body p { font-size: 0.8125rem; color: var(--gray-500); margin: 0; }
.kb-cat-arrow {
  font-size: 1.125rem;
  color: var(--gray-300);
  transition: all 0.25s ease;
  position: relative;
}
.kb-cat-card:hover .kb-cat-arrow { color: var(--kb-cat-color, #237a6c); transform: translateX(3px); }

/* Article cards */
.kb-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}
.kb-article-card {
  position: relative;
  display: flex;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  overflow: hidden;
}
.kb-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(28, 28, 48, 0.15);
  border-color: var(--gray-200);
}
.kb-article-dot {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.kb-article-body { flex: 1; min-width: 0; }
.kb-article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.6875rem;
}
.kb-article-cat {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
}
.kb-article-time { color: var(--gray-400); font-weight: 500; }
.kb-article-card h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--primary);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.kb-article-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0 0 1rem;
}
.kb-article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.25s ease;
}
.kb-article-card:hover .kb-article-link { gap: 0.625rem; }

/* Category filter pills (used on archive/taxonomy) */
.kb-filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0 2rem;
}
.kb-filter-pills { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.kb-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  background: #fff;
  border: 1px solid var(--gray-200);
  text-decoration: none;
  transition: all 0.2s ease;
}
.kb-filter-pill:hover { border-color: var(--accent); color: var(--accent); }
.kb-filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.kb-filter-pill .count {
  font-size: 0.6875rem;
  padding: 0.0625rem 0.4375rem;
  border-radius: 100px;
  background: rgba(0,0,0,0.06);
  color: inherit;
}
.kb-filter-pill.active .count { background: rgba(255,255,255,0.2); }

@media (max-width: 640px) {
  .kb-search { padding-left: 2.75rem; }
  .kb-search-icon { left: 1rem; }
  .kb-search button { padding: 0.5rem 1rem !important; font-size: 0.8125rem; }
}

/* ─────────────────────────────────────────
   Service & Conditions , doc links + PDF downloads
   ───────────────────────────────────────── */
.docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.doc-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}
.doc-link:hover {
  transform: translateX(3px);
  border-color: var(--doc-color, var(--accent));
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--doc-color, #237a6c) 30%, transparent);
}
.doc-link-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--doc-color, #237a6c) 10%, white);
  color: var(--doc-color, #237a6c);
  display: flex; align-items: center; justify-content: center;
}
.doc-link-icon svg { width: 22px; height: 22px; }
.doc-link-body { flex: 1; min-width: 0; }
.doc-link-body h3 { font-size: 1.0625rem; margin: 0 0 0.25rem; color: var(--primary); font-weight: 600; }
.doc-link-body p { font-size: 0.875rem; color: var(--gray-500); margin: 0; }
.doc-link-arrow {
  font-size: 1.25rem;
  color: var(--gray-300);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.doc-link:hover .doc-link-arrow { color: var(--doc-color, var(--accent)); transform: translateX(3px); }

.pdf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.pdf-group {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 1.5rem;
}
.pdf-group-header { margin-bottom: 1rem; }
.pdf-group-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pdf-group h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0.25rem 0 0;
}
.pdf-download {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  margin: 0.375rem 0;
  background: var(--gray-50);
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}
.pdf-download:hover {
  background: #fff;
  border-color: var(--accent);
  color: var(--primary);
}
.pdf-icon {
  width: 24px; height: 24px;
  color: #dc2626;
  flex-shrink: 0;
}
.pdf-name {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
}
.pdf-dl {
  width: 18px; height: 18px;
  color: var(--gray-400);
  transition: all 0.2s ease;
}
.pdf-download:hover .pdf-dl { color: var(--accent); transform: translateY(2px); }

@media (min-width: 720px) {
  .pdf-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
}

/* ─────────────────────────────────────────
   Over Ons (About Us) page
   ───────────────────────────────────────── */
.about-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  overflow: hidden;
  color: #fff;
}
.about-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,28,48,0.92) 0%, rgba(28,28,48,0.78) 60%, rgba(46,158,139,0.55) 100%);
  z-index: 1;
}
.about-hero-content { position: relative; z-index: 2; }
.about-hero .label-badge { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.about-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 1rem 0 0.5rem;
}
.about-hero-tagline {
  font-size: clamp(1.0625rem, 1.75vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.about-hero-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 2rem;
}
.about-hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Why PL-Services cards */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.reason-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.5rem 2rem;
  overflow: hidden;
  transition: all 0.25s ease;
}
.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -12px rgba(28,28,48,0.2);
  border-color: var(--reason-color, var(--accent));
}
.reason-accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--reason-color, var(--accent));
}
.reason-card h3 {
  font-size: 1.0625rem;
  color: var(--primary);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.reason-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .about-split { grid-template-columns: 1.2fr 1fr; }
}
.about-split-content .label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.625rem;
}
.about-split-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  color: var(--primary);
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}
.about-prose p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0 0 1rem;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
}
.about-stats > div {
  display: flex;
  flex-direction: column;
}
.about-stats strong {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-stats span {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}
.about-split-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-100);
}
.about-split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-split-badge {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  max-width: 240px;
}
.about-split-badge svg {
  width: 24px; height: 24px;
  color: #22c55e;
  flex-shrink: 0;
}
.about-split-badge strong {
  display: block;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 700;
}
.about-split-badge span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Facts grid */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.fact-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.fact-card:hover {
  transform: translateY(-3px);
  border-color: var(--fact-color, var(--accent));
  box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--fact-color, #237a6c) 40%, transparent);
}
.fact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--fact-color, #237a6c) 10%, white);
  color: var(--fact-color, #237a6c);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.fact-icon svg { width: 22px; height: 22px; }
.fact-card h4 {
  font-size: 1rem;
  color: var(--primary);
  margin: 0 0 0.375rem;
  font-weight: 600;
}
.fact-card p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.55;
}
.fact-card-link { cursor: pointer; }
.fact-card-link h4 { color: var(--fact-color, var(--accent)); }

/* Company card */
.company-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 2rem;
}
.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .company-grid { grid-template-columns: repeat(2, 1fr); }
  .company-cell-wide { grid-column: 1 / -1; }
}
.company-cell h5 {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  font-weight: 700;
  margin: 0 0 0.625rem;
}
.company-cell p {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.25rem;
}
.company-cell p a { color: inherit; text-decoration: none; }
.company-cell p a:hover { color: var(--accent); }
.company-cell span {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray-500);
}
.company-cell address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.7;
}
.company-tag {
  display: inline-block !important;
  margin-top: 0.5rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem !important;
  background: rgba(34,197,94,0.1);
  color: #16a34a !important;
  border-radius: 100px;
  font-weight: 500;
}
.company-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.25rem;
  margin: 0;
  font-size: 0.9375rem;
}
.company-dl dt { color: var(--gray-500); font-weight: 500; }
.company-dl dd { color: var(--primary); font-weight: 600; margin: 0; }

/* ============================================
   TEMPLATE-PARTS (Phase 2) — PL-Systems components
   hero · section-header · feature-row · cta-block ·
   card-grid · testimonial-strip · stats-bar
   ============================================ */

/* --- Eyebrow: wrapped teal chip with a status dot (own label style) --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  padding: 0.45rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid rgba(46, 158, 139, 0.22);
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
/* Dark-section variant (hero / CTA on ink) */
.pl-hero .eyebrow,
.section-cta-block .eyebrow {
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(46, 158, 139, 0.4);
}
.pl-hero .eyebrow::before,
.section-cta-block .eyebrow::before {
  background: var(--accent-light);
}

/* Left-aligned section-header variant (feature rows, detail pages) */
.section-header--left {
  text-align: left;
  max-width: 720px;
  margin-left: 0;
  margin-right: auto;
}

/* --- Outline button on dark sections --- */
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Filled icon-chip (teal gradient bg) → white glyph at rest, per STYLEGUIDE §1.4 */
.card-icon--filled svg { color: #fff; }

/* Long Dutch compounds (e.g. "Infrastructuurbeheer") must wrap inside cards */
.card h3 { overflow-wrap: break-word; hyphens: auto; }

/* feature-row photo fills its rounded 4/3 frame */
.feature-visual > img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- card-grid image (cards with a photo header) --- */
.card-image {
  margin: -2rem -2rem 1.25rem;
  height: 180px;
  overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }

/* --- stats-bar dark wrapper + teal underline accent --- */
/* Thin minimalistic stats bar directly under the hero (continues the ink) */
.stats-section {
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.5rem 0;
}
.stats-section .stats-bar { padding: 0; gap: 1rem; }
.stats-section .stat-number { font-size: 1.7rem; margin-bottom: 0.15rem; }
.stats-section .stat-label { font-size: 0.72rem; letter-spacing: 0.02em; }
.stats-section .stat-number::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  margin: 0.3rem auto 0;
}
.stats-section .stat::after { top: 16%; height: 68%; }

/* ============================================
   Hero (template-parts/hero.php) — .pl-hero
   indigo→teal gradient + animated dot-grid + teal orbs (no particles)
   ============================================ */
.pl-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--gradient-hero);
  color: #fff;
  padding: calc(var(--nav-height) + 2.25rem) 0 2.75rem;
}
.pl-hero--compact {
  padding: calc(var(--nav-height) + 2.5rem) 0 2.5rem;
}
.pl-hero-bgimg { position: absolute; inset: 0; z-index: -2; }
.pl-hero-bgimg img { width: 100%; height: 100%; object-fit: cover; }
.pl-hero--has-image .pl-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(14, 27, 24, 0.92) 0%, rgba(17, 51, 43, 0.82) 50%, rgba(46, 158, 139, 0.55) 130%);
}
.pl-hero-grid {
  position: absolute;
  inset: -32px 0 0 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: gridDrift 25s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(32px); }
}
/* Hero network mesh (homepage) — drawn by js/hero-network.js */
.pl-hero-net {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  pointer-events: none;
}
.orb-1 {
  width: 360px;
  height: 360px;
  background: var(--mint);
  top: -80px;
  right: -60px;
  animation: orbFloat 13s ease-in-out infinite;
}
.orb-2 {
  width: 280px;
  height: 280px;
  background: var(--accent);
  bottom: -100px;
  left: -40px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(20px, -24px); }
}
.pl-hero-inner {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}
.pl-hero--center .pl-hero-inner {
  flex-direction: column;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.pl-hero-content { flex: 1; max-width: 600px; }
.pl-hero--center .pl-hero-content { max-width: 100%; }
.pl-hero-content h1 {
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-light); /* fallback if clip unsupported */
}
.pl-hero .eyebrow { color: var(--accent-light); }
.pl-hero .hero-badge { margin-bottom: 1rem; }
.pl-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.5rem;
  max-width: 48ch;
}
.pl-hero--center .pl-hero-lead { margin-left: auto; margin-right: auto; }
.pl-hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pl-hero--center .pl-hero-cta { justify-content: center; }
.pl-hero-visual { flex: 1; display: flex; justify-content: center; min-width: 0; }

/* Hero mini-card grid (homepage right column) */
.pl-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  width: 100%;
  max-width: 400px;
}
.pl-hero-card { display: block; }
.pl-hero-card .icon { width: 28px; height: 28px; color: var(--accent-light); margin-bottom: 0.625rem; }
.pl-hero-card-title { font-size: 0.875rem; font-weight: 600; color: #fff; }
.pl-hero-card-tag { font-size: 0.7rem; color: rgba(255, 255, 255, 0.55); margin-top: 0.15rem; }
@media (max-width: 480px) {
  .pl-hero-cards { max-width: none; }
}

/* Hero figure: framed real photo + floating glass status chip (asymmetric) */
.hero-figure {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}
.hero-figure > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 70px -20px rgba(7, 17, 15, 0.7);
  display: block;
}
.hero-figure::after {
  /* subtle gold corner accent */
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 64px;
  height: 64px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: 0 var(--radius-2xl) 0 0;
  opacity: 0.8;
}
.hero-statuschip {
  position: absolute;
  left: -1.5rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(7, 17, 15, 0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-lg);
}
.hero-statuschip-label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 2px;
}
.hero-statuschip-value {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.1;
}
@media (max-width: 1023px) {
  .hero-figure { margin: 1.5rem auto 0; max-width: 460px; }
}
@media (max-width: 480px) {
  .hero-statuschip { left: 0.75rem; bottom: 0.75rem; padding: 0.6rem 0.85rem; }
}

/* ============================================
   Diensten — editorial numbered index (no icon-card grid)
   ============================================ */
.svc-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.svc-intro { position: sticky; top: calc(var(--nav-height) + 2rem); }
.svc-intro h2 { margin: 0.25rem 0 1rem; }
.svc-intro p { color: var(--gray-600); margin-bottom: 1.5rem; }
.svc-index { display: flex; flex-direction: column; }
.svc-row {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.6rem 0.5rem 1.6rem 0;
  border-top: 1px solid var(--gray-200);
  color: inherit;
  transition: padding var(--transition), background var(--transition);
}
.svc-index .svc-row:last-child { border-bottom: 1px solid var(--gray-200); }
.svc-num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem; color: var(--accent); }
.svc-name {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
  transition: color var(--transition);
}
.svc-desc { display: block; font-size: 0.95rem; color: var(--gray-600); line-height: 1.55; }
.svc-arrow { width: 22px; height: 22px; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: all var(--transition); }
.svc-row:hover { padding-left: 0.75rem; background: var(--accent-soft); border-radius: var(--radius-md); }
.svc-row:hover .svc-name { color: var(--accent-dark); }
.svc-row:hover .svc-arrow { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .svc-layout { grid-template-columns: 1fr; gap: 2rem; }
  .svc-intro { position: static; }
}

/* ============================================
   Waarom — box-free value list (no card grid / no uniform shadow)
   ============================================ */
.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.25rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.value-ic { display: inline-flex; color: var(--accent); margin-bottom: 0.85rem; }
.value-ic svg { width: 32px; height: 32px; }
.value-title { font-family: 'Sora', sans-serif; font-size: 1.12rem; font-weight: 600; margin-bottom: 0.4rem; }
.value-text { font-size: 0.95rem; color: var(--gray-600); line-height: 1.6; }
@media (max-width: 860px) { .value-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-list { grid-template-columns: 1fr; } }

/* Sibling band (Over ons → PL-Services cross-link) */
.sibling-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.sibling-band-text { flex: 1 1 360px; }
.sibling-band-text h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.6rem; }
.sibling-band-text p { color: var(--gray-600); max-width: 60ch; margin: 0; }
.sibling-band-action { flex: 0 0 auto; }

/* Rich content (the_content on CPT singles) */
.prose { color: var(--gray-700); line-height: 1.75; font-size: 1.02rem; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.15rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 2rem 0 0.75rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 0.6rem; }
.prose ul, .prose ol { margin: 0 0 1.15rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-lg); }
.prose blockquote {
  margin: 1.5rem 0; padding: 0.5rem 1.25rem;
  border-left: 3px solid var(--accent); color: var(--gray-600); font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; }
.prose thead { background: var(--accent-soft); }
.prose th { text-align: left; padding: 0.75rem 1rem; font-weight: 600; color: var(--primary); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--gray-200); }
.prose td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-100); }
.prose tbody tr:last-child td { border-bottom: 0; }

/* Prijsindicatie note (CPT singles) */
.pricing-note {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 1.75rem; padding: 1rem 1.25rem;
  background: var(--accent-soft); border: 1px solid rgba(46, 158, 139, 0.22);
  border-radius: var(--radius-lg); color: var(--accent-dark); font-weight: 600;
}
.pricing-note svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); }

/* Contact — "reactietijd" chip (icon + single-line label) */
.contact-response {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  background: var(--accent-soft);
  border: 1px solid rgba(46, 158, 139, 0.22);
  border-radius: var(--radius-pill);
}
.contact-response svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-dark); }
.contact-response span { font-weight: 600; font-size: 0.9rem; line-height: 1; color: var(--accent-dark); white-space: nowrap; }

/* ── Cases / portfolio ── */
.case-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 768px) { .case-split { grid-template-columns: 1fr; gap: 2rem; } }
.case-col p { color: var(--gray-700); line-height: 1.75; margin: 0; }

.case-quote {
  position: relative;
  margin: 0;
  padding: 2rem 2.25rem;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}
.case-quote .case-quote-mark { width: 34px; height: 34px; color: var(--accent); opacity: 0.5; margin-bottom: 0.5rem; }
.case-quote p { font-family: 'Sora', sans-serif; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--primary); margin: 0 0 1rem; }
.case-quote footer { color: var(--gray-600); font-size: 0.95rem; }
.case-quote footer strong { color: var(--primary); }

/* Portfolio card (built on .card) */
.case-card { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.case-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-soft);
  border: 1px solid rgba(46,158,139,0.22); border-radius: var(--radius-pill);
  padding: 0.3rem 0.7rem; margin-bottom: 0.9rem;
}
.case-card h3 { margin-bottom: 0.5rem; }
.case-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.1rem; }
.case-card-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-dark); font-weight: 600; font-size: 0.9rem;
}
.case-card:hover .case-card-link { color: var(--accent); }
.case-card-link svg { transition: transform var(--transition); }
.case-card:hover .case-card-link svg { transform: translateX(3px); }

/* ── CSR Generator (Tooling) ── */
.csr-status { margin-top: 1rem; font-size: 0.9rem; padding: 0; border-radius: var(--radius-md); }
.csr-status.sending, .csr-status.success, .csr-status.error { padding: 0.75rem 1rem; }
.csr-status.sending { background: rgba(46,158,139,0.08); color: var(--accent-dark); border: 1px solid rgba(46,158,139,0.2); }
.csr-status.success { background: rgba(46,158,139,0.1); color: var(--accent-dark); border: 1px solid rgba(46,158,139,0.3); }
.csr-status.error   { background: rgba(224,91,91,0.08); color: #b3261e; border: 1px solid rgba(224,91,91,0.3); }

.csr-output { margin-top: 2rem; display: grid; gap: 1.5rem; }
.csr-block { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 1.25rem 1.25rem 1.5rem; box-shadow: var(--shadow-sm); }
.csr-block-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.csr-block-head h3 { font-size: 1.05rem; margin: 0; }
.csr-block-head h3 span { font-weight: 400; font-size: 0.8rem; color: var(--gray-500); }
.csr-actions { display: flex; gap: 0.5rem; }
.csr-textarea {
  width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem; line-height: 1.5; color: var(--gray-700);
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 0.85rem 1rem; resize: vertical; white-space: pre; overflow-x: auto;
}

.csr-notice { display: flex; gap: 1rem; align-items: flex-start; background: var(--accent-soft); border: 1px solid rgba(46,158,139,0.22); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; }
.csr-notice-ic { flex-shrink: 0; display: inline-flex; color: var(--accent-dark); }
.csr-notice-ic svg { width: 28px; height: 28px; }
.csr-notice h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.csr-notice p { margin: 0; color: var(--gray-700); font-size: 0.95rem; line-height: 1.65; }

/* ── Nieuws (archive + single) ── */
.nieuws-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.nieuws-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.nieuws-card-media { display: block; height: 190px; background: var(--gradient-accent); background-size: cover; background-position: center; }
.nieuws-card-body { display: block; padding: 1.4rem 1.5rem 1.6rem; }
.nieuws-card-meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
.nieuws-card-meta .case-tag { margin-bottom: 0; }
.nieuws-card-date { font-size: 0.7rem; font-weight: 500; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.06em; }
.nieuws-card h3 { font-size: 1.1rem; margin: 0 0 0.45rem; color: var(--primary); }
.nieuws-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; margin: 0; }
.nieuws-pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.nieuws-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.6rem; border: 1px solid var(--gray-200); border-radius: var(--radius-md); color: var(--gray-700); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: all var(--transition); }
.nieuws-pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent-dark); }
.nieuws-pagination .page-numbers.current { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.nieuws-pagination .page-numbers.dots { border: none; }

.nieuws-single-meta { display: flex; gap: 0.6rem; align-items: center; color: var(--gray-500); font-size: 0.85rem; margin-bottom: 1.5rem; }
.nieuws-single-figure { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow-md); }
.nieuws-single-figure img { display: block; width: 100%; height: auto; }
.nieuws-single-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--gray-100); }
.nieuws-single-tags .case-tag { margin-bottom: 0; text-decoration: none; }
.nieuws-single-share { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.nieuws-single-share span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); }
.nieuws-single-share a { color: var(--gray-400); transition: color var(--transition); display: inline-flex; }
.nieuws-single-share a:hover { color: var(--accent-dark); }
.nieuws-single-share svg { width: 20px; height: 20px; }

/* ── 404 ── */
.error-code {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-search { display: flex; gap: 0.5rem; max-width: 560px; margin: 3rem auto 0; }
.error-search input[type="search"] {
  flex: 1; padding: 0.85rem 1.1rem; font-family: inherit; font-size: 0.95rem; color: var(--gray-800);
  background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.error-search input[type="search"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,158,139,0.12); }

/* Dark glass card (hero visual grid, CIA value boxes) */
.card-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.25rem;
  color: #fff;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(46, 158, 139, 0.4);
  box-shadow: 0 8px 32px rgba(46, 158, 139, 0.18);
}

@media (max-width: 1023px) {
  .pl-hero-inner { flex-direction: column; align-items: stretch; text-align: left; }
  .pl-hero-visual { margin-top: 1rem; }
}

/* ============================================
   Accessibility — focus rings + reduced motion
   ============================================ */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pl-hero-grid,
  .orb,
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger-children > *,
  .card:hover,
  .card-dark:hover {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger-children > * {
    opacity: 1 !important;
  }
}

