/* PolySans is het lettertype uit het Brand Identity Kit van DROP. */
@font-face {
  font-family: PolySans;
  src: url("fonts/PolySans-Neutral.c353f974b0d9.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: PolySans;
  src: url("fonts/PolySans-Median.1aed04a6f431.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: PolySans;
  src: url("fonts/PolySans-Median.1aed04a6f431.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: PolySans;
  src: url("fonts/PolySans-Bulky.e995429c0813.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* De groene versie blijft het huidige kleurvoorstel. theme-drop gebruikt het oranje en blauw uit het Brand Identity Kit. */
:root {
  --bg: #f3eee6;
  --bg-deep: #e7dfd2;
  --paper: #fffdf9;
  --ink: #1c1915;
  --muted: #5e584f;
  --line: #e4d9cc;
  --accent: #0f5c56;
  --accent-strong: #0b3f3b;
  --accent-soft: #e7f3f0;
  --warm: #8c4e32;
  --wash: rgba(15, 92, 86, 0.08);
  --base-tint: #f4faf8;
  --selected-bg: #f7fbfa;
  --signature-bg: #f7fbfa;
  --danger: #8d2d2d;
  --danger-bg: #f8ece8;
  --shadow: 0 16px 40px rgba(70, 48, 22, 0.07);
  --radius: 16px;
  --sans: PolySans, "Avenir Next", "Segoe UI", sans-serif;
  --serif: PolySans, "Iowan Old Style", Palatino, Georgia, serif;
  --measure: 1180px;
  --side: 324px;
}
body.theme-drop {
  --accent: #FF4600;
  --accent-strong: #0019C8;
  --accent-soft: #EBEDFB;
  --warm: #FF4600;
  --wash: rgba(255, 70, 0, 0.08);
  --base-tint: #FFE9E0;
  --selected-bg: #FFF4EE;
  --signature-bg: #FFF4EE;
  --line: #e4e2f0;
  --bg: #f6f5fb;
  --bg-deep: #ebe9f6;
  --paper: #ffffff;
  --shadow: 0 16px 40px rgba(0, 25, 200, 0.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
#contact { scroll-margin-top: 112px; }
.service[id] { scroll-margin-top: 112px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, var(--wash), transparent 28rem),
    var(--bg);
  font: 17px/1.55 var(--sans);
}
button, input, select { font: inherit; color: inherit; }
a { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--paper);
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.top { background: rgba(255, 253, 249, 0.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 3; }
body.theme-drop .top { background: #ffffff; box-shadow: inset 0 -3px 0 #FF4600; }
.top-inner, .wrap, .sheet, .messages {
  width: min(var(--measure), 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.top-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--accent); font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: 0.04em; }
.brand svg { width: 28px; height: 28px; }
.quote-id { margin: 0; color: var(--muted); font-size: 14px; }
.quote-id strong { display: block; color: var(--ink); font-size: 15px; letter-spacing: 0.01em; }
.top-nav { margin-left: auto; display: flex; gap: 16px; }
.top-nav a { text-decoration: none; font-size: 15px; }
.messages { margin-top: 16px; }
.message { margin: 0 0 8px; padding: 12px 14px; background: var(--paper); border-radius: 12px; border: 1px solid var(--line); }
.message.error { background: var(--danger-bg); color: var(--danger); }
.banner, .sheet, .panel, .service, .choice-block, .summary, .service-description, .review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.wrap { padding-top: 28px; padding-bottom: 72px; }
.banner { padding: 14px 16px; background: #f8f1e4; border-color: #ead9bc; margin-bottom: 22px; }
.kicker { margin: 0 0 8px; color: var(--warm); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.hero-copy { padding: 28px 28px 24px; min-width: 0; }
.hero-copy .lead { margin-bottom: 0; }
.event-name { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); line-height: 1.15; }
.hero-photo { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: center center; }
.base-name { margin: 2px 0 0; color: var(--ink); font-size: 18px; }
.base-fields { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 16px; }
.base-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.base-fields input { width: 9rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; font: inherit; font-weight: 500; }
.base-fields input[type="date"] { width: 12.5rem; }
.base-fields .hint { margin: 6px 0 0; color: var(--muted); font-size: 14px; font-weight: 400; }
.price-stack { margin-left: auto; flex: none; text-align: right; }
.price-stack .price { margin: 0; }
.calc { display: block; margin-top: 2px; color: var(--muted); font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0; }
h1, h2, h3, .service-title, .facts dd, .money-row span:first-child { font-family: var(--serif); overflow-wrap: break-word; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
.facts dd, .money-row span:first-child, .service-title { font-family: var(--serif); }
h1 { font-size: clamp(30px, 8vw, 56px); line-height: 1.08; margin: 0 0 14px; }
h2 { font-size: 30px; margin: 0 0 8px; }
h3, .service-title { font-size: 20px; margin: 0; }
.lead { max-width: 42rem; color: var(--muted); font-size: 18px; }
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 22px 0 8px; padding: 0; }
.facts div { min-width: 0; background: var(--accent-soft); border-radius: 12px; padding: 12px; }
.facts dt { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-strong); }
.facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 18px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--side); gap: 28px; align-items: start; margin-top: 26px; }
.panel, .service, .choice-block, .review-card, .sheet { padding: 22px; }
.base { background: linear-gradient(180deg, var(--base-tint), var(--paper) 40%); }
.base-head, .service-top, .choice { display: flex; gap: 12px; align-items: flex-start; }
.base-head { justify-content: space-between; }
.price { margin: 0 0 0 auto; flex: none; color: var(--accent-strong); font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.base .price { font-family: var(--serif); font-size: 17px; font-weight: 650; }
.included { margin: 8px 0 0; padding-left: 18px; }
.section { margin-top: 34px; }
.service, .choice-block { margin: 12px 0; }
.service input, .choice input { width: 1.15rem; height: 1.15rem; margin-top: 4px; accent-color: var(--accent); flex: none; }
.service label, .choice { cursor: pointer; }
.choice { width: 100%; }
.choice-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.choice-title { min-width: 0; }
.choice-title .badge { margin-top: 0; margin-left: 8px; vertical-align: middle; }
.choice-summary, .fine, .service .service-description { color: var(--muted); font-size: 15px; }
.service-description { position: static; padding: 20px; }
.badge {
  display: none;
  align-items: center;
  width: fit-content;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.service:has(input:checked), .choice-block:has(input:checked) {
  border-color: var(--accent);
  background: var(--selected-bg);
  box-shadow: inset 4px 0 0 var(--accent);
}
.service:has(input:checked) .badge, .choice:has(input:checked) .badge { display: inline-flex; }
.qty { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0 32px; font-size: 15px; }
.qty input { width: 7rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: white; }
details { margin: 12px 0 0 32px; }
summary { cursor: pointer; color: var(--accent-strong); }
.note { color: var(--muted); font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.review-current .terms-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.review-signing .signer-fields { display: grid; gap: 14px; width: 100%; max-width: 42rem; margin: 18px 0 22px; }
.review-signing .signer-fields .qty { margin: 0; }
.review-signing .signer-fields input { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 48px; padding: 12px 14px; }
.review-current .review-actions { align-items: center; margin-bottom: 16px; }
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  text-decoration: none;
  cursor: pointer;
}
.button.primary, button.primary { background: var(--accent); border-color: var(--accent); color: white; }
button:disabled { opacity: 0.55; cursor: default; }
.summary { position: sticky; top: 92px; padding: 20px; }
.money-row, .total-row { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; font-size: 15px; }
.money-row > span:first-child, .total-row > span:first-child { min-width: 0; }
.money-row > span:last-child, .total-row > span:last-child, .grand, .mobile-bar strong { white-space: nowrap; }
.money-row > span:last-child, .total-row > span:last-child { flex: none; }
.total-row { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 650; }
.total-row.plain, .total-row.plain span { font-weight: 400; }
.grand-row, .grand-row span { font-weight: 650; }
.grand { font-family: var(--sans); font-size: 15px; font-weight: 650; margin: 4px 0 12px; }
.rustig .summary h2 { white-space: nowrap; }
.rustig .facts dd { font-size: clamp(13px, 1.05vw, 18px); overflow-wrap: anywhere; }
.rustig .facts { max-width: 100%; }
.suboption { margin: 12px 0 0 28px; padding: 12px; border-left: 3px solid var(--accent); background: var(--paper); border-radius: 0 12px 12px 0; }
.suboption .badge { margin-left: 8px; }
.summary .button, .summary button { width: 100%; margin-top: 8px; }
.error-box { background: var(--danger-bg); color: var(--danger); padding: 12px; border-radius: 12px; }
.blockers { padding-left: 18px; }
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 4;
}
.mobile-bar .button { white-space: nowrap; }
dialog { width: min(440px, calc(100% - 24px)); border: 0; border-radius: 16px; padding: 0; }
dialog::backdrop { background: rgba(28, 25, 21, 0.45); }
#choice-sheet .grand { text-align: right; }
.sheet.narrow { margin: 40px auto 64px; }
.signature {
  margin: 22px 0;
  padding: 18px 18px 8px;
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  background: var(--signature-bg);
}
.signature .eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.signature h2 { margin: 6px 0 8px; }
.link-card { margin-top: 20px; }
.contact { margin-top: 28px; }
.footer-note { margin-top: 28px; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .service[id] { scroll-margin-top: 160px; }
  /* Alle vijf offertegegevens blijven op mobiel zichtbaar zonder zijwaarts scrollen. */
  .rustig .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 18px 0 18px; overflow: visible; }
  .rustig .facts div { padding: 10px; }
  .rustig .facts div:first-child { grid-column: auto; }
  .rustig .facts dt { font-size: clamp(10px, 2.7vw, 12px); letter-spacing: 0; line-height: 1.3; overflow-wrap: anywhere; }
  .rustig .facts dd { font-size: 16px; line-height: 1.4; }
  .rustig .facts div:nth-child(4) { grid-column: 1 / -1; grid-row: 3; }
  .rustig .facts div:nth-child(5) { grid-column: 2; grid-row: 2; }

  .hero { grid-template-columns: 1fr; }
  .hero-photo { height: 220px; min-height: 0; object-position: center center; }
  .hero-copy { padding: 22px 18px 18px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .mobile-bar { display: flex; }
  body.has-bar { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
  .top-nav { gap: 10px; margin-left: 0; }
}
@media (max-width: 560px) {
  .facts div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .service-top, .choice, .base-head, .mobile-bar { flex-wrap: wrap; }
  .price, .price-stack { margin-left: 0; text-align: left; }
  h1 { font-size: 28px; }
  .facts dd { font-size: 16px; }
  .top-nav { width: 100%; }
  .mobile-bar .button { width: 100%; }
  body.has-bar { padding-bottom: calc(148px + env(safe-area-inset-bottom)); }
}

/* Compacte bevestiging na afgerond akkoord. */
.accepted-card { max-width: 760px; }
.acceptance-details { margin-top: 28px; }

/* Eén datum is standaard; de einddatum verschijnt alleen bij meerdere dagen. */
[data-event-end][hidden] { display:none !important; }
.base-fields .event-dates { display:flex; flex-direction:column; gap:10px; }
.base-fields label.date-choice { flex-direction:row; align-items:center; gap:8px; font-weight:400; }
.base-fields label.date-choice input { width:18px; height:18px; padding:0; accent-color:var(--accent); }

.party-address { display: block; margin-top: 4px; font-family: var(--sans); font-size: 0.88em; line-height: 1.4; font-weight: 400; overflow-wrap: anywhere; }
