@charset "utf-8";
/* CSS Document */
@media screen and (max-width: 800px) {
	html, body{
		margin:0;
		padding:0;
		width: 100%;
		justify-content: center;
		align-items: center;
		/*overflow:hidden;*/
		}
	.header1{
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding:2%;
		background: linear-gradient(20deg, grey, lightgrey, darkred);
		height: auto;
		border-top: 2px solid white;
		color: white;
		font-family:'HelveticaBold';
		font-size: 4vw;
		text-align: center;
		}	
	.flex-container {
		flex-direction: column;
		justify-content: center;
		align-content: center;
		align-items: center;
	 	}
	.flex-container1 {
	 	display: flex;
	  	flex-direction: row;
		justify-content: center;
		align-items: center;
		} 	
  /* Logos */
	.flex-item {
		flex: auto;
		flex-grow: 1;
		text-align: center;
		padding: 6% 4% 6% 4%;
		-webkit-transform: scale(1.2);
		-moz-transform: scale(1.2);
		-ms-transform: scale(1.2);
		-o-transform: scale(1.2);
		transform: scale(1.2);
		}
/*	.flex-item img{
	width: 80%;
}
	.flex-item-l2 {
	width: 60%;
}
	.flex-item-l1 {
	width: 50%;
}*/
	.flex-item-l1 {
		flex: auto;
		flex-grow: 1;
		text-align: center;
		padding: 6% 4% 6% 4%;
		-webkit-transform: scale(1.2);
		-moz-transform: scale(1.2);
		-ms-transform: scale(1.2);
		-o-transform: scale(1.2);
		transform: scale(1.2);
		}
	.flex-item-l2 {
		flex: auto;
		flex-grow: 1;
		text-align: center;
		padding: 6% 4% 6% 4%;
		-webkit-transform: scale(1.2);
		-moz-transform: scale(1.2);
		-ms-transform: scale(1.2);
		-o-transform: scale(1.2);
		transform: scale(1.2);
		}
	.flex-item-l1 img{
		width: 50%;
		}
	.flex-item-l2 img{
		width: 60%;
		}
	
	.flex-item4 {
		flex: auto;	
		width: 70%;
		text-align: center;
		border: 2px solid white;
		border-radius: 4px; 
		background: linear-gradient(20deg, grey, lightgrey, darkblue);
		padding:2% 2% 2% 2%;
		margin: 2% 2% 2% 2%;
		font-family:'HelveticaBold';
		font-size: 1.5em;
		color: darkblue;
		}

	.flex-item4 img{
		width: 20%;
		height: auto;
		}
	.flex-item5 {
		flex: auto;	
		width: 70%;
		text-align: center;
		align-items: center;
		justify-content: center;
		padding:2% 2% 2% 2%;
		margin: 2% 2% 2% 2%;
		font-family:'HelveticaBold';
		font-size: 1.5em;
		color: white;
		}
	nav {
		display: none;
		}
	
	.haupt .cont1{
	display: none;
	}
	 .bar1,
	 .bar2,
	 .bar3 {
		align-content: center;  	 
		width: 95%;
		height: 5px;
		background-color: #333;
		margin: 5px 0;
		}
	
	/* Überschriften */
	ub1{
		font-family:'HelveticaBold';
		font-size: 3em;
		color: white;
		}
	ub2{
		font-family:'HelveticaBold';
		font-size: 2em;
		color: white;
		text-align: center;
		}
	ub4{
		font-family:'HelveticaBold';
		font-size: 25px;
    	color: white;	
		}
	/* Werbung */
	#slider-second{
		height: 100%;
		justify-content: center;
		align-items: center;
		}
	#slider-second{
		margin: auto;
		overflow: hidden;
		padding: 20px;
		border: 1px solid rgba(0, 0, 0, 0.15);
		margin-top: 10%;
		margin-bottom: 10%;
		border-radius: 10px;
		box-shadow: 2px 2px 14px rgba(0, 0, 0, 0.25);
		position: relative;
		/*width: 600px;*/
		width: 90%;
		}

/*body { margin: 0; } */
div#slider-second { overflow: hidden; }
div#slider-second figure img { 
	width: 20%; 
	float: left;
	padding: 0 2%}
div#slider-second figure { 
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 30s slidy infinite; 
}
.Kopf{
	justify-content: center;
	align-items: center;
	}
.haupt{
	width:100%;
	height:  auto;
	background: linear-gradient(20deg, darkred, #FE0000, darkred);
	overflow:hidden;
	padding: 6% 0;
    background-size:100%;
	justify-content: center;
	align-items: center;
	float:left;
	border-top: 2px solid white;
	transition:height .2s ease-in-out;
	display: flex; 
	flex-direction: row ;
}
.haupt .grid {
	display: none;
	}
	.klein{}
	.cont1{display: none;}
	.cont2{display: none;}
}
@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}