/* ONEp1-site (redesign nov 2026, stijl van het dashboard in /beta2/). Gedeeld door de homepage,
   productpagina's, webshop, compatibiliteit en kennisbank. Pagina-inhoud gebruikt nog veel inline
   stijl uit het ontwerp; wat hier staat is wat overal terugkomt. */
:root {
    --ink: #0E1726; --ink-2: #3A4556; --muted: #5F6B7A; --line: #E3E8EF; --line-2: #D5DCE5;
    --bg: #F5F7FA; --card: #FFFFFF; --blue: #1F6FD1; --blue-ink: #174F96; --blue-soft: #EAF2FC;
    --green: #16B47E; --green-soft: #E5F6EF; --green-ink: #0A5A3E; --amber-soft: #FDF0DA; --amber-ink: #7A4300;
    --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid #8DBBF0; outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: #B9C4D2; color: var(--ink); }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: default; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* uit de productontwerpen */
.two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.art h2 { font-size: 28px; letter-spacing: -0.02em; font-weight: 800; margin: 36px 0 10px; }
.art p, .art li { font-size: 17px; color: var(--ink-2); line-height: 1.7; }
.art ul { padding-left: 20px; margin: 0 0 8px; }
@media (max-width: 1000px) { .two { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 640px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- kop en voet ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; width: 38px; height: 38px; }
.brand-mark { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); align-items: center; justify-content: center; }
.brand-name { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: #001737; }
.navlinks { display: flex; gap: 26px; align-items: center; font-weight: 600; font-size: 15px; }
.navlinks a { color: var(--ink-2); text-decoration: none; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--blue); }
.head-actions { display: flex; gap: 10px; align-items: center; }
.head-actions .btn { min-height: 42px; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.cart-count[hidden] { display: none; }
.menu-btn { display: none; }
.mobile-nav { display: none; }
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 36px 0; margin-top: 0; }
.site-footer .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }

/* ---------- prijzen, bundels, kleuren ---------- */
.price { font-weight: 800; }
[data-price], .price, .price-old { white-space: nowrap; }
.price-old { color: var(--muted); text-decoration: line-through; font-weight: 600; }
.lead-time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--amber-ink); background: var(--amber-soft); border-radius: 999px; padding: 4px 10px; }
.in-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green-ink); background: var(--green-soft); border-radius: 999px; padding: 4px 10px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; color: var(--ink); }
.swatch .dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.swatch[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; z-index: 60; box-shadow: 0 10px 30px rgba(14,23,38,.25); display: flex; gap: 14px; align-items: center; }
.toast a { color: #8DBBF0; }

/* ---------- afbeelding vergroten (site.js bindZoom) ---------- */
img.zoomable { cursor: zoom-in; transition: filter .15s; }
img.zoomable:hover { filter: brightness(1.03); }
.zoom { position: fixed; inset: 0; z-index: 2147483000; background: rgba(9,14,24,.88); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.zoom-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.zoom-fig img { display: block; max-width: min(1400px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 14px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.zoom-fig figcaption { color: #fff; font-weight: 700; font-size: 15px; text-align: center; }
.zoom button { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; line-height: 1; }
.zoom button:hover { background: rgba(255,255,255,.26); }
.zoom-close { top: 14px; right: 14px; width: 46px; height: 46px; font-size: 30px; }
.zoom-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 34px; padding-bottom: 4px; }
.zoom-prev { left: 14px; }
.zoom-next { right: 14px; }
@media (max-width: 640px) {
    .zoom { padding: 64px 10px 72px; }
    .zoom-fig img { max-height: calc(100vh - 170px); border-radius: 10px; }
    .zoom-nav { top: auto; bottom: 14px; transform: none; }
    .zoom-prev { left: calc(50% - 58px); }
    .zoom-next { right: calc(50% - 58px); }
}

/* Dashboard-rondleiding (productpagina /onep1/): grote schermafbeeldingen met uitleg, om en om */
.dash-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-chips a { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; }
.dash-chips a:hover { border-color: var(--blue); color: var(--blue); }
.dash-hero { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 0.62fr) minmax(0, 0.62fr); gap: 20px; align-items: start; }
.dash-shot { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.dash-shot img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 40px -28px rgba(14,23,38,.35); }
.dash-shot figcaption { font-size: 13px; color: var(--muted); font-weight: 600; }
.dash-row { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.4fr); gap: 48px; align-items: center; padding-top: 44px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.dash-row.flip { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.82fr); }
.dash-row.flip > .dash-text { order: 2; }
.dash-text { display: flex; flex-direction: column; gap: 12px; }
.dash-text .eyebrow { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }
.dash-text h3 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.dash-text p { margin: 0; color: var(--ink-2); font-size: 16px; }
.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); }
.dash-list li { position: relative; padding-left: 26px; }
.dash-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.dash-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.dash-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.dash-badge.free { background: var(--green-soft); color: var(--green-ink); }
.dash-badge.plus { background: var(--blue-soft); color: var(--blue-ink); }
.dash-shot.screen img { border: 10px solid #111827; border-radius: 18px; }
.dash-shots { display: flex; flex-direction: column; gap: 16px; }
.dash-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 1000px) {
    .dash-row { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 32px; }
    .dash-row.flip { grid-template-columns: minmax(0, 1fr); }
    .dash-row.flip > .dash-text { order: 0; }
    .dash-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dash-hero > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .dash-pair { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 1060px) {
    .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
    .navlinks { display: none; }
    .menu-btn { display: inline-flex; }
    .mobile-nav { display: block; border-top: 1px solid var(--line); background: #fff; }
    .mobile-nav[hidden] { display: none; }
    .mobile-nav a { display: block; padding: 14px 24px; color: var(--ink); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
    .wrap { padding: 0 16px; }
    .grid4, .grid3 { grid-template-columns: minmax(0, 1fr); }
    .h1 { font-size: 36px !important; line-height: 1.12 !important; }
    .h2 { font-size: 28px !important; line-height: 1.18 !important; }
    .head-actions .login { display: none; }
    .stack-sm { grid-template-columns: minmax(0, 1fr) !important; }
    .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
