

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
}



.leistungsbox { 
    text-align: left;
    display: block;
    margin-top: 15px;
    border: 0px solid var(--tertiary);
    color: var(--primary);
    background-color: var(--tertiary);
    margin-bottom: 15px; 
    width: 45%; 
    margin-left: 1.5%; 
    margin-right: 1.5%; 
}


@media (min-width: 576px) {
	.leistungsbox { margin-bottom: 15px; width: 30%; margin-left: 1.5%; margin-right: 1.5%; }
}

@media (min-width: 992px) {
	.leistungsbox { margin-bottom: 15px; width: 20%; margin-left: 2.5%; margin-right: 2.5%; }
}

.leistungsbox .infotext { padding: 15px 15px 15px 15px; }

.leistungsbox img { margin-bottom: 0px; }

.leistungsbox a { display: block; }

.leistungsbox a, a h3 { color: var(--primary)!important; text-decoration: none; }
.leistungsbox a:hover, a:hover h3 { color: var(--secondary) !important; text-decoration: none !important; }

.leistungsbox .infotext p { color: var(--primary) !important; margin-bottom: 0px; }

.leistungsbox .fill {
    background-position: center top !important;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    background-size: 100%;
    -o-background-size: 100%;
    background-repeat: no-repeat;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.leistungsbox a:hover .fill {
    background-position: center top !important;
    -webkit-background-size: 120%;
    -moz-background-size: 120%;
    background-size: 120%;
    -o-background-size: 120%;
    background-repeat: no-repeat;
}


.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
}

.fillattachment {
    background-attachment: fixed;
}



.photo_mask {
    position: relative;
    display: block;
    line-height: 0;
    overflow: hidden;
    padding-top: 120%;
}
.photo_mask .mask {
	background: -webkit-linear-gradient(left, #ba0d14, #e31c1a, #ffcb20);
	background: -o-linear-gradient(left, #ba0d14, #e31c1a, #ffcb20);
	background: linear-gradient(to right, #ba0d14, #e31c1a, #ffcb20);
}
.mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 101%;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.leistungsbox:hover .photo_mask .mask {
    opacity: 0.7;
    filter: alpha(opacity=9);
}

span.mask_info {
    display: block;
	width: 100%;
    height: 55px;
    line-height: 30px;
    text-align: center;
    font-size: 15px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    position: absolute;
    left: 50%;
    top: 50%;
	margin-left: -50%;
    z-index: 1;
    font-weight: 600;
}


.photo_mask .mask_info {
    top: 55%;
    position: absolute;
    border: 0px solid none;
    color: var(--zero);
	background-image: url("../images/design/zoom.svg");
	background-position: center;
	background-size: 0px;
	background-repeat: no-repeat; 
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    -ms-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}



.leistungsbox:hover .photo_mask .mask_info {
    top: 45%;
    opacity: 1;
    filter: alpha(opacity=100);
	background: url("../images/design/zoom.svg");
	background-position: center;
	background-size: 50px;
	background-repeat: no-repeat; 
}