/* Energiebeheer.app — Besparingscheck (microsite /check/). Mobile-first. */
:root {
  --green: #7D9F26;
  --green-600: #6B8A1F;
  --ink: #0C1A22;
  --ink-2: #10242E;
  --bg: #F3F7F5;
  --bg-soft: #EEF3F0;
  --line: #E2EAE5;
  --line-2: #D6E0DA;
  --text: #1C2B33;
  --muted: #5B6B72;
  --muted-2: #7B8A90;
  --on-dark: #C9D7D2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(12, 26, 34, .08);
  --font: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text);
  background: var(--bg);
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ---- Header ---------------------------------------------------------- */
.check-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem clamp(1rem, 4vw, 2rem);
  background: #fff; border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-size: 1.3rem; }
.brand .logo-mark { width: 34px; height: 34px; flex: none; }
.brand-text b { font-weight: 700; color: var(--muted-2); }
.brand-text > span { color: var(--muted-2); font-weight: 700; }
.brand-text .tld { color: var(--green-600); }
.check-exit {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  color: var(--muted); text-decoration: none; font-size: 1.5rem; line-height: 1;
  border: 1px solid var(--line-2); background: #fff;
}
.check-exit:hover { color: var(--ink); background: var(--bg-soft); }

/* ---- Progress -------------------------------------------------------- */
.progress-wrap { padding: 0 clamp(1rem, 4vw, 2rem); background: #fff; }
.progress-bar { height: 5px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; }
.progress-bar span {
  display: block; height: 100%; width: 6%;
  background: linear-gradient(90deg, var(--green), #1AA6B7);
  border-radius: 99px; transition: width .35s cubic-bezier(.4, 0, .2, 1);
}

/* ---- Stage ----------------------------------------------------------- */
.check-main { flex: 1; display: flex; justify-content: center; padding: clamp(1.2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) 3rem; }
.check-stage { width: 100%; max-width: 620px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 2.2rem);
  transition: opacity .25s ease;
}
.card--intro, .card--thanks { text-align: center; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--green-600); margin-bottom: .6rem;
}
h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.12; margin: 0 0 .8rem; color: var(--ink); }
.q { font-size: clamp(1.25rem, 3.6vw, 1.6rem); line-height: 1.22; margin: 0 0 .5rem; color: var(--ink); font-weight: 700; }
.lead { font-size: 1.04rem; line-height: 1.55; color: var(--muted); margin: 0 0 1.4rem; }
.help { font-size: .94rem; line-height: 1.5; color: var(--muted); margin: 0 0 1.1rem; }
.trust { font-size: .82rem; color: var(--muted-2); margin: 1rem 0 0; }
.tip { font-size: .9rem; color: var(--muted); background: var(--bg-soft); border-radius: 12px; padding: .9rem 1rem; margin: 1.2rem 0; }

/* ---- Option cards ---------------------------------------------------- */
.options { display: grid; gap: .6rem; margin: 1.2rem 0 1.4rem; }
.opt {
  display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left;
  padding: .95rem 1.05rem; border: 1.5px solid var(--line-2); border-radius: 12px;
  background: #fff; color: var(--text); font: inherit; font-size: 1rem; font-weight: 500;
  cursor: pointer; transition: border-color .15s, background .15s, transform .05s;
}
.opt:hover { border-color: var(--green); background: #FBFDF8; }
.opt:active { transform: scale(.99); }
.opt.is-selected { border-color: var(--green); background: #F4F8EC; box-shadow: inset 0 0 0 1px var(--green); }
.opt span { flex: 1; }
/* checkbox-marker voor multi */
.opt--check::before {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 6px;
  border: 1.5px solid var(--line-2); background: #fff; transition: .15s;
  background-position: center; background-repeat: no-repeat; background-size: 14px;
}
.opt--check.is-selected::before {
  border-color: var(--green); background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---- Teaser ---------------------------------------------------------- */
.card--teaser .q { margin-bottom: 1rem; }
.teaser-list { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .55rem; }
.teaser-list li {
  position: relative; padding: .8rem 1rem .8rem 2.6rem; border-radius: 12px;
  background: var(--bg-soft); font-size: .98rem; line-height: 1.45; color: var(--text);
}
.teaser-list li::before {
  content: ""; position: absolute; left: 1rem; top: 1rem; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237D9F26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---- Forms ----------------------------------------------------------- */
.contact-form { margin-top: 1.2rem; }
.field { margin-bottom: .9rem; }
.field-row { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field input, .textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line-2); border-radius: 11px;
  font: inherit; font-size: 1rem; color: var(--text); background: #fff;
}
.field input:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(125, 159, 38, .15); }
.textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: .4rem 0 .2rem; line-height: 1.45; cursor: pointer; }
.consent input { margin-top: .2rem; width: 18px; height: 18px; flex: none; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #B4452F; background: #FCEDE9; border: 1px solid #F3C9BD; padding: .7rem .9rem; border-radius: 10px; font-size: .9rem; margin-top: .9rem; }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .8rem 1.3rem; border-radius: 11px; font: inherit; font-weight: 600; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: .15s;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-600); }
.btn--primary:disabled { background: #BFCBA6; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--muted); border-color: transparent; padding-left: .4rem; }
.btn--ghost:hover { color: var(--ink); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--green); color: var(--green-600); }
.btn--lg { padding: 1rem 1.5rem; font-size: 1.06rem; }
.btn--block { width: 100%; }

.check-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.check-nav .btn--primary { margin-left: auto; }

/* ---- Thanks ---------------------------------------------------------- */
.check-ok {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--green), #1AA6B7);
}
.check-ok svg { width: 32px; height: 32px; }
.card--thanks .btn--block { margin-top: 1.4rem; }

@media (max-width: 380px) {
  .check-nav { flex-wrap: wrap; }
  .check-nav .btn { flex: 1; }
}
