/* ikwilnaardemaan.nl — eigen lettertypen, geen externe requests */
@font-face { font-family: "Archivo Black"; src: url("fonts/ArchivoBlack-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --navy: #0D1230;
  --surface: #161C45;
  --surface-2: #1C2352;
  --line: #2A3060;
  --line-strong: #3A4170;
  --cream: #F4ECDC;
  --text-2: #D6D1E3;
  --muted: #B9B6CF;
  --accent: #FF7A3D;
  --danger: #FF6B6B;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--cream); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cream); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.section { padding-top: 80px; padding-bottom: 40px; }
.band { border-top: 1px solid var(--line); margin-top: 48px; }
.accent { color: var(--accent); }
.muted { color: var(--text-2); }
.small { font-size: 14px; color: var(--muted); }
.center { text-align: center; }
.mono { font-family: var(--mono); }
.grow { flex: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* Header en footer */
.site-header .header-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.logo { font-family: var(--mono); font-weight: 500; font-size: 16px; text-decoration: none; }
.badge { font-size: 12px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 8px; margin-left: 6px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); margin-top: 64px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; padding-top: 40px; padding-bottom: 56px; font-size: 14px; color: var(--muted); }
.disclaimer { max-width: 34rem; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: var(--muted); }

/* Typografie */
.kicker { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.display { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 7vw, 88px); line-height: .98; letter-spacing: -.01em; margin-bottom: 20px; }
.display-md { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.02; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; margin-bottom: 28px; }
.h3 { font-size: 22px; margin: 40px 0 16px; }
.lead { font-size: 20px; color: var(--text-2); max-width: 36rem; }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head .h2 { margin-bottom: 12px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.moon-art { width: 100%; max-width: 420px; }
@media (prefers-reduced-motion: no-preference) {
  .rocket { animation: hover 4s ease-in-out infinite; transform-box: fill-box; }
  @keyframes hover { 0%, 100% { translate: 0 0; } 50% { translate: 4px -6px; } }
}

/* Kaarten en formulieren */
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.signup { max-width: 36rem; display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row > .field { flex: 1 1 180px; }
.field-row > .field-wide { flex: 2 1 240px; }
label { font-size: 14px; font-weight: 600; }
.hint { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=search], select {
  height: 48px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--navy);
  color: var(--cream); padding: 0 14px; font: inherit; width: 100%;
}
select { padding-right: 32px; }
input[aria-invalid=true] { border-color: var(--danger); }
.field-error { color: #FFB3B3; font-size: 14px; margin: 2px 0 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--text-2); cursor: pointer; margin-bottom: 12px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check-inline { margin: 0; align-items: center; }
.check-inline input { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { background: var(--surface-2); border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; }
.notice-error { border: 1px solid var(--danger); }
fieldset { border: 0; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
legend { font-size: 20px; font-weight: 600; padding: 0; margin-bottom: 14px; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: #FF8F5C; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-danger { background: transparent; color: #FFB3B3; border-color: var(--danger); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 18px; }
.link-btn { background: none; border: 0; color: var(--cream); font: inherit; text-decoration: underline; cursor: pointer; padding: 6px 0; align-self: flex-start; min-height: 44px; }
.inline-form { margin: 20px 0; }

/* Statistieken */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; font-family: var(--mono); }
.stat-label { display: block; font-family: var(--mono); font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.stat-value { display: block; font-family: var(--mono); font-size: 26px; }

/* Rasters en tegels */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tile h3 { font-size: 22px; }
.tile p { color: var(--text-2); margin: 0; }
.step { font-family: var(--mono); color: var(--accent); }
.offer { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.offer h3 { font-size: 20px; }
.offer p { margin: 0; }
.offer-highlight { border-color: var(--accent); }
.offer-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: auto; }
.price { font-family: var(--mono); font-size: 22px; margin: 0; }
.per { font-size: 14px; color: var(--muted); }
.qty select { width: auto; min-width: 120px; }
.pill { font-size: 13px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; color: var(--text-2); }
.gift-names { display: flex; flex-direction: column; gap: 10px; }

/* Ticket */
.ticket-top { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 32px; }
.ticket-top .lead { margin-left: auto; margin-right: auto; }
.pass-figure { margin: 24px 0; width: 100%; max-width: 900px; }
.pass-img { width: 100%; border-radius: 12px; }
.ticket-facts { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: center; margin-bottom: 24px; }
.share { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 8px 0 16px; }
.cart-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: var(--surface); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0 12px; position: sticky; bottom: 12px; }
.cart-bar > div { display: flex; flex-direction: column; }
.cart-total { font-family: var(--mono); font-size: 26px; }
.small-links { padding-top: 24px; }

/* Afrekenen */
.checkout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 24px; }
.checkout-form { flex: 999 1 480px; min-width: 0; }
.summary { flex: 1 1 300px; min-width: 0; background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.summary h2 { font-size: 20px; }
.summary-static { margin: 24px 0; }
.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; }
.total-row { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; font-size: 18px; font-weight: 600; }
.vat-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-top: -10px; }
.address { line-height: 1.6; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 600; }
.faq details p { margin: 12px 0 0; color: var(--text-2); max-width: 46rem; }

/* Juridische pagina's */
.legal h2 { font-size: 22px; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.message .lead { margin-bottom: 24px; }

/* Beheer */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { color: var(--muted); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.table .num { text-align: right; font-family: var(--mono); }
.search-form { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.search-form input { flex: 1 1 260px; width: auto; }
.admin-result { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 12px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding-top: 56px; }
  .lead { font-size: 18px; }
  .cart-bar { bottom: 0; border-radius: 12px 12px 0 0; }
}

/* Groei: uitnodigen, doel, moonstars, fonds */
.invite-banner { background: var(--surface-2); border: 1px solid var(--accent); border-radius: 12px; padding: 14px 18px; margin: 0 0 16px; max-width: 36rem; }
.goal-bar { background: var(--surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.goal-numbers { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.goal-count { font-family: var(--display); font-size: clamp(36px, 6vw, 56px); line-height: 1; }
progress.bar { appearance: none; -webkit-appearance: none; width: 100%; height: 16px; border: 0; border-radius: 999px; background: var(--line); overflow: hidden; }
progress.bar::-webkit-progress-bar { background: var(--line); border-radius: 999px; }
progress.bar::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
progress.bar::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
progress.bar-thin { height: 8px; }
.milestones { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.milestone { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.milestone-count { font-size: 18px; color: var(--accent); min-width: 72px; }
.milestone-done { border-color: var(--accent); background: var(--surface); }
.pill-done { border-color: var(--accent); color: var(--accent); font-size: 12px; padding: 2px 8px; }
.stars-layout { display: flex; flex-wrap: wrap; gap: 24px; }
.earn-list { list-style: none; margin: 0; padding: 0; flex: 2 1 380px; display: flex; flex-direction: column; gap: 10px; }
.earn-list li { display: flex; gap: 16px; align-items: center; background: var(--surface); border-radius: 12px; padding: 14px 18px; }
.earn-pts { font-family: var(--mono); font-size: 22px; color: var(--accent); min-width: 44px; }
.ranks { flex: 1 1 240px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.rank-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rank-list li { display: flex; justify-content: space-between; gap: 12px; }
.leaderboard { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line); }
.leaderboard li { display: grid; grid-template-columns: 40px 1fr auto 64px; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.leaderboard li.is-me { background: var(--surface); }
.lb-pos { color: var(--muted); }
.lb-stars { text-align: right; font-size: 18px; color: var(--accent); }
.fund { margin-top: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.fund-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.fund-head h3 { font-size: 20px; }
.fund p { margin: 0; }
.fund-honest { color: var(--text-2); font-size: 15px; }
.invite-card { display: flex; flex-wrap: wrap; gap: 32px; background: var(--surface); border-radius: var(--radius); padding: 28px; }
.invite-copy { flex: 3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.invite-copy .h2 { margin-bottom: 0; }
.invite-copy p { margin: 0; }
.invite-stats { flex: 1 1 220px; display: flex; flex-direction: column; gap: 16px; }
.invite-url { word-break: break-all; }
.share-left { justify-content: flex-start; }
.ledger { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.ledger li { display: flex; justify-content: space-between; gap: 12px; }
.verify-notice { max-width: 640px; text-align: left; }
.verify-notice p { margin: 0 0 4px; }
.ticket-top .notice { margin-top: 8px; }
@media (max-width: 600px) {
  .leaderboard li { grid-template-columns: 28px 1fr 52px; }
  .lb-rank { display: none; }
}

.tip { border-left: 0; background: var(--surface-2); border-radius: 10px; padding: 12px 16px; margin: 0 0 20px; font-size: 15px; color: var(--text-2); max-width: 46rem; }
.tip a { margin-left: 4px; }
