/* =========================================================
   Proland — ontdek.proland.nl (kennismaken) landingspagina
   Eén kolom: banner -> tekst -> velden -> keuze -> knop.
   Losse, zelfstandige deploy (alle assets in deze map).
   Compact opgezet; op korte schermen nette scroll i.p.v. afknippen.
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@500;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --blue:        #255EAD;
  --blue-strong: #1E4E92;
  --ink:         #020617;
  --surface:     #E5ECF9;
  --bg:          #ffffff;

  --text-body: #3a4453;
  --muted: #5b6576;
  --muted-2: #8a94a3;
  --line:  #e4e9f2;
  --danger: #c02b2b;

  --radius-lg: 16px;
  --radius:    10px;
  --shadow:    0 22px 54px -30px rgba(2, 6, 23, .38);

  --font-head: "Ubuntu", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;              /* past op één scherm */
}

a { color: var(--blue); }
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.site-header {
  flex: 0 0 auto;
  padding: clamp(8px, 1.2vh, 13px) clamp(20px, 5vw, 48px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 24px; width: auto; }

/* ===== Midden ===== */
.page {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5px, 1vh, 12px) clamp(20px, 5vw, 48px) clamp(6px, 1vh, 12px);
  width: 100%;
}

/* Eén nette kolom */
.lp {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}

/* ===== 1) Banner ===== */
.banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: clamp(10px, 1.4vh, 15px);
}

/* ===== 2) Tekst ===== */
.eyebrow {
  margin: 0 0 8px;
  font-size: .76rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue);
}
.content__title {
  margin: 0;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  line-height: 1.15; letter-spacing: -.02em; color: var(--ink);
}
.content__intro {
  margin: 10px 0 0;
  font-size: clamp(.92rem, 1vw, 1rem);
  line-height: 1.55; color: var(--text-body);
}
.content__intro strong { font-weight: 600; color: var(--ink); }

/* ===== 3) Velden ===== */
.lead-form { margin-top: clamp(12px, 1.6vh, 16px); display: grid; gap: 8px; }

.field {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 15px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 94, 173, .12); }
.field__icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--blue); display: flex; }
.field__icon svg { width: 22px; height: 22px; }
.field__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.field__label { font-size: .72rem; font-weight: 600; color: var(--muted); }
.field input {
  border: 0; outline: 0; margin: 1px 0 0; padding: 0;
  font: inherit; font-size: .98rem; color: var(--ink);
  background: transparent; width: 100%;
}
.field input::placeholder { color: var(--muted-2); }
.field--error { border-color: var(--danger); }
.field--error:focus-within { box-shadow: 0 0 0 3px rgba(192, 43, 43, .14); }
.field--error .field__icon { color: var(--danger); }

/* ===== Optionele interesse-keuze (chips) ===== */
.interesse { border: 0; margin: clamp(10px, 1.6vh, 16px) 0 2px; padding: 0; min-width: 0; }
.interesse__legend {
  padding: 0; margin: 0 0 9px;
  font-size: .78rem; font-weight: 600; color: var(--muted);
}
.interesse__opt { color: var(--muted-2); font-weight: 500; }
.chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.chip { position: relative; display: block; }
.chip input {
  position: absolute; opacity: 0; width: 0; height: 0;
  margin: 0; pointer-events: none;
}
.chip__label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 9px 6px; min-height: 40px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-size: .9rem; font-weight: 600; color: var(--text-body);
  cursor: pointer; user-select: none;
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.chip__label:hover { border-color: #c9d4e8; }
.chip input:focus-visible + .chip__label { outline: 3px solid var(--blue); outline-offset: 2px; }
/* Geselecteerd: via :has() én via .chip--on (JS-fallback voor oudere browsers) */
.chip:has(input:checked) .chip__label,
.chip--on .chip__label {
  border-color: var(--blue);
  background: var(--surface);
  color: var(--blue-strong);
  box-shadow: 0 0 0 1px var(--blue) inset;
}

.form-error { margin: 6px 0 0; color: var(--danger); font-size: .88rem; }
.form-hint { margin: 8px 0 0; color: var(--muted-2); font-size: .84rem; }

/* ===== 4) Knop (blok + loading) ===== */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px; background: var(--blue); color: #fff;
  font: inherit; font-weight: 600; font-size: 1.02rem;
  border: 0; text-decoration: none; border-radius: var(--radius); cursor: pointer;
  box-shadow: 0 12px 24px -14px rgba(37, 94, 173, .8);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cta:hover { background: var(--blue-strong); transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(37, 94, 173, .85); }
.cta:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.cta--block { width: 100%; justify-content: center; margin-top: clamp(10px, 1.4vh, 14px); padding-top: 12px; padding-bottom: 12px; }
.cta__arrow { font-size: 1.1em; line-height: 1; transition: transform .18s ease; }
.cta:hover .cta__arrow { transform: translateX(3px); }

.cta__spinner { display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: spin .7s linear infinite; }
.cta[aria-busy="true"] { pointer-events: none; opacity: .85; transform: none; }
.cta[aria-busy="true"] .cta__spinner { display: inline-block; }
.cta[aria-busy="true"] .cta__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cta__spinner { animation-duration: 1.6s; } }

/* ===== Bedankt: verberg banner + intro, toon alleen het bedankje ===== */
html[data-step="done"] .banner,
html[data-step="done"] .intro-block { display: none !important; }

/* ===== Bedankt (vervangt het formulier) ===== */
.success { padding: 6px 0; }
.success__check {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; margin-bottom: 14px;
}
.success__title {
  margin: 0 0 8px;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem); letter-spacing: -.02em; color: var(--ink);
}
.success__lead { margin: 0; font-size: 1.1rem; color: var(--text-body); }

/* ===== Footer ===== */
.site-footer {
  flex: 0 0 auto;
  padding: clamp(6px, 1.1vh, 10px) clamp(20px, 5vw, 48px);
  color: var(--muted); font-size: .82rem;
  border-top: 1px solid var(--line);
}

/* ===== Korte schermen: liever scrollen dan afknippen ===== */
/* Deze pagina heeft banner + 4 velden + keuzerij, dus iets langer:
   schakel wat eerder over naar nette scroll. */
@media (min-width: 881px) and (max-height: 960px) {
  body { height: auto; min-height: 100dvh; overflow: auto; }
  .page { align-items: flex-start; }
}

/* ===== Mobiel: alles onder elkaar, gewoon scrollbaar ===== */
@media (max-width: 880px) {
  body { height: auto; min-height: 100dvh; overflow-x: hidden; overflow-y: auto; display: block; }
  .page { display: block; padding: 10px clamp(16px, 5vw, 28px) 32px; }
  .lp { max-width: 460px; }
  .content__title { font-size: clamp(1.4rem, 6vw, 1.85rem); }
}

/* Heel smalle telefoons: keuzeknoppen in 2 rijen */
@media (max-width: 380px) {
  .chips { grid-template-columns: repeat(2, 1fr); }
}
