/* ---------------------------------------------------------------------------
   Pagina "Gratis projectvoorstel": het formulier als witte kaart in de kop
   (voorstel-formulier.njk), de drie stappen, de regel "volledig gratis" en
   de cases eronder.
   --------------------------------------------------------------------------- */

/* --- Formulier in een witte kaart ------------------------------------------ */
.sc-aanvraag-kaart {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 2.8vw, 36px);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  color: #1b2246;
}

.sc-aanvraag-kaart h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sc-aanvraag-form {
  display: grid;
  gap: 12px;
}

.sc-veld {
  display: grid;
  gap: 6px;
}

.sc-veld > span {
  font-size: 0.9rem;
  font-weight: 700;
}

.sc-veld input,
.sc-veld textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(27, 34, 70, 0.18);
  border-radius: 10px;
  background: #ffffff;
  color: #1b2246;
  font: inherit;
  font-size: 0.98rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.sc-veld textarea {
  min-height: 96px;
  resize: vertical;
}

.sc-veld input:focus,
.sc-veld textarea:focus {
  outline: none;
  border-color: #0d7f70;
  box-shadow: 0 0 0 3px rgba(86, 207, 189, 0.35);
}

.sc-veld small {
  color: #5c6b7d;
  font-size: 0.85rem;
  line-height: 1.45;
}

.sc-aanvraag-akkoord {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5c6b7d;
  font-size: 0.85rem;
  line-height: 1.45;
  cursor: pointer;
}

.sc-aanvraag-akkoord input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #0d7f70;
}

.sc-aanvraag-fout {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fdecec;
  color: #a12626;
  font-size: 0.9rem;
  font-weight: 600;
}

.sc-aanvraag-knop {
  width: 100%;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.sc-aanvraag-knop:disabled {
  opacity: 0.7;
  cursor: wait;
}

.sc-aanvraag-geruststelling {
  margin: 0;
  color: #5c6b7d;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.sc-aanvraag-bedankt {
  padding: 24px 0;
  text-align: center;
  outline: none;
}

.sc-aanvraag-bedankt p {
  margin: 0;
  color: #5c6b7d;
  line-height: 1.6;
}

.sc-aanvraag-vink {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #56cfbd;
}

.sc-aanvraag-vink::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 22px;
  width: 22px;
  height: 12px;
  border-left: 4px solid #1b2246;
  border-bottom: 4px solid #1b2246;
  transform: rotate(-45deg);
}

/* --- Drie stappen ------------------------------------------------------- */
.sc-aanvraag-stappen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-aanvraag-stap {
  position: relative;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid rgba(27, 34, 70, 0.1);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(27, 34, 70, 0.07);
}

/* pijltje tussen de kaarten */
.sc-aanvraag-stap:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 1;
  right: calc(-1 * clamp(18px, 2vw, 28px) / 2 - 16px);
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: #1b2246;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 850;
}

.sc-aanvraag-icoon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #56cfbd;
}

.sc-aanvraag-icoon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #1b2246;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc-aanvraag-stap h3 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sc-aanvraag-stap p {
  margin: 0;
  color: #5c6b7d;
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.6;
}

/* --- "Volledig gratis en vrijblijvend" ------------------------------------ */
.sc-aanvraag-gratis {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.6vw, 32px);
  border-radius: 20px;
  background: #1b2246;
  color: #ffffff;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.sc-aanvraag-gratis .sc-aanvraag-vink {
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
}

.sc-aanvraag-gratis .sc-aanvraag-vink::after {
  left: 13px;
  top: 14px;
  width: 13px;
  height: 7px;
  border-width: 0 0 3px 3px;
}

@media (max-width: 860px) {
  .sc-aanvraag-stappen {
    grid-template-columns: 1fr;
  }

  .sc-aanvraag-stap:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(-1 * clamp(18px, 2vw, 28px) / 2 - 16px);
    margin: 0 0 0 -16px;
  }
}
