body {    
    background-color: #bbbfc2;
}

.kontakt {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.kontakt-content {
    max-width: 1250px;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 20px; 
}

.kontakt-text {
    flex: 1 1 45%; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 17.5px;
}

.kontakt-img {
    flex: 1 1 45%; 
    box-sizing: border-box;
    position: relative; 
    right: 0;
}

.kontakt-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

/* Text Anpassungen */
.kontakt-text img {
    height: 50px;
    width: 50px;
    margin-bottom: 25px;
}

.kontakt-text h1 {
    font-size: 25px;
    font-family: Roboto-Bold;
    margin-bottom: 25px;
}

.kontakt-text p {
    font-size: 20px;
    font-family: Roboto-Light;
    text-align: justify;
}


@media screen and (max-width: 800px) {
        
    .kontakt-content {
        flex-direction: column; 
        align-items: center;
        text-align: center;
    }

    .kontakt-text {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .kontakt-text {
        margin-top: 0px;
        margin-bottom: 20px;
    }

    .kontakt-img {
        margin-top: 20px;
        width: 90%;
        max-height: 450px;
        height: auto;
        order: -1; 
    }

    .kontakt-text h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .kontakt-text p {
        font-size: 17px;
    }

    .kontakt-img img {
        width: 100%;
        max-height: 450px;
        height: auto;
        object-fit: cover;
    }
}
