/* Homepage v2. Alles gescoped onder .hv zodat andere pagina's niet raken.
   Eén accent (merkrood, donkerder dan #ff4c3b voor leesbare witte tekst: 4.6:1),
   één radius-schaal (kaarten 16px, knoppen en velden 10px), warm-neutrale grijzen. */
.hv {
    --hv-accent: #d23a2b;
    --hv-accent-hover: #b92f22;
    --hv-ink: #1f2023;
    --hv-muted: #5d6068;
    --hv-line: #e6e4e1;
    --hv-surface: #f6f5f3;
    --hv-r-card: 16px;
    --hv-r-ctl: 10px;
    --hv-ease: cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--hv-ink);
    font-family: "Lato", sans-serif;
}
.hv *, .hv *::before, .hv *::after { box-sizing: border-box; }
:where(.hv) :where(h1, h2, h3, p) { margin: 0; letter-spacing: normal; }
.hv h1, .hv h2, .hv h3 { text-transform: none; }
.hv h2::after, .hv h2::before { display: none; }
.hv .hv-wrap { max-width: 1400px; margin-inline: auto; padding-inline: 12px; }

/* knoppen */
.hv .hv-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: var(--hv-r-ctl); border: 2px solid var(--hv-accent);
    background: var(--hv-accent); color: #fff; font-weight: 700; font-size: 16px; line-height: 1.2;
    letter-spacing: 0; text-transform: none; white-space: nowrap; text-decoration: none; cursor: pointer;
    transition: background-color .25s var(--hv-ease), border-color .25s var(--hv-ease), transform .25s var(--hv-ease);
}
.hv .hv-btn:hover { background: var(--hv-accent-hover); border-color: var(--hv-accent-hover); color: #fff; }
.hv .hv-btn:active { transform: translateY(1px) scale(.98); }
.hv .hv-btn:focus-visible, .hv .hv-link:focus-visible, .hv .hv-card a:focus-visible,
.hv input:focus-visible, .hv select:focus-visible { outline: 3px solid var(--hv-ink); outline-offset: 2px; }
.hv .hv-link { color: var(--hv-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--hv-accent); text-decoration-thickness: 2px; }
.hv .hv-link:hover { color: var(--hv-accent); }

/* hero */
.hv-hero { padding: 56px 0 128px; background: var(--hv-surface); }
.hv-hero__grid { display: grid; grid-template-columns: 6fr 6fr; gap: 48px; align-items: center; }
.hv-hero h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.hv-hero__lead { margin-top: 20px; font-size: 1.15rem; line-height: 1.55; color: var(--hv-muted); max-width: 44ch; }
.hv-hero__cta { margin-top: 32px; }
.hv-hero__media { margin: 0; border-radius: var(--hv-r-card); overflow: hidden; aspect-ratio: 16 / 10; background: #d9d7d3; }
.hv-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; display: block; }

/* prijsberekening, overlapt de hero */
.hv-calc { padding: 0; position: relative; z-index: 2; margin-top: -56px; }
.hv-calc__box {
    background: #fff; border: 1px solid var(--hv-line); border-radius: var(--hv-r-card);
    padding: 28px; box-shadow: 0 18px 40px -22px rgba(60, 40, 30, .35);
}
.hv-calc__title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.hv-calc__sub { margin-top: 4px; color: var(--hv-muted); font-size: .98rem; }
.hv-calc__form { margin-top: 20px; display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 16px; align-items: end; }
.hv-field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 700; color: var(--hv-ink); }
.hv-field .form-control, .hv-field select {
    width: 100%; height: 52px; padding: 0 14px; border: 1px solid #8a8d94; border-radius: var(--hv-r-ctl);
    background-color: #fff; color: var(--hv-ink); font-size: 16px;
}
.hv-field .form-control::placeholder { color: #6b6e75; }
.hv-calc__form .hv-btn { height: 52px; border: 2px solid var(--hv-accent); font-family: inherit; }
.hv-calc .alert { margin: 16px 0 0; border-radius: var(--hv-r-ctl); }

/* producten */
.hv-products { padding: 104px 0 24px; }
.hv-head { max-width: 62ch; margin-bottom: 44px; }
.hv-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.hv-head p { margin-top: 14px; font-size: 1.05rem; line-height: 1.6; color: var(--hv-muted); }
.hv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.hv-card { display: flex; flex-direction: column; border: 1px solid var(--hv-line); border-radius: var(--hv-r-card); background: #fff; overflow: hidden; transition: transform .35s var(--hv-ease), border-color .25s var(--hv-ease); }
.hv-card:hover { transform: translateY(-4px); border-color: #cfccc7; }
.hv-card__img { display: block; position: relative; overflow: hidden; background: var(--hv-surface); aspect-ratio: 4 / 3; }
.hv-card__img img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; mix-blend-mode: multiply; }
.hv-card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.hv-card h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.hv-card h3 a { color: var(--hv-ink); text-decoration: none; }
.hv-card h3 a:hover { color: var(--hv-accent); }
.hv-card .color-variant { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hv-card .color-variant li { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); display: inline-block; float: none; margin: 0; }
.hv-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.hv-price { font-size: .95rem; color: var(--hv-muted); }
.hv-price strong { display: block; font-size: 1.3rem; color: var(--hv-ink); font-weight: 800; }
.hv-card .hv-btn { padding: 11px 18px; font-size: 15px; }

/* waarom: één beeld + drie punten */
.hv-why { padding: 104px 0; }
.hv-why__grid { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
.hv-why__media { margin: 0; border-radius: var(--hv-r-card); overflow: hidden; aspect-ratio: 5 / 4; background: #d9d7d3; }
.hv-why__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-why h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.hv-why__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; }
.hv-why__list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.hv-why__icon { width: 48px; height: 48px; border-radius: var(--hv-r-ctl); background: var(--hv-surface); color: var(--hv-accent); display: grid; place-items: center; font-size: 22px; }
.hv-why__list h3 { font-size: 1.1rem; font-weight: 800; }
.hv-why__list p { margin-top: 4px; color: var(--hv-muted); line-height: 1.55; }

/* realisaties */
.hv-real { padding: 0 0 120px; }
.hv-real__grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.hv-real__item { margin: 0; }
.hv-real__item img { width: 100%; display: block; object-fit: cover; border-radius: var(--hv-r-card); aspect-ratio: 4 / 3; background: var(--hv-surface); }
.hv-real__item figcaption { margin-top: 10px; font-weight: 700; }
.hv-real__grid--feature { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
.hv-real__grid--feature .hv-real__item:first-child { grid-row: span 2; display: flex; flex-direction: column; }
.hv-real__grid--feature .hv-real__item:first-child img { flex: 1; min-height: 0; aspect-ratio: auto; }
.hv-real__grid--single { grid-template-columns: 1fr; }
.hv-real__grid--single .hv-real__item img { aspect-ratio: 21 / 9; }
.hv-real__more { margin-top: 36px; }

/* reveal: alleen met JS, alleen als beweging mag */
@media (prefers-reduced-motion: no-preference) {
    .hv-js .hv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--hv-ease), transform .7s var(--hv-ease); }
    .hv-js .hv-reveal.is-in { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
    .hv-hero { padding: 32px 0 104px; }
    .hv-hero__grid, .hv-why__grid { grid-template-columns: 1fr; gap: 32px; }
    .hv-calc__form { grid-template-columns: 1fr 1fr; }
    .hv-calc__form .hv-field:first-child, .hv-calc__form .hv-btn { grid-column: 1 / -1; }
    .hv-grid { grid-template-columns: repeat(2, 1fr); }
    .hv-products, .hv-why { padding-top: 72px; }
    .hv-why { padding-bottom: 72px; }
}
@media (max-width: 767px) {
    .hv .hv-wrap { padding-inline: 16px; }
    .hv-grid { grid-template-columns: 1fr; }
    .hv-calc__box { padding: 20px; }
    .hv-calc__form { grid-template-columns: 1fr; }
    .hv-real__grid, .hv-real__grid--feature { grid-template-columns: 1fr; }
    .hv-real__grid--single .hv-real__item img { aspect-ratio: 4 / 3; }
    .hv-real__grid--feature .hv-real__item:first-child { grid-row: auto; }
    .hv-real__grid--feature .hv-real__item:first-child img { aspect-ratio: 4 / 3; flex: none; }
    .hv-hero__cta .hv-btn { width: 100%; }
}
