@import url('https://fonts.googleapis.com/css2?family=Orelega+One&family=Source+Sans+3:wght@400&family=Special+Gothic+Condensed+One&display=swap');

/* ── HERO ── */
#hero {
    position: relative;
    background-color: #234B3E;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    flex-direction: column;
}

/* ── INNER (max-width container) — z-index 4: boven alles behalve golf ── */
.hero__inner {
    max-width: 1224px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 24px 120px;
    position: relative;
    z-index: 4;
    flex: 1;
}

/* ── CONTENT (linkerhelft) ── */
.hero__content {
    max-width: 560px;
}

/* ── H1 ── */
.hero__title {
    font-family: 'Orelega One', serif;
    font-weight: 400;
    font-size: 64px;
    line-height: 64px;
    letter-spacing: 0;
    color: #ffffff;
    margin: 0 0 24px;
}

/* ── TEASER ── */
.hero__teaser {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px;
}

/* ── BUTTONS ── */
.hero__buttons {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

/* Primaire knop */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #DBF178;
    color: #234B3E;
    font-family: 'Special Gothic Condensed One', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    height: 56px;
    min-width: 163px;
    padding: 0 28px;
    border-radius: 58px;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.btn-primary:hover {
    background: #c8e85c;
}

/* Secundaire knop */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    font-family: 'Special Gothic Condensed One', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #DBF178;
    transition: opacity .2s;
}
.btn-secondary:hover {
    opacity: .75;
}

/* ── ACHTERGRONDAFBEELDING — z-index 1: onderste laag ── */
.hero__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
}
.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
/* verloop links van afbeelding naar achtergrondkleur */
.hero__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #234B3E 0%, transparent 40%);
    z-index: 2;
}

/* ── RASTER — z-index 3: boven foto, ONDER tekst ── */
.hero__raster {
    position: absolute;
    top: 0;
    left: 38%;        /* begint iets voor de foto, over de overgang heen */
    right: 0;
    width: 62%;       /* loopt door tot rechterrand */
    height: 100%;
    z-index: 3;
    background-image: url("/wp-content/themes/fauna-bescherming/assets/raster.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 100%;
    opacity: .65;
    pointer-events: none;
}

/* ── GOLF — z-index 5: helemaal bovenop ── */
.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 37px;
    z-index: 5;
    background-image: url("/wp-content/themes/fauna-bescherming/assets/wave-bottom.svg");
    background-size: cover;
    pointer-events: none;
    background-repeat: repeat-x;
}

@media (max-width: 900px) {
    .hero__image {
        width: 100%;
        opacity: .35;
    }
    .hero__raster {
        left: 30%;
        width: 70%;
    }
    .hero__title {
        font-size: 44px;
        line-height: 48px;
    }
}
@media (max-width: 600px) {
    .hero__inner {
        padding: 48px 24px 100px;
    }
    .hero__title {
        font-size: 36px;
        line-height: 40px;
    }
    .hero__teaser {
        font-size: 17px;
        line-height: 28px;
    }
    .hero__buttons {
    }
    .hero__raster {
        left: 20%;
        width: 80%;
    }
}