/* ═══ Casa Terrazzella — gedeelde stylesheet voor alle taalversies ═══
   Gebruikt door /de/, /nl/, /it/, /en/ en / (taalkeuze). Wijzig hier
   éénmalig i.p.v. in elke taalpagina apart. */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --terracotta:   #b8622a;
  --terra-light:  #d9a37c;
  --terra-pale:   #f3e6da;
  --olive:        #5c6e3f;
  --olive-light:  #a8b98a;
  --warm-white:   #faf6f1;
  --sand:         #e9dcc9;
  --dark:         #2b2117;
  --dark-mid:     #47392a;
  --mid:          #7a6a58;
  --caption:      #8c7c68;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', sans-serif;

  /* Typeschaal — voeg GEEN losse font-sizes toe, gebruik deze tokens.
     label = uppercase mini-labels · small = lijsten/tabellen/bijschriften
     body  = lopende tekst        · h1/h2/h3 = koppen */
  --fs-label: 11px;
  --fs-small: 0.85rem;
  --fs-body:  clamp(15px, 1.6vw, 17px);
  --fs-h3:    1.25rem;
  --fs-h2:    clamp(1.9rem, 4.5vw, 3rem);
  --fs-h1:    clamp(2.6rem, 7vw, 5rem);

  /* plattegrond-inkt (inline SVG plattegronden op de taalpagina's) */
  --paper:       oklch(0.96 0.018 72);
  --wall-fill:   oklch(0.91 0.03 70);
  --ink:         oklch(0.42 0.10 42);
  --ink-hatch:   oklch(0.60 0.12 42);
  --terr-stroke: oklch(0.52 0.06 100);
  --terr-label:  oklch(0.46 0.06 100);

  --gap: clamp(2rem, 5vw, 5rem);
  --col: min(1200px, 92vw);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  background: var(--warm-white);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.75;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.container { width: var(--col); margin: 0 auto; }
.section { padding: var(--gap) 0; }

/* ─── NAV ────────────────────────────────────────────────── */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.2rem clamp(1.2rem, 4vw, 3rem);
  background: var(--terra-pale);
  border-bottom: 1px solid var(--terra-light);
}
/* Logo: beeldmerk in etsstijl + woordmerk (bron: logos/, ontwerp "Logo Ets"). */
.nav-logo { display: flex; align-items: center; gap: 0.85rem; color: var(--dark); }
.nav-logo-mark { display: block; height: 46px; width: auto; }
.nav-logo-tekst { display: grid; gap: 0.3rem; padding-left: 0.85rem; border-left: 1px solid var(--terra-light); }
.nav-logo-naam { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: 0.02em; line-height: 1; white-space: nowrap; }
.nav-logo-sub { font-family: var(--font-body); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--caption); line-height: 1; }
@media (max-width: 560px) {
  .nav-logo-mark { height: 32px; }
  .nav-logo { gap: 0.6rem; }
  .nav-logo-tekst { padding-left: 0.6rem; }
}
.nav-right { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.lang-switch { display: flex; gap: 0.6rem; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; }
.lang-switch a { color: var(--caption); padding: 0.2rem 0.1rem; border-bottom: 2px solid transparent; }
.lang-switch a[aria-current="true"] { color: var(--dark); border-color: var(--terracotta); }
.lang-switch a:hover { color: var(--terracotta); }
.nav-whatsapp { display: flex; align-items: center; gap: 0.4rem; font-size: var(--fs-label); color: var(--olive); }
.btn-nav-cta {
  font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--terracotta); color: var(--terracotta);
  padding: 0.55rem 1.2rem;
}
.btn-nav-cta:hover { background: var(--terracotta); color: white; }
/* Op de telefoon mag de knoptekst over twee regels, zodat taalkeuze,
   WhatsApp en knop samen op één rij passen (bv. "Houd me op de hoogte"). */
@media (max-width: 560px) {
  .nav-right { gap: 1rem; }
  .btn-nav-cta { white-space: normal; text-align: center; max-width: 9.5rem; line-height: 1.35; padding: 0.45rem 0.8rem; }
}

/* ─── HERO (full-bleed, edge-to-edge, geen frame) ───────── */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
  border-bottom: 3px solid var(--terracotta);
}
.hero-media {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, var(--sand) 0, var(--sand) 1px, var(--terra-pale) 1px, var(--terra-pale) 16px);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(74,32,14,0.85) 0%, rgba(74,32,14,0.38) 42%, rgba(74,32,14,0.05) 68%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--warm-white);
}
.hero-badge {
  display: inline-block; font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--terracotta); color: white; padding: 0.4rem 1rem; margin-bottom: 1.2rem;
}
.hero-location { font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra-light); margin-bottom: 0.6rem; }
h1.hero-title { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 400; line-height: 1; margin-bottom: 1rem; color: var(--warm-white); }
.hero-promise { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: rgba(250,246,241,0.88); max-width: 40ch; margin-bottom: 1.8rem; }
@media (max-width: 560px) {
  .hero { min-height: 70vh; }
}
.btn-primary {
  display: inline-block; background: var(--terracotta); color: white; border: none;
  font-family: var(--font-body); font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1rem 2rem; cursor: pointer; transition: background 0.2s;
}
.btn-primary:hover { background: #a3521f; }

/* ─── SECTION HEADS ──────────────────────────────────────── */
.eyebrow { font-size: var(--fs-label); letter-spacing: 0.24em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1rem; }
h2.section-title { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 400; line-height: 1.1; margin-bottom: 1.4rem; }
h2.section-title em { font-style: italic; color: var(--terracotta); }
/* Alle tussenkoppen (h3) op de site — géén losse inline-stijlen meer. */
.sub-title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 400; line-height: 1.2; margin: 1.8rem 0 0.8rem; }
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1rem; color: var(--dark-mid); }
.prose p:last-child { margin-bottom: 0; }

/* ─── LIJSTEN (één stijl voor alle opsommingen) ──────────── */
.list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: var(--fs-small); color: var(--dark-mid); }
.list li { position: relative; padding-left: 1.1rem; }
.list li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 0.4em; height: 0.4em; border-radius: 50%; background: var(--terracotta);
}

/* ─── INTRO ──────────────────────────────────────────────── */
.intro-section .prose { margin: 0 auto; text-align: left; }

/* ─── APARTEMENTEN ───────────────────────────────────────── */
.apts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--sand); margin-top: 2rem; }
.apt-card { background: var(--warm-white); padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1rem; }
.apt-plan { aspect-ratio: 1/1; background: var(--terra-pale); border: 1px solid var(--sand); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.apt-plan img { width: 100%; height: 100%; object-fit: contain; padding: 0.4rem; }
.apt-plan svg { width: 100%; height: 100%; padding: 0.4rem; }
.apt-plan.pending { color: var(--caption); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 1rem; }
.apt-plan:not(.pending) { cursor: zoom-in; position: relative; }
.apt-plan:not(.pending)::after {
  content: '⤢';
  position: absolute; bottom: 0.6rem; right: 0.6rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: rgba(255,255,255,0.88); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; opacity: 0; transition: opacity 0.15s;
  pointer-events: none;
}
.apt-plan:not(.pending):hover::after,
.apt-plan:not(.pending):focus-visible::after { opacity: 1; }
.apt-plan:not(.pending):focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.plan-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(24, 17, 11, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease;
}
.plan-lightbox.open { opacity: 1; visibility: visible; }
.plan-lightbox-content {
  background: var(--warm-white); max-width: min(760px, 100%); max-height: 100%;
  padding: clamp(1.5rem, 4vw, 3rem); overflow: auto;
}
.plan-lightbox-content svg { width: 100%; height: auto; display: block; }
.plan-lightbox-close {
  position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: none;
  background: var(--warm-white); color: var(--dark); font-size: 1.5rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.plan-lightbox-close:hover { background: var(--sand); }
.plan-lightbox-content.is-foto { padding: 0; background: transparent; max-width: min(1100px, 100%); }
.plan-lightbox-content.is-foto img { width: auto; max-width: 100%; max-height: 85vh; height: auto; display: block; margin: 0 auto; }
.is-zoombaar { cursor: zoom-in; }
.is-zoombaar:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

/* Carrousel per appartement: plattegrond eerst, daarna foto's. Staat onderaan
   de kaart (margin-top: auto), zodat de drie carrousels op één lijn liggen. */
.apt-carousel { margin-top: auto; }
.apt-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.apt-slides::-webkit-scrollbar { display: none; }
.apt-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1 / 1; overflow: hidden; }
.apt-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apt-carousel-nav { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 0.6rem; }
.apt-carousel-btn { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--sand); background: var(--warm-white); color: var(--dark); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.apt-carousel-btn:hover:not(:disabled) { border-color: var(--terracotta); color: var(--terracotta); }
.apt-carousel-btn:disabled { opacity: 0.35; cursor: default; }
.apt-carousel-dots { display: flex; gap: 0.45rem; }
.apt-carousel-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: var(--sand); cursor: pointer; }
.apt-carousel-dot[aria-current="true"] { background: var(--terracotta); }

.apt-name { font-family: var(--font-display); font-size: 1.7rem; font-style: italic; font-weight: 400; }
.apt-size { font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--terracotta); text-transform: uppercase; }
/* Korte labels onder de naam: wat gasten als eerste willen weten. Het eerste
   label (airco) is het enige in terracotta, zodat precies dat ene eruit springt. */
.apt-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.apt-tags li {
  font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--sand); color: var(--dark-mid); padding: 0.3rem 0.65rem;
}
.apt-tags li:first-child { background: var(--terracotta); color: white; }

/* Het weetje achter de naam als kantlijnnotitie: terracotta lijn links en een
   klein kopje erboven. Het kopje komt uit CSS, per taal via html[lang]. */
.apt-meaning {
  border-left: 2px solid var(--terracotta);
  padding-left: 1rem;
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--dark-mid);
}
.apt-meaning::before {
  content: 'Achter de naam';
  display: block;
  font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase;
  font-style: normal; color: var(--terracotta); margin-bottom: 0.3rem;
}
html[lang="de"] .apt-meaning::before { content: 'Hinter dem Namen'; }
html[lang="it"] .apt-meaning::before { content: 'Dietro il nome'; }
html[lang="en"] .apt-meaning::before { content: 'Behind the name'; }
.apt-facts { border-top: 1px solid var(--sand); padding-top: 0.8rem; }
.apt-status { align-self: flex-start; font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; background: var(--olive); color: white; padding: 0.35rem 0.7rem; }
.apts-intro { font-size: var(--fs-small); color: var(--dark-mid); max-width: 60ch; margin-top: -0.6rem; margin-bottom: 0.4rem; }
.apts-note { margin-top: 1.6rem; font-size: var(--fs-small); font-style: italic; color: var(--caption); }

/* ─── TARIEVEN ───────────────────────────────────────────── */
/* De randschaduwen verdwijnen zodra je aan die kant bent uitgescrold, zodat
   zichtbaar is dat er nog een kolom naast staat. */
.table-scroll {
  overflow-x: auto; margin: 1.6rem 0;
  background:
    linear-gradient(to right, var(--warm-white), rgba(250,246,241,0)) left center,
    linear-gradient(to left, var(--warm-white), rgba(250,246,241,0)) right center,
    radial-gradient(farthest-side at 0 50%, rgba(43,33,23,0.16), rgba(43,33,23,0)) left center,
    radial-gradient(farthest-side at 100% 50%, rgba(43,33,23,0.16), rgba(43,33,23,0)) right center;
  background-repeat: no-repeat;
  background-size: 3rem 100%, 3rem 100%, 0.9rem 100%, 0.9rem 100%;
  background-attachment: local, local, scroll, scroll;
}
.table-hint { display: none; font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--caption); margin: -0.8rem 0 1.6rem; }
.price-table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: var(--fs-small); }
.price-table th { text-align: left; font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--caption); font-weight: 400; padding: 0 0.8rem 0.6rem; }
.price-table th:not(:first-child), .price-table td:not(:first-child) { text-align: right; }
/* Tweede kopregel met de periodes onder de seizoensnamen. */
.price-table .period th {
  text-transform: none; letter-spacing: 0; font-style: italic;
  color: var(--mid); padding-top: 0; padding-bottom: 0.9rem;
}
.price-table td { padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--sand); color: var(--dark-mid); }
.price-table td:first-child { font-family: var(--font-display); font-style: italic; font-size: var(--fs-body); color: var(--dark); }
.price-note { font-size: var(--fs-small); color: var(--caption); font-style: italic; margin-bottom: 1.6rem; }
.price-discount { display: inline-block; background: var(--terra-pale); border: 1px solid var(--terra-light); color: var(--dark); font-size: var(--fs-small); padding: 0.8rem 1.2rem; margin-bottom: 2rem; }

/* ─── INTERESSE-BLOK ─────────────────────────────────────── */
.interest-block {
  background: var(--dark); color: var(--warm-white);
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.2rem, 6vw, 4rem);
  margin-top: var(--gap);
  border-top: 3px solid var(--terracotta);
}
.interest-block .container { width: 100%; }
.interest-block .eyebrow { color: var(--terra-light); }
.interest-block h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 400; margin-bottom: 0.8rem; }
.interest-block p { color: #d8cabb; max-width: 52ch; margin-bottom: 0.5rem; }
.interest-lang-note { font-size: var(--fs-small); font-style: italic; color: var(--terra-light); margin-bottom: 1.6rem; }
/* Raster van zes kolommen. Met flexbox brak het formulier op middelgrote
   schermen rafelig af; met vaste kolombreedtes staat elk veld waar het hoort. */
.interest-form { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; max-width: 48rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; grid-column: span 3; min-width: 0; }
.field-sm { grid-column: span 2; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--terra-light); font-weight: 400;
}
.interest-form input[type="email"],
.interest-form input[type="text"],
.interest-form input[type="date"],
.interest-form input[type="number"],
.interest-form select {
  width: 100%; max-width: 100%; min-width: 0;
  padding: 0.9rem 1.1rem; border: 1px solid #5a4c3a; background: #382c20; color: white;
  font-family: var(--font-body); font-size: var(--fs-small);
}
.interest-form input[type="date"] { color-scheme: dark; }
.interest-form input::placeholder { color: #a89a86; }
.interest-form button { grid-column: 1 / -1; }
.interest-form button:disabled { opacity: 0.7; cursor: default; }
/* Honeypot tegen spambots: onzichtbaar voor mensen, wel ingevuld door bots. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--fs-small); font-style: italic; color: #a89a86; margin-top: 0.9rem; max-width: 44ch; }
.interest-extra { margin-top: 1.4rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid #25d366; color: #25d366; padding: 0.6rem 1.1rem;
}
.btn-whatsapp:hover { background: #25d366; color: var(--dark); }
/* Leeg is onzichtbaar; zodra er een melding staat wordt het een duidelijk kader. */
.form-status { font-size: var(--fs-small); }
.form-status[data-state] {
  display: block; margin-top: 1.1rem; padding: 0.9rem 1.2rem;
  border-left: 3px solid currentColor; max-width: 44ch;
}
.form-status[data-state="ok"] { color: #a8d99a; background: rgba(168,217,154,0.12); }
.form-status[data-state="error"] { color: #e8a08a; background: rgba(232,160,138,0.12); }

/* ─── OVER ONS ───────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-photo { aspect-ratio: 4/5; background: var(--terra-pale); border: 1px solid var(--terra-light); display: flex; align-items: center; justify-content: center; color: var(--caption); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 1rem; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo:has(img) { padding: 0; aspect-ratio: 4/3; }
.about-progress { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.about-progress div { flex: 1; aspect-ratio: 1; background: var(--sand); display: flex; align-items: center; justify-content: center; font-size: var(--fs-label); color: var(--caption); text-align: center; padding: 0.4rem; overflow: hidden; }
.about-progress div img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── OMGEVING ───────────────────────────────────────────── */
.env-map { width: 100%; aspect-ratio: 16/8; border: 1px solid var(--sand); margin: 1.6rem 0 0.8rem; filter: sepia(8%); background: var(--terra-pale); }
.map-link { display: inline-block; font-size: var(--fs-small); color: var(--terracotta); border-bottom: 1px solid var(--terra-light); margin-bottom: 2rem; }
.map-link:hover { border-bottom-color: var(--terracotta); }
.distance-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); margin-bottom: 2rem; }
.distance-table td { padding: 0.5rem 0.8rem; border-bottom: 1px solid var(--sand); color: var(--dark-mid); }
.distance-table td:last-child { text-align: right; color: var(--mid); }

/* Tips in blokken. Dit was de opmaak van het seizoenenblok, dat we niet meer
   gebruiken; de tips lezen hierdoor als losse kaartjes in plaats van als een
   lange opsomming. */
.tip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin: 1.4rem 0 2rem; }
.tip-grid div { background: var(--terra-pale); padding: 1.2rem; font-size: var(--fs-small); color: var(--dark-mid); }
.tip-grid strong { display: block; color: var(--terracotta); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem; }
.tip-grid ul { list-style: none; margin-top: 0.6rem; display: flex; flex-direction: column; gap: 0.3rem; }
.tip-grid li { position: relative; padding-left: 0.9rem; color: var(--dark-mid); }
.tip-grid li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--terracotta); }
/* De toelichting op een eigen regel onder de naam. Zo is er geen scheidingsteken
   nodig en blijft de huisstijlregel "geen gedachtestreepjes" overeind. */
.tip-grid em { display: block; font-style: normal; color: var(--mid); }

/* ─── PRAKTISCH ──────────────────────────────────────────── */
.practical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3rem); }

/* ─── FAQ ────────────────────────────────────────────────── */
/* <details>/<summary>, dus in- en uitklappen werkt zonder JavaScript en ook
   met het toetsenbord. */
.faq-item { border-bottom: 1px solid var(--sand); }
.faq-item summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 400; line-height: 1.2;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  font-family: var(--font-body); font-size: var(--fs-h3); line-height: 1;
  color: var(--terracotta);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--terracotta); }
.faq-item p { font-size: var(--fs-small); color: var(--dark-mid); padding-bottom: 1.4rem; max-width: 68ch; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { background: var(--dark); color: #a89a86; padding: clamp(2.6rem, 5vw, 4rem) 0 1.6rem; }
/* Footer over de volle breedte, net als de menubalk: logo helemaal links
   (gelijk met het logo bovenaan), kolommen en onderste regel verdeeld. */
footer > .container { width: auto; padding: 0 clamp(1.2rem, 4vw, 3rem); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 2.4rem; margin-bottom: 2rem; }
.footer-brand .logo { display: grid; justify-items: start; gap: 0.45rem; margin-bottom: 1.1rem; color: var(--warm-white); }
.footer-logo-mark { display: block; width: 132px; height: auto; margin-bottom: 0.3rem; }
.footer-logo-naam { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; line-height: 1; }
.footer-logo-sub { font-family: var(--font-body); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: #c9b79f; line-height: 1; }
address.footer-nap { font-style: normal; font-size: var(--fs-small); line-height: 1.7; }
.footer-col h4 { font-size: var(--fs-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--warm-white); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: var(--fs-small); }
.footer-col a:hover { color: var(--terra-light); }
.footer-bottom { border-top: 1px solid #47392a; padding-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: var(--fs-label); }
.footer-bottom a:hover { color: var(--terra-light); }

/* ─── UTILITIES ──────────────────────────────────────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── PLACEHOLDER-BADGE (voor nog-aan-te-leveren info) ───── */
.todo {
  background: repeating-linear-gradient(45deg, #fff3d6, #fff3d6 6px, #ffe9b3 6px, #ffe9b3 12px);
  color: #7a5c14; padding: 0.05em 0.4em; font-size: 0.82em; font-style: normal; border-radius: 2px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .apts-grid, .about-grid, .practical-grid { grid-template-columns: 1fr; }
  .tip-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; }
  .price-table { min-width: 26rem; }
  .table-hint { display: block; }
}
@media (max-width: 560px) {
  /* Alles onder elkaar, behalve de drie tellertjes: die passen naast elkaar
     en dat scheelt drie schermregels. */
  .interest-form { grid-template-columns: repeat(3, 1fr); }
  .field { grid-column: 1 / -1; }
  .field-sm { grid-column: span 1; }
  /* iOS zoomt automatisch in op een veld met een letter kleiner dan 16px,
     en daarna staat de pagina scheef. Zelfde lettertype, alleen groter. */
  .interest-form input, .interest-form select { font-size: 16px; }
  .about-progress { flex-wrap: wrap; }
}

/* ─── REDACTIEMODUS ──────────────────────────────────────────
   Alleen actief als redactie.js draait (URL met ?redactie). Voor gewone
   bezoekers staat er niets van deze regels aan, want html.redactie ontbreekt. */
.redactie [contenteditable] {
  outline: 1px dashed var(--terra-light);
  outline-offset: 3px;
  border-radius: 2px;
  transition: background 0.15s, outline-color 0.15s;
}
.redactie [contenteditable]:hover { background: rgba(217,163,124,0.10); }
.redactie [contenteditable]:focus {
  outline: 2px solid var(--terracotta);
  background: rgba(184,98,42,0.06);
}
/* De donkere blokken hebben een lichte stippellijn nodig om zichtbaar te zijn. */
.redactie .interest-block [contenteditable] { outline-color: rgba(217,163,124,0.55); }
.redactie .interest-block [contenteditable]:hover { background: rgba(250,246,241,0.07); }

.redactie-balk {
  position: fixed;
  right: clamp(0.8rem, 3vw, 1.6rem);
  bottom: clamp(0.8rem, 3vw, 1.6rem);
  z-index: 9999;
  width: min(15rem, calc(100vw - 1.6rem));
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-top: 3px solid var(--terracotta);
  box-shadow: 0 6px 24px rgba(43,33,23,0.18);
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
}
.redactie-kop {
  font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 0.3rem;
}
.redactie-teller {
  font-family: var(--font-display); font-size: var(--fs-h3); font-style: italic;
  color: var(--caption); line-height: 1.2;
}
.redactie-balk.actief .redactie-teller { color: var(--dark); }
.redactie-knoppen { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.7rem 0 0.5rem; }
.redactie-knoppen button {
  font-family: var(--font-body); font-size: var(--fs-label);
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--terracotta); background: var(--terracotta); color: white;
  padding: 0.45rem 0.7rem; cursor: pointer;
}
.redactie-knoppen button:hover { background: #a3521f; border-color: #a3521f; }
.redactie-knoppen button.stil { background: none; color: var(--caption); border-color: var(--sand); }
.redactie-knoppen button.stil:hover { background: none; color: var(--terracotta); border-color: var(--terra-light); }
.redactie-hint { font-size: var(--fs-label); line-height: 1.5; color: var(--caption); }

@media (max-width: 560px) {
  .redactie-balk { left: clamp(0.8rem, 3vw, 1.6rem); width: auto; }
}

/* ─── APARTEMENTEN: aanvullingen 2026-09-23 ─────────────────
   .apt-price is vervallen (dubbelop met de tarieventabel eronder). */
.apts-note-row { display: flex; align-items: flex-start; gap: 0.8rem; margin-top: 1.2rem; }
.apts-note-icon { flex: none; margin-top: 0.1rem; }
.apts-note-row .apts-note { margin: 0; }
