/* site.css — productpagina's, vergelijken en nieuwe inhoudspagina's (huisstijl van de homepage) */
:root {
  --brand: #cc0809;
  --brand-dark: #a10607;
  --brand-soft: #fff1f1;
  --text: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(17, 24, 39, .08);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--surface); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; margin-top: 20px; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 32px 16px; }
.muted { color: var(--muted); font-size: 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; font-weight: 600; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header en footer */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo img { height: 36px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.main-nav a:hover, .main-nav a:focus-visible { background: var(--brand-soft); color: var(--brand); }
.main-nav .nav-cta { background: var(--brand); color: #fff; }
.main-nav .nav-cta:hover { background: var(--brand-dark); color: #fff; }
.crumbs { font-size: 13px; color: var(--muted); padding-top: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.site-footer { margin-top: 48px; background: #0f0f10; color: #d1d5db; padding: 40px 0 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer img { height: 32px; width: auto; filter: brightness(0) invert(1); margin-bottom: 10px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer-grid ul { list-style: none; padding: 0; margin: 8px 0 0; }
.footer-grid li { margin: 6px 0; }
.legal { font-size: 13px; color: #9ca3af; margin-top: 24px; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), #e5292a); color: #fff; box-shadow: 0 10px 24px rgba(204, 8, 9, .25); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(204, 8, 9, .35); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn:focus-visible, .main-nav a:focus-visible, summary:focus-visible { outline: 3px solid rgba(204, 8, 9, .35); outline-offset: 2px; }

/* Productpagina */
.product-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; padding-top: 20px; padding-bottom: 24px; align-items: start; }
.gallery-main { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: radial-gradient(circle at 50% 40%, #fff 0, var(--surface-2) 70%); border-radius: var(--radius); border: 1px solid var(--line); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: 0 0 72px; padding: 0; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; overflow: hidden; }
.thumb img { width: 72px; height: 72px; object-fit: cover; }
.thumb.is-active, .thumb:hover { border-color: var(--brand); }
.buybox { position: sticky; top: 84px; }
.tagline { font-size: 18px; color: var(--muted); }
.price { font-size: 34px; font-weight: 800; margin: 8px 0 16px; }
.price small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 18px; }
.checks li { position: relative; padding-left: 26px; margin: 8px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.trust { list-style: none; padding: 14px 16px; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.trust li::before { content: "✓ "; color: var(--brand); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
/* Grid-kolommen mogen smaller worden dan hun inhoud (anders duwt de miniatuurrij de pagina breed op mobiel) */
.product-hero > *, .two-col > * { min-width: 0; }
.kicker { overflow-wrap: anywhere; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 600; width: 46%; padding-right: 12px; }
.pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.irradiance { display: grid; gap: 10px; max-width: 760px; margin: 12px 0; }
.bar-row { display: grid; grid-template-columns: 80px 1fr 130px; gap: 12px; align-items: center; font-size: 15px; }
.bar { height: 12px; background: var(--surface-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff6b6b, var(--brand)); border-radius: 999px; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.model-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.model-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); }
.model-card img { aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: 6px; }
.model-card span { font-size: 13px; color: var(--muted); }
.model-card em { font-style: normal; font-weight: 800; color: var(--brand); }
.sticky-buy { display: none; }

/* Vergelijken */
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 14px; background: #fff; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare thead th { background: var(--surface-2); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare tbody th a { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; text-decoration: none; }
.compare tbody th a:hover span { color: var(--brand); }
.compare img { width: 56px; height: 56px; object-fit: contain; }
.cta-band { background: var(--brand-soft); border-radius: var(--radius); margin-top: 16px; margin-bottom: 16px; padding: 32px; }

/* Inhoudspagina's (kennisbank) */
.article { max-width: 760px; }
.article h2 { margin-top: 32px; }
.article ul { padding-left: 20px; }
.note { background: var(--surface-2); border-left: 4px solid var(--brand); padding: 14px 18px; border-radius: 8px; font-size: 15px; }

@media (max-width: 860px) {
  .product-hero, .two-col { grid-template-columns: 1fr; gap: 24px; }
  .buybox { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .main-nav a:not(.nav-cta) { display: none; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(17, 24, 39, .08); }
  .sticky-buy .btn { padding: 12px 20px; }
  body:has(.sticky-buy) .site-footer { padding-bottom: 88px; }
  .bar-row { grid-template-columns: 64px 1fr 110px; font-size: 14px; }
  .trust { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
