﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    transition: background-color 1.2s ease-in-out;
    background-color: transparent;
    color: #222;
    margin: 0;
    padding: 0;
}


.subblok {
    opacity: 0;
    transform: translateY(40px);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 32px rgba(30,30,30,0.13);
    overflow: hidden;
    max-width: 40vw;
    margin: 8rem auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: opacity 0.7s cubic-bezier(0.28,0.84,0.42,1), transform 0.7s cubic-bezier(0.28,0.84,0.42,1), box-shadow 0.19s;
}


    .subblok.in-view {
        opacity: 1;
        transform: none;
    }

.subblok-foto {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    object-position: center center;
}

.subblok-content {
    padding: 0rem 5rem 5rem 5rem;
}

.subblok-titel {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #243240;
    line-height: 1.17;
}

.subblok-tekst {
    font-size: 1.09rem;
    color: #3c3c3c;
    margin-bottom: 0;
}

.diensten-header {
   
    position: relative;
    background-color: #fff;
    margin-top: 50px;
    text-align: center;

    clip-path: polygon( 0 0, 100% 0, 100% 90%, 55% 98%, 50% 98%, 45% 98%, 0% 100%);
}

.Diensten-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.diensten-tekst-blok {
    max-width: 1200px;
    margin:  0px auto;
    padding: 50px 20px 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}
    .diensten-tekst-blok::before {
        content: "";
        position: absolute;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
        width: 500px;
        height: 500px;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
        z-index: -1;
        filter: blur(100px);
    }
    .diensten-tekst-blok h1 {
        font-size: 3rem;
        font-weight: 800;
        color: #1e1e1e;
        margin-bottom: 40px;
    }

    .diensten-tekst-blok p.lead {
        font-size: 1.4rem;
        font-weight: 400;
        color: #555;
        margin-bottom: 60px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.8;
    }

    .diensten-tekst-blok h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-top: 80px;
        margin-bottom: 20px;
        color: #1e1e1e;
    }

    .diensten-tekst-blok p,
    .diensten-tekst-blok ul {
        font-size: 1.15rem;
        color: #444;
        line-height: 1.9;
        text-align: left;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .diensten-tekst-blok ul {
        list-style-type: none;
        padding: 0;
    }

        .diensten-tekst-blok ul li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 10px;
        }

            .diensten-tekst-blok ul li::before {
                content: "•";
                position: absolute;
                left: 0;
                top: 0;
                color: #d4a373; 
                font-size: 1.5rem;
                line-height: 1;
            }
h2 {
    margin-top: 100px;
    margin-bottom: 30px;
}
.section-divider {
    width: 200px;
    height: 3px;
    background-color: #d4a373;
    margin: 60px auto;
    border-radius: 2px;
    opacity: 0.6;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
   }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: none;
    }
}
.sierblok {
   
    padding: 4rem 2rem;
}
.sierblok-container.reverse {
    flex-direction: row-reverse;
    margin-top:  0px;
    padding-top: 0px;
}

.sierblok-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0vh auto;
    flex-wrap: wrap;
}

.sierblok-tekst {
    flex: 1 1 300px;
    color: #333;
}

    .sierblok-tekst h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .sierblok-tekst p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

.sierblok-foto {
    flex: 1 1 500px;
}

    .sierblok-foto img {
        width: 90%;
        height: auto;
        max-height: 50vh;
        border-radius: 30% 40% 12% 20% / 20% 30% 10% 20%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
        object-fit: cover;
    }

@media (max-width: 992px) {
    .diensten-tekst-blok h1 {
        font-size: 2.5rem;
    }

    .diensten-tekst-blok p.lead {
        font-size: 1.2rem;
    }

    .diensten-tekst-blok h2 {
        font-size: 1.7rem;
    }

    .subblok {
        max-width: 90vw;
        margin: 8rem auto;
    }

    .subblok-foto {
        height: 140px;
    }

    .subblok-content {
        padding: 1.1rem 0.7rem;
    }

    .subblok-titel {
        font-size: 1.23rem;
    }
}

@media (max-width: 768px) {


    .diensten-tekst-blok {
        padding: 50px 15px 40px 15px;
    }

        .diensten-tekst-blok h1 {
            font-size: 2.2rem;
            margin-bottom: 25px;
        }

        .diensten-tekst-blok p.lead {
            font-size: 1.15rem;
            margin-bottom: 30px;
        }

        .diensten-tekst-blok h2 {
            font-size: 1.6rem;
            margin: 30px 0 10px 0;
        }

    .sierblok {
        padding: 1.5rem 1rem;
    }

    .sierblok-container {
        gap: 1.5rem;
        margin: 2vh auto;
    }

    .section-divider {
        margin: 30px auto;
    }
}

@media (max-width: 600px) {
    .diensten-tekst-blok {
        padding: 80px 15px 60px 15px;
    }

        .diensten-tekst-blok h1 {
            font-size: 2rem;
        }

        .diensten-tekst-blok p.lead {
            font-size: 1.05rem;
        }

        .diensten-tekst-blok h2 {
            font-size: 1.5rem;
        }
}

