/* ============================================================
   LEON SOLUTIONS — Global Styles
   Premium dark theme with fullscreen video background
   ============================================================ */

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

:root {
  /* COLORS */
  --color-bg: #000000;
  --color-bg-alt: #0c0c0e;
  --color-surface: #121214;
  --color-card: rgba(25, 25, 28, 0.7);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.16);
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.65);
  --color-text-subtle: rgba(255, 255, 255, 0.4);

  /* TYPOGRAPHY & SPACING BASE */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease-premium: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* ============================================================
     MASTER DESIGN RULE:
     All sizes are based on a 1440px desktop baseline.
     Use rem for sizing to maintain fluid scaling across devices.
     1rem = 10px at 1440px width.
     ============================================================ */
  --header-height: 8rem;
  --container-max: 140rem;
  --section-padding: 12rem;
  --gutter: 4.8rem;
}

html {
  /* Fluid base font size with stable bounds: 10px at 1440px wide */
  font-size: clamp(9px, 0.6944vw, 12px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 1024px) {
  html {
    font-size: 10px;
    /* Locked for tablet */
  }
}

@media (max-width: 768px) {
  html {
    font-size: 10px;
    /* Locked for mobile */
  }
}

html {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 1.6rem;
  margin: 0;
  padding: 0;
  overscroll-behavior-y: none;
  /* The tight stop effect you liked */
  -webkit-overflow-scrolling: touch;
  /* Smooth momentum scroll on iOS */
}

/* ============================================================
   FULLSCREEN VIDEO BACKGROUND
   ============================================================ */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  /* Stable viewport height — ignores mobile browser chrome changes */
  z-index: -1;
  overflow: hidden;
  background: #000;
}

/* On mobile, extend the video layer beyond viewport to prevent
   black gaps during fast/momentum scrolling. The GPU compositing
   on iOS/Android can lag behind for fixed elements; extra coverage
   ensures no background bleed-through during repaint. */
@media (max-width: 768px) {
  .video-bg {
    top: -5vh;
    left: -1vw;
    width: 102vw;
    height: 120vh;
    height: 120svh;
    transform: translateZ(0);
    /* Force own compositing layer */
  }
}

.video-bg__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  image-rendering: auto;
  will-change: transform;
  transform: translateZ(0);
}

/* On mobile, remove will-change to reduce GPU compositing layers.
   The video is static and doesn't need its own layer constantly. */
@media (max-width: 768px) {
  .video-bg__video {
    will-change: auto;
  }
}

.video-bg__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center,
      transparent 0%,
      rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding-top: 15px;
}

.site-header.visible {
  opacity: 1;
  pointer-events: all !important;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 var(--gutter);
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 2rem;
  pointer-events: all;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.8rem;
  padding: 0 3.2rem;
  height: 4.4rem;
  min-width: 40rem;
  background: linear-gradient(165deg,
      rgba(35, 35, 40, 0.22) 0%,
      rgba(20, 20, 25, 0.3) 50%,
      rgba(10, 10, 15, 0.38) 100%);
  backdrop-filter: blur(1.6rem) saturate(1.2);
  -webkit-backdrop-filter: blur(1.6rem) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
  transition: all 0.3s var(--ease-premium);
}

/* Header bars hover effect removed to prevent them from turning light */


.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-premium);
}

.nav-link:hover {
  color: var(--color-text);
}

.header-brand {
  padding: 0 2rem;
  z-index: 20;
  transform: translateY(1.2rem);
}

.header-logo-img {
  height: 4.5rem;
  width: auto;
  aspect-ratio: auto;
  object-fit: contain;
  opacity: 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  /* Restored to desktop original */
  background: transparent;
  contain: layout style;
}

.hero-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}

.hero-word {
  width: 90vw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3vw;
}

.logo-part {
  height: 35vw;
  width: auto;
  aspect-ratio: auto;
  object-fit: contain;
  z-index: 10;
}

/* ============================================================
   CONTENT SECTION — Reference layout with overlapping cards
   ============================================================ */
.content-section {
  position: relative;
  z-index: 10;
  padding: 10rem var(--gutter) var(--section-padding) var(--gutter);
  background: transparent;
  min-height: 100vh;
}

.content-layout {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  min-height: 80vh;
  margin-bottom: 100vh;
}

/* Large semi-transparent heading — fills the viewport width */
.big-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 17vw;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.85;
  color: #ffffff;
  opacity: 0.15;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.big-heading__part {
  display: inline-block;
}

/* Cards sit on top of the heading, overlapping it */
.overlap-cards {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: -11.5vw;
  position: relative;
  z-index: 2;
}

.overlap-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding-top: 1.8vw;
}

.overlap-right {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.overlap-intro {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 42rem;
  margin-top: 0.8rem;
}

/* Glass cards */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(3rem) saturate(1.3);
  -webkit-backdrop-filter: blur(3rem) saturate(1.3);
  border: 0.1rem solid rgba(255, 255, 255, 0.1);
  border-radius: 1.6rem;
  padding: 2.8rem 3rem;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.4);
  transition:
    background 0.4s var(--ease-premium),
    border-color 0.4s var(--ease-premium),
    box-shadow 0.4s var(--ease-premium),
    backdrop-filter 0.4s var(--ease-premium),
    transform 0.4s var(--ease-premium);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-0.5rem);
  box-shadow: 0 4.5rem 10rem rgba(0, 0, 0, 0.55);
}

.glass-card--large {
  max-width: 48rem;
  width: 100%;
}

.glass-card__label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

#card-expert .glass-card__label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

#card-expert .glass-card__label::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  background-color: var(--color-text-subtle);
  border-radius: 50%;
}

.glass-card__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.glass-card__body {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Service pills */
.service-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-row__label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-text-subtle);
  text-transform: uppercase;
}

.service-pills {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.pill {
  background: rgba(255, 255, 255, 0.03);
  border: 0.1rem solid rgba(255, 255, 255, 0.1);
  border-radius: 10rem;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-premium);
  cursor: default;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-text);
}

/* Process label */
.process-label {
  position: absolute;
  top: 10rem;
  left: 4rem;
  z-index: 10;
  text-align: left;
  pointer-events: none;
}

.process-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 8rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: #ffffff;
  opacity: 0.15;
  margin-bottom: 0.6rem;
}

.process-sub {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #ffffff;
  opacity: 0.15;
  text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 1200px) {

  .nav-left,
  .nav-right {
    min-width: 32rem;
    gap: 2.4rem;
    padding: 0 2.4rem;
  }
}

@media (max-width: 1024px) {
  .overlap-cards {
    flex-direction: column;
    margin-top: 5rem;
    gap: 4rem;
  }

  .overlap-right {
    justify-content: flex-start;
  }

  .glass-card--large {
    max-width: 100%;
  }

  .big-heading {
    font-size: 20vw;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100vh !important;
    /* Ensure complete fullscreen fold on mobile screens only */
    height: 100svh !important;
    /* Stable viewport height — prevents resize jitter from browser chrome */
  }

  /* === Anti-FOUC: Hide GSAP-animated elements in CSS before JS runs === */
  .big-heading__part--1,
  .big-heading__part--2,
  .overlap-left>*,
  .overlap-right>* {
    opacity: 0;
  }

  .site-header {
    height: 7rem;
  }

  .header-nav {
    justify-content: space-between;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .header-brand {
    transform: translateY(0);
  }

  .header-logo-img {
    height: 3.6rem;
  }

  .content-section {
    padding: 7.5rem 2.4rem 8rem 2.4rem;
  }

  .big-heading {
    font-size: 11vw !important;
    /* Premium chique scaling to fit mobile screens perfectly */
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
    opacity: 0.12 !important;
  }

  .big-heading br {
    display: none !important;
    /* Flow SLIMME GROEI on a single line on mobile */
  }

  .big-heading__part {
    margin: 0 0.5rem !important;
  }

  .overlap-cards {
    flex-direction: column !important;
    margin-top: 1rem !important;
    gap: 2rem !important;
    width: 100% !important;
  }

  .overlap-left {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    gap: 1.8rem !important;
    padding-top: 0 !important;
  }

  .overlap-intro {
    max-width: 100% !important;
    font-size: 1.3rem !important;
    line-height: 1.7 !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .overlap-intro br {
    display: none !important;
    /* Hide line breaks to make text flow naturally on narrow screens */
  }

  .glass-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 2.4rem 2rem !important;
    /* Reduce heavy blur for mobile scroll performance */
    backdrop-filter: blur(1.2rem) saturate(1.1) !important;
    -webkit-backdrop-filter: blur(1.2rem) saturate(1.1) !important;
  }

  .service-pills {
    justify-content: center !important;
    gap: 0.8rem !important;
    width: 100% !important;
  }

  /* Reduce backdrop-filter on mobile for nav bars (already hidden, but just in case) */
  .nav-left,
  .nav-right {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Lighter blur on timeline indicators for mobile performance */
  .timeline-indicator-dynamic {
    backdrop-filter: blur(1rem) !important;
    -webkit-backdrop-filter: blur(1rem) !important;
  }

  /* Lighter blur on CTA buttons for mobile performance */
  .cta-button {
    backdrop-filter: blur(0.8rem) !important;
    -webkit-backdrop-filter: blur(0.8rem) !important;
  }

  /* Lighter blur on solution card inners for mobile performance */
  .solution-card__inner {
    backdrop-filter: blur(1rem) saturate(1.1) !important;
    -webkit-backdrop-filter: blur(1rem) saturate(1.1) !important;
    will-change: auto !important;
    /* Reduce compositing layers */
  }

  /* === MOBILE RENDERING STABILITY — Prevent black gaps === */

  /* Remove unnecessary will-change to reduce GPU compositing layers */
  .solution-card {
    will-change: auto !important;
  }

  .gateway-content {
    will-change: auto !important;
  }

  .scroll-loader-bar {
    will-change: auto !important;
  }

  .timeline-indicator-dynamic {
    will-change: auto !important;
  }

  /* Ensure timeline and cases gateway use stable viewport units */
  .timeline-container {
    height: 100svh;
  }

  .cases-gateway {
    height: 100svh;
  }

  /* Remove the overlay radial gradient on mobile — it creates an
     extra compositing layer with alpha blending on every frame */
  .video-bg__overlay {
    background: none !important;
    display: none;
  }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 0.6rem;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.3rem;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   PROCESS TIMELINE ANIMATION
   ============================================================ */
.timeline-container {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  margin-bottom: 40vh;
  height: 100vh;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 40rem;
  /* Constrain the height of the curve */
  transform: translateY(-50%);
  z-index: 1;
  /* Back behind the stations */
  pointer-events: none;
}

.timeline-path {
  stroke: rgba(255, 255, 255, 0.25);
  /* More visible stroke */
  stroke-width: 1.5;
  stroke-linecap: round;
  /* Rounded corners/ends */
}

.timeline-indicator-dynamic {
  position: absolute;
  top: 0;
  left: 0;
  width: 7rem;
  height: 7rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(3rem) saturate(1.3);
  -webkit-backdrop-filter: blur(3rem) saturate(1.3);
  border: 0.1rem solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  z-index: 5;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.timeline-steps {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.timeline-step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
}

.step-content {
  max-width: 90rem;
  padding: 5rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 9.5rem;
  will-change: transform, opacity;
  background: transparent;
  height: 32.5rem;
  /* Forces identical container height so that all step titles align perfectly on the same vertical line */
}

.step-title {
  font-family: "Montserrat", sans-serif;
  font-size: 4.2rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 10rem;
  text-transform: uppercase;
  line-height: 1;
}

.step-text {
  font-size: 1.6rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
  max-width: 60rem;
  margin: 0 auto;
  text-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.2);
}

/* Step 6 — aanpak button (zelfde typografie als step-title) */
.step-link-btn {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 4.2rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s ease, letter-spacing 0.3s ease;
  cursor: pointer;
}

.step-link-btn::after {
  content: "";
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  width: 100%;
  height: 0.15rem;
  background: rgba(255, 255, 255, 0.4);
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background 0.3s ease;
}

.step-link-btn:hover {
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.step-link-btn:hover::after {
  transform: scaleX(1);
  background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .step-link-btn {
    font-size: 2.8rem;
  }

  .step-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    /* Reduced to allow layout breathing room */
  }

  .timeline-container {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    overflow: hidden;
  }

  .timeline-svg {
    top: 35% !important;
    /* Lowered curve to sit chiquely close to the text */
    transform: translateY(-50%) !important;
    height: 15rem !important;
    /* Flatten the curve vertical span */
    width: 100% !important;
  }

  .timeline-step {
    justify-content: flex-end !important;
    /* Push text to the bottom area to avoid overlapping the indicator */
    padding-bottom: 19rem !important;
    /* Increased padding to push text beautifully higher up, closer to the curve */
  }

  .step-content {
    padding: 2rem;
    margin-top: 0 !important;
    height: auto !important;
    /* Reset fixed height on mobile so content does not get clipped */
  }

  .process-label {
    left: 0 !important;
    top: 7.5rem !important;
    /* Pushed lower to fully clear the top-left LEON header logo */
    width: 100% !important;
    text-align: center !important;
  }

  .process-heading {
    font-size: 4rem !important;
    /* Scaled down beautifully for mobile */
  }

  .process-sub {
    font-size: 0.8rem !important;
    letter-spacing: 0.25em !important;
  }

  .solutions-heading {
    font-size: 11vw !important;
    /* Matches intro and footer headings perfectly */
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
    opacity: 0.2;
    /* Removed !important to allow GSAP scroll-trigger to animate it to solid white */
  }
}

/* ============================================================
   STEP PROGRESS INDICATOR
   ============================================================ */
.step-progress-indicator {
  position: absolute;
  bottom: 6rem;
  right: 12rem;
  display: flex;
  gap: 0.8rem;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
}

.progress-slash {
  width: 0.8rem;
  height: 1.6rem;
  background-color: rgba(255, 255, 255, 0.15);
  transform: skewX(-25deg);
  border-radius: 0;
  opacity: 1;
  will-change: background-color;
  transition: background-color 0.4s var(--ease-premium);
}

@media (max-width: 768px) {
  .step-progress-indicator {
    bottom: 3rem;
    right: 3rem;
  }
}

/* ============================================================
   CTA BUTTON (Global Component)
   ============================================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 3.6rem;
  border-radius: 10rem;
  background: rgba(255, 255, 255, 0.06);
  border: 0.1rem solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(1.6rem);
  -webkit-backdrop-filter: blur(1.6rem);
  box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-family: var(--font-primary), sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
  text-decoration: none;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.4);
}

.cta-button svg {
  transition: transform 0.4s ease;
}

.cta-button:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .cta-button {
    padding: 1.6rem 3.2rem;
    font-size: 1.1rem;
  }
}

/* ============================================================
   CASES GATEWAY SECTION
   ============================================================ */
.cases-gateway {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 15;
  background: transparent;
}

.gateway-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
  will-change: transform, opacity;
}

.scroll-loader-container {
  width: 16rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.scroll-loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  box-shadow: 0 0 8px #ffffff;
}

/* ============================================================
   SOLUTIONS SECTION
   ============================================================ */
.solutions-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 16rem 0 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.solutions-header {
  text-align: left;
  margin-bottom: 10rem;
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--gutter);
}

.solutions-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 12rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.9;
  color: #ffffff;
  opacity: 0.2;
  margin-bottom: 1.2rem;
}

.solutions-sub {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  opacity: 0.8;
}

/* The deck: cards overlap each other like a fanned-out hand */
.solutions-deck {
  position: relative;
  width: 100%;
  max-width: 120rem;
  height: 58rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Individual solution card */
.solution-card {
  position: absolute;
  width: 42rem;
  height: 52rem;
  cursor: pointer;
  will-change: transform, opacity;
  transition: opacity 0.5s ease-out;
}

/* Dim all cards when solutions-deck is hovered, except active card */
.solutions-deck:hover .solution-card {
  opacity: 0.45 !important;
}
.solutions-deck:hover .solution-card:hover {
  opacity: 1 !important;
  z-index: 10 !important;
}

/* GPU-Composited Floating Keyframes */
@keyframes floatCard0 {
  0%, 100% { transform: translateY(0px) rotate(-4deg); }
  50% { transform: translateY(-6px) rotate(-4deg); }
}
@keyframes floatCard1 {
  0%, 100% { transform: translateY(-20px) rotate(0deg); }
  50% { transform: translateY(-28px) rotate(0deg); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translateY(0px) rotate(4deg); }
  50% { transform: translateY(-6px) rotate(4deg); }
}

.solution-card[data-index="0"].is-floating {
  animation: floatCard0 7s ease-in-out infinite;
}
.solution-card[data-index="1"].is-floating {
  animation: floatCard1 8s ease-in-out infinite;
}
.solution-card[data-index="2"].is-floating {
  animation: floatCard2 7.5s ease-in-out infinite;
}

.solution-card:hover {
  animation-play-state: paused !important;
}

/* Stagger positioning: overlapping, fanned out */
.solution-card[data-index="0"] {
  left: calc(50% - 52rem);
  z-index: 1;
  transform: translateY(0px) rotate(-4deg);
}

.solution-card[data-index="1"] {
  left: calc(50% - 21rem);
  z-index: 2;
  transform: translateY(-20px) rotate(0deg);
}

.solution-card[data-index="2"] {
  left: calc(50% + 10rem);
  z-index: 3;
  transform: translateY(0px) rotate(4deg);
}

/* Inner card — the actual glassmorphism surface */
.solution-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 4.4rem 4rem;
  border-radius: 2.4rem;
  background:
    linear-gradient(165deg,
      rgba(35, 35, 40, 0.22) 0%,
      rgba(20, 20, 25, 0.3) 50%,
      rgba(10, 10, 15, 0.38) 100%);
  backdrop-filter: blur(1.6rem) saturate(1.2);
  -webkit-backdrop-filter: blur(1.6rem) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0.4rem 1.6rem rgba(0, 0, 0, 0.25),
    0 1.6rem 4.8rem rgba(0, 0, 0, 0.3),
    0 3.2rem 8rem rgba(0, 0, 0, 0.2),
    inset 0 0.1rem 0 rgba(255, 255, 255, 0.07),
    inset 0 -0.1rem 0 rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  will-change: transform;
  transform: perspective(1000px) translateY(var(--hover-y, 0px)) scale(var(--hover-scale, 1)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition:
    transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    background 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle top-edge highlight line */
.solution-card__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  opacity: 0.6;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    left 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

/* Ambient glow layer — hidden by default, revealed on hover */
.solution-card__inner::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 40%,
      transparent 60%,
      rgba(255, 255, 255, 0.04) 100%);
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

/* Mouse-following shine / light reflection overlay */
.solution-card__shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(255, 255, 255, 0.08),
      transparent 40%);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  mix-blend-mode: soft-light;
}

/* Number — large background element */
.solution-card__number {
  font-family: "Montserrat", sans-serif;
  font-size: 140px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: -20px;
  right: -10px;
  pointer-events: none;
  transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

/* Content */
.solution-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Aligned from top for consistency */
  padding-top: 130px;
  /* Aligns all card titles at the same height */
  position: relative;
  z-index: 3;
}

.solution-card__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  margin-bottom: 16px;
  transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    letter-spacing 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card__title {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  transition: text-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card__body {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tags */
.solution-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  /* Push tags to the bottom of the card */
}

.solution-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 9px;
  font-weight: 500;
  color: var(--color-text-subtle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Arrow icon */
.solution-card__arrow {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-subtle);
  transition: border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
}

/* ============================================================
   SOLUTION CARD HOVER STATES — Ultra-Premium 3D
   Filter/opacity/transform on .solution-card handled by GSAP.
   CSS handles inner visual transitions only (background, glow, text).
   ============================================================ */

/* Card inner: stronger glass, deeper shadow, edge glow */
.solutions-deck .solution-card:hover .solution-card__inner {
  --hover-y: -20px;
  --hover-scale: 1.03;
  background:
    linear-gradient(165deg,
      rgba(30, 30, 38, 0.75) 0%,
      rgba(15, 15, 22, 0.85) 50%,
      rgba(8, 8, 12, 0.9) 100%);
  backdrop-filter: blur(2.4rem) saturate(1.4);
  -webkit-backdrop-filter: blur(2.4rem) saturate(1.4);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 32px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

/* Top highlight becomes brighter/wider on hover */
.solutions-deck .solution-card:hover .solution-card__inner::before {
  opacity: 1;
  left: 5%;
  right: 5%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.35),
      transparent);
}

/* Ambient glow layer becomes visible */
.solutions-deck .solution-card:hover .solution-card__inner::after {
  opacity: 1;
}

/* Number watermark brightens subtly */
.solutions-deck .solution-card:hover .solution-card__number {
  color: rgba(255, 255, 255, 0.07);
}

/* Label gets brighter */
.solutions-deck .solution-card:hover .solution-card__label {
  color: var(--color-text-muted);
  letter-spacing: 0.3em;
}

/* Title gets a glow */
.solutions-deck .solution-card:hover .solution-card__title {
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.08);
}

/* Body text becomes more readable */
.solutions-deck .solution-card:hover .solution-card__body {
  color: rgba(255, 255, 255, 0.8);
}

/* Tags light up */
.solutions-deck .solution-card:hover .solution-tag {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.06);
}

/* Arrow gets a premium lift */
.solutions-deck .solution-card:hover .solution-card__arrow {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.08);
  transform: translate(3px, -3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   SOLUTIONS — RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .solutions-deck {
    height: auto;
    flex-direction: column;
    gap: 2.4rem;
    padding: 0 3.2rem;
  }

  .solution-card {
    position: relative !important;
    left: auto !important;
    width: 100% !important;
    max-width: 48rem;
    height: auto !important;
  }

  .solution-card[data-index="0"],
  .solution-card[data-index="1"],
  .solution-card[data-index="2"] {
    transform: none !important;
  }

  .solution-card__inner {
    height: auto;
    padding: 3.6rem 3.2rem;
  }

  .solution-card__number {
    font-size: 10rem;
    top: -1rem;
    right: 0;
  }

  .solutions-section {
    padding: 10rem 0 12rem;
  }

  .solutions-header {
    margin-bottom: 6rem;
  }
}

/* Locked Card Styles */
.solution-card--locked {
  cursor: default;
  /* Not clickable */
}

.solution-card--locked .solution-card__inner {
  background: linear-gradient(165deg,
      rgba(25, 25, 30, 0.25) 0%,
      rgba(15, 15, 20, 0.35) 50%,
      rgba(5, 5, 10, 0.45) 100%);
}

.solution-card--locked:hover .solution-card__inner {
  background: linear-gradient(165deg,
      rgba(30, 30, 38, 0.45) 0%,
      rgba(20, 20, 25, 0.55) 50%,
      rgba(10, 10, 15, 0.6) 100%);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.solution-card__lock {
  position: absolute;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 0.1rem solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-subtle);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
}

.solution-card--locked:hover .solution-card__lock {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-50%) scale(1.05);
}

/* Ensure locked cards don't show the hover-lift arrow or other active elements if any */
.solution-card--locked .solution-card__arrow {
  display: none;
}

@media (max-width: 600px) {
  .solutions-header {
    padding: 0 2.4rem;
  }

  .solutions-deck {
    padding: 0 2rem;
  }

  .solution-card__inner {
    padding: 2.8rem 2.4rem;
  }

  .solution-card__title {
    font-size: 2.2rem !important;
    /* Slightly smaller to prevent text wrapping/clipping on narrow screens */
    hyphens: none !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .solution-card__lock {
    top: 2.5rem !important;
    width: 3rem !important;
    height: 3rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .solution-card__number {
    font-size: 8rem;
  }
}

/* ============================================================
   FOOTER SECTION
   ============================================================ */
.site-footer {
  position: relative;
  width: 100%;
  padding: 20vh 0 0;
  /* Verhoogd van 100px naar 20vh voor extra ruimte boven de footer-tekst */
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  z-index: 10;
}

.footer-big-text-container {
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 6rem;
  pointer-events: none;
}

.footer-big-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 18rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.85;
  color: #ffffff;
  opacity: 0.45;
  text-align: center;
  margin: 0;
  padding: 0;
}

.footer-glass {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  background: linear-gradient(165deg,
      rgba(35, 35, 40, 0.22) 0%,
      rgba(20, 20, 25, 0.3) 50%,
      rgba(10, 10, 15, 0.38) 100%);
  backdrop-filter: blur(2.4rem) saturate(1.4);
  -webkit-backdrop-filter: blur(2.4rem) saturate(1.4);
  border-top: 0.1rem solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 8rem 10vw 4rem;
  box-shadow: 0 -1rem 4rem rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 6rem;
  justify-content: space-between;
}

.footer-left {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
}

.footer-logo {
  height: 4rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 2rem;
}

.footer-desc {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.footer-links-container {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  transition: color 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
}

.footer-link:hover {
  color: var(--color-text);
  transform: translateX(0.4rem);
}

.footer-bottom {
  width: 100%;
  margin-top: 4rem;
  padding-top: 2.4rem;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 1.2rem;
  color: var(--color-text-subtle);
}

@media (max-width: 1024px) {
  .footer-glass {
    padding: 4rem;
    gap: 4rem;
  }

  .footer-links-container {
    justify-content: flex-start;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 6rem 2.4rem 2.4rem;
  }

  .footer-glass {
    padding: 3.2rem 2.4rem;
    flex-direction: column;
    gap: 4.8rem;
    /* Lighter blur for mobile scroll performance */
    backdrop-filter: blur(1.2rem) saturate(1.1);
    -webkit-backdrop-filter: blur(1.2rem) saturate(1.1);
  }

  .footer-links-container {
    flex-direction: column;
    gap: 3.2rem;
  }

  .footer-big-heading {
    font-size: 11vw !important;
    /* Premium chique scaling to match intro heading size */
    margin-bottom: 2rem !important;
  }

  /* Lighter blur on mobile nav overlay for performance */
  .mobile-nav-overlay {
    backdrop-filter: blur(1.5rem) saturate(1.2);
    -webkit-backdrop-filter: blur(1.5rem) saturate(1.2);
  }
}

/* ============================================================
   FOOTER ARROW STYLING
   ============================================================ */
.footer-arrow {
  position: absolute;
  right: 0%;
  top: 55%;
  transform: translateY(-50%);
  width: 27vw;
  max-width: 50rem;
  height: auto;
  z-index: -1;
  opacity: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 4rem rgba(100, 255, 150, 0.2));
  transition: opacity 0.5s ease, filter 0.5s ease;
}

@media (max-width: 768px) {
  .footer-arrow {
    width: 42vw;
    right: -5%;
    opacity: 0.8;
  }
}

/* ============================================================
   FOOTER CTA BUTTON STYLING
   ============================================================ */
.footer-cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8rem;
  z-index: 3;
  position: relative;
}

@media (max-width: 768px) {
  .footer-cta-container {
    margin-bottom: 5rem;
  }
}

/* ============================================================
   HOMEPAGE CTA BUTTONS — LARGE SIZE OVERRIDES
   ============================================================ */
/* Giant button in the footer ("Start jouw groei") */
.footer-cta-container .cta-button {
  padding: 2.2rem 5.6rem;
  font-size: 1.6rem;
  gap: 1.6rem;
}

.footer-cta-container .cta-button svg {
  width: 2.2rem;
  height: 2.2rem;
}

/* Medium-Large button in the cases section ("Ontdek onze impact") */
.cases-gateway .cta-button {
  padding: 1.9rem 4.6rem;
  font-size: 1.45rem;
  gap: 1.4rem;
}

.cases-gateway .cta-button svg {
  width: 2.0rem;
  height: 2.0rem;
}

@media (max-width: 768px) {

  .cases-gateway .cta-button,
  .footer-cta-container .cta-button {
    padding: 1.6rem 3.6rem;
    font-size: 1.3rem;
    gap: 1.2rem;
  }

  .cases-gateway .cta-button svg,
  .footer-cta-container .cta-button svg {
    width: 2rem;
    height: 2rem;
  }
}

/* ============================================================
   HAMBURGER MENU BUTTON — Alleen zichtbaar op mobiel
   ============================================================ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 4.4rem;
  height: 4.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  cursor: pointer;
  z-index: 10001;
  position: relative;
  transition: all 0.3s var(--ease-premium);
  -webkit-tap-highlight-color: transparent;
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.hamburger-btn span {
  display: block;
  width: 1.8rem;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1px;
  transition: all 0.3s var(--ease-premium);
  transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ============================================================
   MOBIEL NAV OVERLAY — Fullscreen glassmorphism menu
   ============================================================ */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(3rem) saturate(1.4);
  -webkit-backdrop-filter: blur(3rem) saturate(1.4);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-premium);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-overlay .mobile-nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-premium);
  padding: 1rem 2rem;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-overlay .mobile-nav-link:hover,
.mobile-nav-overlay .mobile-nav-link.nav-link--active {
  color: #ffffff;
}

.mobile-nav-overlay .mobile-nav-logo {
  height: 4rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ============================================================
   RESPONSIVE — 768px: Hamburger menu activeren
   ============================================================ */
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .mobile-nav-overlay {
    display: flex;
  }

  .header-nav {
    justify-content: space-between;
    padding: 0 2.4rem;
  }

  /* Content layout te veel whitespace op mobiel */
  .content-layout {
    margin-bottom: 40vh;
  }

  /* Footer bottom stacking */
  .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE — 480px: Standaard telefoons
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --gutter: 2rem;
    --section-padding: 8rem;
  }

  .site-header {
    height: 6rem;
    padding-top: 8px;
  }

  .header-logo-img {
    height: 3rem;
  }

  .header-brand {
    padding: 0 1rem;
  }

  .content-section {
    padding: 6rem 1.8rem 6rem 1.8rem;
  }

  .big-heading {
    font-size: 28vw;
  }

  .overlap-cards {
    gap: 3rem;
  }

  .glass-card {
    padding: 2.2rem 2.2rem;
  }

  .glass-card__title {
    font-size: 1.6rem;
  }

  .glass-card__body {
    font-size: 1.2rem;
  }

  .glass-card__label {
    font-size: 0.8rem;
  }

  .overlap-intro {
    font-size: 1.2rem;
  }

  .pill {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
  }

  /* Timeline */
  .step-title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }

  .step-text {
    font-size: 1.4rem;
  }

  .step-content {
    padding: 1.6rem;
    margin-top: 0 !important;
  }

  .step-link-btn {
    font-size: 2.4rem;
  }

  .process-label {
    left: 2rem;
    top: 8rem;
  }

  .step-progress-indicator {
    bottom: 2rem;
    right: 2rem;
  }

  /* Solutions op homepage */
  .solutions-section {
    padding: 8rem 0 8rem;
  }

  .solutions-heading {
    /* Fluid 11vw from 768px media query remains active to prevent horizontal screen clipping */
  }

  .solutions-header {
    margin-bottom: 4rem;
    padding: 0 2rem;
  }

  .solutions-deck {
    padding: 0 1.8rem;
  }

  .solution-card__inner {
    padding: 2.4rem 2rem;
  }

  .solution-card__title {
    font-size: 2.4rem;
  }

  .solution-card__body {
    font-size: 1.2rem;
  }

  .solution-card__number {
    font-size: 7rem;
  }

  .solution-card__content {
    padding-top: 10rem;
  }

  .solution-card__lock {
    top: 4rem;
  }

  /* CTA button */
  .cta-button {
    padding: 1.4rem 2.8rem;
    font-size: 1.1rem;
  }

  .cases-gateway .cta-button,
  .footer-cta-container .cta-button {
    padding: 1.4rem 3rem;
    font-size: 1.2rem;
  }

  /* Footer */
  .site-footer {
    padding: 4rem 1.8rem 2rem;
  }

  .footer-big-heading {
    /* Fluid 11vw from 768px media query remains active */
  }

  .footer-glass {
    padding: 2.8rem 2rem;
    gap: 3.6rem;
  }

  .footer-desc {
    font-size: 1.3rem;
  }

  .footer-link {
    font-size: 1.3rem;
  }

  .footer-cta-container {
    margin-bottom: 4rem;
  }

  .footer-arrow {
    width: 50vw;
    right: -8%;
    opacity: 0.6;
  }

  .content-layout {
    margin-bottom: 30vh;
  }

  .cases-gateway {
    height: 80vh;
  }

  /* Mobiel nav overlay verfijning */
  .mobile-nav-overlay .mobile-nav-link {
    font-size: 1.8rem;
    gap: 2.8rem;
  }

  .hamburger-btn {
    width: 4rem;
    height: 4rem;
  }
}

/* ============================================================
   RESPONSIVE — 375px: Kleine telefoons
   ============================================================ */
@media (max-width: 375px) {
  :root {
    --gutter: 1.6rem;
  }

  .content-section {
    padding: 5rem 1.6rem 5rem 1.6rem;
  }

  .big-heading {
    font-size: 30vw;
  }

  .glass-card {
    padding: 2rem 1.8rem;
    border-radius: 1.2rem;
  }

  .glass-card__title {
    font-size: 1.5rem;
  }

  .glass-card__body {
    font-size: 1.15rem;
  }

  .step-title {
    font-size: 2.0rem;
    margin-bottom: 1.5rem;
  }

  .step-text {
    font-size: 1.3rem;
  }

  .step-link-btn {
    font-size: 2.0rem;
  }

  .solutions-heading {
    /* Fluid 11vw from 768px media query remains active to prevent horizontal screen clipping */
  }

  .solution-card__title {
    font-size: 2.2rem;
  }

  .solution-card__number {
    font-size: 6rem;
  }

  .footer-big-heading {
    /* Fluid 11vw from 768px media query remains active */
  }

  .footer-glass {
    padding: 2.4rem 1.6rem;
  }

  .footer-links-container {
    gap: 2.4rem;
  }

  .mobile-nav-overlay .mobile-nav-link {
    font-size: 1.6rem;
  }
}