/* =====================================================================
   Stijl van de openbare website
   Kleuren: aubergine-inkt op koel wit, pruim als accent, salie voor
   "beschikbaar/gelukt". Lettertype: het systeemlettertype van het
   apparaat (geen externe lettertypes, dus geen gegevens naar derden).
   ===================================================================== */
:root {
  color-scheme: light;
  --ink: #2b2230;
  --muted: #6c6071;
  --paper: #faf7f9;
  --surface: #ffffff;
  --line: #e5dbe1;
  --plum: #6e4460;
  --plum-dark: #55334a;
  --blush: #f3e6ec;
  --sage: #456b59;
  --sage-tint: #e3efe8;
  --amber: #7a4f0c;
  --amber-tint: #fbf0dc;
  --danger: #9c2b3f;
  --danger-tint: #fbe9ec;
  --radius: 14px;
  --radius-small: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(43, 34, 48, 0.06), 0 8px 24px rgba(43, 34, 48, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

h1, h2, h3, p { margin: 0; }

h1 {
  font-size: clamp(1.9rem, 5.5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
}
h1:focus { outline: none; }

h2 {
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h3 { font-size: 1.0625rem; font-weight: 650; }

a { color: var(--plum-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding-left: max(1.125rem, env(safe-area-inset-left));
  padding-right: max(1.125rem, env(safe-area-inset-right));
}

.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-small);
  z-index: 10;
}
.skip:focus { left: 0.5rem; }

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --------------------------------------------------------------- */
/* Testbalk, kop en voet                                            */
/* --------------------------------------------------------------- */
.test-banner {
  background: var(--amber-tint);
  color: var(--amber);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
}

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-nav { display: flex; gap: 0.25rem; flex: none; }
.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.975rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
}
.nav-link:hover { background: var(--blush); }
.nav-link.is-current { background: var(--blush); color: var(--plum-dark); }

.site-footer {
  flex: none;
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  padding: 1.75rem 0 max(1.75rem, env(safe-area-inset-bottom));
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; }
.footer-name { color: var(--ink); font-weight: 700; }
.footer-line { display: block; }
.footer-col p + p { margin-top: 0.25rem; }

/* --------------------------------------------------------------- */
/* Knoppen en meldingen                                             */
/* --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-dark); color: #fff; }
.btn-quiet { background: transparent; color: var(--plum-dark); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--plum); color: var(--plum-dark); }
.btn-wide { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  padding: 0.5rem 0.5rem 0.5rem 0;
  margin-bottom: 0.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--plum-dark);
  cursor: pointer;
}
.back-link::before { content: "\2039"; font-size: 1.4em; line-height: 0.8; }

.notice {
  border-radius: var(--radius-small);
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  font-size: 0.975rem;
}
.notice p + p, .notice p + .btn { margin-top: 0.6rem; }
.notice-error { background: var(--danger-tint); color: var(--danger); }
.notice-info { background: var(--blush); color: var(--plum-dark); }
.notice-success { background: var(--sage-tint); color: var(--sage); }

.spinner {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  flex: none;
}
.loading { display: flex; align-items: center; gap: 0.75rem; color: var(--muted); padding: 1.5rem 0; }
.loading .spinner { border-color: var(--line); border-top-color: var(--plum); }
@keyframes spin { to { transform: rotate(360deg); } }

.empty {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  color: var(--muted);
}
.empty h2 { color: var(--ink); margin-bottom: 0.4rem; font-size: 1.15rem; }
.empty .btn { margin-top: 1rem; }

/* --------------------------------------------------------------- */
/* Startpagina                                                      */
/* --------------------------------------------------------------- */
.home-hero { padding-top: clamp(2.5rem, 9vw, 5.5rem); padding-bottom: clamp(2rem, 6vw, 3.5rem); }
.home-hero h1 { font-size: clamp(2.5rem, 10vw, 5rem); max-width: 14ch; }
.home-hero .lead { margin-top: 1.1rem; font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.home-hero .actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.home-section { padding-top: 2.5rem; }
.home-section > h2 { margin-bottom: 1rem; }

.menu { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.menu .menu-name { font-weight: 650; }
.menu .menu-price { font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.menu .menu-desc { color: var(--muted); font-size: 0.975rem; grid-column: 1; }
.menu .menu-time { color: var(--muted); font-size: 0.975rem; text-align: right; white-space: nowrap; }

/* --------------------------------------------------------------- */
/* Boeken                                                           */
/* --------------------------------------------------------------- */
.booking { padding-top: 1.5rem; display: grid; gap: 2rem; }
.booking-main { min-width: 0; }
.step-count { color: var(--muted); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.35rem; }
.step-intro { color: var(--muted); margin-top: 0.6rem; max-width: 46ch; }
.step-body { margin-top: 1.5rem; }
.step-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (min-width: 60rem) {
  .booking { grid-template-columns: minmax(0, 1fr) 21rem; gap: 4rem; padding-top: 3rem; align-items: start; }
  .booking-side { position: sticky; top: 1.5rem; }
}

/* Keuzelijst met diensten */
.choice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.choice {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1rem;
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.choice:hover { border-color: var(--plum); }
.choice[aria-pressed="true"] { border-color: var(--plum); background: var(--blush); }
.choice-name { font-weight: 650; }
.choice-price { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.choice-desc { grid-column: 1 / -1; color: var(--muted); font-size: 0.975rem; }
.choice-meta { grid-column: 1 / -1; color: var(--muted); font-size: 0.925rem; }

/* Kalender */
.calendar {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
  max-width: 24rem;
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.cal-title { font-weight: 700; text-transform: capitalize; }
.cal-nav {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--plum-dark);
  cursor: pointer;
}
.cal-nav:hover:not([disabled]) { background: var(--blush); }
.cal-nav[disabled] { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--muted); padding: 0.25rem 0; }
.cal-day {
  aspect-ratio: 1 / 1;
  min-height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font: inherit;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.cal-day:hover:not([disabled]) { background: var(--blush); }
.cal-day[disabled] { color: #b9aebb; cursor: default; text-decoration: line-through; text-decoration-color: #d9d0da; }
.cal-day.is-today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}
.cal-day[aria-pressed="true"] { background: var(--plum); color: #fff; font-weight: 700; }
.cal-note { margin-top: 0.75rem; }

/* Tijden */
.slot-group + .slot-group { margin-top: 1.25rem; }
.slot-group h3 { color: var(--muted); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); gap: 0.5rem; }
.slot {
  min-height: 3rem;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
  font: inherit;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
.slot:hover { border-color: var(--plum); }
.slot[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.slot-price { font-size: 0.8rem; font-weight: 500; opacity: 0.8; }

/* Formulier */
.form { display: grid; gap: 1.1rem; max-width: 26rem; }
.field label { display: block; font-weight: 650; margin-bottom: 0.3rem; }
.field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem; /* minstens 16px: iPhone zoomt dan niet in */
}
.field input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px var(--blush); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.925rem; margin-top: 0.3rem; }
.field-hint { color: var(--muted); font-size: 0.925rem; margin-top: 0.3rem; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Het afsprakenkaartje: het ene onderscheidende element van de site */
.ticket {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  max-width: 24rem;
}
.ticket-top { padding: 1.25rem 1.4rem 1.1rem; }
.ticket-label { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.ticket-service { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin-top: 0.15rem; }
.ticket-rows { margin: 0.9rem 0 0; display: grid; gap: 0.5rem; }
.ticket-row { display: grid; grid-template-columns: 4.75rem 1fr; gap: 0.5rem; }
.ticket-row dt { color: var(--muted); font-size: 0.95rem; }
.ticket-row dd { margin: 0; font-weight: 600; }
.ticket-row dd.is-open { color: #b9aebb; font-weight: 500; }
.ticket-tear { position: relative; margin: 0 1.4rem; border-top: 2px dashed var(--line); }
.ticket-tear::before, .ticket-tear::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
}
.ticket-tear::before { left: calc(-1.4rem - 10px); }
.ticket-tear::after { right: calc(-1.4rem - 10px); }
.ticket-bottom {
  padding: 1rem 1.4rem 1.2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.ticket-price { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ticket-price.is-open { color: #b9aebb; font-size: 1.1rem; font-weight: 500; letter-spacing: 0; }
.ticket-ref { font-variant-numeric: tabular-nums; letter-spacing: 0.06em; font-weight: 700; }

.confirm-mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--sage);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.confirm-mark.is-in { animation: pop 0.35s ease-out; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.after-list { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; max-width: 30rem; }
.after-list li { padding-left: 1.5rem; position: relative; }
.after-list li::before { content: ""; position: absolute; left: 0.25rem; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--plum); }

/* --------------------------------------------------------------- */
/* Producten                                                        */
/* --------------------------------------------------------------- */
.page-head { padding-top: clamp(1.5rem, 5vw, 3rem); padding-bottom: 1.5rem; }
.page-head p { margin-top: 0.6rem; color: var(--muted); max-width: 44ch; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filter {
  min-height: 2.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 1.75rem 1rem;
}
.product-photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: var(--radius);
  background: var(--blush);
  object-fit: cover;
  display: grid;
  place-items: center;
  color: var(--plum);
  font-weight: 700;
  font-size: 2rem;
}
.product-photo-wrap { position: relative; }
.product-badge {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 650;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.product.is-out .product-photo { opacity: 0.55; }
.product-cat { color: var(--muted); font-size: 0.875rem; margin-top: 0.7rem; }
.product-name { font-weight: 650; line-height: 1.25; margin-top: 0.1rem; }
.product-desc { color: var(--muted); font-size: 0.925rem; margin-top: 0.25rem; }
.product-price { font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 0.4rem; }

/* --------------------------------------------------------------- */
/* Tekstpagina's (privacy, wachtwoord herstellen)                   */
/* --------------------------------------------------------------- */
.prose { max-width: 40rem; padding-top: clamp(1.5rem, 5vw, 3rem); }
.prose h1 { margin-bottom: 1rem; }
.prose h2 { margin-top: 2rem; margin-bottom: 0.5rem; }
.prose p + p { margin-top: 0.8rem; }
.prose ul { padding-left: 1.2rem; margin: 0.6rem 0; }
.prose li + li { margin-top: 0.3rem; }
.prose .form { margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
