/* ============================================================
   Lutmastraat — Warm Editorial theme
   ============================================================ */
:root {
  --bg: #f7f3ec;
  --bg-alt: #f0e9dd;
  --ink: #2b2b2b;
  --ink-soft: #5c554c;
  --line: #e0d6c6;
  --accent: #b4632f;
  --accent-dark: #934d20;
  --white: #fffdf9;
  --shadow: 0 18px 50px -28px rgba(60, 40, 20, 0.45);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1200px;
  --pad: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* ----- language toggle visibility ----- */
body[data-lang="nl"] .lang-en,
body[data-lang="en"] .lang-nl { display: none !important; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); margin: 0.2em 0 0.6em; }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); margin: 0 0 0.5em; }
p { margin: 0 0 1.1em; }

.kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.4em;
}

/* ----- buttons ----- */
.btn {
  --bpad: 0.8em 1.5em;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: var(--bpad);
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-1px); }
.btn--lg { --bpad: 1em 1.9em; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============================================================ NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem var(--pad);
  background: rgba(247, 243, 236, 0);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.is-scrolled {
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 0.65rem; padding-bottom: 0.65rem;
}
.nav__brand { display: flex; align-items: baseline; gap: 0.4rem; text-decoration: none; color: var(--white); font-family: var(--serif); white-space: nowrap; flex-shrink: 0; }
.nav.is-scrolled .nav__brand { color: var(--ink); }
.nav__brand-mark { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.01em; }
.nav__brand-no { font-size: 1.15rem; color: var(--accent); font-weight: 600; }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  text-decoration: none; color: var(--white); font-size: 0.92rem; font-weight: 500;
  opacity: 0.92; position: relative; padding: 0.2rem 0;
}
.nav.is-scrolled .nav__links a { color: var(--ink-soft); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: var(--accent); transition: width .22s ease;
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.langtoggle { display: flex; align-items: center; gap: 0.35rem; color: var(--white); font-size: 0.85rem; }
.nav.is-scrolled .langtoggle { color: var(--ink-soft); }
.langtoggle button {
  background: none; border: 0; padding: 0.15rem 0.1rem; cursor: pointer; color: inherit;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; opacity: 0.65;
}
.langtoggle button.is-active { opacity: 1; color: var(--accent); font-weight: 600; }
.nav__cta { padding: 0.55em 1.2em; font-size: 0.88rem; }

/* ============================================================ HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); }
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  background:
    linear-gradient(to top, rgba(28, 20, 12, 0.78) 0%, rgba(28, 20, 12, 0.28) 42%, rgba(28, 20, 12, 0.15) 70%, rgba(28, 20, 12, 0.35) 100%);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad) clamp(3rem, 7vh, 6rem);
}
.hero__eyebrow { text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.78rem; font-weight: 600; margin: 0 0 0.8rem; opacity: 0.95; }
.hero__title { font-size: clamp(3rem, 1.8rem + 7vw, 7rem); margin: 0; line-height: 0.95; font-weight: 500; }
.hero__sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1rem + 1vw, 1.9rem); max-width: 22ch; margin: 0.5rem 0 1.4rem; font-weight: 400; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem; padding: 0; margin: 0 0 1.8rem; }
.hero__facts li { font-size: 0.9rem; padding: 0.35em 0.9em; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; backdrop-filter: blur(2px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__ctas .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.6); }
.hero__ctas .btn--ghost:hover { background: var(--white); color: var(--ink); }
.hero__avail { margin: 1.4rem 0 0; font-size: 0.85rem; opacity: 0.85; letter-spacing: 0.02em; }

/* ============================================================ SECTION shell */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 9vh, 7rem) var(--pad); }
.section__head { max-width: 40ch; margin-bottom: clamp(1.8rem, 4vh, 3rem); }
.section__head h2 { margin-bottom: 0; }

/* ----- intro ----- */
.intro__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro__text p { color: var(--ink-soft); }
.intro__figure { margin: 0; }
.intro__figure img { width: 100%; border-radius: 6px; box-shadow: var(--shadow); }
.intro__figure figcaption { margin-top: 0.8rem; font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }

/* ============================================================ SPECS strip */
.specs {
  background: var(--ink); color: var(--bg);
  display: grid; grid-template-columns: minmax(220px, 0.8fr) 1.2fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center; padding: clamp(2.2rem, 5vh, 3.4rem) var(--pad);
  max-width: var(--maxw); margin: 0 auto; border-radius: 8px;
}
.specs__price-label { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem; color: #d8b79b; margin: 0 0 0.2rem; font-weight: 600; }
.specs__price-value { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2.5vw, 3.2rem); margin: 0; line-height: 1; }
.specs__price-value span { font-family: var(--sans); font-size: 0.9rem; color: #cbbfae; letter-spacing: 0.02em; }
.specs__price-note { font-size: 0.82rem; color: #b6aa98; margin: 0.5rem 0 0; }
.specs__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0; margin: 0; }
.specs__list li { display: flex; flex-direction: column; gap: 0.15rem; padding-left: 1.1rem; border-left: 1px solid rgba(255,255,255,0.18); }
.specs__num { font-family: var(--serif); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1; color: var(--white); }
.specs__num--serif { color: #e9b277; }
.specs__unit { font-size: 0.8rem; color: #cbbfae; }
.specs__cap { font-size: 0.8rem; color: #cbbfae; letter-spacing: 0.02em; }

/* ============================================================ GALLERY */
.section--gallery { padding-bottom: clamp(2rem, 5vh, 4rem); }
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery__item {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none; cursor: zoom-in;
  break-inside: avoid; border-radius: 5px; overflow: hidden; position: relative; line-height: 0;
  box-shadow: 0 10px 30px -22px rgba(60,40,20,0.6);
}
.gallery__item img { width: 100%; height: auto; transition: transform .5s ease, filter .4s ease; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: rgba(28,20,12,0); transition: background .3s ease;
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:hover::after { background: rgba(28,20,12,0.12); }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.6rem 1rem 0.8rem; line-height: 1.3;
  font-size: 0.8rem; color: #fff;
  background: linear-gradient(to top, rgba(20,14,8,0.7), rgba(20,14,8,0));
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: translateY(0); }

/* ============================================================ LAYOUT cards */
.section--layout { background: var(--bg-alt); max-width: none; }
.section--layout > .section__head, .layout__grid { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.layout__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); }
.layout__card { background: var(--white); padding: clamp(1.6rem, 3vw, 2.5rem); border-radius: 6px; border: 1px solid var(--line); }
.layout__card h3 { color: var(--accent); }
.layout__card p { color: var(--ink-soft); margin: 0; }
.layout__plan { margin: 1.4rem 0 0; }
.layout__plan a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 0.6rem; cursor: zoom-in; }
.layout__plan img { display: block; width: 100%; height: auto; }
.layout__plan figcaption { margin-top: 0.5rem; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--ink-soft); opacity: 0.8; }

/* ============================================================ LOCATION */
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.location__text p { color: var(--ink-soft); }
.location__media { display: grid; gap: 1rem; }
.location__photo { margin: 0; }
.location__photo img { width: 100%; border-radius: 6px; box-shadow: var(--shadow); }
.location__map {
  position: relative; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); height: 260px;
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23e0d6c6' stroke-width='1'/%3E%3C/svg%3E");
  display: grid; place-items: center;
}
.location__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(0.9) contrast(1.02); }
.location__map-btn {
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.7em 1.4em; font-family: var(--sans); font-weight: 500; font-size: 0.95rem; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .18s ease, background .18s ease;
}
.location__map-btn:hover { transform: translateY(-1px); background: var(--bg); }

/* ============================================================ FEATURES */
.section--features { background: var(--ink); color: var(--bg); max-width: none; }
.section--features .kicker { color: #e9b277; }
.section--features .section__head, .features__list { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.features__list { list-style: none; padding: 0; margin: 0; columns: 2 320px; column-gap: 3rem; }
.features__list li {
  break-inside: avoid; padding: 0.85rem 0 0.85rem 1.9rem; position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.12); color: #e7ddcd;
}
.features__list li::before {
  content: ""; position: absolute; left: 0; top: 1.25rem; width: 9px; height: 9px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
}

/* ============================================================ CONTACT */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__intro p { color: var(--ink-soft); }
.contact__fineprint { font-size: 0.85rem; color: var(--ink-soft); border-left: 3px solid var(--accent); padding-left: 1rem; margin-top: 1.5rem; }
.contact__form { background: var(--white); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 0.7em 0.85em; border: 1px solid var(--line); border-radius: 6px; background: var(--bg);
  transition: border-color .18s ease, box-shadow .18s ease; resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180, 99, 47, 0.15); background: var(--white);
}
.contact__success {
  margin: 1rem 0 0; padding: 0.9rem 1.1rem; border-radius: 6px;
  background: #e8f0e2; color: #34602a; font-size: 0.92rem; font-weight: 500;
}
.contact__error { background: #f7e5df; color: #8a2f1b; }
.hp { position: absolute; left: -9999px; }

/* ============================================================ FOOTER */
.footer { text-align: center; padding: 2.6rem var(--pad) 3rem; border-top: 1px solid var(--line); }
.footer__addr { font-family: var(--serif); font-size: 1.05rem; margin: 0 0 0.3rem; }
.footer__meta { font-size: 0.82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.14em; margin: 0; }

/* ============================================================ LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center;
  background: rgba(20, 14, 8, 0.94); padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; transition: opacity .25s ease;
}
.lightbox[hidden] { display: none !important; }
.lightbox:not([hidden]) { display: flex; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.lightbox__stage img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8); }
.lightbox__stage figcaption { color: #e7ddcd; font-size: 0.88rem; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,0.1); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 999px; font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.06); }

/* ============================================================ REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .intro__grid, .location__grid, .contact__grid { grid-template-columns: 1fr; }
  .intro__figure { order: -1; }
  .specs { grid-template-columns: 1fr; text-align: left; }
  .specs__list { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .layout__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .gallery { columns: 2 150px; }
  .field-row { grid-template-columns: 1fr; }
  .nav { gap: 0.5rem; }
  .nav__actions { gap: 0.5rem; }
  .nav__brand-no { display: none; }
  .nav__brand-mark { font-size: 1.05rem; }
  .langtoggle { font-size: 0.8rem; gap: 0.25rem; }
  .langtoggle button { font-size: 0.8rem; }
  .nav__cta { padding: 0.5em 0.95em; }
  .nav__cta .lang-nl, .nav__cta .lang-en { font-size: 0; }
  .nav__cta .lang-nl::after { content: "Bezichtiging"; font-size: 0.82rem; }
  .nav__cta .lang-en::after { content: "Viewing"; font-size: 0.82rem; }
  .specs__list { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery__item img { transition: none; }
}
