main.main:has(.scroll-bound) {
	overflow: visible;
}

body:has(.scrollVideo > .loadingScreen:not(.hidden)) {
	overflow: hidden;
}

main.main > .neos-contentcollection > .section:has(.scroll-bound) {
	max-width: none;
}

body:has(.scrollVideo) {
	background-color: transparent;
}

.main:has(.scrollVideo) {
	position: relative;
}

.main:has(.scrollVideo)::before {
	content: "";
	position: absolute;
	top: 500vh;
	left: 0;
	width: 100%;
	height: calc(100% - 510vh);
	background-color: #fff;
	z-index: -1;
}

.scrollVideo {
	background-color: #002b37;
	height: 500vh;
	z-index: -2;
	position: relative;
}

.scrollVideo:has(.loadingScreen:not(.hidden)) {
	height: 100vh;
}

.scroll-bound {
	height: 510vh;
	max-width: 1920px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

.scroll-bound::before,
.scroll-bound::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 250px;
	height: 100%;
	z-index: 1;
	transition: opacity 0.2s;
	opacity: 1;
}

@media (max-width: 1920px) {
	.scroll-bound::before,
	.scroll-bound::after {
		opacity: 0;
	}
}

.scroll-bound::before {
	content: "";
	left: 0;
	background: linear-gradient(to left, transparent, #002b37);
}

.scroll-bound::after {
	content: "";
	right: 0;
	background: linear-gradient(to right, transparent, #002b37);
}

.scroll-bound .loadingScreen {
	position: absolute;
	top: 0;
	left: 50%;
	width: 100vw;
	height: 100vh;
	background-color: #002b37;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100;
	opacity: 1;
	transition: opacity 0.5s;
	transform: translateX(-50%);
}

.scroll-bound .loadingScreen::after {
	content: "";
	width: 500px;
	height: 500px;
	max-width: 80vw;
	max-height: 80vh;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" id="Ebene_1" viewBox="0 0 566.93 436.91"><defs><style>.cls-3{stroke-width:0;fill:%23fff}</style></defs><path d="M337.72 201.29H229.2l10.13 33.63h89.71l8.68-33.63z" class="cls-3"/><path d="M293.58 95.06h-20.24l-6.69 14.41 37.45 80.64h33.62l-44.14-95.05z" style="fill:%23bebd00;stroke-width:0"/><path d="m266.65 109.47-37.45 80.64h33.63l20.63-44.44-16.81-36.2z" style="stroke-width:0;fill:%23808321"/><path d="m148.92 341.86.34-42.04h-.25l-15.44 42.04H123.5l-15.02-42.04h-.25l.34 42.04H95.06v-59.41h20.41L129 320.54h.33l12.94-38.09h20.75v59.41h-14.1ZM231.46 297.89c-1.23-1.57-2.84-2.81-4.82-3.73-1.99-.92-3.9-1.38-5.75-1.38-.95 0-1.92.08-2.89.25-.98.17-1.86.49-2.64.96-.78.48-1.44 1.09-1.97 1.85s-.8 1.72-.8 2.9c0 1.01.21 1.85.63 2.52.42.67 1.04 1.26 1.85 1.76s1.78.96 2.89 1.38c1.12.42 2.38.85 3.78 1.3 2.01.67 4.11 1.41 6.29 2.22 2.18.81 4.17 1.89 5.96 3.23s3.27 3.01 4.45 4.99c1.17 1.99 1.76 4.46 1.76 7.43 0 3.41-.63 6.36-1.89 8.85-1.26 2.49-2.95 4.55-5.08 6.17s-4.56 2.83-7.3 3.61a30.82 30.82 0 0 1-8.47 1.17c-4.25 0-8.36-.74-12.33-2.22-3.97-1.48-7.27-3.59-9.9-6.33l9.4-9.57c1.45 1.79 3.37 3.29 5.75 4.49 2.38 1.2 4.74 1.8 7.09 1.8 1.06 0 2.1-.11 3.1-.34 1.01-.22 1.89-.59 2.64-1.09.76-.5 1.36-1.17 1.8-2.01.45-.84.67-1.85.67-3.02s-.28-2.07-.84-2.85c-.56-.78-1.36-1.5-2.39-2.14-1.04-.64-2.32-1.23-3.86-1.76a238.6 238.6 0 0 0-5.24-1.72c-1.9-.61-3.76-1.34-5.58-2.18-1.82-.84-3.44-1.92-4.87-3.23-1.43-1.31-2.57-2.91-3.44-4.78-.87-1.87-1.3-4.15-1.3-6.84 0-3.3.67-6.12 2.01-8.47 1.34-2.35 3.11-4.28 5.29-5.79s4.64-2.62 7.38-3.31c2.74-.7 5.51-1.05 8.31-1.05 3.36 0 6.78.62 10.28 1.85 3.5 1.23 6.56 3.05 9.19 5.45l-9.15 9.65ZM313.12 341.86v-24.84h-23.16v24.84h-14.35v-59.41h14.35v22.49h23.16v-22.49h14.35v59.41h-14.35ZM369.93 341.86v-59.41h14.43v59.41h-14.43ZM471.87 300.74c0 3.47-.64 6.39-1.93 8.77s-3.02 4.29-5.2 5.75-4.7 2.52-7.55 3.19c-2.85.67-5.82 1.01-8.89 1.01h-7.13v22.4h-14.35v-59.41h21.82c3.24 0 6.28.32 9.1.96 2.82.64 5.29 1.68 7.38 3.11s3.75 3.3 4.95 5.62c1.2 2.32 1.8 5.19 1.8 8.6Zm-14.35.08c0-1.4-.28-2.54-.84-3.44a6.008 6.008 0 0 0-2.26-2.1c-.95-.5-2.03-.84-3.23-1.01-1.2-.17-2.45-.25-3.73-.25h-6.29v14.01h6.04a21 21 0 0 0 3.86-.34c1.23-.22 2.34-.61 3.31-1.17.98-.56 1.75-1.3 2.31-2.22.56-.92.84-2.08.84-3.48Z" class="cls-3"/></svg>');
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	animation: loading 2s infinite;
}

.scroll-bound .loadingScreen.hidden {
	opacity: 0;
}

@keyframes loading {
	0%, 100% {
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		transform: translate(-50%, -50%) scale(1.1);
	}
}


.scroll-bound .content {
	height: 100vh;
	width: 100%;
	position: sticky;
	top: 0;
	display: flex;
}

.scroll-bound img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.scroll-bound .scrollIcon {
	width: 91px;
	height: 91px;
	display: block;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, -40%);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='91' height='91' fill='none'%3E%3Cpath fill='%23D9D800' d='M45.166 65.259a2.513 2.513 0 0 0-2.513 2.513V82.32l-4.763-4.165a2.512 2.512 0 1 0-3.308 3.783l8.93 7.81a2.507 2.507 0 0 0 1.652.621h.002c.587 0 1.177-.205 1.653-.622l8.925-7.81a2.511 2.511 0 1 0-3.309-3.781l-4.758 4.163V67.771a2.51 2.51 0 0 0-2.51-2.512ZM66.646 45.39V16.599C66.646 7.777 59.47.601 50.65.601H39.68c-8.822 0-16 7.176-16 15.997v28.793c0 8.82 7.178 15.998 16 15.998h10.97c8.82 0 15.996-7.177 15.996-15.998Zm-5.026 0c0 6.052-4.921 10.974-10.971 10.974h-10.97c-6.05 0-10.973-4.922-10.973-10.973V16.598c0-6.05 4.923-10.972 10.974-10.972h10.97c6.05 0 10.97 4.922 10.97 10.972v28.793Z'/%3E%3Cpath fill='%23D9D800' d='M45.166 14.85a2.513 2.513 0 0 0-2.513 2.513v7.466a2.513 2.513 0 1 0 5.026 0v-7.466a2.513 2.513 0 0 0-2.513-2.513Z'/%3E%3C/svg%3E");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 1;
	transition: opacity .3s;
}

.scroll-bound .scrollIcon.animate {
	animation: bounce 2s 3;
	animation-delay: 0.5s;
}

.scroll-bound .scrollIcon.hidden {
	opacity: 0;
}

@keyframes bounce {
	0%, 100% {
		transform: translate(-50%, -40%);
	}
	50% {
		transform: translate(-50%, -20%);
	}
}
