/* ============================================
   SMARTER SOLUTION — MAIN CSS
   Dark-mode first · Syne + Inter + JetBrains Mono
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Cal Sans is single-weight (400): suppress faux-bold synthesis so display
     headings render their true weight. Inter uses its real loaded weights. */
  font-synthesis-weight: none;
}

body {
  min-height: 100vh;
  background: var(--dark-bg);
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }

/* Display typeface — self-hosted Cal Sans 400 (matches trysoro.com). Headings only. */
@font-face {
  font-family: "Cal Sans";
  src: url("../fonts/CalSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ----- CUSTOM PROPERTIES ----- */
:root {
  /* Colors */
  --blue-primary: #2563eb;
  --blue-accent: #3b82f6;
  --blue-glow: rgba(37, 99, 235, 0.25);
  --orange-accent: #f97316;
  --orange-glow: rgba(249, 115, 22, 0.25);
  --dark-bg: #111827;
  --dark-surface: #1f2937;
  --dark-card: #374151;
  --dark-border: rgba(255, 255, 255, 0.06);
  --light-bg: #f9fafb;
  --white: #ffffff;

  /* Text colors */
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-dark: #111827;

  /* Typography — Soro system (Cal Sans display + Inter body). 1rem = 16px here.
     Sizes mapped to values measured on trysoro.com (mobile clamp-min → desktop clamp-max). */
  --ff-display: "Cal Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;

  --fs-display: clamp(2.25rem, 4.5vw, 4rem);     /* hero    36 → 64 */
  --fs-h1: clamp(1.875rem, 3.5vw, 2.75rem);      /* section 30 → 44 */
  --fs-h2: clamp(1.875rem, 3.2vw, 2.75rem);      /* section 30 → 44 */
  --fs-h3: clamp(1.125rem, 1.6vw, 1.375rem);     /* card    18 → 22 */
  --fs-body: clamp(1rem, 1vw, 1.25rem);          /* body    16 → 20 */
  --fs-small: 0.875rem;                          /* 14 */
  --fs-xs: 0.75rem;                              /* 12 */
  --fs-mono: 0.8125rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-padding: 1.5rem;
  --section-padding: 6rem 0;
  --nav-height: 80px;
  --navbar-height: var(--nav-height);
  --navbar-h: var(--nav-height);
  --font-body: var(--ff-body);
  --font-mono: var(--ff-mono);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow-blue: 0 0 30px var(--blue-glow);
  --shadow-glow-orange: 0 0 30px var(--orange-glow);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Glass */
  --glass-bg: rgba(31, 41, 55, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 16px;
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);   /* Cal Sans */
  font-weight: var(--fw-regular);   /* Cal Sans is single-weight (400) */
  line-height: 1.15;
  letter-spacing: normal;           /* Soro uses no tracking */
  color: var(--white);
}

/* Soro renders feature/card-level headings (h3+) in Inter 600, not the display face */
h3, h4, h5, h6 {
  font-family: var(--ff-body);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}

h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); }

.display { font-size: var(--fs-display); font-weight: var(--fw-regular); } /* Cal Sans 400 */
.mono { font-family: var(--ff-mono); font-size: var(--fs-mono); }
.text-gradient {
  background: linear-gradient(135deg, var(--blue-accent), var(--orange-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-accent);
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 600px;
}

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

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-light {
  background: var(--light-bg);
  color: var(--text-dark);
}

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

.section-light .section-subtitle,
.section-light .text-secondary {
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.text-center { text-align: center; }

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange-accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background: #ea6c0a;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn-blue {
  background: var(--blue-primary);
  color: var(--white);
  box-shadow: 0 4px 16px var(--blue-glow);
}

.btn-blue:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-small);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

/* Magnetic button wrapper */
.magnetic-wrap {
  display: inline-block;
  position: relative;
}

/* ----- GLASSMORPHISM CARD ----- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.glass-card-blue:hover {
  box-shadow: var(--shadow-glow-blue);
  border-color: rgba(37, 99, 235, 0.3);
}

.glass-card-orange:hover {
  box-shadow: var(--shadow-glow-orange);
  border-color: rgba(249, 115, 22, 0.3);
}

/* ----- NAVBAR ----- */
.navbar-new {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    backdrop-filter var(--transition-base),
    -webkit-backdrop-filter var(--transition-base);
}

.navbar-new.scrolled {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
}

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

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: var(--fw-extrabold);
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--blue-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-accent);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link-services {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-caret {
  color: var(--text-muted);
  transition: transform var(--transition-base), color var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret,
.nav-link-services.active .nav-dropdown-caret {
  color: var(--white);
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 240px;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--dark-border);
  background: rgba(17, 24, 39, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1002;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  position: relative;
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-link:hover,
.dropdown-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.dropdown-link::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 1px;
  background: var(--blue-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

.nav-cta {
  margin-left: var(--space-lg);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base),
    background-color var(--transition-base);
}

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

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

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

/* Mobile nav panel */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--dark-surface);
  padding: 6rem var(--space-2xl) var(--space-2xl);
  transition: right var(--transition-slow);
  z-index: 999;
  border-left: 1px solid var(--dark-border);
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  z-index: 998;
}

.nav-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile .nav-link {
  display: block;
  font-size: 1.125rem;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--dark-border);
}

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

.nav-mobile-sub {
  padding-left: var(--space-md) !important;
  font-size: 0.95rem !important;
  color: var(--text-secondary);
}

.nav-mobile-parent {
  margin-top: var(--space-xs);
}

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  min-height: 2em;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-family: var(--ff-mono);
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
}

.hero-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--dark-bg), transparent);
  z-index: 1;
  pointer-events: none;
}

/* ----- INTERNAL PAGE HEADER ----- */
.page-header {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-3xl);
  overflow: hidden;
  text-align: center;
  background: transparent;
  border-bottom: 0;
}

.page-header .container {
  max-width: 780px;
}

.page-header h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.page-header p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  max-width: 760px;
  margin: 0 auto;
}

.page-section {
  padding: var(--section-padding);
}

/* Trust badges */
.trust-strip {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  opacity: 0.4;
  filter: grayscale(1) brightness(2);
  transition: opacity var(--transition-base);
}

.trust-strip:hover {
  opacity: 0.6;
}

.trust-strip img {
  height: 28px;
  width: auto;
}

/* ----- STATS SECTION ----- */
.stats-section {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.stat-item {
  padding: var(--space-lg);
}

.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-extrabold);
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-number .accent {
  color: var(--orange-accent);
}

.stat-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ----- ABOUT SECTION ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-text {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.about-text strong,
.about-text span {
  color: var(--white);
  font-weight: var(--fw-semibold);
}

/* Gradient orb animation */
.gradient-orb {
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    var(--blue-accent),
    var(--blue-primary),
    #1e3a5f,
    transparent 70%
  );
  filter: blur(40px);
  opacity: 0.6;
  animation: orb-float 8s ease-in-out infinite;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* ----- SERVICES SECTION ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.services-carousel {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.services-carousel.is-dragging {
  cursor: grabbing;
}

.services-carousel-track {
  display: flex;
  gap: var(--space-xl);
  width: max-content;
}

.services-carousel-track.is-animating {
  will-change: transform;
}

.service-carousel-card {
  flex: 0 0 clamp(280px, 28vw, 380px);
  min-height: 100%;
}

.service-carousel-card .card-link {
  pointer-events: none;
}

.service-card {
  padding: var(--space-2xl);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
  color: var(--blue-accent);
}

.service-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.service-card h3 {
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.service-card .card-link {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--blue-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--transition-base);
}

.service-card .card-link:hover {
  gap: var(--space-sm);
}

/* ----- WERKWIJZE / PROCESS SECTION ----- */
.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--dark-card);
}

.process-line-fill {
  position: absolute;
  left: 28px;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--blue-accent), var(--orange-accent));
  transition: height 0.3s ease;
}

.process-step {
  position: relative;
  padding-left: 80px;
  padding-bottom: var(--space-3xl);
}

.process-step:last-child {
  padding-bottom: 0;
}

.step-number {
  position: absolute;
  left: 8px;
  top: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-surface);
  border: 2px solid var(--dark-card);
  border-radius: 50%;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--text-muted);
  transition:
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
  z-index: 1;
}

.process-step.active .step-number {
  border-color: var(--blue-accent);
  color: var(--blue-accent);
  box-shadow: 0 0 20px var(--blue-glow);
}

.step-content h3 {
  margin-bottom: var(--space-sm);
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----- CASES SECTION (horizontal scroll) ----- */
.cases-pin-section {
  overflow: hidden;
}

.cases-track {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-3xl) var(--container-padding);
}

.cases-track.is-animating {
  will-change: transform;
}

.case-card-new {
  flex: 0 0 min(420px, 80vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.case-card-new:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--dark-border);
}

.case-card-mockup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(15, 23, 42, 1));
}

.case-card-mockup .device-mockup-wrapper {
  width: 90%;
  max-width: 380px;
}

.case-card-mockup .mockup-desktop {
  width: 100%;
  border-radius: 12px;
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, 0.45));
}

.case-card-mockup .mockup-mobile {
  width: 30%;
  right: -4%;
  bottom: -8%;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
}

.case-card-body {
  padding: var(--space-xl);
}

.case-card-tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.case-card-body h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.case-card-body p {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.case-highlights {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.case-highlight-tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  padding: 4px 10px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  color: var(--blue-accent);
}

/* Color accents per case */
.case-card-new[data-case="tantunio"] { border-top: 3px solid #d97706; }
.case-card-new[data-case="procarbody"] { border-top: 3px solid #64748b; }
.case-card-new[data-case="dutchwallprinter"] { border-top: 3px solid #2563eb; }
.case-card-new[data-case="droommuur"] { border-top: 3px solid #f9a8d4; }
.case-card-new[data-case="afwerkpro"] { border-top: 3px solid #d2b48c; }

/* ----- TESTIMONIALS ----- */
.testimonial-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-3xl);
}

.testimonial-quote {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: var(--ff-display);
  font-size: 4rem;
  color: var(--blue-accent);
  opacity: 0.3;
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  line-height: 1;
}

.testimonial-author {
  font-weight: var(--fw-semibold);
  color: var(--white);
}

.testimonial-role {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* Testimonials carousel */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonials-track .testimonial-card {
  flex: 0 0 100%;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dark-card);
  transition:
    width var(--transition-base),
    border-radius var(--transition-base),
    background-color var(--transition-base);
  cursor: pointer;
}

.testimonial-dot.active {
  background: var(--blue-accent);
  width: 24px;
  border-radius: 4px;
}

/* ----- BLOG PREVIEW ----- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card-new {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.blog-card-new:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-content {
  padding: var(--space-xl);
}

.blog-card-category {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-accent);
  margin-bottom: var(--space-sm);
}

.blog-card-new h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.blog-card-new p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.blog-card-readtime {
  font-family: var(--ff-mono);
}

/* ----- CTA SECTION ----- */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: var(--space-5xl) 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
    rgba(37, 99, 235, 0.15),
    rgba(249, 115, 22, 0.1),
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

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

.cta-title {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-lg);
}

.cta-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ----- FOOTER ----- */
.footer-new {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-4xl) 0;
}

.footer-brand-text {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dark-card);
  color: var(--text-secondary);
  font-size: 1.125rem;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base);
}

.footer-social a:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-family: var(--ff-display);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.footer-column a {
  display: block;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue-accent);
}

.footer-bottom-bar {
  border-top: 1px solid var(--dark-border);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* ----- SCROLL PROGRESS ----- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange-accent);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
}

/* ----- CUSTOM CURSOR ----- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: difference;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate3d(-50%, -50%, 0);
  transition: width var(--transition-fast), height var(--transition-fast), border-color var(--transition-fast);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--orange-accent);
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot,
  .cursor-ring { display: none; }
}


/* ----- RESPONSIVE ----- */

/* Tablet */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* Mobile large */
@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
    --container-padding: 1.25rem;
  }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; gap: var(--space-md); text-align: center; }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile small */
@media (max-width: 480px) {
  :root {
    --section-padding: 3rem 0;
    --container-padding: 1rem;
  }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }

  .stat-number {
    font-size: 1.75rem;
  }

  .process-step { padding-left: 60px; }
  .process-timeline::before { left: 18px; }
  .process-line-fill { left: 18px; }
  .step-number { left: 0; width: 36px; height: 36px; font-size: var(--fs-xs); }
}

/* ----- CASE PAGE HERO ----- */
.case-hero {
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.case-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
}

.case-hero-text {
  max-width: 520px;
}

.case-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 6px 14px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.case-hero-title {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.case-hero-desc {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.case-kpi-row {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.case-kpi {
  padding: var(--space-md) var(--space-lg);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 120px;
}

.case-kpi-value {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: var(--fw-extrabold);
  color: var(--white);
  line-height: 1.2;
}

.case-kpi-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* Generated customer case pages */
.customer-case-page {
  background: #f4f5f7;
  color: #111827;
}

.customer-case-page .case-hero {
  background-color: #111827;
  background-image: linear-gradient(
    90deg,
    color-mix(in srgb, var(--case-color, var(--blue-primary)) 34%, #0f172a) 0%,
    color-mix(in srgb, var(--case-color, var(--blue-primary)) 78%, #1f2937) 51%,
    color-mix(in srgb, var(--case-color, var(--blue-primary)) 32%, #0b1120) 100%
  );
  display: grid;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  place-items: center;
}

.customer-case-page .case-hero::before,
.customer-case-page .case-hero::after {
  content: "";
  position: absolute;
  inset: 0 -18px;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  transform-origin: center bottom;
}

.customer-case-page .case-hero::before {
  inset: 0;
  background-image: url("../img/hero-bg-bottom.png");
  background-position: -280px calc(100% + 8px);
  filter: brightness(0.97);
}

.customer-case-page .case-hero::after {
  background-image: url("../img/hero-bg.png");
  background-position: center calc(100% + 4px);
  animation: caseWaveDrift 6.8s ease-in-out infinite alternate;
}

.customer-case-page .case-hero > .container {
  position: relative;
  z-index: 5;
}

.customer-case-page .scroll-indicator {
  z-index: 3;
}

.customer-case-page .case-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.customer-case-page .case-hero-text {
  max-width: 820px;
}

.customer-case-page .case-hero-desc {
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
}

.customer-case-page .case-hero-title {
  color: var(--white);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  font-weight: var(--fw-extrabold);
}

.case-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  transition: color var(--transition-base), gap var(--transition-base);
}

.case-back-link:hover {
  color: var(--orange-accent);
  gap: var(--space-sm);
}

.case-hero-brand {
  justify-self: end;
  width: min(100%, 440px);
}

.case-hero-logo-shell {
  display: grid;
  min-height: clamp(230px, 30vw, 380px);
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(1.5deg);
}

.case-hero-logo-shell img {
  max-height: 270px;
  width: min(100%, 390px);
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(3, 7, 30, 0.26));
}

.case-hero-brand:nth-child(even) .case-hero-logo-shell {
  transform: rotate(-2deg);
}

.case-tag-row,
.case-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.case-tag-row {
  margin-bottom: var(--space-lg);
}

.case-tag-row span,
.case-pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  line-height: 1;
}

.case-tag-row span {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.case-pill-row {
  margin-bottom: var(--space-xl);
}

.case-pill-row span {
  color: var(--white);
  background: color-mix(in srgb, var(--case-color, var(--blue-primary)) 55%, rgba(10, 14, 28, 0.4));
  border: 1px solid color-mix(in srgb, var(--case-color, var(--blue-primary)) 62%, rgba(255, 255, 255, 0.18));
}

.customer-case-page .case-kpi {
  background: color-mix(in srgb, var(--case-color, var(--blue-primary)) 16%, rgba(31, 41, 55, 0.88));
  border-color: color-mix(in srgb, var(--case-color, var(--blue-primary)) 42%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 16px 34px rgba(3, 7, 30, 0.22);
}

.customer-case-page .case-kpi-value,
.customer-case-page .case-section-label,
.customer-case-page .tech-item svg,
.customer-case-page .mockup-visit-link {
  color: var(--case-color, var(--blue-accent));
}

.case-section-alt {
  background: #eceff3;
}

@keyframes caseWaveDrift {
  0% {
    transform: translate3d(6px, 0, 0) rotate(0.06deg);
  }
  100% {
    transform: translate3d(-8px, 0, 0) rotate(-0.1deg);
  }
}

/* ----- DEVICE MOCKUP ----- */
.mockup-section {
  padding: var(--space-4xl) 0;
}

.device-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.mockup-desktop {
  width: 82%;
  border-radius: 12px;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.5)) drop-shadow(0 0 0 rgba(255,255,255,0.03));
}

.mockup-mobile {
  position: absolute;
  right: -2%;
  bottom: -8%;
  width: 22%;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.4));
}

.mockup-visit-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
  font-weight: var(--fw-semibold);
  color: var(--blue-accent);
  font-size: var(--fs-small);
  transition: gap var(--transition-base);
}

.mockup-visit-link:hover { gap: var(--space-sm); }

.case-browser-frame {
  width: min(100%, 1040px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: #0f172a;
  box-shadow: var(--shadow-lg);
}

.case-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-browser-bar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.case-browser-bar > span:nth-child(1) { background: #ef4444; }
.case-browser-bar > span:nth-child(2) { background: #f59e0b; }
.case-browser-bar > span:nth-child(3) { background: #22c55e; }

.case-browser-url {
  flex: 1;
  min-width: 0;
  margin-left: var(--space-md);
  padding: 7px 12px;
  border-radius: var(--radius-full);
  background: rgba(17, 24, 39, 0.72);
  color: var(--text-muted);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-browser-capture {
  height: clamp(320px, 58vw, 680px);
  overflow: hidden;
  background: #fff;
}

.case-browser-capture img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}

/* ----- CASE CONTENT SECTIONS ----- */
.case-section {
  padding: var(--space-4xl) 0;
}

.customer-case-page .mockup-section,
.customer-case-page .case-section,
.customer-case-page .case-quote-section,
.customer-case-page main > .section {
  background: #f7f8fa;
  color: #111827;
}

.customer-case-page .case-section-alt {
  background: #edf0f4;
}

.case-section + .case-section {
  border-top: 1px solid var(--dark-border);
}

.customer-case-page .case-section + .case-section {
  border-top-color: #dfe3ea;
}

.case-section-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-accent);
  margin-bottom: var(--space-md);
}

.case-section h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-xl);
}

.customer-case-page .case-section h2,
.customer-case-page .case-quote,
.customer-case-page .next-case-title {
  color: #111827;
}

.case-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
}

.customer-case-page .case-section p,
.customer-case-page .case-timeline-step p,
.customer-case-page .case-quote-role,
.customer-case-page .next-case-label {
  color: #4b5563;
}

.case-section p + p {
  margin-top: var(--space-md);
}

/* Case timeline (aanpak) */
.case-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 700px;
}

.case-approach-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-approach-section .case-section-label,
.case-approach-section h2 {
  text-align: center;
}

.case-approach-section .case-timeline {
  width: min(100%, 760px);
  margin-inline: auto;
}

.case-timeline-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  width: 100%;
  padding: var(--space-lg);
  border: 1px solid color-mix(in srgb, var(--case-color, var(--blue-primary)) 22%, #d8dde7);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.06);
}

.case-timeline-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--case-color, var(--blue-primary)) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--case-color, var(--blue-primary)) 34%, transparent);
  border-radius: 50%;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--case-color, var(--blue-accent));
}

.case-timeline-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.customer-case-page .case-timeline-step h3 {
  color: #111827;
}

.case-timeline-step p {
  font-size: var(--fs-small);
}

/* Resultaten metric cards */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-top: var(--space-md);
}

.result-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  padding: clamp(1.35rem, 2vw, 2rem);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid color-mix(in srgb, var(--case-color, var(--blue-primary)) 24%, #d8dde7);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.07);
  text-align: center;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.result-card:nth-child(2) {
  margin-top: var(--space-xl);
}

.result-card:nth-child(3) {
  margin-top: var(--space-sm);
}

.result-card:nth-child(4) {
  margin-top: calc(var(--space-xl) * -0.45);
}

.result-card:hover {
  border-color: color-mix(in srgb, var(--case-color, var(--blue-primary)) 48%, #d8dde7);
  box-shadow: 0 22px 44px rgba(17, 24, 39, 0.1);
  transform: translateY(-4px);
}

.result-value {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: var(--fw-extrabold);
  color: #111827;
  line-height: 1.05;
  margin-bottom: 4px;
  overflow-wrap: normal;
  word-break: normal;
}

.result-label {
  font-size: var(--fs-small);
  color: #6b7280;
  line-height: 1.45;
  max-width: 18ch;
  margin-inline: auto;
  overflow-wrap: break-word;
}

/* Tech stack grid */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.tech-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  transition:
    border-color var(--transition-base),
    color var(--transition-base),
    background-color var(--transition-base);
}

.customer-case-page .tech-item {
  background: rgba(255, 255, 255, 0.68);
  border-color: #d8dde7;
  color: #4b5563;
}

.tech-item:hover {
  border-color: var(--blue-accent);
  color: var(--white);
}

.customer-case-page .tech-item:hover {
  border-color: var(--case-color, var(--blue-accent));
  color: #111827;
  background: #fff;
}

.tech-item svg {
  width: 18px;
  height: 18px;
  color: var(--blue-accent);
  flex-shrink: 0;
}

/* Case quote */
.case-quote-section {
  padding: var(--space-4xl) 0;
  text-align: center;
}

.case-quote {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: var(--fw-medium);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.case-quote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--blue-accent);
  opacity: 0.2;
  position: absolute;
  top: -2rem;
  left: -1rem;
  line-height: 1;
  font-style: normal;
}

.case-quote-author {
  font-weight: var(--fw-semibold);
  color: var(--white);
}

.customer-case-page .case-quote-author {
  color: #111827;
}

.case-quote-role {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* Next case navigation */
.next-case {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--dark-border);
  gap: var(--space-xl);
}

.customer-case-page .next-case {
  border-top-color: #d8dde7;
}

.next-case-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.next-case-title {
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--white);
  transition: color var(--transition-base);
}

.next-case a:hover .next-case-title {
  color: var(--blue-accent);
}

.customer-case-page .next-case a:hover .next-case-title {
  color: var(--case-color, var(--blue-accent));
}

.next-case-arrow {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  color: var(--text-secondary);
  flex-shrink: 0;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base);
}

.customer-case-page .next-case-arrow {
  background: #fff;
  border-color: #d8dde7;
  color: #4b5563;
}

.next-case a:hover .next-case-arrow {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
}

.customer-case-page .next-case a:hover .next-case-arrow {
  background: var(--case-color, var(--blue-primary));
  border-color: var(--case-color, var(--blue-primary));
  color: #fff;
}

/* ----- KLANTEN OVERVIEW PAGE ----- */
.cases-filter-tabs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.filter-tab {
  padding: 8px 20px;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-full);
  background: transparent;
  transition:
    color var(--transition-base),
    border-color var(--transition-base),
    background-color var(--transition-base);
}

.filter-tab:hover,
.filter-tab.active {
  color: var(--white);
  border-color: var(--blue-accent);
  background: rgba(37, 99, 235, 0.1);
}

/* Featured case card (large) */
.featured-case {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  margin-bottom: var(--space-3xl);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.featured-case:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

/* Small delivery year, bottom-right of each case card. */
.featured-case-year {
  position: absolute;
  right: var(--space-lg);
  bottom: var(--space-md);
  z-index: 2;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  /* Match the "Bekijk volledige case" button (.btn-blue). */
  color: var(--white);
  background: var(--blue-primary);
  border: 1px solid var(--blue-primary);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  box-shadow: 0 4px 16px var(--blue-glow);
  pointer-events: none;
}

.featured-case-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}

.featured-case-mockup {
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.featured-case-content {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-case-content h3 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.featured-case-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.featured-case-preview {
  width: min(100%, 560px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--dark-border);
  box-shadow: var(--shadow-md);
}

/* Scroll-through screenshot frame (klanten cases).
   A tall website screenshot sits in a fixed-height frame; on hover OR when the
   card is auto-centered in the viewport (.is-active, set in JS) the image glides
   from top to bottom, "scrolling" through the page.

   Motion is done with transform: translateY (GPU-composited) instead of
   object-position, so it stays buttery-smooth on very large screenshots. The
   image keeps a transition on transform, so when the card becomes inactive it
   eases smoothly BACK to the top instead of snapping. --scroll-distance and
   --scroll-duration are set per image in JS so every shot scrolls at one calm,
   constant speed. */
.featured-case-mockup {
  width: 100%;
}

.featured-case .project-capture {
  position: relative;
  display: block;
  width: min(100%, 560px);
  height: clamp(240px, 30vw, 320px);
  margin: 0 auto;
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--dark-border);
  background: #0f172a;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.featured-case .project-capture img {
  display: block;
  width: 100%;
  height: auto;              /* full natural height; we slide it within the frame */
  border-radius: inherit;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}
/* The scroll-through motion (glide down while active, smooth ease back when
   inactive) is driven in JS with the Web Animations API — see the script in
   klanten. WAAPI keeps it GPU-composited and lets the return cleanly
   reverse from wherever the glide was, with no transition/animation handoff
   jank. */

.featured-case-mockup .mockup-mobile {
  right: 1%;
  bottom: -6%;
  width: 24%;
}

.featured-metrics {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.featured-metric {
  text-align: center;
}

.featured-metric-value {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: var(--fw-extrabold);
  color: var(--white);
}

.featured-metric-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Cases overview grid (2-col) */
.cases-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.case-overview-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.case-overview-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-overview-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--dark-border);
}

.case-overview-body {
  padding: var(--space-xl);
}

.case-overview-body h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.case-overview-body p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.case-overview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-overview-tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

/* Responsive case pages */
@media (max-width: 1024px) {
  .case-hero-inner { flex-direction: column; }
  .customer-case-page .case-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .customer-case-page .case-hero-text,
  .customer-case-page .case-hero-brand {
    justify-self: center;
  }
  .customer-case-page .case-kpi-row,
  .customer-case-page .case-pill-row,
  .customer-case-page .case-tag-row {
    justify-content: center;
  }
  .case-hero-logo-shell {
    min-height: 220px;
  }
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .result-value {
    font-size: 1.85rem;
  }
  .featured-case-inner { grid-template-columns: 1fr; }
  .cases-overview-grid { grid-template-columns: 1fr; }
  .mockup-mobile { right: 2%; bottom: -4%; }
  .case-card-mockup .mockup-mobile { right: -2%; bottom: -6%; }
}

@media (max-width: 768px) {
  .customer-case-page .case-hero {
    padding-bottom: calc(var(--space-5xl) + 88px);
  }
  .case-kpi-row { gap: var(--space-md); }
  .case-kpi { min-width: 100px; padding: var(--space-sm) var(--space-md); }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .result-card:nth-child(n) {
    margin-top: 0;
  }
  .mockup-desktop { width: 100%; }
  .mockup-mobile { width: 28%; right: 0; bottom: -6%; }
  .case-card-mockup .device-mockup-wrapper { width: 92%; }
  .case-card-mockup .mockup-mobile { width: 32%; right: -1%; bottom: -5%; }
  .case-browser-capture { height: clamp(260px, 88vw, 440px); }
  .case-browser-url { font-size: 0.68rem; }
  .case-timeline-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .next-case { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .results-grid { grid-template-columns: 1fr; }
  .case-kpi-row { flex-direction: column; align-items: stretch; }
  .customer-case-page .case-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
  }
  .customer-case-page .case-kpi {
    min-width: 0;
    padding: 12px 8px;
  }
  .customer-case-page .case-kpi-value {
    font-size: clamp(0.95rem, 4.4vw, 1.12rem);
  }
  .customer-case-page .case-kpi-label {
    font-size: 0.62rem;
    line-height: 1.25;
    overflow-wrap: break-word;
  }
  .case-tag-row span,
  .case-pill-row span { min-height: 30px; }
  .result-value { font-size: 1.75rem; }
}

/* ----- UTILITY ----- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.w-100 { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ─── BLOG LISTING (blog) ─────────────────────────────────── */
.blog-hero {
  padding: calc(var(--navbar-height, 80px) + 4rem) 0 4rem;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--dark-border);
}

.blog-eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--orange-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.blog-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--blue-primary);
  transform: translateY(-4px);
}

.blog-card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--dark-surface);
}

.blog-card-cover-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}

.blog-card-body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.blog-card-category {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--blue-accent);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-full);
  padding: 2px 10px;
  white-space: nowrap;
}

.blog-card-date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.blog-card-readtime {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-left: auto;
}

.blog-card-title {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.blog-card-summary {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-lg);
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--blue-accent);
  transition: gap var(--transition-fast);
}

.blog-card-link:hover { gap: var(--space-sm); }

/* ─── BLOG ARTIKEL PAGINA ───────────────────────────────────────── */
.blog-article-hero {
  padding: calc(var(--navbar-height, 80px) + 3rem) 0 3rem;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--dark-border);
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.blog-article-category {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--orange-accent);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-article-date,
.blog-article-readtime {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.blog-article-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--fw-black);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.blog-article-intro {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
}

.blog-article-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--dark-border);
  margin: var(--space-3xl) 0;
}

.blog-article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--container-padding, 1.5rem);
}

.blog-article-body p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.blog-article-body h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
}

.blog-article-body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.blog-article-body blockquote {
  border-left: 3px solid var(--orange-accent);
  margin: var(--space-2xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: var(--dark-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-primary);
  font-size: var(--fs-lg);
  line-height: 1.6;
}

.blog-highlights {
  list-style: none;
  padding: 0;
  margin: var(--space-xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.blog-highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

.blog-highlights li::before {
  content: "→";
  color: var(--orange-accent);
  font-family: var(--ff-mono);
  flex-shrink: 0;
  margin-top: 1px;
}

.blog-article-footer-notes {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--dark-border);
}

.blog-article-footer-notes p {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.blog-related {
  background: var(--dark-surface);
  padding: var(--space-4xl) 0;
  border-top: 1px solid var(--dark-border);
}

/* Klantenpagina sticky hero background */
body#top.klanten-page {
  color: var(--white);
  background-color: hsl(231, 68%, 21%);
  background-image:
    url("../img/hero-bg-bottom.png"),
    url("../img/hero-bg.png"),
    linear-gradient(90deg, hsl(231, 68%, 21%) 0%, hsl(275, 54%, 33%) 51%, hsl(231, 68%, 21%) 100%);
  background-attachment: fixed, fixed, fixed;
  background-position:
    -280px calc(100% + 8px),
    center calc(100% + 4px),
    center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover;
}

/* Scrollbar verbergen op de klanten-pagina (scrollen blijft werken).
   Op html zetten zodat Safari de hoofd-scrollbar ook meepakt. */
html:has(body.klanten-page) {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE en Edge */
}

html:has(body.klanten-page)::-webkit-scrollbar {
  display: none;                /* Chrome, Safari en Opera */
}

body#top.klanten-page main {
  position: relative;
  z-index: 0;
}

body#top.klanten-page main > .section {
  background: transparent;
}

body#top.klanten-page .case-hero {
  background: transparent;
  display: grid;
  align-items: center;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: var(--space-4xl);
}

body#top.klanten-page .case-hero::before,
body#top.klanten-page .case-hero::after {
  content: none;
}

body#top.klanten-page .case-hero > .container {
  position: relative;
  z-index: 1;
}

body#top.klanten-page .case-hero .section-label {
  color: #fdae61;
}

body#top.klanten-page .case-hero .display,
body#top.klanten-page .case-hero h1 {
  color: var(--white);
}

body#top.klanten-page .case-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.84);
}

body#top.klanten-page .case-hero .filter-tab {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

body#top.klanten-page .case-hero .filter-tab:hover,
body#top.klanten-page .case-hero .filter-tab.active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

body#top.klanten-page .featured-case {
  background: rgba(240, 240, 240, 0.96);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 28px 70px rgba(3, 7, 30, 0.28);
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

body#top.klanten-page .featured-case:hover {
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 34px 90px rgba(3, 7, 30, 0.34);
}

body#top.klanten-page .featured-case-content h3,
body#top.klanten-page .featured-metric-value {
  color: var(--text-dark);
}

body#top.klanten-page .featured-case-content p,
body#top.klanten-page .featured-metric-label {
  color: #4b5563;
}

body#top.klanten-page .featured-case-mockup {
  background: rgba(255, 255, 255, 0.42) !important;
}

body#top.klanten-page .featured-case-inner,
body#top.klanten-page .featured-case-content {
  background: transparent;
}

body#top.klanten-page .featured-case-preview {
  border-color: rgba(17, 24, 39, 0.12);
}

body#top.klanten-page .featured-case .project-capture {
  border-color: rgba(17, 24, 39, 0.12);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(3, 7, 30, 0.18);
}

/* Honour reduced-motion: keep the screenshot static at the top, no glide. */
@media (prefers-reduced-motion: reduce) {
  .featured-case .project-capture img {
    transition: none;
  }
  .featured-case:hover .project-capture img,
  .featured-case:focus-visible .project-capture img,
  .featured-case.is-active .project-capture img {
    object-position: 50% 0%;
  }
}

body#top.klanten-page .cta-title {
  color: var(--white);
}

body#top.klanten-page .cta-subtitle {
  color: rgba(255, 255, 255, 0.76);
}

body#top.klanten-page .cta-section {
  background: transparent;
  /* Pull the card up and keep the gap below it (to the footer) equal to the
     gap above it, instead of the default large --space-5xl on both sides. */
  padding: var(--space-3xl) 0;
}

body#top.klanten-page .cta-section::before {
  width: 220px;
  height: 220px;
  filter: blur(34px);
  opacity: 0.65;
}

body#top.klanten-page .cta-card {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
  body#top.klanten-page .cta-card {
    padding: var(--space-2xl) var(--space-lg);
  }
}
