/* Mobiler Header (inc/mobilheader.php) – Maße wie der frühere Elementor-Header 3920:
 * feste schwarze Leiste 50 px, Innenabstand 0 15px, Logo 104 px, Knöpfe 24 px hoch / 12 px Schrift, Burger 33 px. */

.nxh-head { display: none; }

@media (max-width: 1024px) {
	.nxh-head {
		display: block;
		height: 50px; /* Platzhalter, damit Inhalte nicht unter die feste Leiste rutschen */
	}
	.nxh-head__bar {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 99;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		height: 50px;
		padding: 0 15px;
		background: #000;
		box-sizing: border-box;
	}
	body.admin-bar .nxh-head__bar { top: 32px; }

	.nxh-head__logo { display: flex; align-items: center; flex: 0 0 auto; }
	.nxh-head__logo img { display: block; width: 104px; height: auto; }

	.nxh-head__actions {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 8px;
		min-width: 0;
	}

	/* Kit-Regeln für .btn (Breite 49 % unter 600 px, große Innenabstände) hier wie im alten Header überschreiben */
	.nxh-head a.nxh-head__btn {
		display: inline-flex;
		align-items: center;
		width: auto !important;
		min-width: 0;
		height: 24px;
		margin: 0;
		padding: 3px 10px !important;
		font-size: 0.75em !important;
		line-height: 18px;
		white-space: nowrap;
		text-decoration: none;
		box-sizing: border-box;
	}

	/* !important gegen die globalen Theme-Button-Styles */
	.nxh-head button.nxh-head__burger {
		display: grid;
		place-items: center;
		width: 33px;
		height: 33px;
		margin: 0 0 0 2px;
		padding: 0;
		border: 0 !important;
		border-radius: 3px !important;
		background: rgba(255, 255, 255, .05) !important;
		box-shadow: none !important;
		color: #fff !important;
		cursor: pointer;
	}
	.nxh-head button.nxh-head__burger:hover { background: rgba(255, 255, 255, .12) !important; }
	.nxh-head button.nxh-head__burger:focus { outline: none; }
	.nxh-head button.nxh-head__burger:focus-visible { outline: 2px solid #008fff; outline-offset: 2px; }
	.nxh-head__burger svg { width: 22px; height: 22px; }
}

@media (max-width: 782px) {
	body.admin-bar .nxh-head__bar { top: 46px; }
}
@media (max-width: 600px) {
	/* WordPress-Leiste scrollt hier mit; Kopf bleibt oben */
	body.admin-bar .nxh-head__bar { top: 0; }
}
@media (max-width: 360px) {
	.nxh-head__logo img { width: 88px; }
	.nxh-head__actions { gap: 6px; }
}
