/* =========================================================
   Food Risk Management — main.css
   Huisstijl: leisteen, tarwegeel en groen uit het FRM-logo.
   Koppen: Source Serif 4 · tekst: IBM Plex Sans
   ========================================================= */

/* 0 — LETTERTYPES (zelf gehost, geen verbinding met Google) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-sans-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-sans-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/source-serif-4-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/source-serif-4-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/source-serif-4-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/source-serif-4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1 — DESIGN TOKENS ---------------------------------------- */
:root {
  /* Huisstijl (uit het FRM-logo) */
  --slate-950: #141B20;
  --slate-900: #1E282E;
  --slate-800: #2D3A42;   /* achtergrond logo */
  --slate-700: #3C4A53;
  --slate-600: #55656F;
  --slate-400: #8B99A1;
  --slate-200: #D3DADE;
  --slate-100: #E7ECEE;
  --gold-500:  #FABA32;   /* tarwe */
  --gold-600:  #E3A21B;
  --gold-700:  #9A6A06;   /* goud als tekst op licht (contrast) */
  --gold-100:  #FDF2D6;
  --green-500: #72A347;   /* balk "management" */
  --green-700: #4C7A27;
  --green-100: #E9F2E0;

  --paper:   #F7F5EF;
  --paper-2: #EEEAE0;
  --white:   #FFFFFF;
  --ink:     #1E282E;
  --muted:   #55656F;
  --line:    #DEE3E6;
  --danger:  #B42318;

  /* Aliassen (gebruikt door oudere componenten) */
  --primary: var(--slate-800);
  --accent:  var(--gold-500);
  --text:    var(--ink);
  --text-muted: var(--muted);
  --border:  var(--line);
  --bg-alt:  var(--paper);

  /* Typografie */
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans:  'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --container:  1240px;
  --pad:        clamp(1.25rem, 4vw, 2.5rem);
  --section-py: clamp(64px, 8vw, 112px);
  --nav-h:      76px;

  /* Vorm */
  --r-sm: 4px;
  --r:    8px;
  --r-lg: 12px;
  --sh-sm: 0 1px 2px rgba(20, 27, 32, .06), 0 1px 3px rgba(20, 27, 32, .06);
  --sh:    0 4px 14px rgba(20, 27, 32, .08), 0 1px 3px rgba(20, 27, 32, .06);
  --sh-lg: 0 24px 48px -12px rgba(20, 27, 32, .22);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --t:    220ms;

  /* Donkere laag over foto's (paginakop, CTA) */
  --overlay: linear-gradient(90deg, rgba(20, 27, 32, .9) 0%, rgba(20, 27, 32, .68) 45%, rgba(20, 27, 32, .3) 100%);
}

/* 2 — RESET & BASIS ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold-500); color: var(--slate-900); }
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--slate-900); color: var(--white);
  padding: .6rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; }

.icon {
  width: 1em; height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 3 — TYPOGRAFIE ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--slate-900);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
h4 { font-size: 1.1rem; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold-700); }
p + p { margin-top: .9rem; }
strong { font-weight: 600; }
.sku { font-variant-numeric: tabular-nums; color: var(--slate-600); }

/* 4 — LAYOUT ----------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.section { padding: var(--section-py) 0; }
.section--alt { background: var(--paper); }

.section-label {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--gold-700);
  margin-bottom: .75rem;
}
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-lead { font-size: 1.125rem; color: var(--muted); max-width: 640px; margin-top: 1rem; }
.section-head { margin-bottom: 3rem; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; }

/* 5 — KNOPPEN ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.5rem;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  font-size: .975rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn .icon { width: 1.05em; height: 1.05em; stroke-width: 2; transition: transform var(--t) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--gold-500); color: var(--slate-900); }
.btn-primary:hover { background: var(--gold-600); box-shadow: 0 6px 18px -6px rgba(227, 162, 27, .7); }
.btn-outline { color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-ghost { color: var(--slate-800); border-color: var(--slate-200); background: var(--white); }
.btn-ghost:hover { border-color: var(--slate-800); }
.btn-dark { background: var(--slate-800); color: var(--white); }
.btn-dark:hover { background: var(--slate-900); }
.btn-sm { padding: .55rem 1rem; font-size: .875rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.03rem; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-group { display: flex; gap: .875rem; flex-wrap: wrap; }
.btn-group--center { justify-content: center; }

.btn-quote {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .75rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--slate-800);
  color: var(--slate-800);
  background: var(--white);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.btn-quote:hover { background: var(--slate-800); color: var(--white); }
.btn-quote .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.btn-quote.is-added { background: var(--green-500); border-color: var(--green-500); color: var(--white); }

/* 6 — TOPBALK, HEADER & NAVIGATIE -------------------------- */
.top-bar {
  background: var(--slate-900);
  color: var(--slate-400);
  font-size: .75rem;
  padding: .45rem 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.top-bar-links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.top-bar a { display: inline-flex; align-items: center; gap: .45rem; color: var(--slate-100); transition: color var(--t); }
.top-bar a .icon { color: var(--gold-500); }
.top-bar a:hover { color: var(--gold-500); }

.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t) var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(20, 27, 32, .25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 2rem; }
.nav-logo img { height: 46px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: .15rem; }
.nav-menu > li > a {
  position: relative;
  display: flex; align-items: center; gap: .3rem;
  padding: .55rem .8rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: color var(--t);
}
.nav-menu > li > a::after {
  content: '';
  position: absolute; left: .8rem; right: .8rem; bottom: .1rem;
  height: 2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav-menu > li > a:hover, .nav-menu > li.active > a { color: var(--slate-900); }
.nav-menu > li > a:hover::after, .nav-menu > li.active > a::after { transform: scaleX(1); }
.nav-menu > li > a.btn-nav {
  margin-left: .75rem;
  padding: .65rem 1.15rem;
  background: var(--slate-800);
  color: var(--white);
  border-radius: var(--r-sm);
}
.nav-menu > li > a.btn-nav::after { display: none; }
.nav-menu > li > a.btn-nav:hover { background: var(--slate-900); }

.nav-dropdown { position: relative; }
.nav-dropdown .chevron { width: 14px; height: 14px; stroke-width: 2.25; transition: transform var(--t) var(--ease); }
.nav-dropdown:hover .chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + .6rem); left: -.5rem;
  min-width: 270px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--sh-lg);
  padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  z-index: 100;
}
.dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -.9rem; height: .9rem; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu li a {
  display: block;
  padding: .55rem .85rem;
  font-size: .925rem;
  color: var(--slate-700);
  border-radius: var(--r-sm);
  transition: background var(--t), color var(--t);
}
.dropdown-menu li a:hover, .dropdown-menu li.active a { background: var(--paper); color: var(--slate-900); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .6rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--slate-800); transition: transform var(--t) var(--ease), opacity var(--t); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 7 — HERO ------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--slate-900) url('../assets/img/hero-tarwe.jpg') center 60% / cover no-repeat;
  padding: 5rem 0 9rem;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 27, 32, .92) 0%, rgba(30, 40, 46, .78) 45%, rgba(30, 40, 46, .2) 100%);
}
.hero .container { position: relative; width: 100%; }
.hero-content { max-width: 720px; animation: heroIn .9s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-tag {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-500);
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; margin-bottom: 1.5rem; }
.hero h1 em { color: var(--gold-500); font-weight: 500; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .82); max-width: 560px; margin-bottom: 2.25rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-facts {
  position: absolute; left: 0; right: 0; bottom: 5.5rem;
}
.hero-facts ul {
  display: flex; flex-wrap: wrap; gap: .5rem 2.25rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
}
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts .icon { color: var(--gold-500); width: 15px; height: 15px; stroke-width: 2.25; }

/* 8 — USP'S + FRM-BALK ------------------------------------- */
.highlights { position: relative; z-index: 10; margin-top: -4rem; }
.highlight-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2rem 1.75rem 1.85rem;
  box-shadow: var(--sh);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.highlight-card:hover { box-shadow: var(--sh-lg); }
.highlight-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--slate-800);
  margin-bottom: 1.25rem;
}
.highlight-icon .icon { width: 24px; height: 24px; }
.highlight-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.highlight-card p { font-size: .95rem; color: var(--muted); line-height: 1.6; }

.brand-band {
  margin-top: clamp(48px, 6vw, 80px);
  background: var(--slate-800);
}
.brand-band .container {
  display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
  padding-top: 2.25rem; padding-bottom: 2.25rem;
}
.brand-band img { width: min(440px, 100%); }
.brand-band p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--paper);
  max-width: 360px;
  line-height: 1.4;
}
.brand-band p strong { font-style: normal; color: var(--gold-500); font-weight: 600; }

/* 9 — OVER ONS (HOME) -------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about-image { position: relative; }
.about-image img { position: relative; width: 100%; height: 480px; object-fit: cover; border-radius: var(--r); box-shadow: var(--sh); }
.about-badge {
  position: absolute; left: -1.25rem; bottom: 2rem;
  background: var(--slate-800); color: var(--white);
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-lg);
}
.about-badge strong { display: block; font-family: var(--font-serif); font-size: 2.1rem; line-height: 1; color: var(--gold-500); }
.about-badge span { font-size: .72rem; opacity: .85; }
.about-text .section-title { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1rem; color: var(--slate-700); }
.about-text .btn-group { margin-top: 2rem; }
.about-partners {
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap;
}
.about-partners span { font-size: .72rem; color: var(--muted); }
.about-partners img { height: 76px; width: auto; transition: transform var(--t) var(--ease); }
.about-partners a:hover img { transform: translateY(-2px); }

/* 10 — PRODUCTKAARTEN -------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.5rem; }
.product-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.product-card:hover { box-shadow: var(--sh-lg); border-color: var(--slate-200); }
.product-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body { padding: 1.4rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.product-card-body p { font-size: .925rem; color: var(--muted); flex: 1; margin-bottom: 1.25rem; }
.product-card-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--slate-800);
}
.product-card-link .icon { width: 15px; height: 15px; stroke-width: 2; color: var(--gold-600); transition: transform var(--t) var(--ease); }
.product-card:hover .product-card-link .icon { transform: translateX(4px); }

/* 11 — SECTOREN (TABS) ------------------------------------- */
.tab-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.tab-btn {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--slate-700);
  transition: background var(--t), border-color var(--t), color var(--t);
}
.tab-btn:hover { border-color: var(--slate-400); color: var(--slate-900); }
.tab-btn.active { background: var(--slate-800); border-color: var(--slate-800); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active {
  display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  animation: fadeIn .45s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-image { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.tab-image img { width: 100%; height: 100%; object-fit: cover; }
.tab-text h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.tab-text p { color: var(--slate-700); margin-bottom: 1.5rem; max-width: 620px; }

/* 12 — NIEUWS ---------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.news-card:hover { box-shadow: var(--sh-lg); }
.news-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-card-img--contain img { object-fit: contain; padding: 1rem; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-date {
  display: flex; align-items: center; gap: .45rem;
  font-size: .875rem; font-weight: 600;
  color: var(--gold-700);
  margin-bottom: .6rem;
}
.news-card-body h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.news-card-body p { font-size: .925rem; color: var(--muted); margin-bottom: 1.25rem; flex: 1; }
.news-card-link {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem; font-weight: 600;
  color: var(--slate-800);
}
.news-card-link .icon { width: 15px; height: 15px; color: var(--gold-600); transition: transform var(--t) var(--ease); }
.news-card-link:hover .icon { transform: translateX(4px); }

.news-article {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.news-article:first-child { padding-top: 0; }
.news-article:last-child { border-bottom: none; padding-bottom: 0; }
.news-article h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1.1rem; }
.news-article p { color: var(--slate-700); }
.news-article .download-bar { margin: 1.75rem 0 0; }
.news-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.news-gallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.news-gallery figure:only-child { grid-column: 1 / -1; }
.news-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: .75rem; }
.news-gallery img.cover { object-fit: cover; padding: 0; }

/* 13 — CTA-STRIP ------------------------------------------- */
.contact-strip {
  position: relative;
  background: var(--overlay), url('../assets/img/banners/tarwe.jpg') center 40% / cover no-repeat, var(--slate-800);
  padding: clamp(56px, 7vw, 96px) 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.contact-strip h2 { color: var(--white); margin-bottom: 1rem; }
.contact-strip p { color: var(--slate-200); margin: 0 auto 2.25rem; font-size: 1.1rem; max-width: 620px; }

/* 14 — FOOTER ---------------------------------------------- */
.site-footer { background: var(--slate-950); color: var(--slate-400); padding: clamp(64px, 7vw, 96px) 0 0; font-size: .925rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-brand .logo img { height: 52px; width: auto; margin-bottom: 1.5rem; }
.footer-brand p { line-height: 1.7; max-width: 320px; }
.footer-contact { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: .65rem; color: var(--slate-200); transition: color var(--t); }
.footer-contact .icon { color: var(--gold-500); }
.footer-contact a:hover { color: var(--gold-500); }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col h4 + ul + h4 { margin-top: 2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a { color: var(--slate-200); display: inline-flex; align-items: center; gap: .4rem; transition: color var(--t); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li a .icon { width: 12px; height: 12px; opacity: .6; }
.footer-partner-logos { display: flex; align-items: center; gap: .75rem; margin-top: 1.75rem; }
.footer-partner-logos a { background: var(--white); border-radius: var(--r-sm); padding: .45rem .65rem; opacity: .9; transition: opacity var(--t); }
.footer-partner-logos a:hover { opacity: 1; }
.footer-partner-logos img { height: 30px; width: auto; }
.footer-bottom-wrap { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding: 1.5rem 0; font-size: .85rem;
}
.footer-bottom-links { display: flex; gap: 1.75rem; }
.footer-bottom-links a { color: var(--slate-400); transition: color var(--t); }
.footer-bottom-links a:hover { color: var(--white); }

/* 15 — PAGINAKOP ------------------------------------------- */
.page-header {
  position: relative;
  background: var(--slate-800) center / cover no-repeat;   /* foto per pagina: inline background-image (zie bron/build.py) */
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  color: var(--white);
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 1; }
.page-header-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-size: .9rem;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--slate-200); transition: color var(--t); }
.breadcrumb a:hover { color: var(--gold-500); }
.breadcrumb .sep { color: var(--slate-400); }
.page-header h1 { color: var(--white); margin-bottom: 1rem; }
.page-header p { color: var(--slate-200); font-size: 1.15rem; max-width: 660px; }

.page-header-media {
  width: clamp(170px, 20vw, 250px); aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  border: 4px solid rgba(255, 255, 255, .9);
  box-shadow: var(--sh-lg);
}
.page-header-media img { width: 100%; height: 100%; object-fit: cover; }

.page-header-logos { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }
.page-header-logos a {
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border-radius: var(--r);
  padding: .9rem 1.4rem;
  box-shadow: var(--sh-lg);
}
.page-header-logos a.logo-frm { background: transparent; box-shadow: none; padding: .25rem 0; border-bottom: 1px solid rgba(255,255,255,.12); border-radius: 0; }
.page-header-logos img { height: 64px; width: auto; }
.page-header-logos a.logo-frm img { height: 72px; }

/* 16 — INHOUDSPAGINA'S ------------------------------------- */
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.content-block { max-width: 760px; }
.content-block > p:first-child { font-size: 1.2rem; color: var(--slate-900); }
.content-block h2 { margin: 3rem 0 1rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.content-block h2:first-child { margin-top: 0; }
.content-block h3 { margin: 2rem 0 .75rem; }
.content-block p { margin-bottom: 1rem; color: var(--slate-700); }
.content-block ul { margin: 1rem 0 1.5rem; display: grid; gap: .5rem; }
.content-block ul li { position: relative; padding-left: 1.4rem; color: var(--slate-700); }
.content-block ul li::before { content: ''; position: absolute; left: .2rem; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--slate-400); }
.content-block a { color: var(--slate-900); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.sticky-aside { position: sticky; top: calc(var(--nav-h) + 2rem); }
.aside-logos { display: flex; gap: 1.25rem; align-items: center; margin-top: 1.75rem; flex-wrap: wrap; }
.aside-logos img { max-height: 52px; width: auto; }

.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--slate-200); }
.milestone {
  position: relative;
  padding: 2.25rem 1.5rem 0 0;
  background: none; border: none; box-shadow: none; border-radius: 0;
}
.milestone::before { display: none; }
.milestone::after {
  content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px;
  border-radius: 50%; background: var(--slate-800);
}
.milestone:hover { transform: none; box-shadow: none; }
.milestone-year { font-size: .85rem; font-weight: 500; color: var(--gold-700); margin-bottom: .5rem; }
.milestone h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.milestone p { font-size: .95rem; color: var(--muted); }

/* 17 — CONTACT --------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem 1.75rem;
}
.contact-info-card h3 { font-size: 1.1rem; margin-bottom: .85rem; display: flex; align-items: center; gap: .65rem; }
.contact-info-card h3 .icon { color: var(--gold-700); width: 20px; height: 20px; }
.contact-info-card p, .contact-info-card a { font-size: .95rem; color: var(--slate-700); line-height: 1.8; }
.contact-info-card a:hover { color: var(--slate-900); text-decoration: underline; text-decoration-color: var(--gold-500); }
.contact-info-card .divider { margin: 1.25rem 0; }
.partner-logos { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.partner-logos img { height: 56px; width: auto; }

.map-embed { border-radius: var(--r); overflow: hidden; height: 400px; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 2rem 1.5rem; text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(250, 186, 50, .16) 0, transparent 50%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(45, 58, 66, .06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(45, 58, 66, .06) 39px 40px),
    var(--paper);
}
.map-consent-pin {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--slate-800); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-lg);
}
.map-consent-pin .icon { width: 26px; height: 26px; }
.map-consent-address { color: var(--slate-900); }
.map-consent-note { font-size: .82rem; color: var(--muted); max-width: 470px; }
.map-consent-note a { text-decoration: underline; }

/* 18 — FORMULIEREN ----------------------------------------- */
.contact-form, .form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--sh);
}
.contact-form h2, .form-card h2 { margin-bottom: .5rem; font-size: clamp(1.6rem, 3vw, 2rem); }
.form-lead { color: var(--muted); margin-bottom: 2rem; font-size: .975rem; }
.form-lead a { color: var(--slate-900); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--slate-900); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 1rem;
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: var(--slate-400); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--slate-800);
  box-shadow: 0 0 0 3px rgba(250, 186, 50, .35);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: .8rem; color: var(--muted); }
.form-privacy { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1.5rem; font-size: .875rem; color: var(--muted); }
.form-privacy input[type=checkbox] { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--slate-800); flex-shrink: 0; }
.form-privacy a { color: var(--slate-900); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; align-items: flex-start; gap: .75rem; border-radius: var(--r-sm); padding: 1rem 1.25rem; font-size: .95rem; margin-top: 1rem; }
.form-status.is-visible { display: flex; }
.form-status .icon { width: 20px; height: 20px; margin-top: 2px; }
.form-status--success { background: var(--green-100); border: 1px solid #C3DBAA; color: var(--green-700); }
.form-status--error { background: #FEF3F2; border: 1px solid #FECDCA; color: var(--danger); }
.form-status a { text-decoration: underline; }

/* 19 — PRODUCTPAGINA'S ------------------------------------- */
.subnav-wrapper {
  position: sticky; top: var(--nav-h); z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.subnav { display: flex; gap: .5rem; padding-top: .8rem; padding-bottom: .8rem; overflow-x: auto; scrollbar-width: thin; }
.subnav .tab-btn { font-size: .85rem; }

.format-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 3rem;
  scroll-margin-top: calc(var(--nav-h) + 76px);
}
.format-card:last-child { margin-bottom: 0; }
.format-header {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 1.9rem 2.5rem;
  background: var(--slate-800);
}
.format-header--alt { background-color: var(--slate-900); }
.format-header-text h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3rem; }
.format-header-text p { color: var(--slate-200); font-size: 1rem; }
.format-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 500;
  color: var(--gold-500);
  border: 1px solid rgba(250, 186, 50, .45);
  padding: .45rem .9rem;
  border-radius: 999px;
}
.format-tag .icon { width: 14px; height: 14px; }
.format-body { padding: 2.5rem; }
.format-body > h3 { margin: 2.5rem 0 1rem; font-size: 1.35rem; }
.format-intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; margin-bottom: 2.5rem; }
.format-intro-grid p { color: var(--slate-700); }
.format-product-img {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--white);
}
.format-product-img img { width: 100%; height: 100%; object-fit: cover; }
.format-media-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.brand-logo { max-width: min(220px, 100%); height: auto; }

.accordion-media { display: grid; grid-template-columns: 1fr 220px; gap: 2rem; align-items: start; }
.accordion-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r); }

.features-list { display: grid; gap: .75rem; margin: 1.75rem 0 0; }
.feature-item {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: .9rem 1.1rem;
  background: var(--paper);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--gold-500);
}
.feature-item > .icon { width: 20px; height: 20px; color: var(--slate-800); margin-top: .15rem; }
.feature-item strong { display: block; font-size: .95rem; color: var(--slate-900); margin-bottom: .1rem; }
.feature-item span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

.time-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold-100);
  color: var(--gold-700);
  border: 1px solid #F5DC9C;
  font-size: .8rem; font-weight: 500;
  padding: .45rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

/* Tabellen */
.table-tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.25rem 0 0; }
.table-filter {
  position: relative; flex: 1; min-width: 220px; max-width: 380px;
}
.table-filter .icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--slate-400); width: 17px; height: 17px; }
.table-filter input {
  width: 100%;
  padding: .6rem .9rem .6rem 2.5rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-sm);
  font-size: .925rem;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.table-filter input:focus { border-color: var(--slate-800); box-shadow: 0 0 0 3px rgba(250, 186, 50, .35); }
.table-count { font-size: .75rem; color: var(--muted); }
.table-empty td { text-align: center; color: var(--muted); font-style: italic; padding: 1.25rem !important; }

.product-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin: 1.25rem 0 1.5rem; }
.product-table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.product-table thead th {
  padding: .8rem 1rem;
  text-align: left;
  background: var(--paper);
  color: var(--slate-700);
  font-size: .7rem; font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.product-table th.col-quote, .product-table td.col-quote { width: 140px; text-align: center; }
.product-table tbody tr { border-bottom: 1px solid var(--line); transition: background var(--t); }
.product-table tbody tr:last-child { border-bottom: none; }
.product-table tbody tr:hover { background: #FCFBF8; }
.product-table tbody td { padding: .7rem 1rem; vertical-align: middle; color: var(--slate-700); }
.product-table tbody td:first-child { font-weight: 600; color: var(--slate-900); }
.product-table tbody td.sku { color: var(--slate-600); }
.product-table tfoot td { padding: .75rem 1rem; font-size: .825rem; color: var(--muted); background: var(--paper); font-style: italic; border-top: 1px solid var(--line); }
.table-note { font-size: .9rem; color: var(--muted); font-style: italic; }

/* Downloads */
.download-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 2rem;
}
.download-bar-label {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 500;
  color: var(--muted);
}
.download-bar-label .icon { width: 15px; height: 15px; }
.download-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  font-size: .875rem; font-weight: 600; color: var(--slate-800);
  transition: border-color var(--t), background var(--t), color var(--t);
}
.download-btn:hover { border-color: var(--slate-800); background: var(--slate-800); color: var(--white); }
.download-btn .icon { width: 16px; height: 16px; color: var(--gold-600); }
.download-btn:hover .icon { color: var(--gold-500); }

/* Accordions */
.product-accordion { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .75rem; background: var(--white); transition: box-shadow var(--t); }
.product-accordion[open] { box-shadow: var(--sh); }
.product-accordion summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 600;
  color: var(--slate-900);
  cursor: pointer;
  list-style: none;
  transition: background var(--t);
  border-radius: var(--r);
}
.product-accordion summary:hover { background: var(--paper); }
.product-accordion summary::-webkit-details-marker { display: none; }
.product-accordion summary::after {
  content: ''; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D3A42' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform var(--t) var(--ease);
}
.product-accordion[open] summary { border-bottom: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; }
.product-accordion[open] summary::after { transform: rotate(45deg); }
.accordion-body { padding: 1.5rem 1.4rem; }
.accordion-body .download-bar { margin: 1.5rem 0; }

/* Werkwijze-stappen */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0; counter-reset: step; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; padding: 1.25rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.step-num {
  font-size: .75rem; font-weight: 500;
  color: var(--gold-700);
  margin-bottom: .6rem;
}
.step strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--slate-900); margin-bottom: .3rem; }
.step p { font-size: .875rem; color: var(--muted); line-height: 1.5; }

.section-separator { border: none; height: 1px; background: var(--line); margin: 3.5rem 0; }

/* Productlijnen */
.line-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; }
.line-card {
  display: flex; flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
}
.line-card:hover { border-color: var(--slate-200); box-shadow: var(--sh); }
.line-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.line-card p { font-size: .925rem; color: var(--muted); flex: 1; margin-bottom: 1.25rem; }
.line-card .btn-quote, .line-card .btn { align-self: flex-start; }
.line-card a:not(.btn) { text-decoration: underline; text-decoration-color: var(--gold-500); }

/* 20 — CATALOGUS ------------------------------------------- */
.catalog-feature { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.catalog-cover {
  display: block;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(20, 27, 32, .45), 0 0 0 1px rgba(20, 27, 32, .06);
  transition: box-shadow var(--t) var(--ease);
}
.catalog-cover:hover { box-shadow: 0 30px 60px -18px rgba(20, 27, 32, .5), 0 0 0 1px rgba(20, 27, 32, .06); }
.catalog-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1.25rem 0 2rem; font-size: .78rem; color: var(--muted); }
.catalog-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.catalog-meta .icon { color: var(--gold-700); }
.frm-banner { width: min(460px, 100%); margin: 0 auto 3rem; }
.catalog-previews { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.catalog-previews figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); }
.catalog-previews figcaption {
  padding: .9rem 1.25rem; font-size: .75rem;
  color: var(--slate-700);
  border-top: 1px solid var(--line);
}
.flyer-feature { display: grid; grid-template-columns: 1fr 300px; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.flyer-feature .brand-logo { max-width: 170px; margin-bottom: 1.5rem; }

.download-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.download-card {
  display: flex; flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  transition: box-shadow var(--t), border-color var(--t);
}
.download-card:hover { box-shadow: var(--sh); border-color: var(--slate-200); }
.download-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--slate-800); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.download-icon .icon { width: 22px; height: 22px; }
.download-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.download-card p { font-size: .875rem; color: var(--muted); flex: 1; margin-bottom: 1.25rem; }
.download-card .download-btn { align-self: flex-start; }

/* 21 — OFFERTE --------------------------------------------- */
.quote-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.quote-sidebar {
  position: sticky; top: calc(var(--nav-h) + 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.quote-sidebar h2 { font-size: 1.5rem; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.quote-count { font-size: .72rem; font-weight: 500; background: var(--slate-800); color: var(--white); border-radius: 999px; padding: .25rem .7rem; }

.quote-search { position: relative; margin-bottom: 1.25rem; }
.quote-search label { display: block; font-size: .85rem; font-weight: 600; color: var(--slate-900); margin-bottom: .4rem; }
.quote-search .table-filter { max-width: none; }
.quote-search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + .35rem); z-index: 20;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  max-height: 340px; overflow-y: auto;
}
.quote-search-results li { border-bottom: 1px solid var(--line); }
.quote-search-results li:last-child { border-bottom: none; }
.quote-search-results button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem .9rem; text-align: left; font-size: .9rem;
}
.quote-search-results button:hover, .quote-search-results button.is-active { background: var(--paper); }
.quote-search-results .res-name { color: var(--slate-900); font-weight: 500; }
.quote-search-results .res-meta { display: block; font-size: .72rem; color: var(--muted); }
.quote-search-results .res-add { flex-shrink: 0; font-size: .7rem; color: var(--gold-700); }
.quote-search-results .res-empty { padding: .9rem; font-size: .875rem; color: var(--muted); }
.quote-search-results mark { background: var(--gold-100); color: inherit; border-radius: 2px; }

.quote-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.quote-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.quote-table thead th {
  padding: .7rem .8rem; text-align: left; font-size: .68rem; font-weight: 500;
  color: var(--slate-600); border-bottom: 1px solid var(--line);
}
.quote-table th.col-qty { width: 84px; text-align: center; }
.quote-table th.col-remove { width: 44px; }
.quote-table tbody td { padding: .75rem .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.quote-table tbody tr:last-child td { border-bottom: none; }
.quote-table .prod-name { display: block; font-weight: 600; color: var(--slate-900); }
.quote-table .prod-sku { display: block; font-size: .75rem; color: var(--muted); }
.qty-input { width: 64px; padding: .4rem; border: 1px solid var(--slate-200); border-radius: var(--r-sm); text-align: center; font-size: .9rem; }
.remove-item { display: inline-flex; color: var(--slate-400); padding: .35rem; border-radius: var(--r-sm); transition: color var(--t), background var(--t); }
.remove-item:hover { color: var(--danger); background: #FEF3F2; }
.remove-item .icon { width: 18px; height: 18px; }
.quote-empty {
  text-align: center; padding: 2rem 1.25rem;
  background: var(--white); border: 1.5px dashed var(--slate-200); border-radius: var(--r);
  color: var(--muted); font-size: .925rem;
}
.quote-empty .icon { width: 34px; height: 34px; color: var(--gold-600); margin: 0 auto .75rem; }
.quote-empty strong { display: block; font-family: var(--font-serif); color: var(--slate-900); font-size: 1.1rem; margin-bottom: .35rem; }
.quote-empty .btn { margin-top: 1rem; }
.quote-sidebar-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; font-size: .875rem; }
.quote-sidebar-actions a { color: var(--slate-800); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
.quote-sidebar-actions button { color: var(--muted); text-decoration: underline; }
.quote-sidebar-actions button:hover { color: var(--danger); }
.quote-success {
  max-width: 660px; margin: 0 auto; text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold-500);
  border-radius: var(--r);
}
.quote-success .icon-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--slate-800); color: var(--gold-500); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.quote-success .icon-circle .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.quote-success h2 { margin-bottom: .75rem; }
.quote-success p { color: var(--muted); }
.quote-ref { display: inline-block; margin: 1.25rem 0 1.75rem; font-weight: 500; color: var(--slate-900); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .55rem 1rem; }

.quote-floating-widget {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 300;
  display: flex; align-items: center; gap: .7rem;
  padding: .75rem .9rem .75rem 1.2rem;
  background: var(--slate-800); color: var(--white);
  border-radius: 999px;
  box-shadow: var(--sh-lg);
  font-weight: 600; font-size: .95rem;
  visibility: hidden; opacity: 0; transform: translateY(100px);
  transition: transform .45s cubic-bezier(.2, 1.3, .4, 1), opacity .4s, visibility .4s, background var(--t);
}
.quote-floating-widget.visible { visibility: visible; opacity: 1; transform: none; }
.quote-floating-widget:hover { background: var(--slate-900); }
.quote-floating-widget .icon { width: 19px; height: 19px; color: var(--gold-500); }
.quote-floating-badge {
  min-width: 26px; height: 26px; padding: 0 .4rem; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-500); color: var(--slate-900); font-size: .8rem; font-weight: 500;
}
.quote-floating-widget.bump { animation: bump .45s var(--ease); }
@keyframes bump { 50% { transform: scale(1.08); } }

/* 22 — HULPKLASSEN ----------------------------------------- */
.divider { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mb-sm { margin-bottom: 1rem; }
.mb { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 3rem; }
.mt { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.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; }

/* 23 — ANIMATIES ------------------------------------------- */
.js .fade-up { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .fade-up { opacity: 1; transform: none; }
}

/* 24 — RESPONSIVE ------------------------------------------ */
@media (max-width: 1180px) {
  .nav { gap: 1rem; }
  .nav-menu > li > a { padding: .5rem .55rem; font-size: .9rem; }
  .nav-menu > li > a::after { left: .55rem; right: .55rem; }
  .nav-menu > li > a.btn-nav { margin-left: .4rem; }
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { max-width: 640px; }
  .about-image img { height: 400px; }
  .content-grid { grid-template-columns: 1fr; }
  .sticky-aside { position: static; }
  .milestones { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-sidebar { position: static; }
  .hero-facts { bottom: 5rem; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed; inset: var(--nav-h) 0 0;   /* top wordt bij openen door main.js gezet */
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem var(--pad) 2rem;
    background: var(--white);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    z-index: 150;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-menu > li:last-child { border-bottom: none; }
  .nav-menu > li > a { padding: 1rem .25rem; font-size: 1.05rem; justify-content: space-between; }
  .nav-menu > li > a::after { display: none; }
  .nav-menu > li > a.btn-nav { margin: 1.25rem 0 0; justify-content: center; }
  .dropdown-menu {
    position: static; visibility: visible; opacity: 1; transform: none;
    display: none;
    box-shadow: none; border: none; border-left: 2px solid var(--gold-500); border-radius: 0;
    margin: 0 0 1rem .25rem; padding: 0 0 0 .75rem; min-width: 0;
  }
  .dropdown-menu::before { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-dropdown:hover .chevron { transform: none; }
  .nav-dropdown.open .chevron { transform: rotate(180deg); }
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .tab-panel.active { grid-template-columns: 1fr; gap: 1.5rem; }
  .tab-image { max-width: 320px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .page-header-grid { grid-template-columns: 1fr; gap: 2rem; }
  .page-header-media { width: 150px; }
  .page-header-logos { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .page-header-logos a.logo-frm { border-bottom: none; }
  .page-header-logos img { height: 52px; }
  .page-header-logos a.logo-frm img { height: 56px; }
  .format-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .format-body { padding: 1.5rem; }
  .format-header { padding: 1.5rem; }
  .accordion-media { grid-template-columns: 1fr; }
  .accordion-media img { max-width: 260px; }
  .steps, .steps--5 { grid-template-columns: repeat(2, 1fr); }
  .news-article { grid-template-columns: 1fr; }
  .catalog-feature, .flyer-feature { grid-template-columns: 1fr; }
  .catalog-cover { max-width: 260px; }
  .flyer-feature > :last-child { max-width: 280px; }
  .catalog-previews { grid-template-columns: 1fr; }
  .brand-band .container { flex-direction: column; text-align: center; }
  /* Hero: kerngegevens onder de knoppen in plaats van absoluut onderin */
  .hero { flex-direction: column; align-items: stretch; justify-content: center; padding: 4rem 0 6.5rem; }
  .hero-facts { position: static; margin-top: 2.75rem; }
  .hero-facts ul { flex-direction: column; gap: .55rem; }
}
@media (max-width: 580px) {
  body { font-size: 1rem; }
  .top-bar .container { justify-content: center; }
  .top-bar .container > span { display: none; }
  .top-bar-links { gap: 1rem; justify-content: center; }
  .top-bar-links a:not(:first-child) { display: none; }   /* op mobiel alleen het telefoonnummer */
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero { min-height: 0; padding: 3rem 0 6rem; }
  .hero h1 { font-size: clamp(2rem, 9.6vw, 2.6rem); }
  .hero-tag { font-size: .925rem; }
  .hero-cta { flex-direction: column; }
  .btn { justify-content: center; }
  .about-image img { height: 300px; }
  .about-badge { left: .75rem; bottom: 1rem; }
  .about-partners img { height: 60px; }
  .milestones { grid-template-columns: 1fr; }
  .steps, .steps--5 { grid-template-columns: 1fr; }
  .news-gallery { grid-template-columns: 1fr; }
  .quote-floating-widget { right: 1rem; bottom: 1rem; }
  .product-table { font-size: .875rem; }
}

/* 25 — PRINT ----------------------------------------------- */
@media print {
  @page { margin: 16mm 14mm; }
  *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; }
  html { font-size: 10.5pt; }
  body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.45; }
  .top-bar, .nav-menu, .nav-toggle, .skip-link, .subnav-wrapper, .contact-strip, .site-footer,
  .quote-floating-widget, .btn, .btn-group, .hero-cta, .add-to-quote, .btn-quote, .col-quote,
  .table-tools, .map-embed, .download-bar, .tab-buttons, .about-partners, .form-card, .contact-form,
  .quote-search, .quote-sidebar-actions, .remove-item, iframe, video { display: none !important; }
  .site-header { position: static; height: auto; border-bottom: 2px solid #000; background: #fff; margin-bottom: 8mm; }
  .nav { height: auto; padding: 0 0 4mm; }
  .nav-logo img { height: 14mm; }
  .site-header::after {
    content: 'Food Risk Management B.V.  ·  +31 6 819 259 24  ·  info@foodriskmanagement.nl  ·  www.foodriskmanagement.nl';
    display: block; font-size: 8pt; color: #444; padding-bottom: 3mm;
  }
  .container { max-width: none; padding: 0; }
  .section, .page-header { padding: 0 0 6mm; }
  .page-header { background: none !important; color: #000; }
  .page-header h1, .page-header p, .format-header-text h2, .format-header-text p { color: #000 !important; }
  .page-header-media, .page-header-logos, .breadcrumb { display: none !important; }
  .hero { min-height: 0; padding: 0 0 6mm; background: none !important; color: #000; }
  .hero::before, .hero-facts, .highlights, .brand-band { display: none !important; }
  .hero h1, .hero p { color: #000; }
  .format-card, .product-accordion, .line-card, .product-card { border: 1px solid #999; break-inside: avoid-page; }
  .format-header { background: none !important; border-bottom: 1px solid #999; padding: 4mm; }
  .format-tag { display: none; }
  .format-body { padding: 4mm; }
  .format-intro-grid { grid-template-columns: 1fr 45mm; gap: 6mm; }
  .format-product-img { aspect-ratio: auto; border: none; }
  .accordion-media { grid-template-columns: 1fr 40mm; }
  .accordion-media img { max-width: 40mm; }
  details.product-accordion > *:not(summary) { display: block !important; }
  .product-accordion summary::after { display: none; }
  .product-table-wrap { overflow: visible; border: none; }
  .product-table { font-size: 9pt; }
  .product-table thead { display: table-header-group; }
  .product-table thead th { background: #eee !important; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .product-table tr { break-inside: avoid; }
  .product-table tbody td { padding: 1.5mm 2.5mm; }
  .product-grid, .line-grid, .news-grid { grid-template-columns: repeat(2, 1fr); gap: 4mm; }
  a { color: #000; text-decoration: none; }
  .content-block a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 8pt; color: #555; }
  .js .fade-up { opacity: 1 !important; transform: none !important; }
  h1, h2, h3 { break-after: avoid; color: #000; }
  img { break-inside: avoid; }
}
