/* ==========================================================================
   Dignums — boerderij aan de Maas
   Concept-ontwerp 2026 · statische site, geen build-stap
   ========================================================================== */

:root {
  /* Kleuren: weiland, blonde koeien, Maasklei + logokleuren (taupe koe, grijsblauwe cirkel) */
  --groen-diep: #263a24;
  --groen: #3d5a38;
  --groen-zacht: #eef0e4;
  --creme: #faf6ee;
  --creme-donker: #f3ecdd;
  --taupe: #d0bcaf;        /* koe uit het logo */
  --blauwgrijs: #8a8fa3;   /* cirkel uit het logo */
  --blauwgrijs-donker: #565c72;
  --blauwgrijs-zacht: #e9ebf1;
  --blond: #d8c5b8;        /* lichte taupe, accent op donkergroen */
  --oker: #c07a2e;
  --oker-donker: #9d5f1d;
  --klei: #8a4a2b;
  --inkt: #2a251c;
  --inkt-zacht: #5b5344;
  --wit: #fffdf8;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", cursive;

  --maat: min(92vw, 72rem);
  --radius: 14px;
  --schaduw: 0 10px 30px rgba(42, 37, 28, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--inkt);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--groen-diep);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--oker-donker); }
a:hover { color: var(--klei); }

.wrap { width: var(--maat); margin-inline: auto; }

.hand {
  font-family: var(--font-hand);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  color: var(--oker);
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.sectie { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.sectie--groen { background: var(--groen-diep); color: var(--creme); }
.sectie--groen h2, .sectie--groen h3 { color: var(--wit); }
.sectie--groen .hand { color: var(--blond); }
.sectie--creme { background: var(--creme-donker); }
.sectie--wit { background: var(--wit); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 37, 28, 0.08);
}

.top__binnen {
  width: var(--maat);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.6rem;
}

.merk { display: flex; align-items: center; text-decoration: none; }
.merk__logo { height: 78px; width: auto; display: block; }
@media (max-width: 900px) { .merk__logo { height: 60px; } }

.nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.5rem); }
.nav a {
  text-decoration: none;
  color: var(--inkt);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--groen); }
.nav a[aria-current="page"] { border-bottom-color: var(--oker); color: var(--groen-diep); }

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--oker);
  color: var(--wit) !important;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.knop:hover { background: var(--oker-donker); transform: translateY(-1px); }
.knop:focus-visible { outline: 2px solid var(--groen-diep); outline-offset: 2px; }
.knop--groen { background: var(--groen); }
.knop--groen:hover { background: var(--groen-diep); }
.knop--omlijnd {
  background: transparent;
  color: var(--wit) !important;
  border: 2px solid rgba(255, 253, 248, 0.7);
  padding: calc(0.75rem - 2px) calc(1.5rem - 2px);
}
.knop--omlijnd:hover { background: rgba(255, 253, 248, 0.12); }
.nav .knop { padding: 0.55rem 1.2rem; font-size: 0.95rem; }

.nav-knop {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}
.nav-knop span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--groen-diep);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 900px) {
  .nav-knop { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--creme);
    border-bottom: 1px solid rgba(42, 37, 28, 0.1);
    padding: 1rem clamp(1rem, 4vw, 2rem) 1.4rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.55rem 0; font-size: 1.1rem; }
  .nav .knop { margin-top: 0.75rem; padding: 0.75rem 1.5rem; font-size: 1.05rem; }
  body.nav-open .nav-knop span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-knop span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-knop span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.held {
  position: relative;
  min-height: min(88vh, 46rem);
  display: flex;
  align-items: flex-end;
  color: var(--wit);
  isolation: isolate;
  overflow: hidden;
}
.held__foto {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.held__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.held::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(24, 30, 18, 0.45) 0%, rgba(24, 30, 18, 0) 55%),
    linear-gradient(to top, rgba(24, 30, 18, 0.78) 0%, rgba(24, 30, 18, 0.25) 45%, rgba(24, 30, 18, 0.04) 100%);
}
.held__tekst {
  width: var(--maat);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 100%;
}
.held__tekst h1 { color: var(--wit); max-width: 17ch; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.held__tekst .hand { color: #f2c98a; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
.held__tekst p {
  max-width: 52ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 253, 248, 0.92);
}
.held__knoppen { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

.held--laag { min-height: min(62vh, 34rem); }

/* --------------------------------------------------------------------------
   Feitenstrook (SEO/GEO: kernfeiten bovenaan)
   -------------------------------------------------------------------------- */

.feiten {
  background: var(--groen-diep);
  color: var(--creme);
  padding-block: 1.6rem;
}
.feiten ul {
  width: var(--maat);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem 2rem;
}
.feiten li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.98rem;
  line-height: 1.45;
}
.feiten li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 0.42em;
  border-radius: 50%;
  background: var(--blond);
}

/* --------------------------------------------------------------------------
   Tweeluik (tekst + foto)
   -------------------------------------------------------------------------- */

.duo {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
@media (min-width: 820px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo--omgekeerd .duo__foto { order: -1; }
}
.duo__foto img {
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.duo__tekst p { max-width: 58ch; }

/* --------------------------------------------------------------------------
   Kaarten
   -------------------------------------------------------------------------- */

.kaarten {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  margin-top: 2rem;
}
.kaart {
  background: var(--wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.kaart img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.kaart__inhoud { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.kaart__inhoud h3 { margin-bottom: 0.45em; }
.kaart__inhoud p { font-size: 0.98rem; color: var(--inkt-zacht); margin-bottom: 1rem; }
.kaart__inhoud p:last-child { margin-bottom: 0; }
.kaart__inhoud .prijs { margin-top: auto; padding-top: 0.5rem; }

.prijs {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--groen-diep);
}
.prijs small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 400; color: var(--inkt-zacht); }

.etiket {
  display: inline-block;
  align-self: flex-start;
  background: var(--groen-zacht);
  color: var(--groen);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.etiket--oker { background: var(--blauwgrijs-zacht); color: var(--blauwgrijs-donker); }

/* --------------------------------------------------------------------------
   Fotoband met citaat
   -------------------------------------------------------------------------- */

.band {
  position: relative;
  isolation: isolate;
  color: var(--wit);
  padding-block: clamp(5rem, 12vw, 9rem);
  background-size: cover;
  background-position: center;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(24, 30, 18, 0.45);
}
.band blockquote {
  margin: 0 auto;
  width: var(--maat);
  max-width: 42rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  font-style: italic;
  line-height: 1.35;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.band cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-hand);
  font-style: normal;
  font-size: 1.4rem;
  color: var(--blond);
}

/* --------------------------------------------------------------------------
   Natuurlijst / vinkjes
   -------------------------------------------------------------------------- */

.vinkjes {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.55rem 2rem;
}
@media (min-width: 680px) { .vinkjes--twee { grid-template-columns: 1fr 1fr; } }
.vinkjes li { display: flex; gap: 0.6rem; align-items: flex-start; }
.vinkjes li::before {
  content: "✓";
  flex: none;
  font-weight: 700;
  color: var(--oker);
  margin-top: 0.05em;
}
.sectie--groen .vinkjes li::before { color: var(--blond); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 46rem; }
.faq details {
  background: var(--wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  margin-bottom: 0.8rem;
  padding: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.1rem 1.4rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--groen-diep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--oker);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.4rem 1.25rem; color: var(--inkt-zacht); }
.faq details > div p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Prijstabel
   -------------------------------------------------------------------------- */

.tabel {
  width: 100%;
  border-collapse: collapse;
  background: var(--wit);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schaduw);
  margin-top: 1.5rem;
}
.tabel th, .tabel td {
  text-align: left;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(42, 37, 28, 0.08);
}
.tabel th {
  background: var(--groen-diep);
  color: var(--creme);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tabel tr:last-child td { border-bottom: none; }
.tabel td:last-child { font-weight: 700; color: var(--groen-diep); white-space: nowrap; }

.tabel-scroll { overflow-x: auto; }

/* --------------------------------------------------------------------------
   Formulier
   -------------------------------------------------------------------------- */

.formulier {
  background: var(--wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 44rem;
}
.formulier .rij { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .formulier .rij--twee { grid-template-columns: 1fr 1fr; } }
.formulier label { font-weight: 700; font-size: 0.95rem; display: block; margin-bottom: 0.3rem; color: var(--groen-diep); }
.formulier input[type="text"],
.formulier input[type="tel"],
.formulier input[type="email"],
.formulier select,
.formulier textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid rgba(42, 37, 28, 0.2);
  border-radius: 8px;
  background: var(--creme);
  color: var(--inkt);
}
.formulier input:focus, .formulier select:focus, .formulier textarea:focus {
  outline: 2px solid var(--oker);
  outline-offset: 1px;
  border-color: transparent;
}
.formulier .keuze { display: flex; gap: 0.55rem; align-items: flex-start; margin-bottom: 0.45rem; }
.formulier .keuze input { margin-top: 0.3em; accent-color: var(--oker); }
.formulier .keuze label { font-weight: 400; margin: 0; color: var(--inkt); }
.formulier fieldset {
  border: 1.5px solid rgba(42, 37, 28, 0.12);
  border-radius: 8px;
  padding: 1rem 1.2rem 0.8rem;
  margin: 0 0 1.2rem;
}
.formulier legend { font-weight: 700; color: var(--groen-diep); padding-inline: 0.4rem; }
.formulier .hint { font-size: 0.9rem; color: var(--inkt-zacht); margin-top: 0.3rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.voet {
  background: var(--groen-diep);
  color: rgba(250, 246, 238, 0.85);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  font-size: 0.97rem;
}
.voet a { color: var(--blond); text-decoration: none; }
.voet a:hover { text-decoration: underline; }
.voet__kolommen {
  display: grid;
  gap: 2.5rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 246, 238, 0.15);
}
.voet h3 { color: var(--wit); font-size: 1.1rem; margin-bottom: 0.8rem; }
.voet address { font-style: normal; line-height: 1.7; }

.socials { display: flex; gap: 0.75rem; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(216, 197, 184, 0.55);
  color: var(--blond);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.socials a:hover { background: var(--blond); color: var(--groen-diep); border-color: var(--blond); text-decoration: none; }
.socials svg { width: 19px; height: 19px; display: block; }
.voet__onder {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(250, 246, 238, 0.6);
}

/* --------------------------------------------------------------------------
   Animatie (subtiel, respecteert reduced motion)
   -------------------------------------------------------------------------- */

html.js .onthul { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .onthul.zichtbaar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .onthul { opacity: 1; transform: none; transition: none; }
}

/* Kleine hulpjes */
.centreer { text-align: center; }
.centreer h2 + p, .centreer .hand + h2 { margin-inline: auto; }
.centreer > p { max-width: 56ch; margin-inline: auto; }
.marge-boven { margin-top: 2rem; }
.gedempt { color: var(--inkt-zacht); }
