﻿:root {
    --tk-bg: #f6efe3;
    --tk-bg-soft: #fbf7f0;
    --tk-bg-deep: #efe3cf;
    --tk-sand: #e4cfaa;
    --tk-sand-deep: #c8a774;
    --tk-clay: #b9824d;
    --tk-clay-deep: #98663b;
    --tk-olive: #7d8661;
    --tk-olive-deep: #646c4e;
    --tk-ink: #2f2418;
    --tk-ink-soft: #564737;
    --tk-light: #fffaf1;
    --tk-white: #ffffff;
    --tk-shadow: 0 20px 48px rgba(56, 37, 16, 0.16);
    --tk-shadow-soft: 0 10px 26px rgba(56, 37, 16, 0.10);
    --tk-radius-lg: 32px;
    --tk-radius-md: 22px;
    --tk-radius-sm: 14px;
    --tk-content-width: 1280px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: -120px 0 0 0;
    padding: 0;
    overflow-x: hidden;
    background: radial-gradient(circle at top, rgba(196, 156, 96, 0.22), transparent 34%), linear-gradient(180deg, #f2e8d2 0%, #e9d7b6 52%, #dcc39d 100%);
    color: var(--tk-ink);
    font-family: "Segoe UI", "Georgia", serif;
    line-height: 1.7;
}

.main-content-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.hero-header {
    position: relative;
    width: 100%;
    min-height: 820px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    background: #cdb58d;
}
.bouwbord-melding {
    position: absolute;
    left: 15%;
    top: 28%;
    transform: translateX(-50%);
    z-index: 4;
    pointer-events: none;
}

.bouwbord-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bouwbord-afbeelding {
    position: relative;
    width: clamp(340px, 42vw, 560px);
    aspect-ratio: 4 / 5;
    background: url('/Images/Headerfotos/Homepage/Bord.webp') center center / contain no-repeat;
}

.bouwbord-tekst {
    position: absolute;
    left: 50%;
    top: 38%;
    transform: translateX(-50%);
    width: 46%;
    text-align: center;
    color: #4a2f1d;
    font-family: "Georgia", "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 0.95vw, 1.82rem);
    line-height: 1.18;
    text-shadow: 0 1px 0 rgba(255, 248, 236, 0.45);
}
    .hero-header::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(246, 239, 227, 0.30) 0%, rgba(246, 239, 227, 0.10) 16%, rgba(246, 239, 227, 0.04) 28%, rgba(45, 31, 16, 0.08) 66%, rgba(45, 31, 16, 0.18) 100% );
        z-index: 1;
        pointer-events: none;
    }

    .hero-header::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 180px;
        background: linear-gradient( to bottom, rgba(246, 239, 227, 0) 0%, rgba(246, 239, 227, 0.16) 26%, rgba(246, 239, 227, 0.86) 76%, rgba(246, 239, 227, 1) 100% );
        z-index: 1;
        pointer-events: none;
    }

.hero-afbeelding{
    position: absolute;
    top: -320px;
    left: 0;
    width: 100%;
    height: calc(100% + 320px);
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    filter: saturate(0.95) contrast(0.98) brightness(0.96);
}

.home.hero-content,
.home .hero-content,
.hero-content {
    position: relative;
    top: 250px;
    z-index: 2;
    width: min(100%, var(--tk-content-width));
    margin: 0 auto;
    padding: 9rem 1.5rem 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

    .hero-content h1 {
        margin: 0;
        max-width: 12ch;
        color: #fffaf1;
        font-family: "Georgia", "Times New Roman", serif;
        font-size: clamp(3.4rem, 8vw, 7rem);
        font-weight: 700;
        line-height: 0.96;
        letter-spacing: -0.04em;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22), 0 10px 34px rgba(0, 0, 0, 0.28);
    }

    .hero-content p {
        margin: 0;
        max-width: 920px;
        color: rgba(255, 250, 241, 0.98);
        font-size: clamp(1.1rem, 2vw, 2rem);
        line-height: 1.42;
        font-weight: 500;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.16), 0 8px 24px rgba(0, 0, 0, 0.18);
    }

.intro-blok {
    position: relative;
    padding: clamp(4rem, 7vw, 7rem) 0;
    background: radial-gradient(circle at top left, rgba(201, 167, 116, 0.10), transparent 28%), radial-gradient(circle at top right, rgba(125, 134, 97, 0.06), transparent 24%), linear-gradient(180deg, #f8f1e5 0%, #efe2cf 100%);
    color: var(--tk-ink);
    overflow: hidden;
    isolation: isolate;
}

    .intro-blok .container {
        position: relative;
        z-index: 1;
        width: min(100% - 24px, 1400px);
        margin: 0 auto;
        padding: 0;
    }

    .intro-blok .row {
        margin: 0;
        justify-content: center;
    }

.boekrol-shell {
    width: 100%;
}

.boekrol-desktop {
    position: relative;
    width: min(94vw, 1320px);
    min-height: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/Images/Headerfotos/Homepage/Boekenrol.webp') center center / 100% 100% no-repeat;
}

    .boekrol-desktop::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 248, 236, 0.10);
        pointer-events: none;
    }

.boekrol-tekstvlak {
    position: relative;
    z-index: 1;
    width: 40%;
    max-width: 40%;
    margin: 0 auto;
    text-align: center;
}

    .boekrol-tekstvlak .intro-tekst {
        width: 100%;
        margin: 0 auto;
    }

.intro-blok .lead {
    margin: 0;
    color: #4f3a26;
    font-size: clamp(1rem, 1vw, 1.18rem);
    line-height: 1.78;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 248, 236, 0.14);
}

.perkament-mobiel {
    display: none;
}

.fade-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.19,1,.22,1);
}

    .fade-up.in-view,
    .fade-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 1199px) {
    .hero-header {
        min-height: 720px;
    }

    .home.hero-content,
    .home .hero-content,
    .hero-content {
        padding: 7.4rem 1.5rem 4rem;
    }

    .boekrol-desktop {
        width: min(95vw, 1120px);
        min-height: 780px;
    }

    .boekrol-tekstvlak {
        width: 44%;
        max-width: 44%;
    }

    .intro-blok .lead {
        font-size: clamp(0.96rem, 0.95vw, 1.08rem);
        line-height: 1.72;
    }
}


@media (max-width: 767px) {
    .hero-header {
        min-height: 620px;
        align-items: center;
    }

        .hero-header::before {
            background: linear-gradient(to bottom, rgba(246, 239, 227, 0.46) 0%, rgba(246, 239, 227, 0.22) 16%, rgba(246, 239, 227, 0.08) 30%, rgba(45, 31, 16, 0.10) 60%, rgba(45, 31, 16, 0.18) 100%);
        }

        .hero-header::after {
            height: 120px;
        }

    .hero-afbeelding {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .home.hero-content,
    .home .hero-content,
    .hero-content {
        top: 30px;
        width: 100%;
        margin: 0 auto;
        padding: 6.2rem 1rem 2.2rem;
        gap: 0.6rem;
    }

        .hero-content h1 {
            margin: 0;
            max-width: 9ch;
            font-size: clamp(2.2rem, 9vw, 3.4rem);
            line-height: 1.02;
        }

        .hero-content p {
            margin: 0;
            max-width: 92%;
            font-size: 1.3rem;
            line-height: 1.34;
        }

    .bouwbord-melding {
        left: 40%;
        top: 45%;
        transform: translateX(-50%);
    }

    .bouwbord-afbeelding {
        width: 80vw !important;
    }

    .bouwbord-tekst {
        top: 37% !important;
        width: 50% !important;
        font-size: 1.3rem !important;
        line-height: 1.02 !important;
    }

    .intro-blok {
        padding: 2.2rem 0;
    }

        .intro-blok .container {
            width: calc(100% - 12px);
        }

    .boekrol-desktop {
        display: none;
    }

    .perkament-mobiel {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: calc(100% - 10px);
        max-width: 560px;
        min-height: 760px;
        margin: 20px auto 0;
        padding: 56px 34px 58px;
        box-sizing: border-box;
        text-align: center;
        background: none;
        overflow: hidden;
    }

        .perkament-mobiel::before {
            content: "";
            position: absolute;
            inset: 0;
            background: url('/Images/Headerfotos/Homepage/Perkamentmobiel.webp') center -600px / 100% calc(100% + 1200px) no-repeat!important;
            z-index: 0;
            pointer-events: none;
        }

        .perkament-mobiel .intro-tekst {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 78%;
            margin: 0 auto;
        }

        .perkament-mobiel .lead {
            margin: 0;
            color: #3b2a1d;
            font-size: 0.92rem;
            line-height: 1.72;
            font-weight: 500;
            text-shadow: 0 1px 0 rgba(255, 248, 236, 0.18);
            overflow-wrap: break-word;
        }
}
 

@media (max-width: 575px) {
    .hero-header {
        min-height: 560px;
    }

    .home.hero-content,
    .home .hero-content,
    .hero-content {
        top: 20px;
        padding: 5.8rem 1rem 2rem;
    }

        .hero-content h1 {
            font-size: clamp(2rem, 10.5vw, 3rem);
            max-width: 8.5ch;
        }

        .hero-content p {
            font-size: clamp(1.2rem, 4.2vw, 1.02rem);
            max-width: 90%;
        }

    . .bouwbord-melding {
        left: 40%;
        top: 45%;
        transform: translateX(-50%);
    }

    .bouwbord-afbeelding {
        width: 200px;
    }

    .bouwbord-tekst {
        font-size: 1.1rem !important;
    }

    .perkament-mobiel {
        min-height: 600px;
        padding: 3.5rem 1.5rem 3.1rem;
    }

        .perkament-mobiel .lead {
            font-size: 1.2rem;
            line-height: 1.68;
        }
}





 