/* =============================================================================================
   ITEM COVER TEXT
   Nur Cover, Text, Typografie und Animation
============================================================================================= */
/* =============================================================================================
   COVER BASIS
============================================================================================= */
.header-slider-bg .cover {
	position:absolute;
	display:flex;
	align-items:center;
	justify-content:center;
	width:auto;
	height:auto;
	max-width:1200px;
	z-index:10;
}


/* Cover links */
.header-slider-bg .cover.left {
	top:60%;
	left:10%;
	transform:none;
}


/* Cover rechts */
.header-slider-bg .cover.right {
	top:30%;
	right:45%;
	transform:none;
}


/* Cover Mitte */
.header-slider-bg .cover.center {
	top:40%;
	left:35%;
	transform:translate(-50%, -50%);
	text-align:center;
}


/* Small Header */
.header-slider-bg.small .cover.center {
	top:25%;
}


/* =============================================================================================
   CONTENT BASIS
============================================================================================= */
.header-slider .content {
	position:relative;
	display:block;
	z-index:10;
	text-align:left;
}


.header-slider .content.left,
.header-slider .content.right {
	display:block;
	text-align:left;
}


.header-slider-bg .content.center {
	text-align:center;
}


/* =============================================================================================
   SUBTITLE / TITEL BASIS
============================================================================================= */
.content .content-sub {
	position:absolute;
	top:-1.2em;
	left:0;
	z-index:3;
	font-family:"Tenor Sans", sans-serif;
	font-size:2.4em;
	font-weight:400;
	line-height:1.2;
	text-transform:uppercase;
	color:#fff;
	white-space:nowrap;
}


/* Haupttitel */
.content .cont-title {
	position:relative;
	z-index:11;
	padding-top:0.5rem;
	font-family:"Montserrat", sans-serif;
	font-size:2.8em;
	font-weight:500;
	line-height:1.2;
	letter-spacing:0;
	text-transform:uppercase;
	color:#fff;
	text-shadow:2px 2px 4px rgba(0,0,0,0.5);
}


/* =============================================================================================
   SLIDE REVEAL ANIMATION
============================================================================================= */
.title-mask {
	display:block;
	overflow:hidden;
}


.slide-reveal {
	opacity:0;
	transform:translateY(40px) scale(0.95);
	filter:blur(6px);
	transition:
		transform 1s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 2s ease,
		filter 2s ease;
}


.slide-reveal.start {
	opacity:1;
	transform:translateY(0) scale(1);
	filter:blur(0);
}


/* Verzögerungen */
.delay-1 {
	transition-delay:0.05s;
}

.delay-2 {
	transition-delay:0.15s;
}

.delay-3 {
	transition-delay:0.25s;
}

.delay-4 {
	transition-delay:0.35s;
}


/* =============================================================================================
   FADE IN / FADE OUT
============================================================================================= */
.header-slider-bg.small .content-sub-1,
.header-slider-bg.small .content-sub-2 {
	opacity:0;
	transform:translateY(20px);
}


.slide-reveal.start {
	animation:fadeInText 0.8s ease-out forwards;
}


@keyframes fadeInText {
	0% {
		opacity:0;
		transform:translateY(20px);
	}

	100% {
		opacity:1;
		transform:translateY(0);
	}
}


.header-slider-bg.small .slide-reveal.start.fade-out {
	animation:fadeOutText 1s ease-out forwards;
}


@keyframes fadeOutText {
	to {
		opacity:0;
		transform:translateY(-10px);
	}
}


/* =============================================================================================
   CONTENT-SUB-1 / CONTENT-SUB-4
============================================================================================= */
.content .content-sub-1,
.content .content-sub-4 {
	display:block;
	width:100%;
	text-align:center;
}


/* erste Zeile */
.content .content-sub-1 {
	position:absolute;
	top:1em;
	left:0;
	z-index:9;
	width:100%;
	margin:0;
	font-family:"Tenor Sans", sans-serif;
	font-size:4.4em;
	font-weight:400;
	line-height:1;
	text-transform:none;
	color:#fff;
	white-space:nowrap;
	text-shadow:1px 1px 2px #000;
}


/* Handschrift */
.content .content-sub-4 {
	position:relative;
	z-index:3;
	margin-top:0;
	margin-bottom:0;
	font-family:"Intervensi", cursive;
	font-size:8em;
	line-height:1.2;
	white-space:normal;
}


.content .content-sub-4 span {
	display:block;
	background:
		url(../images/button-texture-small.jpg)
		no-repeat
		center top;

	-webkit-background-clip:text;
	-webkit-text-fill-color:transparent;
}


/* =============================================================================================
   CONTENT-SUB-2
============================================================================================= */
.content .content-sub-2 {
	position:absolute;
	top:1em;
	left:0.5em;
	z-index:3;
	margin-top:4rem;
	font-family:"Intervensi", sans-serif;
	font-size:6.4em;
	font-weight:400;
	line-height:1;
	text-transform:none;
	color:#fff;
	white-space:nowrap;
	text-shadow:1px 1px 2px #000;
}


/* =============================================================================================
   CONTENT-SUB-3
============================================================================================= */
.content .content-sub-3 {
	position:absolute;
	top:1em;
	left:0;
	z-index:3;
	margin-top:8rem;
	font-family:"Intervensi", sans-serif;
	font-size:6.4em;
	font-weight:400;
	line-height:1;
	text-transform:none;
	color:#fff;
	white-space:nowrap;
}


/* =============================================================================================
   CONTENT-SUB-5
============================================================================================= */
.content .content-sub-5 {
	position:absolute;
	top:1em;
	left:0;
	z-index:3;
	margin-top:8rem;
	font-family:"Intervensi", sans-serif;
	font-size:6.4em;
	font-weight:400;
	line-height:1;
	text-transform:none;
	color:#fff;
	white-space:nowrap;
}


/* =============================================================================================
   TABLET GROSS – 992–1024px
============================================================================================= */
@media (min-width: 992px) and (max-width: 1024px) {

    .header-slider .header-slider-bg .cover.center {
        top: 40%;
        left: 50%;
        width: 100%;
        max-width: none;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .header-slider .content {
        width: 100%;
    }

    .header-slider .header-slider-bg .content-sub-1 {
        left: 0;
        width: 100%;
        text-align: center;
    }

    .header-slider .header-slider-bg .content-sub-2 {
        left: 0;
        width: 100%;
        text-align: center;
    }
}


@media (min-width: 768px) and (max-width: 991px) {

    /* Gesamten Textblock mittig positionieren */
    .header-slider .header-slider-bg .cover.center {
        top: 50%;
        left: 50%;
        width: 100%;
        max-width: none;
        transform: translate(-50%, -50%);
        text-align: center;
    }


    .header-slider .content {
        position: relative;
        width: 100%;
        text-align: center;
    }


    /* Perfekter Ort */
    .header-slider .header-slider-bg .content-sub-1 {
        position: absolute;
        top: 0;
        left: 0;

        width: 100%;

        font-family: "Tenor Sans", sans-serif;
        font-size: 3.5em;
        font-weight: 400;
        line-height: 1;
        text-transform: none;

        color: #fff;

        text-align: center;
        white-space: nowrap;
    }


    /* zum Geniessen */
    .header-slider .header-slider-bg .content-sub-2 {
        position: absolute;
        top: 0;
        left: 0;

        width: 100%;
        margin-top: 3.5rem;

        font-family: "Intervensi", sans-serif;
        font-size: 4.2em;
        font-weight: 400;
        line-height: 1;
        text-transform: none;

        color: #fff;

        text-align: center;
        white-space: nowrap;

        text-shadow: 1px 1px 2px #000;
    }

}




/* =============================================================================================
   MOBILE – bis 767px
============================================================================================= */
@media (max-width: 767px) {

    .header-slider .header-slider-bg .cover.center {
        top: 60%;
        left: 50%;
        width: 100%;
        max-width: none;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .header-slider .content {
        width: 100%;
    }

    .header-slider .header-slider-bg .content-sub-1 {
        top: 0;
        left: 0;
        width: 100%;
         font-size: 2.6em;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
    }

    .header-slider .header-slider-bg .content-sub-2 {
        top: 0;
        left: 0;
        width: 100%;
        margin-top: 3rem;
        font-size: 4.4em;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
    }
}