.site-header {
	position: relative;
	z-index: 1000;
	background: #ffffff;
	border-bottom: 1px solid #e7edf4;
}

.header-top {
	background: #ffffff;
	border-bottom: 1px solid #eef3f8;
}

.header-top__inner {
	width: min(calc(100% - 24px), 1180px);
	margin: 0 auto;
	min-height: 88px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.header-brand {
	display: flex;
	align-items: center;
	justify-content: center;
}

.header-brand a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.site-logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 200px;
	 max-height: 92px;
}

/* Hauptleiste */
.header-navbar {
	background: #003d76;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.header-navbar__inner {
	width: min(calc(100% - 24px), 1180px);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
}

/* Desktop Navigation */
.desktop-nav {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0;
}

.desktop-nav > a,
.desktop-nav > .dropdown > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 0 22px;
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	font-size: 0.98rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
	position: relative;
}

.desktop-nav > a:hover,
.desktop-nav > .dropdown > a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

/* Aktiv */
.desktop-nav > a.active,
.desktop-nav > .dropdown.active > a {
	background: #e63a2e;
	color: #ffffff;
	font-weight: 700;
}

/* Dropdown */
.desktop-nav .dropdown {
	position: relative;
}

.desktop-nav .dropdown > a {
	gap: 8px;
}

.nav-caret {
	font-size: 10px;
	line-height: 1;
	opacity: 0.8;
}

/* Direkt unter dem Menüpunkt */
.desktop-nav .dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 0;
	margin: 0;
	list-style: none;
	background: #ffffff;
	border: 1px solid #dbe4ee;
	border-radius: 0;
	box-shadow: 0 10px 24px rgba(9, 36, 68, 0.12);
	z-index: 1005;
}

/* Hover-Puffer */
.desktop-nav .dropdown-menu::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
	background: transparent;
}

.desktop-nav .dropdown:hover .dropdown-menu,
.desktop-nav .dropdown.open .dropdown-menu {
	display: block;
}

.desktop-nav .dropdown-menu a {
	display: block;
	padding: 12px 16px;
	color: #1f2733;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid #eef3f8;
	white-space: nowrap;
}

.desktop-nav .dropdown-menu a:last-child {
	border-bottom: 0;
}

.desktop-nav .dropdown-menu a:hover {
	background: #f5f8fc;
	color: #003d76;
}

/* Hamburger */
.hamburger {
	display: none;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #dbe4ee;
	border-radius: 12px;
	background: #ffffff;
	color: #0b4b92;
	cursor: pointer;
	font-size: 18px;
	padding: 0;
	box-shadow: 0 4px 12px rgba(9, 36, 68, 0.06);
}

/* Mobile Navigation */
.mobile-nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: min(300px, 88vw);
	height: 100dvh;
	background: #ffffff;
	box-shadow: -10px 0 30px rgba(9, 36, 68, 0.16);
	padding: 84px 20px 20px;
	transition: right 0.3s ease;
	z-index: 1003;
	overflow-y: auto;
}

.mobile-nav.active {
	right: 0;
}

.mobile-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mobile-nav ul li {
	border-bottom: 1px solid #e7edf4;
}

.mobile-nav ul li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
	color: #1f2733;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.mobile-nav a.active {
	color: #e63a2e;
}

.mobile-nav .dropdown-menu {
	display: none;
	padding: 0 0 10px 14px;
	border-top: 0;
}

.mobile-nav li.open > .dropdown-menu {
	display: block;
}

.mobile-nav .dropdown-menu li {
	border-bottom: 0;
}

.mobile-nav .dropdown-menu li a {
	padding: 10px 0;
	font-size: 14px;
	font-weight: 600;
	color: #4d5a6a;
}

.mobile-nav .dropdown-toggle::after {
	font-family: "Font Awesome 6 Free";
	content: "\f078";
	font-weight: 900;
	font-size: 12px;
	color: #0b4b92;
	margin-left: 10px;
	transition: transform 0.2s ease;
}

.mobile-nav li.open > .dropdown-toggle::after {
	transform: rotate(180deg);
}

#menu-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(9, 20, 34, 0.42);
	z-index: 1002;
}

#menu-overlay.active {
	display: block;
}

/* Schutz gegen horizontales Scrolling */
html,
body {
	overflow-x: hidden;
}

@media (max-width: 768px) {
	.header-top__inner {
		min-height: 78px;
		justify-content: flex-start;
	}

	.site-logo {
		max-width: 145px;
		max-height: 52px;
	}

	.header-navbar {
		display: none;
	}

	.desktop-nav {
		display: none;
	}

	.hamburger {
		display: inline-flex;
	}
}