/* Basis counter styling */
.counttekst {
  /* KLEUR AANGEPAST NAAR NIEUWE WENS */
  background: #aac811; 
  padding: 5px 10px;
  font-weight: bold;
  border-radius: 5px;
  line-height: 1;
}

/* --- ANIMATIE LOGICA --- */

/* Wrapper positionering */
.card-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none; 
}

/* 1. De tekstgroep (Titel + Counter) */
.text-group {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: bottom left;
}

/* 2. De CTA (Bekijk vacatures) */
.cta-slide {
  opacity: 0;                   
  transform: translateY(20px); 
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 0;
  overflow: hidden;
  margin-top: 0;
}

/* --- HOVER STATUS --- */

/* Alleen hover effecten op apparaten die hover ondersteunen (Desktop) */
@media (hover: hover) {
    .item:hover .text-group {
      transform: translateY(-10px); 
    }

    .item:hover .cta-slide {
      opacity: 1;                 
      transform: translateY(0);   
      height: auto;               
      margin-top: 2px;           
      overflow: visible;
    }

    .item:hover figure img {
      transform: scale(1.05);
      transition: transform 0.5s ease;
    }
}




/* CLS FIX: Reserveer ruimte */
.vacature-slider-wrap {
    min-height: 450px; /* Pas dit aan naar de gemiddelde hoogte van je cards */
    contain: content; /* Browser optimalisatie */
}

/* De rest van je CSS kan hieronder blijven... */
.section-vacancies { background: #fff; }
.vacancy-intro h2 { font-size: 5.8rem; font-weight: 600; color: #1e1e1e; }
.vacancy-intro p { font-size: 1.8rem; line-height: 1.6; color: #858c94; margin: 0 0 2rem; }
.vacancy-intro{ padding-right: 10%; }
@media (max-width: 991.98px) {
  .vacancy-intro h2{ font-size: 3.6rem !important; line-height: 4rem; }
  .vacature-slider-wrap { min-height: 400px; } /* Mobiele hoogte reservering */
}

.vacatureSwiper { padding-bottom: 60px; overflow: visible !important; position: relative; }
.vacatureSwiper .swiper-wrapper { display: flex; align-items: stretch; }
.swiper-slide { height: auto; }
.swiper-slide > article { transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.swiper-slide:hover > article { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }

.swiper-pagination { text-align: left; margin-top: 1.5rem; }
.swiper-pagination-bullet { width: 20px; height: 20px; background: #ddd; border-radius: 50%; margin: 0 5px 0 0 !important; transition: all .25s ease; }
.swiper-pagination-bullet-active { width: 32px; background: #ef831e; border-radius: 10px; }

.swiper-button-next.custom-next, .swiper-button-prev.custom-prev {
  background-color: #ef831e; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; top: 65%; transform: translateY(-50%); transition: background-color .2s ease, transform .2s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 5; border: none; cursor: pointer;
}
.swiper-button-next.custom-next:focus-visible, .swiper-button-prev.custom-prev:focus-visible, .btn-orange:focus-visible { outline: 3px solid #aac811; outline-offset: 2px; }
.swiper-button-next.custom-next:hover, .swiper-button-prev.custom-prev:hover { background-color: #e67e00; transform: translateY(-50%) scale(1.05); }
.swiper-button-next.custom-next::after, .swiper-button-prev.custom-prev::after { display: none !important; }
.swiper-button-next.custom-next { right: 10px; } 
.swiper-button-prev.custom-prev { left: 10px; }
.swiper-button-next.custom-next svg, .swiper-button-prev.custom-prev svg { stroke: #fff; width: 20px; height: 20px; fill: none; }
.btn-orange { background: #ef831e; color: #fff; font-weight: 600; padding: 1.8rem 3.2rem; font-size: 1.6rem; border-radius: .5rem; border: none; transition: background-color .2s ease, transform .15s ease; display: inline-block; text-decoration: none; }
.btn-orange:hover { background: #e67e00; color: #fff; }
@media (max-width: 992px) {
  .vacancy-intro { text-align: center; margin-bottom: 2rem; }
  .vacancy-intro p { margin: 0 0 2rem auto; }
  .vacature-slider-wrap { padding-right: 0; }
  .swiper-button-prev.custom-prev { left: 10px; }
  .swiper-button-next.custom-next { right: 10px; }
  .swiper-pagination { text-align: center; }
}
	/* ---------- Vacature Card Layout ---------- */
.vacature-card {
  border: 1px solid #e7eaee !important;
  border-radius: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
  background: #fff;
  overflow: hidden;
  height: 100%; /* Zorgt dat alle kaarten in de slider even hoog zijn */
}

.vacature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.vacature-body {
  padding-top: 2.25rem;
  /* Min-height mag eventueel weg als je Flexbox 'stretch' gebruikt in de parent, 
     maar kan handig zijn voor consistentie */
}

/* ---------- Typografie & Iconen ---------- */
.locatietekst { color: #1e456e; }
.vacature-card h3 { font-size: 2.4rem; font-weight: 700; line-height: 1.25; }

/* ---------- NIEUW Label ---------- */
.vacature-metahead { position: absolute; right: 12px; top: 12px; z-index: 2; } 
.badge-nieuw {
  background: #a9c80b; color: #fff; font-weight: 600; font-size: 1.2rem;
  border-radius: .5rem; padding: .75rem 1.2rem; line-height: 1; display: inline-block;
}

/* ---------- Knoppen (CTA) ---------- */
.btn-vacature {
  background: #ef831e; color: #fff; font-weight: 600; padding: 1rem 1.2rem;
  font-size: 1.6rem; border-radius: .5rem; border: none;
  transition: background-color .2s ease, transform .2s ease; text-decoration: none;
}
.btn-vacature:hover, .btn-vacature:focus {
  background: #e67e00; transform: translateY(-2px); color: #fff;
}

/* ---------- Favorieten Icoon ---------- */
.bookmark-wrap .simplefavorite-button {
  all: unset; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; width: 32px; height: 32px; transition: opacity .2s ease;
}
.bookmark-wrap .simplefavorite-button span { display: none !important; }
.bookmark-wrap .simplefavorite-button svg {
  width: 22px; height: 22px; stroke: #adb5bd; fill: none; transition: all .2s ease;
}
.bookmark-wrap .simplefavorite-button:hover svg { stroke: #ef831e; transform: scale(1.1); }
.bookmark-wrap .simplefavorite-button.active svg,
.bookmark-wrap .simplefavorite-button.has-favorites svg { stroke: #ef831e; fill: #ef831e; }

<style>
/* CLS FIX: Reserveer ruimte */
.vacature-slider-wrap {
    min-height: 450px; /* Pas dit aan naar de gemiddelde hoogte van je cards */
    contain: content; /* Browser optimalisatie */
}

/* De rest van je CSS kan hieronder blijven... */
.section-vacancies { background: #fff; }
.vacancy-intro h2 { font-size: 5.8rem; font-weight: 600; color: #1e1e1e; }
.vacancy-intro p { font-size: 1.8rem; line-height: 1.6; color: #858c94; margin: 0 0 2rem; }
.vacancy-intro{ padding-right: 10%; }
@media (max-width: 991.98px) {
  .vacancy-intro h2{ font-size: 3.6rem !important; line-height: 4rem; }
  .vacature-slider-wrap { min-height: 400px; } /* Mobiele hoogte reservering */
}

.vacatureSwiper { padding-bottom: 60px; overflow: visible !important; position: relative; }
.vacatureSwiper .swiper-wrapper { display: flex; align-items: stretch; }
.swiper-slide { height: auto; }
.swiper-slide > article { transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.swiper-slide:hover > article { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }

.swiper-pagination { text-align: left; margin-top: 1.5rem; }
.swiper-pagination-bullet { width: 20px; height: 20px; background: #ddd; border-radius: 50%; margin: 0 5px 0 0 !important; transition: all .25s ease; }
.swiper-pagination-bullet-active { width: 32px; background: #ef831e; border-radius: 10px; }

.swiper-button-next.custom-next, .swiper-button-prev.custom-prev {
  background-color: #ef831e; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; top: 65%; transform: translateY(-50%); transition: background-color .2s ease, transform .2s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 5; border: none; cursor: pointer;
}
.swiper-button-next.custom-next:focus-visible, .swiper-button-prev.custom-prev:focus-visible, .btn-orange:focus-visible { outline: 3px solid #aac811; outline-offset: 2px; }
.swiper-button-next.custom-next:hover, .swiper-button-prev.custom-prev:hover { background-color: #e67e00; transform: translateY(-50%) scale(1.05); }
.swiper-button-next.custom-next::after, .swiper-button-prev.custom-prev::after { display: none !important; }
.swiper-button-next.custom-next { right: 10px; } 
.swiper-button-prev.custom-prev { left: 10px; }
.swiper-button-next.custom-next svg, .swiper-button-prev.custom-prev svg { stroke: #fff; width: 20px; height: 20px; fill: none; }
.btn-orange { background: #ef831e; color: #fff; font-weight: 600; padding: 1.8rem 3.2rem; font-size: 1.6rem; border-radius: .5rem; border: none; transition: background-color .2s ease, transform .15s ease; display: inline-block; text-decoration: none; }
.btn-orange:hover { background: #e67e00; color: #fff; }
@media (max-width: 992px) {
  .vacancy-intro { text-align: center; margin-bottom: 2rem; }
  .vacancy-intro p { margin: 0 0 2rem auto; }
  .vacature-slider-wrap { padding-right: 0; }
  .swiper-button-prev.custom-prev { left: 10px; }
  .swiper-button-next.custom-next { right: 10px; }
  .swiper-pagination { text-align: center; }
}
	/* ---------- Vacature Card Layout ---------- */
.vacature-card {
  border: 1px solid #e7eaee !important;
  border-radius: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
  background: #fff;
  overflow: hidden;
  height: 100%; /* Zorgt dat alle kaarten in de slider even hoog zijn */
}

.vacature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.vacature-body {
  padding-top: 2.25rem;
  /* Min-height mag eventueel weg als je Flexbox 'stretch' gebruikt in de parent, 
     maar kan handig zijn voor consistentie */
}

/* ---------- Typografie & Iconen ---------- */
.locatietekst { color: #1e456e; }
.vacature-card h3 { font-size: 2.4rem; font-weight: 700; line-height: 1.25; }

/* ---------- NIEUW Label ---------- */
.vacature-metahead { position: absolute; right: 12px; top: 12px; z-index: 2; } 
.badge-nieuw {
  background: #a9c80b; color: #fff; font-weight: 600; font-size: 1.2rem;
  border-radius: .5rem; padding: .75rem 1.2rem; line-height: 1; display: inline-block;
}

/* ---------- Knoppen (CTA) ---------- */
.btn-vacature {
  background: #ef831e; color: #fff; font-weight: 600; padding: 1rem 1.2rem;
  font-size: 1.6rem; border-radius: .5rem; border: none;
  transition: background-color .2s ease, transform .2s ease; text-decoration: none;
}
.btn-vacature:hover, .btn-vacature:focus {
  background: #e67e00; transform: translateY(-2px); color: #fff;
}

/* ---------- Favorieten Icoon ---------- */
.bookmark-wrap .simplefavorite-button {
  all: unset; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; width: 32px; height: 32px; transition: opacity .2s ease;
}
.bookmark-wrap .simplefavorite-button span { display: none !important; }
.bookmark-wrap .simplefavorite-button svg {
  width: 22px; height: 22px; stroke: #adb5bd; fill: none; transition: all .2s ease;
}
.bookmark-wrap .simplefavorite-button:hover svg { stroke: #ef831e; transform: scale(1.1); }
.bookmark-wrap .simplefavorite-button.active svg,
.bookmark-wrap .simplefavorite-button.has-favorites svg { stroke: #ef831e; fill: #ef831e; }
