/* =========================================================
   Direct-Bouwen — Hero Cards (.db-hc)
   Drie kaarten op foto's: 1 grote links, 2 kleine rechts.
   Kleuren komen als CSS-variabelen van het element
   (--db-hc-navy / --db-hc-accent / --db-hc-blue).
   ========================================================= */
.db-hc {
    --db-hc-navy:   #00184c;
    --db-hc-accent: #f4cf3d;
    --db-hc-blue:   #1539ab;
    --db-hc-radius: 14px;
    --db-hc-gap:    20px;
    width: 100%;
}

.db-hc__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: var(--db-hc-gap);
}

/* ---------- kaart-basis ---------- */
.db-hc__card {
    position: relative;
    overflow: hidden;
    border-radius: var(--db-hc-radius);
    background: var(--db-hc-navy) var(--db-hc-img, none) center / cover no-repeat;
    color: #fff;
    display: flex;
    min-height: 0;
}
/* donkere overlay: links dekkend (tekstzijde), rechts doorschijnend */
.db-hc__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--db-hc-navy) 92%, transparent) 0%,
        color-mix(in srgb, var(--db-hc-navy) 75%, transparent) 45%,
        color-mix(in srgb, var(--db-hc-navy) 25%, transparent) 100%);
}
.db-hc__card--large { grid-row: 1 / 3; }
.db-hc__card--large::before {
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--db-hc-navy) 94%, transparent) 0%,
        color-mix(in srgb, var(--db-hc-navy) 82%, transparent) 40%,
        color-mix(in srgb, var(--db-hc-navy) 10%, transparent) 100%);
}

.db-hc__card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 36px;
    width: 100%;
}
.db-hc__card--large .db-hc__card-inner { padding: 48px; max-width: 560px; gap: 18px; }
.db-hc__card--small .db-hc__card-inner { padding: 26px 28px; max-width: 420px; gap: 10px; }

/* ---------- typografie ---------- */
.db-hc__title {
    margin: 0;
    color: #fff;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.01em;
    text-wrap: balance;
}
.db-hc__title--large { font-size: clamp(34px, 3.6vw, 58px); display: flex; flex-direction: column; }
.db-hc__title--small { font-size: clamp(22px, 1.9vw, 28px); }
.db-hc__accent { color: var(--db-hc-accent); }

.db-hc__rule { display: block; width: 28px; height: 3px; background: var(--db-hc-accent); border-radius: 2px; }

.db-hc__intro {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255,255,255,.92);
    max-width: 40ch;
}
.db-hc__card--small .db-hc__intro { font-size: 14px; line-height: 1.45; }

/* ---------- USP-rijen (grote kaart) ---------- */
.db-hc__usps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.db-hc__usps li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.db-hc__uicon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 999px;
    border: 1.5px solid var(--db-hc-accent);
    color: var(--db-hc-accent); font-size: 15px; flex: 0 0 32px;
}
.db-hc__uicon svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- badge (grote kaart) ---------- */
.db-hc__badge {
    display: inline-flex; align-items: center; gap: 14px;
    background: #fff; color: var(--db-hc-navy);
    border-radius: 10px; padding: 12px 16px;
    font-size: 14px; font-weight: 600; line-height: 1.3;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.db-hc__badge img { width: 44px; height: auto; display: block; }

/* ---------- pill (kleine kaart) ---------- */
.db-hc__pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--db-hc-accent); color: var(--db-hc-navy);
    border-radius: 999px; padding: 6px 14px 6px 10px;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.db-hc__pill i, .db-hc__pill svg { font-size: 14px; width: 14px; height: 14px; fill: currentColor; }

/* ---------- features (kleine kaart) ---------- */
.db-hc__features { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.db-hc__features li { display: flex; align-items: center; gap: 12px; }
.db-hc__ficon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 8px;
    background: rgba(255,255,255,.12); color: var(--db-hc-accent);
    font-size: 17px; flex: 0 0 34px;
}
.db-hc__ficon svg { width: 18px; height: 18px; fill: currentColor; }
.db-hc__ftext { display: flex; flex-direction: column; line-height: 1.25; }
/* tegels: drie naast elkaar, icoon boven label (zoals de referentie) */
.db-hc__features--tiles { flex-direction: row; gap: 8px; width: 100%; }
.db-hc__features--tiles li {
    flex: 1 1 0; flex-direction: column; align-items: center; text-align: center; gap: 8px;
    background: rgba(255,255,255,.10); border-radius: 10px; padding: 12px 8px;
}
.db-hc__features--tiles .db-hc__ficon { background: transparent; width: auto; height: auto; font-size: 24px; flex: 0 0 auto; }
.db-hc__features--tiles .db-hc__ficon svg { width: 24px; height: 24px; }
.db-hc__features--tiles .db-hc__ftext strong { font-size: 13px; font-weight: 600; }
.db-hc__ftext strong { font-size: 14px; font-weight: 700; }
.db-hc__ftext small  { font-size: 12px; color: rgba(255,255,255,.8); }

/* ---------- knoppen ---------- */
.db-hc__btn {
    display: inline-flex; align-items: center; gap: 12px;
    margin-top: auto;
    min-height: 48px; padding: 0 20px;
    border-radius: 8px;
    font-size: 15px; font-weight: 700; text-decoration: none;
    transition: transform .15s ease, filter .15s ease;
}
.db-hc__btn:hover { transform: translateY(-1px); filter: brightness(1.05); text-decoration: none; }
.db-hc__btn--accent { background: var(--db-hc-accent); color: var(--db-hc-navy); }
.db-hc__btn--light  { background: #fff; color: var(--db-hc-navy); }
.db-hc__btn i, .db-hc__btn svg { font-size: 18px; width: 18px; height: 18px; fill: currentColor; }
.db-hc__btn span { flex: 1 1 auto; }
.db-hc__btn svg.db-hc__chev { width: 22px; height: 22px; flex: 0 0 22px; margin-right: -4px; }

/* dots alleen op mobiel (slider) */
.db-hc__dots { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
    .db-hc__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
    .db-hc__card--large { grid-column: 1 / 3; grid-row: auto; min-height: 420px; }
    .db-hc__card--small { min-height: 340px; }
    .db-hc__card--large .db-hc__card-inner { padding: 36px; }
}

/* ---------- mobiel: swipebare slider met bolletjes ---------- */
@media (max-width: 767px) {
    .db-hc__grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }
    .db-hc__grid::-webkit-scrollbar { display: none; }
    .db-hc__card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        min-height: 420px;
    }
    .db-hc__card--large { grid-column: auto; }
    .db-hc__card::before, .db-hc__card--large::before {
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--db-hc-navy) 88%, transparent) 0%,
            color-mix(in srgb, var(--db-hc-navy) 55%, transparent) 100%);
    }
    .db-hc__card-inner, .db-hc__card--large .db-hc__card-inner, .db-hc__card--small .db-hc__card-inner { padding: 24px; max-width: none; }
    .db-hc__title--large { font-size: clamp(28px, 8vw, 36px); }
    .db-hc__title--small { font-size: 22px; }
    .db-hc__btn { width: 100%; justify-content: center; }

    .db-hc__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
    .db-hc__dots button {
        width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0;
        background: #cfd4e6; transition: width .2s ease, background .2s ease; cursor: pointer;
    }
    .db-hc__dots button.is-active { width: 28px; background: var(--db-hc-accent); }
}
