:root {
  --cream: #faf4ec;
  --cream-dark: #f1e6d8;
  --ink: #332a22;
  --ink-soft: #6b5d4f;
  --terracotta: #c17a56;
  --terracotta-dark: #a35f3f;
  --gold: #b98a4a;
  --line: #e4d5c2;
  --white: #ffffff;
  --radius: 14px;
  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
.hero p, .contact-block p { max-width: 62ch; }

a { color: var(--terracotta-dark); }

img { max-width: 100%; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 244, 236, 0.92);
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
}
.brand {
  font-size: 1.3rem;
  color: var(--terracotta-dark);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}
.brand small {
  font-family: "Lora", serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
nav { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; }
nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.97rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
nav a:hover, nav a[aria-current="page"] { border-color: var(--gold); }
nav a.nav-cta {
  background: var(--terracotta);
  color: var(--white);
  padding: 7px 18px;
  border-radius: 999px;
  border-bottom: 0;
}
nav a.nav-cta:hover { background: var(--terracotta-dark); }

/* Hero */
.hero { padding: 64px 0 48px; }
.hero.compact { padding: 44px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 720px) {
  .hero { padding: 40px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
}
.hero img.portrait {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(51, 42, 34, 0.15);
}
.tagline {
  font-style: italic;
  color: var(--terracotta-dark);
  font-size: 1.15rem;
}

/* Hero: Paulines foto met twee uitgelichte portretten als polaroids ernaast */
.hero-visual { display: flex; align-items: center; }
.hero-visual img.portrait { flex: 0 0 81%; width: 81%; position: relative; z-index: 1; }
.polaroids { flex: 1 1 0; display: flex; flex-direction: column; gap: 0; margin-left: -12%; position: relative; z-index: 2; }
.polaroid {
  display: block;
  background: var(--white);
  padding: 6px 6px 20px;
  border-radius: 3px;
  box-shadow: 0 8px 22px rgba(51, 42, 34, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; display: block; }
.polaroid + .polaroid { margin-top: -14px; }
.tilt-l { transform: rotate(-3deg); }
.tilt-r { transform: rotate(3deg); }
@media (max-width: 720px) {
  .polaroid { padding: 3px 3px 10px; }
  .polaroid + .polaroid { margin-top: -10px; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
  font-family: "Lora", serif;
  font-size: 0.98rem;
  border: 1.5px solid var(--terracotta);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); transform: translateY(-1px); }
.btn.secondary {
  background: transparent;
  color: var(--terracotta-dark);
}
.btn.secondary:hover { background: var(--cream-dark); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* Sections */
section { padding: 48px 0; }
section.alt { background: var(--white); }
section.tight { padding: 8px 0 24px; }
.gallery-section { padding-top: 12px; }
.section-intro { max-width: 640px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--gold);
  font-family: "Lora", serif;
}
.hero-punten {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-punten li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(51, 42, 34, 0.06);
  font-family: "Lora", serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.hero-punten svg { flex: none; fill: var(--terracotta); }
.note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--line);
  padding-left: 12px;
  margin-top: 14px;
}
.more-links { margin-top: 18px; font-size: 0.95rem; }
.more-links a { margin-right: 22px; }

/* Route cards */
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
/* Ruimte boven de kaarten voor de polaroids die erboven uitsteken. De waaier is hoogstens 340 px breed;
   --w is zijn breedte, afgeleid van de kolombreedte (wrap max 1100 px, 24 px padding, 22 px tussenruimte, kaart 50 px padding en rand). */
.route-grid:has(.fan) {
  --wrap: min(100vw, var(--max));
  --col: calc((var(--wrap) - 48px - 44px) / 3 - 50px);
  --w: min(var(--col), 340px);
  --above: calc(var(--w) * 0.42 + 40px);
  margin-top: var(--above);
  row-gap: 22px;
}
@media (max-width: 780px) {
  .route-grid { grid-template-columns: 1fr; }
  .route-grid:has(.fan) { --col: calc(var(--wrap) - 48px - 50px); row-gap: calc(var(--above) + 22px); }
}
.route-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
section.alt .route-card { background: var(--cream); }
.route-card:hover { box-shadow: 0 10px 24px rgba(51, 42, 34, 0.1); transform: translateY(-2px); }
.route-card .icon { font-size: 1.8rem; }
/* Waaiertje van drie polaroids: zweeft half boven de kaart, half erover (beelden alleen als sfeer: alt leeg, kaart zelf is de link) */
.route-card .fan {
  display: grid;
  justify-items: center;
  align-items: end;
  width: var(--w);
  aspect-ratio: 1 / 0.8;
  margin: calc(var(--w) * -0.6) auto 16px;
  pointer-events: none;
}
.fan-item {
  grid-area: 1 / 1;
  width: 40%;
  background: var(--white);
  padding: 5px 5px 15px;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(51, 42, 34, 0.26);
  transition: transform 0.35s ease;
}
.fan-item img { width: 100%; height: auto; aspect-ratio: 18 / 25; object-fit: cover; object-position: 50% 20%; display: block; }
.fan-item.f0 { z-index: 3; width: 50%; transform: rotate(-2deg); }
.fan-item.f1 { z-index: 2; transform: translateX(-80%) rotate(-8deg); }
.fan-item.f2 { z-index: 1; transform: translateX(80%) rotate(7deg); }
.route-card:hover .fan-item.f0 { transform: rotate(0) translateY(-3px); }
.route-card:hover .fan-item.f1 { transform: translateX(-88%) rotate(-10deg); }
.route-card:hover .fan-item.f2 { transform: translateX(88%) rotate(9deg); }
.route-card h3 { color: var(--terracotta-dark); margin: 10px 0 0.2em; }
.route-card p { margin-bottom: 0; font-size: 0.95rem; }
.card-cta { margin-top: auto; padding-top: 14px; font-size: 0.85rem; color: var(--terracotta-dark); }

.cross-links { display: flex; gap: 10px; flex-wrap: wrap; }
.cross-links a {
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}
.cross-links a:hover { border-color: var(--gold); color: var(--terracotta-dark); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 20px; border-left: 3px solid var(--gold); }
.step .num { font-family: "Playfair Display", serif; color: var(--gold); font-size: 1.4rem; }

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
section.alt .review { background: var(--cream); }
.review blockquote { margin: 0; }
.review blockquote p {
  color: var(--ink);
  font-style: italic;
  position: relative;
  padding-top: 0.9rem;
}
.review blockquote p::before {
  content: "“";
  position: absolute;
  top: -0.35rem;
  left: -0.1rem;
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
}
.review figcaption { font-size: 0.88rem; color: var(--ink-soft); }

/* Pricing table */
table.pricing {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
section.alt table.pricing { background: var(--cream); }
table.pricing th, table.pricing td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.pricing th {
  background: var(--cream-dark);
  font-family: "Lora", serif;
  font-weight: 600;
}
table.pricing td:last-child, table.pricing th:last-child { text-align: right; }
table.pricing tr:last-child td { border-bottom: none; }

/* Gift / cadeaubon block */
.gift-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
  scroll-margin-top: 100px;
}
section.alt .gift-block { background: var(--cream); }
@media (max-width: 720px) { .gift-block { grid-template-columns: 1fr; padding: 22px; gap: 20px; } }
.gift-block img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 24px rgba(51, 42, 34, 0.12); }

/* Samenwerkingen */
.partners {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}
.partners li span {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  background: var(--cream);
  font-family: "Playfair Display", serif;
  color: var(--ink);
}
.partners img { height: 56px; width: auto; display: block; }

/* Voorbeelden op de pagina's per soort werk */
.voorbeelden {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
@media (max-width: 560px) { .voorbeelden { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.voorbeelden a { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 16px rgba(51, 42, 34, 0.14); transition: box-shadow 0.2s ease; }
.voorbeelden img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.voorbeelden a:hover, .voorbeelden a:focus-visible { box-shadow: 0 10px 22px rgba(51, 42, 34, 0.22); }

/* Mijn werk: filters en galerij */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.chip {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.chip span { opacity: 0.65; font-size: 0.85em; margin-left: 4px; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--terracotta); border-color: var(--terracotta); color: var(--white); }
.filter-status { font-size: 0.85rem; margin: 6px 0 18px; }

/* Raster in plaats van kolommen: werken staan in elke browser op dezelfde bovenrand, ook bij 2 of 3 werken */
.werk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; align-items: start; }
.werk { margin: 0; }
.werk[hidden] { display: none; }
.werk-open {
  display: block;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 5px 14px rgba(51, 42, 34, 0.16);
  background: var(--white);
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: box-shadow 0.2s ease, outline-color 0.2s ease;
}
.werk-open img { width: 100%; height: auto; display: block; }
.werk-open:hover { box-shadow: 0 12px 28px rgba(51, 42, 34, 0.26); }
.werk-open:focus-visible { box-shadow: 0 12px 28px rgba(51, 42, 34, 0.26); outline-color: var(--gold); }
.badges { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.badges span {
  background: rgba(51, 42, 34, 0.78);
  color: var(--white);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Eigen pagina van een werk */
.dlg-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px 14px; flex-wrap: wrap;
  padding: 0 0 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.dlg-bar-left { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.dlg-cat { margin: 0; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.dlg-nav { display: flex; gap: 8px; }
.dlg-back, .dlg-nav button, .dlg-nav a {
  display: inline-block;
  text-decoration: none;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
}
.dlg-back:hover, .dlg-nav button:hover, .dlg-nav a:hover { border-color: var(--gold); }
a.dlg-cat { text-decoration: none; }
a.dlg-cat:hover { text-decoration: underline; }
.dlg-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.dlg-images img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 200px);
  border-radius: 10px;
  margin: 0 auto 12px;
  box-shadow: 0 10px 24px rgba(51, 42, 34, 0.14);
}
.dlg-text { position: sticky; top: 100px; }
.dlg-text img { display: block; max-width: 100%; height: auto; border-radius: 10px; margin-bottom: 12px; }
.dlg-text h1 { font-size: clamp(1.5rem, 3.5vw, 1.9rem); margin: 0 0 0.5em; }
.dlg-text h2 { font-size: 1.35rem; margin-bottom: 0.5em; }
.dlg-text h3 { font-size: 1rem; margin: 1.2em 0 0.5em; }
.dlg-text > p:first-child { margin-top: 0; }
.dlg-text .placeholder { font-style: italic; color: var(--ink-soft); border-left: 3px solid var(--line); padding-left: 12px; }
.dlg-text blockquote { margin: 0 0 1em; padding: 14px 16px; background: var(--white); border-radius: 10px; border-left: 3px solid var(--gold); }
.dlg-text blockquote p { color: var(--ink); font-style: italic; margin-bottom: 0.4em; }
.dlg-text cite { font-size: 0.88rem; color: var(--ink-soft); font-style: normal; }
.dlg-more { display: inline-block; margin-top: 6px; font-size: 0.95rem; }
.dlg-cta { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 1.4em; }
.usps-band { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.usps-band h2 { font-size: 1.35rem; }
.usps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.usps li { background: var(--white); border-radius: 10px; border-left: 3px solid var(--gold); padding: 16px 18px; color: var(--ink-soft); }
.usps strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.prijsregel { margin: 18px 0 0; font-size: 0.95rem; }
.dlg-back .lbl-short { display: none; }
.dlg-back, .dlg-nav button, .dlg-nav a { white-space: nowrap; }
@media (max-width: 560px) {
  .dlg-bar { flex-wrap: nowrap; }
  .dlg-bar-left { flex-wrap: nowrap; min-width: 0; }
  .dlg-cat { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .dlg-back .lbl-long, .dlg-nav .lbl-long { display: none; }
  .dlg-back .lbl-short { display: inline; }
  .dlg-back, .dlg-nav button, .dlg-nav a { padding: 6px 14px; }
  .dlg-nav { flex-shrink: 0; }
}
@media (max-width: 760px) {
  .dlg-body { grid-template-columns: 1fr; gap: 14px; }
  .dlg-images img { max-height: 52vh; }
  .dlg-text { position: static; }
}

@media (max-width: 560px) {
  .site-header { position: static; }
  html { scroll-padding-top: 16px; }
  .werk-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .badges span { font-size: 0.66rem; padding: 2px 8px; }
}

/* Contact */
.contact-block {
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}
@media (max-width: 560px) { .contact-block { padding: 26px 22px; } }
.contact-block h2, .contact-block p { color: var(--white); }
.contact-links { display: flex; gap: 12px 16px; flex-wrap: wrap; margin-top: 12px; }
.contact-links a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
}
.contact-links a:hover { background: rgba(255, 255, 255, 0.28); }
.contact-block .sign { margin: 18px 0 0; font-style: italic; }

/* Tekstpagina's (privacy, cookies) */
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 62ch; }

/* Footer */
footer { padding: 32px 0 48px; text-align: center; color: var(--ink-soft); font-size: 0.9rem; }
footer p { margin-bottom: 0.4em; }
footer .small { font-size: 0.82rem; }
footer a { color: var(--ink-soft); }

/* Toon per soort werk */
body.tone-rouw { --terracotta: #8a7768; --terracotta-dark: #6d5c4f; --gold: #a99075; }
body.tone-rouw .hero { padding-top: 48px; }
body.tone-mijlpalen { --terracotta: #d68a4e; --terracotta-dark: #b96f36; --gold: #c9913a; }

/* Inzoom-weergave van een afbeelding */
.dlg-images img, .dlg-text img { cursor: zoom-in; }
.dlg-images::after { content: "🔍 Klik op de afbeelding om in te zoomen"; display: block; text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin-top: -2px; }
.zoom-viewer { position: fixed; inset: 0; z-index: 1000; background: rgba(28, 23, 19, 0.96); color: #fff; overscroll-behavior: contain; }
.zoom-viewer[hidden] { display: none; }
.zoom-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.zoom-stage.dragging { cursor: grabbing; }
.zoom-stage img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.zoom-stage.animate img { transition: transform 0.2s ease; }
.zoom-bar { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; display: flex; gap: 8px; align-items: center; z-index: 2; }
.zoom-bar button { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.28); background: rgba(0,0,0,0.45); color: #fff; font: inherit; font-size: 1.1rem; cursor: pointer; }
.zoom-bar button:hover, .zoom-bar button:focus-visible { border-color: #fff; outline: none; }
.zoom-bar .zoom-pct { color: #fff; min-width: 56px; text-align: center; font-size: 0.85rem; opacity: 0.85; font-variant-numeric: tabular-nums; }
.zoom-hint { position: absolute; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: rgba(0,0,0,0.5); padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; color: #fff; margin: 0; width: max-content; max-width: calc(100vw - 32px); text-align: center; pointer-events: none; transition: opacity 0.4s ease; }
.zoom-hint.gone { opacity: 0; }
@media (max-width: 560px) { .zoom-bar .zoom-fit { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
