.quick-nav_wrapper {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 11;
	transition: right 300ms ease, background-color 300ms ease;
	right: -90px;
	background-color: transparent; /* Startet transparent */
}

.quick-nav_wrapper.scroll {
	right: 0;
}

.nav-box {
	right: 0 !important;
	position: relative;
	height: 60px;
	display: block;
	margin-bottom: 5px;
	padding: 8px;
	aspect-ratio: 1;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-box .nav-box_icon {
	width: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	aspect-ratio: 1;
}

.nav-box .nav-box_icon svg {
	width: 46px;
	height: 46px;
}

.nav-box:hover .nav-box_content {
	display: flex;
	flex-direction: column;
	height: auto;
	width: fit-content;
	padding: 20px;
	align-items: flex-start;
}

.nav-box_content {
	display: none;
	position: absolute;
	right: 100%;
	top: 0;
	width: auto;
	height: 100%;
	white-space: nowrap;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	background-color: #fff;
	font-size: 16px;
	font-weight: 600;
	color: #626262;
}

.quick-nav_wrapper .nav-box_content a {
	color: #626262;
	text-decoration: underline;
}

/* Fokus-Styles für Barrierefreiheit */
.nav-box a:focus-visible {
	outline: 3px solid #0073aa;
	outline-offset: 2px;
	z-index: 1;
}

/* Skip-Links und Anchor-Links Unterstützung */
:target {
	scroll-margin-top: 120px;
}

@keyframes pop_up {
	0% {
		transform: scale(0.8);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* prefers-reduced-motion für Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
	.quick-nav_wrapper,
	.nav-box,
	.nav-box_content {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}

/* Breakpoint Settings */

@media (max-width: 768px) {
	.quick-nav_wrapper {
		top: auto;
		bottom: -90px;
		right: 0;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 20px;
		transform: translateY(0);
		transition: bottom 300ms ease;
		background-color: transparent;
	}

	.quick-nav_wrapper.scroll {
		bottom: 0;
	}

	.nav-box {
		width: 60px;
		height: 60px;
		margin-bottom: 0 !important;
		display: inline-block;
		transition: none;
	}

	.nav-box .nav-box_icon {
		width: 100%;
		height: 100%;
		aspect-ratio: auto;
	}

	.nav-box_content {
		display: none;
	}

	.nav-box:hover .nav-box_content {
		display: none;
	}
}
