/* Select Autocentrum homepage v2 (stap 6, 07-10-2026). Alleen bij body.sac2-ui2.home. Gebruikt tokens uit sac2.css en knop/chip/kaart-stijlen uit sac2-srp.css. */

/* ---------- Header: logo-CLS, telefoon als tekst, openingsstatus (alle v2-pagina's) ---------- */
body.sac2-ui2 .logo img { aspect-ratio: 340 / 50; width: auto; height: 50px; }
body.sac2-ui2 .top-bar .contact-item i { display: none; }
body.sac2-ui2 .top-bar .contact-item { font-family: var(--sac-font); font-weight: 600; color: var(--sac-ink); }
body.sac2-ui2 .sac2-open-status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sac-font); font-size: 0.8125rem; color: var(--sac-ink-600); white-space: nowrap; }
body.sac2-ui2 .sac2-open-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sac-green-500); }
body.sac2-ui2 .sac2-open-status.is-closed::before { background: var(--sac-warn-500); }
@media (max-width: 767px) { body.sac2-ui2 .sac2-open-status { display: none; } }

/* Home v2: oude zwevende cirkels uit (hero heeft Bel, contactblok onderaan heeft Bel/WhatsApp/mail); label "Net binnen" is al de sectiekop. */
body.sac2-ui2.home .sac-float-call, body.sac2-ui2.home .sac-float-wa { display: none !important; }
.sac2-home-carousel .sac2-card-badge { display: none; }

/* ---------- Hero ---------- */
.sac2-home-hero {
    position: relative;
    min-height: min(78vh, 640px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: #111;
    overflow: hidden;
    font-family: var(--sac-font);
}
.sac2-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.sac2-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.72) 100%); }
.sac2-hero-inner { position: relative; padding: 32px 20px 28px; width: 100%; }
.sac2-hero-kicker { margin: 0 0 6px; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em; color: #cfe9d9; }
.sac2-hero-h1 { margin: 0 0 12px; font-size: clamp(1.75rem, 6vw, 2.75rem); line-height: 1.12; font-weight: 800; color: #fff; }
.sac2-hero-proof { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.9375rem; }
.sac2-hero-proof li { position: relative; padding-left: 20px; }
.sac2-hero-proof li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--sac-green-500); font-weight: 800; }
.sac2-hero-actions { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.sac2-hero-cta { width: 100%; }
.sac2-hero-call { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-align: center; min-height: var(--sac-tap); display: flex; align-items: center; justify-content: center; }
.sac2-hero-avail { margin: 14px 0 0; font-size: 0.875rem; color: #d7dbd9; }

/* ---------- Secties algemeen ---------- */
.sac2-home-stock, .sac2-home-how, .sac2-home-trust, .sac2-home-contact { font-family: var(--sac-font); padding: 28px 0; }
.sac2-home-stock h2, .sac2-home-how h2, .sac2-home-contact h2 { font-size: 1.5rem; margin: 0 0 14px; color: var(--sac-ink); }
.sac2-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sac2-section-head h2 { margin: 0; }
.sac2-section-link { color: var(--sac-green-700); font-weight: 700; text-decoration: none; white-space: nowrap; }
.sac2-section-link:hover { text-decoration: underline; }

/* ---------- Net binnen: carrousel ---------- */
.sac2-home-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 320px);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 0 10px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
}
.sac2-home-carousel::-webkit-scrollbar { display: none; }
.sac2-home-carousel .sac2-card { scroll-snap-align: start; }
.sac2-home-stock .sac2-chips-row { margin-top: 12px; }

/* ---------- Zo werkt het ---------- */
.sac2-home-how { background: var(--sac-surface-2); }
.sac2-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.sac2-steps li { counter-increment: s; position: relative; padding: 14px 14px 14px 56px; background: var(--sac-surface); border: 1px solid var(--sac-line); border-radius: var(--sac-radius); }
.sac2-steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--sac-green-700); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.sac2-steps strong { display: block; font-size: 1.0625rem; margin-bottom: 2px; }
.sac2-steps span { color: var(--sac-ink-600); font-size: 0.9375rem; }

/* ---------- Vertrouwen ---------- */
.sac2-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sac2-trust-card { text-align: center; padding: 14px 8px; border: 1px solid var(--sac-line); border-radius: var(--sac-radius); background: var(--sac-surface); }
.sac2-trust-score { margin: 0; font-size: 1.75rem; font-weight: 800; color: var(--sac-green-700); line-height: 1; }
.sac2-trust-score span { font-size: 1rem; color: var(--sac-ink-600); font-weight: 600; }
.sac2-trust-sub { margin: 6px 0 8px; font-size: 0.8125rem; color: var(--sac-ink-600); }
.sac2-trust-link { font-size: 0.875rem; color: var(--sac-green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Contact ---------- */
.sac2-home-contact { background: var(--sac-surface-2); }
.sac2-contact-grid { display: grid; gap: 20px; }
.sac2-home-contact .sac2-contact-addr { margin: 0 0 12px; line-height: 1.5; color: var(--sac-ink); }
.sac2-home-contact .sac2-hours { margin: 0; }
.sac2-home-contact .sac2-hours div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--sac-line); font-size: 0.9375rem; }
.sac2-home-contact .sac2-hours dt { color: var(--sac-ink-600); }
.sac2-home-contact .sac2-hours dd { margin: 0; font-weight: 600; }
.sac2-contact-actions { display: flex; flex-direction: column; gap: 10px; align-self: start; }
.sac2-contact-actions .sac2-secondary-link { text-align: center; }
.sac2-map-link { color: var(--sac-green-700); font-weight: 600; }

/* ---------- Tablet en groter ---------- */
@media (min-width: 768px) {
    .sac2-hero-actions { flex-direction: row; align-items: center; max-width: none; }
    .sac2-hero-cta { width: auto; min-width: 260px; }
    .sac2-home-stock, .sac2-home-how, .sac2-home-trust, .sac2-home-contact { padding: 40px 0; }
    .sac2-steps { grid-template-columns: repeat(3, 1fr); }
    .sac2-contact-grid { grid-template-columns: 1fr 320px; align-items: start; }
    .sac2-trust-score { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
    .sac2-home-hero { min-height: 560px; align-items: center; }
    .sac2-hero-inner { max-width: 1400px; margin: 0 auto; padding: 48px 20px; }
    .sac2-hero-h1 { font-size: 3rem; max-width: 760px; }
    .sac2-hero-proof { font-size: 1.0625rem; }
    .sac2-home-carousel { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 24px; }
    .sac2-home-carousel .sac2-card:nth-child(n + 4) { display: none; }
    .sac2-home-stock h2, .sac2-home-how h2, .sac2-home-contact h2 { font-size: 1.75rem; }
}
