﻿.biography {
    padding: 0px;
    max-width: unset;
    box-shadow: none;
    margin: unset;
    width: 100%;

    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

    .biography .anchor-offset {
        height:0px;
    }

    .biography .sub-header {
        z-index:20;
        position:relative;
    }

    .biography-text > div img {
        border: 6px solid white;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        transform: rotate(-1deg);
        transition: transform 0.3s ease;
    }

    .biography-text > div img:hover {
        transform: rotate(0deg) scale(1.02);
    }

.biography::after {
    /* siehe oben */
    transform: translateY(calc(var(--scroll) * 0.3));
}

.biography h3 {
    position: absolute;
    margin-left: 20%;
    margin-top: 160px;
    text-align: center;
    width: 30%;
    color: black;
}

@media screen and (max-width: 1100px) {
    .biography h3 {
        width: 80%;
        margin-left: 10%;
    }
}

.biography-text {
    padding: 60px 0px;
}

.biography-text > div {
    text-align: center;
    border-top: 0px;
}

    .biography-text > div:first-child {
        float: none;
        z-index: 100;
        margin: 50px 0px 50px 20%;
        box-shadow: none;
        width: 30%;
        padding-top: 100px;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        /*border-radius: 12px;*/
        padding-left: 60px;
        padding-right: 60px;
        padding-bottom: 60px;
        height:80vh;
        max-height:800px;overflow:auto;
        position: relative; /* wichtig für das Bild im Hintergrund */
    }

@media screen and (max-width: 1100px) {
    .biography-text > div:first-child {
        width: 80%;
        margin-left: 10%;
        padding-left: 30px;
        padding-right: 30px;
    }
}

    .biography-text > div:last-child {
        float: none;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        overflow: hidden;
        pointer-events: none; /* verhindert Klick-Blockierung */
    }

        .biography-text > div:last-child img {
            position: absolute;
            top: 50%;
            left: 50%;
            width: auto;
            height: auto;
            min-width: 100%;
            min-height: 100%;
            object-fit: cover;
            transform: translate(-50%, -50%) translateY(calc(var(--scroll, 0px) * 0.3));
            z-index: 0;
            /*opacity: 0.3;*/
            filter: blur(2px);
        }



