/* =========================================================================
   Zakelijk & Industrieel — gedeelde styling voor landingspagina + branches
   Prefix: .zi-*
   ========================================================================= */

/* ---------- Algemeen ---------- */
html { scroll-behavior: smooth; }
.zi-page { font-family: 'Open Sans', Arial, sans-serif; color: #1a1a1a; }
.zi-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.zi-mini-label { display: inline-block; color: #E10916; font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }

/* ---------- Preview-marker (hover-badge rechtsonder) ---------- */
.zi-preview-marker { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; font-family: 'Open Sans', Arial, sans-serif; }
.zi-preview-marker-badge { display: inline-block; background: #c97a00; color: #fff; padding: 8px 14px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; border-radius: 20px; cursor: help; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.zi-preview-marker-tooltip { position: absolute; bottom: 100%; left: 50%; margin-bottom: 8px; background: #1a1a1a; color: #fff; padding: 10px 14px; font-size: 12px; line-height: 1.45; width: 260px; border-radius: 4px; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .15s ease, transform .15s ease; box-shadow: 0 4px 14px rgba(0,0,0,.25); text-align: center; }
.zi-preview-marker:hover .zi-preview-marker-tooltip, .zi-preview-marker:focus-within .zi-preview-marker-tooltip { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Top-banner CTA (altijd fixed direct onder menu-header) ---------- */
/* Baseline mobile-first. Per breakpoint overschreven zodat topbar altijd direct onder de menu-header staat. */
.zi-topbanner { display: block; position: fixed; top: 108px; left: 0; right: 0; z-index: 9; background: #E10916; color: #fff; padding: 12px 20px; text-align: center; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; text-decoration: none; transition: top .3s ease, background .15s ease; box-sizing: border-box; }
.zi-topbanner:hover { background: #c00612; color: #fff; text-decoration: none; }
.zi-topbanner strong { font-weight: 700; margin-right: 4px; }
@media (min-width: 761px)  { .zi-topbanner { top: 168px; } }
@media (min-width: 981px)  { .zi-topbanner { top: 247px; } }
@media (min-width: 1101px) { .zi-topbanner { top: 280px; } }
@media (min-width: 1371px) { .zi-topbanner { top: 320px; } }
/* Bij menu-shrink (menu.js voegt .sticky toe aan .margin-header) — alleen op desktop shrinkt de menu */
@media (min-width: 761px) {
    .margin-header.sticky ~ .zi-topbanner { top: 60px; }
}

/* Content-spacer +40px voor de topbar-hoogte, per breakpoint */
body:has(> .zi-topbanner) .margin-header { height: 148px; max-height: 148px; transition: height .3s ease, max-height .3s ease; }
@media (min-width: 761px)  { body:has(> .zi-topbanner) .margin-header { height: 208px; max-height: 208px; } }
@media (min-width: 981px)  { body:has(> .zi-topbanner) .margin-header { height: 287px; max-height: 287px; } }
@media (min-width: 1101px) { body:has(> .zi-topbanner) .margin-header { height: 320px; max-height: 320px; } }
@media (min-width: 1371px) { body:has(> .zi-topbanner) .margin-header { height: 360px; max-height: 360px; } }
@media (min-width: 761px) {
    body:has(> .zi-topbanner) .margin-header.sticky { max-height: 100px; }
}

/* ==============================
   LANDINGSPAGINA — HERO
   ============================== */
.zi-hero { position: relative; background: linear-gradient(rgba(15,20,30,.72), rgba(15,20,30,.82)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1920&h=900&fit=crop') center/cover no-repeat #1a1f2c; color: #fff; padding: 80px 0 60px; }
.zi-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
.zi-hero-body { max-width: 770px; margin-bottom: 24px; }
.zi-hero-content { max-width: 770px; }
.zi-hero-content .zi-lead + .zi-lead { margin-top: 8px; }
.zi-hero-label { color: #ff3646; font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; display: inline-block; margin-bottom: 18px; }
.zi-hero-content h1 { font-family: 'Montserrat', Arial, sans-serif; font-size: 44px; font-weight: 800; line-height: 1.15; color: #fff; margin: 0 0 22px; }
.zi-hero-content .zi-lead { font-size: 16px; line-height: 1.65; color: #cfd3da; margin: 0 0 28px; max-width: 560px; }

/* USPs */
.zi-hero-usps { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.zi-hero-usps li { position: relative; padding-left: 36px; font-size: 14px; color: #fff; line-height: 1.5; flex: 0 0 auto; }
.zi-hero-usps li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 24px; height: 24px; background: #E10916; color: #fff; border-radius: 50%; font-weight: 700; font-size: 13px; text-align: center; line-height: 24px; }

/* CTA-knoppen */
.zi-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.zi-btn { display: inline-block; padding: 14px 26px; font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-radius: 2px; border: 2px solid transparent; transition: opacity .15s ease, background .15s ease; cursor: pointer; }
.zi-btn:hover { text-decoration: none; opacity: .9; }
.zi-btn-red { background: #E10916; color: #fff; border-color: #E10916; }
.zi-btn-red:hover { background: #c00612; border-color: #c00612; color: #fff; }
.zi-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.zi-btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }

/* Snel-contact card in hero */
.zi-contact-card { background: rgba(15,20,30,.88); border: 1px solid rgba(255,255,255,.12); padding: 26px 30px; border-radius: 4px; max-width: 600px; }
.zi-contact-card h3 { display: block; color: #fff; font-size: 18px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; margin: 0 0 6px; }
.zi-contact-lead { color: #cfd3da; font-size: 14px; margin: 0 0 20px; line-height: 1.55; }
.zi-contact-items { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.zi-contact-item { display: flex; align-items: center; gap: 14px; }
.zi-contact-icon { flex-shrink: 0; width: 42px; height: 42px; background: #E10916; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.zi-contact-icon img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.zi-contact-icon--mail img { transform: translate(-1px, 1px); }
.zi-contact-content { flex: 1; min-width: 0; }
.zi-contact-label { display: block; color: #9aa0aa; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 0; font-weight: 700; }
.zi-contact-value { color: #fff; text-decoration: none; font-size: 16px; font-weight: 600; display: inline-block; white-space: nowrap; }
.zi-contact-value:hover { color: #ff3646; text-decoration: none; }

/* ==============================
   LANDINGSPAGINA — WAAROM
   ============================== */
.zi-waarom { background: #fff; padding: 80px 0 60px; text-align: left; }
.zi-waarom h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 32px; font-weight: 800; color: #1a1a1a; margin: 0 0 18px; line-height: 1.2; }
.zi-waarom-lead { font-size: 16px; line-height: 1.65; color: #555; max-width: 800px; margin: 0 0 50px; }
.zi-kolommen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.zi-kolom { background: #fff; border: 1px solid #eaeaea; border-radius: 4px; padding: 32px 28px; box-shadow: 0 2px 12px rgba(0,0,0,.04); text-align: center; }
.zi-kolom h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 20px; font-weight: 700; color: #1a1a1a; margin: 0 0 14px; }
.zi-kolom p { font-size: 14px; line-height: 1.6; color: #555; margin: 0; }

/* ==============================
   LANDINGSPAGINA — BRANCHES
   ============================== */
.zi-branches-sectie { background: #f6f6f8; padding: 70px 0; }
.zi-branches-kop { text-align: left; margin-bottom: 40px; }
.zi-branches-kop h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 30px; font-weight: 800; color: #1a1a1a; margin: 0 0 14px; }
.zi-branches-kop p { font-size: 15px; color: #555; margin: 0; }
.zi-branches { display: flex; flex-wrap: wrap; gap: 20px; }
.zi-branche-tegel { flex: 1 1 calc(33.333% - 14px); min-width: 260px; background: #fff; border: 1px solid #e2e2e2; box-sizing: border-box; text-decoration: none; color: #222; transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease; position: relative; display: block; border-radius: 3px; overflow: hidden; }
.zi-branche-tegel:hover { border-color: #E10916; box-shadow: 0 6px 18px rgba(0,0,0,.08); text-decoration: none; transform: translateY(-2px); }
.zi-tegel-afbeelding { width: 100%; height: 180px; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #f0f0f0; }
.zi-tegel-content { padding: 24px; position: relative; }

/* Wees-tegel (alleen op laatste rij van 3-koloms grid) → afbeelding rechts */
@media (min-width: 901px) {
    .zi-branche-tegel:last-child:nth-child(3n+1) { flex-basis: 100%; display: flex; flex-direction: row-reverse; align-items: stretch; }
    .zi-branche-tegel:last-child:nth-child(3n+1) .zi-tegel-afbeelding { flex: 0 0 45%; width: auto; height: auto; min-height: 220px; }
    .zi-branche-tegel:last-child:nth-child(3n+1) .zi-tegel-content { flex: 1; }
}
.zi-branche-tegel h2 { color: #E10916; font-family: 'Montserrat', Arial, sans-serif; font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.zi-branche-tegel p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: #555; }
.zi-branche-tegel .zi-lees-verder { color: #E10916; font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.zi-branche-tegel .zi-status-concept { position: absolute; top: 10px; right: 10px; background: #c97a00; color: #fff; padding: 3px 10px; font-size: 11px; font-weight: 700; border-radius: 2px; text-transform: uppercase; letter-spacing: .04em; z-index: 2; }
.zi-branche-tegel .zi-icoon { width: 56px; height: 56px; margin-bottom: 14px; }

/* ==============================
   LANDINGSPAGINA — MAATWERK
   ============================== */
.zi-maatwerk { background: #fff; padding: 80px 0 60px; }
.zi-maatwerk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.zi-maatwerk-afb { border-radius: 4px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.10); }
.zi-maatwerk-afb img { width: 100%; height: auto; display: block; }
.zi-maatwerk-content h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 32px; font-weight: 800; color: #1a1a1a; margin: 0 0 18px; line-height: 1.2; }
.zi-maatwerk-lead { font-size: 16px; line-height: 1.65; color: #555; margin: 0 0 24px; }
.zi-lijst { list-style: none; padding: 0; margin: 0 0 30px; }
.zi-lijst li { position: relative; padding-left: 32px; margin-bottom: 12px; font-size: 15px; color: #333; line-height: 1.5; }
.zi-lijst li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #E10916; font-weight: 700; font-size: 16px; }

/* ==============================
   LANDINGSPAGINA — WERKWIJZE
   ============================== */
.zi-werkwijze { background: #fff; padding: 40px 0 80px; }
.zi-werkwijze-kop { text-align: center; margin-bottom: 50px; }
.zi-werkwijze-kop h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 32px; font-weight: 800; color: #1a1a1a; margin: 0; line-height: 1.2; }
.zi-werkwijze-stappen { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.zi-stap { position: relative; padding: 28px 12px 0; text-align: center; }
.zi-stap::before { content: ""; position: absolute; top: 0; left: 8px; right: 8px; height: 2px; background: #E10916; }
.zi-stap-nummer { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 2px solid #E10916; border-radius: 50%; color: #E10916; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 700; background: #fff; margin-bottom: 22px; }
.zi-stap h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 17px; font-weight: 700; color: #1a1a1a; margin: 0 0 16px; }
.zi-stap p { font-size: 14px; line-height: 1.55; color: #555; margin: 0; }

/* ==============================
   LANDINGSPAGINA — CTA
   ============================== */
.zi-cta-sectie { position: relative; background: linear-gradient(rgba(15,20,30,.78), rgba(15,20,30,.85)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1920&h=600&fit=crop') center/cover no-repeat #1a1f2c; color: #fff; padding: 70px 0; }
.zi-cta-sectie h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 32px; font-weight: 800; color: #fff; margin: 0 0 16px; line-height: 1.2; max-width: 640px; }
.zi-cta-sectie p { font-size: 16px; line-height: 1.6; color: #cfd3da; margin: 0 0 26px; max-width: 640px; }

/* ==============================
   BRANCHE-DETAILPAGINA
   ============================== */
.zi-terug { margin-bottom: 14px; font-size: 14px; }

.zi-detail-hero { margin: 0 -16px 24px; }
.zi-detail-hero img { width: 100%; height: 340px; display: block; object-fit: cover; object-position: center center; }

.zi-usp { list-style: none; padding: 0; margin: 16px 0 24px; border: 1px solid #e5e5e5; background: #fafafa; }
.zi-usp li { padding: 10px 16px 10px 40px; border-bottom: 1px solid #e5e5e5; position: relative; }
.zi-usp li:last-child { border-bottom: none; }
.zi-usp li::before { content: "✓"; position: absolute; left: 14px; top: 10px; color: #E10916; font-weight: bold; }

.zi-cta-blok { margin-top: 32px; padding: 20px 24px; background: #f5f5f5; border-left: 4px solid #E10916; }
.zi-cta-blok h3 { margin: 0 0 10px; font-family: 'Montserrat', Arial, sans-serif; }
.zi-cta-blok .zi-cta-knop { display: inline-block; background: #E10916; color: #fff; padding: 12px 20px; text-decoration: none; font-weight: bold; margin-right: 10px; margin-top: 6px; border-radius: 2px; }
.zi-cta-blok .zi-cta-knop-alt { background: #000; }
.zi-cta-blok .zi-cta-knop:hover { text-decoration: none; opacity: .9; }

/* ==============================
   RESPONSIEF
   ============================== */
@media (max-width: 900px) {
    .zi-hero { padding: 60px 0 40px; }
    .zi-hero-content h1 { font-size: 32px; }
    .zi-hero-usps { gap: 10px 24px; }
    .zi-contact-items { grid-template-columns: 1fr; }
    .zi-waarom { padding: 60px 0 40px; }
    .zi-waarom h2 { font-size: 26px; }
    .zi-kolommen { grid-template-columns: 1fr; gap: 16px; }
    .zi-branche-tegel { flex: 1 1 calc(50% - 10px); }
    .zi-maatwerk { padding: 60px 0 40px; }
    .zi-maatwerk-grid { grid-template-columns: 1fr; gap: 30px; }
    .zi-maatwerk-content h2 { font-size: 26px; }
    .zi-werkwijze { padding: 30px 0 60px; }
    .zi-werkwijze-kop h2 { font-size: 26px; }
    .zi-werkwijze-stappen { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
    .zi-cta-sectie h2 { font-size: 26px; }
}
@media (max-width: 600px) {
    .zi-hero-content h1 { font-size: 26px; }
    .zi-hero-cta { flex-direction: column; }
    .zi-btn { text-align: center; }
    .zi-branche-tegel { flex: 1 1 100%; }
    .zi-werkwijze-stappen { grid-template-columns: 1fr; }
}
