/* ============================================================
   AANPAK PAGE — Pinned Zigzag Process Styles
   Cards match .glass-card from homepage EXACTLY
   ============================================================ */

.nav-link--active {
  color: #ffffff !important;
  opacity: 1 !important;
}

.aanpak-page {
  background: #000;
  overflow-x: hidden;
}

/* Scroll lock is now handled via JS event listeners to allow scrolling back up */

.aanpak-main {
  position: relative;
  width: 100%;
}

/* ============================================================
   AANPAK HERO
   ============================================================ */
.ap-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  /* Switch to flex-start to control vertical position via margin */
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 8%;
}

.ap-hero__background-text {
  position: absolute;
  top: 14vh;
  /* Reverted to original position */
  left: -3vw;
  width: 100vw;
  z-index: 1;
  pointer-events: none;
}

/* --- Left Info Card (Horizontal Rectangle) --- */
.ap-hero__info-card {
  position: relative;
  width: 55rem;
  /* Even wider as requested */
  height: auto;
  padding: 2.4rem 2.8rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  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;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.4);
  margin-left: 0;
  margin-top: 55vh;
}

@keyframes floatInfoCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-1.5rem);
  }
}

.ap-hero__info-card .glass-card__label {
  font-size: 0.85rem;
  /* Slightly smaller for a tighter look */
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.ap-hero__info-card .glass-card__title {
  font-family: var(--font-primary);
  font-size: 2rem;
  /* Reduced to 2rem for perfect scale */
  font-weight: 700;
  font-style: normal;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 1rem;
}

.ap-hero__info-card .glass-card__body {
  font-size: 1.4rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 95%;
  /* Wider text as requested */
}

/* --- Large THICK Interactive Arrow (Top Right) --- */
.ap-hero__action-arrow {
  position: absolute;
  top: 15vh;
  right: 3vw;
  /* Moved further to the right */
  z-index: 20;
  cursor: pointer;
  transition: transform 0.6s var(--ease-premium);
}

.arrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  position: relative;
}

.big-arrow-svg {
  width: 32rem;
  /* Veeeeeel groter */
  height: auto;
  opacity: 0.4;
  /* Matches the "Aanpak" text opacity */
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
  transition: all 0.6s var(--ease-premium);
  animation: arrowBounce 3.5s ease-in-out infinite;
}

@keyframes arrowBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4rem);
  }
}

.ap-hero__action-arrow:hover .big-arrow-svg {
  transform: scale(1.1);
  opacity: 1;
  filter: drop-shadow(0 0 60px rgba(255, 255, 255, 0.4));
}

.arrow-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  /* Bigger text to match */
  font-weight: 900;
  letter-spacing: 0.6em;
  color: #ffffff;
  opacity: 0.3;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ap-hero__action-arrow:hover .arrow-text {
  opacity: 0.8;
}

/* --- Scroll Hint --- */
.ap-hero__scroll-hint {
  position: absolute;
  bottom: 8vh;
  /* Positioned relative to bottom to avoid overlap with top-down elements */
  right: 5vw;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s var(--ease-premium);
  pointer-events: none;

  /* Prominent design */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2rem);
  -webkit-backdrop-filter: blur(2rem);
  padding: 1.4rem 4rem;
  border-radius: 10rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.4);
}

.ap-hero__scroll-hint.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-2rem);
  /* Slight lift-up animation */
  animation: hintPulse 2s infinite ease-in-out;
}

@keyframes hintPulse {

  0%,
  100% {
    transform: translateY(-2rem) scale(1);
    border-color: rgba(255, 255, 255, 0.15);
  }

  50% {
    transform: translateY(-2rem) scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
  }
}

.ap-hero__scroll-hint span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
}






.ap-hero__line {
  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;
  white-space: nowrap;
  margin-left: -2vw;
  /* Standardized offset */
}

.ap-hero__bars {
  display: flex;
  gap: 0.5rem;
  margin-top: 3rem;
  margin-left: -2vw;
  /* Synchronized with text offset */
  width: 77vw;
  /* One bar less to hit the perfect line */
  align-items: flex-end;
  overflow: hidden;
  /* Clean cut at the word end */
}

.ap-bar {
  flex: 0 0 6px;
  /* Thick 6px bars */
  height: 18rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0;
  transition: background 0.3s var(--ease-premium);
}





/* ============================================================
   NEW STEPS LAYOUT
   ============================================================ */
.ap-new-steps-wrapper {
  position: relative;
  width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  /* Lots of empty space between steps */
  gap: 70vh;
  padding-top: 140vh;
  padding-bottom: 70vh;
}

.ap-new-step {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ap-new-step__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10rem;
}

/* Staggered Heading style matching 'Solu-tions' from Solutions page */
.ap-step-title-wrapper {
  position: absolute;
  top: 18vh;
  /* Verder van de header */
  left: 50%;
  transform: translateX(-50%);
  /* Gecentraliseerd op de pagina */
  display: flex;
  flex-direction: column;
  width: fit-content;
  pointer-events: none;
  z-index: 0;
}

.ap-step-line {
  font-family: "Montserrat", sans-serif;
  font-size: 12rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  color: #ffffff;
  opacity: 0.15;
  text-transform: uppercase;
  line-height: 0.85;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.ap-step-line--1 {
  align-self: flex-start;
  margin-left: -5rem;
}

.ap-step-line--2 {
  align-self: flex-start;
  margin-left: 5rem;
}

.ap-new-step__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15rem;
  margin-top: 30vh;
  /* Precies de margin-top die goedgekeurd was! */
  min-height: 40rem;
  /* Vaste minimale hoogte zodat het centrum altijd gelijk ligt over elke stap */
}

/* Ensure the glass card matches the hero exactly, but stays static in the row */
.ap-new-step__row .ap-hero__info-card {
  margin: 0;
  left: auto;
  position: relative;
  width: 55rem;
}

/* Slightly larger font for step text, hard wit */
.ap-new-step__row .glass-card__body {
  font-size: 1.45rem;
  line-height: 1.8;
  color: #ffffff;
  /* Hard wit */
  text-align: center;
  /* Gecentraliseerd */
}

/* Minimalist large glass arrows */
.ap-nav-arrow {
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2rem) saturate(1.3);
  -webkit-backdrop-filter: blur(2rem) saturate(1.3);
  border: 0.1rem solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.4s var(--ease-premium);
  color: rgba(255, 255, 255, 0.6);
}

.ap-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.5);
}

.ap-nav-arrow svg {
  transition: transform 0.4s var(--ease-premium);
}

.ap-nav-arrow--up:hover svg {
  transform: translateY(-0.5rem);
}

.ap-nav-arrow--down:hover svg {
  transform: translateY(0.5rem);
}

/* ============================================================
   AANPAK FOOTER SPECIAL STYLES
   ============================================================ */
.ap-footer-nav {
  position: absolute;
  left: 8%;
  top: 25vh; /* Aligns with the big text block vertically */
  z-index: 100;
}

#apFooter {
  margin-top: 50vh; /* Pushes the footer down so it is completely hidden from Step 5 */
  padding-top: 18vh; /* Lowers the text block significantly */
}

#apFooter .footer-big-text-container {
  margin-bottom: 3.2rem; /* Lifted the button slightly higher again */
}

#apFooter .footer-cta-container {
  margin-bottom: 30vh; /* Keeps the button in its correct position and pushes the footer glass below the fold */
}

.ap-footer-arrow-back {
  /* Rotated to point up/left or styled as a retro back-to-top button */
}

@media (max-width: 1024px) {
  .ap-footer-nav {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

/* Mobile adjustments */
@media (max-width: 1024px) {
  .ap-new-step__row {
    flex-direction: column;
    gap: 4rem;
  }

  .ap-nav-arrow {
    width: 6rem;
    height: 6rem;
  }
}

@media (max-width: 768px) {
  .ap-step-title {
    font-size: 3.2rem;
  }

  .ap-new-step__row .ap-hero__info-card {
    width: 90vw;
  }
}

/* ============================================================
   ALIGNMENT OVERRIDES FOR STEPS 2, 3, 4 & 5
   Keeps Step 1 (Analyse & Strategie) 100% untouched as the baseline reference,
   while forcing all other steps to match its top card overlap and arrow positions.
   ============================================================ */
#step2 .ap-new-step__row,
#step3 .ap-new-step__row,
#step4 .ap-new-step__row,
#step5 .ap-new-step__row {
  align-items: flex-start;
}

#step2 .ap-hero__info-card,
#step3 .ap-hero__info-card,
#step4 .ap-hero__info-card,
#step5 .ap-hero__info-card {
  margin-top: 6rem; /* Matches the top overlap of Step 1 exactly */
}

#step2 .ap-nav-arrow,
#step3 .ap-nav-arrow,
#step4 .ap-nav-arrow,
#step5 .ap-nav-arrow {
  margin-top: 16rem; /* Matches the arrow center position of Step 1 exactly */
}

@media (max-width: 1024px) {
  #step2 .ap-hero__info-card,
  #step3 .ap-hero__info-card,
  #step4 .ap-hero__info-card,
  #step5 .ap-hero__info-card {
    margin-top: 0;
  }

  #step2 .ap-nav-arrow,
  #step3 .ap-nav-arrow,
  #step4 .ap-nav-arrow,
  #step5 .ap-nav-arrow {
    margin-top: 0;
  }
}

/* ============================================================
   RESPONSIVE OPTIMALISATIES (Additive)
   ============================================================ */
@media (max-width: 1024px) {
  .ap-new-step__row {
    margin-top: 20vh;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .ap-step-line {
    font-size: 15vw;
  }
  .ap-new-step__row .ap-hero__info-card {
    width: 95vw;
  }
  .ap-nav-arrow {
    width: 6rem;
    height: 6rem;
  }
  .ap-footer-nav {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .ap-step-line {
    font-size: 18vw;
  }
  .ap-new-step__row {
    margin-top: 15vh;
    gap: 3rem;
  }
  .ap-nav-arrow {
    width: 5rem;
    height: 5rem;
  }
  #apFooter {
    margin-top: 30vh;
    padding-top: 10vh;
  }
}

@media (max-width: 375px) {
  .ap-step-line {
    font-size: 20vw;
  }
  .ap-new-step__row .ap-hero__info-card {
    padding: 2rem;
  }
  .ap-new-step__row {
    gap: 2rem;
  }
  .ap-nav-arrow {
    width: 4.5rem;
    height: 4.5rem;
  }
}