:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --bg: #faf5ec;
  --surface: #ffffff;
  --text: #2b2118;
  --muted: #6d5f52;
  --accent: #9c3d1e;
  --accent-text: #ffffff;
  --accent-soft: #f3dfd3;
  --border: #e6dccb;
  --board: #b98a5a;
  --board-dark: #8f6538;
  --ok: #2f6b3a;
  --err: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c1713; --surface: #271f19; --text: #f3ebe0; --muted: #b5a695;
    --accent: #e08a62; --accent-text: #1c1713; --accent-soft: #3a2a20; --border: #3b3128;
    --board: #a07445; --board-dark: #7a5430; --ok: #7fcf8d; --err: #ff8a80;
  }
}
:root[data-theme="dark"] {
  --bg: #1c1713; --surface: #271f19; --text: #f3ebe0; --muted: #b5a695;
  --accent: #e08a62; --accent-text: #1c1713; --accent-soft: #3a2a20; --border: #3b3128;
  --board: #a07445; --board-dark: #7a5430; --ok: #7fcf8d; --err: #ff8a80;
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, "Times New Roman", serif; line-height: 1.15; margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.site { padding: 18px 0; border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.logo { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.logo .punt { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover, nav a[aria-current] { color: var(--accent); }
.hero { padding: 56px 0 36px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); max-width: 16ch; margin: 0 auto 14px; }
.hero p { color: var(--muted); max-width: 52ch; margin: 0 auto 24px; font-size: 1.05rem; }
.btn {
  display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  background: var(--accent); color: var(--accent-text); padding: 12px 22px; border-radius: 999px;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
section { padding: 36px 0; }
section > .wrap > h2 { font-size: 1.8rem; margin-bottom: 6px; }
.sub { color: var(--muted); margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
}
.art {
  background: var(--accent-soft); display: grid; place-items: center;
  aspect-ratio: 4 / 3; overflow: hidden; flex: none;
}
.board {
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--board), var(--board-dark));
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0,0,0,.18);
  font-size: 1.9rem; letter-spacing: 4px; text-align: center; line-height: 1.5;
}
.board.xl { width: 220px; height: 220px; font-size: 2.1rem; }
.card h3 { min-height: 2.3em; }
.card ul { flex: 1; }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 1.35rem; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 11px; font-size: .82rem; font-weight: 600; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .94rem; }
.card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 8px; }
.price { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.step b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-text); margin-bottom: 8px; }
.step p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
footer { border-top: 1px solid var(--border); padding: 24px 0 32px; color: var(--muted); font-size: .9rem; text-align: center; }

dialog {
  border: 0; border-radius: 20px; padding: 0; width: min(560px, calc(100% - 24px));
  max-height: calc(100% - 24px); background: var(--surface); color: var(--text);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
dialog::backdrop { background: rgba(20,12,6,.55); }
.dlg { padding: 22px; overflow-y: auto; }
.dlg h2 { font-size: 1.5rem; margin-bottom: 4px; }
.dlg .close { float: right; background: none; border: 0; font-size: 1.6rem; color: var(--muted); cursor: pointer; line-height: 1; }
label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 5px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 80px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } nav { gap: 4px 14px; } nav a { font-size: .9rem; } }
.err { color: var(--err); font-size: .85rem; margin-top: 4px; min-height: 1em; }
.note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.done { text-align: center; padding: 10px 0; }
.done .check { font-size: 2.6rem; }
.summary { text-align: left; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin: 16px 0; font-size: .95rem; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.summary span:first-child { color: var(--muted); }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details .antwoord { color: var(--muted); }
.faq details .antwoord > :first-child { margin-top: 10px; }
.faq details .antwoord > :last-child { margin-bottom: 0; }

/* Losse pagina's (gemaakt in /admin) */
.pagina { padding-top: 44px; padding-bottom: 56px; }
.pagina h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 18px; }
.inhoud { max-width: 68ch; font-size: 1.04rem; }
.inhoud h2 { font-size: 1.5rem; margin: 28px 0 8px; }
.inhoud h3 { font-size: 1.2rem; margin: 22px 0 6px; }
.inhoud p, .inhoud ul { margin: 0 0 14px; }
.inhoud a, .antwoord a { color: var(--accent); }
.hidden { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.melding { color: var(--muted); grid-column: 1 / -1; text-align: center; padding: 30px 0; }
.btn:disabled { opacity: .6; cursor: wait; }
