/* Effekte */
.fadeIn {
	-webkit-animation: fade linear;
	animation: fade linear;
	-webkit-animation-duration: 3s;
	animation-duration: 3s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
}
@keyframes fade {
	0%   { opacity: 0; }
	50%   { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes turny {
0% { transform: rotateY(0deg); }
25% { transform: rotateY(90deg); }
50% { transform: rotateY(0deg); }
75% { transform: rotateY(-90deg); }
100% { transform: rotateY(0deg); }
}
.schleife-y {
-webkit-animation-name: turny;
-webkit-animation-duration: 5s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-name: turny;
animation-duration: 5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
.contain {
	object-fit: contain;
}
/* Ende Effekte */

/**
* totop Pfeil smooth einblenden und scollen
*/

.totop {
	position: fixed;
	bottom: 100px;
	right: 12px;
	display: none;  /*fade in mit hk_smoothscroll.js */
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 3.0rem;
	height: 3.0rem;
	padding: 0;
	margin: 0 auto 0 auto !important; 
	z-index: 200;
}
.totop a {
	display: block;
	width: 2.9rem;
	height: 2.9rem;
	background-image: url("../graphics/totop-black.svg");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}
@media screen and (min-width: 990px) {
	.totop a:hover {
		background-image: url("../graphics/totop-blue.svg");
		-webkit-transition: background 1s ease-in-out;
		-moz-transition: background 1s ease-in-out;
		-ms-transition: background 1s ease-in-out;
		-o-transition: background 1s ease-in-out;
		transition: background 1s ease-in-out;
	}
}
.totop a:focus:not(.wp-block-button__link) {
	display: block;
	width: 2.9rem !important;
	height: 2.9rem !important;
	background-color: transparent !important;
	background-image: url("../graphics/totop-black.svg") !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	background-position: center !important;
	outline: 0px !important;
}
.wp-block-button__link:focus {
	outline: 0px !important;
}
/**
* down Pfeil <p> scroll to id section
*/
.down, .wdown {
	display: block; 
	width: 2.0rem;
	height: 2.0rem;
	margin: 0 auto 20px auto;
	z-index: 200;
	animation-name: hovering;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
} /* hovering siehe effekte */
.down a, .wdown a {
	display: block; 
	width: 2.0rem;
	height: 2.0rem;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
		-webkit-transition: background 1s ease-in-out;
		-moz-transition: background 1s ease-in-out;
		-ms-transition: background 1s ease-in-out;
		-o-transition: background 1s ease-in-out;
		transition: background 1s ease-in-out;
}
.down a {
	background-image: url("../graphics/down.svg");
}
.wdown a {
	background-image: url("../graphics/down-white.svg");
}
@media screen and (min-width: 768px) {
	.down a:hover, .wdown a:hover {
		background-image: url("../graphics/down-mo.svg");
		background-position: bottom left;
	}
}
@keyframes hovering {
    from {transform:translate(0, 0px);}
    50% {transform:translate(0, -10px);}
    to {transform: translate(0, -0px);}
}

/**
* Scroll to anker smooth
*/
/*========================
Navigation und anker IDs
=========================*/
#anfang, #section2, #section3,#section3-opener, #section4, #section5, #section6, #section7, #section8, #section9 {
	display: block;
	height: 4rem;
}
.scroll-to, .scroll-to-home, .scroll-to-white, .scroll-to-home-white {
	display: block;
	position: relative;
	width: 30px;
	height: 80px;
	margin: 0;
	padding: 10px 0 0 10px;
	background-color: transparent !important;
	outline: 0px !important;
}
.scroll-to a:focus:not(.wp-block-button__link), .scroll-to-home a:focus:not(.wp-block-button__link), .scroll-to-white a:focus:not(.wp-block-button__link), .scroll-to-home-white a:focus:not(.wp-block-button__link) {
	background-color: transparent !important;
	outline: 0px !important;
}
.scroll-to-home, .scroll-to-home-white {
	top: 60vh;
}
.scroll-to::before, .scroll-to-home::before, .scroll-to-white::before, .scroll-to-home-white::before {
	content: 'scroll';
	display: block;
	text-transform: uppercase;
	font-size: small;
	transform: rotate(90deg);
}
.scroll-to::after, .scroll-to-home::after, .scroll-to-white::after, .scroll-to-home-white::after {
	content: '';
	display: block;
	width: 2px;
	height: 30px;
	margin: 0 0 0 0px;
	animation-name: hovering-scroll;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}
.scroll-to::before, .scroll-to-home::before {
	color: rgb(0, 0, 0);
}
.scroll-to-white::before, .scroll-to-home-white::before {
	color: rgb(255, 255, 255);
}
.scroll-to::after, .scroll-to-home::after {
	background: rgb(0, 0, 0);
}
.scroll-to-white::after, .scroll-to-home-white::after {
	background: rgb(255, 255, 255);
}
@keyframes hovering-scroll {
    from {transform:translate(0, 0px);}
    50% {transform:translate(0, 20px);}
    to {transform: translate(0, 0px);}
}
/*========================
Transformationen
=========================*/
/*  Element von Perspektive bis komplett in viewport */
.persp1 {   /*Elternelement z.B. section*/
	-webkit-perspective: 300px;
	-moz-perspective: 300px;
	perspective: 300px;
	-webkit-perspective-origin: 25% 75%;
	-moz-perspective-origin: 25% 75%;
	perspective-origin: 25% 75%;
}
/*  transformscroll.js  */
.fadescroll {
	transition: all 800ms;
	opacity: 0.2;
}
.fade {
	opacity: 1;
}
.drehenscroll, .gedreht, .drehenscroll_right, .gedreht_right {
	font-size: 4rem;
	font-weight: 700;
	color: white;
}
@media screen and (max-width: 768px) {
	.drehenscroll, .gedreht, .drehenscroll_right, .gedreht_right {
	font-size: 3.0rem;
	}
}
.drehenscroll {
	transition: all 800ms;
	-webkit-transform: rotateX(5deg) rotateY(3deg) rotateZ(3deg) translateX(-50%);
	-moz-transform: rotateX(5deg) rotateY(3deg) rotateZ(3deg) translateX(-50%);
	transform: rotateX(5deg) rotateY(3deg) rotateZ(3deg) translateX(-50%);
}
.gedreht {
	-webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateX(0);
	-moz-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateX(0);
	transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateX(0);
}
.drehenscroll_right {
	transition: all 800ms;
	-webkit-transform: rotateX(10deg) rotateY(5deg) rotateZ(5deg) translateX(50%);
	-moz-transform: rotateX(10deg) rotateY(5deg) rotateZ(5deg) translateX(50%);
	transform: rotateX(10deg) rotateY(5deg) rotateZ(5deg) translateX(50%);
}
.gedreht_right {
	-webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateX(0);
	-moz-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateX(0);
	transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateX(0);
}