.start-leistung{
    width: 100%;
    height: max-content;
    align-items: center;
    display: flex;
    margin: 70px auto;
}
.start-leistung img{
    width: 100%;
    height: auto;
}
.leistungs-container{
    background-color: #d5d5d5;
    padding: 20px;
    /*margin-bottom: 50px;*/
}
.leistungs-container .leistung-kachel{
    margin: 40px 0;
}
.overlay{
    position: relative;
    width: 300px;
    height: 300px;
    background-color: white;
    justify-content: center;
    align-items: center;
    display: flex;
}
.overlay hr{
    width: 60px;
    border: 3px solid #bb1e0f;
}
.overlay h2{
    font-size: 1.7em;
    text-align: center;

}
.overlay h2, .underlay h3{
    text-transform: uppercase;
    font-weight: 900;
}
.underlay{
    overflow: scroll;
    opacity: 0;
    transition: 500ms;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 200;
    background: white;
    border: 2px solid grey;
    margin: 12px;
}
.underlay hr{
    width: 40px;
    border: 3px solid #bb1e0f;
}
.underlay p{
    margin: 10px 20px;
}
.underlay h3{
    margin-top: 10px;
    width: 100%;
    text-align: center;
}
.overlay:hover .underlay{
    opacity: 1;
    transition: 500ms;
}
.leistungs-galerie{
    /*height: 700px;*/
    overflow: hidden;
    /*margin: 50px auto;*/
}
.leistungs-galerie .row div{
    padding: 0 !important;
}
.leistungs-galerie img{
    height: 350px;
    width: 100%;
    object-fit: cover;
    transition: 500ms;
    /*filter: brightness(60%);*/
}
/*.leistungs-galerie img:hover{
    transform: scale(1.05);
    transition: 500ms;
    filter: brightness(100%);
}*/

@media (max-width: 767px){
    .leistungs-container .container{
        max-width: 100%;
    }
}
@media (max-width: 677px) {
    .leistungs-container .leistung-kachel{
        margin: 40px;
    }
    .leistungs-container .row{
        align-items: center;
        display: flex;
        justify-content: center;
    }
}
@media (max-width: 410px){
    .leistungs-container h2{
        font-size: 1.6em;
    }
}