/****************************
 * HOME PAGE STYLES
 * *************************/


/***
 * SLIDER
 * **/

.slider {
  position: relative;
  overflow: hidden;
  touch-action: pan-y; /* erlaubt vertikales Scrollen */
}

.slider .slider-section {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1.6s ease;
  pointer-events: none;
  justify-content: space-between;
}

.slider .slider-section.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slider-img {
	max-height: 700px;
	overflow: hidden;
}

.slider-card {
	padding-left: 20px;
}

.img-size-cover {
	height: 100%;
	width: auto;
}

.news-data {
	right: 30px;
  	max-width: 550px;
  	height: 350px;
  	overflow: hidden;
  	top: 90px;
  	box-shadow: -10px 0 10px 2px rgba(0,0,0,0.2);
}

.featured-box {
	width: 100%;
	height: 600px;
}

.featured-picture-box {
	width: 500px;
	height:500px;
	overflow: hidden;
	box-shadow: 0 0 20px -5px rgba(0,0,0,0.5);
}

@media screen and (max-width: 1199px) {
	.featured-picture-box {width: 50%; height: auto;}
}

@media screen and (max-width: 990px) {
	.slider {height: auto;}
	.slider-section {flex-direction: column;}
	.slider-card {padding: 0 !important;}
	.news-data {height: auto; top:68%;}
}