/* --- Floating "back to top" button (Startseite only) --- */

.back-to-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 400;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: #ffffff;
	border: 1px solid #edd5b3;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .3s ease, transform .3s ease, visibility 0s .3s;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity .3s ease, transform .3s ease, visibility 0s;
}

.back-to-top:hover,
.back-to-top:focus-visible {
	background: #fbfaf3;
}

.back-to-top svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: #77511c;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
	.back-to-top {
		transform: none;
		transition: opacity .2s linear, visibility 0s .2s;
	}
	.back-to-top.is-visible {
		transition: opacity .2s linear, visibility 0s;
	}
}
