/* ==========================================================================
   12 · Productpagina's in de stijl van de homepage (src/lib/productpagina-pro.mjs; mockup ronde 4, 30-11-2026)
   pp-: gedeelde bouwstenen (producthero, redactionele kolom, tabs, datasheet); pr-: SmartgridOne Pro.
   Bovenop 11-homepage.css (.hn-tokens en -componenten). Geen pijlen, geen hoofdletterlabels, geen hover-sprongen.
   ========================================================================== */
.pp-x { --pp-zacht: #fbf1f0; --pp-rand: #f0c9c5; }

/* --- producthero (wit): kruimelpad, meta, grote naam, lead, acties; rechts het officiële beeld op een vlak --- */
.hn.pp-hero { padding-top: 40px; }
.pp-crumb { display: flex; gap: 8px; font-size: 14px; line-height: 20px; color: var(--hn-muted); margin-bottom: 40px; }
.pp-crumb a { color: inherit !important; text-decoration: underline; text-underline-offset: 4px; }
.pp-hero-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.pp-hero-tx { grid-column: 1 / 7; min-width: 0; }
.pp-hero-pic { grid-column: 7 / 13; min-width: 0; }
.hn .pp-h1 { font: 700 80px/80px var(--hn-kop) !important; letter-spacing: -.045em !important; margin: 14px 0 0 !important; color: var(--hn-ink) !important; text-wrap: balance; text-transform: none; }
.pp-hero-tx .hn-lead { margin-top: 24px; max-width: 28em; font-size: 19px; line-height: 30px; }
.pp-acts { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hn-btn.pp-btn-rood { background: var(--hn-rood); color: #fff !important; height: 52px; padding: 0 24px; }
.hn-btn.pp-btn-rood:hover { background: #82140f; }
.pp-hero-pic .hn-pic { aspect-ratio: 5 / 4; border-radius: 12px; }
.pp-hero-pic .hn-pic img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.pp-hero-pic .hn-pic.hn-cover img { object-fit: cover; padding: 0; }
/* specregel onder de hero: zelfde ritme als de cijferband van de homepage, kleiner */
.pp-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 64px 0 0; padding-top: 28px; border-top: 1px solid var(--hn-ink); }
.pp-specs div { display: flex; flex-direction: column-reverse; justify-content: flex-end; min-width: 0; }
.pp-specs dd { margin: 0; font: 700 32px/38px var(--hn-kop); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pp-specs dd em { font-style: normal; color: var(--hn-web); }
.pp-specs dt { font-size: 14px; line-height: 20px; color: var(--hn-muted); margin-top: 4px; }

/* --- publiekshero (rood): de homepage-hero (.section.hero.hn-hero) met een foto i.p.v. de animatie --- */
.section.hero.hn-hero.pp-rood .pp-rood-pic img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 12px; display: block; }
.section.hero.hn-hero.pp-rood .pp-rood-pic.is-illu img { object-fit: contain; background: transparent; }
.section.hero.hn-hero.pp-rood .pp-rood-feiten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.35); color: #fff; }
.pp-rood-feiten div { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: flex-start; text-align: left; min-width: 0; }
.pp-rood-feiten dd { margin: 0; font: 700 32px/38px var(--hn-kop); letter-spacing: -.03em; color: #fff; }
.pp-rood-feiten dt { font-size: 14px; line-height: 20px; color: rgba(255,255,255,.85); margin-top: 4px; }

/* --- redactionele kolom: kop + uitleg links (sticky), inhoud rechts --- */
.pp-kol { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.pp-kol-kop { grid-column: 1 / 5; position: sticky; top: 120px; min-width: 0; }
.pp-kol-kop p { margin-top: 16px; }
.pp-kol-kop .hn-tlink { display: inline-block; margin-top: 24px; }
.pp-kol-in { grid-column: 6 / 13; min-width: 0; }
/* lijst met haarlijnen: titel + uitleg, optioneel icoon */
.pp-rijen > li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--hn-lijn); }
.pp-rijen > li:last-child { border-bottom: 1px solid var(--hn-lijn); }
.pp-rijen .hn-i { width: 24px; height: 24px; color: var(--hn-web); margin-top: 3px; }
.pp-rijen h3 { font-size: 22px !important; line-height: 30px !important; }
.pp-rijen p { font-size: 15px; line-height: 24px; margin-top: 6px; color: var(--hn-muted); }

/* --- knoppen-verkenner (aria-pressed), tabs (gevuld Ink) --- */
.pp-knoppen { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-knop { font: 600 15px/20px var(--hn-tekst); color: var(--hn-ink); background: #fff; border: 1.5px solid var(--hn-lijn); border-radius: 8px; height: 48px; padding: 0 18px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.pp-knop:hover { border-color: var(--hn-ink); }
.pp-knop[aria-pressed="true"] { background: var(--pp-zacht, #fbf1f0); border-color: var(--pp-rand, #f0c9c5); color: var(--hn-rood); }
.pp-knop .hn-i { width: 18px; height: 18px; }
.pp-knop:focus-visible, .pp-tab:focus-visible { outline: 2px solid var(--hn-ink); outline-offset: 3px; }
.pp-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; border: 1.5px solid var(--hn-ink); border-radius: 8px; overflow: hidden; }
.pp-tab { font: 700 15px/20px var(--hn-kop); background: #fff; color: var(--hn-ink); border: 0; height: 52px; padding: 0 16px; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.pp-tab + .pp-tab { border-left: 1.5px solid var(--hn-ink); }
.pp-tab[aria-selected="true"] { background: var(--hn-ink); color: #fff; }
.pp-paneel[hidden] { display: none !important; }
.pp-in { animation: pp-tekst-in 420ms ease both; }
@keyframes pp-tekst-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --- datasheet (twee kolommen label/waarde, zoals .hn-spec maar groter) --- */
.pp-ds { font-size: 15px; line-height: 24px; }
.pp-ds th, .pp-ds td { padding: 14px 0; border-top: 1px solid var(--hn-lijn); vertical-align: top; }
.pp-ds tr:last-child > * { border-bottom: 1px solid var(--hn-lijn); }
.pp-ds th { width: 36%; padding-right: 16px; color: var(--hn-muted); font-weight: 400; }
.pp-ds caption { caption-side: top; text-align: left; font: 700 16px/22px var(--hn-kop); padding-bottom: 12px; }

/* --- documenten / volgende stappen als rijen met tekstlink rechts --- */
.pp-docs > li { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--hn-lijn); }
.pp-docs > li:last-child { border-bottom: 1px solid var(--hn-lijn); }
.pp-docs h3 { font-size: 18px !important; line-height: 26px !important; }
.pp-docs p { grid-column: 1; font-size: 14px; line-height: 22px; color: var(--hn-muted); }
.pp-docs .hn-tlink { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

/* --- groot paneel op vlak --- */
.pp-paneelvlak { background: var(--hn-vlak); border-radius: 12px; padding: 48px; }

@media (max-width: 991px) {
  .pp-hero-tx, .pp-hero-pic { grid-column: 1 / -1; }
  .pp-hero-pic { margin-top: 40px; }
  .pp-specs, .section.hero.hn-hero.pp-rood .pp-rood-feiten { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .pp-kol-kop, .pp-kol-in { grid-column: 1 / -1; position: static; }
  .pp-kol-in { margin-top: 32px; }
}
@media (max-width: 767px) {
  .hn.pp-hero { padding-top: 24px; }
  .pp-crumb { margin-bottom: 24px; }
  .hn .pp-h1 { font-size: 48px !important; line-height: 50px !important; letter-spacing: -.04em !important; }
  .pp-hero-tx .hn-lead { font-size: 17px; line-height: 27px; margin-top: 16px; }
  .pp-acts { margin-top: 24px; gap: 20px; }
  .pp-hero-pic .hn-pic img { padding: 16px; }
  .pp-specs { margin-top: 40px; }
  .pp-specs dd, .pp-rood-feiten dd { font-size: 26px; line-height: 32px; }
  .pp-rijen h3 { font-size: 18px !important; line-height: 25px !important; }
  .pp-tabs { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-tab + .pp-tab { border-left: 0; }
  .pp-tab:nth-child(2n) { border-left: 1.5px solid var(--hn-ink); }
  .pp-tab:nth-child(n+3) { border-top: 1.5px solid var(--hn-ink); }
  .pp-paneelvlak { padding: 24px 20px; }
  .pp-docs > li { grid-template-columns: 1fr; }
  .pp-docs .hn-tlink { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .pp-in { animation: none; } .pp-knop, .pp-tab { transition: none; } }

/* ---------- SmartgridOne Pro (pr-) ---------- */
/* Pro ronde 4: de live inhoud volledig, in homepage-stijl (prefix pr-) */
.hn .pr-check { display: grid; gap: 8px; margin-top: 28px; font-size: 15px; line-height: 22px; }
.hn .pr-check li { display: flex; gap: 10px; align-items: flex-start; }
.pr-check .hn-i { width: 18px; height: 18px; color: var(--hn-web); margin-top: 2px; }
.hn .pr-veilig { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hn-lijn); }
.hn .pr-veilig h2 { font-size: 16px !important; line-height: 22px !important; display: flex; gap: 10px; align-items: center; }
.pr-veilig h2 .hn-i { color: var(--hn-web); }
.hn .pr-veilig ul { margin-top: 10px; display: grid; gap: 6px; font-size: 14px; line-height: 20px; color: var(--hn-muted); padding-left: 30px; }
.pr-hero-pic .hn-pic { aspect-ratio: 1120 / 698; background: none; overflow: visible; }
.pr-hero-pic .hn-pic img { object-fit: contain; padding: 0; }
/* intro: vier punten + verkoopmodel */
.pr-vier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.hn .pr-vier li { padding: 28px 0; border-top: 1px solid var(--hn-lijn); display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.pr-vier .hn-i { width: 26px; height: 26px; color: var(--hn-web); }
.hn .pr-vier h3 { font-size: 22px !important; line-height: 30px !important; }
.hn .pr-vier p { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--hn-muted); }
.hn .pr-model { margin-top: 24px; }
/* features: index + spreads */
.pr-index { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; padding: 18px 0; border-top: 1px solid var(--hn-lijn); border-bottom: 1px solid var(--hn-lijn); }
.pr-index a { font: 600 14px/20px var(--hn-tekst); color: var(--hn-ink) !important; text-decoration: none; }
.pr-index a:hover { color: var(--hn-rood) !important; text-decoration: underline; text-underline-offset: 4px; }
.pr-feats { margin-top: 72px; }
.hn .pr-feat + .pr-feat { margin-top: 88px; }
.pr-feat .hn-pic { aspect-ratio: 16 / 9; }
.pr-feat .hn-pic img { width: 100%; height: 100%; object-fit: contain; padding: 28px; }
.hn .pr-feat h3 { font-size: 36px !important; line-height: 42px !important; letter-spacing: -.03em; margin-top: 0; }
.hn .pr-feat .hn-spread-tx > p { margin-top: 14px; }
.pr-feat .hn-tlink { display: inline-block; margin-top: 20px; }
.hn .pr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.hn .pr-feat .hn-pic.pr-logowand { padding: 20px; align-items: stretch; aspect-ratio: auto; }
.hn .pr-logowand ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; width: 100%; align-content: center; }
.hn .pr-logowand li { background: #fff; border-radius: 6px; height: 52px; display: flex; align-items: center; justify-content: center; padding: 10px 12px; }
.hn .pr-logowand img { max-height: 26px; max-width: 100%; width: auto; height: auto; object-fit: contain; padding: 0; }
/* twee modellen */
.pr-ds3 thead th { font: 700 18px/24px var(--hn-kop); padding-bottom: 14px; vertical-align: bottom; }
.pr-ds3 thead th small { display: block; font: 400 14px/20px var(--hn-tekst); color: var(--hn-muted); margin-top: 4px; }
.pr-ds3 th, .pr-ds3 td { padding: 14px 16px 14px 0; border-top: 1px solid var(--hn-lijn); font-size: 15px; line-height: 24px; vertical-align: top; text-align: left; }
.pr-ds3 thead th { border-top: 0; }
.pr-ds3 tbody th { color: var(--hn-muted); font-weight: 400; width: 30%; }
.pr-ds3 tbody tr:last-child > * { border-bottom: 1px solid var(--hn-lijn); }
.pr-ds3 .is-geen { color: var(--hn-muted); }
.pr-scroll { overflow-x: auto; }
.pr-models-pic img { width: 100%; height: auto; border-radius: 12px; }
.hn .pr-noot { margin-top: 18px; font-size: 14px; line-height: 22px; color: var(--hn-muted); }
.pr-acts { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 24px; }
/* landtabs + logotegels */
.pr-landen { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pr-land { font: 600 14px/20px var(--hn-tekst); color: var(--hn-ink); background: #fff; border: 1.5px solid var(--hn-lijn); border-radius: 8px; height: 40px; padding: 0 14px; cursor: pointer; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.pr-land:hover { border-color: var(--hn-ink); }
.pr-land[aria-selected="true"] { background: var(--hn-ink); border-color: var(--hn-ink); color: #fff; }
.pr-land:focus-visible { outline: 2px solid var(--hn-ink); outline-offset: 3px; }
.hn .pr-tegels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.hn .pr-tegels li { background: var(--hn-vlak); border-radius: 8px; height: 96px; }
.pr-tegels a, .pr-tegels li > img { display: flex; align-items: center; justify-content: center; height: 100%; padding: 12px 14px; border-radius: 8px; transition: background-color .25s ease; }
.pr-tegels a:hover { background: #efeaea; }
.pr-tegels img { height: 64px; width: 100%; object-fit: contain; }
.pr-tegels li > img { margin: auto; }
.pr-pane[hidden] { display: none !important; }
/* assets */
.hn .pr-asset { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding: 32px 0; border-top: 1px solid var(--hn-lijn); }
.hn .pr-asset:last-child { border-bottom: 1px solid var(--hn-lijn); }
.pr-asset-tx { grid-column: 1 / 5; min-width: 0; }
.hn .pr-asset h3 { font-size: 22px !important; line-height: 30px !important; }
.hn .pr-asset p { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--hn-muted); }
.pr-asset .hn-tlink { display: inline-block; margin-top: 16px; }
.hn .pr-asset ul { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hn .pr-asset li { background: var(--hn-vlak); border-radius: 8px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pr-asset li img { max-height: 100%; max-width: 100%; object-fit: contain; }
.pr-asset.is-logos li { aspect-ratio: auto; height: 120px; padding: 24px; }
/* vergelijk-cta */
.pr-cmp { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding: 32px 0; border-top: 1px solid var(--hn-ink); border-bottom: 1px solid var(--hn-lijn); }
.hn .pr-cmp h2 { grid-column: 1 / 6; font-size: 32px !important; line-height: 40px !important; }
.hn .pr-cmp p { grid-column: 6 / 10; font-size: 15px; line-height: 24px; color: var(--hn-muted); }
.pr-cmp .hn-btn { grid-column: 10 / 13; justify-self: end; }
@media (max-width: 991px) {
  .pr-vier { grid-template-columns: 1fr; }
  .hn .pr-tegels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pr-asset-tx, .hn .pr-asset ul { grid-column: 1 / -1; }
  .hn .pr-asset ul { margin-top: 20px; }
  .hn .pr-cmp h2, .hn .pr-cmp p, .pr-cmp .hn-btn { grid-column: 1 / -1; justify-self: start; }
  .hn .pr-cmp p { margin-top: 10px; } .pr-cmp .hn-btn { margin-top: 18px; }
}
@media (max-width: 767px) {
  .hn .pr-feat + .pr-feat { margin-top: 56px; }
  .hn .pr-feat h3 { font-size: 26px !important; line-height: 32px !important; }
  .pr-feat .hn-pic img { padding: 14px; }
  .hn .pr-logowand ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hn .pr-logowand li { height: 46px; }
  .hn .pr-tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn .pr-tegels li { height: 80px; } .pr-tegels img { height: 52px; }
  .pr-index { gap: 8px 16px; }
  .hn .pr-asset li { padding: 10px; }
  .pr-asset.is-logos li { height: 72px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pr-land, .pr-tegels a { transition: none; } }

/* brochureknop: de bestaande Finsweet-modal, als tekstlink */
.pr-brochure { display: inline-flex; }
.pr-brochure .fs_modal-2_button.pr-brochure-knop { all: unset; cursor: pointer; font: 700 15px/20px var(--hn-kop); color: var(--hn-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; transition: color .2s ease; }
.pr-brochure .fs_modal-2_button.pr-brochure-knop:hover { color: var(--hn-rood); }
.pr-brochure .fs_modal-2_button.pr-brochure-knop:focus-visible { outline: 2px solid var(--hn-ink); outline-offset: 3px; border-radius: 4px; }
.pp-x .fs_modal-2_popup { color: var(--hn-ink); }

/* "En nog veel meer": vijf groepen in kolommen, elk een lijst met haarlijnen */
.pr-meer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.pr-groep { min-width: 0; }
.hn .pr-groep h3 { font-size: 22px !important; line-height: 30px !important; padding-bottom: 14px; border-bottom: 1px solid var(--hn-ink); }
.hn .pr-groep li { padding: 16px 0; border-bottom: 1px solid var(--hn-lijn); }
.hn .pr-groep h4 { font: 700 16px/22px var(--hn-kop) !important; margin: 0 !important; color: var(--hn-ink); text-transform: none; letter-spacing: 0; }
.hn .pr-groep p { margin-top: 6px; font-size: 14px; line-height: 22px; color: var(--hn-muted); }
@media (max-width: 991px) { .pr-meer { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pr-meer { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- SmartgridOne Ultra (pu-) ---------- */
.pu-hero-pic .hn-pic { aspect-ratio: 5 / 4; }
.pp-hero-pic.pu-hero-pic .hn-pic img { object-fit: contain; padding: 36px 0; filter: drop-shadow(0 18px 24px rgba(35, 31, 32, .22)); }
.pr-feat .hn-pic.pu-scene img { padding: 12px; }
.hn .pu-ds-pic { margin-top: 32px; aspect-ratio: 4 / 3; }
.pu-ds-pic img { width: 100%; height: 100%; object-fit: contain; padding: 28px; filter: drop-shadow(0 12px 18px rgba(35, 31, 32, .2)); }
@media (max-width: 991px) { .hn .pu-ds-pic { max-width: 420px; } }
