/* Horrengroothandel.nl — huisstijl & layout */

@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("/assets/fonts/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("/assets/fonts/archivo-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-600.woff2") format("woff2"); }

:root {
  --petrol: #0F3D3E;
  --petrol-900: #0A2A2B;
  --petrol-700: #155455;
  --signaal: #F26B1D;
  --signaal-600: #D9580D;
  --zand: #F4F1EA;
  --steen: #E3DED3;
  --wit: #FFFFFF;
  --ink: #1A1F1E;
  --muted: #56625F;

  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 1px 2px rgba(10, 42, 43, .06), 0 8px 24px rgba(10, 42, 43, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--zand);
}
img { max-width: 100%; height: auto; display: block; }
.grid > *, .split > *, .hero .container > *, .footer-grid > *, .cta > * { min-width: 0; }
a { color: var(--petrol-700); }
a:hover { color: var(--signaal-600); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--petrol); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--wit { background: var(--wit); }
.section--donker { background: var(--petrol); color: var(--zand); }
.section--donker h2, .section--donker h3 { color: var(--wit); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--signaal-600); margin-bottom: .75rem;
}
.section--donker .eyebrow, .hero .eyebrow { color: var(--signaal); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 40px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--wit); padding: 8px 12px; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: .85em 1.4em; border-radius: var(--radius); border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--primair { background: var(--signaal); color: var(--wit); }
.btn--primair:hover { background: var(--signaal-600); color: var(--wit); }
.btn--rand { border-color: currentColor; color: var(--petrol); }
.btn--rand:hover { background: var(--petrol); color: var(--wit); border-color: var(--petrol); }
.hero .btn--rand, .section--donker .btn--rand { color: var(--zand); }
.hero .btn--rand:hover, .section--donker .btn--rand:hover { background: var(--zand); color: var(--petrol); border-color: var(--zand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--wit); border-bottom: 1px solid var(--steen); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--petrol); }
.logo img { width: 40px; height: 40px; }
.logo span { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: -.02em; font-weight: 600; white-space: nowrap; }
.logo b { font-weight: 800; }
.logo i { font-style: normal; color: var(--signaal); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--signaal-600); }
.nav .btn { margin-left: 8px; padding: .6em 1.1em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--petrol); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: var(--wit); border-bottom: 1px solid var(--steen); padding: 8px var(--gutter) 16px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--zand); border-radius: 0; }
  .nav .btn { margin: 12px 0 0; }
  .logo span { font-size: 1.1rem; }
}

/* Hero */
.hero { background: var(--petrol); color: var(--zand); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { color: var(--wit); }
.hero h1 em { font-style: normal; color: var(--signaal); }
.hero p { color: #CFDCD9; font-size: 1.15rem; max-width: 54ch; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -16px; bottom: 24px; background: var(--signaal); color: var(--wit);
  font-family: var(--font-head); font-weight: 800; padding: 12px 18px; border-radius: var(--radius); box-shadow: var(--shadow);
  line-height: 1.2;
}
.hero-badge small { display: block; font-weight: 600; font-size: .8rem; opacity: .9; }
.hero--compact .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; bottom: 12px; }
}

/* USP-balk */
.usp-bar { background: var(--petrol-900); color: var(--zand); }
.usp-bar ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .92rem; font-weight: 600; }
.usp-bar li { display: flex; align-items: center; gap: 8px; }
.usp-bar svg { color: var(--signaal); flex: none; }

/* Grids & kaarten */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kaart { background: var(--wit); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.kaart p { color: var(--muted); margin: 0; }
.kaart .icoon { width: 44px; height: 44px; border-radius: 10px; background: var(--zand); color: var(--signaal-600); display: grid; place-items: center; margin-bottom: 16px; }
.section--donker .kaart { background: var(--petrol-700); box-shadow: none; }
.section--donker .kaart p { color: #CFDCD9; }
.section--donker .kaart .icoon { background: var(--petrol); color: var(--signaal); }

/* Productkaarten */
.product { background: var(--wit); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s; }
a.product:hover { transform: translateY(-3px); color: inherit; }
.product img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--steen); }
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: .3em; }
.product-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--petrol-700); background: var(--zand); padding: 3px 8px; border-radius: 6px; margin-bottom: 10px; }
.cat-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; }
.cat-head h3 { font-size: 1.5rem; margin: 0; }
.cat-head + .grid { margin-bottom: 48px; }

/* Productdetail (categoriepagina's) */
.product-detail { display: grid; grid-template-columns: 340px 1fr; gap: clamp(20px, 4vw, 48px); background: var(--wit); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 28px; scroll-margin-top: 96px; }
.product-detail img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.product-detail .inhoud { padding: 28px 28px 28px 0; }
.product-detail h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.product-detail p { color: var(--muted); }
@media (max-width: 760px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-detail img { aspect-ratio: 4 / 3; min-height: 0; }
  .product-detail .inhoud { padding: 0 20px 24px; }
}
.specs { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 20px; }
.specs li { position: relative; padding-left: 24px; font-size: .95rem; }
.specs li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border: 3px solid var(--signaal); border-radius: 2px; }
.toepassing { margin-top: 16px; font-size: .9rem; color: var(--ink); background: var(--zand); padding: 10px 14px; border-radius: 8px; }
.toepassing strong { color: var(--petrol); }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.subnav a { font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--zand); border: 1px solid rgba(244, 241, 234, .35); padding: 6px 12px; border-radius: 999px; }
.subnav a:hover { background: var(--zand); color: var(--petrol); }

/* Stappen */
.stappen { counter-reset: stap; }
.stap { position: relative; padding-top: 56px; }
.stap::before {
  counter-increment: stap; content: counter(stap); position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 10px; background: var(--signaal); color: var(--wit);
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center;
}

/* Doelgroepen */
.doelgroepen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.doelgroepen li { background: var(--wit); border-left: 4px solid var(--signaal); padding: 16px 18px; border-radius: 6px; font-weight: 600; color: var(--petrol); }
.doelgroepen li span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; margin-top: 2px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--wit); border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--petrol); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--signaal); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* CTA-blok */
.cta { background: var(--signaal); color: var(--wit); border-radius: calc(var(--radius) * 1.5); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta h2 { color: var(--wit); margin-bottom: .3em; }
.cta p { margin: 0; opacity: .95; max-width: 60ch; }
.cta .btn { background: var(--petrol); color: var(--wit); }
.cta .btn:hover { background: var(--petrol-900); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Checklijst */
.check { list-style: none; padding: 0; margin: 0 0 1.5em; }
.check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--signaal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Footer */
.site-footer { background: var(--petrol-900); color: #B9C8C5; font-size: .95rem; padding: 56px 0 28px; }
.site-footer a { color: #E6EEEC; text-decoration: none; }
.site-footer a:hover { color: var(--signaal); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: var(--wit); font-size: 1rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid .logo { color: var(--wit); margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.breadcrumb { font-size: .85rem; margin-bottom: 16px; color: #A9BDB9; }
.breadcrumb a { color: #CFDCD9; }
