/*
 * mega-menu.css – Header & Mega-Menü
 *
 * Klassen: .site-nav / .site-nav__* (kein Konflikt mit Elementor-Theme)
 * ID:      #site-header
 *
 * pundZ CI: #e5000f (Primär) | #bebd06 (Sekundär) | #141414 (Text)
 */

/* ── CSS-Variable: Header-Höhe (per JS gesetzt) ─────────────────────────── */
:root {
	--header-height: 112px;
}

/* ════════════════════════════════════════════════════════════════════════════
   .site-nav  –  volle Browserbreite, roter Balken
   ════════════════════════════════════════════════════════════════════════════ */
.site-nav {
	background-color: #e5000f;
	height: 112px;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	transition:
		box-shadow 0.25s ease,
		background-color 0.25s ease;
	z-index: 1030;
}

/* Scroll-State: Navbar bleibt immer rot – kein Farbwechsel */

/* ── Body-Offset ─────────────────────────────────────────────────────────── */
body {
	padding-top: var(--header-height, 112px);
}

/* ════════════════════════════════════════════════════════════════════════════
   .site-nav__container  –  max-width, zentriert
   ════════════════════════════════════════════════════════════════════════════ */
.site-nav__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 112px;
	max-width: 1440px;
	margin-inline: auto;
	padding: 0 2rem;
}

/* ════════════════════════════════════════════════════════════════════════════
   LOGO
   ════════════════════════════════════════════════════════════════════════════ */
.site-nav__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

.site-nav__logo-img {
	height: auto;
	max-height: 70px;
	width: auto;
	display: block;
	transition: max-height 0.25s ease;
}

@media (max-width: 991.98px) {
	.site-nav__logo-img {
		max-height: 48px;
	}
}

/* ════════════════════════════════════════════════════════════════════════════
   DESKTOP-MENÜ  (ab 1400 px)
   ════════════════════════════════════════════════════════════════════════════ */
.site-nav__menu {
	display: none;
	flex: 1;
}

@media (min-width: 1400px) {
	.site-nav__menu {
		display: flex;
		justify-content: center;
	}
}

/* ── Nav-Liste ───────────────────────────────────────────────────────────── */
.nav {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ── Nav-Items ───────────────────────────────────────────────────────────── */
.nav-item {
	margin-right: 35px;
	position: relative;
}

.nav-item:last-child {
	margin-right: 0;
}

.nav-item > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #ffffff;
	text-decoration: none;
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
	transition: color 0.3s;
}

.nav-item > a:hover,
.nav-item.active > a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 2px;
}

/* ── Caret ───────────────────────────────────────────────────────────────── */
.nav-item__caret {
	display: inline-block;
	margin-left: 4px;
	flex-shrink: 0;
	vertical-align: middle;
	transition: transform 0.3s ease;
}

.nav-item.has-mega-menu.is-open > a .nav-item__caret {
	transform: rotate(180deg);
}

/* ════════════════════════════════════════════════════════════════════════════
   REGULÄRES DROPDOWN
   ════════════════════════════════════════════════════════════════════════════ */
.nav-item:hover > .nav-dropdown {
	display: block;
}

.nav-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 99999;
	background: #ffffff;
	padding: 25px 20px 20px;
	box-shadow: 1px 1px 10px -3px #b2b2b2;
	width: max-content;
	list-style: none;
	margin: 0;
}

.nav-dropdown li {
	margin: 0;
	display: block;
}

.nav-dropdown li a {
	display: block;
	color: #141414 !important;
	text-decoration: none;
	font-size: 16px;
	padding: 4px 0;
	transition: color 0.2s;
}

.nav-dropdown li a:hover,
.nav-dropdown li.active a {
	color: #e5000f !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   MEGA-MENÜ  –  full-width Panel
   ════════════════════════════════════════════════════════════════════════════ */
.mega-menu {
	position: fixed;
	top: var(--header-height, 112px);
	left: 0;
	right: 0;
	width: 100%;
	background: transparent;
	box-shadow: 0 8px 32px rgba(20, 20, 20, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	pointer-events: none;
	transition:
		opacity 0.25s ease,
		transform 0.25s ease,
		visibility 0.25s ease;
	z-index: 1020;
}

.nav-item.has-mega-menu.is-open > .mega-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	transition-delay: 0s;
}

/* ── 3-Spalten-Grid ─────────────────────────────────────────────────────── */
.mega-menu__inner {
	display: grid;
	grid-template-columns: 280px 1fr 320px;
	min-height: 400px;
	max-height: calc(100vh - var(--header-height, 112px));
	max-width: 1440px;
	margin-inline: auto;
	background: #ffffff;
}

/* ── Linke Spalte: Kategorie-Tabs ───────────────────────────────────────── */
.mega-menu__categories {
	background: #ffffff;
	border-right: 1px solid #e8e8e8;
	display: flex;
	flex-direction: column;
	padding: 1.5rem 0;
}

.mega-menu__cat {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 1rem 1.5rem;
	cursor: pointer;
	border-left: 3px solid transparent;
	transition:
		background 0.2s ease,
		border-color 0.2s ease;
	user-select: none;
	/* Fallback falls kein ACF-Wert gesetzt */
	--cat-color: #e5000f;
}

/* Hover & Aktiv: linker Balken in CI-Farbe */
.mega-menu__cat:hover,
.mega-menu__cat.is-active {
	border-left-color: var(--cat-color);
}

.mega-menu__cat:hover .mega-menu__cat-name,
.mega-menu__cat.is-active .mega-menu__cat-name {
	color: #141414;
}

.mega-menu__cat:hover .mega-menu__cat-arrow,
.mega-menu__cat.is-active .mega-menu__cat-arrow {
	color: var(--cat-color);
}

/* ── Icon-Box ────────────────────────────────────────────────────────────── */
.mega-menu__cat-icon {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--cat-color);
	background: #ffffff;
	color: var(--cat-color);
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.mega-menu__cat-icon svg {
	display: block;
}

/* Hover & Aktiv: Box farbig gefüllt, Icon weiß */
.mega-menu__cat:hover .mega-menu__cat-icon,
.mega-menu__cat.is-active .mega-menu__cat-icon {
	background: var(--cat-color);
	color: #ffffff;
}

.mega-menu__cat-name {
	flex: 1;
	font-size: 1rem;
	font-weight: 600;
	color: #555555;
	line-height: 1.2;
}

.mega-menu__cat-arrow {
	color: #bbbbbb;
	flex-shrink: 0;
	transition: color 0.2s ease;
	display: block;
}

/* ── Mittlere Spalte: Panels ────────────────────────────────────────────── */
.mega-menu__panels {
	padding: 2rem 2.5rem;
	overflow-y: auto;
}

.mega-menu__panel {
	display: none;
	animation: megaMenuFadeIn 0.2s ease;
}

.mega-menu__panel.is-active {
	display: block;
}

.mega-menu__panel-title {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--cat-color, #e5000f);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-left: 3px solid var(--cat-color, #e5000f);
	padding-left: 0.75rem;
	margin-bottom: 1.5rem;
	line-height: 1.4;
}

.mega-menu__links {
	list-style: none;
	padding: 0;
	margin: 0;
	columns: 1;
	column-gap: 1.5rem;
}

/* 2 Spalten nur wenn Gruppen-Headings vorhanden (z.B. Umwelttechnik) */
@media (min-width: 1200px) {
	.mega-menu__links:has(.mega-menu__group) {
		columns: 2;
	}
}

/* ── Gruppen-Heading (Depth-2 mit Kindern) ──────────────────────────────── */
.mega-menu__group {
	break-inside: avoid;
	margin-bottom: 1.5rem;
}

.mega-menu__group-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	color: #141414;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.mega-menu__group-title svg {
	flex-shrink: 0;
	color: var(--cat-color, #e5000f);
}

.mega-menu__group-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* ── Einfache Sub-Links ─────────────────────────────────────────────────── */
.mega-menu__link {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.65rem 0;
	text-decoration: none !important;
	color: #141414 !important;
	font-size: 0.9375rem;
	line-height: 1.3;
	transition: color 0.2s ease;
	break-inside: avoid;
}

.mega-menu__link-bullet {
	color: var(--cat-color, #e5000f);
	flex-shrink: 0;
	display: block;
}

.mega-menu__link:hover {
	color: var(--cat-color, #e5000f) !important;
}

/* ── Rechte Spalte: Bild + Schnellkontakt ───────────────────────────────── */
.mega-menu__images {
	position: relative;
	overflow: hidden;
}

.mega-menu__image {
	display: none;
	position: absolute;
	inset: 0;
}

.mega-menu__image.is-active {
	display: block;
}

.mega-menu__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mega-menu__contact {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 2rem 1.5rem 1.5rem;
	background: linear-gradient(to bottom, transparent 0%, rgba(20, 20, 20, 0.7) 100%);
}

.mega-menu__contact-label {
	display: block;
	font-size: 0.85rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 0.35rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.mega-menu__contact-headline {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.35;
}

.mega-menu__contact-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #ffffff !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 1rem;
	transition: opacity 0.2s ease;
}

.mega-menu__contact-link:hover {
	opacity: 0.85;
}

/* ── Logo-Mega-Menü (Unternehmen) ───────────────────────────────────────── */
.mega-menu__inner--logos {
	display: block;
	min-height: auto;
	padding: 2.25rem 3rem 2.75rem;
}

.mega-menu__inner--logos.has-side-block {
	display: grid;
	grid-template-columns: 1fr 320px;
	min-height: 220px;
	padding: 0;
}

.mega-menu__inner--logos.has-side-block .mega-menu__logos-main {
	padding: 2.25rem 2.5rem 2.75rem 3rem;
}

.mega-menu__inner--logos.has-side-block .mega-menu__images--logos {
	min-height: 100%;
}

.mega-menu__logos-title {
	font-size: 0.8rem;
	font-weight: 700;
	color: #141414;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 1.75rem;
	line-height: 1.4;
}

.mega-menu__logos-grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mega-menu__logo-link {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem 2rem;
	text-decoration: none;
}

.mega-menu__logo-link:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 1px;
	height: 56px;
	background: linear-gradient(to bottom, transparent 0%, #dddddd 20%, #dddddd 80%, transparent 100%);
}

.mega-menu__logo-link img {
	display: block;
	max-width: 100%;
	max-height: 72px;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.25s ease;
}

.mega-menu__logo-fallback {
	font-size: 1rem;
	font-weight: 700;
	color: #141414;
	text-align: center;
	line-height: 1.3;
	transition: transform 0.25s ease;
}

.mega-menu__logo-link:hover img,
.mega-menu__logo-link:hover .mega-menu__logo-fallback {
	transform: scale(1.06);
}

@media (max-width: 1199.98px) {
	.mega-menu__inner--logos.has-side-block {
		grid-template-columns: 1fr;
	}

	.mega-menu__inner--logos.has-side-block .mega-menu__logos-main {
		padding: 2rem 2rem 1.5rem;
	}

	.mega-menu__inner--logos.has-side-block .mega-menu__images--logos {
		min-height: 280px;
	}

	.mega-menu__logos-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5rem 0;
	}

	.mega-menu__logo-link {
		padding: 1.25rem 1.5rem;
	}

	.mega-menu__logo-link:not(:last-child)::after {
		display: none;
	}

	.mega-menu__logo-link:nth-child(odd) {
		border-right: 1px solid #ececec;
	}

	.mega-menu__logo-link:nth-child(-n + 2) {
		border-bottom: 1px solid #ececec;
	}
}

/* ════════════════════════════════════════════════════════════════════════════
   RECHTE AKTIONEN: Kontakt + Sprachschalter + Hamburger
   ════════════════════════════════════════════════════════════════════════════ */
.site-nav__actions {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 0;
}

/* Kontakt-Link */
.site-nav__contact-link {
	display: none;
	color: #ffffff;
	text-decoration: none;
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
	transition: color 0.3s;
}

.site-nav__contact-link:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 2px;
}

@media (min-width: 1400px) {
	.site-nav__contact-link {
		display: inline-block;
	}
}

/* Stellenbörse-Button (Karriere-Bereich) */
.site-nav__cta-btn {
	display: none;
	background-color: #ffffff;
	color: #e5000f;
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
	padding: 0.55rem 1.25rem;
	border-radius: 4px;
	transition:
		background-color 0.3s,
		color 0.3s;
}

.site-nav__cta-btn:hover {
	background-color: rgba(255, 255, 255, 0.85);
	color: #e5000f;
}

@media (min-width: 1400px) {
	.site-nav__cta-btn {
		display: inline-block;
	}
}

/* Trennlinie */
.site-nav__divider {
	display: none;
	width: 1px;
	height: 20px;
	background-color: rgba(255, 255, 255, 0.4);
	margin: 0 1rem;
	flex-shrink: 0;
}

@media (min-width: 1400px) {
	.site-nav__divider {
		display: block;
	}
}

/* Sprachschalter */
.site-nav__lang {
	display: none;
}

@media (min-width: 1400px) {
	.site-nav__lang {
		display: block;
	}
}

/* Platzhalter (bis WPML aktiv) */
.site-nav__lang-placeholder {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	cursor: default;
}

.site-nav button.menu-toggle {
	appearance: none;
	-webkit-appearance: none;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 6px;
	box-shadow: none !important;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 10px 8px;
	margin-left: 4px;
	min-width: 44px;
	min-height: 44px;
	line-height: 0;
	z-index: 1031;
	position: relative;
}

.site-nav button.menu-toggle:hover,
.site-nav button.menu-toggle:focus,
.site-nav button.menu-toggle:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

.site-nav button.menu-toggle.is-active,
.site-nav button.menu-toggle.is-active:hover,
.site-nav button.menu-toggle.is-active:focus,
.site-nav button.menu-toggle.is-active:active {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
}

.site-nav button.menu-toggle .bar {
	display: block;
	width: 22px;
	height: 2px;
	margin: 0;
	background: #ffffff;
	border-radius: 1px;
	flex-shrink: 0;
	transform-origin: center;
	transition:
		transform 0.3s ease,
		opacity 0.3s ease,
		background-color 0.3s ease;
}

.site-nav button.menu-toggle.is-active .bar {
	background: #e5000f;
}

.site-nav button.menu-toggle.is-active .bar:nth-child(2) {
	opacity: 0;
}

.site-nav button.menu-toggle.is-active .bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-nav button.menu-toggle.is-active .bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1400px) {
	.site-nav button.menu-toggle {
		display: none !important;
	}
}

body.mobile-menu-open {
	overflow: hidden;
}

body.mobile-menu-open .site-nav {
	box-shadow: 0 4px 24px rgba(20, 20, 20, 0.12);
}

/* ════════════════════════════════════════════════════════════════════════════
   MOBILE CANVAS  –  Multilayer Off-Canvas
   ════════════════════════════════════════════════════════════════════════════ */
.site-mobile-nav {
	position: fixed;
	top: var(--header-height, 112px);
	left: 0;
	right: 0;
	bottom: 0;
	height: calc(100dvh - var(--header-height, 112px));
	z-index: 1029;
	visibility: hidden;
	pointer-events: none;
	overflow: hidden;
	transition: visibility 0s linear 0.4s;
}

.site-mobile-nav.is-open {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.site-mobile-nav__sheet {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ffffff;
	overflow: hidden;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	box-shadow: -8px 0 32px rgba(20, 20, 20, 0.1);
}

.site-mobile-nav.is-open .site-mobile-nav__sheet {
	transform: translateX(0);
}

.site-mobile-nav__viewport {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	min-width: 0;
	width: 100%;
	overflow: hidden;
}

.site-mobile-nav__panel {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	transform: translateX(100%);
	visibility: hidden;
	transition:
		transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0s linear 0.38s;
}

.site-mobile-nav__panel.is-current {
	transform: translateX(0);
	visibility: visible;
	transition-delay: 0s;
	z-index: 2;
	box-shadow: -12px 0 32px rgba(20, 20, 20, 0.08);
}

.site-mobile-nav__panel.is-prev {
	transform: translateX(-28%);
	visibility: visible;
	transition-delay: 0s;
	z-index: 1;
	pointer-events: none;
}

.site-mobile-nav__panel.is-prev::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, 0.12);
	z-index: 3;
}

.site-mobile-nav__panel--root.is-current {
	box-shadow: none;
}

.site-mobile-nav__header {
	flex-shrink: 0;
	border-bottom: 1px solid #ececec;
}

.site-mobile-nav__back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: none;
	border: 0;
	padding: 1rem 1.5rem;
	color: #141414;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}

.site-mobile-nav__back:hover,
.site-mobile-nav__back:focus-visible,
.site-mobile-nav__back:active {
	color: #141414 !important;
	background: #ededed !important;
	background-image: none !important;
	box-shadow: none !important;
}

.site-mobile-nav__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 1rem 1.5rem 1.5rem;
}

.site-mobile-nav__panel--root .site-mobile-nav__body {
	padding-top: 0.75rem;
}

.site-mobile-nav__heading {
	margin: 0.15rem 0 1.25rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #141414;
	line-height: 1.2;
}

.site-mobile-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-mobile-nav__row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid #ececec;
	background: none;
	padding: 0;
	margin: 0;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	color: inherit;
}

.site-mobile-nav__item:last-child > .site-mobile-nav__row {
	border-bottom: none;
}

.site-mobile-nav__link {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 0.875rem;
	min-height: 56px;
	min-width: 0;
	padding: 0.85rem 0;
	color: #141414;
	text-decoration: none;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	background: none;
	border: 0;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
	--cat-color: #e5000f;
}

.site-mobile-nav__panel--root .site-mobile-nav__link {
	font-size: 1.25rem;
	min-height: 64px;
}

.site-mobile-nav button.site-mobile-nav__row,
.site-mobile-nav button.site-mobile-nav__row:hover,
.site-mobile-nav button.site-mobile-nav__row:focus,
.site-mobile-nav button.site-mobile-nav__row:focus-visible,
.site-mobile-nav button.site-mobile-nav__row:active {
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: inherit !important;
}

.site-mobile-nav__link:hover,
.site-mobile-nav button.site-mobile-nav__row:hover .site-mobile-nav__link,
.site-mobile-nav .site-mobile-nav__item.is-current > .site-mobile-nav__row > .site-mobile-nav__link {
	color: #141414;
}

.site-mobile-nav__label {
	flex: 1 1 auto;
	min-width: 0;
}

.site-mobile-nav__icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--cat-color, #e5000f);
	background: #ffffff;
	color: var(--cat-color, #e5000f);
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.site-mobile-nav__icon svg {
	display: block;
}

.site-mobile-nav__item.is-current .site-mobile-nav__icon {
	background: var(--cat-color, #e5000f);
	color: #ffffff;
}

.site-mobile-nav__logo {
	height: 28px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
	flex-shrink: 0;
}

.site-mobile-nav__next {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f4f4f4;
	color: #141414;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.site-mobile-nav__next svg {
	display: block;
}

.site-mobile-nav__next:hover,
.site-mobile-nav__next:focus-visible {
	background: #e5000f;
	color: #ffffff;
}

.site-mobile-nav__item--overview .site-mobile-nav__link {
	font-size: 1rem;
	font-weight: 600;
	color: #e5000f;
	min-height: 52px;
}

.site-mobile-nav__link-arrow {
	flex-shrink: 0;
	margin-left: auto;
}

.site-mobile-nav__footer {
	flex-shrink: 0;
	padding: 1rem 1.5rem max(1.25rem, env(safe-area-inset-bottom));
	border-top: 1px solid #ececec;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	background: #ffffff;
}

.site-mobile-nav__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: #e5000f;
	color: #ffffff;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 700;
	padding: 0.9rem 1.25rem;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.site-mobile-nav__cta:hover,
.site-mobile-nav__cta:focus-visible {
	background: #c4000d;
	color: #ffffff;
}

.site-mobile-nav__langs {
	display: flex;
	gap: 0.5rem;
}

.site-mobile-nav__lang {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 36px;
	padding: 0 0.75rem;
	border: 1px solid #ececec;
	color: #141414;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 700;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.site-mobile-nav__lang:hover,
.site-mobile-nav__lang.is-current {
	background: #e5000f;
	border-color: #e5000f;
	color: #ffffff;
}

.site-mobile-nav__link:focus-visible,
.site-mobile-nav__next:focus-visible,
.site-mobile-nav__back:focus-visible,
.site-mobile-nav__cta:focus-visible,
.site-mobile-nav__lang:focus-visible,
.menu-toggle:focus-visible {
	outline: 2px solid #bebd06;
	outline-offset: 2px;
}

@media (min-width: 1400px) {
	.site-mobile-nav {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-mobile-nav,
	.site-mobile-nav__sheet,
	.site-mobile-nav__panel,
	.menu-toggle .bar {
		transition: none;
	}
}

/* ════════════════════════════════════════════════════════════════════════════
   ANIMATION
   ════════════════════════════════════════════════════════════════════════════ */
@keyframes megaMenuFadeIn {
	from {
		opacity: 0;
		transform: translateX(-4px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}
