@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500..800&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

/* RetaBio — shared stylesheet */

:root {
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --navy-950: #061a30;
  --navy-900: #0b2a52;
  --navy-800: #123a68;
  --navy-100: #e7edf5;
  --teal-500: #14b8a6;
  --teal-400: #2fd8c4;
  --teal-50: #eafaf7;
  --ink: #16202e;
  --muted: #5b6b7c;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-soft: #f6f9fb;
  --danger: #b3261e;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(11, 42, 82, 0.08);
  --shadow-sm: 0 2px 8px rgba(11, 42, 82, 0.06);
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

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

/* ---------- Top notice bar ---------- */
.notice-bar {
  background: var(--navy-950);
  color: #cfe0ee;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.2px;
}

/* ---------- Header ---------- */
header.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { height: 160px; width: auto; }

.brand-word {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
}
.brand-word .reta { color: var(--navy-900); }
.brand-word .bio {
  background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav.main-nav {
  display: flex;
  gap: 28px;
}

nav.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-900);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: var(--teal-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  background: var(--navy-900);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.cart-link:hover { background: var(--navy-800); }
.cart-count {
  background: var(--teal-500);
  color: #06251f;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  color: var(--navy-900);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--navy-900), var(--navy-800));
  color: #fff;
}
.btn-primary:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-teal {
  background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
  color: #04241f;
}
.btn-teal:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--navy-900);
  color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-100); }
.btn-block { width: 100%; }
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(47, 216, 196, 0.16), transparent),
    linear-gradient(180deg, var(--bg-soft), #fff);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--teal-500);
  background: var(--teal-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--navy-950);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--teal-500); }
.hero p.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border-radius: 20px;
  padding: 36px;
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(47,216,196,0.35), transparent 70%);
}
.hero-stat { display: flex; justify-content: space-between; margin-bottom: 22px; position: relative; z-index: 1; }
.hero-stat:last-child { margin-bottom: 0; }
.hero-stat .num { font-size: 26px; font-weight: 800; color: var(--teal-400); }
.hero-stat .lbl { font-size: 13px; color: #b9c8d8; max-width: 22ch; text-align: right; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.trust-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 800;
}
.trust-item h4 { margin: 0 0 4px; font-size: 15px; }
.trust-item p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- Section ---------- */
section.section { padding: 64px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 20px;
}
.section-head h2 {
  font-size: 30px;
  margin: 0 0 8px;
  color: var(--navy-950);
  font-weight: 800;
}
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }
.section-soft { background: var(--bg-soft); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-media {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-media .flask { font-size: 44px; }
.badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--teal-400);
  color: #04241f;
}
.badge.out {
  background: #f1f3f5;
  color: #6b7684;
}
.product-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-cat { font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--teal-500); }
.product-body h3 { margin: 0; font-size: 18px; }
.product-body p.desc { margin: 0; font-size: 13.5px; color: var(--muted); flex: 1; }
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.price { font-size: 19px; font-weight: 800; color: var(--navy-950); }
.price .unit { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-950);
  color: #b9c8d8;
  padding: 56px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h5 { color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: 0.4px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { font-size: 13.5px; color: #b9c8d8; }
.footer-grid a:hover { color: #fff; }
.footer-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}
.footer-word span { color: var(--teal-400); }
.footer-brand p { font-size: 13.5px; color: #93a5b8; max-width: 40ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 12.5px;
  color: #7d8fa2;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Disclaimer callout ---------- */
.disclaimer-box {
  background: #fff7ed;
  border: 1px solid #fcd9a8;
  color: #7a4a04;
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 13.5px;
  display: flex;
  gap: 14px;
}
.disclaimer-box .icon { font-size: 20px; }
.disclaimer-box strong { display: block; margin-bottom: 4px; font-size: 14px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0;
}
.breadcrumb a { color: var(--navy-800); font-weight: 600; }
.breadcrumb .sep { margin: 0 6px; color: #b7c1cb; }

/* ---------- Product detail ---------- */
.pd-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.pd-media {
  aspect-ratio: 1/1;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pd-media .flask { font-size: 90px; }
.pd-title { font-size: 30px; margin: 0 0 6px; color: var(--navy-950); font-weight: 800; }
.pd-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }
.pd-price { font-size: 28px; font-weight: 800; margin: 0 0 4px; }
.pd-stock { font-size: 13.5px; font-weight: 700; margin-bottom: 22px; }
.pd-stock.in { color: #157a52; }
.pd-stock.out { color: #b3261e; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 28px; }
.qty-input {
  width: 70px;
  padding: 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  text-align: center;
  font-weight: 700;
}
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 10px 0; }
.spec-table td:first-child { color: var(--muted); width: 42%; }
.spec-table td:last-child { font-weight: 600; }
.pd-tabs { margin-top: 8px; }
.pd-tabs h3 { font-size: 17px; margin: 26px 0 10px; }
.pd-tabs p { color: #3a4757; font-size: 14.5px; }
.pd-tabs ul { color: #3a4757; font-size: 14.5px; padding-left: 20px; }

/* ---------- Generic content page ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #fff;
  padding: 56px 0;
}
.page-hero h1 { font-size: 34px; margin: 0 0 10px; font-weight: 800; }
.page-hero p { color: #b9c8d8; max-width: 60ch; margin: 0; }

.prose h2 { font-size: 22px; color: var(--navy-950); margin: 34px 0 12px; }
.prose h3 { font-size: 17px; color: var(--navy-950); margin: 22px 0 8px; }
.prose p { color: #3a4757; font-size: 15px; }
.prose ul { color: #3a4757; font-size: 15px; }

/* ---------- Lab results ---------- */
.lab-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.lab-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  background: #fff;
  color: var(--navy-900);
}
.lab-tab.active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.lab-panel { display: none; }
.lab-panel.active { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.coa-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.coa-head {
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(135deg, #f0f4f8, #f0f4f8 10px, #e7edf5 10px, #e7edf5 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  padding: 20px;
  gap: 8px;
}
.coa-body { padding: 16px 18px; }
.coa-body h4 { margin: 0 0 4px; font-size: 15px; }
.coa-body p { margin: 0; font-size: 12.5px; color: var(--muted); }
.coa-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; }
.coa-meta .pass { color: #157a52; font-weight: 800; }

/* ---------- Cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item-info { display: flex; align-items: center; gap: 14px; }
.cart-thumb { width: 56px; height: 56px; border-radius: 8px; background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.cart-item-info h4 { margin: 0; font-size: 14.5px; }
.cart-item-info p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.qty-mini { display: flex; align-items: center; gap: 8px; }
.qty-mini button { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 800; }
.remove-link { font-size: 12.5px; color: var(--danger); font-weight: 700; cursor: pointer; }

.summary-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 8px 0; }
.summary-row.total { font-weight: 800; font-size: 17px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }

.checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--navy-900); }
input[type="text"], input[type="email"], input[type="tel"], select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  font-size: 14.5px;
  font-family: inherit;
}
input:focus, select:focus { outline: 2px solid var(--teal-400); border-color: var(--teal-400); }
fieldset { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 20px; }
legend { font-weight: 800; font-size: 15px; padding: 0 8px; color: var(--navy-950); }
.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.pay-option input { margin: 0; }
.pay-option.demo { opacity: 0.7; }
.tag-demo {
  background: #eef1f4;
  color: #5b6b7c;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: auto;
  text-transform: uppercase;
}

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .featured-layout { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: flex; }
  .lab-panel.active { grid-template-columns: 1fr; }
}

/* =========================================================================
   Bewegingslaag — geanimeerde illustraties (toegevoegd)
   Puur CSS/SVG, gestuurd door de motion-code in js/cart.js. Respecteert
   prefers-reduced-motion (zie onderaan).
   ========================================================================= */

/* Display-font op koppen, mono op labels */
h1, h2, h3, h4, h5,
.brand-word, .hero h1, .section-head h2, .pd-title, .page-hero h1,
.prose h2, .prose h3 { font-family: var(--font-display); }
.eyebrow, .product-cat { font-family: var(--font-mono); }

/* ---- Hero achtergrondvideo (homepage) ---- */
.hero { position: relative; overflow: hidden; background: var(--navy-950); border-bottom: none; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(6,26,48,.86) 0%, rgba(6,26,48,.62) 46%, rgba(6,26,48,.78) 100%); }
.hero .hero-inner { position: relative; z-index: 2; grid-template-columns: 1fr; }
.hero .hero-inner > div { max-width: 640px; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--teal-400); }
.hero p.lead { color: #cfe0ee; }
.hero .eyebrow { background: rgba(20,184,166,.16); color: var(--teal-400); }
.hero .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.hero .btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---- Hero instrument-paneel (in .hero-art) ---- */
.hero-art { padding: 20px; }

/* ---- Uitgelicht: producten links, analyse-paneel ernaast rechts ---- */
.featured-layout { display: grid; grid-template-columns: 1.6fr minmax(320px, 1fr); gap: 28px; align-items: start; }
.featured-layout .product-grid { grid-template-columns: repeat(2, 1fr); }
.hp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; position: relative; z-index: 1; }
.hp-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: #9fb6cd; }
.hp-title b { color: var(--teal-400); font-weight: 600; }
.hp-led { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; color: #7fe3d4; }
.hp-led i { width: 7px; height: 7px; border-radius: 50%; background: #2fd8c4; animation: hp-blink 1.6s steps(1) infinite; }
.hp-chart { position: relative; border-radius: 12px; background: linear-gradient(180deg, rgba(6,22,40,.5), rgba(6,22,40,.15)); border: 1px solid rgba(159,182,205,.12); overflow: hidden; z-index: 1; }
.hp-chart svg { display: block; width: 100%; height: auto; }
.hp-scan { position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: linear-gradient(180deg, transparent, rgba(47,216,196,.9), transparent); filter: drop-shadow(0 0 6px rgba(47,216,196,.8)); animation: hp-scan 3.4s cubic-bezier(.6,0,.4,1) infinite; }
.hp-readout { display: flex; align-items: center; gap: 16px; margin-top: 16px; position: relative; z-index: 1; }
.hp-gauge { position: relative; width: 84px; height: 84px; flex: none; }
.hp-gauge svg { transform: rotate(-90deg); display: block; }
.hp-gauge .val { position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--font-mono); font-weight: 600; font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; }
.hp-meta .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #9fb6cd; }
.hp-meta .v { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; margin-top: 2px; font-variant-numeric: tabular-nums; }
.hp-meta .s { font-size: 12.5px; color: #9fb6cd; }
.hp-chain { margin-top: 16px; position: relative; z-index: 1; border-top: 1px solid rgba(159,182,205,.12); padding-top: 12px; }
.hp-chain .cap { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: #9fb6cd; text-transform: uppercase; margin-bottom: 6px; }
.hp-chain svg { display: block; width: 100%; max-width: 260px; height: auto; }
.hp-node { animation: hp-nodepulse 2.6s ease-in-out infinite; }
.hp-node.n2 { animation-delay: .4s; } .hp-node.n3 { animation-delay: .8s; }
.hp-node.n4 { animation-delay: 1.2s; } .hp-node.n5 { animation-delay: 1.6s; }

/* ---- Marquee trust-balk ---- */
.marquee { background: var(--navy-900); border-block: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: hp-marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px; color: #cfe0ee; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
.marquee-item .sep { color: var(--teal-400); }

/* ---- Geanimeerde vial in productkaart / -detail ---- */
.product-media .vial { width: 38%; max-width: 70px; height: auto; }
.pd-media .vial { width: 46%; max-width: 132px; height: auto; }
.pd-media { overflow: hidden; }
/* Detail-productvideo: op natuurlijke breedte/hoogte (niet in een vierkant,
   dus geen bijsnijden/"blokkerig"). */
.pd-media-video { aspect-ratio: auto; height: auto; align-items: stretch; }
.pd-media-video video.pd-video { width: 100%; height: auto; object-fit: contain; display: block; }

/* Loopende video in een productkaart (home/shop): vult het mediavak. */
.product-media video.card-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.product-media .badge { z-index: 2; }

/* Piepkleine loopende video als winkelwagen-thumbnail. */
.cart-thumb { overflow: hidden; }
.cart-thumb video.thumb-video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Product-carrousel: kaarten naast elkaar, sleep-/swipebaar + bolletjes ---- */
.carousel { min-width: 0; }
.carousel-track {
  display: flex;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .product-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(15.5rem, 45%, 21rem);
}
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.carousel-dot {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%;
  background: rgba(159,182,205,.35); cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.carousel-dot:hover { background: rgba(159,182,205,.6); }
.carousel-dot.active { background: var(--teal-400); transform: scale(1.25); }

/* ---- Product add-on optie + weergave in de winkelwagen ---- */
.pd-option {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  margin-bottom: 16px; cursor: pointer; font-size: 14px; line-height: 1.45;
}
.pd-option:hover { border-color: color-mix(in srgb, var(--teal-500) 45%, transparent); }
.pd-option input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.pd-option .opt-price { color: var(--teal-400); white-space: nowrap; }
.cart-item-info .cart-addon { margin: 4px 0 0; font-size: 12px; color: var(--teal-400); }
.vial-bub { animation: hp-rise 3s ease-in infinite; }
.vial-bub.b2 { animation-delay: 1s; } .vial-bub.b3 { animation-delay: 2s; }
.product-card:hover { border-color: var(--teal-400); }

/* ---- Scroll-reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@keyframes hp-draw { to { stroke-dashoffset: 0; } }
@keyframes hp-scan { 0% { left: 2%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 98%; opacity: 0; } }
@keyframes hp-marquee { to { transform: translateX(-50%); } }
@keyframes hp-blink { 0%,55% { opacity: 1; } 56%,100% { opacity: .25; } }
@keyframes hp-nodepulse { 0%,100% { r: 4; opacity: .85; } 50% { r: 5.2; opacity: 1; } }
@keyframes hp-rise { 0% { transform: translateY(6px); opacity: 0; } 25% { opacity: .9; } 100% { transform: translateY(-26px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hp-scan { display: none; }
  .marquee-track { animation: none; }
  .marquee-clone { display: none; } /* geen dubbele regel als de balk stilstaat */
  .hp-node, .vial-bub, .hp-led i { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   OVERHAUL — vloeiende (relatieve) responsiviteit + zachte kleurovergangen
   Alles in %, rem, vw, clamp(), min() en em-breakpoints i.p.v. vaste px.
   Doel: geen harde kleurblokken, maar één doorlopende wash waarin blauw en
   wit in elkaar overvloeien; donkere hero/footer smelten via gradients over.
   ========================================================================= */

/* 1. Doorlopende achtergrond-wash achter de hele pagina.
      Secties worden transparant zodat deze wash overal doorloopt. */
body {
  background:
    radial-gradient(60% 42% at 96% 1%, rgba(20,184,166,.13), transparent 60%),
    radial-gradient(52% 46% at 3% 20%, rgba(18,58,104,.10), transparent 60%),
    radial-gradient(72% 52% at 58% 62%, rgba(20,184,166,.08), transparent 62%),
    radial-gradient(60% 40% at 30% 88%, rgba(18,58,104,.07), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #eef7fb 30%, #e5f2f7 52%, #edf7fb 74%, #ffffff 100%);
}

/* 2. Container en header: percentage-breedte met rem-plafond (geen vaste px). */
.wrap { width: min(92%, 72.5rem); max-width: none; margin-inline: auto; padding-inline: 0; }
header .header-inner { width: min(94%, 74rem); max-width: none; padding-inline: 0; }

/* 3. Header doorzichtig zodat de wash eronder doorloopt (geen harde witte balk). */
header.site-header {
  background: rgba(255,255,255,.80);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(20,184,166,.12);
}

/* 4. Secties transparant + vloeiend verticaal ritme. */
section.section { background: transparent; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-head { margin-bottom: clamp(1.4rem, 4vw, 2rem); }

/* De "zachte" sectie is nu een tint die aan boven- en onderkant uitvloeit
   i.p.v. een hard grijs blok. */
.section-soft {
  background: linear-gradient(180deg,
    rgba(210,235,244,0) 0%,
    rgba(210,235,244,.72) 20%,
    rgba(214,237,245,.72) 80%,
    rgba(210,235,244,0) 100%);
}

/* 5. Trust-strip: harde onderrand weg, vloeiende spacing. */
.trust-strip {
  border-bottom: none;
  gap: clamp(1rem, 2.5vw, 1.4rem);
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
}

/* 6. Hero: donker, maar de onderrand smelt naar wit zodat de video vloeiend
      overgaat in de lichte content eronder (geen harde rand). */
.hero { padding-block: clamp(2.75rem, 7vw, 5rem); }
.hero-overlay {
  background: linear-gradient(155deg,
    rgba(6,26,48,.86) 0%, rgba(6,26,48,.52) 46%, rgba(9,34,60,.80) 100%);
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: clamp(2.75rem, 7vw, 6rem);
  background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff);
  z-index: 1; pointer-events: none;
}
.hero-art { padding: clamp(1rem, 2.4vw, 1.4rem); }

/* 7. Marquee: van donker blok naar zachte lichte band die met de wash meevloeit. */
.marquee {
  background: linear-gradient(90deg, rgba(20,184,166,.08), rgba(18,58,104,.06) 50%, rgba(20,184,166,.08));
  border-top: 1px solid rgba(20,184,166,.14);
  border-bottom: 1px solid rgba(20,184,166,.14);
}
.marquee-item { color: var(--navy-800); }
.marquee-item .sep { color: var(--teal-500); }

/* 8. Kaarten iets zachter en met subtiel verloop (minder vlak). */
.product-card {
  background: linear-gradient(180deg, #ffffff, #f6fbfc);
  border-color: rgba(11,42,82,.08);
  box-shadow: 0 10px 30px rgba(11,42,82,.06);
}
.product-media { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); }

/* 9. Footer: geen harde slab, maar een gradient die van bovenaf invloeit. */
footer.site-footer {
  position: relative;
  margin-top: 0;
  background: linear-gradient(180deg, #0e2c4e 0%, var(--navy-950) 55%);
  padding-top: clamp(2.75rem, 6vw, 3.5rem);
}
footer.site-footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: clamp(2.5rem, 6vw, 4.5rem);
  transform: translateY(-100%);
  background: linear-gradient(180deg, rgba(14,44,78,0), #0e2c4e);
  pointer-events: none;
}
.footer-grid { gap: clamp(1.4rem, 3vw, 2rem); }

/* 10. Vloeiende typografie (schaalt mee met het scherm). */
.hero h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
.section-head h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.page-hero { padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.page-hero h1 { font-size: clamp(1.6rem, 3.8vw, 2.15rem); }
.pd-title { font-size: clamp(1.45rem, 3.2vw, 1.9rem); }
.product-grid { gap: clamp(1rem, 2.4vw, 1.5rem); }

/* Page-hero (beleid/detail-koppen) ook zacht laten uitvloeien onderaan. */
.page-hero { position: relative; }
.page-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.9));
  pointer-events: none;
}

/* =========================
   Relatieve breakpoints (em)
   ========================= */

/* Laptop */
@media (max-width: 75em) {
  .featured-layout { grid-template-columns: 1.4fr minmax(16rem, 1fr); }
}

/* Tablet (landschap) */
@media (max-width: 64em) {
  .featured-layout { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); }
  .checkout-grid { grid-template-columns: 1fr; }
  .lab-panel.active { grid-template-columns: repeat(2, 1fr); }
}

/* Mobiel */
@media (max-width: 40em) {
  .product-grid,
  .featured-layout .product-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .lab-panel.active { grid-template-columns: 1fr; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* =========================================================================
   DONKERBLAUW / TEAL-THEMA  (minder wit, meer donkerblauw + een beetje groen)
   Overschrijft de lichte laag hierboven. Kleuren komen zoveel mogelijk uit
   tokens zodat het samenhangend blijft.
   ========================================================================= */
:root {
  --bg: #081d33;
  --bg-soft: #0e2440;
  --ink: #e9f2fb;
  --muted: #9fb6cd;
  --line: rgba(159,182,205,.14);
  --danger: #ff6f61;
}

/* Doorlopende donkere wash met blauwe + groene/teal gloed. */
body {
  color: var(--ink);
  background:
    radial-gradient(58% 40% at 92% 0%, rgba(47,216,196,.16), transparent 60%),
    radial-gradient(52% 46% at 4% 16%, rgba(32,96,158,.24), transparent 60%),
    radial-gradient(70% 52% at 60% 66%, rgba(20,184,166,.12), transparent 62%),
    radial-gradient(60% 46% at 22% 100%, rgba(14,58,108,.34), transparent 60%),
    linear-gradient(180deg, #061a30 0%, #0a2138 42%, #0b2742 62%, #071c33 100%);
}

/* Header: donker & doorzichtig. */
header.site-header {
  background: rgba(8,26,46,.72);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(47,216,196,.14);
}
nav.main-nav a { color: #d7e5f2; }
nav.main-nav a:hover, nav.main-nav a.active { color: #fff; border-bottom-color: var(--teal-400); }
.menu-toggle { color: #d7e5f2; border-color: rgba(159,182,205,.3); }

/* Koppen & lopende tekst licht. */
.section-head h2, .prose h2, .prose h3, .pd-title, .coa-body h4,
legend, .cart-item-info h4, label { color: var(--ink); }
.prose p, .prose ul, .pd-tabs p, .pd-tabs ul { color: #c2d2e2; }
.breadcrumb { color: var(--muted); }
.breadcrumb a { color: var(--teal-400); }
.price, .product-body h3 { color: #fff; }
.pd-stock.in { color: #3fd6a0; }
.coa-meta .pass { color: #3fd6a0; }

/* Secties: zachte donkere tint i.p.v. lichte. */
.section-soft {
  background: linear-gradient(180deg,
    rgba(16,44,74,0) 0%, rgba(16,44,74,.55) 20%,
    rgba(16,44,74,.55) 80%, rgba(16,44,74,0) 100%);
}

/* Hero & page-hero laten uitvloeien naar de DONKERE achtergrond. */
.hero::after { background: linear-gradient(180deg, rgba(10,33,56,0), #0a2138); }
.page-hero::after { background: linear-gradient(180deg, rgba(8,29,51,0), #081d33); }

/* Marquee: donkere, zachte band. */
.marquee {
  background: linear-gradient(90deg, rgba(20,184,166,.10), rgba(16,60,110,.16) 50%, rgba(20,184,166,.10));
  border-top: 1px solid rgba(47,216,196,.16);
  border-bottom: 1px solid rgba(47,216,196,.16);
}
.marquee-item { color: #cfe0ee; }
.marquee-item .sep { color: var(--teal-400); }

/* Kaarten donker. */
.product-card {
  background: linear-gradient(180deg, #0f2643, #0b1f39);
  border-color: rgba(159,182,205,.12);
  box-shadow: 0 14px 34px rgba(0,0,0,.38);
}
.product-media { background: linear-gradient(160deg, #0c2648, #061a30); }
.trust-icon { background: rgba(20,184,166,.14); color: var(--teal-400); }

/* Knoppen met omlijning: licht op donker. */
.btn-outline { border-color: rgba(159,182,205,.45); color: var(--ink); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.08); }

/* Formulieren donker. */
input[type="text"], input[type="email"], input[type="tel"], select, .qty-input {
  background: rgba(255,255,255,.045);
  color: var(--ink);
  border-color: rgba(159,182,205,.22);
}
input::placeholder { color: #8296aa; }
fieldset { border-color: rgba(159,182,205,.18); }
.pay-option { border-color: rgba(159,182,205,.2); }
.tag-demo { background: rgba(159,182,205,.16); color: #cfe0ee; }

/* Winkelwagen / qty. */
.qty-mini button {
  background: rgba(255,255,255,.05);
  color: var(--ink);
  border-color: rgba(159,182,205,.22);
}

/* Labresultaten donker. */
.lab-tab { background: rgba(255,255,255,.045); color: var(--ink); border-color: rgba(159,182,205,.22); }
.lab-tab.active { background: var(--teal-500); color: #04231f; border-color: var(--teal-500); }
.coa-card { background: #0f2643; border-color: rgba(159,182,205,.12); }
.coa-head {
  background: repeating-linear-gradient(135deg, #0e2542, #0e2542 10px, #12294a 10px, #12294a 20px);
  color: #cfe0ee;
}
.coa-body p { color: var(--muted); }

/* Disclaimer-callout: teal-getint op donker i.p.v. amber. */
.disclaimer-box {
  background: rgba(20,184,166,.09);
  border: 1px solid rgba(47,216,196,.24);
  color: #cfe0ee;
}
.disclaimer-box strong { color: #fff; }

/* Mobiele nav-dropdown donker. */
@media (max-width: 55em) {
  nav.main-nav { background: #0b2742; border-bottom-color: rgba(159,182,205,.14); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
  nav.main-nav a { border-bottom-color: rgba(159,182,205,.12); }
}

/* =========================================================================
   Winkelwagen responsive (vervangt de vroegere inline-grid)
   ========================================================================= */
.cart-layout {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
@media (max-width: 55em) {
  .cart-layout { grid-template-columns: 1fr; }
}
/* Op telefoon: tabel wordt gestapeld zodat niets overloopt. */
@media (max-width: 40em) {
  .form-row { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border-bottom: 1px solid var(--line); padding: .5rem 0; }
  .cart-table td { border: none; padding: .3rem 0; }
  .cart-table td:first-child { padding-top: .2rem; }
  .qty-mini { justify-content: flex-start; }
}

/* Responsive headerlogo, 2x zo groot: 72px (mobiel) tot 104px (laptop). */
.brand img { height: clamp(4.5rem, 9vw, 6.5rem); width: auto; border-radius: 8px; }

/* Mobiel/app-weergave: hamburger links, logo gecentreerd, winkelwagen rechts. */
@media (max-width: 55em) {
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .menu-toggle { order: -1; justify-self: start; }
  .brand { order: 0; justify-self: center; }
  .header-actions { order: 1; justify-self: end; }
  .cart-label { display: none; } /* alleen 🛒 + teller op mobiel, scheelt ruimte */
}

/* =========================================================================
   WITTE HEADER & FOOTER  (staat bewust helemaal onderaan zodat het het
   donkere thema hierboven overschrijft). Rest van de site blijft donker;
   alleen achtergrond wit + tekst/links naar donker voor leesbaarheid.
   ========================================================================= */
header.site-header {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid #e4e9ef;
}
nav.main-nav a { color: var(--navy-900); }
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--navy-900); border-bottom-color: var(--teal-500); }
.menu-toggle { color: var(--navy-900); border-color: #d6dee7; }
@media (max-width: 55em) {
  nav.main-nav { background: #ffffff; border-bottom-color: #e4e9ef; box-shadow: 0 18px 40px rgba(11,42,82,.12); }
  nav.main-nav a { color: var(--navy-900); border-bottom-color: #eef2f6; }
}

footer.site-footer {
  background: #ffffff;
  color: #4a5b6d;
  border-top: 1px solid #e4e9ef;
}
footer.site-footer::before { display: none; }
.footer-word { color: var(--navy-900); }
.footer-word span { color: var(--teal-500); }
.footer-grid { border-bottom-color: #e7edf2; }
.footer-grid h5 { color: var(--navy-950); }
.footer-grid a { color: #4a5b6d; }
.footer-grid a:hover { color: var(--navy-900); }
.footer-brand p { color: #5b6b7c; }
.footer-bottom { color: #7a8794; }

/* Echte foto's in de trust-balk (i.p.v. emoji-iconen): ronde fotobadges. */
.trust-icon { width: 52px; height: 52px; padding: 0; overflow: hidden; border-radius: 50%; }
.trust-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
