/* ========================================
   WET DBA / PREVENT FALSE SECURITY PAGE
   ======================================== */

/* ---------- HERO ---------- */

/* ---------- STRUCTURE ---------- */
.page-wet-dba h2 {
  font-size: var(--fs-xlarge);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-wet-dba h3 {
  font-size: clamp(1.2rem, 1vw + 0.9rem, 1.6rem);
  color: var(--color-primary);
  font-weight: 700;
  margin: 2rem 0 1rem;
}

.page-wet-dba p {
  color: #333;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

/* ---------- WET DBA BOX ---------- */
.section-dba {
  margin: 200px auto 100px;
}
.section-dba .text-box {
  border: 2px solid var(--color-accent);
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 60px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.section-dba .text-box h2 {
  margin-top: 0;
}

.section-dba .text-box h3 {
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ---------- TOEPASSING EN VOORUITBLIK ---------- */
.section-toepassing {
  background: #fff;
}

.section-toepassing h3 {
  font-weight: 700;
  color: var(--color-primary);
}

/* ---------- DE OPLOSSING ---------- */
.section-oplossing {
  margin: 100px auto 0px;
}
.section-oplossing .container {
  background: var(--color-bg-light);
  border-top: 1px solid #e2e5ec;
  border-bottom: 1px solid #e2e5ec;
  padding: clamp(60px, 6vw, 0px) 70px;
}

.section-oplossing p {
  max-width: 900px;
}
/* Donkerblauwe achtergrond alleen boven de ronde kaarten */
.section-implementatie {
  position: relative;
  color: #fff;
  padding-bottom: 0; /* we halen de achtergrond onder de kaarten weg */
  overflow: visible;
}

/* ---------- IMPLEMENTATIE ---------- */
.section-implementatie .container {
  color: #fff;
  text-align: left;
  padding: 70px;
}

.section-implementatie .container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 30%;
  background: var(--color-primary);
  z-index: -1;
}

.section-implementatie h2 {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-implementatie p {
  color: #f3f3f3;
  max-width: 900px;
}

/* ---------- IMPLEMENTATIE-KAARTEN ---------- */
.implementatie-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  margin-top: 390px;
}

.implementatie-grid .card {
  position: relative;
  flex: 1 1 45%;
  max-width: 440px;
  background: #f4f4f4;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 200px 40px 60px; /* ruimte voor ronde afbeelding */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.implementatie-grid .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Ronde afbeelding */
.implementatie-grid .card > img:first-child {
  position: absolute;
  top: -170px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}

/* Titel */
.implementatie-grid .card h3 {
  text-align: center;
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 40px;
}

/* Icoon + lijst */
.implementatie-grid .card .content {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

.implementatie-grid .card .content img {
  width: 70px;
  height: auto;
  flex-shrink: 0;
}

.implementatie-grid .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.implementatie-grid .card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--color-primary);
}

.implementatie-grid .card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #15b86a;
  font-weight: bold;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: #fff;
}

.cta-section h1 {
  font-size: var(--fs-xlarge);
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.cta-section .btn-yellow {
  display: flex;
  margin: 0 auto;
  gap: 10px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.9em 2em;
  border-radius: var(--radius);
  max-width: 350px;
  transition: background 0.3s ease, transform 0.2s ease, color 0.2s ease;
}

.cta-section .btn-yellow:hover {
  background: #d3aa23;
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .hero-wet-dba .container {
    margin-bottom: -130px;
  }

  .section-dba {
    margin-top: 180px;
  }

  .implementatie-grid {
    gap: 40px;
    margin-top: 35%;
  }
}

@media (max-width: 900px) {
    .page-wet-dba .ic-hero__card,
  .page-wet-dba .ic-hero__card h1 {
    text-align: center;
  }

  /* Algemene secties */
  .page-wet-dba .section-dba,
  .page-wet-dba .section-toepassing,
  .page-wet-dba .section-oplossing,
  .page-wet-dba .section-implementatie,
  .page-wet-dba .cta-section {
    text-align: center;
  }

  /* Tekst en koppen */
  .page-wet-dba .section-dba h2,
  .page-wet-dba .section-dba h3,
  .page-wet-dba .section-dba p,
  .page-wet-dba .section-toepassing h2,
  .page-wet-dba .section-toepassing h3,
  .page-wet-dba .section-toepassing p,
  .page-wet-dba .section-oplossing h2,
  .page-wet-dba .section-oplossing p,
  .page-wet-dba .section-implementatie h2,
  .page-wet-dba .section-implementatie p,
  .page-wet-dba .cta-section h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .section-implementatie .container::after {
    height: 100%;
  }
  /* Cards centreren */
  .page-wet-dba .implementatie-grid {
    flex-direction: column;
    align-items: center;
  }

  .page-wet-dba .implementatie-grid .card {
    margin: 0 auto 120px;
    text-align: center;
  }

  .page-wet-dba .implementatie-grid .card .content {
    flex-direction: column;
    align-items: center;
  }

  .page-wet-dba .implementatie-grid .card ul {
    text-align: left; /* lijst zelf mag leesbaar blijven */
    display: inline-block;
  }

  /* CTA knop centreren */
  .page-wet-dba .cta-section .btn-yellow {
    justify-content: center;
    margin: 0 auto;
  }
  .hero-wet-dba {
    min-height: 420px;
    align-items: center;
    padding-bottom: 20px;
    text-align: center;
  }

  .hero-wet-dba .container {
    margin-bottom: -100px;
  }

  .hero-wet-dba .hero-inner {
    padding: 28px 24px;
  }

  .section-dba {
    margin-top: 140px;
  }

  .implementatie-grid {
    flex-direction: column;
    align-items: center;
  }

  .implementatie-grid .card {
      width: 100%;
      max-width: 420px;
      padding: 160px 24px 40px;
      margin-top: 80px;
  }

  .implementatie-grid .card > img:first-child {
    width: 250px;
    height: 250px;
    top: -100px;
  }

  .implementatie-grid .card ul {
    margin:0 auto;
  }

  .implementatie-grid .card .content {
    flex-direction: column;
    text-align: center;
  }

  .implementatie-grid .card .content img {
    margin: 0 auto 10px;
  }

  .section-dba .text-box {
    padding: 30px 20px;
    margin-top: 120px;
  }

  .cta-section h1 {
    text-align: center;
  }

  .cta-section .btn-yellow {
    justify-content: center;
    margin: 0 auto;
  }


}

@media (max-width: 600px) {
  .hero-wet-dba {
    min-height: 360px;
  }
  .section-implementatie .container {
    padding: clamp(60px, 6vw, 100px) 20px;
  }

  .hero-wet-dba .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-dba {
    margin-top: 100px;
  }

  .implementatie-grid .card {
    max-width: 100%;
    padding: 130px 20px 40px;
  }

  .implementatie-grid .card > img:first-child {
    width: 200px;
    height: 200px;
    top: -80px;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .cta-section .btn-yellow {
    width: 100%;
    max-width: none;
  }
}

