/*
Theme Name: Haagdesign
Theme URI: https://haag-webdesign.de
Description: Child Theme für Twenty Twenty-Five
Author: Sabine Haag
Author URI: https://haag-webdesign.de
Template: twentytwentyfive
Version: 1.0
Text Domain: haagdesign
*/
/* 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: 50px;
	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-red.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;
}

/**
* Scroll to anker smooth
*/
/*========================
Navigation und anker IDs
=========================*/
#anfang, #section2, #section3,#section3-opener, #section4, #section5, #section6, #section7, #section8, #section9 {
	display: block;
	min-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%;
	overflow: hidden;
}
/*  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);
}
/* Slide up */
/* Effekte */
.slideup_1, .slideup_2, .slideup_3, .slideup_4, .slideup_5, .slideup_6 {
	position: absolute;
}
.slideup_1 {
	top: 3vh;
	-webkit-animation: slide-up_1 linear;
	animation: slide-up_1 linear;
	-webkit-animation-duration: 1.6s;
	animation-duration: 1.6s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	z-index: 111;
}
@keyframes slide-up_1 {
	0% { transform: translateY(70vh); }
	100% { transform: translateY(0); }
	0%   { opacity: 0; }
	100% { opacity: 1; }
}
@-webkit-keyframes slide-up_1 {
	0% { -webkit-transform: translateY(70vh); }
	100% { -webkit-transform: translateY(0); }
}
.slideup_2 {
	top: 8vh;
	-webkit-animation: slide-up_2 linear;
	animation: slide-up_2 linear;
	-webkit-animation-duration: 2.0s;
	animation-duration: 2.0s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	z-index: 111;
}
@keyframes slide-up_2 {
	0% { transform: translateY(85vh); }
	100% { transform: translateY(0); }
	0%   { opacity: 0; }
	100% { opacity: 1; }
}
@-webkit-keyframes slide-up_2 {
	0% { -webkit-transform: translateY(85vh); }
	100% { -webkit-transform: translateY(0); }
}
.slideup_3 {
	top: 10vh;
	-webkit-animation: slide-up_3 linear;
	animation: slide-up_3 linear;
	-webkit-animation-duration: 2.2s;
	animation-duration: 2.2s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	z-index: 111;
}
@keyframes slide-up_3 {
	0% { transform: translateY(85vh); }
	100% { transform: translateY(0); }
	0%   { opacity: 0; }
	100% { opacity: 1; }
}
@-webkit-keyframes slide-up_3 {
	0% { -webkit-transform: translateY(85vh); }
	100% { -webkit-transform: translateY(0); }
}
.slideup_4 {
	top: 25vh;
	-webkit-animation: slide-up_4 linear;
	animation: slide-up_4 linear;
	-webkit-animation-duration: 2.5s;
	animation-duration: 2.5s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	z-index: 111;
}
@keyframes slide-up_4 {
	0% { transform: translateY(90vh); }
	100% { transform: translateY(0); }
	0%   { opacity: 0; }
	100% { opacity: 1; }
}
@-webkit-keyframes slide-up_4 {
	0% { -webkit-transform: translateY(90vh); }
	100% { -webkit-transform: translateY(0); }
}
.slideup_5 {
	top: 30vh;
	-webkit-animation: slide-up_5 linear;
	animation: slide-up_5 linear;
	-webkit-animation-duration: 2.6s;
	animation-duration: 2.6s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	z-index: 111;
}
@keyframes slide-up_5 {
	0% { transform: translateY(95vh); }
	100% { transform: translateY(0); }
	0%   { opacity: 0; }
	100% { opacity: 1; }
}
@-webkit-keyframes slide-up_5 {
	0% { -webkit-transform: translateY(95vh); }
	100% { -webkit-transform: translateY(0); }
}
.slideup_6 {
	top: 35vh;
	-webkit-animation: slide-up_6 linear;
	animation: slide-up_6 linear;
	-webkit-animation-duration: 2.8s;
	animation-duration: 2.8s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	z-index: 111;
}
@keyframes slide-up_6 {
	0% { transform: translateY(95vh); }
	100% { transform: translateY(0); }
	0%   { opacity: 0; }
	100% { opacity: 1; }
}
@-webkit-keyframes slide-up_6 {
	0% { -webkit-transform: translateY(95vh); }
	100% { -webkit-transform: translateY(0); }
	0%   { opacity: 0; }
	100% { opacity: 1; }
}
/* Farbwechsel Hintergrund */
.bg-col-bleu-mauve {
	animation: white-blu-change 10s infinite;
}
@keyframes white-blu-change {
  0% {
	background-color: rgba(232,225,255,1);
  }
  25% {
	background-color: rgba(232,244,255,1);
  }
  75% {
	background-color: rgba(225,255,248,1);
  }
  100% {  
	background-color: rgba(232,225,255,1);
  }
}
/* FadeIn in Viewport Effekt */
/* Das Element startet unsichtbar und leicht verschoben */
.fade-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Zustand, wenn das Element sichtbar ist */
.fade-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}
