/* Brasserie Gambrinus — Grote Markt 13, Leuven
   Palette taken from the room: oak paneling, gilded ceiling, the red menu card,
   Chesterfield green and the linen on the tables. */

:root {
  --walnut: #2a1b12;
  --walnut-deep: #1c120c;
  --oak: #6b4a2e;
  --gold: #c9a24a;
  --gold-soft: #e3c98a;
  --red: #b5161f;
  --red-deep: #8e1017;
  --green: #2e4a3b;
  --linen: #f2ecdf;
  --linen-deep: #e6ddc9;
  --paper: #faf6ec;
  --ink: #1f1611;
  --ink-soft: #5a4a3e;
  --ivory: #f6f1e6;
  --ivory-soft: rgba(246, 241, 230, .72);

  --font-display: "Marcellus", "Cormorant", Georgia, serif;
  --font-text: "EB Garamond", "Garamond", Georgia, serif;

  --gutter: clamp(16px, 4vw, 48px);
  --measure: 34rem;
  --head-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Scrollbars: on pointer devices the native bars are hidden and app.js draws a thumb only (no track, no arrows):
   gold on the page, red inside the paper dropdowns. Touch devices keep their own overlay bars. */
@media (hover: hover) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
  .select-list, .field textarea { scrollbar-width: none; }
  .select-list::-webkit-scrollbar, .field textarea::-webkit-scrollbar { display: none; }
}
.osb {
  position: fixed; top: 0; right: 5px; z-index: 80; width: 6px; border-radius: 999px;
  background: var(--gold); opacity: .45; cursor: grab; touch-action: none;
  transition: opacity .25s ease, width .15s ease;
}
.osb.is-active, .osb:hover { opacity: .95; }
.osb.is-drag { opacity: 1; cursor: grabbing; }
.osb[hidden] { display: none; }
.osb-inner { position: absolute; right: 4px; width: 5px; background: var(--red); opacity: .8; z-index: 1; }
@media (hover: none) { .osb { display: none; } }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ivory);
  background: var(--walnut);
  font-feature-settings: "onum" 1, "liga" 1;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
svg { display: block; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
section[id] { scroll-margin-top: var(--head-h); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--red); color: var(--ivory); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Language switch: everything translatable fades out, swaps, fades back in. */
[data-i18n], [data-i18n-ph], .menucard, .signature-grid, .gallery, .select-text, .open-now { transition: opacity .32s ease; }
.is-switching [data-i18n], .is-switching [data-i18n-ph], .is-switching .menucard, .is-switching .signature-grid,
.is-switching .gallery, .is-switching .select-text, .is-switching .open-now { opacity: 0; transition-duration: .18s; }
@media (prefers-reduced-motion: reduce) { .is-switching [data-i18n], .is-switching .menucard { transition: none; } }

/* ---------- Wordmark ---------- */
.wordmark {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  text-decoration: none; font-family: var(--font-display); line-height: 1;
}
.wordmark-name { font-size: 1.3rem; letter-spacing: .2em; text-transform: uppercase; padding-left: .2em; }
.wordmark-year { font-size: .62rem; letter-spacing: .34em; padding-left: .34em; opacity: .85; }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--head-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  color: var(--ivory);
}
/* The translucent bar lives in a pseudo-element: a backdrop-filter on the header itself would
   turn it into the containing block of the fixed mobile menu. */
.site-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(28, 18, 12, .74), rgba(28, 18, 12, .46));
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: inset 0 -1px 0 rgba(201, 162, 74, .18);
  transition: background .35s ease, box-shadow .35s ease;
}
.site-head.is-scrolled::before {
  background: linear-gradient(to bottom, rgba(28, 18, 12, .96), rgba(28, 18, 12, .94));
  box-shadow: inset 0 -1px 0 rgba(201, 162, 74, .28);
}
.site-head .wordmark { justify-self: start; }

.site-nav { display: flex; gap: 2.2rem; align-items: center; }
.site-nav a { text-decoration: none; font-size: 1.05rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--gold); }
.site-nav .nav-cta { color: var(--gold-soft); }
.nav-foot { display: none; }

.head-tools { justify-self: end; display: flex; align-items: center; gap: 1.4rem; position: relative; z-index: 45; }
.head-phone { text-decoration: none; font-size: 1rem; white-space: nowrap; }
.head-phone:hover { color: var(--gold-soft); }
.head-icon {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(246, 241, 230, .38); color: var(--ivory);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.head-icon svg { width: 17px; height: 17px; }
.head-icon:hover { border-color: var(--gold-soft); color: var(--gold-soft); background: rgba(246, 241, 230, .06); }
.head-phone + .head-icon { margin-left: -.2rem; }
.nav-foot-links { display: flex; gap: 18px; margin-top: 6px; }
.nav-foot-links a { text-decoration: none; border-bottom: 1px solid rgba(201, 162, 74, .5); }

.lang { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid rgba(246, 241, 230, .35); border-radius: 999px; }
.lang button { font-size: .8rem; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; opacity: .75; transition: background-color .25s ease, color .25s ease, opacity .25s ease; }
.lang button[aria-pressed="true"] { background: var(--ivory); color: var(--walnut); opacity: 1; }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.burger svg path { transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
.burger[aria-expanded="true"] .b1 { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .b2 { opacity: 0; }
.burger[aria-expanded="true"] .b3 { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-size: 1.05rem; font-weight: 500; letter-spacing: .02em;
  padding: 14px 28px; border-radius: 2px; border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-small { padding: 9px 16px; font-size: .98rem; }
.btn-red { background: var(--red); color: var(--ivory); border-color: var(--red); }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-ghost { border-color: rgba(246, 241, 230, .7); color: var(--ivory); }
.btn-ghost:hover { background: rgba(246, 241, 230, .12); border-color: var(--ivory); }
.btn-ghost-dark { border-color: rgba(31, 22, 17, .5); color: var(--ink); }
.btn-ghost-dark:hover { background: rgba(31, 22, 17, .07); border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  isolation: isolate; overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(28, 18, 12, .55) 0%, rgba(28, 18, 12, .2) 45%, rgba(28, 18, 12, 0) 70%),
    linear-gradient(to top, rgba(28, 18, 12, .94) 0%, rgba(28, 18, 12, .6) 40%, rgba(28, 18, 12, .1) 72%, rgba(28, 18, 12, .35) 100%);
}
.hero-inner {
  width: min(100% - 2 * var(--gutter), 1180px); margin: 0 auto;
  padding: calc(var(--head-h) + 40px) 0 clamp(40px, 8vh, 96px);
}
.hero-place { font-size: 1.05rem; color: var(--gold-soft); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); max-width: 14ch; text-wrap: balance; }
.hero-lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); max-width: 36rem; margin-top: 22px; color: var(--ivory-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.open-now {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 30px; font-size: 1rem; color: var(--ivory-soft);
}
.open-now::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, .25);
}
.open-now.is-open::before { background: #7bc08a; box-shadow: 0 0 0 3px rgba(123, 192, 138, .25); }
.open-now.is-closed::before { background: #d96b6b; box-shadow: 0 0 0 3px rgba(217, 107, 107, .25); }

@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .hero-inner > :nth-child(4) { animation-delay: .24s; }
  .hero-inner > :nth-child(5) { animation-delay: .32s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- Facts ---------- */
.facts { background: var(--walnut-deep); padding: clamp(36px, 5vw, 64px) var(--gutter); }
.facts-list {
  width: min(100%, 1180px); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px);
}
.facts-list li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; }
.facts-list svg { width: 30px; height: 30px; color: var(--gold); margin-top: 3px; }
.facts-list strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin-bottom: 6px; }
.facts-list span { color: var(--ivory-soft); font-size: 1.05rem; }

/* ---------- Menu ---------- */
.kaart { background: var(--linen); color: var(--ink); padding: clamp(64px, 9vw, 120px) var(--gutter); }
.kaart-head { text-align: center; max-width: var(--measure); margin: 0 auto 44px; }
.kaart h2, .huis h2, .fotos h2, .reserveren h2, .contact h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.kaart-head p { margin-top: 16px; font-size: 1.2rem; color: var(--ink-soft); }

/* The card wears the rim of the Gambrinus plate: a thin red line, a gap, another line. */
.menucard {
  background: var(--paper);
  width: min(100%, 880px); margin: 0 auto;
  padding: clamp(28px, 5vw, 60px) clamp(20px, 5vw, 64px);
  border: 1.5px solid var(--red);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--red);
}
.menu-group + .menu-group { margin-top: 44px; }
.menu-group h3 {
  text-align: center; font-size: 1.35rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-deep); margin-bottom: 6px;
}
.menu-group h3::after { content: ""; display: block; width: 44px; height: 1px; background: var(--red); margin: 10px auto 0; }
.menu-group .group-note { text-align: center; font-style: italic; color: var(--ink-soft); font-size: 1rem; margin-bottom: 18px; }
.menu-items { margin-top: 22px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; row-gap: 2px; padding: 10px 0; }
.menu-item + .menu-item { border-top: 1px solid rgba(31, 22, 17, .09); }
.menu-item .name { font-weight: 600; font-size: 1.15rem; }
.menu-item .price { font-weight: 500; font-size: 1.15rem; font-variant-numeric: lining-nums; white-space: nowrap; }
.menu-item .desc { grid-column: 1 / -1; color: var(--ink-soft); font-size: 1.02rem; max-width: 40rem; }
.menu-group.sides .menu-item { padding: 6px 0; }
.menu-group.sides .menu-item .name { font-weight: 400; font-size: 1.05rem; }
.menu-group.sides .menu-item .price { font-size: 1.05rem; font-weight: 400; }
.menu-foot { margin-top: 36px; text-align: center; font-style: italic; color: var(--ink-soft); font-size: .98rem; }

.signature { width: min(100%, 1180px); margin: clamp(56px, 8vw, 96px) auto 0; }
.signature h3 { font-size: 1.7rem; text-align: center; margin-bottom: 32px; }
.signature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.signature-grid li { display: grid; gap: 10px; }
.signature-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.signature-grid strong { font-weight: 500; font-size: 1.1rem; }
.signature-grid span { display: block; color: var(--ink-soft); font-size: .98rem; line-height: 1.4; }

/* ---------- The house ---------- */
.huis {
  background: var(--walnut);
  padding: clamp(64px, 9vw, 120px) max(var(--gutter), calc((100% - 1180px) / 2));
  display: grid; gap: 40px clamp(28px, 4vw, 64px);
  grid-template-columns: 1fr 1fr; grid-template-areas:
    "intro intro"
    "photoa timeline"
    "photob photoc"
    "quote quote";
}
.huis-intro { grid-area: intro; max-width: 42rem; }
.huis-lead { margin-top: 16px; font-size: 1.25rem; color: var(--ivory-soft); }
.huis-photo { margin: 0; }
.huis-photo img { width: 100%; height: 100%; object-fit: cover; }
.huis-photo-a { grid-area: photoa; }
.huis-photo-a img { aspect-ratio: 4 / 5; }
.huis-photo-b { grid-area: photob; }
.huis-photo-b img { aspect-ratio: 4 / 5; filter: sepia(.15) contrast(1.02); }
.huis-photo-c { grid-area: photoc; }
.huis-photo-c img { aspect-ratio: 4 / 5; }
.huis-photo figcaption { margin-top: 10px; font-size: .95rem; color: var(--ivory-soft); font-style: italic; }

.timeline { grid-area: timeline; align-self: center; border-left: 1px solid rgba(201, 162, 74, .45); padding-left: 28px; }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: .55em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--walnut);
}
.timeline time { display: block; font-family: var(--font-display); color: var(--gold-soft); font-size: 1.25rem; margin-bottom: 4px; }
.timeline p { color: var(--ivory-soft); max-width: 34rem; }

.huis-quote { grid-area: quote; margin: 16px auto 0; text-align: center; max-width: 34rem; }
.huis-quote p { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--gold-soft); text-wrap: balance; }
.huis-quote cite { display: block; margin-top: 12px; font-style: italic; color: var(--ivory-soft); font-size: 1rem; }

/* ---------- Photos ---------- */
.fotos { background: var(--walnut-deep); padding: clamp(64px, 9vw, 120px) var(--gutter); }
.fotos h2 { text-align: center; margin-bottom: 36px; }
.gallery {
  width: min(100%, 1180px); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 10px;
}
.gallery li.tall { grid-row: span 2; }
.gallery li.wide { grid-column: span 2; }
.gallery button { width: 100%; height: 100%; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.fotos-ig { text-align: center; margin-top: 28px; color: var(--ivory-soft); }
.fotos-ig a { text-decoration: none; border-bottom: 1px solid rgba(201, 162, 74, .6); }
.fotos-ig a:hover { color: var(--gold-soft); }

/* ---------- Reservation ---------- */
.reserveren {
  background: var(--linen); color: var(--ink);
  padding: clamp(64px, 9vw, 120px) max(var(--gutter), calc((100% - 1180px) / 2));
  display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 80px); align-items: start;
}
.res-side p { margin-top: 16px; font-size: 1.15rem; color: var(--ink-soft); max-width: 30rem; }
.res-phone { display: inline-block; margin-top: 18px; font-family: var(--font-display); font-size: 1.6rem; text-decoration: none; color: var(--red-deep); }
.res-hours { margin: 30px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 1.05rem; }
.res-hours dt { color: var(--ink-soft); }
.res-hours dd { margin: 0; }

.res-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.res-form[hidden] { display: none; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 500; font-size: 1.02rem; }
.field input, .field textarea, .select-btn {
  width: 100%; background: var(--paper); border: 1px solid rgba(31, 22, 17, .3); border-radius: 2px;
  padding: 11px 13px; font-size: 1.05rem; line-height: 1.3; color: var(--ink);
  transition: border-color .15s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus, .select-btn:focus { border-color: var(--red); outline: 2px solid rgba(181, 22, 31, .18); outline-offset: 0; }
.field input.is-invalid, .field textarea.is-invalid, .select.is-invalid .select-btn { border-color: var(--red); background: #fdf3f2; }
.field input[type="date"] { min-height: 46px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(31, 22, 17, .42); }

/* custom select */
.select { position: relative; }
.select-btn { display: flex; justify-content: space-between; align-items: center; text-align: left; cursor: pointer; min-height: 46px; }
.select-btn.is-placeholder { color: rgba(31, 22, 17, .5); }
.select-btn svg { width: 18px; height: 18px; flex: none; color: var(--ink-soft); transition: transform .2s ease; }
.select[aria-expanded="true"] .select-btn svg { transform: rotate(180deg); }
.select-drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20;
  background: var(--paper); border: 1px solid rgba(31, 22, 17, .25); border-radius: 2px;
  box-shadow: 0 14px 32px rgba(31, 22, 17, .16);
}
.select-drop[hidden] { display: none; }
.select-list { max-height: 260px; overflow: auto; padding: 6px 0; margin: 0; }
.select-list li { padding: 9px 14px; cursor: pointer; font-size: 1.02rem; }
.select-list li:hover, .select-list li.is-active { background: var(--linen-deep); }
.select-list li[aria-selected="true"] { color: var(--red-deep); font-weight: 500; }
.select-list li.is-note { color: var(--ink-soft); font-style: italic; cursor: default; font-size: .95rem; border-top: 1px solid rgba(31, 22, 17, .1); margin-top: 4px; padding-top: 10px; }
.select-list li.is-note:hover { background: none; }

/* segmented radio */
.segmented { display: flex; border: 1px solid rgba(31, 22, 17, .3); border-radius: 2px; overflow: hidden; background: var(--paper); }
.segmented label { position: relative; flex: 1; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; padding: 10px 12px; font-size: 1.02rem; text-align: center; border-left: 1px solid rgba(31, 22, 17, .2); transition: background-color .2s ease, color .2s ease; }
.segmented label:first-child span { border-left: 0; }
.segmented input:checked + span { background: var(--walnut); color: var(--ivory); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: -3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { grid-column: 1 / -1; color: var(--red-deep); font-size: 1rem; }
.res-form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.form-fine { grid-column: 1 / -1; font-size: .95rem; color: var(--ink-soft); font-style: italic; margin-top: -6px; }

.res-done { display: grid; justify-items: start; gap: 12px; padding: 32px; border: 1px solid rgba(31, 22, 17, .2); background: var(--paper); align-self: start; }
.res-done[hidden] { display: none; }
.res-done svg { width: 40px; height: 40px; color: var(--green); }
.res-done h3 { font-size: 1.7rem; }
.res-done p { color: var(--ink-soft); font-size: 1.1rem; max-width: 30rem; }
.res-done .btn { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact {
  background: var(--walnut);
  padding: clamp(64px, 9vw, 120px) max(var(--gutter), calc((100% - 1180px) / 2));
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px);
}
.contact address { font-style: normal; margin-top: 20px; font-size: 1.15rem; line-height: 1.5; }
.contact-links, .contact-social { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.contact-links a { text-decoration: none; color: var(--gold-soft); width: fit-content; }
.contact-links a:hover { text-decoration: underline; }
.contact-social a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; width: fit-content; }
.contact-social svg { width: 20px; height: 20px; color: var(--gold); }
.contact-social a:hover { color: var(--gold-soft); }
.hours { border-collapse: collapse; margin-top: 30px; width: min(100%, 320px); }
.hours caption { text-align: left; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 10px; }
.hours th, .hours td { padding: 6px 0; border-bottom: 1px solid rgba(201, 162, 74, .22); font-weight: 400; font-size: 1.05rem; }
.hours th { text-align: left; color: var(--ivory-soft); }
.hours td { text-align: right; font-variant-numeric: lining-nums; }
.hours-note { margin-top: 12px; color: var(--ivory-soft); font-style: italic; }
/* Map: MapLibre on OpenFreeMap's Positron style (the light grey map splendomsuites.com uses). */
.contact-map { position: relative; min-height: 440px; border: 1px solid rgba(201, 162, 74, .35); background: #ece9e2; }
.map { position: absolute; inset: 0; }
.map .maplibregl-ctrl-group { border-radius: 2px; box-shadow: 0 2px 10px rgba(31, 22, 17, .18); background: var(--paper); margin: 14px; }
.map .maplibregl-ctrl-group button { width: 34px; height: 34px; }
.map .maplibregl-ctrl-group button + button { border-top: 1px solid rgba(31, 22, 17, .15); }
.map .maplibregl-ctrl-group button:hover { background: var(--linen-deep); }
.map .maplibregl-ctrl-attrib { background: rgba(250, 246, 236, .85); font: .68rem/1.4 var(--font-text); color: var(--ink-soft); }
.map .maplibregl-ctrl-attrib a { color: var(--ink-soft); }
.map .maplibregl-ctrl-attrib-button { background-color: var(--paper); }
.map-pin { width: 44px; height: 56px; cursor: default; }
.map-pin svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 6px rgba(31, 22, 17, .28)); }
.map-card {
  position: absolute; left: 18px; bottom: 18px; z-index: 5; max-width: calc(100% - 36px);
  background: var(--paper); color: var(--ink); padding: 16px 18px 18px;
  display: grid; gap: 4px; justify-items: start;
  border-top: 2px solid var(--red); box-shadow: 0 14px 32px rgba(0, 0, 0, .35);
}
.map-card strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.map-card span { color: var(--ink-soft); font-size: 1rem; }
.map-card .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--walnut-deep); padding: 48px var(--gutter) 40px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.site-foot p { color: var(--ivory-soft); font-size: 1rem; }
.foot-legal { font-size: .9rem; opacity: .7; }
.foot-made { font-size: .9rem; opacity: .7; }
.foot-made a { text-decoration: none; border-bottom: 1px solid rgba(201, 162, 74, .6); }
.foot-made a:hover { color: var(--gold-soft); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 12, 8, .95);
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; grid-column: 2; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-height: 84vh; max-width: 100%; object-fit: contain; }
.lightbox figcaption { color: var(--ivory-soft); font-style: italic; font-size: 1rem; }
.lb-close, .lb-prev, .lb-next { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ivory); border-radius: 50%; border: 1px solid rgba(246, 241, 230, .35); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(246, 241, 230, .12); }
.lb-close { position: absolute; top: 20px; right: 20px; }
.lb-prev { grid-column: 1; justify-self: start; }
.lb-next { grid-column: 3; justify-self: end; }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .site-nav { gap: 1.5rem; }
  .head-phone { display: none; }
  .head-phone + .head-icon { margin-left: 0; }
}

@media (max-width: 1023px) {
  :root { --head-h: 64px; }
  .site-head { grid-template-columns: auto 1fr; }
  .head-tools { gap: .8rem; }
  .burger { display: flex; }
  .head-icon { display: none; }
  .site-nav {
    position: fixed; inset: 0; z-index: 40; background: var(--walnut-deep);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.2rem;
    padding: calc(var(--head-h) + 24px) var(--gutter) 40px;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .site-head.nav-open .site-nav { transform: none; visibility: visible; }
  .site-nav a { font-family: var(--font-display); font-size: 2rem; border: 0; }
  .site-nav .nav-cta { color: var(--gold-soft); }
  .nav-foot { display: grid; gap: 4px; margin-top: auto; color: var(--ivory-soft); font-size: 1rem; }
  .nav-foot a { font-family: var(--font-text); font-size: 1.15rem; color: var(--ivory); }
  .site-head.nav-open::before { background: var(--walnut-deep); }
}

@media (max-width: 900px) {
  .facts-list { grid-template-columns: 1fr; gap: 26px; }
  .signature-grid { grid-template-columns: repeat(2, 1fr); }
  .huis { grid-template-columns: 1fr; grid-template-areas: "intro" "photoa" "timeline" "photob" "photoc" "quote"; }
  .huis-photo-a img, .huis-photo-c img { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .reserveren, .contact { grid-template-columns: 1fr; }
  .contact-map { min-height: 380px; }
}

@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .res-form { grid-template-columns: 1fr; }
  .segmented span { padding: 10px 6px; }
  .signature-grid { gap: 18px 12px; }
  .lightbox { grid-template-columns: 1fr; padding: 12px; }
  .lightbox figure { grid-column: 1; }
  .lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
}
