:root {
  --bg: #f7f1e8;
  --bg-alt: #efe5d7;
  --card: #fffaf3;
  --text: #2e241d;
  --muted: #6f6056;
  --accent: #c73547;
  --accent-dark: #a3283a;
  --sage: #8a9a7b;
  --line: #e2d5c3;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h1 em { color: var(--accent); font-style: italic; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .6rem; }
.muted { color: var(--muted); max-width: 60ch; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 500; border: 2px solid var(--accent);
  cursor: pointer; font-family: inherit; font-size: 1rem; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }

/* Navigatie */
.nav {
  position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(16px, 5vw, 64px); background: rgba(247, 241, 232, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.logo img { height: 42px; width: auto; mix-blend-mode: multiply; }
.logo-naam { font-family: var(--serif); font-size: 1.05rem; line-height: 1.1; padding-left: .9rem; border-left: 1px solid var(--line); }
.logo-naam small { display: block; font-family: var(--sans); font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav nav { display: flex; gap: 1.8rem; align-items: center; }
.nav nav a { text-decoration: none; font-size: .95rem; }
.nav nav a:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: #fff !important; padding: .5rem 1.1rem; border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--text); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(16px, 5vw, 64px);
}
.lead { font-size: 1.15rem; color: var(--muted); margin: 1.4rem 0 2rem; max-width: 48ch; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image img { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 4/5; object-fit: cover; object-position: 30% center; width: 100%; box-shadow: 0 30px 60px -30px rgba(46, 36, 29, .45); }

/* Secties */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) clamp(16px, 5vw, 64px); }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 2.2rem; }

/* Portfolio */
.filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.filter {
  background: transparent; border: 1px solid var(--line); padding: .5rem 1.1rem; border-radius: 999px;
  font-family: inherit; font-size: .92rem; cursor: pointer; color: var(--text); transition: all .2s;
}
.filter:hover { border-color: var(--accent); }
.filter.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; aspect-ratio: 4/3; background: var(--line); border: 0; padding: 0; text-align: left; font: inherit; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.05); }
.tile-info {
  position: absolute; inset: auto 0 0 0; padding: 1rem 1.1rem; color: #fff;
  background: linear-gradient(transparent, rgba(46, 36, 29, .75));
}
.tile-info strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.tile-info span { font-size: .85rem; opacity: .9; }

/* Kaart */
#map { height: 480px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 1; }
.map-count { margin-top: 1rem; color: var(--muted); }
.map-count strong { color: var(--accent); font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.pin {
  width: 28px; height: 28px; border-radius: 50% 50% 50% 0; background: var(--accent);
  transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
}
.leaflet-popup-content-wrapper { border-radius: 12px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 220px !important; font-family: var(--sans); }
.popup img { width: 100%; height: 130px; object-fit: cover; }
.popup div { padding: .7rem .9rem; }
.popup strong { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; display: block; }
.popup span { color: var(--muted); font-size: .85rem; }

/* Pakketten */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.package { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; }
.package.featured { border: 2px solid var(--accent); position: relative; }
.package.featured::before {
  content: "Populair!"; position: absolute; top: -13px; left: 2rem; background: var(--accent); color: #fff;
  font-size: .75rem; padding: .2rem .8rem; border-radius: 999px; font-weight: 600;
}
.package h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.package .price { color: var(--accent); font-weight: 600; font-size: 1.15rem; margin: .3rem 0 1.2rem; }
.package ul { list-style: none; margin-bottom: 1.8rem; flex: 1; }
.package li { padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.package li::before { content: "✓"; color: var(--sage); font-weight: 700; margin-right: .6rem; }
.package .btn { text-align: center; }

/* Over mij */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-img { border-radius: var(--radius) 200px var(--radius) var(--radius); aspect-ratio: 4/5; object-fit: cover; object-position: center top; width: 100%; }
.about p:not(.eyebrow) { margin-bottom: 1rem; max-width: 58ch; }
.facts { list-style: none; display: flex; gap: 2.5rem; margin-top: 1.8rem; flex-wrap: wrap; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.facts span { font-size: .85rem; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.contact-list { list-style: none; margin-top: 1.8rem; display: grid; gap: .8rem; font-size: 1.05rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.form { background: var(--card); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 500; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form-note { font-size: .8rem; color: var(--muted); }

.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 2rem clamp(16px, 5vw, 64px); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(30, 22, 16, .94);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 1100px; width: 100%; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #f7f1e8; text-align: center; margin-top: 1rem; font-family: var(--serif); font-size: 1.2rem; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 3rem; cursor: pointer; padding: .5rem 1rem; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }

/* Mobiel */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--bg); padding: 1.5rem; border-bottom: 1px solid var(--line); gap: 1.2rem;
  }
  .nav nav.open { display: flex; }
  .hero, .about, .contact { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .hero-image img { aspect-ratio: 4/3; border-radius: 120px 120px var(--radius) var(--radius); }
  #map { height: 380px; }
  .grid { grid-template-columns: 1fr; }
}

.leaflet-tile-pane { filter: sepia(.35) saturate(.8) brightness(1.03); }

/* Beschikbaarheid */
.agenda { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem; align-items: start; }
.cal, .slots { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cal-head strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; text-transform: capitalize; }
.cal-nav {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  font-size: 1.3rem; cursor: pointer; color: var(--text);
}
.cal-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-weekdagen span { text-align: center; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-bottom: .4rem; }
.dag {
  aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; font: inherit; font-size: .95rem;
  cursor: pointer; background: transparent; color: var(--text); position: relative; transition: all .15s;
}
.dag.dicht { color: #c4b6a6; cursor: default; }
.dag.vol { color: #c4b6a6; text-decoration: line-through; cursor: default; }
.dag.vrij { background: #e6ebdf; border-color: #cfd8c4; }
.dag.half { background: linear-gradient(135deg, #e6ebdf 50%, #f3e2d6 50%); border-color: #e0cfc0; }
.dag.vrij:hover, .dag.half:hover { border-color: var(--accent); transform: translateY(-1px); }
.dag.gekozen { background: var(--accent); color: #fff; border-color: var(--accent); }
.cal-legenda { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.2rem; font-size: .82rem; color: var(--muted); }
.cal-legenda span { display: flex; align-items: center; gap: .4rem; }
.dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.dot.vrij { background: #e6ebdf; border: 1px solid #cfd8c4; }
.dot.half { background: linear-gradient(135deg, #e6ebdf 50%, #f3e2d6 50%); border: 1px solid #e0cfc0; }
.dot.vol { background: transparent; border: 1px solid #c4b6a6; }
.slots { min-height: 100%; }
.slots-leeg { color: var(--muted); text-align: center; padding: 3rem 0; }
.slots h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 1.2rem; }
.slots h3::first-letter { text-transform: uppercase; }
.slot-lijst { display: grid; gap: .7rem; }
.slot {
  display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font: inherit; cursor: pointer; color: var(--text);
}
.slot span { color: var(--muted); font-size: .9rem; }
.slot:hover:not(:disabled) { border-color: var(--accent); }
.slot:disabled { opacity: .45; cursor: default; }
.slot.gekozen { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot.gekozen span { color: #fff; }
.slot-bevestiging p { margin: 1.2rem 0 .9rem; color: var(--sage); font-weight: 500; }
.slot-bevestiging .btn { width: 100%; text-align: center; }
@media (max-width: 860px) {
  .agenda { grid-template-columns: 1fr; }
  .cal, .slots { padding: 1rem; }
  .cal-grid { gap: 4px; }
}

/* Standaard & specials */
.standaard {
  margin-top: 1.6rem; padding: 1.2rem 1.5rem; border-radius: var(--radius); background: var(--bg-alt);
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2rem;
}
.standaard ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.standaard li::before { content: "+"; color: var(--accent); font-weight: 700; margin-right: .45rem; }
.specials-titel { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 3rem 0 1.2rem; }
.specials { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.special { border-left: 3px solid var(--accent); padding: .3rem 0 .3rem 1rem; }
.special strong { display: block; margin-bottom: .2rem; }
.special span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) {
  .logo img { height: 32px; }
  .logo-naam { font-size: .9rem; padding-left: .7rem; }
}
@media (max-width: 400px) {
  .logo-naam small { display: none; }
}

/* Kaartstippen */
.stip {
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent);
  border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .35); transition: transform .15s;
}

.popup-tekst { padding: .8rem 1rem; }

/* Recent werk: plattegronden en uitleg-tabbladen */
.grid-plattegrond .tile { background: #fff; aspect-ratio: 3/4; border: 1px solid var(--line); }
.grid-plattegrond .tile img { object-fit: contain; padding: 1rem; }
.grid-plattegrond .tile:hover img { transform: scale(1.02); }
.grid-plattegrond .tile-info { background: linear-gradient(transparent, rgba(46, 36, 29, .6)); }
.werk-info {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 2rem; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem);
}
.werk-info[hidden] { display: none; }
.werk-info:not(:has(.werk-embed)) { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.werk-info h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin-bottom: .6rem; }
.werk-info p { color: var(--muted); margin-bottom: 1.5rem; }
.werk-embed { aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.werk-embed iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .werk-info { grid-template-columns: 1fr; } }

.about-intro { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--text); }

/* Label onder plattegronden */
.tile-wrap .tile { width: 100%; display: block; }
.tile-label { text-align: center; margin-top: .7rem; font-family: var(--serif); font-size: 1.15rem; }

.form-bedankt { text-align: center; padding: 2rem 0; }
.form-bedankt h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin-bottom: .5rem; }
.form-bedankt p { color: var(--muted); }

/* Interactieve weergave (3D / 360) in de pop-up */
.lightbox iframe { display: block; width: min(1100px, 92vw); height: min(78vh, 700px); border: 0; border-radius: 10px; margin: 0 auto; background: #2e241d; }
.lightbox iframe[hidden], .lightbox img[hidden] { display: none; }
