/* ==========================================================
   AANMELDEN EN INFORMATIE AANVRAGEN
   Aanvulling op assets/style.css
   ========================================================== */


/* ==========================================================
   1. KNOPPEN IN DE PAGINA-HERO
   ========================================================== */

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}


/* ==========================================================
   2. FORMULIERSECTIES
   ========================================================== */

.form-section {
  padding: var(--section-space, 100px) 0;
  background: var(--paper-soft, #fbf8f2);
  scroll-margin-top: 90px;
}

.form-section-soft {
  background: var(--paper, #f6f1e8);
}

.form-section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: start;
}

.form-intro {
  position: sticky;
  top: 110px;
}

.form-intro h2 {
  max-width: 620px;
}

.info-card,
.contact-details {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--line, rgba(47, 74, 58, 0.16));
  border-radius: var(--radius, 24px);
  background: rgba(255, 255, 255, 0.58);
}

.info-card h3 {
  margin-bottom: 10px;
}

.info-card p:last-child,
.contact-details p:last-child {
  margin-bottom: 0;
}


/* ==========================================================
   3. FORMULIERKAART
   ========================================================== */

.form-card {
  max-width: none;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line, rgba(47, 74, 58, 0.16));
  border-radius: var(--radius-lg, 34px);
  background: var(--white, #ffffff);
  box-shadow: var(--shadow, 0 18px 50px rgba(38, 51, 43, 0.12));
}

.form-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.form-heading h3 {
  margin-bottom: 5px;
}

.form-heading p {
  margin: 0;
  color: rgba(40, 54, 46, 0.66);
  font-size: 0.92rem;
}

.form-step {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep, #2f4a3a);
  color: #fff;
  font-weight: 800;
}

.form-divider {
  height: 1px;
  margin: 8px 0;
  background: var(--line, rgba(47, 74, 58, 0.16));
}


/* ==========================================================
   4. SELECTIEVAK EN PRIVACY
   ========================================================== */

.checkbox-label {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px !important;
  align-items: start;
  padding: 4px 0;
  font-weight: 500 !important;
  cursor: pointer;
}

.checkbox-label input {
  width: 18px !important;
  min-height: 18px !important;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--deep, #2f4a3a);
}

.checkbox-label span {
  line-height: 1.5;
}


/* ==========================================================
   5. RESPONSIVE
   ========================================================== */

@media (max-width: 840px) {
  .form-section-grid {
    grid-template-columns: 1fr;
  }

  .form-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .page-actions {
    display: grid;
  }

  .page-actions .btn {
    width: 100%;
  }

  .form-card {
    padding: 21px 17px;
    border-radius: 24px;
  }
}
/* Melding na verzenden van een formulier */
.form-status {
    display: none;
    max-width: 900px;
    margin: 40px auto;
    padding: 28px 32px;
    border-radius: 18px;
    font-size: 1.1rem;
    line-height: 1.7;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.form-status.is-success {
    display: block;
    background: #edf7ef;
    border-left: 8px solid #2f6b3f;
    color: #24422d;
}

.form-status.is-success::before {
    content: "✓ Bericht succesvol verzonden";
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2f6b3f;
}

.form-status.is-error {
    display: block;
    background: #fff0ef;
    border-left: 8px solid #b64032;
    color: #7a2e24;
}

.form-status.is-error::before {
    content: "⚠ Er is iets misgegaan";
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #b64032;
}