:root {
  --fire: #c86a32;
  --fire-dark: #a8551f;
  --water: #4c6a6f;
  --earth: #6b7a5e;
  --charcoal: #252623;
  --cream: #f5f0e6;
  --paper: #fbf8f1;
  --line: #ded4c2;
  --muted: #69675f;
  --positive: #456b55;
  --warning: #9a5d25;
  --negative: #99473d;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --shadow: 0 24px 70px -38px rgba(24, 28, 24, .65);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--charcoal); background: var(--cream); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
button, input, select { font: inherit; }
.check-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.check-header { position: relative; z-index: 5; border-bottom: 1px solid rgba(222, 212, 194, .75); background: rgba(245, 240, 230, .92); }
.check-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.check-brand { display: flex; align-items: center; gap: 12px; color: var(--charcoal); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: .22em; }
.check-brand img { width: 43px; height: 43px; object-fit: contain; }
.back-link { color: var(--charcoal); font-size: .9rem; text-underline-offset: 4px; }

.check-hero { position: relative; overflow: hidden; padding: 90px 0 100px; background: radial-gradient(circle at 90% 10%, rgba(200, 106, 50, .2), transparent 34%), radial-gradient(circle at 5% 95%, rgba(76, 106, 111, .18), transparent 38%), var(--cream); }
.check-hero::before { content: ""; position: absolute; width: 460px; height: 460px; border: 1px solid rgba(200, 106, 50, .22); border-radius: 50%; right: -210px; top: -245px; }
.hero-layout { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.eyebrow, .panel-kicker, .step-label { display: inline-block; color: var(--fire); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
.hero-copy h1, .section-heading h2, .root-cta h2 { margin: 12px 0 22px; font-family: var(--serif); font-weight: 600; line-height: .98; }
.hero-copy h1 { max-width: 560px; font-size: clamp(3.1rem, 6vw, 5.45rem); }
.hero-copy > p { max-width: 570px; color: var(--muted); font-size: 1.12rem; }
.trust-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(251, 248, 241, .64); color: var(--muted); font-size: .78rem; font-weight: 600; }

.check-card { padding: clamp(28px, 4vw, 46px); border: 1px solid rgba(222, 212, 194, .9); border-radius: 24px; background: rgba(251, 248, 241, .95); box-shadow: var(--shadow); }
.card-heading h2 { margin: 7px 0 7px; font-family: var(--serif); font-size: 2.25rem; line-height: 1.05; }
.card-heading p { margin: 0 0 28px; color: var(--muted); font-size: .92rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; color: var(--charcoal); font-size: .84rem; font-weight: 700; }
.field select { width: 100%; min-height: 55px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fffdf8; color: var(--charcoal); outline: none; }
.field select:focus, .plate-input:focus-within { border-color: var(--fire); box-shadow: 0 0 0 3px rgba(200,106,50,.12); }
.plate-input { min-height: 60px; display: grid; grid-template-columns: 45px 1fr; overflow: hidden; border: 2px solid var(--charcoal); border-radius: 10px; background: #f4c928; transition: box-shadow .2s, border-color .2s; }
.plate-input b { display: grid; place-items: center; background: #16418c; color: white; font-size: .75rem; letter-spacing: .08em; }
.plate-input input { min-width: 0; width: 100%; border: 0; outline: 0; background: #f4c928; color: #111; text-transform: uppercase; text-align: center; font-size: 1.25rem; font-weight: 800; letter-spacing: .09em; }
.plate-input input::placeholder { color: rgba(20,20,20,.45); }
.check-button, .cta-button { border: 0; border-radius: 999px; background: var(--fire); color: white; font-weight: 700; text-decoration: none; }
.check-button { width: 100%; min-height: 57px; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; box-shadow: 0 14px 30px -17px rgba(168,85,31,.8); }
.check-button:hover, .cta-button:hover { background: var(--fire-dark); }
.check-button:disabled { opacity: .65; cursor: wait; }
.form-message { min-height: 24px; margin: 12px 0 -12px; color: var(--negative); text-align: center; font-size: .87rem; }

.results-section { padding: 86px 0; background: var(--paper); border-top: 1px solid var(--line); }
.result-summary { margin-bottom: 26px; padding: 24px 28px; display: flex; align-items: flex-start; gap: 15px; border-radius: 16px; border: 1px solid; }
.result-summary::before { content: ""; flex: 0 0 12px; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: currentColor; }
.result-summary strong { display: block; font-family: var(--serif); font-size: 1.45rem; }
.result-summary p { margin: 2px 0 0; }
.result-summary.positive { background: #eef5ef; border-color: #c8ddce; color: var(--positive); }
.result-summary.warning { background: #faf2e6; border-color: #ead0ac; color: var(--warning); }
.result-summary.negative { background: #f8ece9; border-color: #e4c3bd; color: var(--negative); }
.result-grid, .vehicle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.result-panel, .vehicle-card { border: 1px solid var(--line); border-radius: 18px; background: var(--cream); }
.result-panel { padding: 30px; }
.result-panel h2 { margin: 6px 0 10px; font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.result-panel > p { color: var(--muted); }
.personal-result { margin-top: 18px; padding: 13px 15px; border-radius: 10px; font-size: .9rem; font-weight: 700; }
.personal-result.positive { background: #e4efe7; color: var(--positive); }
.personal-result.negative { background: #f3dfdc; color: var(--negative); }
.metric-list { margin: 23px 0 0; display: grid; gap: 0; }
.metric-list div { padding: 12px 0; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.metric-list dt { color: var(--muted); font-size: .85rem; }
.metric-list dd { margin: 0; font-weight: 800; text-align: right; }
.vehicle-grid { margin-top: 24px; }
.vehicle-card { padding: 28px; }
.vehicle-card .vehicle-type { color: var(--fire); font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; }
.vehicle-card h3 { margin: 5px 0 2px; font-family: var(--serif); font-size: 1.8rem; }
.vehicle-card .plate { color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .1em; }
.vehicle-facts { margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vehicle-facts div { padding: 13px; border-radius: 10px; background: var(--paper); }
.vehicle-facts span { display: block; color: var(--muted); font-size: .72rem; }
.vehicle-facts strong { display: block; margin-top: 2px; font-size: .92rem; }
.legal-note { margin-top: 25px; padding: 19px 22px; border-left: 3px solid var(--water); background: #edf1ef; color: #4e5855; font-size: .82rem; }

.explain-section { padding: 100px 0; }
.section-heading { max-width: 750px; text-align: center; margin: 0 auto 50px; }
.section-heading h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.section-heading p { color: var(--muted); }
.explain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.explain-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.explain-grid article > span { color: var(--fire); font-family: var(--serif); font-size: 1.4rem; }
.explain-grid h3 { margin: 13px 0 8px; font-family: var(--serif); font-size: 1.55rem; }
.explain-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.root-cta { padding: 72px 0; background: var(--charcoal); color: var(--cream); }
.cta-layout { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.root-cta h2 { margin-bottom: 0; max-width: 700px; color: var(--cream); font-size: clamp(2.4rem, 5vw, 4rem); }
.cta-button { flex: 0 0 auto; padding: 15px 25px; }
.check-footer { padding: 25px 0; background: #1e1f1c; color: #cfc8ba; font-size: .78rem; }
.check-footer .check-wrap { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 900px) {
  .check-hero { padding: 66px 0 76px; }
  .hero-layout { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .trust-row { justify-content: center; }
  .result-grid, .vehicle-grid { grid-template-columns: 1fr; }
  .explain-grid { grid-template-columns: 1fr; }
  .cta-layout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .check-wrap { width: min(100% - 28px, 1160px); }
  .back-link { font-size: 0; }
  .back-link::after { content: "Terug"; font-size: .86rem; }
  .hero-copy h1 { font-size: clamp(2.8rem, 16vw, 4rem); }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .check-card { padding: 25px 20px; }
  .vehicle-facts { grid-template-columns: 1fr; }
  .metric-list div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .metric-list dd { text-align: left; }
  .check-footer .check-wrap { flex-direction: column; }
}
