

/*###############################################################*/
/*################# Flip container (Mitarbeiter)#################*/
/*###############################################################*/



.th3_flip_container { 
  /*width: 100%;*/
  height: 300px;
  position: relative;
  /*perspective: 800px;*/
  min-width: 250px;
  width: calc(20% - 6px);
  float: left;
  margin-right: 6px;
  margin-top: 6px;
/*  perspective: 1000;*/
}


.card {
  /*width: calc(20% - 6px);*/
  width: 100%;
  height: 100%;
  /*min-width: 200px;*/
  /*float: left;*/
/*  margin-right: 6px;
  margin-top: 6px;*/
/*   
  */
-webkit-backface-visibility: hidden;
         backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform 1.1s;

}

.card div {

  margin: 0;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  min-width: 200px;
  backface-visibility: hidden;  
}


.card .front {
/*-webkit-backface-visibility: hidden;*/
/*    backface-visibility: hidden;*/
    -webkit-transform-style: preserve-3d;
     transform-style: preserve-3d;
  background: var(--grau);
  background-repeat: no-repeat;
  background-size: cover;
/*  background-size: 97%;*/
  background-position: center;
/*  background-position: 97%;*/
  position: absolute;
  top: 0;
  left: 0;
}


.gruppenflip .card .front {
/*-webkit-backface-visibility: hidden;*/
/*    backface-visibility: hidden;*/
/*    -webkit-transform-style: preserve-3d;
     transform-style: preserve-3d;*/
  background: var(--grau);
  background-repeat: no-repeat;
/*  background-size: cover;*/
  background-size: 97%;
  background-position: center;
/*  background-position: 97%;*/
  position: absolute;
  top: 0;
  left: 0;
}






.card .back {
/*		 -webkit-backface-visibility: hidden;*/
/*         backface-visibility: hidden;*/
          -webkit-transform-style: preserve-3d;
         transform-style: preserve-3d;
  background: var(--grau);
  color: #fff;
  /*font-family: 'Open Sans Light';*/
  font-family: 'nr';
  position: absolute;
    top: 0;
  left: 0;
  transform: rotateY( 180deg );


}



.card .back h2, .th3_kachel_headline h2 {
	padding: 35px 10px 10px 20px;
/*	text-align: center;*/
	font-family: 'nb';
	text-transform: uppercase;
	color:#fff;
	
	
}
.card .front h1{
	padding: 245px 10px 10px 15px;
/*	text-align: center;*/
	color:#fff;
	font-family: 'nb';
	
}

.card .back h2 ~ p {
	padding: 10px 20px;
	font-size: 0.8em;
/*	text-align: center;*/
}
.card .back p {

	padding: 30px 20px;
	font-size: 0.8em;
/*	text-align: center;*/
}


/*.card:hover {*/
.th3_flip_container:hover .card, .flip-hover .card {
  transform: rotateY( 180deg );
  min-width: 220px; /* Hiermit wird das Zucken bei Mouseover vermieden*/
  border: 1px solid #fff;/* Hiermit wird das Zucken bei Mouseover vermieden*/
  cursor: pointer;
  
}


@media (hover: none) and (pointer: coarse) {

	.th3_flip_container { 

  height: 350px;
  position: relative;
  min-width: 300px;
  max-width: 560px;
  width: 100%;
  float: left;
  margin-right: 6px;
  margin-top: 6px;
/*  perspective: 1000;*/
}


	.card .front {
  		transform: none;
  		display: block;
  		
	}
	.card .back {
/*  		transform: none;
  		display: none;*/
	}

	.th3_flip_container:hover .card, .flip-hover .card {
		  transform: none;
    transform: rotateY(180deg); /* Hinzufügen einer "active"-Klasse zum Drehen der Karte */
	}

	  .th3_flip_container .card {
    transform: rotateY(0); /* Entferne den Flip auf mobilen Geräten */
  }

  .th3_flip_container .card.active {
    transform: rotateY(180deg); /* Hinzufügen einer "active"-Klasse zum Drehen der Karte */
  }

	.th3_flip_container:hover .card .front {
  		transform: none;
/*  		display: none;*/
	}
	.th3_flip_container:hover .card .back {
/*  		transform: none;*/
  		display: block;
  		padding: 10px;
	}


    
}




.ma_icons{
	position: relative;
	max-height: 57px;
	display: inline-block;
	width: auto;
	/*max-width: 130px;*/

	/*left: 50%;*/
	/*-ms-transform: translate(-65px, 10px);*/
	/*-webkit-transform: translate(-65px, 10px);*/
	/*transform: translate(-65px, 10px);*/

/*
	-ms-transform: translate(-50%, 10px);
	-webkit-transform: translate(-50%, 10px);*/
	transform: translate(calc(50% - 70px ), 10px);
	margin: 10px auto 5px auto;
}


.ma_icons.contactSMcenter{
	transform: translate(calc(50% - 30px ), 10px);
}


.contactSM{
	margin-left: 20px;
	width: 50px;
	height: 50px;
	display:block;
	margin: 0 5px 5px 5px;
	background-color: #fff;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%; 
	float: left;
}

/*
.contactSMcenter .contactSM{
	text-align: center;
	transform: translate(calc(50% - 30px ), 10px);
	border: 1px solid #ff00ff;
	
	
}
*/


.contactSM img{
	width: 14px;
	height: auto;
	display:block;
	margin: 11px auto 0 auto;
	transition: .4s;
}


.contactSM img:hover{
	transform: scale(1.3);
}


.contactSM.xi img{
	width: 21px;
	margin: 12px auto 0 auto;
}

.contactSM.mail img{
	width: 32px;
	margin: 12px auto 0 auto;
}



.center-text{
	width: 100%;
}




.th3_kachel_headline{
  position: relative;

    width: calc(20% - 6px);
  height: 300px;
  float: left;
  margin-right: 6px;
  margin-top: 6px;

	 background: #000;
  color: #fff;
  /*font-family: 'Open Sans Light';*/
  font-family: 'osl';
}


/*################# Flip ENDE ###################################*/

