/* ==========================================================================
   Werken bij Farm Pack — huisstijl 2024 (VDS Create)
   Kleuren en vormen gebaseerd op de nieuwe Farm Pack identiteit:
   oranje logo met groen blad, olijfgroen, warm creme, boerderij-illustratie.
   ========================================================================== */

:root {
  --orange: #F0A904;
  --orange-dark: #CE9003;
  --green: #516E3E;
  --green-dark: #3A4F2C;
  --green-soft: #87A268;
  --cream: #EFEDE2;
  --cream-dark: #E4E1D2;
  --ink: #2B2A24;
  --ink-soft: #5C5A4E;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-leaf: 0 42% 0 42%;
  --shadow: 0 10px 30px rgba(43, 42, 36, .10);
  --font-head: 'Signika', 'Arial Black', sans-serif;
  --font-body: 'Figtree', 'Segoe UI', sans-serif;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .6rem;
}

p.lead { font-size: 1.18rem; color: var(--ink-soft); }

section { padding: 72px 0; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); margin-top: .8rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-secondary:hover { background: var(--green); color: var(--white); }
.btn-white { background: var(--white); color: var(--green-dark); }
.btn-white:hover { background: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg, .logo img { height: 38px; width: auto; display: block; }
.logo .logo-sub {
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  color: var(--green); letter-spacing: .14em; text-transform: uppercase;
  border-left: 2px solid var(--cream-dark); padding-left: 10px;
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--ink); text-decoration: none; padding: 6px 0;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--green-dark); border-bottom-color: var(--orange); }
.main-nav a.active { color: var(--green-dark); border-bottom-color: var(--orange); }
.main-nav .btn { padding: 10px 22px; }

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

/* ---------- Hero ---------- */
.hero {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero h1 span { color: var(--orange); }
.hero p { margin: 1.2rem 0 2rem; font-size: 1.2rem; color: var(--ink-soft); max-width: 34rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-farm {
  position: absolute; right: -40px; bottom: -14px; width: 520px; opacity: .35;
  z-index: 1; pointer-events: none;
}
.hero-farm img, .cta-farm img { width: 100%; height: auto; display: block; }
.hero-media { position: relative; z-index: 2; }

/* leaf-vormige fotokaders — verwijzing naar het blad in het logo */
.leaf-frame { border-radius: var(--radius-leaf); overflow: hidden; box-shadow: var(--shadow); }

/* ---------- Echte foto's ---------- */
.photo-frame { position: relative; overflow: hidden; background: var(--cream-dark); }
.photo-frame img, .photo-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }

/* ---------- Tekenende lijn-illustratie (huisstijl) ---------- */
svg.draw path, svg.draw circle, svg.draw rect { will-change: stroke-dashoffset; }
.divider-wrap { line-height: 0; overflow: hidden; position: relative; }
.divider-wrap > svg { width: 100%; height: auto; display: block; }

/* ---------- Gewas-illustraties (maïs, ui, champignon) ---------- */
.crops { display: flex; gap: 38px; margin-top: 28px; align-items: flex-end; flex-wrap: wrap; }
.crop { text-align: center; }
.crop svg { width: 62px; height: auto; display: block; margin: 0 auto 10px; }
.crop-stalk svg { width: 54px; }
.crop span {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark);
}
.deco-float {
  position: absolute; pointer-events: none; opacity: .3; z-index: 1;
  will-change: transform;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Placeholders voor foto / video ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(94,122,60,.07) 0 14px, rgba(94,122,60,.12) 14px 28px),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--green-dark); text-align: center; padding: 18px;
  min-height: 220px; width: 100%;
}
.ph svg { width: 44px; height: 44px; opacity: .75; }
.ph .ph-label {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase; opacity: .8; max-width: 26rem;
}
.ph-photo { aspect-ratio: 4 / 3; }
.ph-wide { aspect-ratio: 16 / 7; min-height: 260px; }
.ph-video { aspect-ratio: 16 / 9; cursor: pointer; }
.ph-video .play {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: transform .15s ease;
}
.ph-video:hover .play { transform: scale(1.08); }
.ph-video .play svg { width: 26px; height: 26px; margin-left: 5px; opacity: 1; }

/* ---------- Lokale collega-video's (portret) ---------- */
.video-embed {
  border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--ink);
}
.video-embed video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- YouTube-embed (klik-om-af-te-spelen, laadt pas na klik) ---------- */
.yt-embed {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; background: var(--ink);
}
.yt-embed img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-embed .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: transform .15s ease;
}
.yt-embed:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.yt-embed .play svg { width: 26px; height: 26px; margin-left: 5px; }
.yt-embed .yt-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- USP strip ---------- */
.usp-strip { background: var(--green-dark); color: var(--white); padding: 48px 0; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.usp { display: flex; gap: 14px; align-items: flex-start; }
.usp .usp-icon {
  flex: 0 0 46px; height: 46px; border-radius: 14px;
  background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.usp h3 { color: var(--white); font-size: 1.02rem; margin-bottom: 2px; }
.usp p { color: rgba(255,255,255,.75); font-size: .92rem; line-height: 1.45; }

/* ---------- Vacature cards ---------- */
.vac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vac-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.vac-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.vac-card .ph { min-height: 190px; aspect-ratio: 16/9; }
.vac-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vac-body h3 { font-size: 1.28rem; }
.vac-body p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.vac-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.tag {
  font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--cream); color: var(--green-dark);
  padding: 4px 12px; border-radius: 999px;
}
.vac-link { font-family: var(--font-head); font-weight: 700; color: var(--orange); }
.vac-card:hover .vac-link { color: var(--orange-dark); }

/* ---------- Collega cards ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.team-card .ph-video { min-height: 200px; }
.team-body { padding: 22px 24px 26px; }
.team-body h3 { font-size: 1.25rem; }
.team-role { font-family: var(--font-head); font-weight: 600; color: var(--orange-dark); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.team-body blockquote { color: var(--ink-soft); font-size: .98rem; font-style: italic; border-left: 3px solid var(--green-soft); padding-left: 14px; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > .split-media { order: 2; }
.split h2 { margin-bottom: 1rem; }
.split p { color: var(--ink-soft); margin-bottom: 1rem; }

.bg-cream { background: var(--cream); }
.bg-green { background: var(--green-dark); }
.bg-green h2, .bg-green h3 { color: var(--white); }
.bg-green p { color: rgba(255,255,255,.8); }
.bg-green .kicker { color: var(--green-soft); }

/* ---------- Checklists ---------- */
ul.check { list-style: none; margin: 1rem 0 1.5rem; }
ul.check li { padding-left: 38px; position: relative; margin-bottom: 12px; color: var(--ink-soft); }
ul.check li strong { color: var(--ink); }
ul.check li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 0 42% 0 42%;
  background: var(--green);
}
ul.check li::after {
  content: ""; position: absolute; left: 7px; top: 8px;
  width: 8px; height: 5px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}
ul.check.orange li::before { background: var(--orange); }

/* ---------- Vacature detailpagina ---------- */
.vac-hero { background: var(--cream); padding: 72px 0 64px; position: relative; overflow: hidden; }
.vac-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.vac-hero .crumb { font-size: .9rem; margin-bottom: 1rem; }
.vac-hero .crumb a { color: var(--green-dark); text-decoration: none; font-weight: 600; }
.vac-hero .crumb a:hover { text-decoration: underline; }
.vac-hero h1 span { color: var(--orange); }
.vac-hero p { margin: 1.1rem 0 1.8rem; color: var(--ink-soft); font-size: 1.15rem; }

.highlight-strip { background: var(--orange); padding: 26px 0; }
.highlight-strip .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.highlight {
  display: flex; align-items: center; gap: 12px; color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
}
.highlight .emoji { font-size: 1.5rem; }

.vac-content { padding: 72px 0 0; }
.vac-content .split { margin-bottom: 84px; }

/* Fotostrook: grid op desktop, swipebare strook op mobiel */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 84px; }
.photo-strip .ph, .photo-strip .photo-frame { aspect-ratio: 4/3; min-height: 180px; border-radius: var(--radius); }
.photo-strip .photo-frame { overflow: hidden; }

/* ---------- FAQ ---------- */
.faq-cat { margin-bottom: 44px; }
.faq-cat h2 { font-size: 1.5rem; margin-bottom: 18px; }
details.faq {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: 14px; margin-bottom: 12px; overflow: hidden;
}
details.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--orange); font-weight: 700; transition: transform .2s;
}
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq .faq-body { padding: 0 22px 20px; color: var(--ink-soft); }

/* ---------- Formulier ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px; max-width: 640px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--cream-dark); border-radius: 12px;
  background: var(--white); width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--green);
}
.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }
.form-success {
  display: none; background: #EAF2E0; border: 1.5px solid var(--green-soft);
  color: var(--green-dark); border-radius: 12px; padding: 16px 20px; margin-top: 18px;
  font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-dark); position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.8); margin-top: .5rem; max-width: 32rem; }
.cta-farm { position: absolute; right: -30px; bottom: -20px; width: 420px; opacity: .16; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 60px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.footer-logo svg, .footer-logo img { height: 34px; width: auto; margin-bottom: 14px; display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}

/* ---------- Timeline (over ons) ---------- */
.timeline { list-style: none; position: relative; margin: 2rem 0; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px;
  background: var(--cream-dark); border-radius: 3px;
}
.timeline li { position: relative; padding: 0 0 26px 46px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  border-radius: 0 42% 0 42%; background: var(--orange); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
}
.timeline .t-year { font-family: var(--font-head); font-weight: 700; color: var(--green-dark); display: block; }
.timeline p { color: var(--ink-soft); }

/* ---------- Stat blokken ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { background: var(--white); border-radius: var(--radius); padding: 28px 24px; text-align: center; border: 1px solid var(--cream-dark); }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: 2.3rem; color: var(--orange); line-height: 1; }
.stat .lbl { font-size: .92rem; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .vac-hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  /* Decoratieve illustraties verbergen zodra ze tekst kunnen raken */
  .deco-float { display: none; }
  .split.rev > .split-media { order: 0; }
  .usp-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .vac-grid, .team-grid, .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-farm { display: none; }
}
@media (max-width: 640px) {
  .vac-grid, .team-grid, .usp-grid, .stats, .form-grid { grid-template-columns: 1fr; }
  /* Fotostrook wordt een swipebare strook met scroll-snap */
  .photo-strip {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; gap: 14px;
    margin-left: -24px; margin-right: -24px; padding: 0 24px 14px;
    scrollbar-width: none;
  }
  .photo-strip::-webkit-scrollbar { display: none; }
  .photo-strip .ph, .photo-strip .photo-frame {
    flex: 0 0 84%; scroll-snap-align: center; min-height: 0;
  }
  .main-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 20px 24px 28px; gap: 16px; border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  section { padding: 56px 0; }
}
