/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

#fuz-hero {
	min-height: calc(var(--vvh, 1vh) * 100) !important;
	transition: 0.3s ease-in-out;
}

/* Modern: dynamische Viewport-Höhen, wo unterstützt */
#fuz-hero {
  min-height: 100svh; /* iOS 16+ dynamisch */
  min-height: 100dvh; /* moderne Browser dynamisch */
}

/* JS-Fallback: wird überschrieben, sobald --vvh gesetzt ist */
#fuz-hero {
  min-height: calc(var(--vvh, 1vh) * 100);
}

/* Optional, wenn du wirklich exakt füllen willst (kein innerer Scroll): */
/* .fuz-hero { height: calc(var(--vvh, 1vh) * 100); } */

/* Optional für Notch-Geräte */
#fuz-hero {
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/*Navbar Frontapge*/

.home #fuz-navbar {
	position: fixed;
	z-index: 10;
	width: 100vw;
	transition: 0.5s ease-in-out;
	transform: translatey(-100%);
}

.home.fuz-body-scrolled #fuz-navbar {
	transform: translatey(0);
}

/*Frontpage Hero Lang Switcher*/

#fuz-hero .fuz-lang-switcher-dropdown .wpml-ls {
	width: auto;
}

#fuz-hero .fuz-lang-switcher-dropdown .wpml-ls ul {
	border: none;
}

#fuz-hero .fuz-lang-switcher-dropdown .wpml-ls ul,
#fuz-hero .fuz-lang-switcher-dropdown .wpml-ls ul a {
	background-color: transparent;
}


#fuz-hero .fuz-lang-switcher-dropdown .wpml-ls ul a {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 48px;
	width: 48px;
	border-radius: 500px;
	border: 2px solid white;
	padding: 0;
}

#fuz-hero .fuz-lang-switcher-dropdown .wpml-ls ul a span {
	color: white;
	text-transform: uppercase;
	font-weight: 600;
}

#fuz-hero .fuz-lang-switcher-dropdown .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle::after {
	display: none;
}

#fuz-hero ul.wpml-ls-sub-menu {
	padding-top: 16px;
}


#fuz-hero ul.wpml-ls-sub-menu a.wpml-ls-link {
	background-color: #f6b235;
	box-shadow: 0 0 4px rgba(100,100,100,0.5);
	transition: 0.3s ease-in-out;
} 

#fuz-hero ul.wpml-ls-sub-menu a.wpml-ls-link:hover {
	transform: scale(1.1);
}


/*Off Canvas Menu Animation*/

body .fuz-off-canvas-primary-menu li,
body .fuz-offcanvas-lang-and-close,
body .fuz-offcanvas-arrow {
	transform: scale(0);
	transition: 0.5s ease-in-out;
	transform-origin: top right;
}

body .fuz-offcanvas-arrow {
	transform-origin: center;
}

body.e-off-canvas__no-scroll .fuz-off-canvas-primary-menu li,
body.e-off-canvas__no-scroll .fuz-offcanvas-lang-and-close,
body.e-off-canvas__no-scroll .fuz-offcanvas-arrow {
	transform: scale(1);
	transition: 0.3s cubic-bezier(.01,.63,.02,.99);
	transform-origin: top right;
}


body.e-off-canvas__no-scroll .fuz-off-canvas-primary-menu li:nth-child(1) {
	transition-delay: 0.1s;
}

body.e-off-canvas__no-scroll .fuz-off-canvas-primary-menu li:nth-child(2) {
	transition-delay: 0.2s;
}

body.e-off-canvas__no-scroll .fuz-off-canvas-primary-menu li:nth-child(3) {
	transition-delay: 0.3s;
}

body.e-off-canvas__no-scroll .fuz-off-canvas-primary-menu li:nth-child(4) {
	transition-delay: 0.4s;
}

body.e-off-canvas__no-scroll .fuz-off-canvas-primary-menu li:nth-child(5) {
	transition-delay: 0.5s;
}

body.e-off-canvas__no-scroll .fuz-off-canvas-primary-menu li:nth-child(6) {
	transition-delay: 0.6s;
}

body.e-off-canvas__no-scroll .fuz-offcanvas-arrow {
	transition-delay: 0.7s;
}