/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
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
*/

body {
	overflow-x: hidden;
}


#content {
	padding-top: 80px !important;
}

.play-icon .elementor-icon svg {
	transform: translatex(3.5px);
}

/*
body .e-n-accordion .e-n-accordion-item-title-icon .e-closed,
body .e-n-accordion .e-n-accordion-item-title-icon .e-opened {
	background-color: var(--e-global-color-8d886a3);
	border-radius: 50%;
	padding: 12px;
	height: 100%;
	width: 100%;
}
*/

body .elementor-widget-n-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}




.hover-animation-container,
.testimonial-box {
  transition: all 0.3s ease;
}

.hover-animation-container:hover {
  transform: translateY(-60px);
}

.case-study-loop-item:hover img,
.testimonial-box:hover {
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.5);
}

.case-study-loop-item img {
  transition: box-shadow 0.3s ease;
}

.custom-image-carousel .swiper,
.custom-image-carousel-white .swiper{
  position: relative;
  overflow: hidden;
}

.custom-image-carousel .swiper::before,
.custom-image-carousel .swiper::after,
.custom-image-carousel-white .swiper::before,
.custom-image-carousel-white .swiper::after{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 99;
  pointer-events: none;
}

.custom-image-carousel .swiper::before {
  left: 0;
  background: linear-gradient(to right, rgba(244, 242, 243, 1), rgba(244, 242, 243, 0.9), transparent);
}

.custom-image-carousel .swiper::after {
  right: 0;
  background: linear-gradient(to left, rgba(244, 242, 243, 1), rgba(244, 242, 243, 0.9), transparent);
}

.custom-image-carousel-white .swiper::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9), transparent);
}

.custom-image-carousel-white .swiper::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9), transparent);
}

@media(max-width: 769px) {
	.custom-image-carousel .swiper::before,
	.custom-image-carousel .swiper::after,
	.custom-image-carousel-white .swiper::before,
	.custom-image-carousel-white .swiper::after{
	  width: 60px;
	}
}


.custom-bento,
.blur-bento {
	transition: all 0.4s ease-in !important;
	overflow: hidden;
	--min-height: max(45vh, 550px);
}

.custom-bento::before {
	z-index: 1;
}

.custom-bento::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: inherit !important;
  transition: all 0.3s ease-in !important;
  z-index: 0 !important;
}

.custom-bento:hover::after {
  transform: scale(1.1) !important;
}

.custom-bento > * {
  position: relative !important;
  z-index: 1 !important;
}

.custom-bento:hover {
	background-size: auto 110% !important;
}


.blur-bento {
  position: relative;
}

.blur-bento::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: 0;
  transition: filter 0.3s ease;
}

.blur-bento::before {
  transition: transform 0.3s ease, filter 0.3s ease 0.1s;
}

.blur-bento:hover::before {
  filter: blur(20px);
}

.blur-bento > * {
  position: relative;
  z-index: 1;
}

.blur-bento .show-on-hover {
	transform: translateX(150%);
	transition: transform 0.3s ease 0.2s;
}

.blur-bento:hover .show-on-hover {
	transform: translateX(0);
}



#content .elementor-widget-heading .elementor-heading-title img {
	width: 77px !important;
	margin-bottom: -0.55em;
	margin-right: -0.25em;
}

@media(max-width: 769px) {
	body .elementor-widget-heading .elementor-heading-title img {
		width: 34px !important;
	}
	
	body .elementor-widget-heading .elementor-heading-title img {
		margin-top: -0.2em;
	}
	body .elementor-widget-heading .elementor-heading-title img.h1-pin-thomas {
			margin-bottom: -0.45em;
		
	}
}

.e-n-menu-content .elementor-widget-heading .elementor-heading-title span,
body .elementor-widget-heading .elementor-heading-title span,
.dialog-widget .elementor-widget-heading .elementor-heading-title span,
body .gradient-text {
	background: linear-gradient(90deg, var(--e-global-color-accent) 0%, var(--e-global-color-732e27a) 70%) !important;
    background-clip: border-box !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	animation: gradient-animation 5s ease infinite !important;
}

@media(min-width: 769px) {
	.usp-accordion .e-n-accordion-item-title-icon {
		display: none;
	}
	.usp-accordion .e-n-accordion-item-title {
		pointer-events: none;
	}
}

@media(max-width: 769px) {
	#footer-main-menu .elementor-nav-menu {
		flex-direction: column !important;
	}
	#footer-main-menu .elementor-nav-menu li,
	#footer-main-menu .elementor-nav-menu li a {
		padding: 0 !important;
		margin: 0 !important;
		margin-top: 10px !important;
		text-align: center !important;
		align-content: center;
		align-items: center;
		justify-content: center;
		justify-items: center;
	}
	
	#main-header-container {
		background-color: var(--e-global-color-8d886a3) !important;
	}
	#main-header-container.mt-mobile-menu-open {
		background-color: #ffffff !important;
		border-bottom-left-radius: 0 !important;
		border-bottom-right-radius: 0 !important;	
	}
	
	#main-header-container .e-n-menu-wrapper {
		padding-top: 40px;
		padding-bottom: 20px;
	}
}

#my-search-icon .elementor-icon-wrapper .elementor-icon {
	border-color: var(--e-global-color-8d886a3) !important;
}

.popup-trigger {
	cursor: pointer !important;
}

.teammitglied-popup-background,
.dialog-widget.dialog-lightbox-widget.dialog-type-lightbox.elementor-lightbox {
	background-color: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.suche-popup-background{
	background-color: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/*
.glass-background {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
*/

.smart-sticky-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	transition: transform 0.3s ease;
}

.smart-sticky-header--hidden {
  transform: translateY(-120%);
}

.smart-sticky-header--active #main-header-container {
	background-color: #ffffff !important;
	box-shadow: 0px 11px 10px -2px rgba(0, 0, 0, 0.16);
}

@media(max-width: 768px) {
	.smart-sticky-header--active #main-header-container {
		background-color: var(--e-global-color-6108f65) !important;
		box-shadow: 0px 11px 10px -2px rgba(0, 0, 0, 0.16);
	}
	
	#markentrainer-main-menu.e-n-menu-mobile .e-n-menu .e-n-menu-wrapper {
		background-color: #ffffff !important;
	}
	
	#markentrainer-main-menu.e-n-menu-mobile .e-n-menu .e-n-menu-wrapper {
		--stretch-width: calc(100vw - 40px) !important;
		--stretch-left: calc(-1 * (100vw - 97px)) !important;
	}
	
	.smart-sticky-header--active #main-header-container.mt-mobile-menu-open {
		background-color: #ffffff !important;
	}
}

.bentos-profile-image img {
	margin-bottom: -30px;
	margin-top: -20px;
}

.social-media-icons .elementor-social-icon:hover .e-font-icon-svg {
	fill: url(#markentrainerGradient) !important;
}

@media(max-width: 768px) {
	.mobile-gradient-bottom-to-top {
		background-image: linear-gradient(0deg, var( --e-global-color-accent ) 0%, var( --e-global-color-732e27a ) 36%) !important;
	}
	
	.box-shadow-on-mobile {
		box-shadow: -1px -20px 10px -7px rgba(0, 0, 0, 0.19); !important;
	}
}

.mt-mobile-menu-title-open,
.elementor-item.elementor-item-active {
	background: linear-gradient(90deg, var(--e-global-color-accent) 0%, var(--e-global-color-732e27a) 70%) !important;
    background-clip: border-box !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	animation: gradient-animation 5s ease infinite !important;
}


/* ===== Mobile Menü scrollbar machen ===== */

/* Elementor Mega Menu – Dropdown-Content */
.elementor-widget-mega-menu .e-nav-menu__content,
.elementor-widget-mega-menu .e-nav-menu__content--dropdown,
.elementor-widget-mega-menu .e-nav-menu__popup,
.elementor-nav-menu--dropdown,
.e-n-menu-wrapper {
  max-height: 100vh !important;
  max-height: 100dvh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}



.cs-switcher {
	position: relative;
	overflow: hidden;
	height: 100%;
}

.cs-switcher__layer {
	transition: opacity .3s ease, visibility .3s ease;
	opacity: 0;
	visibility: hidden;
	height: 100%;
}

.cs-switcher__layer--active {
	opacity: 1;
	visibility: visible;
}

.cs-switcher__layer > .elementor {
	height: 100%;
}

.cs-switcher__hover {
	position: absolute;
	inset: 0;
	z-index: 2;
}

@media(min-width: 769px) {
	.cs-switcher .cs-switcher__layer .elementor-element.e-flex.e-con {
		height: 100%;
	}
}

  /*
   * Basis-CSS für die animierte Section.
   */
@media(min-width: 769px) {
	.discover-wrapper {
	  height: 180vh;                /* 100vh Section + 80vh Scroll-Distanz */
	  overflow: visible;
	  position: relative;
	}

	.discover-row {
	  position: sticky;
	  top: 0;
	  height: 100vh;
	  will-change: clip-path;
	  clip-path: inset(0% round 0px);
	  overflow: hidden;
	}
}


.elementor-element .elementor-button.elementor-button-link::before {
  background-image: linear-gradient(90deg,#00000033 50%,#00000000 0);
  background-position-x: 100%;
  background-size: 200% 200%;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  -webkit-transition: background-position-x 550ms cubic-bezier(0.85,0,0,1);
  transition: background-position-x 550ms cubic-bezier(0.85,0,0,1);
  width: 100%;
	border-radius: 8px;
}

.elementor-element .elementor-button.elementor-button-link:hover::before {
  background-position-x: 0;
}

.elementor-element .elementor-button.elementor-button-link .elementor-button-content-wrapper,
.elementor-element .elementor-button.elementor-button-link .elementor-button-content-wrapper .elementor-button-text{
	z-index: 2;
}


.discover-row > .elementor-background-video-container {
    /* Stellt sicher, dass der clip-path-Ursprung mit der Row übereinstimmt */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: clip-path;
}

.discover-row {
    will-change: clip-path;
}