/* =========================================
   Bikeshift Card Hero
   Two-column hero with white card on dark green bg
   ========================================= */

.card-hero {
  position: relative;
  background: linear-gradient(to bottom, var(--green), var(--light-green) 60%, #f7f7f7 60%);
    padding-top: 150px;
}

.card-hero__bg-split {
  padding-bottom: 60px;
}

/* ----- White card ----- */
.card-hero__card {
  background-color: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
/*   overflow: hidden; */
}

/* ----- Content (left) ----- */
.card-hero__content-col {
  display: flex;
  align-items: center;
}

.card-hero__content {
  width: 100%;
}

.card-hero__h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.card-hero__subtitle {
  color: var(--dark-green, #0f2e26);
  font-weight: 700;
}

.card-hero__text {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

/* ----- Image (right) ----- */
.card-hero__image-col {
  position: relative;
  min-height: 460px;
}

.card-hero__image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
    /* Rond rechter hoeken af om bij de card te passen (rounded-4 = 0.5rem) */
  border-radius: 0 0.5rem 0.5rem 0;
}

.card-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- Sticker afbeelding overlay ----- */
.card-hero__stamp-img {
  position: absolute;
  bottom: -2.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(200px, 60%, 400px);
  height: auto;
  z-index: 15;
  pointer-events: none; /* niet klikbaar, alleen visueel */
  filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.2));
}

/* ----- Mobile / tablet ----- */
@media (max-width: 991px) {
  .card-hero {
    background: linear-gradient(
      to bottom,
      var(--dark-green, #0f2e26) 0%,
      var(--dark-green, #0f2e26) 65%,
      #f1f3f0 65%,
      #f1f3f0 100%
    );
  }

  .card-hero__bg-split {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .card-hero__content {
    padding: 1.75rem !important;
  }

  .card-hero__image-col {
    min-height: 360px;
    order: 2; /* image onder content op mobiel — verwijder als je 'm boven wil */
  }
  
    .card-hero__image-wrap {
    /* Op mobiel zit de image onderin de card → rond bottom corners af */
    border-radius: 0 0 0.5rem 0.5rem;
  }

  .card-hero__h1 {
    font-size: 2rem;
  }
}

@media (max-width: 575px) {
  .card-hero__stamp-img {
    bottom: 0.75rem;
    width: clamp(160px, 70%, 280px);
  }

  .card-hero__h1 {
    font-size: 1.75rem;
  }
}
