/* MwSt24 v2 – Header und Footer */
.site-header {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 0 rgba(11, 37, 69, 0.04);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 74px;
}
.site-logo {
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--navy-900);
}
.site-logo:hover { text-decoration: none; }
.logo-icon {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	filter: drop-shadow(0 3px 8px rgba(5, 150, 105, 0.35));
}
.logo-icon svg { display: block; border-radius: 12px; }
.logo-text .logo-tld { color: var(--muted); font-weight: 600; font-size: 0.88em; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 1.04rem; letter-spacing: -0.01em; color: var(--navy-900); }
.logo-text strong em { font-style: normal; color: var(--green-600); }
.logo-text small { color: var(--muted); font-size: 0.72rem; font-weight: 600; }

.primary-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 4px;
}
.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 2px;
}
.nav-list > li { position: relative; }
.nav-list a {
	display: block;
	padding: 10px 14px;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 10px;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease;
}
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .current-menu-ancestor > a {
	color: var(--green-700);
	text-decoration: none;
	background: var(--green-50);
}
.nav-list .menu-item-has-children > a::after {
	content: "▾";
	margin-left: 6px;
	font-size: 0.72em;
	color: var(--muted);
}
.nav-list .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 250px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: var(--shadow-lg);
	padding: 8px;
	list-style: none;
	margin: 0;
	z-index: 120;
}
.nav-list .menu-item-has-children:hover > .sub-menu,
.nav-list .menu-item-has-children:focus-within > .sub-menu { display: block; }
.nav-list .sub-menu a { padding: 10px 14px; font-weight: 500; border-radius: 8px; }
.nav-list .sub-menu a:hover { background: var(--green-50); }

.lang-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px;
	line-height: 0;
}
.search-link {
	color: var(--muted);
	padding: 9px;
	display: inline-flex;
	border-radius: 10px;
}
.search-link:hover { color: var(--green-700); background: var(--green-50); }

.nav-toggle {
	display: none;
	margin-left: auto;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 10px 12px;
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--navy-900);
	margin: 5px 0;
	border-radius: 2px;
	transition: transform 0.2s ease;
}

/* Footer */
.site-footer {
	background: linear-gradient(180deg, #0d2c52 0%, var(--navy-900) 100%);
	color: #c6d2e3;
	margin-top: 72px;
	position: relative;
	overflow: hidden;
}
.site-footer::before {
	content: "";
	position: absolute;
	top: -80px;
	right: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0) 70%);
	pointer-events: none;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 36px;
	padding: 56px 22px 36px;
	position: relative;
}
.footer-col h3 {
	color: #fff;
	font-size: 0.95rem;
	margin-bottom: 16px;
	letter-spacing: 0.02em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #b9c8dd; font-size: 0.93rem; transition: color 0.15s ease, padding-left 0.15s ease; }
.footer-col a:hover { color: #fff; text-decoration: none; padding-left: 4px; }
.footer-brand p { font-size: 0.92rem; margin-top: 14px; color: #9fb0c8; }
.site-logo--footer .logo-text strong { color: #fff; }
.site-logo--footer .logo-text small { color: #8fa3bd; }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 18px 0;
	position: relative;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; color: #8fa3bd; }
.footer-bottom a { color: #b9c8dd; }

/* Footer social icons */
.footer-social { margin-top: 16px; display: flex; gap: 10px; }
.footer-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: rgba(255,255,255,0.1); color: #fff;
	transition: background 0.18s ease, transform 0.18s ease;
}
.footer-social a:hover { background: #1877F2; transform: translateY(-2px); color: #fff; }
