/* ============================================================
   LEON SOLUTIONS — Mobile (gedeeld voor alle pagina's)
   Alleen actief onder 768px. Desktop blijft 100% ongewijzigd.
   Laadt NA de pagina-specifieke CSS, dus overschrijft die.
   ============================================================ */

/* De tijdelijke blokkade-overlay mag nooit zichtbaar zijn */
.mobile-blocker-overlay {
  display: none !important;
}

/* Dots voor de mobiele Hero swipe-deck: standaard verborgen op desktop */
.hero-deck-dots {
  display: none;
}

@media (max-width: 768px) {

  /* ----------------------------------------------------------
     BASIS & PREVENTIE ZWARTE BALKEN (iOS SAFARI)
     ---------------------------------------------------------- */
  html,
  body {
    background-color: #d5d7de !important; /* Voorkomt zwarte flits of overscroll randen */
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Video achtergrond op mobiel: zilveren fallback achter de video */
  .video-bg {
    background: #d5d7de !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100lvh !important; /* Grootste viewport: geen strook als de Safari-balk wegschuift */
    min-height: 100% !important;
    transform: none !important;
  }

  .video-bg__video {
    height: 100% !important;
    min-height: 100% !important;
    background: #d5d7de;
  }

  /* Extra zekerheid: onderste randje nooit zwart */
  body::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: env(safe-area-inset-bottom, 0px);
    background: #d5d7de;
    z-index: -2;
    pointer-events: none;
  }

  /* Hero-intro (LEON-logo animatie) overslaan op mobiel */
  .hero,
  .hero-content {
    display: none !important;
  }

  /* Header: zachte zilverglazen balk die naadloos opgaat in Safari statusbalk */
  .site-header {
    padding-top: max(1.2rem, env(safe-area-inset-top)) !important;
    background: linear-gradient(180deg, rgba(213, 215, 222, 0.72) 0%, rgba(213, 215, 222, 0) 100%) !important;
    backdrop-filter: blur(1.2rem) !important;
    -webkit-backdrop-filter: blur(1.2rem) !important;
  }

  /* ----------------------------------------------------------
     HOME HERO — RICHTING B (Impact Poster + Gecentreerde Swipe-deck)
     1. "SLIMME GROEI" groot, onder elkaar, bold & typografisch
     2. Introductietekst over volle breedte, perfect leesbaar
     3. Swipe-deck: kaarten gecentreerd per stuk (geen afgeknipte woorden)
     4. Strakke swipe-dots (01 / 02 / 03) die meebewegen
     5. Scroll-indicator
     ---------------------------------------------------------- */
  .content-section {
    padding: max(7.5rem, calc(env(safe-area-inset-top) + 5.5rem)) 2rem 3rem 2rem !important;
    min-height: 0 !important;
  }

  .content-layout {
    position: relative;
    display: flex !important;
    flex-direction: column;
    min-height: auto !important;
    margin-bottom: 6vh !important;
  }

  /* Zachte lichtgloed achter de titel voor diepte */
  .content-layout::before {
    content: "";
    position: absolute;
    top: -4vw;
    left: -15vw;
    width: 130vw;
    height: 70vw;
    background: radial-gradient(ellipse at 45% 40%,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.1) 45%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  /* TITEL: "SLIMME GROEI" groot en onder elkaar */
  .big-heading {
    position: relative;
    z-index: 2;
    font-size: 19vw !important;
    line-height: 0.92 !important;
    text-align: left !important;
    margin: 0 0 1.2rem 0 !important;
    width: 100% !important;
    letter-spacing: -0.04em !important;
    font-weight: 900 !important;
    font-style: italic !important;
    opacity: 1 !important;
  }

  /* <br> tussen SLIMME en GROEI veroorzaakte een lege regel: weg ermee */
  .big-heading br {
    display: none !important;
  }

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

  /* SLIMME: massief helder wit */
  .big-heading__part--1 {
    display: block !important;
    color: #ffffff !important;
    text-shadow: 0 0.4rem 2.5rem rgba(0, 0, 0, 0.28);
  }

  /* GROEI: strak onder SLIMME, stijlvol semi-transparant wit */
  .big-heading__part--2 {
    display: block !important;
    text-align: left !important;
    color: rgba(255, 255, 255, 0.65) !important;
    text-shadow: 0 0.4rem 2.5rem rgba(0, 0, 0, 0.18);
    -webkit-text-fill-color: initial !important;
    background: none !important;
  }

  /* INTROTEKST: Volle breedte boven het swipe-deck */
  .overlap-intro {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1.6rem 0 !important;
    padding-top: 0 !important;
    text-align: left !important;
    font-size: 1.4rem !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.94) !important;
    text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.45);
    position: relative;
    z-index: 2;
  }

  .overlap-intro::before {
    content: "";
    display: block;
    width: 4rem;
    height: 0.2rem;
    margin-bottom: 1rem;
    background: #ffffff;
    box-shadow: 0 0 1rem rgba(255, 255, 255, 0.7);
  }

  .overlap-intro br {
    display: none !important;
  }

  /* SWIPE-DECK: Horizontale carrousel met snapping per kaart */
  .overlap-cards {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 1.2rem !important;
    width: auto !important;
    margin: 0 -2rem !important;
    padding: 0.2rem 2rem 0.4rem 2rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding: 0 2rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    z-index: 2;
  }

  .overlap-cards::-webkit-scrollbar {
    display: none !important;
  }

  .overlap-left,
  .overlap-right {
    display: contents !important;
  }

  /* Elke kaart heeft comfortabele schermvullende breedte en snap gecentreerd */
  #card-credentials,
  #card-expert,
  #card-services {
    flex: 0 0 calc(100vw - 4.4rem) !important;
    width: calc(100vw - 4.4rem) !important;
    max-width: calc(100vw - 4.4rem) !important;
    scroll-snap-align: center !important;
    position: relative !important;
    margin-top: 0 !important;
    box-sizing: border-box !important;
  }

  #card-credentials {
    order: 1 !important;
  }

  #card-expert {
    order: 2 !important;
  }

  #card-services {
    order: 3 !important;
  }

  /* Premium Glassmorphic Kaartontwerp */
  .overlap-cards .glass-card {
    padding: 2.2rem 2rem !important;
    background: rgba(18, 20, 26, 0.52) !important;
    border: 0.1rem solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 2rem !important;
    backdrop-filter: blur(2.5rem) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(2.5rem) saturate(1.4) !important;
    box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.38) !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  .overlap-cards .glass-card__label {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.25em !important;
    color: rgba(255, 255, 255, 0.75) !important;
    text-align: left !important;
    margin-bottom: 1rem !important;
  }

  .overlap-cards .glass-card__title {
    font-size: 2.1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
  }

  .overlap-cards .glass-card__body {
    font-size: 1.35rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.88) !important;
  }

  /* Slide 3: Pills card */
  #card-services {
    background: rgba(18, 20, 26, 0.52) !important;
    border: 0.1rem solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 2rem !important;
    padding: 2.6rem 2.2rem !important;
    backdrop-filter: blur(2.5rem) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(2.5rem) saturate(1.4) !important;
    box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.38) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  #card-services::before {
    content: "WAT WIJ DOEN";
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.75);
  }

  .card-services-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 1.4rem;
  }

  #card-services .service-pills {
    justify-content: flex-start !important;
    gap: 0.9rem !important;
    flex-wrap: wrap !important;
  }

  .pill {
    font-size: 1.1rem !important;
    padding: 0.85rem 1.6rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.26) !important;
    border-radius: 10rem !important;
  }

  /* SWIPE DOTS: Duidelijke visuele indicator onder de kaarten */
  .hero-deck-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin: 1.2rem 0 1rem 0;
    z-index: 2;
  }

  .deck-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
  }

  .deck-dot.active {
    width: 2.4rem;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 0 1.2rem rgba(255, 255, 255, 0.7);
  }

  /* Scroll-hint onderaan de hero */
  .content-layout::after {
    content: "SCROLL";
    margin-top: 1rem;
    align-self: center;
    padding-bottom: 3.4rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.45em;
    text-indent: 0.45em;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.35);
    background:
      linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) no-repeat center bottom / 0.1rem 2.2rem;
    animation: heroScrollHint 2.2s ease-in-out infinite;
  }

  @keyframes heroScrollHint {
    0%,
    100% {
      opacity: 0.55;
      transform: translateY(0);
    }
    50% {
      opacity: 1;
      transform: translateY(0.5rem);
    }
  }

  /* ----------------------------------------------------------
     "ONZE AANPAK" (TIMELINE) — TITEL LAGER & VLOEIENDERE ANIMATIE
     ---------------------------------------------------------- */
  .process-label {
    left: 0 !important;
    top: 13.5rem !important; /* Verlaagd zodat "ONZE AANPAK" ruim vrij staat van de header */
    width: 100% !important;
    text-align: center !important;
  }

  .process-heading {
    font-size: 3.8rem !important;
    letter-spacing: -0.03em !important;
    color: #ffffff !important;
    text-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.25) !important;
  }

  .process-sub {
    font-size: 0.85rem !important;
    letter-spacing: 0.25em !important;
    margin-top: 0.4rem !important;
    color: #ffffff !important;
    text-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.25) !important;
  }

  /* Aanpak: tekst onder de lijn hoger en beter leesbaar */
  .timeline-step {
    padding-bottom: 27rem !important;
  }

  .step-content {
    padding: 0 2.4rem !important;
    max-width: 100% !important;
  }

  .step-title {
    font-size: 2.6rem !important;
    margin-bottom: 1.2rem !important;
  }

  .step-text {
    font-size: 1.45rem !important;
    line-height: 1.55 !important;
    max-width: 34rem !important;
    opacity: 1 !important;
    color: #ffffff !important;
    text-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.45) !important;
  }

  .timeline-indicator-dynamic {
    width: 6rem !important;
    height: 6rem !important;
  }

  /* Hardware acceleratie voor ultiem soepele scroll op mobiel */
  .timeline-container,
  .timeline-step,
  .step-content,
  .timeline-indicator-dynamic,
  .timeline-svg {
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  /* Footer safe area inset */
  .site-footer {
    padding-bottom: max(3rem, env(safe-area-inset-bottom)) !important;
  }

  .solutions-sub {
    text-align: center !important;
    width: 100%;
  }

  /* ==========================================================
     SOLUTIONS PAGINA (solutions.html)
     Zelfde aanpak als home: heldere titel, donkere glass-kaarten,
     compacte ritmiek, niets afgeknipt.
     ========================================================== */

  /* HERO: titel in de flow bovenaan, kaart er direct onder */
  .sol-hero {
    min-height: 0 !important;
    padding: max(8.5rem, calc(env(safe-area-inset-top) + 6.5rem)) 2rem 4rem !important;
    align-items: stretch !important;
  }

  .sol-hero__background-text {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-bottom: 1.6rem;
    z-index: 2 !important;
  }

  .sol-hero__line {
    font-size: 21vw !important;
    line-height: 0.92 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 0 0.4rem 2.5rem rgba(0, 0, 0, 0.25);
  }

  .sol-hero__line--2 {
    color: rgba(255, 255, 255, 0.65) !important;
  }

  .sol-hero__about-card.glass-card {
    margin: 0 !important;
    padding: 2.2rem 2rem !important;
    background: rgba(18, 20, 26, 0.52) !important;
    border: 0.1rem solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 2rem !important;
    backdrop-filter: blur(2.5rem) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(2.5rem) saturate(1.4) !important;
    box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.38) !important;
  }

  .sol-hero__about-card .glass-card__label {
    font-size: 0.95rem !important;
    letter-spacing: 0.25em !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 1rem !important;
  }

  .sol-hero__about-card .glass-card__title {
    font-size: 2.1rem !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
  }

  .sol-hero__about-card .glass-card__body {
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.88) !important;
  }

  .sol-hero__orbitals {
    top: -30rem !important;
    right: -45rem !important;
  }

  .sol-scroll-indicator {
    display: none !important;
  }

  /* TRANSFORMATIE: compacte rijen */
  .sol-transform {
    padding: 4rem 2rem 4rem !important;
    gap: 2.4rem !important;
  }

  .sol-transform__title {
    font-size: 3.2rem !important;
    line-height: 1 !important;
    text-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.2);
  }

  .sol-transform__title-muted {
    color: rgba(255, 255, 255, 0.6) !important;
  }

  .sol-transform__grid {
    gap: 1.2rem !important;
  }

  .sol-transform__item {
    padding: 2rem 1.8rem !important;
    gap: 0.8rem !important;
    border-radius: 1.8rem !important;
    background: rgba(18, 20, 26, 0.45) !important;
    border: 0.1rem solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.25) !important;
  }

  .sol-transform__old {
    font-size: 1.4rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    gap: 0.8rem !important;
  }

  .sol-transform__new {
    font-size: 1.7rem !important;
    gap: 0.8rem !important;
  }

  .sol-transform__arrow {
    width: 3.2rem !important;
    height: 3.2rem !important;
    margin: 0 !important;
  }

  /* KAARTEN: geen lege hoogte meer, inhoud strak bovenin */
  .sol-grid-section {
    padding: 4rem 2rem 4rem !important;
  }

  .sol-grid__bg-text {
    display: none !important;
  }

  .sol-grid {
    gap: 1.6rem !important;
  }

  .sol-card,
  .sol-card__inner {
    min-height: 0 !important;
  }

  .sol-card__inner {
    padding: 2.4rem 2.2rem !important;
    border-radius: 2rem !important;
    background: rgba(18, 20, 26, 0.5) !important;
    border: 0.1rem solid rgba(255, 255, 255, 0.18) !important;
  }

  .sol-card__number {
    font-size: 8rem !important;
    top: -1rem !important;
    right: 0.4rem !important;
    color: rgba(255, 255, 255, 0.07) !important;
  }

  .sol-card__status {
    margin-bottom: 1.4rem !important;
  }

  .sol-card__status-text {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
  }

  .sol-card__content {
    padding-top: 0 !important;
  }

  .sol-card__label {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 0.8rem !important;
  }

  .sol-card__title {
    font-size: 2.6rem !important;
    margin-bottom: 1.2rem !important;
  }

  .sol-card--exclusive .sol-card__title,
  .sol-card--exclusive .sol-card__body {
    opacity: 0.85 !important;
  }

  .sol-card__body {
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 1.6rem !important;
  }

  .sol-card__lock-icon {
    width: 3.4rem !important;
    height: 3.4rem !important;
    margin: 0.4rem 0 1.6rem 0 !important;
  }

  .sol-card__tag {
    font-size: 1rem !important;
    padding: 0.6rem 1.2rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
  }

  .sol-card__arrow {
    top: 2.2rem !important;
    right: 2.2rem !important;
    width: 3.6rem !important;
    height: 3.6rem !important;
    color: #ffffff !important;
  }

  /* FILOSOFIE: titel helder, metrics naast elkaar */
  .sol-why {
    padding: 4rem 2rem 6rem !important;
    gap: 2.4rem !important;
  }

  .sol-why__label {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 1.2rem !important;
  }

  .sol-why__heading {
    font-size: 3.2rem !important;
    line-height: 1 !important;
    margin-bottom: 1.6rem !important;
  }

  .sol-why__heading-muted {
    color: rgba(255, 255, 255, 0.6) !important;
  }

  .sol-why__body.glass-card {
    margin-top: 0 !important;
    padding: 2rem !important;
    background: rgba(18, 20, 26, 0.52) !important;
    border: 0.1rem solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 2rem !important;
  }

  .sol-why__body .glass-card__body {
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
  }

  .sol-why__metrics {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .sol-why__metric {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 1.8rem 0.6rem !important;
    border-radius: 1.6rem !important;
    gap: 0.4rem !important;
    background: rgba(18, 20, 26, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
  }

  .sol-why__metric-value {
    font-size: 2.4rem !important;
  }

  .sol-why__metric-value--infinity {
    height: 2.9rem !important;
  }

  .sol-why__metric-value .infinity-svg {
    height: 2.6rem !important;
  }

  .sol-why__metric-label {
    font-size: 0.85rem !important;
    letter-spacing: 0.15em !important;
    color: rgba(255, 255, 255, 0.75) !important;
  }

  /* ==========================================================
     AANPAK PAGINA (aanpak.html)
     Zelfde ontwerp-DNA als Home & Solutions:
     - Heldere grote koppen in de flow (wit + semi-transparant wit)
     - Donkere glass-kaarten met hoog contrast
     - Compacte ritmiek zonder enorme lege vlakken
     ========================================================== */

  /* HERO: Titel bovenaan, subtiele bar-strip, dark-glass kaart & pijl eronder */
  .ap-hero {
    min-height: 0 !important;
    padding: max(8.5rem, calc(env(safe-area-inset-top) + 6.5rem)) 2rem 3rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  .ap-hero__background-text {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-bottom: 1.6rem !important;
    z-index: 2 !important;
  }

  .ap-hero__line {
    font-size: 19vw !important;
    line-height: 0.92 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 0.4rem 2.5rem rgba(0, 0, 0, 0.28) !important;
  }

  .ap-hero__bars {
    margin: 1.2rem 0 0 0 !important;
    width: 100% !important;
    gap: 0.4rem !important;
  }

  .ap-bar {
    flex: 0 0 0.4rem !important;
    height: 3.4rem !important;
    background: rgba(255, 255, 255, 0.22) !important;
    border-radius: 0.2rem !important;
  }

  /* Dark-glass kaarten op de hele Aanpak pagina */
  .ap-hero__info-card,
  .ap-new-step__row .ap-hero__info-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 2.2rem 2rem !important;
    background: rgba(18, 20, 26, 0.52) !important;
    border: 0.1rem solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 2rem !important;
    backdrop-filter: blur(2.5rem) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(2.5rem) saturate(1.4) !important;
    box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.38) !important;
    box-sizing: border-box !important;
  }

  .ap-hero__info-card .glass-card__label {
    font-size: 0.95rem !important;
    letter-spacing: 0.25em !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 1rem !important;
  }

  .ap-hero__info-card .glass-card__title {
    font-size: 2.1rem !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
  }

  .ap-hero__info-card .glass-card__body,
  .ap-new-step__row .glass-card__body {
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  /* Pijl in de hero compact gecentreerd onder de kaart */
  .ap-hero__action-arrow {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    align-self: center !important;
    margin: 2.2rem auto 0.4rem !important;
  }

  .big-arrow-svg {
    width: 5.2rem !important;
    height: auto !important;
    opacity: 0.85 !important;
    animation: heroScrollHint 2.2s ease-in-out infinite !important;
  }

  .ap-hero__scroll-hint {
    display: none !important;
  }

  /* STAPPEN 1 T/M 5: Compact onder elkaar, titel direct boven de kaart */
  .ap-new-steps-wrapper {
    padding: 2rem 2rem 4rem !important;
    gap: 4.8rem !important;
  }

  .ap-new-step {
    min-height: 0 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  .ap-new-step__inner {
    width: 100% !important;
    align-items: stretch !important;
    gap: 1.4rem !important;
  }

  .ap-step-title-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    z-index: 2 !important;
  }

  .ap-step-title-wrapper::before {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.78);
    text-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.35);
    margin-bottom: 0.6rem;
  }

  #step1 .ap-step-title-wrapper::before { content: "STAP 01"; }
  #step2 .ap-step-title-wrapper::before { content: "STAP 02"; }
  #step3 .ap-step-title-wrapper::before { content: "STAP 03"; }
  #step4 .ap-step-title-wrapper::before { content: "STAP 04"; }
  #step5 .ap-step-title-wrapper::before { content: "STAP 05"; }

  .ap-step-line {
    font-size: 11.2vw !important;
    line-height: 0.94 !important;
    margin: 0 !important;
    opacity: 1 !important;
    white-space: nowrap !important;
  }

  .ap-step-line--1 {
    color: #ffffff !important;
    text-shadow: 0 0.4rem 2.5rem rgba(0, 0, 0, 0.28) !important;
  }

  .ap-step-line--2 {
    color: rgba(255, 255, 255, 0.65) !important;
    text-shadow: 0 0.4rem 2.5rem rgba(0, 0, 0, 0.18) !important;
  }

  /* Kaart eerst (direct onder titel), navigatiepijlen netjes naast elkaar eronder */
  .ap-new-step__row,
  #step2 .ap-new-step__row,
  #step3 .ap-new-step__row,
  #step4 .ap-new-step__row,
  #step5 .ap-new-step__row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.2rem !important;
    margin-top: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
  }

  .ap-new-step__row .ap-hero__info-card,
  #step2 .ap-hero__info-card,
  #step3 .ap-hero__info-card,
  #step4 .ap-hero__info-card,
  #step5 .ap-hero__info-card {
    order: 1 !important;
    flex: 1 1 100% !important;
    margin-top: 0 !important;
  }

  .ap-new-step__row .ap-nav-arrow,
  #step2 .ap-nav-arrow,
  #step3 .ap-nav-arrow,
  #step4 .ap-nav-arrow,
  #step5 .ap-nav-arrow {
    order: 2 !important;
    width: 4.8rem !important;
    height: 4.8rem !important;
    margin-top: 0.2rem !important;
    background: rgba(18, 20, 26, 0.52) !important;
    border: 0.1rem solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.3) !important;
  }

  /* FOOTER AANPAK */
  #apFooter {
    margin-top: 2rem !important;
    padding-top: 4rem !important;
  }

  .ap-footer-nav {
    margin-bottom: 2rem !important;
  }

  .ap-footer-nav .ap-nav-arrow {
    width: 4.8rem !important;
    height: 4.8rem !important;
    background: rgba(18, 20, 26, 0.52) !important;
    border: 0.1rem solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
  }

  #apFooter .footer-cta-container {
    margin-bottom: 5rem !important;
  }
}
