/* Aanmeldpagina (/aanmelden) in de stijl van de site */

/* Hero: zelfde hoogte als de andere pagina's; foto zo uitgelijnd dat de gezichten in beeld blijven */
.aanmeld-hero > img { object-position: center 30%; }

/* Intro + lesvormen */
.aanmeld-intro h2 { font-size: clamp(44px, 5vw, 68px); max-width: 760px; }
.aanmeld-lead { color: #5f6b65; font-size: 16px; line-height: 1.8; margin: 22px 0 56px; }

.aanmeld-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.aanmeld-card {
  background: var(--white);
  border: 1px solid #e3dccf;
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
}
.aanmeld-card-head { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.aanmeld-card h3 { font-size: 34px; line-height: 1.05; color: var(--forest); }
.aanmeld-card > p { color: #5f6b65; font-size: 14px; line-height: 1.8; margin: 0 0 30px; }

.aanmeld-icon {
  flex: none; width: 58px; height: 58px;
  fill: none; stroke: var(--forest); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.aanmeld-icon circle[r="1.6"] { fill: var(--forest); stroke: none; }

.aanmeld-prices { margin-top: auto; background: var(--forest); color: #fff; padding: 22px 26px 8px; }
.aanmeld-prices-label {
  display: block; margin-bottom: 6px;
  color: #dce4d5; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.aanmeld-prices > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid #ffffff29; font-size: 13px;
}
.aanmeld-prices > div:last-child { border-bottom: 0; }
.aanmeld-prices strong { font: 600 22px var(--font-display); white-space: nowrap; }
.aanmeld-prices small { font: 500 11px var(--font-sans); color: #b8c4be; }

/* Formulier */
.aanmeld-form-section { background: var(--sand); }
.aanmeld-form-wrap { max-width: 760px; }

.aanmeld-proefles {
  display: flex; align-items: center; gap: 20px;
  background: var(--forest); color: #fff;
  padding: 24px 28px; margin-bottom: 64px;
}
.aanmeld-proefles strong { display: block; font: 600 28px/1.1 var(--font-display); }
.aanmeld-proefles span { display: block; color: #dce4d5; font-size: 14px; margin-top: 4px; }
.aanmeld-star { flex: none; width: 44px; height: 44px; fill: #b3261e; }

.aanmeld-form-section h2 { font-size: clamp(44px, 5vw, 64px); color: var(--forest); margin-bottom: 36px; }

.aanmeld-form { display: grid; gap: 22px; }
.aanmeld-form .field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.aanmeld-form label, .aanmeld-form legend { font-size: 13px; font-weight: 600; color: var(--ink); }
.aanmeld-form legend { margin-bottom: 10px; padding: 0; }
.aanmeld-form .req { color: #b3261e; }

.aanmeld-form input[type="text"],
.aanmeld-form input[type="tel"],
.aanmeld-form input[type="email"],
.aanmeld-form input[type="date"],
.aanmeld-form select,
.aanmeld-form textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--white); border: 1px solid #c9bfae; color: var(--ink);
  font-size: 15px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.aanmeld-form textarea { resize: vertical; min-height: 140px; }
.aanmeld-form ::placeholder { color: #8b958f; }
.aanmeld-form input:focus, .aanmeld-form select:focus, .aanmeld-form textarea:focus {
  border-color: var(--forest); box-shadow: 0 0 0 3px #173b3226;
}
.aanmeld-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23173b32' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.aanmeld-form select:invalid { color: #8b958f; }

/* Datumveld (geboortedatum): zelfde uiterlijk als de tekstvelden, ook op iPhone/iPad */
.aanmeld-form input[type="date"] {
  display: block; appearance: none; -webkit-appearance: none;
  height: 53px; line-height: 23px; text-align: left; font-family: inherit;
}
.aanmeld-form input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 23px; }
.aanmeld-form input[type="date"]::-webkit-datetime-edit { padding: 0; }
.aanmeld-form input[type="date"]:invalid { color: #8b958f; }   /* nog leeg: grijs, zoals de voorbeeldtekst in de andere velden */
.aanmeld-form input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .65; }

.aanmeld-form .choice {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  font-weight: 500; font-size: 14px; padding: 6px 0;
}
.aanmeld-form .choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--forest); flex: none; cursor: pointer; }

.aanmeld-req-note { font-size: 12px; color: #5f6b65; margin: 0; }

.aanmeld-submit {
  width: 100%; min-height: 58px; border: 0; cursor: pointer;
  background: #b3261e; color: #fff; font-size: 15px; transition: background-color .2s ease;
}
.aanmeld-submit:hover, .aanmeld-submit:focus-visible { background: #8f1d17; }

.aanmeld-notice { margin: 0; padding: 14px 16px; background: var(--white); border-left: 3px solid #b3261e; font-size: 14px; }

@media (max-width: 900px) {
  .aanmeld-cards { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .aanmeld-hero h1 { font-size: clamp(38px, 12vw, 55px); } /* lange titel past op smalle schermen */
  .aanmeld-card { padding: 30px 22px 26px; }
  .aanmeld-card h3 { font-size: 28px; }
  .aanmeld-icon { width: 46px; height: 46px; }
  .aanmeld-prices { padding: 18px 18px 6px; }
  .aanmeld-proefles { padding: 20px; margin-bottom: 48px; }
  .aanmeld-proefles strong { font-size: 24px; }
}

/* AVG: toelichtingen, privacytekst en spamveld */
.aanmeld-form .field-hint { margin: 2px 0 0; font-size: 12px; line-height: 1.6; color: #5f6b65; }
.aanmeld-form [hidden] { display: none !important; }
.aanmeld-privacy { margin: 0; font-size: 13px; line-height: 1.7; color: #5f6b65; }
.aanmeld-privacy a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Paardenhoofd-icoon bij "Privélessen voor beginners": gevuld (getraceerd) in plaats van lijntekening, zelfde groen */
.aanmeld-icon-paard { fill: var(--forest); stroke: none; }

/* Anker /aanmelden#formulier (knoppen op de lessenpagina): kop niet onder de bovenrand laten verdwijnen */
#formulier { scroll-margin-top: 110px; }

/* Melding na verzenden: groen bij succes (standaard rood = fout); knop tijdens verzenden */
.aanmeld-notice.is-ok { border-left-color: #173b32; }
.aanmeld-submit[disabled] { opacity: .6; cursor: default; }
