/* ═══════════════════════════════════════════════════════════════════════
   NACHT VAN HET WILD 2026 — Main stylesheet
   Theme: dark wild — ink/gold/cream + Cormorant Garamond + Inter
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --ink:        #0e0f0c;
  --ink-2:      #1a1c18;
  --ink-3:      #252820;
  --gold:       #b08a3e;
  --gold-light: #d4a85a;
  --gold-pale:  #e8d5a3;
  --cream:      #f4f0e8;
  --cream-2:    #e8e4da;
  --dim:        #8a8880;
  --dim-2:      #5a5855;
  --white:      #ffffff;
  --error:      #c0392b;
  --success:    #2d7d46;
  --warn:       #8a6b1a;

  --font-head:  'Cormorant Garamond', Georgia, serif;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.4);
  --shadow-md: 0 4px 24px rgba(0,0,0,.5);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.6);

  --nav-h: 72px;
  --transition: 200ms ease;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }

.label-overline {
  display: block;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-family: var(--font-body);
  color: var(--gold);
  font-weight: 500;
  margin-bottom: .6rem;
}

/* ── Utility ────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.inline-icon { display: inline; vertical-align: text-bottom; margin-right: .2em; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary, .btn-outline, .btn-ghost, .btn-sm {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .75em 1.75em;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 80ms;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: rgba(176,138,62,.1); color: var(--gold-light); }

.btn-ghost {
  background: transparent;
  color: var(--dim);
  border-color: var(--dim-2);
  padding: .6em 1.25em;
}
.btn-ghost:hover { color: var(--cream); border-color: var(--cream); }

/* ── YouTube embed ────────────────────────────────────────────────────── */
.yt-wrap {
  margin-top: 2.5rem;
}
.yt-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--dim);
  margin-bottom: .75rem;
}
.yt-frame-box {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(176,138,62,.25);
  box-shadow: 0 8px 40px rgba(0,0,0,.55);
}
.yt-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.btn-aftermovie {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: 1.75rem;
  padding: .6em 1.25em;
  border: 1px solid rgba(176,138,62,.5);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-aftermovie:hover { background: rgba(176,138,62,.1); border-color: var(--gold); color: var(--gold-light); }

.btn-sm {
  padding: .45em 1em;
  font-size: .78rem;
  background: var(--ink-3);
  color: var(--cream);
  border-color: var(--dim-2);
}
.btn-sm:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: .9em 2.2em; font-size: 1rem; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.site-nav.is-scrolled {
  background: rgba(14,15,12,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(176,138,62,.15);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { height: 44px; width: auto; filter: brightness(1.1); }

/* Audit history button on leden list rows */
.btn-audit { color: #666; }
.btn-audit:hover { color: #e8d9b0; background: rgba(255,255,255,.08) !important; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: var(--cream-2); font-size: .875rem; font-weight: 400; letter-spacing: .04em; }
.nav-link:hover { color: var(--white); }
.nav-cta { margin-left: .5rem; }

/* Authenticated nav additions */
.nav-sep {
  display: inline-block;
  width: 1px; height: 16px;
  background: rgba(176,138,62,.3);
  margin: 0 -.5rem;
  vertical-align: middle;
}
.nav-link--subtle { color: rgba(176,138,62,.7); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.nav-link--subtle:hover { color: var(--gold, #b08a3e); }
.nav-link--admin { color: rgba(176,138,62,.9); }
.nav-mobile .nav-link--subtle { border-top: 1px solid rgba(176,138,62,.15); margin-top: .25rem; padding-top: 1rem; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(14,15,12,.97);
  padding: 1rem var(--gutter);
  border-top: 1px solid rgba(176,138,62,.2);
}
.nav-mobile .nav-link, .nav-mobile .nav-cta { padding: .75rem 0; }
.nav-mobile.is-open { display: flex; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  /* Scale slightly so there is horizontal room to shift the deer,
     then translate left so the deer head sits just left of "NACHT". */
  transform: scale(1.25) translateX(-190px);
  transform-origin: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,15,12,.3) 0%,
    rgba(14,15,12,.55) 50%,
    rgba(14,15,12,.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 4rem;
  max-width: 900px;
}
.hero-super {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-title {
  margin: 0 0 1rem;
  line-height: 1;
}
.hero-logo-img {
  width: clamp(220px, 52vw, 540px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.55));
}
@media (max-width: 480px) {
  .hero-logo-img { width: clamp(180px, 78vw, 320px); }
}
.hero-date {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: var(--cream-2);
  letter-spacing: .06em;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-cta { font-size: 1rem; }
.hero-closed { color: var(--dim); font-style: italic; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.section-dark { background: var(--ink-2); }
.section-title {
  margin: 1rem 0 2rem;
  color: var(--cream);
}
.section-title-sm { font-size: clamp(1.5rem, 3vw, 2.4rem); }

/* ── Event section ──────────────────────────────────────────────────────── */
.event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.event-text p { color: var(--dim); margin-bottom: 1rem; line-height: 1.8; }
.event-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.event-details div { display: flex; gap: 1rem; }
.event-details dt { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; min-width: 80px; }
.event-details dd { color: var(--cream-2); }

.event-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .75rem;
}
.event-img { border-radius: var(--radius-lg); object-fit: cover; width: 100%; }
.event-img-1 { grid-column: 1/3; height: 260px; }
.event-img-2 { height: 180px; }
.event-img-3 { height: 180px; }

@media (max-width: 768px) {
  .event-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .event-img-1 { height: 200px; }
}

/* ── Program ────────────────────────────────────────────────────────────── */
.program-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  border-left: 1px solid rgba(176,138,62,.25);
  padding-left: 0;
  margin-top: 2rem;
}
.program-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0 1.5rem 2rem;
  position: relative;
}
.program-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 1.75rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.program-time {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--gold);
  min-width: 60px;
  line-height: 1.2;
}
.program-body strong { display: block; font-size: 1.05rem; color: var(--cream); margin-bottom: .25rem; }
.program-body p { color: var(--dim); font-size: .9rem; }

/* ── Banner ─────────────────────────────────────────────────────────────── */
.section-banner {
  position: relative;
  height: 340px;
  overflow: hidden;
}
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.banner-overlay { position: absolute; inset: 0; background: rgba(14,15,12,.65); }
.banner-text {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--gutter);
}
.banner-text blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  max-width: 800px;
  line-height: 1.4;
}

/* ── Tickets ────────────────────────────────────────────────────────────── */
.ticket-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 640px) { .ticket-cards { grid-template-columns: 1fr; } }

.ticket-card {
  background: var(--ink-2);
  border: 1px solid rgba(176,138,62,.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ticket-card-sponsor { border-color: rgba(176,138,62,.4); }
.ticket-card:hover { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(176,138,62,.3); }

.ticket-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .2em .7em;
  border-radius: 2px;
  margin-bottom: .5rem;
}
.ticket-card h3 { font-size: 2rem; color: var(--cream); }
.ticket-desc { color: var(--dim); font-size: .9rem; line-height: 1.6; }
.ticket-card-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price-main { font-family: var(--font-head); font-size: 2.4rem; color: var(--gold-light); }
.price-label { color: var(--dim); font-size: .85rem; }
.ticket-features { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.ticket-features li { color: var(--cream-2); font-size: .875rem; }
.ticket-note { color: var(--dim); font-size: .8rem; margin-top: 1rem; }
.sales-closed-banner {
  text-align: center;
  padding: 3rem;
  background: var(--ink-2);
  border: 1px solid var(--dim-2);
  border-radius: var(--radius-lg);
  color: var(--dim);
}

/* ── Partners ───────────────────────────────────────────────────────────── */
.partners-intro { color: var(--dim); margin-bottom: 2.5rem; max-width: 600px; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.partner-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.partner-card img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: #080906;
  border-top: 1px solid rgba(176,138,62,.15);
  padding: 4rem 0 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter) 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}
@media (max-width: 680px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-logo { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-tagline { color: var(--dim); font-size: .8rem; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; gap: 1.5rem; } }
.footer-col h4 { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-body); font-weight: 500; margin-bottom: .75rem; }
.footer-col p, .footer-col a { color: var(--dim); font-size: .875rem; line-height: 2; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem var(--gutter);
  text-align: center;
}
.footer-bottom p { color: var(--dim-2); font-size: .75rem; }

/* ═════════════════════════════════════════════════ CHECKOUT SHELL ═══════ */
.checkout-shell {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  background: var(--ink);
}
.checkout-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem var(--gutter);
}
.checkout-content-center { text-align: center; padding-top: 4rem; }
.checkout-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream);
  margin-bottom: .5rem;
}
.checkout-intro { color: var(--dim); margin-bottom: 2.5rem; }

/* Breadcrumb steps */
.checkout-steps {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dim-2);
  font-weight: 500;
}
.step.active { color: var(--gold); }
.step.done { color: var(--dim); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: .7rem;
  font-weight: 600;
}
.step.active .step-num { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.step.done .step-num { background: var(--dim-2); border-color: var(--dim-2); color: var(--ink); }
.step-sep { color: var(--dim-2); font-size: .75rem; }

/* ── Alerts ─────────────────────────────────────────────────────────────── */
.alert {
  padding: .875rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .875rem;
}
.alert-error { background: rgba(192,57,43,.12); border: 1px solid rgba(192,57,43,.4); color: #e88; }

/* ── Product cards (checkout) ───────────────────────────────────────────── */
.product-form { display: flex; flex-direction: column; gap: 2rem; }
.product-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 580px) { .product-cards { grid-template-columns: 1fr; } }

.product-card {
  display: block;
  position: relative;
  cursor: pointer;
}
.product-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.product-card-inner {
  border: 1.5px solid rgba(176,138,62,.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--ink-2);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.product-card:hover .product-card-inner { border-color: var(--gold); }
.product-radio:checked + .product-card-inner {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(176,138,62,.2);
}
.product-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .2em .7em;
  border-radius: 2px;
}
.product-name { font-size: 1.8rem; color: var(--cream); }
.product-desc { color: var(--dim); font-size: .875rem; line-height: 1.7; }
.product-price { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.price-big { font-family: var(--font-head); font-size: 2.2rem; color: var(--gold-light); }
.price-sub { color: var(--dim); font-size: .8rem; }
.price-incl { color: var(--dim-2); font-size: .75rem; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.product-features li { color: var(--cream-2); font-size: .85rem; }

.duo-qty-block { background: var(--ink-3); border: 1px solid rgba(176,138,62,.2); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.qty-row { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; }
.qty-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink-2);
  border: 1px solid var(--dim-2);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: 1.25rem;
  line-height: 1;
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.qty-input {
  width: 56px;
  text-align: center;
  background: var(--ink);
  border: 1px solid var(--dim-2);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: 1rem;
  padding: .45rem;
}
.qty-label { color: var(--dim); font-size: .875rem; }

.product-submit-row { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.submit-hint { color: var(--dim); font-size: .8rem; }

/* ── Seat map ───────────────────────────────────────────────────────────── */
.seat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.legend-item { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--dim); }
.legend-dot {
  width: 14px; height: 14px;
  border-radius: 3px;
}
.legend-vrij { background: #2a6e2a; border: 1px solid #3a8e3a; }
.legend-geselecteerd { background: var(--gold); }
.legend-gereserveerd { background: #4a4a1a; border: 1px solid #6a6a2a; }
.legend-verkocht { background: #3a1616; border: 1px solid #5a2a2a; }

.seat-counter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: .75rem 1rem;
  background: var(--ink-2);
  border-radius: var(--radius);
  font-size: .875rem;
}
.seat-counter { color: var(--cream-2); }
.seat-validation { font-size: .875rem; }
.seat-hint { color: var(--dim); }
.seat-ok { color: #4caf50; }
.seat-error { color: #e88; }

/* Live validation bar below counter */
.seat-val-bar {
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  padding: .5rem 1rem;
  border-radius: var(--radius);
  font-size: .875rem;
  margin-bottom: 1.25rem;
  transition: background .2s, border-color .2s;
}
.seat-val-bar:empty { display: none; }
.seat-val-bar--warn {
  background: rgba(176,138,62,.12);
  border: 1px solid rgba(176,138,62,.4);
  color: #d4a84b;
}
.seat-val-bar--ok {
  background: rgba(76,175,80,.12);
  border: 1px solid rgba(76,175,80,.4);
  color: #81c784;
}
.val-warn  { color: #d4a84b; }
.val-ok    { color: #81c784; }
.val-checking { color: var(--dim); font-style: italic; }

.venue-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
/* Stage on the LEFT side */
.venue-layout {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 640px;
}
.stage-side {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  flex-shrink: 0;
  border-right: 2px solid rgba(176,138,62,.45);
  margin-right: 1rem;
}
.stage-label-vert {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
  white-space: nowrap;
}
/* keep old .stage-label for any other usages */
.stage-label {
  text-align: center;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold);
  border-top: 2px solid rgba(176,138,62,.4);
  padding: .4rem 0;
  margin-bottom: 2rem;
}
.venue {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}
.venue-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.row-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: .25rem;
  white-space: nowrap;
  min-width: 20px;
}
/* Block label */
.block-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--dim);
  text-align: center;
  margin-bottom: 4px;
}
/* Visual gap between top and bottom seat rows within a block (duo indicator) */
.seats-row--top   { margin-bottom: 1px; }
.seats-row--bottom { margin-top: 1px; border-top: 1px dashed rgba(255,255,255,.1); padding-top: 2px; }
/* Block spacing */
.venue-block { display: flex; flex-direction: column; align-items: center; }
.block-seats { display: flex; flex-direction: column; gap: 0; }
/* Seat-flexibility notice */
.seat-flex-note {
  font-size: .8rem;
  color: var(--dim);
  margin: .75rem 0 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  line-height: 1.5;
}
.seat-flex-note .inline-icon { flex-shrink: 0; margin-top: 2px; opacity: .6; }
.row-blocks {
  display: flex;
  gap: 1.5rem;
  flex: 1;
  align-items: flex-start;
}
.venue-block {
  display: flex;
  gap: .75rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: .75rem;
}
.venue-table { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.table-label {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--dim-2);
  margin-bottom: .2rem;
}
.table-seats { display: flex; flex-direction: column; gap: 3px; }
.seats-row { display: flex; gap: 3px; }

.seat {
  width: 36px; height: 28px;
  border-radius: 3px;
  font-size: .6rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: transform 80ms, background var(--transition), box-shadow var(--transition);
  cursor: pointer;
  color: var(--cream);
  outline: none;
}
.seat:focus-visible { box-shadow: 0 0 0 2px var(--gold); }

.seat-vrij { background: #1e4d1e; border-color: #2a7a2a; }
.seat-vrij:hover { background: #2a6e2a; transform: scale(1.12); }

.seat-geselecteerd { background: var(--gold) !important; border-color: var(--gold-light) !important; color: var(--ink) !important; transform: scale(1.12); }

.seat-gereserveerd { background: #333318; border-color: #4a4a22; color: #9a9a4a; cursor: not-allowed; }
.seat-verkocht { background: #2a1010; border-color: #4a1a1a; color: #6a3a3a; cursor: not-allowed; }
.seat-geblokkeerd { background: #1a1a1a; border-color: #333; color: #444; cursor: not-allowed; }

/* Read-only venue (bevestiging) — disable all pointer interaction */
.venue-readonly .seat { pointer-events: none; cursor: default; }
.venue-readonly .seat-vrij { transform: none; }
.venue-readonly .seat-vrij:hover { background: #1e4d1e; transform: none; }
.venue-readonly-wrap { margin-bottom: 1rem; }

.seat-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.seat-note { color: var(--dim); font-size: .78rem; margin-top: .75rem; }

/* ── Forms (klantgegevens) ───────────────────────────────────────────────── */
.klant-form { display: flex; flex-direction: column; gap: 2.5rem; }
.form-section {
  border: 1px solid rgba(176,138,62,.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: var(--ink-2);
}
.form-section-title {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.form-section-opt { color: var(--dim); font-weight: 400; font-size: .8rem; text-transform: none; letter-spacing: 0; }
.form-section-desc { color: var(--dim); font-size: .8rem; margin-bottom: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: .35rem; margin-top: 1rem; }
.form-group:first-of-type { margin-top: 0; }
.form-group-sm { max-width: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-label {
  font-size: .8rem;
  font-weight: 500;
  color: var(--cream-2);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.required { color: var(--gold); }

.form-input {
  background: var(--ink-3);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: .9rem;
  padding: .65rem .875rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input::placeholder { color: var(--dim-2); }
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(176,138,62,.15); }
.form-input.is-error { border-color: var(--error); }

.input-with-action { display: flex; gap: .5rem; }
.input-with-action .form-input { flex: 1; }

.field-error { color: var(--error); font-size: .78rem; margin-top: .2rem; }

.vies-result { margin-top: .5rem; font-size: .82rem; }
.vies-ok { color: #4caf50; display: flex; flex-direction: column; gap: .2rem; }
.vies-ok strong { display: block; }
.vies-address { color: var(--dim); font-size: .78rem; }
.vies-error { color: #e88; display: flex; align-items: center; gap: .4rem; }
.vies-warning { color: #c8a840; display: flex; align-items: center; gap: .4rem; }

.same-as-row { flex-direction: row !important; }
.checkbox-label { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .875rem; color: var(--cream-2); }
.checkbox-label input[type="checkbox"] { accent-color: var(--gold); width: 15px; height: 15px; }

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-note { color: var(--dim); font-size: .78rem; margin-top: .5rem; }

/* ── Order summary box ──────────────────────────────────────────────────── */
.order-summary-box {
  background: var(--ink-2);
  border: 1px solid rgba(176,138,62,.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .875rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--dim); }
.summary-val { color: var(--cream-2); text-align: right; }

/* ── Bevestiging ────────────────────────────────────────────────────────── */
.confirm-header { text-align: center; margin-bottom: 2.5rem; }
.confirm-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #2d7d46, #1a5a30);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
  color: var(--white);
}
.confirm-sub { color: var(--dim); margin-top: .4rem; }
.confirm-alert {
  background: rgba(45,125,70,.12);
  border: 1px solid rgba(45,125,70,.35);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--cream-2);
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.confirm-grid { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.confirm-card {
  background: var(--ink-2);
  border: 1px solid rgba(176,138,62,.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.confirm-card-title {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.confirm-dl { display: flex; flex-direction: column; gap: .5rem; }
.confirm-dl > div { display: flex; gap: 1rem; font-size: .875rem; }
.confirm-dl dt { color: var(--dim); min-width: 140px; }
.confirm-dl dd { color: var(--cream-2); flex: 1; }
.confirm-total-row dt, .confirm-total-row dd { font-weight: 600; font-size: 1rem; }
.confirm-total-val { color: var(--gold-light); font-size: 1.2rem !important; font-family: var(--font-head); }
.confirm-footer { display: flex; justify-content: center; }

/* ── Misc ────────────────────────────────────────────────────────────────── */
.closed-icon { font-size: 3rem; margin-bottom: 1rem; }
.error-code { font-family: var(--font-head); font-size: 6rem; color: rgba(176,138,62,.3); line-height: 1; margin-bottom: .5rem; }

/* htmx loading indicator */
.htmx-indicator { opacity: 0; transition: opacity 200ms; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }
