/*
Theme Name: Hello Biz Child
Theme URI: https://github.com/elementor/hello-biz-child/
Description: Hello Biz Child is a child theme of Hello Biz, created by Elementor team
Author: Elementor Team
Template: hello-biz
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Version: 1.0.0
Stable tag: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-biz-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready, style-variations
*/

/* Add your custom styles here */

/*
 * Keep wheel/touch scroll chained through GSAP-pinned sections.
 * Elementor page CSS sets overscroll-behavior:none on these containers, which
 * can trap wheel input in Chrome/Firefox while a ScrollTrigger pin is active.
 */
body.elementor-page-4654 .scroll-container,
body.elementor-page-4654 .scroll-content,
body.elementor-page-440 .scroll-container,
body.elementor-page-440 .scroll-content {
	overscroll-behavior: auto !important;
	overscroll-behavior-x: auto !important;
	overscroll-behavior-y: auto !important;
}

body.elementor-page-4654 .scroll-container,
body.elementor-page-440 .scroll-container {
	touch-action: pan-y;
}

body.elementor-page-4654 .sticky-footer,
body.elementor-page-440 .sticky-footer {
	position: fixed;
	right: auto !important;
	left: 50% !important;
	width: 100vw !important;
	max-width: none;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	flex-wrap: nowrap;
	gap: clamp(20px, 5vw, 72px);
	background: transparent;
	transform: translateX(-50%);
	z-index: 1000;
	transition: opacity 0.3s ease;
	opacity: 0;
	pointer-events: none;
}

body.elementor-page-4654 .sticky-footer #year-display,
body.elementor-page-440 .sticky-footer #year-display {
	--width: 100%;
	width: 100% !important;
	max-width: none;
	box-sizing: border-box;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: space-between;
	align-items: flex-end;
	gap: clamp(12px, 2.5vw, 44px);
	margin-inline: auto;
	padding: 0 clamp(28px, 4vw, 72px);
}

body.elementor-page-4654 .sticky-footer.visible,
body.elementor-page-440 .sticky-footer.visible {
	opacity: 1;
	pointer-events: auto;
}

body.elementor-page-4654 .year,
body.elementor-page-440 .year {
	box-sizing: border-box;
	flex: 0 0 auto;
	border-top-left-radius: 999px;
	border-top-right-radius: 999px;
	cursor: pointer;
	line-height: 1;
	text-align: center;
	transition: background 0.3s ease, color 0.3s ease;
	white-space: nowrap;
	width: auto !important;
}

body.elementor-page-4654 .year .elementor-heading-title,
body.elementor-page-440 .year .elementor-heading-title {
	font-size: inherit !important;
	line-height: inherit;
	white-space: nowrap;
}

body.elementor-page-4654 .year.active,
body.elementor-page-440 .year.active {
	background: #fff;
	color: #000;
}

body.elementor-page-4654 .year.active .elementor-heading-title,
body.elementor-page-440 .year.active .elementor-heading-title {
	color: #000 !important;
}

@media (min-width: 769px) {
	body.elementor-page-4654 #ueber-uns,
	body.elementor-page-440 #ueber-uns {
		height: auto !important;
		min-height: calc(100vh - var(--footer-height));
		overflow: visible;
	}

	body.elementor-page-4654 #nachhaltigkeit,
	body.elementor-page-440 #nachhaltigkeit {
		height: auto !important;
		min-height: calc(100vh - var(--header-height) - var(--footer-height));
		overflow: visible;
	}

	body.elementor-page-4654 .sticky-footer,
	body.elementor-page-440 .sticky-footer {
		bottom: 0 !important;
		height: 80px;
		padding-inline: 32px;
	}

	body.elementor-page-4654 .sticky-footer #year-display,
	body.elementor-page-440 .sticky-footer #year-display {
		gap: clamp(20px, 3vw, 56px);
		padding-inline: clamp(48px, 6vw, 96px);
	}

	body.elementor-page-4654 .year,
	body.elementor-page-440 .year {
		padding: 28px 24px 18px;
		font-size: clamp(34px, 2.9vw, 50px);
	}
}

@media (min-width: 768px) {
	body.elementor-page-2114 #referenzen-scroller .slide > .elementor-widget-container,
	body.elementor-page-4706 #referenzen-scroller .slide > .elementor-widget-container {
		--e-transform-translateX: -55% !important;
	}
}

@media (max-width: 768px) {
	body.elementor-page-4654 .sticky-footer,
	body.elementor-page-440 .sticky-footer {
		bottom: 0 !important;
		width: 100vw !important;
		height: 58px;
		padding-inline: 0;
		gap: 0;
		align-items: flex-end;
		overflow: visible;
	}

	body.elementor-page-4654 .sticky-footer #year-display,
	body.elementor-page-440 .sticky-footer #year-display {
		width: 100vw !important;
		max-width: none;
		justify-content: space-between;
		gap: clamp(2px, 1.3vw, 7px);
		padding-inline: 18px;
	}

	body.elementor-page-4654 .year,
	body.elementor-page-440 .year {
		min-width: 0;
		padding: 11px 3px 8px;
		font-size: clamp(14px, 4.35vw, 18px);
	}

	body.elementor-page-4654 .year.active,
	body.elementor-page-440 .year.active {
		padding-inline: 8px;
	}
}

@media (max-width: 767px) {
	body.elementor-page-2114 #referenz-name,
	body.elementor-page-4706 #referenz-name {
		max-width: 100vw;
		padding-inline: 22px;
	}

	body.elementor-page-2114 #referenz-name .elementor-heading-title,
	body.elementor-page-4706 #referenz-name .elementor-heading-title {
		font-size: clamp(24px, 7.7vw, 38px) !important;
		line-height: 1.05;
		hyphens: none;
		overflow-wrap: normal;
		text-wrap: balance;
		word-break: normal;
	}

	body.elementor-page-2114 .elementor-element-12c570f3.e-con,
	body.elementor-page-4706 .elementor-element-61c070be.e-con {
		--e-con-transform-translateX: 60%;
	}

	body.elementor-page-2114 #referenzen-scroller .slide > .elementor-widget-container,
	body.elementor-page-4706 #referenzen-scroller .slide > .elementor-widget-container {
		--e-transform-translateX: -45% !important;
	}
}
