/* De Buurman Verhuurt — PS5-verhuur */

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --surface: #f5f5f7;
  --white: #ffffff;
  --accent: #0071e3;
  --accent-hover: #0068d1;
  --accent-soft: rgba(0, 113, 227, 0.07);
  --accent-ring: rgba(0, 113, 227, 0.22);
  --danger: #c4001a;
  --danger-ring: rgba(196, 0, 26, 0.16);
  --green: #1d7a36;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --radius-card: 32px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 280ms;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}

button, input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Achtergrond: licht en fris ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--white);
}
.backdrop::after {
  /* Houdt de zone achter de kop rustig wit. */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 62% 38% at 50% 14%, #fff 45%, rgba(255, 255, 255, 0) 100%);
}
.backdrop__img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  max-width: none;
  height: 100%;
  aspect-ratio: 800 / 1141;
  object-fit: cover;
  object-position: 50% 50%;
  /* Maakt de lichte ondergrond van de foto wit en fris. */
  filter: brightness(1.12) contrast(1.04) saturate(0.9);
  /* Zachte overgang naar de witte pagina. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 30%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 30%, #000 60%);
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 900ms var(--ease), transform 1600ms var(--ease);
}
.backdrop__img.is-loaded { opacity: 1; transform: none; }

/* ---------- Podium ---------- */

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 56px) clamp(48px, 6vw, 80px);
}

.hero {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
  animation: rise-in 800ms var(--ease) both;
}
.brand {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.hero__title {
  margin: 0;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero__title span {
  display: block;
  color: var(--faint);
}

.card {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-card);
  box-shadow:
    0 40px 90px -36px rgba(0, 0, 0, 0.28),
    0 14px 34px -16px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  animation: rise-in 800ms var(--ease) both 120ms;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Product (links) ---------- */

.product {
  background: linear-gradient(180deg, #fbfbfd 0%, var(--surface) 100%);
  border-right: 1px solid var(--line-soft);
  padding: 32px 36px;
}
.product__inner {
  position: sticky;
  top: 32px;
}

.cover {
  position: relative;
  margin: 0 auto 28px;
  width: min(100%, 224px);
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 30px 50px -24px rgba(0, 0, 0, 0.45),
    0 8px 18px -8px rgba(0, 0, 0, 0.18);
}
.cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms var(--ease);
}
.cover.is-loaded .cover__img { opacity: 1; }
.cover.is-fallback .cover__img { display: none; }

.cover__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px 20px;
  color: #fff;
  background:
    radial-gradient(90% 60% at 80% 18%, rgba(255, 196, 120, 0.85) 0%, rgba(255, 196, 120, 0) 60%),
    radial-gradient(80% 70% at 15% 85%, rgba(64, 32, 120, 0.9) 0%, rgba(64, 32, 120, 0) 70%),
    linear-gradient(160deg, #ff7a6b 0%, #e2457a 38%, #7a2f8f 70%, #241a4f 100%);
}
.cover__placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}
.cover__ps {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
}
.cover__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* Vergelijking kopen vs. huren */

.compare {
  margin: 0 0 24px;
}
.compare__title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.022em;
}
.compare__rows { display: grid; gap: 16px; }
.compare__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.compare__label { font-size: 14px; font-weight: 600; }
.compare__amount {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.compare__bar {
  height: 8px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}
.compare__bar span {
  display: block;
  height: 100%;
  width: var(--w, 100%);
  border-radius: inherit;
  transform-origin: left center;
  animation: bar-grow 1100ms var(--ease) both 500ms;
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.compare__row--buy .compare__bar span { background: #a1a1a6; }
.compare__row--buy .compare__amount { color: var(--muted); }
.compare__row--rent .compare__bar span { background: var(--accent); }
.compare__row--rent .compare__amount { color: var(--accent); }
.compare__detail {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.compare__note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--faint);
}

/* Voordelen */

.benefits {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 10px;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.benefit__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 1px 2px rgba(0, 0, 0, 0.04);
}
.benefit__icon svg { width: 18px; height: 18px; }
.benefit.is-accent .benefit__icon { color: var(--accent); }

/* ---------- Formulier (rechts) ---------- */

.checkout {
  position: relative;
  padding: 30px 40px 30px;
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--ink-2);
  background: var(--line-soft);
}

.step {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}
.step__title {
  padding: 0;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

/* Optiekaarten */

.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.option {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.option:hover { box-shadow: inset 0 0 0 1px #a1a1a6; }
.option:active { transform: scale(0.992); }

.option__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 14px 16px 13px;
  border-radius: inherit;
  cursor: pointer;
}
.option__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.option__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.option__radio {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.option__radio::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transform: scale(0.4);
  opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.option__line {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--faint);
}
.option__price {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.option__status {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--danger);
}
.option__more {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-size: 13px;
}

.option.is-selected {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.option.is-selected .option__radio {
  background-color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.option.is-selected .option__radio::after { transform: scale(1); opacity: 1; }
.option:has(.option__input:focus-visible) {
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px var(--accent-ring);
}

.option.is-disabled {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.option.is-disabled:active { transform: none; }
.option.is-disabled .option__body { cursor: not-allowed; }
.option.is-disabled .option__title,
.option.is-disabled .option__line,
.option.is-disabled .option__radio { opacity: 0.45; }

/* Segmented control */

.segmented {
  --count: 3;
  --index: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--count), minmax(0, 1fr));
  margin-top: 12px;
  padding: 4px;
  border-radius: 14px;
  /* zelfde achtergrond als de linkerkolom (.product) */
  background: linear-gradient(180deg, #fbfbfd 0%, var(--surface) 100%);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.segmented__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / var(--count));
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.06);
  transform: translateX(calc(var(--index) * 100%));
  transition: transform 380ms var(--ease), width 380ms var(--ease);
}
.segmented__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 9px 4px 8px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}
.segmented__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.segmented__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color var(--dur) var(--ease);
}
.segmented__price {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.segmented__deal {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--white);
}
.segmented__item.is-selected .segmented__label { color: var(--ink); }
.segmented__item:has(input:focus-visible) {
  box-shadow: 0 0 0 3px var(--accent-ring), inset 0 0 0 1.5px var(--accent);
}

/* Velden */

.fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.field { min-width: 0; grid-column: span 12; }
.field--half,
.field--street { grid-column: span 6; }
.field--email { grid-column: span 12; }
.fields.has-phone .field--email,
.field--phone { grid-column: span 6; }
.field--postcode,
.field--city { grid-column: span 3; }
.field--phone:not([hidden]) { animation: rise-in 360ms var(--ease) both; }

.field label {
  display: block;
  margin: 0 0 5px 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.field input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 16px; /* voorkomt inzoomen op iOS */
  outline: none;
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: #a1a1a6; }
.field input:hover { box-shadow: inset 0 0 0 1px #a1a1a6; }
.field input:focus {
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-ring);
}
.field input[aria-invalid="true"] {
  background: #fffafa;
  box-shadow: inset 0 0 0 1.5px var(--danger);
}
.field input[aria-invalid="true"]:focus {
  box-shadow: inset 0 0 0 1.5px var(--danger), 0 0 0 4px var(--danger-ring);
}

.error {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: var(--danger);
  opacity: 0;
  transform: translateY(-3px);
  transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease), transform var(--dur) var(--ease), margin var(--dur) var(--ease);
}
.error.is-visible {
  max-height: 60px;
  margin-top: 6px;
  opacity: 1;
  transform: none;
}
.field .error { margin-left: 2px; }

/* Inklappen (telefoon, borgregel) */

.row-collapse {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 360ms var(--ease), opacity 280ms var(--ease), margin 360ms var(--ease);
}
.row-collapse > * { min-height: 0; overflow: hidden; }
.row-collapse[data-open="true"] {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* Akkoord */

.terms { margin: 0 0 18px; }
.check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 7px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.check input::after {
  content: "";
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: scale(0.4);
  opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.check input:checked {
  background: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.check input:checked::after { transform: scale(1); opacity: 1; }
.check input:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-ring); }
.check input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--danger); }
.check label { font-size: 15px; cursor: pointer; }
.terms .error { padding-left: 34px; }

.linkbtn {
  padding: 2px 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
  border-radius: 4px;
}
.linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Overzicht */

.summary {
  margin: 0 0 14px;
  padding: 0;
}
.summary__list { margin: 0; }
.row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  font-size: 14px;
}
.row dt { color: var(--ink-2); }
.row dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.row__sub {
  display: block;
  font-size: 12px;
  color: var(--faint);
}
.row--total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.row--total dt { font-weight: 600; color: var(--ink); }
.row--total dd {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.is-included { color: var(--green); font-weight: 500; }

.summary__note {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
  color: var(--faint);
}

.savings {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--green);
}
.savings svg { flex: none; }
.savings strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tick { animation: tick 420ms var(--ease); }
@keyframes tick {
  from { opacity: 0.2; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* Betaalknop */

.pay {
  position: relative;
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(0, 113, 227, 0.7);
  transition: background-color var(--dur) var(--ease), transform 180ms var(--ease), box-shadow var(--dur) var(--ease);
}
.pay:hover { background: var(--accent-hover); }
.pay:active { transform: scale(0.985); }
.pay:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--accent-ring), 0 10px 24px -12px rgba(0, 113, 227, 0.7); }

.ideal {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.pay__spinner {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  opacity: 0;
  transition: opacity 200ms ease;
}
.pay.is-loading { cursor: progress; }
.pay.is-loading .pay__spinner { opacity: 1; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.fineprint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: var(--faint);
}

/* Bevestiging */

.form { transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
.form.is-leaving { opacity: 0; transform: translateY(-8px); }

.confirm {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0;
  animation: rise-in 600ms var(--ease) both;
}
.confirm[hidden] { display: none; }
.confirm__mark {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}
.confirm__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--line-soft);
  border-top-color: var(--accent);
  animation: spin 1.1s linear infinite;
}
.ideal--lg {
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.confirm__title {
  margin: 0 0 12px;
  max-width: 18ch;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  outline: none;
}
.confirm__text { margin: 0 0 20px; max-width: 40ch; color: var(--ink-2); }
.confirm__amount { margin: 0 0 32px; font-size: 17px; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); font-weight: 400; }

.btn-secondary,
.btn-primary {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), transform 160ms var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-secondary { background: var(--line-soft); color: var(--ink); }
.btn-secondary:hover { background: #dcdce1; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary:active,
.btn-primary:active { transform: scale(0.98); }
.btn-secondary:focus-visible,
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--accent-ring); }

/* Dialogen (meer info, voorwaarden) */

.dialog {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.35);
}
.dialog::backdrop {
  background: rgba(245, 245, 247, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.dialog[open] { animation: dialog-in 360ms var(--ease); }
.dialog[open]::backdrop { animation: fade-in 360ms var(--ease); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.dialog__inner { padding: 28px 28px 24px; }
.dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.dialog__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.badge + .dialog__title { margin-top: 10px; }
.iconbtn {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--line-soft);
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.iconbtn:hover { background: #dcdce1; }
.iconbtn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--accent-ring); }

.dialog__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.dialog__list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.dialog__list li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230071e3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat,
    var(--accent-soft);
}
.dialog__list strong { color: var(--ink); font-weight: 600; }
.dialog__foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Credit */

.credit {
  align-self: flex-end;
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}
.credit a {
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 2px;
}
.credit a:hover { text-decoration: underline; text-underline-offset: 2px; }
.credit a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (min-width: 901px) {
  .credit {
    position: fixed;
    right: 16px;
    bottom: 10px;
    margin: 0;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.75);
  }
}

/* ---------- Responsief ---------- */

@media (max-width: 1080px) {
  .product { padding: 28px 26px; }
  .checkout { padding: 28px 30px; }
}

@media (max-width: 900px) {
  .backdrop__img {
    width: 100%;
    height: 62vh;
    top: auto;
    bottom: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  }
  .stage { justify-content: flex-start; padding: 40px 16px 48px; }
  .card {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }
  .product {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 24px 28px;
  }
  .product__inner {
    position: static;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    grid-template-areas:
      "cover compare"
      "benefits benefits";
    column-gap: 28px;
    align-items: center;
  }
  .cover { grid-area: cover; width: 150px; margin: 0; }
  .cover__title { font-size: 38px; }
  .compare { grid-area: compare; margin: 0; }
  .benefits {
    grid-area: benefits;
    margin-top: 22px;
    padding-top: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }
  .checkout { padding: 26px 28px 26px; }
}

@media (max-width: 560px) {
  .stage { padding-top: 32px; }
  .hero { margin-bottom: 24px; }
  .brand { margin-bottom: 10px; font-size: 13px; }
  .hero__title { font-size: 34px; }
  .card { border-radius: 24px; }
  .product { padding: 20px 20px; }
  .product__inner {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
  }
  .cover { width: 96px; border-radius: 8px; }
  .cover__placeholder { padding: 8px 9px 10px; }
  .cover__ps { font-size: 8px; padding: 2px 5px; }
  .cover__title { font-size: 25px; }
  .compare__title { font-size: 17px; margin-bottom: 12px; }
  .compare__rows { gap: 10px; }
  .compare__top { margin-bottom: 5px; }
  .compare__label { font-size: 13px; }
  .compare__amount { font-size: 14px; }
  .compare__bar { height: 6px; }
  .compare__detail { display: none; }
  .compare__note { margin-top: 10px; font-size: 11px; }
  .benefits { margin-top: 18px; padding-top: 16px; gap: 10px 12px; }
  .benefit { font-size: 13px; gap: 9px; }
  .benefit__icon { width: 30px; height: 30px; }
  .benefit__icon svg { width: 17px; height: 17px; }

  .checkout { padding: 22px 20px 22px; }
  .options { gap: 10px; }
  .option__body { padding: 13px 13px 12px; }
  .option__title { font-size: 15px; }
  .option__more { right: 12px; }
  .segmented__label { font-size: 14px; }
    .field--street,
  .field--email,
  .fields.has-phone .field--email,
  .field--phone { grid-column: span 12; }
  .field--postcode { grid-column: span 5; }
  .field--city { grid-column: span 7; }
  .dialog__inner { padding: 24px 20px 20px; }
  .dialog__foot { flex-direction: column-reverse; }
  .dialog__foot button { width: 100%; }
}

@media (max-width: 380px) {
  .options { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
}

/* ---------- Minder beweging ---------- */

@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;
  }
  .backdrop__img { transform: none; }
  .confirm__ring { border-top-color: var(--line-soft); }
}

/* hidden-attribuut wint altijd van display-regels (rijen, velden, notities) */
[hidden] { display: none !important; }

/* iDEAL | Wero-logo in de knop en de bevestiging */
.ideal img { display: block; height: 28px; width: auto; }
.ideal--lg img { height: 30px; }

/* Remote Play: optionele controller */
.addon {
  margin-top: 14px;
}
.addon label {
  font-size: 15px;
  color: var(--ink);
}
.addon__sub {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}
/* Het iDEAL | Wero-lockup heeft zijn eigen gele vlak: geen extra wit kader eromheen */
.ideal, .ideal--lg { padding: 0; background: none; border-radius: 4px; overflow: hidden; }
/* Controller-keuze staat onder de voorwaarden: ruimte tot het overzicht */
.addon { margin: 4px 0 24px; }

/* ---------- Betalen: meldingen (geannuleerd, fout) ---------- */

.notice {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  animation: rise-in 420ms var(--ease) both;
}
.error--pay { text-align: center; }

/* ---------- Bedankpagina (zelfde stijl als het formulier) ---------- */

.card--single {
  max-width: 560px;
  grid-template-columns: minmax(0, 1fr);
}
.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 36px;
}
.thanks__mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(29, 122, 54, 0.08);
}
.thanks .summary { width: 100%; margin-bottom: 22px; text-align: left; }
.thanks .step { width: 100%; margin-bottom: 26px; text-align: left; }
.thanks .step__title { margin: 0 0 14px; }
.thanks .dialog__list { margin: 0; }
.thanks .btn-secondary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
