/* ============================================================
   NOMEE: Hytte by Nomee
   Designsysteem: Scandinavisch, warm, licht, natuurlijk, premium
   ------------------------------------------------------------
   Kleuren: warm wit, zand, dennengroen, mosgroen, licht hout,
   heel subtiel terracotta. Geen harde felle kleuren.
   Typografie: Fraunces (display) + Karla (body).
   Signatuur: het "Hytte-venster": gebogen fotokaders,
   alsof je vanuit het huisje het bos in kijkt.
   ============================================================ */

:root {
  --papier:   #FBF7EE;  /* warm ivoor: basisachtergrond */
  --boter:    #F5E8C2;  /* botergeel: warme rustpanelen */
  --zand:     #F0E7D6;  /* zand: subtiele tussentint */
  --zand-d:   #E6DCC5;  /* iets dieper zand */
  --den:      #2F3B2F;  /* dennengroen: anker voor koppen en footer */
  --mos:      #6E7C5E;  /* mosgroen: spaarzaam, vooral in illustraties */
  --hout:     #B99B79;  /* warm hout: rustige details */
  --oker:     #D9A55F;  /* oker/amber: gouden accenten */
  --terra:    #B4663C;  /* terracotta: knoppen en accenten */
  --inkt:     #34352E;  /* broodtekst */
  --inkt-z:   #6C6B60;  /* zachte tekst */
  --lijn:     #E8DEC6;  /* hairlines */

  --f-display: "Fraunces", Georgia, serif;
  --f-body:    "Karla", "Helvetica Neue", Arial, sans-serif;

  --maat: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --breedte: 1140px;
  --smal: 720px;
  --rond: 18px;
  --boog: 240px; /* boogkader bovenzijde */
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--maat);
  line-height: 1.65;
  color: var(--inkt);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terra); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--den); }
:focus-visible { outline: 2px solid var(--mos); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--den);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 1.6rem + 3.2vw, 3.8rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--terra); }
h2 { font-size: clamp(1.7rem, 1.4rem + 1.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem); }
p { margin: 0 0 1em; max-width: 65ch; }
.smal p, .smal ul { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: block;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}

.wrap { max-width: var(--breedte); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.smal { max-width: var(--smal); margin-left: auto; margin-right: auto; text-align: center; }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.sectie-zand { background: var(--boter); }
.sectie-den { background: linear-gradient(180deg, #313E31, #293429); color: #EFEBE2; }
.sectie-den h2, .sectie-den h3 { color: #F6F2E8; }
.sectie-den .eyebrow { color: #EBD9A0; }
.sectie-den a { color: #D9DFC8; }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--terra);
  background: var(--terra);
  color: #FDF8EE;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.knop:hover {
  background: var(--den); border-color: var(--den); color: #F6F2E8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(47, 59, 47, 0.18);
}
.knop { transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.knop-licht { background: transparent; color: var(--den); }
.knop-licht:hover { background: var(--den); color: #F6F2E8; }
.sectie-den .knop { background: var(--boter); border-color: var(--boter); color: #3A3326; }
.sectie-den .knop:hover { background: var(--oker); border-color: var(--oker); color: #2E2618; }
.knop-rij { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.smal .knop-rij { justify-content: center; }

/* ---------- Header ---------- */
.site-kop {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-kop.met-rand { border-bottom-color: var(--lijn); }
.kop-binnen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem clamp(1.1rem, 4vw, 2rem);
  max-width: var(--breedte); margin: 0 auto;
}
.logo {
  font-family: var(--f-display);
  font-size: 1.45rem; font-weight: 600;
  color: var(--den); text-decoration: none; letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo span { color: var(--terra); font-style: italic; font-weight: 400; }
.logo svg { vertical-align: -0.22em; margin-right: 0.5rem; color: var(--den); }
.voet-logo svg { color: #F8F0D8; }
.hoofdnav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.hoofdnav a {
  font-size: 0.93rem; font-weight: 500; text-decoration: none; color: var(--inkt);
  padding: 0.3rem 0; white-space: nowrap;
  border-bottom: 1.5px solid transparent;
}
.hoofdnav a:hover, .hoofdnav a[aria-current="page"] { color: var(--den); border-bottom-color: var(--terra); }
.kop-cta { white-space: nowrap; padding: 0.6rem 1.3rem; font-size: 0.88rem; }
.nav-knop {
  display: none; background: none; border: 1.5px solid var(--den); border-radius: 999px;
  color: var(--den); font-family: var(--f-body); font-weight: 700; font-size: 0.85rem;
  padding: 0.5rem 1.1rem; cursor: pointer;
}

@media (max-width: 920px) {
  .nav-knop { display: inline-block; }
  .hoofdnav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--papier); border-bottom: 1px solid var(--lijn);
    padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.5rem;
  }
  .hoofdnav.open { display: block; }
  .hoofdnav ul { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .hoofdnav a { font-size: 1.05rem; }
  .kop-cta { display: none; }
}

/* Mobiele vaste reserveerbalk */
.mobiel-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(251, 248, 242, 0.95); backdrop-filter: blur(8px);
  border-top: 1px solid var(--lijn);
}
.mobiel-cta .knop { display: block; text-align: center; }
@media (max-width: 920px) {
  .mobiel-cta { display: block; }
  body { padding-bottom: 4.5rem; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-tekst .eyebrow { margin-bottom: 1.2rem; }
.hero-tekst p.intro { font-size: 1.1rem; color: var(--inkt-z); }
.hero-punten { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: 0.45rem; }
.hero-punten li { padding-left: 1.4rem; position: relative; font-size: 0.97rem; }
.hero-punten li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--oker);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-tekst { order: 2; }
}

/* ---------- Het Hytte-venster (signatuur): boogkaders ---------- */
.venster {
  border-radius: var(--boog) var(--boog) var(--rond) var(--rond);
  overflow: hidden;
  border: 1px solid var(--lijn);
}
.kader { border-radius: var(--rond); overflow: hidden; border: 1px solid var(--lijn); }

/* ---------- Foto's ----------
   Elke fotoplek verwijst via --foto naar een bestand in images/.
   Staat het bestand er (nog) niet, dan toont de zachte placeholder.
   Zodra de foto laadt, verbergt js/hoofd.js automatisch het label. */
.foto {
  position: relative; width: 100%;
  background-color: #D5D0BE;
  background-image:
    var(--foto, linear-gradient(transparent, transparent)),
    radial-gradient(120% 90% at 30% 10%, #E9E2D2 0%, transparent 60%),
    linear-gradient(160deg, #DCD6C4 0%, #C9CBB4 45%, #AEB69C 100%);
  background-size: cover;
  background-position: center;
  display: flex; align-items: flex-end;
  min-height: 320px;
}
.foto.foto-geladen small { display: none; }

/* Hero-video: verschijnt automatisch zodra images/video-hero.mp4 bestaat */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: none;
}
.foto.video-actief .hero-video { display: block; }
.foto.video-actief small { display: none; }

/* Sfeerillustraties als placeholder-art (tot de echte foto's er zijn) */
.art-bos       { background-image: var(--foto, linear-gradient(transparent, transparent)), url("../images/art/bos.svg"); }
.art-avond     { background-image: var(--foto, linear-gradient(transparent, transparent)), url("../images/art/avond.svg"); }
.art-heide     { background-image: var(--foto, linear-gradient(transparent, transparent)), url("../images/art/heide.svg"); }
.art-interieur { background-image: var(--foto, linear-gradient(transparent, transparent)), url("../images/art/interieur.svg"); }
.art-lente     { background-image: var(--foto, linear-gradient(transparent, transparent)), url("../images/art/lente.svg"); }
.art-zomer     { background-image: var(--foto, linear-gradient(transparent, transparent)), url("../images/art/zomer.svg"); }
.art-herfst    { background-image: var(--foto, linear-gradient(transparent, transparent)), url("../images/art/herfst.svg"); }
.art-winter    { background-image: var(--foto, linear-gradient(transparent, transparent)), url("../images/art/winter.svg"); }
.foto.hoog { min-height: 460px; }
.foto.laag { min-height: 240px; }
.foto small {
  display: inline-block; width: auto; max-width: 88%;
  margin: 0 0 0.75rem 0.75rem; padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.64rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: #4C5243; background: rgba(251, 248, 242, 0.85);
}

/* ---------- Kaarten & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
.kaart {
  background: var(--papier); border: 1px solid var(--lijn); border-radius: var(--rond);
  padding: 1.6rem 1.5rem;
}
.sectie-zand .kaart { background: #FEFBF1; }
.kaart h3 { margin-top: 0.4rem; }
.kaart p { font-size: 0.95rem; color: var(--inkt-z); margin-bottom: 0; }
.kaart .eyebrow { margin-bottom: 0.2rem; font-size: 0.7rem; }

.kaart-link { text-decoration: none; display: block; color: inherit; transition: transform 0.25s ease; }
.kaart-link:hover { transform: translateY(-3px); color: inherit; }
.kaart-link .kaart { height: 100%; }
.kaart-link:hover h3 { color: var(--terra); }

/* ---------- Voorzieningenlijst ---------- */
.voorzieningen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem 2rem; }
.voorzieningen li { padding-left: 1.4rem; position: relative; font-size: 0.97rem; }
.voorzieningen li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--oker);
}
@media (max-width: 640px) { .voorzieningen { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.review { border-left: 3px solid var(--oker); padding: 0.2rem 0 0.2rem 1.4rem; }
.review p { font-family: var(--f-display); font-size: 1.15rem; font-style: italic; color: var(--den); margin-bottom: 0.5rem; }
.review cite { font-style: normal; font-size: 0.85rem; color: var(--inkt-z); letter-spacing: 0.04em; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--lijn); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--f-display); font-size: 1.12rem; color: var(--den);
  padding: 1.1rem 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-body); color: var(--terra); font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .antwoord { padding: 0 0 1.2rem; color: var(--inkt-z); max-width: 60ch; }

/* ---------- Seizoenen ---------- */
.seizoenen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 920px) { .seizoenen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .seizoenen { grid-template-columns: 1fr; } }
.seizoen { background: #FEFBF1; border: 1px solid var(--lijn); border-radius: var(--rond); overflow: hidden; }
.seizoen .foto { min-height: 170px; }
.seizoen .foto small { display: none; }
.seizoen div.tekst { padding: 1.1rem 1.2rem 1.3rem; }
.seizoen h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.seizoen p { font-size: 0.9rem; color: var(--inkt-z); margin: 0; }

/* ---------- Formulier ---------- */
.formulier { display: grid; gap: 1.1rem; max-width: 560px; }
.veld { display: grid; gap: 0.35rem; }
.veld label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em; color: var(--den); }
.veld input, .veld textarea, .veld select {
  font-family: var(--f-body); font-size: 1rem; color: var(--inkt);
  border: 1.5px solid var(--lijn); border-radius: 10px; background: #FDFBF6;
  padding: 0.75rem 0.9rem;
}
.veld input:focus, .veld textarea:focus, .veld select:focus { border-color: var(--terra); outline: none; }
.veld-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .veld-rij { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-voet { background: var(--den); color: #D8D4C6; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: 0.92rem; }
.voet-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 860px) { .voet-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .voet-grid { grid-template-columns: 1fr; } }
.site-voet h3 { color: #F6F2E8; font-size: 1rem; font-family: var(--f-body); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.site-voet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-voet a { color: #D8D4C6; text-decoration: none; }
.site-voet a:hover { color: #fff; text-decoration: underline; }
.voet-logo { font-family: var(--f-display); font-size: 1.6rem; color: #F6F2E8; margin-bottom: 0.6rem; }
.voet-onder { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: #B7B4A4; }

/* ---------- Reveal bij scrollen ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.zichtbaar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Pagina-hero (subpagina's) ---------- */
.pagina-kop { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.pagina-kop p.intro { font-size: 1.12rem; color: var(--inkt-z); max-width: 62ch; }

/* ---------- Hulpklassen ---------- */
.tc { text-align: center; }
.mt-0 { margin-top: 0; }
.ruimte { height: clamp(1.5rem, 4vw, 2.5rem); }
.notitie { font-size: 0.82rem; color: var(--inkt-z); font-style: italic; }

/* ---------- Boekingswidget in de hero ---------- */
.boek-widget {
  display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: flex-end;
  background: #FEFBF1; border: 1px solid var(--lijn); border-radius: var(--rond);
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 30px rgba(47, 59, 47, 0.07);
}
.boek-veld { display: grid; gap: 0.25rem; flex: 1 1 120px; }
.boek-veld label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--den);
}
.boek-veld input, .boek-veld select {
  font-family: var(--f-body); font-size: 0.95rem; color: var(--inkt);
  border: 1.5px solid var(--lijn); border-radius: 10px; background: #fff;
  padding: 0.55rem 0.7rem; width: 100%;
}
.boek-veld input:focus, .boek-veld select:focus { border-color: var(--terra); outline: none; }
.boek-widget .knop { flex: 1 1 100%; text-align: center; }
@media (min-width: 1020px) { .boek-widget .knop { flex: 0 0 auto; } }
