/* ==========================================================================
   Site Header, Hauptnavigation, Burger, Mobile-Drawer, Footer
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 260ms var(--ease-out), padding-block 260ms var(--ease-out);
}

.site-header__inner {
	max-width: var(--container-max);
	margin-inline: auto;
	padding: 1.3rem clamp(1.25rem, 4vw, 3rem);
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	transition: padding-block 260ms var(--ease-out);
}

.site-header.is-scrolled {
	box-shadow: 0 10px 30px -22px rgba(14, 47, 53, 0.45);
}

.site-header.is-scrolled .site-header__inner {
	padding-block: 0.75rem;
}

.site-header__brand {
	flex: 0 0 auto;
}

.site-header__brand .custom-logo-link {
	display: inline-flex;
}

.site-header__title {
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--primary-ink);
	letter-spacing: -0.01em;
}

.site-header__nav {
	flex: 1 1 auto;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: clamp(1.25rem, 2.4vw, 2.25rem);
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.nav-menu a {
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ink);
	position: relative;
	padding-block: 0.4em;
}

.nav-menu a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 1px;
	background: var(--accent);
	transition: right 220ms var(--ease-out);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
	right: 0;
}

.site-header__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: none;
	background: transparent;
	color: var(--primary-ink);
	cursor: pointer;
	border-radius: var(--radius);
	position: relative;
}

.burger .burger-icon-close {
	display: none;
	position: absolute;
}

.burger[aria-expanded="true"] .burger-icon-open {
	display: none;
}

.burger[aria-expanded="true"] .burger-icon-close {
	display: block;
}

.burger:hover {
	background: var(--sand);
}

/* Drawer-Overlay */
.mobile-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(14, 24, 23, 0.45);
	opacity: 0;
	transition: opacity 280ms var(--ease-out);
	z-index: 190;
	pointer-events: none;
}

.mobile-drawer-overlay.is-visible {
	opacity: 1;
	pointer-events: auto;
}

/* Drawer selbst — bewusst KEIN Kind von .site-header (siehe header.php) */
.mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 86vw);
	background: var(--primary);
	color: #fff;
	z-index: 200;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(5.5rem, 10vh, 7rem) clamp(1.75rem, 5vw, 2.5rem) 2.5rem;
	transform: translateX(100%);
	transition: transform 320ms var(--ease-out);
}

.mobile-drawer.is-open {
	transform: translateX(0);
}

.mobile-drawer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.mobile-drawer__menu a {
	display: block;
	padding: 0.9rem 0;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 500;
	text-decoration: none;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	min-height: 44px;
}

.mobile-drawer__contact {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-top: 2rem;
}

.mobile-drawer__contact a {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: #fff;
	font-weight: 600;
	min-height: 44px;
}

.mobile-drawer__contact a.btn {
	justify-content: center;
}

/* ===== Footer ===== */
.site-footer {
	background: var(--primary);
	color: rgba(255, 255, 255, 0.92);
	margin-top: var(--space-xl);
}

.site-footer__inner {
	max-width: var(--container-max);
	margin-inline: auto;
	padding: var(--space-l) clamp(1.25rem, 4vw, 3rem) var(--space-m);
	display: grid;
	grid-template-columns: 7fr 2.5fr 2.5fr;
	gap: var(--space-m) var(--space-s);
}

.site-footer__name {
	font-family: var(--font-display);
	font-size: 1.4rem;
	margin: 0 0 0.2em;
	color: #fff;
}

.site-footer__tagline {
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 1.5rem;
}

.site-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.site-footer__contact li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.site-footer__contact a {
	text-decoration: none;
	color: #fff;
}

.site-footer__col-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 1rem;
}

.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.site-footer__menu a {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.9);
}

.site-footer__menu a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer__languages {
	color: rgba(255, 255, 255, 0.85);
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
	text-align: center;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.6);
}

.site-footer__bottom p {
	margin: 0;
}
