/*
 * Alkers & Cijfers. Bouwt voort op brand/theme-tokens.css.
 * Salie (#6F9376) is alleen accent of illustratie, nooit kleine tekst of witte knoplabels.
 * Links en focus gebruiken donkere salie (#46694E).
 */
:root {
  color-scheme: light;
  --rh-ink: var(--rh-text, #11261b);
  --rh-ink-soft: #536157;
  --rh-blue-dark: #264631;
  --rh-blue-tint: #e8eee7;
  --rh-orange-tint: #e8eee7;
  --rh-control-border: #536157;
  --rh-success: #0f6b3a;
  --rh-success-bg: #e7f4ec;
  --rh-danger: #8a352b;
  --rh-danger-bg: #fdeceb;
  --rh-warning: #8a4b00;
  --rh-warning-bg: #fff4e5;
  --rh-shadow: none;
  --rh-shadow-lg: none;
  --gutter: 16px;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
  scroll-padding-bottom: 6rem;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--rh-off-white);
  color: var(--rh-ink);
  font-family: var(--rh-font);
  font-size: 1rem;
  line-height: 1.65;
}

main { flex: 1 0 auto; }
main:focus { outline: none; }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0 0 0.5em;
  color: var(--rh-blue);
  font-family: var(--rh-display, Georgia, "Times New Roman", serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.625rem, 1.5rem + 3vw, 4.5rem); }
h2 { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); }
h3 {
  font-family: var(--rh-font);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

p, ul, ol, dl { margin: 0 0 1em; }

a {
  color: var(--rh-muted-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--rh-blue); }

:focus-visible {
  outline: 3px solid var(--rh-focus);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--rh-blue);
  color: #fff;
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--rh-content-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose { max-width: 42rem; }
.muted { color: var(--rh-ink-soft); }
.small { font-size: 0.9rem; }
.nowrap { white-space: nowrap; }
.amount { font-variant-numeric: tabular-nums; white-space: nowrap; }

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: currentColor;
}

/* ---------- Bovenbalk ---------- */
.topbar {
  background: var(--rh-warm-light);
  border-bottom: 1px solid var(--rh-border);
  font-size: 0.875rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.5rem;
  padding-block: 0.4rem;
}
.topbar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 32px;
  color: var(--rh-ink);
  font-weight: 650;
  text-decoration: none;
}
.topbar__contact a:hover { color: var(--rh-blue); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--rh-surface);
  border-bottom: 1px solid var(--rh-border);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem 2rem;
  padding-block: 0.85rem;
}
.site-logo { display: inline-block; }
.site-logo img { width: min(260px, 62vw); height: auto; }
.site-nav__list {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.1rem 0.35rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  color: var(--rh-ink);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover { color: var(--rh-blue); border-bottom-color: var(--rh-border); }
.site-nav a[aria-current="page"] { color: var(--rh-blue); border-bottom-color: var(--rh-orange); }
.site-header__cart { gap: 0.5rem; }
.site-header__cart[aria-current="page"] { box-shadow: 0 0 0 3px var(--rh-orange); }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: 0.35rem;
  border-radius: 999px;
  background: #fff;
  color: var(--rh-blue);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 859px) {
  .site-header__inner { grid-template-columns: 1fr auto; padding-block: 0.6rem 0; }
  .site-logo img { height: 42px; }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    border-top: 1px solid var(--rh-warm);
  }
  .site-nav__list { justify-content: flex-start; flex-wrap: wrap; gap: 0.15rem 1rem; }
  .site-nav a { padding-block: 0.65rem 0.5rem; }
  .nav-extra {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- Knoppen, badges, meldingen ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--rh-action);
  border-radius: var(--rh-radius-button);
  background: var(--rh-action);
  color: var(--rh-on-action);
  font: 700 0.9375rem/1.4 var(--rh-font);

  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.button:hover { background: var(--rh-blue-dark); border-color: var(--rh-blue-dark); color: var(--rh-on-action); text-decoration: none; }
.button--secondary { background: transparent; color: var(--rh-blue); }
.button--secondary:hover { background: var(--rh-blue-tint); border-color: var(--rh-blue); color: var(--rh-blue); }
.button--small { min-height: 40px; padding: 0.45rem 1.1rem; font-size: 0.95rem; }
.button--block { width: 100%; }
.button:disabled,
.button[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
.button[aria-busy="true"] { cursor: progress; }

.link-button {
  min-height: 24px;
  padding: 0.2rem 0;
  border: 0;
  background: none;
  color: var(--rh-blue);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.link-button:hover { color: var(--rh-blue-dark); text-decoration-thickness: 2px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}
.badge--demo { background: var(--rh-orange); color: var(--rh-ink); }     /* 4,7:1 */
.badge--neutral { background: var(--rh-warm); color: var(--rh-ink); }
.badge--success { background: var(--rh-success-bg); color: var(--rh-success); }
.badge--warning { background: var(--rh-warning-bg); color: var(--rh-warning); }
.badge--danger { background: var(--rh-danger-bg); color: var(--rh-danger); }
.badge--info { background: var(--rh-blue-tint); color: var(--rh-blue); }

.notice {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--rh-border);
  border-left: 4px solid var(--rh-blue);
  border-radius: 10px;
  background: var(--rh-surface);
}
.notice > :last-child { margin-bottom: 0; }
.notice__title { margin-bottom: 0.25rem; font-weight: 750; }
.notice--demo { border-color: #f3c7a3; border-left-color: var(--rh-orange); background: var(--rh-orange-tint); }
.notice--error { border-color: #f1b8b3; border-left-color: var(--rh-danger); background: var(--rh-danger-bg); }
.notice--success { border-color: #a9d5b8; border-left-color: var(--rh-success); background: var(--rh-success-bg); }
.notice--warning { border-color: #efc98f; border-left-color: #b86e00; background: var(--rh-warning-bg); }
.notice .button { margin-top: 0.75rem; }

/* Prijsnotitie uit de backendcatalogus (bijv. voorlopige tarieven): rustig maar goed leesbaar. */
.price-note { margin: 0 0 1rem; color: var(--rh-ink-soft); font-size: 0.95rem; }
.card .price-note { margin: 1rem 0 0; }

/* Alleen als de backend een testbetaling meldt: rustig, duidelijk, geen alarmkleur. */
.test-note {
  margin: 1rem 0 0;
  padding: 0.6rem 0.85rem;
  border-left: 4px solid var(--rh-blue);
  border-radius: 8px;
  background: var(--rh-blue-tint);
  color: var(--rh-ink);
  font-size: 0.95rem;
  font-weight: 650;
}
.status-card .test-note { margin-bottom: 0.5rem; }

.loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--rh-ink-soft);
}
.spinner {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  border: 2px solid var(--rh-blue-tint);
  border-top-color: var(--rh-blue);
  border-radius: 50%;
  animation: rh-spin 0.9s linear infinite;
}
@keyframes rh-spin { to { transform: rotate(360deg); } }

/* ---------- Secties ---------- */
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--warm { background: var(--rh-warm-light); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head > :last-child { margin-bottom: 0; }
.eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--rh-ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lead { color: var(--rh-ink-soft); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); }

.page-header {
  padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--rh-warm-light);
  border-bottom: 1px solid var(--rh-border);
}
.page-header h1 { margin-bottom: 0.4rem; font-size: clamp(2rem, 1.4rem + 1.4vw, 3rem); }
.page-header .lead { max-width: 48rem; margin-bottom: 0; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
  color: var(--rh-ink-soft);
  font-size: 0.9rem;
}
.breadcrumb li + li::before { content: "›"; margin-right: 0.35rem; }

.card {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-card);
  box-shadow: var(--rh-shadow);
}
.card > :last-child { margin-bottom: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---------- Home ---------- */
.hero { background: var(--rh-off-white); }
.hero__layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem);
}
.hero__copy { max-width: 40rem; }
.hero h1 { margin: 0.4rem 0 1rem; }
.hero h1 em { font-style: normal; color: var(--rh-muted-blue); }
.hero__art {
  display: grid;
  place-items: center;
  min-height: 22rem;
  border-radius: 160px 160px 12px 12px;
  background: var(--rh-warm-light);
  overflow: hidden;
}
.hero__art img { width: min(240px, 55%); height: auto; }
@media (max-width: 850px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__art { min-height: 16rem; max-width: 30rem; }
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.choice-card h2 { margin-bottom: 0.75rem; }
.choice-card p { color: var(--rh-ink-soft); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-card);
  box-shadow: var(--rh-shadow);
}
.service-card::before {
  content: "";
  width: 36px;
  height: 4px;
  margin-bottom: 1rem;
  border-radius: 2px;
  background: var(--rh-orange);
}
.service-card__title { margin-bottom: 0.4rem; font-size: 1.25rem; overflow-wrap: anywhere; hyphens: auto; }
.service-card__summary { flex-grow: 1; color: var(--rh-ink-soft); }
.service-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 750;
}
.service-card__price .per { color: var(--rh-ink-soft); font-weight: 500; }
.service-card__link { margin-top: auto; font-weight: 700; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps > li {
  padding: 1.5rem;
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-card);
  counter-increment: step;
}
.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border: 2px solid var(--rh-orange);
  border-radius: 50%;
  color: var(--rh-blue);
  font-weight: 800;
}
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0; color: var(--rh-ink-soft); }

.split {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.split__media {
  display: grid;
  place-items: center;
  min-height: 18rem;
  border-radius: 120px 120px 12px 12px;
  background: var(--rh-warm-light);
}
.split__media img {
  width: min(200px, 55%);
  height: auto;
  object-fit: contain;
}

.contact-cta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem 1.75rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--rh-blue);
  color: var(--rh-on-action);
  border-radius: var(--rh-radius-card);
  box-shadow: var(--rh-shadow);
}
.contact-cta__photo { width: 72px; height: auto; }
.contact-cta h2 { margin-bottom: 0.3rem; color: var(--rh-on-action); font-size: clamp(1.75rem, 1.3rem + 1vw, 2.4rem); }
.contact-cta p { margin: 0; color: var(--rh-sage-light, #b8ceb9); }
.contact-cta .button { background: var(--rh-on-action); color: var(--rh-blue); border-color: var(--rh-on-action); }
.contact-cta .button:hover { background: var(--rh-warm-light); color: var(--rh-blue); border-color: var(--rh-warm-light); }
.contact-cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 960px) { .contact-cta { grid-template-columns: auto 1fr auto; } }
@media (max-width: 959px) { .contact-cta__actions { grid-column: 1 / -1; } }
@media (max-width: 479px) {
  .contact-cta { grid-template-columns: 1fr; }
  .contact-cta__photo { width: 72px; height: 72px; }
}

/* ---------- Diensten en maandkeuze ---------- */
.order-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) {
  .order-layout { grid-template-columns: minmax(0, 1fr) 22.5rem; }
  .order-layout__aside { position: sticky; top: 1.25rem; }
}

.option-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.option-list__heading { margin: 1.5rem 0 0.75rem; font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.55rem); }
.option-list__heading:first-child { margin-top: 0; }
.option-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-card);
  box-shadow: var(--rh-shadow);
  scroll-margin-top: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.option-card.is-selected { border-color: var(--rh-blue); box-shadow: 0 0 0 1px var(--rh-blue), var(--rh-shadow); }
.option-card.is-target { box-shadow: 0 0 0 3px var(--rh-orange), var(--rh-shadow); }
.option-card__title { margin: 0 0 0.25rem; font-size: 1.2rem; overflow-wrap: anywhere; hyphens: auto; }
.option-card__summary { margin: 0; color: var(--rh-ink-soft); }
.option-card__info { display: inline-block; margin-top: 0.4rem; font-size: 0.9rem; }
.option-card__price { display: grid; justify-items: end; align-content: start; gap: 0.3rem; text-align: right; }
.option-card__amount { font-size: 1.15rem; font-weight: 800; }
.option-card__per { color: var(--rh-ink-soft); font-size: 0.9rem; }
.option-card__controls {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rh-warm);
}
.option-card__subtotal { margin: 0; font-weight: 700; }
.option-card__unavailable { margin: 0; color: var(--rh-ink-soft); }
@media (max-width: 559px) {
  .option-card { grid-template-columns: 1fr; padding: 1.1rem 1.1rem 1.25rem; }
  .option-card__price { justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; align-items: center; gap: 0.5rem; }
}

.field { display: grid; gap: 0.35rem; }
.field label, .field .label { font-size: 0.95rem; font-weight: 650; }
.select, .input {
  min-height: 44px;
  min-width: 11.5rem;
  padding: 0.55rem 2.5rem 0.55rem 0.85rem;
  border: 1px solid var(--rh-control-border);
  border-radius: 10px;
  background-color: #fff;
  color: var(--rh-ink);
  font: inherit;
}
.select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--rh-blue) 50%),
    linear-gradient(135deg, var(--rh-blue) 50%, transparent 50%);
  background-position: calc(100% - 19px) 52%, calc(100% - 13px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.input { padding-right: 0.85rem; }
.select:hover, .input:hover { border-color: var(--rh-blue); }
.input[aria-invalid="true"] { border-color: var(--rh-danger); box-shadow: 0 0 0 1px var(--rh-danger); }

.summary {
  padding: 1.5rem;
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-card);
  box-shadow: var(--rh-shadow);
}
.summary > :last-child { margin-bottom: 0; }
.summary__title { margin-bottom: 1rem; font-size: 1.3rem; }
.summary__lines { display: grid; gap: 0.75rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.summary__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.1rem 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rh-warm);
}
.summary__line-name { font-weight: 700; overflow-wrap: anywhere; }
.summary__line-calc { grid-column: 1; color: var(--rh-ink-soft); font-size: 0.9rem; }
.summary__line-amount { grid-column: 2; grid-row: 1; font-weight: 700; text-align: right; }
.summary__line .link-button { grid-column: 1 / -1; justify-self: start; }
.summary__empty { color: var(--rh-ink-soft); }
.summary__total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin: 0 0 0.35rem;
  font-weight: 750;
}
.summary__total-amount { color: var(--rh-blue); font-size: 1.65rem; font-weight: 800; }
.summary__note { margin: 0 0 1.25rem; color: var(--rh-ink-soft); font-size: 0.875rem; }

.mobile-total {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem calc(var(--gutter) * -1) 0;
  padding: 0.75rem var(--gutter);
  background: var(--rh-surface);
  border-top: 1px solid var(--rh-border);
  box-shadow: 0 -6px 18px rgb(22 48 79 / 10%);
}
.mobile-total p { margin: 0; line-height: 1.3; }
.mobile-total strong { display: block; color: var(--rh-blue); font-size: 1.2rem; }
@media (min-width: 960px) { .mobile-total { display: none; } }

/* ---------- Besteloverzicht ---------- */
.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: stepper;
  font-size: 0.9rem;
}
.stepper li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--rh-ink-soft);
  counter-increment: stepper;
}
.stepper li::before {
  content: counter(stepper);
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--rh-control-border);
  border-radius: 50%;
  background: var(--rh-surface);
  color: var(--rh-ink);
  font-size: 0.8rem;
  font-weight: 800;
}
.stepper li.is-done::before { content: "✓" / ""; background: var(--rh-blue); border-color: var(--rh-blue); color: #fff; }
.stepper li[aria-current="step"] { color: var(--rh-ink); font-weight: 750; }
.stepper li[aria-current="step"]::before { border-color: var(--rh-orange); color: var(--rh-blue); }

.stack { display: grid; gap: 1.5rem; }

.order-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.order-table caption { margin-bottom: 0.75rem; font-weight: 750; text-align: left; font-size: 1.1rem; }
.order-table th,
.order-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--rh-warm);
  text-align: left;
  vertical-align: top;
}
.order-table th:first-child, .order-table td:first-child { padding-left: 0; }
.order-table th:last-child, .order-table td:last-child { padding-right: 0; }
.order-table thead th {
  border-bottom: 2px solid var(--rh-border);
  color: var(--rh-ink-soft);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.order-table .num { text-align: right; white-space: nowrap; }
.order-table tbody th { font-weight: 400; }
/* break-word (niet anywhere): houdt woorden heel bij het bepalen van de kolombreedte. */
.order-table__name { display: block; font-weight: 700; overflow-wrap: break-word; hyphens: auto; }
.order-table tbody th { min-width: 9rem; }
.order-table__meta { display: block; color: var(--rh-ink-soft); font-size: 0.9rem; }
.order-table tfoot th,
.order-table tfoot td { padding-top: 1rem; border-bottom: 0; font-size: 1.1rem; font-weight: 800; }
.order-table tfoot td { color: var(--rh-blue); font-size: 1.35rem; }
@media (max-width: 639px) {
  .order-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .order-table, .order-table tbody, .order-table tfoot, .order-table tr, .order-table th, .order-table td { display: block; }
  .order-table tbody tr { padding-block: 0.75rem; border-bottom: 1px solid var(--rh-border); }
  .order-table tbody th,
  .order-table tbody td { padding: 0.15rem 0; border: 0; }
  .order-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
  }
  .order-table tbody td::before { content: attr(data-label); color: var(--rh-ink-soft); font-size: 0.9rem; text-align: left; }
  .order-table tfoot tr { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .order-table tfoot th, .order-table tfoot td { padding: 1rem 0 0; }
}

.facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.45rem 1.5rem;
  margin: 0 0 1rem;
}
.facts dt { color: var(--rh-ink-soft); }
.facts dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
@media (max-width: 479px) {
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 0.6rem; }
}

.terms-links { display: grid; gap: 0.35rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.terms-links a { display: inline-flex; align-items: center; gap: 0.35rem; }

.checkbox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  font-weight: 600;
}
.checkbox input {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.15rem 0 0;
  accent-color: var(--rh-blue);
  cursor: pointer;
}
.checkbox input[aria-invalid="true"] { outline: 2px solid var(--rh-danger); outline-offset: 2px; }
.field-error {
  margin: 0.5rem 0 0;
  color: var(--rh-danger);
  font-size: 0.95rem;
  font-weight: 650;
}

.pay-card .button--block { margin-top: 1.25rem; }
.request-status { margin-top: 1rem; }
.request-status:empty { display: none; }
.provider-note { margin: 1rem 0 0; color: var(--rh-ink-soft); font-size: 0.875rem; }

.demo-panel {
  padding: 1.1rem 1.25rem;
  border: 2px dashed var(--rh-orange);
  border-radius: var(--rh-radius-card);
  background: var(--rh-orange-tint);
}
.demo-panel > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 750;
  cursor: pointer;
}
.demo-panel[open] > summary { margin-bottom: 0.75rem; }
.demo-panel p { font-size: 0.925rem; }
.demo-panel fieldset { margin: 0 0 1rem; padding: 0; border: 0; }
.demo-panel legend { margin-bottom: 0.5rem; font-weight: 700; }
.radio-list { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.radio-list label { display: flex; gap: 0.6rem; align-items: flex-start; cursor: pointer; }
.radio-list input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--rh-blue); }
.choice-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.demo-panel .field { margin-bottom: 1rem; }
.demo-panel .checkbox { margin-top: 1.1rem; font-weight: 500; }
.demo-panel [role="status"]:not(:empty) { margin: 0.9rem 0 0; }

/* ---------- Advies op maat ---------- */
.card-head,
.quote__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}
.card-head h2 { margin: 0; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); }
.quote__head { align-items: flex-start; }
.quote__head h2 { margin: 0.1rem 0 0; }
.aside-photo {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.stack h2 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); }
.quote__ref { margin: 0; color: var(--rh-ink-soft); font-size: 0.9rem; }
.quote__badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.quote__scope { padding-left: 1.2rem; }
.quote__scope li + li { margin-top: 0.25rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-card {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  padding: 1.5rem;
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-card);
  box-shadow: var(--rh-shadow);
}
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--rh-blue-tint);
  color: var(--rh-blue);
}
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card h2 { margin: 0; font-size: 1.1rem; color: var(--rh-ink); }
.contact-card a { font-size: 1.1rem; font-weight: 750; overflow-wrap: anywhere; }
.contact-card p { margin: 0; color: var(--rh-ink-soft); }

/* ---------- Bedrijfsgegevens ---------- */
.company-card { max-width: 46rem; }
.company-card h2 { margin-bottom: 1rem; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); }
.company-facts { gap: 0.7rem 2rem; font-size: 1.05rem; }
.company-facts dd { font-weight: 650; }
.legal { max-width: 46rem; }
.legal section + section { margin-top: 1.6rem; }
.legal h2 { margin-bottom: 0.35rem; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem); }
.legal p { margin: 0.35rem 0; }

/* ---------- Status ---------- */
.status-wrap { display: grid; gap: 1.5rem; max-width: 48rem; margin-inline: auto; }
.status-card { padding: clamp(1.5rem, 1rem + 3vw, 3rem); }
.status-card h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
.status-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
}
.status-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.status-icon--waiting { background: var(--rh-blue-tint); color: var(--rh-blue); }
.status-icon--paid { background: var(--rh-success-bg); color: var(--rh-success); }
.status-icon--canceled,
.status-icon--expired { background: var(--rh-warm); color: var(--rh-ink); }
.status-icon--failed { background: var(--rh-danger-bg); color: var(--rh-danger); }
.status-icon--unknown,
.status-icon--invalid { background: var(--rh-warning-bg); color: var(--rh-warning); }
.status-icon .spinner { width: 30px; height: 30px; border-width: 3px; }
.status-progress { display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0 0; color: var(--rh-ink-soft); font-size: 0.95rem; }
.status-card .facts { margin-top: 1.5rem; }
.status-card .notice { margin: 1rem 0 0; }

.not-found { max-width: 46rem; margin-inline: auto; }
.not-found__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--rh-blue);
}
.not-found__icon img { width: 30px; height: 30px; }

.prose-wide { max-width: 56rem; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  padding-block: 3.5rem 1.5rem;
  background: var(--rh-blue);
  color: var(--rh-on-action);
}
.site-footer a { color: var(--rh-on-action); }
.site-footer a:hover { color: var(--rh-on-action); }
.site-footer :focus-visible { outline-color: var(--rh-sage-light, #b8ceb9); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 2rem;
}
.site-footer__brand img { width: min(220px, 100%); height: auto; margin-bottom: 1rem; }
.site-footer__brand p { margin: 0; color: var(--rh-on-action); }
.site-footer__brand .muted { color: var(--rh-sage-light, #b8ceb9); }
.site-footer__title {
  margin-bottom: 0.85rem;
  color: var(--rh-on-action);
  font-family: var(--rh-font);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer ul { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 28%);
  color: rgb(255 255 255 / 88%);
  font-size: 0.875rem;
}
.site-footer__bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .topbar, .site-nav, .site-header__cart, .site-footer, .demo-panel, .mobile-total, .actions { display: none !important; }
  body { background: #fff; }
}
