/* Haan Residence - conceptontwerp nieuwesite.nl
   Palet: papier-wit + inkt + diepe zee-teal (verfijning van hun #43bfc7); goud alleen in het logo.
   Vormtaal: strakke hoeken (radius 0), editorial-luxe. */

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier: #fbfaf7;
  --papier-tint: #edf2f1;
  --inkt: #21252d;
  --inkt-zacht: #555b64;
  --lijn: #e2e0d8;
  --teal: #0e6a72;
  --teal-donker: #0a5158;
  --wit: #f7f6f1;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Archivo", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--inkt);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }

p { color: var(--inkt-zacht); }
h1 + p, h2 + p { margin-top: 1rem; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.7rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primair { background: var(--teal); color: #fff; }
.btn-primair:hover { background: var(--teal-donker); }
.btn-licht { background: var(--wit); color: var(--inkt); }
.btn-licht:hover { background: #fff; }
.btn-omlijnd { border-color: rgba(247, 246, 241, 0.65); color: var(--wit); }
.btn-omlijnd:hover { border-color: var(--wit); background: rgba(247, 246, 241, 0.12); }

/* ---------- header ---------- */
.site-kop {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--papier);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-kop.gescrold {
  border-bottom-color: var(--lijn);
  box-shadow: 0 8px 30px rgba(33, 37, 45, 0.06);
}
.kop-binnen {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  height: 78px;
}
.kop-logo img { width: 196px; height: auto; }
.kop-nav {
  display: flex;
  gap: 1.9rem;
  margin-left: auto;
}
.kop-nav a {
  color: var(--inkt);
  text-decoration: none;
  font-size: 0.97rem;
}
.kop-nav a:hover { color: var(--teal); }
.kop-cta { padding: 0.65rem 1.3rem; }
.menu-knop { display: none; }

.mobiel-menu {
  display: none;
}

@media (max-width: 860px) {
  .kop-nav, .kop-cta { display: none; }
  .kop-logo img { width: 168px; }
  .menu-knop {
    display: grid;
    gap: 6px;
    margin-left: auto;
    background: none;
    border: 0;
    padding: 10px 4px;
    cursor: pointer;
  }
  .menu-knop span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--inkt);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .menu-knop[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-knop[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobiel-menu {
    display: grid;
    gap: 0.4rem;
    padding: 0.75rem 1.4rem 1.5rem;
    border-bottom: 1px solid var(--lijn);
    background: var(--papier);
  }
  .mobiel-menu[hidden] { display: none; }
  .mobiel-menu a {
    color: var(--inkt);
    text-decoration: none;
    padding: 0.55rem 0;
    font-size: 1.05rem;
  }
  .mobiel-menu .btn { color: #fff; text-align: center; margin-top: 0.6rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(88dvh, 860px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(200deg, rgba(15, 23, 30, 0) 42%, rgba(15, 23, 30, 0.62) 82%),
    linear-gradient(0deg, rgba(15, 23, 30, 0.35), rgba(15, 23, 30, 0.05) 45%);
}
.hero-inhoud {
  width: 100%;
  padding-bottom: clamp(2.75rem, 7vh, 5rem);
  color: var(--wit);
}
.hero h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  max-width: 15ch;
  color: #fff;
}
.hero-sub {
  margin-top: 1.1rem;
  max-width: 46ch;
  font-size: 1.08rem;
  color: rgba(247, 246, 241, 0.92);
}
.hero-acties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

/* ---------- secties algemeen ---------- */
.sectie { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.sectie-kop { max-width: 62ch; }
.sectie-lead { font-size: 1.06rem; }

/* ---------- intro + cijfers ---------- */
.intro-raster {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.intro-tekst p + p { margin-top: 0.9rem; }
.cijfers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--lijn);
  border-top: 1px solid var(--lijn);
}
.cijfer {
  border-right: 1px solid var(--lijn);
  border-bottom: 1px solid var(--lijn);
  padding: 1.5rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column-reverse;
}
.cijfer dd {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--teal);
}
.cijfer dt {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  color: var(--inkt-zacht);
}

/* ---------- villa's ---------- */
.sectie-villas { background: #f4f3ee; }

.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 2.4rem;
}
.filter-label { font-size: 0.95rem; color: var(--inkt-zacht); }
.filter-knoppen { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-knop {
  font-family: var(--sans);
  font-size: 0.92rem;
  padding: 0.55rem 1.05rem;
  background: transparent;
  border: 1px solid var(--lijn);
  color: var(--inkt);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-knop:hover { border-color: var(--teal); color: var(--teal); }
.filter-knop.actief {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.villa {
  background: var(--papier);
  border: 1px solid var(--lijn);
  display: flex;
  flex-direction: column;
}
.villa.verborgen { display: none; }

.villa-groot {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.villa-groot .villa-foto img { height: 100%; object-fit: cover; }
.villa-groot .villa-info { padding: clamp(1.8rem, 3.5vw, 3rem); align-self: center; }

.villa-raster {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}
.villa-foto { overflow: hidden; }
.villa-foto img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.villa-info {
  padding: 1.5rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.villa-plaats {
  font-size: 0.83rem;
  color: var(--inkt-zacht);
  margin-bottom: 0.35rem;
}
.villa h3 { font-size: 1.45rem; }
.villa-groot h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.villa-meta {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: var(--inkt-zacht);
}
.villa-blurb { margin-top: 0.8rem; font-size: 0.96rem; }
.villa-voet {
  margin-top: auto;
  padding-top: 1.1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--lijn);
}
.villa-groot .villa-voet { margin-top: 1.4rem; }
.villa-blurb + .villa-voet { margin-top: 1.2rem; }
.villa-raster .villa-blurb { margin-bottom: 1.2rem; }
.villa-raster .villa-voet { margin-top: auto; }
.villa-prijs { font-size: 0.9rem; color: var(--inkt-zacht); }
.villa-prijs strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--inkt);
  margin-right: 0.15rem;
}
.villa-score { font-size: 0.9rem; color: var(--inkt-zacht); white-space: nowrap; }
.villa-score strong { color: var(--teal); font-size: 1.05rem; }
.villa-score-nieuw { color: var(--teal); font-weight: 500; }

.villa-noot {
  margin-top: 2rem;
  font-size: 0.9rem;
  max-width: 75ch;
}

/* ---------- reviews ---------- */
.sectie-reviews { background: var(--papier-tint); }
.reviews-raster {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.score-groot {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: 1;
  color: var(--teal);
}
.reviews-score h2 { margin-top: 1rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.reviews-score p { font-size: 0.98rem; }
.reviews-lijst { display: grid; gap: 1.4rem; }
.review {
  background: var(--papier);
  border: 1px solid var(--lijn);
  padding: 1.7rem 1.9rem;
}
.review p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--inkt);
}
.review footer {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--inkt-zacht);
}
.review footer strong { color: var(--inkt); font-weight: 600; margin-right: 0.5rem; }

/* ---------- omgeving ---------- */
.sectie-omgeving {
  position: relative;
  isolation: isolate;
  padding-block: clamp(5rem, 12vw, 9rem);
  display: flex;
  align-items: center;
}
.omgeving-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.omgeving-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 23, 30, 0.14), rgba(15, 23, 30, 0.04) 55%);
}
.omgeving-inhoud { width: 100%; display: flex; justify-content: flex-start; }
.omgeving-paneel {
  max-width: 560px;
  background: rgba(251, 250, 247, 0.94);
  padding: clamp(2rem, 4vw, 3.2rem);
}
.omgeving-paneel p + p { margin-top: 0.9rem; }

/* ---------- over ons ---------- */
.overons-raster {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
}
.overons-tekst p + p { margin-top: 0.9rem; }
.diensten-kop {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--inkt);
  padding-bottom: 0.9rem;
}
.dienst {
  border-top: 1px solid var(--lijn);
  padding-block: 1.15rem;
}
.dienst h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
}
.dienst p { font-size: 0.95rem; margin-top: 0.25rem; }

/* ---------- contact ---------- */
.sectie-contact {
  background: var(--inkt);
  color: var(--wit);
}
.contact-binnen { max-width: 720px; }
.sectie-contact h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.contact-lead { color: rgba(247, 246, 241, 0.82); font-size: 1.08rem; max-width: 52ch; }
.contact-acties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.contact-noot {
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: rgba(247, 246, 241, 0.6);
}

/* ---------- footer ---------- */
.site-voet {
  border-top: 1px solid var(--lijn);
  padding-top: 3.5rem;
}
.voet-raster {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem 4rem;
  align-items: start;
  padding-bottom: 2.5rem;
}
.voet-merk img { width: 150px; height: auto; }
.voet-nav { display: grid; gap: 0.45rem; justify-content: center; }
.voet-nav a, .voet-contact a {
  color: var(--inkt);
  text-decoration: none;
  font-size: 0.96rem;
}
.voet-nav a:hover, .voet-contact a:hover { color: var(--teal); }
.voet-contact { text-align: right; }
.voet-contact p { line-height: 1.9; }
.voet-socials { margin-top: 0.8rem; }
.voet-socials a { margin-left: 1.1rem; font-size: 0.9rem; color: var(--inkt-zacht); }
.voet-socials a:first-child { margin-left: 0; }
.voet-onder {
  border-top: 1px solid var(--lijn);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}
.voet-onder p { font-size: 0.85rem; }
.voet-credit { color: var(--teal); }

/* ---------- scroll-reveal (alleen zonder reduced motion, via JS) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.zichtbaar { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .villa-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-raster { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .intro-raster, .overons-raster, .villa-groot { grid-template-columns: 1fr; }
  .villa-groot .villa-foto img { aspect-ratio: 3 / 2; height: auto; }
  .voet-raster { grid-template-columns: 1fr; gap: 2rem; }
  .voet-contact { text-align: left; }
  .voet-nav { justify-content: start; }
}

@media (max-width: 640px) {
  .villa-raster { grid-template-columns: 1fr; }
  .hero { min-height: min(78dvh, 700px); }
  .hero-acties .btn { flex: 1 1 100%; text-align: center; }
  .contact-acties .btn { flex: 1 1 100%; text-align: center; }
  .cijfers { grid-template-columns: 1fr 1fr; }
}
