

.parent {
    width: 32%;
    height: 400px;
    overflow: hidden;
    
}

.banner2 .parent {
    width: 49%;
}

.child {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    position: relative;
}

.wrapper a, 
.wrapper h2 {
    display: none;
    font-size: 30px;
    color: #ffffff !important;
    font-family: sans-serif;
    text-align: center;
    margin: auto;
    position: absolute;
    top: 20%;
    left: 0;
    bottom: 0;
    right: 0;
    height: 50px;
    
    /*text-decoration: none;*/
}

.wrapper h3 {
    display: none;
    font-size: 20px;
    color: white;
    font-family: sans-serif;
    text-align: center;
    margin: auto;
    position: absolute;
    top: 45%;
    left: 0;
    bottom: 0;
    right: 0;
    height: 50px;
    
    /* cursor: pointer; */
    /*text-decoration: none;*/
}


.parent:hover .child, 
.parent:focus .child {
    -ms-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.parent:hover .child:before, 
.parent:focus .child:before {
    display: block;
}

.parent:hover a, 
.parent:focus a,
.parent:hover h2, 
.parent:focus h2,
.parent:hover h3, 
.parent:focus h3
 {
    display: block;
}


.child:before {
    content: "";
    display: none;
    height: 100%;
    width: 100%;
    /* position: absolute;
    top: 0;
    left: 0; */
}


.child::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:var(--color-dark); /* Halbtransparente blaue Farbe */
    opacity: 60%;
    pointer-events: none; /* Klicks passieren durch das Overlay hindurch */
}

.child:hover::after {
    background-color: transparent; /* Überlagerung wird transparent */
}



.ValuesMobil {
    display: none;
}

.ValuesDesktop {
    display: flex;
}

@media (max-width: 800px) {

.parent {
    width: 100%;
}

.banner2 .parent {
    width: 100%;
}


.ValuesMobil {
    display: flex;
}

.ValuesDesktop {
    display: none;
}
}