/* audio-popup on presse */
#c446 {
	display: none; 
	position: fixed;
	z-index: 9999;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	justify-content: center;
	align-items: center;
	padding: 30px;
}
.is-visible {
	display: flex !important;
}
#c446 .element-header {
    position: relative;
	display: inline-block;
	margin-bottom: 30px;
}
#c446 .element-header span {
    color: white;
    position: relative;
    z-index: 2;
}
#c446 .element-header::before {
	content: "";
    position: absolute;
    width: calc(100% + 130px);
    height: calc(100% + 17px);
    background: #C00D0D;
    transform: skewX(-10deg);
    z-index: 1;
    top: -11px;
    left: -100px;
}
#c446 .frame-group-container {
	padding: 40px 20px;
	max-width: 90%;
	width: auto;
	box-shadow: 0 10px 40px rgba(0,0,0,0.3);
	position: relative;
	background-color: white;
	overflow: auto;
    max-height: calc(100vh - 60px);
}
#c446 form > fieldset {
	display: flex;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
	margin-bottom: 0.5em;
}
#c446 form > fieldset > legend {
    width: 200px;
	font-weight: 500;
	font-size: var(--bs-body-font-size);
	margin-bottom: 0;
}
#c446 [role="radiogroup"] {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 0;
}
#c446 .form-check {
	margin-right: 1.5em;
	margin-bottom: 0;
	min-height: 0;
}
#c446 .form-check-input:checked, 
#c446 .form-check-label input[type="checkbox"]:checked, 
#c446 .form-check-label input[type="radio"]:checked {
    background-color: #333;
    border-color: #333;
}
#c446 .form-element-gridrow label {
    display: none;
}
#c446 .form-actions {
    margin-top: 0;
}


#flipbook-scroll-container {
    width: 100%;
    position: relative;
	height: 1200px;
	max-height: calc(100vh - 180px);
    perspective: 2000px;
    transform-style: preserve-3d;
}
.page-previous,
.page-next {
	position: absolute;
    top: 50%;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
	color: white;
	cursor: pointer;
}
.page-previous {
	left: -80px;
}
.page-next {
	right: -80px;
}
.page-previous::before,
.page-next::before {
	content: "";
	width: 25px;
	height: 25px;
	border-top: 1px solid white;
    border-left: 1px solid white;
	transition: all 0.4s;
}
.page-previous:hover::before,
.page-next:hover::before {
	width: 20px;
	height: 20px;
	border-top-color: #e0e0e0;
	border-left-color: #e0e0e0;
}
.page-previous::before {
	transform: rotate(-45deg);
	margin-left: 11px;
}
.page-next::before {
	transform: rotate(135deg);
	margin-right: 6px;
}
.page-previous::after,
.page-next::after {
	content: "";
	width: 100%;
	height: 100%;
	opacity: 0;
	background-color: white;
	border-radius: 50%;
	transition: all 0.4s;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
.page-previous:hover::after,
.page-next:hover::after {
	opacity: 1;
}


.flip-hover-zone-right,
.flip-hover-zone-left {
    position: absolute;
    top: 20%;
    height: 60%;
    width: 60px;
    cursor: ew-resize;
    background: transparent;
    z-index: 100;
}
.flip-hover-zone-right {
    right: 0;
}
.flip-hover-zone-left {
    left: 0;
}
#flipbook {
    transition: transform 0.2s ease-out;
}
#flipbook-scroll-container.tilt-right #flipbook {
    transform-origin: 100% 50%;
    transform: rotateY(-8deg);
}
#flipbook-scroll-container.tilt-left #flipbook {
    transform-origin: 0% 50%;
    transform: rotateY(8deg);
}
.flip-click-zone-left,
.flip-click-zone-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 90;
    background: transparent;
}
.flip-click-zone-left {
    left: 0;
}
.flip-click-zone-right {
    right: 0;
}
.flip-click-zone-left,
.flip-click-zone-right {
    cursor: ew-resize;
}


#flipbook {
	height: 100%;
	max-width: 100%;
	aspect-ratio: 1.414;
	background-image: url(../Images/brochure/spine.png);
    background-repeat: repeat-y;
    background-position: calc(50% - 1px) 0;
	transition: transform 0.2s ease-out;
}
#flipbook .page-wrapper {
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
}
#flipbook .page {
	width: 100%;
	height: 100%;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
    box-sizing: border-box;
	border: 1px solid #dedede;
}
.page-wrapper[page='2']::after,
.page-wrapper[page='3']::after,
.page-wrapper[page='4']::after,
.page-wrapper[page='5']::after,
.page-wrapper[page='6']::after,
.page-wrapper[page='7']::after {
    position: absolute;
    z-index: 10;
    width: 50px;
    top: 0;
    left: 0;
    content: "";
    height: 100%;
    background: linear-gradient(90deg, #4a4a4a80 0%, #7b7b7b59 20%, transparent 100%);
}
.page-wrapper[page='2']::after,
.page-wrapper[page='4']::after,
.page-wrapper[page='6']::after {
    left: calc(100% - 50px);
    background: linear-gradient(270deg,#4a4a4a80 0%, #7b7b7b59 20%, transparent 100%);
}
#page-1 {
	background-image: url("../Images/brochure/Seite-1.jpg");
}
#page-2 {
	background-image: url("../Images/brochure/Seite-2.jpg");
}
#page-3 {
	background-image: url("../Images/brochure/Seite-3.jpg");
}
#page-4 {
	background-image: url("../Images/brochure/Seite-4.jpg");
}
#page-5 {
	background-image: url("../Images/brochure/Seite-5.jpg");
}
#page-6 {
	background-image: url("../Images/brochure/Seite-6.jpg");
}
#page-7 {
	background-image: url("../Images/brochure/Seite-7.jpg");
}
#page-8 {
	background-image: url("../Images/brochure/Seite-8.jpg");
}

.click-video {
	position: absolute;
    height: auto;
    aspect-ratio: 1.6325;
    object-fit: fill;
	cursor: pointer;
}
#video-3 {
    left: 9.35%;
    top: 25.7%;
    width: 79%;
}
.video-page-5 {
    left: 9.9%;
    top: 10.425%;
    width: 32%;
    border-radius: 7%;
}
#video-5-2 {
    top: 27.6%;
}
#video-5-3 {
    top: 44.75%;
}
#video-5-4 {
    top: 61.86%;
}
#video-5-5 {
    top: 79.05%;
}
#video-7 {
    left: 9.5%;
    top: 36.947%;
    width: 78.7%;
    aspect-ratio: 1.7;
}

.team-hovers {
	opacity: 0;
	position: absolute;
	left: 11.91%;
	width: 28.06%;
	aspect-ratio: 1;
}
.team-hovers:hover {
	opacity: 1;
}
#team-hover-lukas {
	top: 26.85%;
}
#team-hover-bernhard {
	top: 50.292%;
}
#team-hover-jasmin {
	top: 73.478%;
}
.email-hovers {
	position: absolute;
	opacity: 0;
	left: 43%;
	width: 18.87%;
	aspect-ratio: 4.85;
	display: block;
}
#email-hover-lukas {
	top: 44.87%%;
}
#email-hover-bernhard {
	top: 68.39%;
}
#email-hover-jasmin {
	top: 91.58%;
}

#open-form-lightbox {
	position: absolute;
	opacity: 1;
	left: 10%;
	top: 40%;
	width: 80%;
	height: 40%;
	cursor: pointer;
}

@media (max-width: 991px) {
	#flipbook {
		aspect-ratio: 0.707;
	}
	.page-wrapper::after {
		display: none !important;
	}
}
@media (max-width: 767px) {
	#c446 form > fieldset {
		flex-direction: column;
	}
}