
.partnerinnen{
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    margin-bottom: 50px;
    gap: 60px;
}

.partnerinnenCont{
    display: flex;
    gap: 60px;
}

.partnerinnenimg{
    height: 175px;
    width: 175px;
    object-fit: contain;
    display: block;
    box-sizing: border-box;
}

.partnerinnenCont .titletext{
    margin-top: 0;
    margin-bottom: 0;
}

.textCont{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 175px;
}

.rGridCont {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 15px;
    margin-top: 60px;
}

.leftGrid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rightGrid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subCont {
    display: grid;
    grid-template-columns: 3fr 2fr; /* 2 Bilder nebeneinander */
    gap: 15px;
}

.rGridCont img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 1;
}

.leftGrid img,
.rightGrid > img,
.subCont img {
    flex: 1; /* Alle Bilder füllen gleichmäßig den Container aus */
    width: 100%; /* Stellen sicher, dass die Bilder immer den Container ausfüllen */
    object-fit: cover; /* Damit die Bilder im Container gut skaliert werden */
}

.refimg img{
    display: block;
    width: 100%;
}


.mainBody a{
    text-decoration: none;
}

.mainBody a{
    color: rgba(128,44,140, 1);
}

.mainBody a:hover{
    /*color: rgba(186, 255, 33, 255);*/
    color: rgba(130,230,222,255);
}

@media screen and (max-width: 800px) {
    .partnerinnenimg{
        height: 150px;
        width: 150px;
    }

    .rGridCont {
        gap: 2vw;
    }

    .leftGrid {
        gap: 2vw;
    }

    .rightGrid {
        gap: 2vw;
    }

    .subCont {
        gap: 2vw;
    }
}

@media screen and (max-width: 600px){
    .partnerinnenCont{
        flex-direction: column;
        gap: 15px;

    }

    .partnerinnenimg{
        height: 125px;
        width: 125px;
        align-self: flex-start;
    }

    .textCont{
        height: 125px;
    }

    .titletext{
        display: none;
    }

    .rGridCont{
        grid-template-columns: 1fr;
    }

    .leftGrid{
        flex-direction: row;
    }

    .leftGrid img {
        max-width: 48.125%; /* Damit maximal 2 Bilder pro Zeile sind */
    }
}

@supports (aspect-ratio: 1 / 1) {
    .partnerinnenimg {
        aspect-ratio: 1 / 1;
    }
}

