@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f6f1ea;
  --bg-alt: #ede5da;
  --surface: #fffdf9;
  --ink: #2c2a26;
  --muted: #6b655c;
  --line: #ddd3c5;
  --sage: #5e7258;
  --sage-dark: #46573f;
  --rose: #b8735a;
  --wa: #1f8a4c;
  --radius: 18px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sage-dark); text-underline-offset: .2em; }
a:hover { color: var(--rose); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 450; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em, .brand em { font-style: italic; color: var(--sage); }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: .5em 1em; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-bottom: .6em; font-weight: 600; }
.small { font-size: .95rem; color: var(--muted); margin: 1em 0 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--sage); color: var(--surface); font: italic 500 1.3rem/1 var(--serif);
}
.brand-text { font-family: var(--serif); font-size: 1.12rem; }
.nav { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.nav a:hover { color: var(--rose); }
@media (max-width: 760px) {
  .nav { display: none; }
  .brand-text { font-size: 1.02rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75em 1.4em; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--sage-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* Hero */
.hero { padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.15fr .85fr; } }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-media { margin: 0; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: left center;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: 0 30px 60px -30px rgb(44 42 38 / .35);
}

/* Afspraak */
.afspraak { position: relative; padding: clamp(4rem, 10vw, 7rem) 0; isolation: isolate; }
.afspraak-bg { position: absolute; inset: 0; z-index: -1; }
.afspraak-bg img { width: 100%; height: 100%; object-fit: cover; }
.afspraak-bg::after { content: ""; position: absolute; inset: 0; background: rgb(44 52 50 / .45); }
.afspraak-card {
  max-width: 560px; background: var(--surface); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: 0 20px 50px -20px rgb(0 0 0 / .4);
}
.status-kop { font: italic 500 1.3rem/1.3 var(--serif); color: var(--rose); margin-bottom: .3em; }
.sign { font: italic 1.2rem var(--serif); color: var(--muted); }

.btn-wa { width: 100%; background: var(--wa); color: #fff; margin-top: .5rem; }
.btn-wa:hover { background: #17713d; color: #fff; }
.btn-wa[aria-disabled="true"] {
  background: #d9d4cb; color: #6f6a62; cursor: not-allowed; pointer-events: none;
}

/* Wisselen tussen open en gesloten via <html data-afspraak> */
.status-open, .wa-label-open { display: none; }
[data-afspraak="open"] .status-open,
[data-afspraak="open"] .wa-label-open { display: block; }
[data-afspraak="open"] .wa-label-open { display: inline; }
[data-afspraak="open"] .status-gesloten,
[data-afspraak="open"] .wa-label-gesloten { display: none; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.cards { display: grid; gap: 1.2rem; margin-top: 2rem; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-direction: column;
}
.card p:not(.price) { color: var(--muted); }
.price { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.price strong { font: 500 1.4rem var(--serif); color: var(--ink); margin-left: .2em; }

.over { background: var(--bg-alt); }
.over-inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .over-inner { grid-template-columns: .85fr 1.15fr; } }
.over-media { margin: 0; }
.over-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.over-text p { max-width: 58ch; }
.waarden { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.waarden li {
  padding: .4em .9em; border-radius: 999px; border: 1px solid var(--sage);
  color: var(--sage-dark); font-size: .9rem;
}

/* Reviews: scroll-snap, geen JS nodig */
.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 420px); gap: 1.2rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 2rem 2px 1rem;
  scrollbar-width: thin;
}
@media (min-width: 1000px) { .review-track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
.review {
  scroll-snap-align: start; margin: 0; background: var(--surface); border-radius: var(--radius);
  padding: 1.8rem; border: 1px solid var(--line); display: flex; flex-direction: column;
}
.review blockquote { margin: 0 0 1.2rem; font: 400 1.08rem/1.6 var(--serif); }
.review blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--rose); margin-bottom: .4rem; }
.review figcaption { margin-top: auto; font-weight: 600; }
.review figcaption span { font-weight: 400; color: var(--muted); }

/* Galerij */
.galerij { background: var(--bg-alt); }
.gallery { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery .g-wide { grid-column: span 2; }
.gallery a { display: block; overflow: hidden; border-radius: 12px; height: 100%; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(20 20 18 / .88); }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 8px; }
.lb-close {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--surface); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* Prijzen */
.price-cols { display: grid; gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 860px) { .price-cols { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.pricelist { margin: 0; }
.pricelist div { display: flex; align-items: baseline; gap: .6rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.pricelist dt { flex: 1; }
.pricelist dd { margin: 0; font: 500 1.1rem var(--serif); white-space: nowrap; }

/* Footer */
.site-footer { background: #2f3a2c; color: #e9e4da; padding: 4rem 0 2rem; }
.site-footer a { color: #f1d9cc; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.f-kop { font-size: 1.25rem; margin: 0 0 .8rem; color: #fff; }
.f-kop:not(:first-child) { margin-top: 1.6rem; }
address { font-style: normal; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid rgb(255 255 255 / .1); max-width: 340px; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.social { list-style: none; padding: 0; margin: 0; }
.social li + li { margin-top: .4rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .15);
  font-size: .9rem; color: #bfb8ab;
}
.footer-bottom p { margin: 0; }

/* Losse pagina's (privacy, 404) */
.page { padding: clamp(3rem, 8vw, 5rem) 0; }
.page .wrap { max-width: 720px; }
.page h2 { font-size: 1.5rem; margin-top: 2rem; }
