/* ------------------------------------------------------------------ tokens */

:root {
  --bg: #12161D;
  --bg-top: #1C232E;
  --surface: #191F28;
  --surface-raised: #1B212B;
  --surface-sunken: #151A22;
  --surface-hover: #1F252F;

  --line: #242B36;
  --line-soft: #1F252F;
  --line-softer: #1E242E;
  --line-strong: #313A47;
  --line-quiet: #2B333F;
  --line-mid: #39424F;
  --line-bright: #4C5666;

  --fg: #E9EBEF;
  --fg-muted: #A3ABB8;
  --fg-dim: #7F8797;
  --fg-faint: #6E7684;
  --fg-fainter: #5C6472;
  --fg-ghost: #4C5462;

  --accent: #8FB6F0;
  --accent-ink: #0B1220;
  --accent-bg: #16202F;
  --accent-line: #2C3F5C;
  --accent-glow: rgba(143, 182, 240, .28);

  --current: #E1966F;
  --error: #E8917E;

  /* Score per categorie. De drempels komen uit statusOf() in lib/analyze.js:
     vanaf 80 goed, vanaf 40 matig, daaronder slecht. Het groen is nieuw in dit
     palet; blauw was al bezet door de haalbare score en zou hier "goed" en
     "potentieel" door elkaar halen. */
  --score-good: #7FCFA4;
  --score-warn: #E1966F;
  --score-bad: #E4695C;

  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --shell: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

input, button, select, textarea { font-family: inherit; }

/* De navigatie en de knoppen op het resultaatscherm zijn echte links; ze horen
   er niet uit te zien als links maar wel te werken als links. */
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.mono { font-family: var(--mono); }

@keyframes riseA { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes glowA { 0%, 100% { opacity: .35; } 50% { opacity: .85; } }
@keyframes spinA { to { transform: rotate(360deg); } }
/* Kort oplichten van het invoerveld als er nog niets te tonen is. */
@keyframes askA {
  0%, 100% { border-color: var(--line-strong); box-shadow: 0 0 0 0 rgba(143, 182, 240, 0); }
  15% { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(143, 182, 240, .16); }
  60% { border-color: var(--accent); box-shadow: 0 0 0 10px rgba(143, 182, 240, 0); }
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 90% at 50% -10%, var(--bg-top) 0%, var(--bg) 55%);
}

main { flex: 1; }

/* ------------------------------------------------------------------ header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(18, 22, 29, .84);
  backdrop-filter: blur(14px);
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--fg);
}

.brand-name, .brand-sub {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.brand-sub { color: var(--fg-dim); }

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 13.5px;
}

.nav-link {
  display: inline-block;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 13.5px;
  white-space: nowrap;
  color: var(--fg-dim);
  transition: color .16s ease;
}

.nav-link:hover { color: var(--fg); }

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.nav-link.is-active { color: var(--fg); }

/* -------------------------------------------------------------- language */

.lang { position: relative; display: inline-flex; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-quiet);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  background: none;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--fg-muted);
  white-space: nowrap;
  transition: border-color .16s ease, color .16s ease;
}

.lang-btn:hover { border-color: var(--line-bright); color: var(--fg); }
.lang-btn[aria-expanded='true'] { border-color: var(--line-bright); }

.caret {
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--fg-faint);
  border-bottom: 1px solid var(--fg-faint);
  transform: rotate(45deg);
  transition: transform .18s ease;
  display: block;
  margin-bottom: 2px;
}

.lang-btn[aria-expanded='true'] .caret { transform: rotate(-135deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  z-index: 40;
  display: grid;
  gap: 2px;
  animation: riseA .16s ease both;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 9px 11px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--fg-muted);
  text-align: left;
}

.lang-option:hover { background: var(--surface-hover); }
.lang-option.is-active { background: var(--surface-hover); color: var(--fg); }

.lang-code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--fg-faint);
}

/* ------------------------------------------------------------- primitives */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.eyebrow-accent { color: var(--accent); }

.label {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  border: 0;
  padding: 16px 28px;
  text-align: center;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px var(--accent-glow); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: none;
  border: 1px solid var(--line-mid);
  color: var(--fg);
}

.btn-ghost:hover { border-color: var(--line-bright); }

.btn-pill {
  background: none;
  border: 1px solid var(--line-mid);
  color: var(--fg-muted);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
}

.btn-pill:hover { color: var(--fg); border-color: var(--line-bright); }

.btn-block { width: 100%; padding: 15px; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--line-bright);
  transition: color .16s ease, border-color .16s ease;
}

.link-btn:hover { color: var(--accent); border-color: var(--accent); }

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--line-mid);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spinA .7s linear infinite;
  display: inline-block;
  flex: none;
}

.spinner-sm { width: 12px; height: 12px; }

/* -------------------------------------------------------------- screens */

.screen {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 72px 40px 100px;
  animation: riseA .5s ease both;
}

.screen-home {
  padding: 120px 40px 90px;
  text-align: center;
}

/* ------------------------------------------------------------------ hero */

.hero-title {
  margin: 0 auto 22px;
  /* Ruim genoeg dat de kop in twee regels past en de komma het breekpunt wordt;
     bij 820px viel hij in drie regels uiteen en stond 'and' er verweesd bij. */
  max-width: 940px;
  font-size: clamp(38px, 6.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 600;
  text-wrap: balance;
}

.eyebrow-accent + .hero-title { margin-top: 0; }
.screen-home .eyebrow { margin-bottom: 26px; }

.hero-sub {
  margin: 0 auto 48px;
  max-width: 540px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--fg-muted);
}

.scan-form { max-width: 620px; margin: 0 auto; }
.scan-field-wrap { position: relative; }

.scan-glow {
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(143, 182, 240, 0), rgba(143, 182, 240, .5), rgba(143, 182, 240, 0));
  animation: glowA 3.4s ease-in-out infinite;
  filter: blur(7px);
}

.scan-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 8px 8px 8px 20px;
  transition: border-color .16s ease;
}

.scan-field:focus-within { border-color: var(--accent); }
.scan-field.is-asking { animation: askA 1.5s ease-out 2; }

.scan-scheme { font-family: var(--mono); font-size: 14px; color: var(--fg-fainter); }

.scan-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 17px;
  padding: 14px 0;
}

.scan-input::placeholder { color: var(--fg-fainter); }

.scan-submit {
  flex: none;
  padding: 15px 26px;
  white-space: nowrap;
}

.scan-submit[disabled] { opacity: .65; cursor: progress; }
.scan-submit[disabled]:hover { transform: none; box-shadow: none; }

.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--fg-muted);
  animation: riseA .2s ease both;
}

.notice.is-error > span:not(.spinner) { color: var(--error); }

.hero-foot {
  display: flex;
  justify-content: center;
  gap: 42px;
  /* Dichter op het invoerveld: de drie regels horen bij de scan als
     geruststelling, niet als een losse band verderop de pagina. */
  margin-top: 46px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-fainter);
}

/* -------------------------------------------------------------- progress */

.progress-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-quiet);
  border-radius: 16px;
  padding: 26px 26px 22px;
  text-align: left;
  animation: riseA .4s ease both;
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.progress-target {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
}

.progress-target > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-pct { font-family: var(--mono); font-size: 13px; color: var(--accent); flex: none; }

.progress-track {
  height: 3px;
  background: #212833;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 22px;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: width .45s cubic-bezier(.2, .8, .2, 1);
}

.steps { list-style: none; margin: 0; padding: 0; }

.steps li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-softer);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-ghost);
  transition: color .3s ease;
}

.steps li.is-done { color: var(--fg); }
.steps li span:last-child { font-variant-numeric: tabular-nums; }
.steps li .is-good { color: var(--score-good); }
.steps li .is-warn { color: var(--score-warn); }
.steps li .is-bad { color: var(--score-bad); }
.steps li.is-active { color: var(--accent); }

/* ---------------------------------------------------------------- result */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 46px;
  flex-wrap: wrap;
}

.section-head .eyebrow { margin-bottom: 6px; }

.result-url {
  margin: 0;
  font-size: clamp(20px, 3.4vw, 30px);
  font-weight: 600;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.scores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 40px;
}

.score { flex: 1 1 240px; min-width: 200px; }
.delta { flex: 0 0 auto; text-align: center; }

.score-value {
  margin: 0;
  font-size: clamp(76px, 13vw, 132px);
  line-height: .86;
  font-weight: 600;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}

.score-current { color: var(--current); }
.score-potential { color: var(--accent); }

.score-track {
  height: 4px;
  background: #212833;
  border-radius: 2px;
  margin-top: 24px;
  overflow: hidden;
}

.score-bar { height: 100%; width: 0; transition: width .1s linear; }
.score-bar-current { background: var(--current); }
.score-bar-potential { background: var(--accent); }

.delta-pill {
  margin: 0;
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  background: var(--accent-bg);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}

.teaser {
  margin-top: 60px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.teaser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex-wrap: wrap;
}

.teaser-line { font-size: 14.5px; color: var(--fg-muted); }

/* De doorverwijzing naar de volledige audit; de cijfers hiernaast zijn gratis,
   de bevindingen erachter niet. */
.teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  font-size: 13.5px;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .16s ease;
}

.teaser-cta::after {
  content: '→';
  font-size: 14px;
  transition: transform .16s ease;
}

.teaser-cta:hover { color: var(--accent); border-bottom-color: var(--accent); }
.teaser-cta:hover::after { transform: translateX(3px); }

.teaser-grid {
  display: grid;
  /* Zeven categorieën: vier plus drie oogt rustiger dan drie plus drie plus één. */
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}


.teaser-cell {
  background: var(--surface-sunken);
  padding: 22px 24px;
}

.teaser-cat { margin: 0 0 8px; font-size: 13px; color: var(--fg-muted); }
.teaser-score {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  transition: color .3s ease;
}

/* Kleur bevestigt wat het cijfer al zegt; wie kleur niet ziet mist niets. */
.teaser-score.is-good { color: var(--score-good); }
.teaser-score.is-warn { color: var(--score-warn); }
.teaser-score.is-bad { color: var(--score-bad); }

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------- pricing */

.page-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.page-intro {
  margin: 0 0 50px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
}

.table {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.table-head, .table-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.table-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.table-row { border-bottom: 1px solid var(--line-soft); }
.table-row:last-child { border-bottom: 0; }

.table-cell { padding: 22px 26px; }

.th {
  padding: 20px 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-fainter);
}

.th-ours { color: var(--accent); background: var(--accent-bg); }

.cell-label { margin: 0 0 5px; font-size: 15.5px; font-weight: 500; }
.cell-note { margin: 0; font-size: 13px; color: var(--fg-faint); }

.cell-market, .cell-ours { font-family: var(--mono); font-size: 17px; }
.cell-market { color: var(--fg-muted); }
.cell-ours { color: var(--fg); background: #131A25; }

.footnote { margin: 26px 0 0; font-size: 12.5px; color: var(--fg-fainter); }

/* Onder de categorieën: waar deze cijfers vandaan komen en waarom de volledige
   audit tot een ander getal kan komen. */
.result-note { max-width: 640px; line-height: 1.5; margin-top: 20px; }

/* ----------------------------------------------------------------- about */

.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-title {
  margin: 0 0 26px;
  font-size: clamp(30px, 4.4vw, 40px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.prose {
  margin: 0 0 18px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--fg-muted);
}

.prose + .prose { margin-bottom: 34px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.stat { background: var(--surface); padding: 20px; }
.stat-value { margin: 0 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.stat-text { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--fg-faint); }

/* --------------------------------------------------------------- contact */

.contact {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  padding: 32px;
}

.contact-title { margin: 0 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.contact-sub { margin: 0 0 26px; font-size: 14.5px; line-height: 1.6; color: var(--fg-dim); }

.contact-form { display: grid; gap: 14px; margin-top: 22px; }
.field { display: grid; gap: 7px; }

.contact-form input,
.contact-form textarea {
  background: var(--surface-sunken);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--fg);
  font-size: 15px;
  outline: none;
  width: 100%;
  transition: border-color .16s ease;
}

.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--fg-fainter); }
/* De foutrand blijft staan zolang het veld fout is, ook als de cursor erin staat. */
.contact-form .is-invalid, .contact-form .is-invalid:focus { border-color: var(--error); }

/* Uit beeld in plaats van display:none: een bot die op zichtbaarheid let vult
   hem dan alsnog in, en dat is precies wat we willen weten. */
.valstrik {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-error { margin: 0; font-size: 12.5px; color: var(--error); }
.sent { margin: 0; font-size: 13.5px; color: var(--accent); animation: riseA .25s ease both; }
.sent.is-error { color: var(--error); }

/* ---------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-fainter);
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .screen { padding: 56px 22px 80px; }
  .screen-home { padding: 76px 22px 70px; }
  .site-header { padding: 14px 18px; }
  .site-footer { padding: 22px 18px; }
  .hero-foot { gap: 14px 24px; margin-top: 34px; }

  .scan-field { flex-wrap: wrap; padding: 12px; gap: 8px; }
  .scan-scheme { display: none; }
  .scan-input { flex: 1 1 100%; padding: 6px 6px 10px; }
  .scan-submit { flex: 1 1 100%; }

  .scores { gap: 24px; }
  .score { flex: 1 1 100%; }
  .delta { flex: 1 1 100%; text-align: left; }
  .delta-pill { display: inline-block; }

  .stats { grid-template-columns: 1fr; }
  /* Zes categorieën onder elkaar wordt een lange sliert; twee kolommen houdt
     het blok bij elkaar, en vervaagd hoeft de tekst toch niet leesbaar te zijn. */
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }

  .table-head { display: none; }
  .table-row { grid-template-columns: 1fr; }
  .table-cell { padding: 16px 20px; }
  .table-row .cell-market::before,
  .table-row .cell-ours::before {
    content: attr(data-label) ' ';
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fg-fainter);
    margin-right: 10px;
  }
  .cell-ours { background: none; }

  .contact { padding: 24px; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------- aanraakbediening */

/*
 * De navigatie is getekend voor een muisaanwijzer: 13,5px tekst zonder padding
 * is 18px hoog. Op een telefoon is dat geen knop maar een doelwit. Hier groeit
 * het aanraakvlak naar 44px zonder dat de tekst verschuift.
 *
 * Bewust op `pointer: coarse` en niet op schermbreedte: een telefoon in
 * liggende stand is 800px breed en heeft de ruimere vlakken net zo hard nodig,
 * terwijl een smal browservenster op een laptop ze juist niet nodig heeft.
 */
@media (pointer: coarse) {
  /* De belangrijkste conversielink verdient hetzelfde duimoppervlak als de rest. */
  .teaser-cta { min-height: 44px; }
  .nav-link,
  .brand,
  .link-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .lang-btn {
    min-height: 44px;
    padding: 10px 16px;
  }

  .lang-option {
    min-height: 44px;
  }

  .btn-pill {
    min-height: 44px;
    padding: 12px 20px;
  }

  .btn {
    min-height: 48px;
  }

  /* Op smalle schermen wordt de padding van het invoerveld ingekort; zonder
     deze ondergrens blijft er een veld van 38px over. */
  .scan-input,
  .contact-form input {
    min-height: 44px;
  }

  /* Het menu komt verder van de knop af te staan, zodat een duim de knop
     eronder niet per ongeluk raakt bij het sluiten. */
  .lang-menu {
    top: calc(100% + 12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  /* De animatie valt hier weg, dus blijft de rand staan zolang de melding er is. */
  .scan-field.is-asking { border-color: var(--accent); }
}
