/* Verkoopsite Auzat. Eerst de basis, onderaan de aanpassingen voor tablet en telefoon. */
:root {
  --bg: #EEF0EC;
  --ink: #1C2622;
  --ink-2: #3A4640;
  --muted: #55615B;
  --line: #D5D9D2;
  --line-soft: #E4E7E1;
  --accent: #1F5F52;
  --cta: #B8451F;
  --white: #FFFFFF;
  --gutter: 32px;
  --block: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: break-word;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3 { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; }
h3 { font-size: 24px; line-height: 1.15; }
p, ul, dl, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--accent); }
a:hover { color: #143F37; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
section[id], main[id] { scroll-margin-top: 84px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.block { padding-top: var(--block); padding-bottom: 0; }
.lead { font-size: 19px; }
.small { font-size: 15px; color: var(--muted); margin-top: 18px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #BFD8CF; }
.eyebrow-accent { color: var(--accent); }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 6px;
  font: inherit; font-weight: 600; text-decoration: none; text-align: center; cursor: pointer;
}
.btn-cta { background: var(--cta); color: var(--white); }
.btn-cta:hover { background: #9C3A19; color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #174A40; color: var(--white); }
.btn-ghost { border-color: #8FA59C; color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

/* Kop */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; flex-direction: column; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 24px; line-height: 1.1; }
.brand-sub { font-size: 13px; color: var(--muted); }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.nav a { padding: 12px 0; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.langs { display: flex; gap: 4px; }
.langs a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; border: 1px solid #B9C0B9; border-radius: 6px;
  background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none;
}
.langs a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.header-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); background: var(--ink); color: var(--white); }
.hero-text { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(36px, 5vw, 80px) clamp(20px, 4vw, 64px); }
.hero h1 { font-size: clamp(32px, 4.1vw, 60px); line-height: 1.05; }
.hero-sub { font-size: 19px; color: #E3E8E4; max-width: 34em; }
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.hero-price strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 40px; line-height: 1; }
.hero-price span { font-size: 15px; color: #BFD8CF; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img { position: relative; min-height: 640px; }
.hero-img img { position: absolute; inset: 0; }

/* Feiten */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 12px; padding-top: 28px; padding-bottom: 28px; }
.facts li { display: flex; flex-direction: column; gap: 2px; }
.facts strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 30px; line-height: 1.1; color: var(--accent); }
.facts span { font-size: 15px; color: var(--muted); }

/* Redenen */
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.reason { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); }
.reason-nr { font-size: 14px; font-weight: 600; color: var(--muted); }
.reason p { color: var(--ink-2); }

/* De twee huizen */
.house { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.house-flip { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.house-flip .house-text { order: 2; }
.house-text { display: flex; flex-direction: column; gap: 18px; }
.specs { display: flex; flex-direction: column; margin-top: 6px; }
.specs li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); }
.specs svg { flex: none; margin-top: 3px; color: var(--accent); }
.house-photos { display: flex; flex-direction: column; gap: 12px; }
.photo-main { aspect-ratio: 16 / 9; }
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photo-row img { aspect-ratio: 4 / 3; }
.photo-main img, .photo-row img, figure img { border-radius: 6px; background: var(--line); }

/* Terrein */
.band { margin-top: var(--block); background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .block { padding-bottom: var(--block); }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 46em; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
figure { display: flex; flex-direction: column; gap: 10px; }
figure img { aspect-ratio: 4 / 3; height: auto; }
figcaption { font-size: 15px; color: var(--muted); }

/* Ligging */
.location { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.location > div { display: flex; flex-direction: column; gap: 18px; }
.pairs { display: flex; flex-direction: column; margin-top: 6px; }
.pairs div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 24px; padding: 13px 0; border-top: 1px solid var(--line); }
.pairs dt { font-weight: 600; }
.pairs dd { margin: 0; color: var(--ink-2); }

/* Meer foto's: kolommen, zodat staande foto's heel blijven */
.gallery { columns: 3; column-gap: 20px; margin-top: 32px; }
.gallery figure { break-inside: avoid; margin-bottom: 24px; }
.gallery .staand img { aspect-ratio: 3 / 4; }

/* Kenmerken */
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin-top: 28px; padding: 8px 28px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.details div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 600; text-align: right; }

/* Contact */
.contact { margin-top: var(--block); background: var(--accent); color: var(--white); }
.contact .block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; padding-bottom: var(--block); }
.contact-text { display: flex; flex-direction: column; gap: 18px; }
.contact h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; }
.contact .lead { color: #E3EEE9; max-width: 28em; }
.call { color: #CFE3DB; }
.call a { display: block; padding: 6px 0; color: var(--white); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.2; text-decoration: none; }
form, .form-done { padding: 28px; border-radius: 8px; background: var(--white); color: var(--ink); }
form { display: flex; flex-direction: column; gap: 16px; }
.form-done { font-size: 19px; font-weight: 600; }
.form-error { padding: 12px 14px; border-radius: 6px; background: #FBE9E2; color: #8A2E12; font-weight: 600; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 0 14px; border: 1px solid #8D9790; border-radius: 6px;
  background: var(--white); color: var(--ink); font: inherit;
}
.field input { height: 48px; }
.field textarea { padding: 12px 14px; resize: vertical; }
form .btn { align-self: flex-start; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Voet */
.site-footer { background: var(--ink); color: #C9D2CD; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 32px; padding-bottom: 32px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #C9D2CD; }
.site-footer a:hover { color: var(--white); }

/* ── Tablet ─────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .nav { display: none; }
  .facts ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { columns: 2; }
}

@media (max-width: 900px) {
  :root { --block: 64px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-img { order: -1; min-height: 0; aspect-ratio: 3 / 2; }
  .house, .house-flip, .location, .contact .block { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .house-flip .house-text { order: 0; }
  .details { grid-template-columns: minmax(0, 1fr); }
}

/* ── Telefoon ───────────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --gutter: 16px; --block: 48px; }
  .lead, .hero-sub { font-size: 18px; }
  section[id], main[id] { scroll-margin-top: 12px; }

  /* Kop: merk en knop op één regel, de vier talen eronder over de volle breedte */
  .site-header { position: static; }
  .site-header .wrap { gap: 10px 12px; }
  .brand-domain { display: none; }
  .langs { order: 3; width: 100%; gap: 8px; }
  .langs a { flex: 1; }

  .hero-img { aspect-ratio: 4 / 3; }
  .hero-text { gap: 16px; padding: 28px var(--gutter) 36px; }
  .hero-price strong { font-size: 36px; }
  .hero-actions { flex-direction: column; }

  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-top: 24px; padding-bottom: 24px; }
  .facts strong { font-size: 26px; }
  .reasons { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
  .photo-row, .house-photos { gap: 8px; }
  .figures { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
  .gallery { columns: 1; margin-top: 24px; }
  .details { padding: 4px 16px; }
  .details dd { text-align: left; }
  form, .form-done { padding: 20px 16px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  form .btn { align-self: stretch; }
  .site-footer .wrap { flex-direction: column; }
}
