body {
    background-color: white;
}

h1{
    color: #2F4992;
}

h2{
    font-weight: normal;
}

nav {
    background-color: initial;
}

.GridContainer--portfolio {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 50rem;
    margin: 0 auto;
}

.photos {
    margin: 30px;
    width: 100px;
    height: 100px;
    text-align: center;
}

.photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 20px;
    text-align: center;
}

main h3{
    text-align: center;
    margin-top: 150px;
}

.photos figcaption {
    text-align: center;
}
#EINFÜHRUNG {
    text-align: center;
}

#EINFÜHRUNG h1,
#EINFÜHRUNG p {
    margin: 0 auto;

}

#EINFÜHRUNG h1{
    margin-top: 100px;
    margin-bottom: 20px;
}

#EINFÜHRUNG p {
    margin-bottom: 50px;

}

.email2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 300px;
    height: auto;
    text-align: center;
    margin-bottom: 150px;
    padding: 0px 0px 70px 0px;
}

.email2 img {
    width: 20px;
    height: auto;
    margin-right: 10px;
}

.email2 a {
    font-size: 14px;
    text-decoration: none;
    color: white;
}


.photos2 {
    display: flex;
    align-items: center;
    gap: 400px;

}


.photos3 {
    display: flex;
    align-items: center;
    gap: 400px;

}
.photos2 img {
    width: 20%;
    height: auto;
    margin-left: 200px;

}

.photos3 img {
    width: 20%;
    height: auto;
    margin-left: 200px;

}
.photos2 figcaption, .photos2 p {
    margin: 0;
    text-align: center;
    max-width: 400px;
}

.photos3 figcaption, .photos3 p {
    margin: 0;
    text-align: center;
    max-width: 400px;
}

.Beratung{
    background-color: white;
    color: #FFFFFF;


}

.Beratung h3{
    padding: 70px 0px 0px 0px;
}


.Beratung {
    background-color: #2F4992;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.centered-heading {
    text-align: center;
    margin-top: 0px;
}

#Digital, #Rundum-Service {
    margin-left: 200px;
}

#Digital .photos2, #Rundum-Service .photos2 {
    gap: 100px;
}

#Kundenorientiert, #Sicherheit {
    margin-right: 100px;
    margin-left: 00px;
}

#Kundenorientiert .photos2, #Sicherheit .photos2 {
    gap: 200px;
}

.centered-heading {
    text-align: center;
    margin-bottom: 100px;
}

.Beratung {
    background-color: #2F4992;
    color: #FFFFFF;
    margin-top: 1px;
}

#Digital .photos2 img,
#Kundenorientiert .photos2 img,
#Sicherheit .photos2 img,
#Rundum-Service .photos2 img {
    border-radius: 10px;
}

.photos2 img {
    width: 500px;
    height: 400px;
    object-fit: cover;
}

.photos3 img {
    width: 500px;
    height: 400px; /
    object-fit: cover;
}

#Rundum-Service {
    margin-bottom: 200px;
}

.photos {
    position: relative;
    display: inline-block;
    cursor: pointer;
}


.description {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}


.photos:active .description,
.photos:hover .description {
    display: block;
}

@media (max-width: 1200px) {
    .photos2 img {
        width: 400px;
        height: 300px;
    }
    .photos3 img {
        width: 400px;
        height: 300px;
    }

    .photos2 p {
        max-width: 300px;
        font-size: 16px;
    }


    .photos3 p {
        max-width: 300px;
        font-size: 16px;
    }
    #Digital, #Rundum-Service, #Kundenorientiert, #Sicherheit {
        margin-left: 100px;
        margin-right: 100px;
    }
}

@media (max-width: 992px) {
    .photos2 img {
        width: 300px;
        height: 225px;
    }

    .photos2 p {
        max-width: 250px;
        font-size: 14px;
    }

    .photos3 img {
        width: 300px;
        height: 225px;
    }

    .photos3 p {
        max-width: 250px;
        font-size: 14px;
    }


    #Digital, #Rundum-Service, #Kundenorientiert, #Sicherheit {
        margin-left: 50px;
        margin-right: 50px;
    }
}

@media (max-width: 768px) {
    .photos2 {
        flex-direction: column;
        align-items: center;
    }

    .photos2 img {
        width: 100%;
        height: auto;
        margin-left: 0;
    }

    .photos3 {
        flex-direction: column;
        align-items: center;
    }

    .photos3 img {
        width: 100%;
        height: auto;
        margin-left: 0;
    }
    .photos2 p {
        max-width: 100%;
        text-align: center;
        font-size: 12px;
    }
    .photos3 p {
        max-width: 100%;
        text-align: center;
        font-size: 12px;
    }

    #Digital, #Rundum-Service, #Kundenorientiert, #Sicherheit {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .photos2 img {
        width: 100%;
        height: auto;
    }

    .photos2 p {
        font-size: 10px;
    }
    .photos3 img {
        width: 100%;
        height: auto;
    }

    .photos3 p {
        font-size: 10px;
    }
    .email2 {
        width: 100%;
    }

    .email2 img {
        width: 15px;
    }

    .email2 a {
        font-size: 12px;
    }
}
    @media (max-width: 1500px) {
        .photos2 img {
            width: 450px;
            height: 350px;
        }

        .photos2 p {
            max-width: 350px;
            font-size: 18px;
        }

        .photos2 {
            gap: 250px;
        }


.photos3 img {
    width: 450px;
    height: 350px;
}

.photos3 p {
    max-width: 350px;
    font-size: 18px;
}

.photos3 {
    gap: 250px;
}
}

    @media (max-width: 1400px) {
        .photos2 img {
            width: 425px;
            height: 325px;
        }

        .photos2 p {
            max-width: 325px;
            font-size: 17px;
        }

        .photos2 {
            gap: 100px;
        }

.photos3 img {
    width: 425px;
    height: 325px;

}

.photos3 p {
    max-width: 325px;
    font-size: 17px;
}

.photos3 {
    gap: 225px;
}
}

    @media (max-width: 1200px) {
        .photos2 img {
            width: 400px;
            height: 300px;
        }

        .photos2 p {
            max-width: 300px;
            font-size: 16px;

        }

        .photos2 {
            gap: 150px;
        }
        .photos3 img {
            width: 400px;
            height: 300px;
        }

        .photos3 p {
            max-width: 300px;
            font-size: 16px;
            margin-right: 400px;
        }

        .photos3 {
            gap: 150px;
        }
    }

    @media (max-width: 992px) {
        .photos2 img {
            width: 300px;
            height: 225px;
        }

        .photos2 p {
            max-width: 250px;
            font-size: 14px;


        }

        .photos2 {
            gap: 100px;
        }
        .photos3 img {
            width: 300px;
            height: 225px;
            margin-left: 50px;
            margin-right: 50px;
        }

        .photos3 p {
            max-width: 250px;
            font-size: 14px;

            margin-right: 90px;
        }

        .photos3 {
            gap: 100px;
        }
    }

    @media (max-width: 768px) {
        .photos2 {
            flex-direction: column;
            align-items: center;
            margin-right: 50px;
        }

        .photos2 img {
            width: 100%;
            height: auto;
            margin-left: 0;
        }

        .photos2 p {
            max-width: 100%;
            text-align: center;
            font-size: 12px;
        }

        .photos2 {
            gap: 10px;
        }
        .photos3 {
            flex-direction: column;
            align-items: center;
            margin-right: 50px;
        }

        .photos3 img {
            width: 100%;
            height: auto;
            margin-left: -200px;
            margin-right: 200px;
        }

        .photos3 p {
            max-width: 100%;
            text-align: center;
            font-size: 12px;
        }

        .photos3 {
            gap: 100px;
        }
 .navbarr{
     text-align: left;
 }

    }

    @media (max-width: 576px) {
        .photos2 img {
            width: 100%;
            height: auto;
        }

        .photos2 p {
            font-size: 10px;
            margin-right: 200px;
        }

        .photos2 {
            gap: 20px;
        }
        .photos3 img {
            width: 100%;
            height: auto;
            margin-left: -100px;
        }

        .photos3 p {
            font-size: 100px;
        }

        .photos3 {
            gap: 20px;
        }
    }


@media (max-width: 768px) {
    .kundenorientiert, .sicherheit {
        text-align: left;
    }
}


@media (max-width: 500px) {

    #Kundenorientiert .photos2, #Sicherheit .photos2 {
        gap: 100px;
    }

    #kundenorientiert p{
        margin-right: 200px;
    }
}


@media (max-width: 768px) {
    .kundenorientiert, .sicherheit {
        text-align: left; /
    }
}

@media (max-width: 768px) {
    .photos3 img {
        margin-left: -20px;
    }
}

#EINFÜHRUNG {
    margin-top: -60px;
}