/* =========================================================================
   Biologische Imkerij Hagemann — stylesheet
   Visuele taal afgeleid van het etiket:
   ivoor papier · honinggoud · marineblauw · slab-serif · lijntekeningen
   ========================================================================= */

:root {
  /* Kleur */
  --ivory:      #FBF8F1;   /* warm papier (achtergrond etiket) */
  --ivory-2:    #F3EAD6;   /* warm paneel / honingtint */
  --paper:      #FFFFFF;
  --honey:      #C2982E;   /* honinggoud — primair accent */
  --honey-deep: #A87C1C;
  --honey-soft: #E3C77B;
  --ink:        #16263C;   /* marineblauw — lijst & donkere band */
  --ink-2:      #0E1A2B;
  --char:       #1B1B19;   /* bijna-zwart — koppen */
  --stone:      #8C887C;   /* gedempt — bijschriften, labels */
  --hairline:   rgba(22,38,60,.18);

  /* Typografie */
  --display: "Roboto Slab", Georgia, "Times New Roman", serif;
  --label:   "Montserrat", system-ui, -apple-system, sans-serif;
  --body:    "Spectral", Georgia, serif;

  /* Maat */
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--char);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------- helpers */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.eyebrow {
  font-family: var(--label);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin: 0 0 1rem;
}
.eyebrow.on-dark { color: var(--honey-soft); }

h1, h2, h3 { font-family: var(--display); color: var(--char); font-weight: 800; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.7rem); letter-spacing: -.5px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.4px; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
p  { margin: 0 0 1.1rem; max-width: 64ch; }
.lead { font-size: clamp(1.12rem, 1.7vw, 1.34rem); color: #3a4250; }

/* gouden haarlijn-divider, zoals onder "AALSMEER – UITERWEG" op het etiket */
.rule { width: 92px; height: 3px; background: var(--honey); border: 0; margin: 1.4rem 0; }
.rule.center { margin-inline: auto; }

/* knoppen */
.btn {
  display: inline-block;
  font-family: var(--label);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95em 1.7em;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.btn--gold { background: var(--honey); border-color: var(--honey); color: var(--ink-2); }
.btn--gold:hover { background: transparent; color: var(--honey-deep); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,248,241,.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--char); }
.brand .mark { width: 42px; height: 36px; flex: none; }

/* Beeswax-traced logo (fill-based, themeable via color) */
.bee-logo { color: var(--honey); display: block; }
.bee-logo path { fill: currentColor; stroke: none; }
.brand b {
  font-family: var(--display); font-weight: 800; font-size: 1.04rem; line-height: 1; letter-spacing: -.2px;
}
.brand small {
  display: block; font-family: var(--label); font-weight: 600;
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.9rem); }
.nav a {
  font-family: var(--label); font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--char);
  padding: .35em 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--honey); transition: width .22s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--honey-deep); }
.nav .btn { color: var(--ivory); }
.nav .btn:hover { color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--hairline);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 420px; }
  .nav a { padding: 1rem var(--gut); border-top: 1px solid var(--hairline); }
  .nav a::after { display: none; }
  .nav .btn { margin: 1rem var(--gut); text-align: center; }
}

/* ------------------------------------------------------------------ hero */
/* De gekaderde "etiket"-look: dubbele marineblauwe lijst op ivoor */
.frame {
  position: relative;
  border: 1.5px solid var(--ink);
  padding: clamp(28px, 5vw, 64px);
  background: var(--ivory);
}
.frame::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid var(--hairline); pointer-events: none;
}

.hero { padding: clamp(34px, 6vw, 70px) 0 clamp(40px, 6vw, 72px); }
.hero .frame { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; overflow: hidden; }
.hero-art { display: grid; place-items: center; }
.hero-art svg { width: min(280px, 80%); height: auto; }
.hero-art svg [stroke] { stroke: var(--honey); }
/* zwevende honingraat-watermerk */
.hero .frame > .comb-watermark {
  position: absolute; right: -40px; bottom: -50px; width: 280px; opacity: .07; pointer-events: none;
}
.hero .frame > .comb-watermark [stroke] { stroke: var(--ink); }

@media (max-width: 760px) {
  .hero .frame { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { width: 150px; }
}

/* ----------------------------------------------------- pagina-kop (subpagina's) */
.pagehead { padding: clamp(48px, 7vw, 92px) 0 clamp(20px, 3vw, 40px); }
.pagehead .lead { margin-top: .4rem; }

/* --------------------------------------------------------------- secties */
section { position: relative; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--paper { background: var(--paper); border-block: 1px solid var(--hairline); }
.section--warm  { background: var(--ivory-2); }
.section--ink {
  background: var(--ink); color: var(--ivory);
}
.section--ink h2, .section--ink h3 { color: var(--ivory); }
.section--ink p { color: rgba(251,248,241,.82); }

.section-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 52px); }

/* tweekolom-tekstblok met illustratie */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(40px, 6vw, 86px); }
.split .art { display: grid; place-items: center; padding: clamp(20px, 3vw, 40px); }
.split .art svg { width: min(300px, 86%); }
.split .art svg [stroke] { stroke: var(--honey); }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .split.flip .art { order: -1; }
  .split .art svg { width: 180px; }
}

/* feature-kaarten met hexagon-accent */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--hairline);
  padding: clamp(26px, 3vw, 38px); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(22,38,60,.5); border-color: var(--honey-soft); }
.card .hex { width: 52px; height: 58px; margin-bottom: .6rem; }
.card .hex [stroke] { stroke: var(--honey); }
.card h3 { margin-bottom: .1rem; }
.card p { color: #4a4f57; font-size: .98rem; margin: 0; }
.card .more {
  margin-top: .6rem; font-family: var(--label); font-weight: 600; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--honey-deep);
}

/* productenraster (bijenwas) */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }
.product {
  background: var(--paper); border: 1px solid var(--hairline);
  padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: .7rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(22,38,60,.5); border-color: var(--honey-soft); }
.product-head { display: flex; align-items: center; gap: .9rem; }
.product .hex { width: 46px; height: 52px; flex: none; }
.product .hex [stroke] { stroke: var(--honey); }
.product h3 { margin: 0; }
.product > p { color: #4a4f57; margin: 0; }
.ing { margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--hairline); }
.ing-label { font-family: var(--label); font-weight: 600; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--honey-deep); margin: 0 0 .6rem; }
.ing ul.comb { margin: 0; gap: .5rem; }
.ing ul.comb li { padding-left: 1.5rem; font-size: .95rem; }
.ing ul.comb li::before { top: .5em; width: 10px; height: 11px; }

/* redactionele notitie */
.callout { background: var(--ivory-2); border-left: 3px solid var(--honey); padding: 1rem 1.25rem; font-size: .95rem; color: #4a4f57; margin: 1.6rem 0 0; }
.callout strong { color: var(--ink); }

/* feiten-strip (Lente 2026 · 500 g · bloemenhoning) */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }
.facts > div { background: var(--ivory); padding: clamp(22px, 3vw, 34px); text-align: center; }
.facts .num { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.facts .num span { font-size: .55em; font-weight: 700; }
.facts .cap { font-family: var(--label); font-weight: 600; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-top: .35rem; }

/* lijst met gouden honingraat-bullets */
ul.comb { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .85rem; max-width: 60ch; }
ul.comb li { position: relative; padding-left: 1.7rem; }
ul.comb li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 13px;
  background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.section--ink ul.comb li::before { background: var(--honey-soft); }

/* quote / filosofie */
.pull { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.18; max-width: 22ch; }
.pull em { color: var(--honey-soft); font-style: italic; }

/* ------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.2rem; }
.field label {
  display: block; font-family: var(--label); font-weight: 600; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: .5rem;
}
.field input, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--char);
  background: var(--paper); border: 1.5px solid var(--hairline); padding: .8em .9em;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--honey); box-shadow: 0 0 0 3px rgba(194,152,46,.18);
}
.field .err { display: none; color: #9c2b2b; font-size: .85rem; margin-top: .4rem; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #c0533f; }
/* honeypot — verborgen anti-spamveld */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; padding: 1em 1.1em; margin-bottom: 1.4rem; border: 1.5px solid; font-family: var(--label); font-size: .9rem; font-weight: 500; }
.form-status.show { display: block; }
.form-status.ok  { border-color: var(--honey); background: #fbf3df; color: var(--honey-deep); }
.form-status.bad { border-color: #c0533f; background: #fbecea; color: #9c2b2b; }

.contact-aside { background: var(--ivory-2); border: 1px solid var(--hairline); padding: clamp(26px, 3vw, 38px); }
.contact-aside dl { margin: 1.2rem 0 0; }
.contact-aside dt { font-family: var(--label); font-weight: 600; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-top: 1.2rem; }
.contact-aside dt:first-child { margin-top: 0; }
.contact-aside dd { margin: .25rem 0 0; }
.contact-aside a { color: var(--honey-deep); text-decoration: none; border-bottom: 1px solid var(--honey-soft); }
.contact-aside a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: rgba(251,248,241,.72); padding: clamp(46px, 6vw, 72px) 0 2rem; }
.foot-top { display: flex; flex-wrap: wrap; gap: 2rem 4rem; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; align-items: center; gap: .8rem; color: var(--ivory); }
.foot-brand .mark { width: 44px; height: 38px; }
.foot-brand .bee-logo { color: var(--honey-soft); }
.foot-brand b { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--ivory); }
.foot-brand small { display:block; font-family: var(--label); font-size:.58rem; letter-spacing:.22em; text-transform:uppercase; color: var(--honey-soft); margin-top:3px; }
.foot-nav { display: grid; gap: .5rem; }
.foot-nav a { font-family: var(--label); font-size: .82rem; letter-spacing: .06em; text-decoration: none; color: rgba(251,248,241,.78); }
.foot-nav a:hover { color: var(--honey-soft); }
.foot-meta {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(251,248,241,.16);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-family: var(--label); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,248,241,.55);
}

/* ---------------------------------------------------- scroll-onthulling */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* lijntekeningen: constante lijndikte ongeacht schaal */
.eng * { vector-effect: non-scaling-stroke; }

/* toegankelijke focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--honey-deep); outline-offset: 2px;
}
