.homepage-hero {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Verander naar min-height */
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
	margin-left: 25%; /*Video meer naar rechterkant*/
}

/* Fade overlay */
.homepage-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 30%,
        rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.homepage-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Tekstblok */
.hero-content {
    position: relative;
    padding: 0 35px;
    z-index: 3;
    color: white;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    min-height: 100vh; /* Verander naar min-height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.hero-content h1 {
    font-size: 84px;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 20px;
    font-family: 'Josefin Sans', sans-serif;
}

.hero-content h1::after {
    content: '';
    display: block;
    width: 160px;
    height: 2px;
    background-color: #4F7046;
    margin-top: 35px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 44px;
    font-weight: 400;
    line-height: 100%;
    width: 37%;
    padding-bottom: 40px;
    font-family: 'Josefin Sans', sans-serif;
}

.cta-button {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background-color: #4F7046;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s ease;
    height: 50px;
    width: 238px;
    border: 2px solid transparent;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Josefin Sans', sans-serif;
    cursor: pointer;
    padding-top: 2px;
}

.cta-button::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path fill='white' d='M598.6 342.6C611.1 330.1 611.1 309.8 598.6 297.3L470.6 169.3C458.1 156.8 437.8 156.8 425.3 169.3C412.8 181.8 412.8 202.1 425.3 214.6L498.7 288L64 288C46.3 288 32 302.3 32 320C32 337.7 46.3 352 64 352L498.7 352L425.3 425.4C412.8 437.9 412.8 458.2 425.3 470.7C437.8 483.2 458.1 483.2 470.6 470.7L598.6 342.7z'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(-45deg);
    transform-origin: 50% 50%;
    transition: transform 0.55s 
cubic-bezier(.2, .9, .3, 1);
}

.cta-button:hover {
    background-color: transparent;
    border: 2px solid #fff;
    text-decoration: none;
}


.cta-button:hover::after {
    transform: rotate(0deg);
}

@media (max-width: 600px) {
    .cta-button {
        width: 200px !important;
        height: 45px !important;
        gap: 17px !important;
    }
}

.repeater-arrow {
    margin-top: 50px;
}

.icon-list {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.icon-item {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-item img {
    display: block;
    height: 2.5em;
    width: auto;
    margin: 0;
    padding: 0;
}

.icon-title {
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Josefin Sans', sans-serif;
}

a.icon-item{
    color: #fff;
}

.onder-gradient {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

@media (max-width: 799px) {
    .onder-gradient {
        height: 60px;
    }
}


/*Responsive Hero*/

/* Voor schermen kleiner dan 1394px */
@media (max-width: 1394px) {
    .hero-content h1 {
        font-size: 74px;
    }

    .hero-content p {
        font-size: 40px !important;
    }
}


/* Voor schermen kleiner dan 800px */
@media (max-width: 800px) {
    .hero-content h1 {
        font-size: 58px !important;
    }

    .hero-content h1::after {
        width: 125px !important;
    }

    .hero-content p {
        font-size: 29px !important;
        width: 60%;
    }

    .icon-item img {
        height: 2em !important;
    }

    .icon-title {
        font-size: 20px !important;
    }
}


/* Voor schermen kleiner dan 500px */
@media (max-width: 500px) {
    .hero-content h1 {
        font-size: 37px !important;
    }

    .hero-content h1::after {
        width: 85px !important;
    }

    .hero-content p {
        width: 90%;
        font-size: 22px !important;
    }

    .icon-item img {
        height: 1.8em !important;
    }

    .icon-title {
        font-size: 18px !important;
    }
}

/* NIEUW: Media queries voor lage schermhoogte */
@media (max-height: 800px) {
    .hero-content {
        justify-content: flex-start;
        padding: 200px 35px;
    }
    
    .hero-content h1 {
        font-size: 64px;
        margin-bottom: 15px;
    }
    
    .hero-content h1::after {
        margin-top: 20px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 32px;
        padding-bottom: 30px;
    }
    
    .icon-list {
        padding-top: 30px;
        gap: 0.8rem;
    }
}