/* ========================================
   BASIS
   ======================================== */

.inv-page {
    --green: #0a7f3f;
    --ink: #14251d;
    --muted: #58695f;
    --line: #dfe8e2;

    clear: both;
    padding-bottom: 64px;
    background: #f6f8f6;
    color: var(--ink);
}

.inv-page *,
.inv-footer * {
    box-sizing: border-box;
}

.inv-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.inv-page a {
    color: var(--green);
}

.inv-page h1,
.inv-page h2,
.inv-page h3 {
    color: var(--ink);
    text-transform: none;
    letter-spacing: -.025em;
}

.inv-page h2 {
    margin: 12px 0 20px;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.25;
}

.inv-page p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.inv-page a:focus-visible,
.inv-page summary:focus-visible,
.inv-footer a:focus-visible {
    outline: 3px solid #ff7a1a;
    outline-offset: 4px;
}

.inv-kicker {
    display: block;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}


/* ========================================
   HERO EN SCHERMBREDE BANNER
   ======================================== */

.inv-hero {
    padding: 28px 0 0;
    background: linear-gradient(135deg, #e8f3eb, #f6f8f6);
}

/* Alleen de hero-container krijgt de volledige breedte. */
.inv-hero > .inv-wrap {
    max-width: none;
    padding: 0;
}

.inv-crumb {
    max-width: 1280px;
    margin: 0 auto 24px;
    padding: 0 28px;
    color: var(--muted);
    font-size: 13px;
}

.inv-banner {
    position: relative;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
    border-radius: 0;
    background: #e9f1eb;
}

.inv-banner > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.inv-banner-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    width: 50%;
    min-height: 480px;

    padding-top: 60px;
    padding-right: 36px;
    padding-bottom: 60px;
    padding-left: max(28px, calc((100vw - 1224px) / 2));

    background: linear-gradient(
        90deg,
        rgba(237, 245, 238, .96),
        rgba(237, 245, 238, .75),
        rgba(237, 245, 238, 0)
    );
}

.inv-banner h1 {
    margin: 18px 0 22px;
    font-size: clamp(36px, 4.3vw, 58px);
    line-height: 1.08;
}

.inv-banner-copy p {
    max-width: 390px;
    margin-bottom: 24px;
}


/* ========================================
   KNOPPEN EN PAGINANAVIGATIE
   ======================================== */

.inv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 11px;
    background: var(--green);
    color: #fff !important;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none !important;
}

.inv-btn:hover {
    background: #086734;
}

.inv-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 28px 0;
}

.inv-nav a {
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    font-weight: 700;
    text-decoration: none;
}


/* ========================================
   SECTIES
   ======================================== */

.inv-section {
    padding-top: 54px;
    scroll-margin-top: 100px;
}

.inv-intro,
.inv-heading {
    max-width: 850px;
}

.inv-heading {
    margin-bottom: 28px;
}


/* ========================================
   KAARTEN MET VASTGOEDTYPES
   ======================================== */

.inv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.inv-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(20, 37, 29, .025);
}

.inv-card-image {
    display: block;
    aspect-ratio: 16 / 8;
    background: #e6eee8;
}

.inv-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inv-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.inv-card h3 {
    margin: 12px 0 15px;
    font-size: 28px;
    line-height: 1.3;
}

.inv-card h3 a {
    color: var(--ink);
    text-decoration: none;
}

.inv-card-body p {
    font-size: 16px;
}

.inv-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 10px;
}

.inv-project-link {
    font-size: 14px;
    font-weight: 700;
}


/* ========================================
   VOORBEREIDING EN STAPPENPLAN
   ======================================== */

.inv-preparation {
    padding: 36px;
    border: 1px solid #d7e5dc;
    border-radius: 26px;
    background: #e9f2ec;
}

.inv-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.inv-steps li {
    display: flex;
    gap: 18px;
    padding: 24px;
    border: 1px solid #dbe7df;
    border-radius: 17px;
    background: #fff;
}

.inv-step-number {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e6f2ea;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
}

.inv-steps h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.35;
}

.inv-steps p {
    margin: 0;
    font-size: 15px;
}


/* ========================================
   VERDER LEZEN
   ======================================== */

.inv-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.inv-links > a {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    text-decoration: none !important;
}

.inv-links h3 {
    margin: 0 0 15px;
    font-size: 23px;
    line-height: 1.3;
}

.inv-links p {
    font-size: 16px;
}

.inv-links strong {
    margin-top: auto;
}


/* ========================================
   VEELGESTELDE VRAGEN
   ======================================== */

.inv-faq {
    max-width: 900px;
}

.inv-faq details {
    margin: 12px 0;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.inv-faq summary {
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.inv-faq details p {
    margin: 16px 0 0;
    font-size: 15px;
}


/* ========================================
   OPROEP TOT ACTIE
   ======================================== */

.inv-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 34px;
    border: 1px solid #d3e3d8;
    border-radius: 24px;
    background: #e8f2eb;
}

.inv-cta > div {
    max-width: 750px;
}

.inv-cta .inv-btn {
    flex-shrink: 0;
}

.inv-note {
    margin: 20px 0 0;
    font-size: 13px !important;
}


/* ========================================
   VIDEO
   ======================================== */

.inv-video-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 30px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}

.inv-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #14251d;
}

.inv-video--portrait {
    max-width: 320px;
    margin: auto;
    aspect-ratio: 9 / 16;
}

.inv-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ========================================
   FOOTER
   ======================================== */

.inv-footer {
    clear: both;
    padding: 36px 0;
    background: #14251d;
    color: #dce9e1;
}

.inv-footer strong {
    color: #fff;
    font-size: 20px;
}

.inv-footer p,
.inv-footer small {
    color: #b9cec1;
}

.inv-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 22px 0;
}

.inv-footer a {
    color: #dce9e1;
}


/* ========================================
   TABLET
   ======================================== */

@media (max-width: 1000px) {
    .inv-banner-copy {
        width: 53%;
        padding: 40px 28px;
    }

    .inv-links {
        grid-template-columns: 1fr;
    }

    .inv-steps {
        gap: 16px;
    }

    .inv-steps li {
        padding: 20px;
    }
}


/* ========================================
   MOBIEL
   ======================================== */

@media (max-width: 700px) {
    .inv-wrap {
        padding: 0 18px;
    }

    .inv-crumb {
        padding: 0 18px;
    }

    .inv-banner {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .inv-banner > img {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 1;
        object-fit: cover;
    }

    .inv-banner-copy {
        width: 100%;
        min-height: 0;
        padding: 30px 24px;
        background: #edf5ee;
    }

    .inv-banner h1 {
        font-size: 38px;
    }

    .inv-section {
        padding-top: 38px;
    }

    .inv-grid,
    .inv-steps,
    .inv-video-panel {
        grid-template-columns: 1fr;
    }

    .inv-preparation,
    .inv-video-panel {
        padding: 24px;
    }

    .inv-card-body {
        padding: 24px;
    }

    .inv-nav {
        gap: 8px;
        padding: 24px 18px 0;
    }

    .inv-nav a {
        padding: 9px 13px;
        font-size: 13px;
    }

    .inv-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }
}