/* Hauptmenü: Button neben der Sprachwahl, Vollbild-Menü in Piet-Rot */
.piet-nav-toggle {
	position: absolute;
	top: 28px;
	right: 116px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 5px;
	background: #fff;
	cursor: pointer;
}
.piet-nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: var(--primary, #671213);
}
.piet-nav-toggle:focus-visible,
.piet-nav-close:focus-visible,
.piet-nav-list a:focus-visible {
	outline: 2px solid var(--yellow, #f4ebd0);
	outline-offset: 3px;
}
.piet-nav-toggle:focus-visible { outline-color: var(--primary, #671213); }

.piet-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 100px 24px 48px;
	overflow-y: auto;
	background: var(--primary, #671213);
	font-family: Anaheim, Helvetica, Arial, Lucida, sans-serif;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility 0s linear .3s;
}
.piet-nav-overlay.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s ease;
}
.piet-nav-close {
	position: absolute;
	top: 28px;
	right: 60px;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(244, 235, 208, .4);
	border-radius: 5px;
	background: transparent;
	color: var(--yellow, #f4ebd0);
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
}
.piet-nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.piet-nav-list li { padding: 0; }
.piet-nav-list a {
	display: inline-block;
	padding: 10px 0;
	color: var(--yellow, #f4ebd0);
	font-size: 48px;
	line-height: 1.2;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	transition: opacity .3s ease;
}
.piet-nav-list a:hover { opacity: .75; }
.piet-nav-list a[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 8px;
	text-decoration-thickness: 2px;
}
.piet-nav-contact {
	margin: 40px 0 0;
	padding: 0;
	color: var(--yellow, #f4ebd0);
	font-size: 20px;
	line-height: 1.6;
}
.piet-nav-contact a {
	color: var(--yellow, #f4ebd0);
	text-decoration: none;
}
html.piet-nav-locked,
html.piet-nav-locked body { overflow: hidden; }

@media screen and (max-width: 1180px) {
	.piet-nav-toggle { right: 106px; width: 46px; height: 46px; gap: 5px; }
	.piet-nav-toggle span { width: 20px; }
}
@media screen and (max-width: 980px) {
	.piet-nav-toggle { top: 20px; }
	.piet-nav-close { top: 20px; right: 30px; width: 46px; height: 46px; font-size: 30px; }
	.piet-nav-list a { font-size: 38px; }
}
@media screen and (max-width: 767px) {
	/* Rechts ist neben Logo und Sprachwahl kein Platz: links neben den Telefon-Button */
	.piet-nav-toggle { right: auto; left: 52px; width: 44px; height: 44px; }
	.piet-nav-close { top: 10px; right: 20px; width: 44px; height: 44px; }
	.piet-nav-list a { font-size: 30px; padding: 8px 0; }
	.piet-nav-contact { font-size: 18px; }
}
/* Lange Überschriften (z. B. „Datenschutzerklärung“) auf dem Handy mit
   Silbentrennung statt hartem Umbruch mitten im Wort */
@media screen and (max-width: 767px) {
	h1, h2 {
		-webkit-hyphens: auto;
		hyphens: auto;
	}
	/* Trennstelle per &shy; vorgegeben (Datenschutz-erklärung statt Datenschutzer-klärung) */
	h1.piet-hyphen-manual {
		-webkit-hyphens: manual;
		hyphens: manual;
	}
}
@media (prefers-reduced-motion: reduce) {
	.piet-nav-overlay, .piet-nav-overlay.is-open { transition: none; }
}
