.m-scroll-to-top {
	position: fixed !important;
	right: var(--space-m);
	bottom: -5rem;
	z-index: 999;
	transition: bottom 2.6s, color 0.6s, background-color 0.6s, box-shadow 0.6s;
	/* Weißer Ring und Schein: bleibt auch über der dunklen Anmelde-Box sichtbar (Ring 3 : 1 gegen die Fläche). */
	box-shadow:
		0 0 0 2px var(--paper-white),
		0 0 1rem 0.25rem rgb(255 255 255 / 0.85),
		0 0.25rem 1rem rgb(0 0 0 / 0.25);
	border-radius: 50%;
	width: 3rem;
	height: 3rem;
	color: var(--light);
	background-color: var(--cool1);

	&.is-active {
		bottom: 2rem;
	}

	&:hover,
	&:focus-visible {
		background-color: var(--cool2);
		box-shadow:
			0 0 0 2px var(--paper-white),
			0 0 1.25rem 0.4rem rgb(255 255 255 / 0.95),
			0 0.25rem 1rem rgb(0 0 0 / 0.25);
		color: var(--light);
	}

	/* Dunkler Grund: Linien hell, zweite Ebene bleibt die Buttonfarbe */
	& .l-icon {
		--icon-line: var(--cool9);
		--icon-size: 70%;
		position: absolute;
		inset: 15%;
		margin: 0;
	}
}

@media (min-width: 1200px) {
	.m-scroll-to-top {
		right: calc(((100% - var(--container-max-width))/2) + 2em);
	}

}

.m-scroll-to-top--no-svg {
	display: block;
}

.h-svg .m-scroll-to-top--no-svg {
	display: none !important;
}

