/* Cardbrokers huisstijl
   Layout: zwarte kopbalk met wit woordmerk, witte pagina's, rood alleen op badge, primaire knop en "2 SELL"/"4 SALE"-tags (max 10% van het oppervlak).
   Rood #C8102E haalt 5,9:1 op wit (WCAG AA). Niet gebruiken voor kleine tekst op donker. */
:root {
  --red: #C8102E;
  --red-deep: #A30D25;
  --red-tint: #FBE9EC;
  --ink: #111111;
  --ink-2: #3D3D42;
  --ink-3: #6B6B72;
  --line: #E3E3E6;
  --paper: #FFFFFF;
  --surface: #F3F3F4;
  --surface-2: #E9E9EB;
  --ok: #1E7A46;
  --ok-tint: #E4F3EA;
  --warn: #9A5B00;
  --warn-tint: #FFF3DF;
  --header: #111111;
  --header-fg: #FFFFFF;
  --font-display: "Montserrat", "Arial Black", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --max: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --red: #E8405A; --red-deep: #C8102E; --red-tint: #3A1119;
    --ink: #F2F2F3; --ink-2: #C9C9CE; --ink-3: #9A9AA3; --line: #2E2E33;
    --paper: #141416; --surface: #1C1C1F; --surface-2: #26262B;
    --ok: #5BC587; --ok-tint: #12301E; --warn: #E8B45A; --warn-tint: #3A2A0E;
    --header: #0A0A0B; --header-fg: #FFFFFF; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --red: #E8405A; --red-deep: #C8102E; --red-tint: #3A1119;
  --ink: #F2F2F3; --ink-2: #C9C9CE; --ink-3: #9A9AA3; --line: #2E2E33;
  --paper: #141416; --surface: #1C1C1F; --surface-2: #26262B;
  --ok: #5BC587; --ok-tint: #12301E; --warn: #E8B45A; --warn-tint: #3A2A0E;
  --header: #0A0A0B; --header-fg: #FFFFFF; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--header); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(2.5rem, 4vw, 4.5rem); }
.section.alt { background: var(--surface); }
.stack { display: grid; gap: 1rem; }
.stack-l { display: grid; gap: 1.75rem; }
.prose { max-width: 68ch; display: grid; gap: 1rem; }
.prose h2 { margin-top: 1rem; }
.prose h3 { margin-top: 0.5rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.35rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--surface); }
.table-wrap { overflow-x: auto; }

/* Topbar + header */
.topbar { background: var(--red); color: #fff; font-size: 0.85rem; font-weight: 600; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; justify-content: center; padding-block: 0.4rem; }
.topbar span { white-space: nowrap; }
@media (max-width: 600px) { .topbar span:nth-child(3) { display: none; } .topbar .wrap { gap: 0.2rem 1rem; font-size: 0.8rem; } }
.header { background: var(--header); color: var(--header-fg); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--header-fg); font-family: var(--font-display); font-weight: 800; letter-spacing: 0.04em; font-size: 1.05rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav { margin-left: auto; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.nav a { color: var(--header-fg); text-decoration: none; padding: 0.5rem 0.7rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,0.12); }
.nav a.cta { background: var(--red); }
.nav a.cta:hover { background: var(--red-deep); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,0.35); color: #fff; padding: 0.45rem 0.7rem; border-radius: 6px; font: inherit; }
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; padding-bottom: 0.75rem; }
  .nav.open { display: flex; }
  .header .wrap { flex-wrap: wrap; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.25rem; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-wa { background: #25D366; color: #073b1b; }
.btn-wa:hover { filter: brightness(0.95); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 5vw, 5rem); }
.hero .wrap { display: grid; gap: 2rem; grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: min(100%, 360px); border-radius: 50%; box-shadow: 0 20px 60px rgba(0,0,0,0.18); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art img { width: min(60%, 260px); } }
.tag { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.14em; padding: 0.3rem 0.6rem; border-radius: 4px; }
.tag-red { background: var(--red); color: #fff; }
.tag-ink { background: var(--ink); color: var(--paper); }
.tag-white { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.75rem; }
.trust div { background: var(--surface); border-radius: var(--radius); padding: 0.9rem 1rem; display: grid; gap: 0.15rem; }
.trust strong { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.trust span { color: var(--ink-3); font-size: 0.9rem; }

/* Tiles / cards */
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 0.5rem; align-content: start; text-decoration: none; color: inherit; }
.tile:hover { border-color: var(--ink); }
.tile .big { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--red); line-height: 1; }
.tile h3 { font-size: 1.05rem; }
.tile p { color: var(--ink-2); font-size: 0.95rem; }
.section.alt .tile { background: var(--paper); }

/* Steps */
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 1.25rem 1.25rem 1.25rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 0.4rem; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--red); line-height: 1; }
.step strong { font-size: 1.05rem; }
.step em { font-style: normal; color: var(--ink-3); font-size: 0.85rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.9rem; font-weight: 600; }
.chip.no { background: var(--red-tint); border-color: transparent; color: var(--red-deep); }
.chip.ok { background: var(--ok-tint); border-color: transparent; color: var(--ok); }

/* Compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; }
.compare th, .compare td { padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { background: var(--surface); font-weight: 700; }
.compare td.us { background: var(--ok-tint); font-weight: 600; }
.compare td.them { color: var(--ink-2); }

/* FAQ */
.faq { display: grid; gap: 0.5rem; max-width: 72ch; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.2rem 1rem; background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 700; padding: 0.7rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-family: var(--font-display); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 0.9rem; color: var(--ink-2); }

/* Calculator */
.calc { display: grid; gap: 1.5rem; grid-template-columns: 1.3fr 0.9fr; align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 1.25rem; }
.calc-group { display: grid; gap: 0.6rem; }
.calc-group h3 { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.calc-group h3 small { font-family: var(--font-body); font-weight: 500; color: var(--ink-3); font-size: 0.85rem; }
.field { display: grid; gap: 0.3rem; min-width: 0; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select { font: inherit; padding: 0.6rem 0.7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%; min-width: 0; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.row-grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.rows { display: grid; gap: 0.5rem; }
.row { display: grid; gap: 0.5rem; grid-template-columns: 2fr 1fr 1fr auto; align-items: end; }
.row.sealed { grid-template-columns: 2fr 1fr 0.7fr auto; }
.row.graded { grid-template-columns: 2fr 1fr 1fr auto; }
@media (max-width: 600px) { .row, .row.sealed, .row.graded { grid-template-columns: 1fr 1fr; } .row .remove { grid-column: span 2; } }
.remove { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 0.55rem 0.7rem; cursor: pointer; color: var(--ink-3); font: inherit; }
.remove:hover { color: var(--red); border-color: var(--red); }
.add { justify-self: start; background: none; border: 1px dashed var(--ink-3); border-radius: 8px; padding: 0.5rem 0.9rem; cursor: pointer; font: inherit; font-weight: 600; color: var(--ink-2); }
.add:hover { border-color: var(--ink); color: var(--ink); }
.result { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 1rem; }
.result .label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #BDBDC4; font-weight: 700; }
.result .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.result .amount small { font-size: 1rem; font-weight: 600; color: #BDBDC4; }
.result .credit { background: rgba(255,255,255,0.08); border-radius: 8px; padding: 0.8rem 1rem; display: grid; gap: 0.2rem; }
.result .credit .amount { font-size: 1.6rem; }
.result .breakdown { display: grid; gap: 0.3rem; font-size: 0.9rem; color: #D7D7DC; }
.result .breakdown div { display: flex; justify-content: space-between; gap: 1rem; }
.result .note { font-size: 0.8rem; color: #BDBDC4; }
.result .btn-wa { width: 100%; }
.result .btn-outline { border-color: #fff; color: #fff; width: 100%; }
.result .btn-outline:hover { background: #fff; color: var(--ink); }
.badge-live { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--ok); font-weight: 700; }
.badge-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* Rate card */
.rates { width: 100%; border-collapse: collapse; }
.rates th, .rates td { padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); text-align: left; }
.rates th { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.rates td.pct { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.rates td.pct.credit { color: var(--red); }
@media (max-width: 600px) { .sets-table th:nth-child(2), .sets-table td:nth-child(2), .sets-table th:nth-child(4), .sets-table td:nth-child(4) { display: none; } .sets-table td, .sets-table th { padding: 0.55rem 0.4rem; font-size: 0.9rem; } }

/* Notices */
.notice { border-left: 4px solid var(--red); background: var(--red-tint); padding: 0.8rem 1rem; border-radius: 0 8px 8px 0; font-size: 0.95rem; }
.notice.ok { border-color: var(--ok); background: var(--ok-tint); }
.notice.warn { border-color: var(--warn); background: var(--warn-tint); }

/* Product/set cards */
.products { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.product { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: var(--paper); }
.product .img { aspect-ratio: 1; background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.product .img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.product .ph { width: 100%; height: 100%; display: grid; align-content: end; gap: 0.2rem; padding: 0.9rem; background: linear-gradient(160deg, var(--ink) 0%, var(--ink) 55%, var(--red) 55%, var(--red) 100%); color: #fff; }
.product .ph b { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.1; text-wrap: balance; }
.product .ph span { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.product .ph i { position: absolute; }
@media (max-width: 600px) { .products { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; } .product .body { padding: 0.65rem; } .product .btn { padding: 0.55rem 0.6rem; font-size: 0.85rem; } .product .ph b { font-size: 0.9rem; } }
.product .body { padding: 0.9rem; display: grid; gap: 0.35rem; align-content: start; }
.product .type { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.product .name { font-weight: 700; line-height: 1.3; }
.product .price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.status { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); justify-self: start; }
.status.pre { background: var(--warn-tint); color: var(--warn); }
.status.in { background: var(--ok-tint); color: var(--ok); }
.status.out { background: var(--red-tint); color: var(--red-deep); }
.set-head { display: grid; gap: 1rem; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 700px) { .set-head { grid-template-columns: 1fr; } }
.stats { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.stat { background: var(--surface); border-radius: 8px; padding: 0.6rem 0.9rem; display: grid; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.stat span { font-size: 0.75rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.chase { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.chase .card { aspect-ratio: 2.5 / 3.5; border-radius: 8px; display: grid; align-content: end; padding: 0.7rem; font-size: 0.85rem; border: 1px solid var(--line); position: relative; overflow: hidden; background: var(--surface); }
.chase .card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 46%; background: linear-gradient(160deg, var(--ink) 0%, var(--ink) 60%, var(--red) 60%, var(--red) 100%); }
.chase .card::after { content: "★"; position: absolute; top: 0.6rem; right: 0.7rem; color: #fff; opacity: 0.85; font-size: 1.1rem; }
.chase .card > * { position: relative; }
.chase .card b { font-size: 0.95rem; }
.chase .card .r { color: var(--ink-3); }

/* Store page */
.store-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .store-grid { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { font-weight: 700; }
.map-link { display: block; background: var(--surface); border-radius: var(--radius); padding: 1rem; text-decoration: none; }

/* Footer */
.footer { background: var(--header); color: #D7D7DC; padding-block: 2.5rem 1.5rem; margin-top: 2rem; font-size: 0.925rem; }
.footer .wrap { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 800px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer .wrap { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid #2E2E33; padding-top: 1rem; font-size: 0.8rem; color: #9A9AA3; display: grid; gap: 0.3rem; }

/* Sticky WhatsApp */
.wa-float { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; background: #25D366; color: #073b1b; text-decoration: none; font-weight: 700; padding: 0.75rem 1rem; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); display: inline-flex; gap: 0.5rem; align-items: center; }
.wa-float svg { width: 20px; height: 20px; }

/* Breadcrumb */
.crumbs { font-size: 0.85rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 0.4rem; padding-block: 0.9rem; }
.crumbs a { color: var(--ink-3); }
.crumbs span::before { content: "›"; margin-right: 0.4rem; }

/* Review strip */
.review { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.stars { color: #F2B01E; letter-spacing: 0.05em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 0.6rem 1rem; z-index: 50; font-weight: 700; }
.skip:focus { left: 16px; top: 16px; }
.quote { border-left: 4px solid var(--red); padding: 0.4rem 1rem; color: var(--ink-2); font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.split { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.article-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.article-list a { text-decoration: none; }
.article-list h3 { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.article-list a:hover h3 { text-decoration-color: var(--red); }

@media (max-width: 600px) { .psa-table th:nth-child(4), .psa-table td:nth-child(4) { display: none; } }
