@media only screen and (max-width: 767px) {
    #pageContainer {
        padding-right: clamp(6px, 2vw, 22px);
        padding-left: clamp(6px, 2vw, 22px);
    }
}

@media only screen and (min-width: 768px) {
    #pageContainer {
        padding-right: clamp(20px, 20vw, 20vw);
        padding-left: clamp(20px, 20vw, 20vw);
    }
}

#pageContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#titel {
    padding-top: clamp(6px, 2vw, 22px);
}

#untertitel {
    padding-bottom: clamp(6px, 2vw, 22px);
}
#textContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#imageContainerLageplan {
    padding-top: clamp(6px, 2vw, 22px);
    padding-bottom: clamp(6px, 2vw, 22px);
}

@media only screen and (max-width: 767px) {
    #titel {
        font-size: clamp(10px, 4vw, 45px);
    }
    #untertitel {
        font-size: clamp(8px, 3vw, 26px);
    }
    .text {
        font-size: clamp(8px, 3vw, 26px);
    }
    #lageplan {
        display: none;
    }
    #lageplan-split {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (min-width: 768px) {
    #titel {
        font-size: clamp(8px, 3vw, 26px);
    }
    #untertitel {
        font-size: clamp(7px, 2vw, 22px);
    }
    .text {
        font-size: clamp(6px, 2vw, 22px);
    }
    #lageplan {
        display: block;
    }
    #lageplan-split {
        display: none;
    }
}

.text {
    padding-bottom: clamp(6px, 2vw, 22px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lageplan-links {
    max-height: 30vh;
    padding-bottom: clamp(6px, 2vw, 22px);
}

#lageplan-rechts {
    max-height: 30vh;
}

.imgLageplan:hover {
    cursor: zoom-in;
}
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.9);
    z-index: 999;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: clamp(6px, 2vw, 22px);
}

#lightbox.active {
    display: flex;
}

#lightboxImg {
    max-height: 75vh;
    width: auto;
}

#closeBtn {
    position: absolute;
    top: 16px;
    right: 16px;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}
