/* Primelux mobile menu — full-screen panel, scrollable body, pinned footer */
.pmm {
	--pmm-gold: #fdb200;
	--pmm-bg: #111111;
	--pmm-line: rgba(255, 255, 255, 0.08);
	--pmm-text: #ffffff;
	--pmm-muted: #a3a3a6;
	--pmm-head: 62px;
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	background: var(--pmm-bg);
	color: var(--pmm-text);
	font-family: "DM Sans", "Noto Sans", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.pmm.is-open {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.pmm *,
.pmm *::before,
.pmm *::after { box-sizing: border-box; }
.pmm a { text-decoration: none; color: inherit; }
.pmm a,
.pmm button { -webkit-tap-highlight-color: transparent; }
/* The Elementor kit styles every button (padding, radius, black bg, pink hover/focus); undo it here. */
#pmm button,
#pmm button:hover,
#pmm button:focus,
#pmm button:active {
	font: inherit;
	color: inherit;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0;
	min-height: 0;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
#pmm button:focus-visible,
#pmm a:focus-visible { outline: 2px solid var(--pmm-gold); outline-offset: 2px; }

/* Head */
.pmm__head {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: var(--pmm-head);
	padding: 10px 20px;
	padding-top: max(10px, env(safe-area-inset-top));
	border-bottom: 1px solid var(--pmm-line);
}
.pmm__logo img { display: block; height: 36px; width: auto; }
#pmm .pmm__close,
#pmm .pmm__close:hover,
#pmm .pmm__close:focus,
#pmm .pmm__close:active {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50% !important;
	background: var(--pmm-gold) !important;
	color: #111 !important;
	flex: 0 0 auto;
}
.pmm__close svg { width: 18px; height: 18px; }

/* Scrollable body */
.pmm__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 8px 20px 24px;
}
.pmm__list,
.pmm__sub { list-style: none; margin: 0; padding: 0; }
.pmm__item { border-bottom: 1px solid var(--pmm-line); }
.pmm__row { display: flex; align-items: stretch; }
.pmm__link {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	min-height: 58px;
	padding: 12px 0;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.25;
	text-align: start;
	overflow-wrap: anywhere;
}
/* #pmm beats the kit's link colours (that's where the purple hover came from). */
#pmm .pmm__link,
#pmm .pmm__link:visited,
#pmm .pmm__link:focus { color: var(--pmm-text); transition: color 0.18s ease, border-color 0.18s ease, padding 0.18s ease; }
#pmm .pmm__link.is-current,
#pmm .pmm__item.is-expanded > .pmm__row .pmm__link,
#pmm .pmm__link:active { color: var(--pmm-gold); }
#pmm .pmm__row:active .pmm__toggle { color: var(--pmm-gold) !important; }
@media (hover: hover) {
	#pmm .pmm__link:hover,
	#pmm .pmm__row:hover .pmm__link,
	#pmm .pmm__row:hover .pmm__toggle { color: var(--pmm-gold) !important; }
}
#pmm .pmm__toggle {
	color: var(--pmm-text) !important;
	flex: 0 0 48px;
	width: 48px;
	display: grid;
	place-items: center;
	margin-inline-end: -12px;
}
.pmm__toggle svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.pmm__item.is-expanded > .pmm__row .pmm__toggle svg { transform: rotate(180deg); }

/* Submenu: collapsed with grid-rows so it animates to its real height */
.pmm__subwrap {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.25s ease;
}
.pmm__item.is-expanded > .pmm__subwrap { grid-template-rows: 1fr; }
.pmm__subwrap > .pmm__sub {
	overflow: hidden;
	min-height: 0;
	visibility: hidden;
	transition: visibility 0s linear 0.25s;
}
.pmm__item.is-expanded > .pmm__subwrap > .pmm__sub { visibility: visible; transition: none; }
.pmm__sub .pmm__item { border-bottom: 0; }
.pmm__sub > .pmm__item:last-child { padding-bottom: 12px; }
.pmm__sub .pmm__link {
	min-height: 44px;
	padding: 10px 0 10px 14px;
	padding-inline: 14px 0;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	border-inline-start: 1px solid var(--pmm-line);
}
#pmm .pmm__sub .pmm__link,
#pmm .pmm__sub .pmm__link:visited,
#pmm .pmm__sub .pmm__link:focus { color: rgba(255, 255, 255, 0.82); }
#pmm .pmm__sub .pmm__link.is-current,
#pmm .pmm__sub .pmm__link:active { color: var(--pmm-gold); border-inline-start-color: var(--pmm-gold); padding-inline-start: 20px; }
@media (hover: hover) {
	#pmm .pmm__sub .pmm__link:hover { color: var(--pmm-gold) !important; border-inline-start-color: var(--pmm-gold); padding-inline-start: 20px; }
}

/* Pinned footer */
.pmm__foot {
	flex: 0 0 auto;
	padding: 14px 20px;
	padding-bottom: max(14px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--pmm-line);
	background: var(--pmm-bg);
	display: grid;
	gap: 12px;
}
.pmm__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 54px;
	padding-block: 6px;
	padding-inline: 24px 6px;
	border-radius: 999px;
	background: var(--pmm-gold);
	color: #111 !important;
	font-size: 16px;
	font-weight: 600;
}
.pmm__cta-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	flex: 0 0 auto;
}
.pmm__cta-icon svg { width: 16px; height: 16px; }
[dir="rtl"] .pmm__cta-icon svg { transform: scaleX(-1); }
.pmm__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
/* Phone sits in the head, between logo and close. */
.pmm__logo { margin-inline-end: auto; flex: 0 0 auto; }
#pmm .pmm__phone,
#pmm .pmm__phone:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid rgba(253, 178, 0, 0.45);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	color: var(--pmm-text) !important;
	direction: ltr;
	flex: 0 0 auto;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}
#pmm .pmm__phone:active { background: rgba(253, 178, 0, 0.12); border-color: var(--pmm-gold); }
@media (hover: hover) {
	#pmm .pmm__phone:hover { background: rgba(253, 178, 0, 0.12); border-color: var(--pmm-gold); }
}
.pmm__phone svg { width: 16px; height: 16px; color: var(--pmm-gold); flex: 0 0 auto; }
/* Small phones: slightly smaller logo, number without the pill border. */
@media (max-width: 419px) {
	.pmm__logo img { height: 30px; }
	#pmm .pmm__phone,
	#pmm .pmm__phone:visited { padding: 0 2px; gap: 6px; border-color: transparent; font-size: 13.5px; }
}
/* Very narrow phones: icon only. */
@media (max-width: 359px) {
	#pmm .pmm__phone,
	#pmm .pmm__phone:visited { width: 42px; padding: 0; justify-content: center; border-color: rgba(253, 178, 0, 0.45); }
	.pmm__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.pmm__langs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pmm__lang {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 3px;
	border-radius: 50%;
	border: 1.5px solid transparent;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--pmm-muted) !important;
}
.pmm__lang img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	opacity: 0.7;
	transition: opacity 0.15s ease;
}
.pmm__lang.is-active { border-color: var(--pmm-gold); }
.pmm__lang.is-active img,
.pmm__lang:hover img { opacity: 1; }

/* Page behind the panel */
html.pmm-locked,
html.pmm-locked body { overflow: hidden !important; }
/* The floating WhatsApp bubble would sit on top of the footer. */
html.pmm-locked .ht-ctc,
html.pmm-locked .ht_ctc_chat_area { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	.pmm, .pmm.is-open, .pmm__subwrap, .pmm__toggle svg { transition: none; }
}

/* ---------- Desktop nav (.pmd) ---------- */
.elementor-widget-container:has(> .pmd) { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.pmd {
	--pmd-gold: #fdb200;
	--pmd-line: rgba(255, 255, 255, 0.09);
	font-family: "DM Sans", "Noto Sans", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}
.pmd *, .pmd *::before, .pmd *::after { box-sizing: border-box; }
.pmd__list,
.pmd__sub { list-style: none; margin: 0; padding: 0; }
.pmd__list {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 5px;
	background: #000;
	border: 1px solid var(--pmd-line);
	border-radius: 999px;
}
.pmd__item { position: relative; }

/* Links and buttons share one look; the kit styles every button, so reset hard. */
.pmd .pmd__link,
.pmd .pmd__link:visited,
.pmd .pmd__link:hover,
.pmd .pmd__link:focus,
.pmd .pmd__link:active {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 42px;
	margin: 0;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	font: 500 15px/1 "DM Sans", "Noto Sans", system-ui, sans-serif;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	color: #fff !important;
	cursor: pointer;
	transition: color 0.18s ease, background-color 0.18s ease;
	-webkit-tap-highlight-color: transparent;
}
.pmd .pmd__link.is-current { color: var(--pmd-gold) !important; }
.pmd .pmd__link:hover,
.pmd .pmd__item.is-open > .pmd__link {
	color: var(--pmd-gold) !important;
	background: rgba(255, 255, 255, 0.07) !important;
}
.pmd .pmd__link:focus-visible,
.pmd .pmd__sublink:focus-visible { outline: 2px solid var(--pmd-gold); outline-offset: 2px; }
.pmd__chev { width: 12px; height: 12px; flex: 0 0 auto; transition: transform 0.2s ease; }
.pmd__item.is-open > .pmd__link .pmd__chev { transform: rotate(180deg); }

/* Dropdown panel */
.pmd__drop {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	z-index: 1000;
	min-width: 260px;
	padding: 8px;
	background: #111;
	border: 1px solid var(--pmd-line);
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
/* Invisible bridge so the pointer can cross the gap without closing it. */
.pmd__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.pmd__item.is-open > .pmd__drop {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
.pmd .pmd__sublink,
.pmd .pmd__sublink:visited {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	border-radius: 11px;
	font: 400 14.5px/1.3 "DM Sans", "Noto Sans", system-ui, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.82) !important;
	transition: color 0.15s ease, background-color 0.15s ease;
}
.pmd .pmd__sublink:hover,
.pmd .pmd__sublink:focus {
	color: var(--pmd-gold) !important;
	background: rgba(255, 255, 255, 0.06);
}
.pmd .pmd__sublink.is-current { color: var(--pmd-gold) !important; }

/* Language switcher */
.pmd img.pmd__flag { width: 20px !important; height: 20px !important; max-width: none; border-radius: 50% !important; object-fit: cover; flex: 0 0 auto; }
.pmd__lang .pmd__drop { min-width: 200px; left: auto; right: 0; transform: translateY(6px); }
.pmd__lang.is-open > .pmd__drop { transform: none; }
[dir="rtl"] .pmd__lang .pmd__drop { right: auto; left: 0; }

/* Header fixes for the desktop layout only (phones/tablets keep Elementor's own layout). */
@media (min-width: 1025px) {
	/* "Jetzt Buchen" wrapped onto two lines on laptops. */
	.elementor-location-header .elementor-element-e507280 .elementor-heading-title { white-space: nowrap; }
	.elementor-location-header .elementor-element-e507280,
	.elementor-location-header .elementor-element-69ced9d { flex-shrink: 0 !important; }
	/* Right-hand group (phone + CTA) sizes to its content instead of a fixed width. */
	.elementor-location-header .elementor-element-d778be8 { width: auto !important; flex-shrink: 0 !important; }
	.elementor-location-header .elementor-element-a2df5c1 .elementor-heading-title { white-space: nowrap; }
}
@media (max-width: 1366px) {
	.pmd .pmd__link,
	.pmd .pmd__link:hover,
	.pmd .pmd__link:focus,
	.pmd .pmd__link:active { padding: 0 13px !important; font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
	.pmd__drop, .pmd__item.is-open > .pmd__drop, .pmd__chev { transition: none; }
}
