/* Seiten-Scrollen */
html:root {
	scroll-behavior: auto;
	touch-action: manipulation;
}

@media (prefers-reduced-motion: no-preference) {
	html:root.bb-smooth {
		scroll-behavior: smooth;
	}
}

/* Header */
.elementor-location-header {
	display: contents;
}

.elementor-location-header > .elementor-element-e824ade:not(.elementor-sticky__spacer) {
	position: sticky;
	top: 0;
	z-index: 99;
}

/* Neuladen */
html.bb-hold body,
html.bb-hold body * {
	visibility: hidden !important;
}

/* Seitenübergang */
@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}

	::view-transition-old(root) {
		animation: none;
	}

	::view-transition-new(root) {
		mix-blend-mode: normal;
		animation: bb-vt-in .25s ease both;
	}

	@keyframes bb-vt-in {
		from {
			opacity: 0;
		}
	}
}

/* Top-Leiste */
:is(.elementor-element-4ceb848, .elementor-element-d8c909c) .elementor-headline-dynamic-wrapper {
	display: inline-grid !important;
	width: auto !important;
	transition: none !important;
	vertical-align: top;
}

:is(.elementor-element-4ceb848, .elementor-element-d8c909c) .elementor-headline-dynamic-wrapper .elementor-headline-dynamic-text {
	grid-area: 1 / 1;
	justify-self: center;
	position: relative !important;
	inset: auto !important;
	opacity: 0;
	translate: 0 -.75em;
	animation: none !important;
	transition: opacity .4s cubic-bezier(.4, 0, .6, 1), translate .45s cubic-bezier(.4, 0, .6, 1);
	will-change: opacity, translate;
}

:is(.elementor-element-4ceb848, .elementor-element-d8c909c) .elementor-headline-dynamic-wrapper .elementor-headline-dynamic-text.elementor-headline-text-active {
	opacity: 1;
	translate: 0 0;
	transition: none;
}

:is(.elementor-element-4ceb848, .elementor-element-d8c909c) .elementor-headline-dynamic-wrapper.bb-tk-on .elementor-headline-dynamic-text.elementor-headline-text-active {
	animation: bb-tick-in .6s cubic-bezier(.2, .7, .2, 1) .12s backwards !important;
}

@keyframes bb-tick-in {
	from {
		opacity: 0;
		translate: 0 .75em;
	}
}

@media (prefers-reduced-motion: reduce) {
	:is(.elementor-element-4ceb848, .elementor-element-d8c909c) .elementor-headline-dynamic-wrapper .elementor-headline-dynamic-text {
		translate: none;
	}

	@keyframes bb-tick-in {
		from {
			opacity: 0;
		}
	}
}

