.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 200;
    padding: 0.5rem 1rem;
    background: var(--color-auth-bg);
    color: var(--color-auth-text);
    font-weight: 700;
    border-radius: 0 0 6px 6px;
    text-decoration: none;
    transition: top 150ms ease;

    &:focus {
        top: 0;
    }
}

:root {
    --header-height: 4.1rem;
    --hero-height: 25em;
}

.hero {
    position: relative;
    height: var(--hero-height);
    overflow: hidden;
    margin-top: calc(-1 * var(--header-height));

    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    padding-left: clamp(1rem, 4vw, 2.5rem);
    padding-right: clamp(1rem, 4vw, 2.5rem);

    &::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
                to right,
                rgba(0, 0, 0, 0.58) 0%,
                rgba(0, 0, 0, 0.28) 55%,
                transparent 100%
        );
        pointer-events: none;
        z-index: 0;
    }
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 50%;
}

.hero-heading {
    font-family: var(--font-base), sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2.25rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.25;
    text-shadow:
            0 1px 8px var(--color-text-shadow),
            0 2px 32px var(--color-text-shadow);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.search-form {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.search-form__input {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.625rem 0.875rem;
    font-family: inherit;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a1a;

    &::placeholder {
        color: #666;
    }

    &:focus-visible {
        outline: 3px solid var(--color-focus-ring);
        outline-offset: 2px;
    }
}

.search-form__btn {
    flex-shrink: 0;
    padding: 0.625rem 1.25rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    background: var(--color-auth-bg);
    color: var(--color-auth-text);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);

    &:hover {
        filter: brightness(0.8);
        box-shadow: 0 4px 14px rgba(255, 222, 159, 0.25);
        transform: translateY(-1px);
    }

    &:focus-visible {
        outline: 3px solid var(--color-focus-ring);
        outline-offset: 3px;
        border-radius: 6px;
    }
}

.section-inner {
    max-width: 72rem;
    margin-inline: auto;
    padding: 3rem clamp(1rem, 4vw, 2.5rem);
}

.section-heading {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .hero-content {
        max-width: min(80vw, 28rem);
    }
}

@media (max-width: 480px) {
    .hero-content {
        max-width: 90vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .skip-link {
        transition: none;
    }
}

/* ─── Intro sectie ──────────────────────────────────────────── */
.intro-section {
    background-color: #f8f8f7;
}

.intro-inner {
    max-width: 72rem;
    height: 25rem;
    margin-inline: auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);

    display: grid;
    grid-template-columns: 1fr 40%;
    gap: clamp(1rem, 10%, 3rem);
    align-items: center;
    position: relative;
}

.intro-content {
    margin: 3rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-heading {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.intro-text {
    font-size: 1rem;
    color: #404040;
    line-height: 1.6;
}

.intro-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    font-weight: 600;
    transition: opacity 150ms ease;
}

.intro-link:hover {
    opacity: 0.8;
}

.intro-link:focus-visible {
    outline: 3px solid var(--color-focus-ring);
    outline-offset: 2px;
    border-radius: 2px;
}

.intro-image {
    width: 100%;
    height: 110%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    transform: translateY(-3rem);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ─── Responsief ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .intro-inner {
        height: auto;
        padding-bottom: 2rem;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .intro-image {
        margin: auto;
        transform: none;
        width: 70%;
        height: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intro-link {
        transition: none;
    }
}

/* ─── About section ────────────────────────────────────────────── */
.about-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--header-height) clamp(1rem, 4vw, 2.5rem);
    overflow: hidden;
}

.about-section__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    filter: brightness(0.3);
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.55) 50%,
            rgba(0, 0, 0, 0.65) 100%
    );
    z-index: -1;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 48rem;
    text-align: center;
}

.about-heading {
    font-family: var(--font-base), sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow:
            0 1px 8px rgba(0, 0, 0, 0.5),
            0 2px 32px rgba(0, 0, 0, 0.4);
}

.about-text {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    text-shadow:
            0 1px 4px rgba(0, 0, 0, 0.5);

    & p {
        margin-bottom: 1.5rem;

        &:last-child {
            margin-bottom: 0;
        }
    }
}

@media (max-width: 768px) {
    .about-section {
        min-height: auto;
        padding: calc(var(--header-height) + 2rem) clamp(1rem, 4vw, 2.5rem);
    }

    .about-heading {
        margin-bottom: 1.5rem;
    }

    .about-text {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-section__bg {
        animation: none;
    }
}