/* Gemeinsame Teile für alle Seiten: echtes Logo in Header und Footer, Raketen der Header-Pille (nur auf der Startseite sichtbar, siehe mx-home.css) */
.brand:has(.brand-img) {
	padding: 0;
	transform: none;
	width: auto;
}

.pop-logo .brand-img {
	display: block;
	height: auto;
	max-width: none;
	width: calc(92px + (1 - var(--hdr, 1)) * 46px);
}

.pop-footer-logo .brand-img {
	width: 190px;
}

.mx-rocket {
	display: none;
	pointer-events: none;
	position: absolute;
	top: 50%;
	width: 66px;
	z-index: -1;
}

.mx-rocket img {
	display: block;
	height: auto;
	width: 100%;
}

.mx-rocket-l {
	left: -44px;
	transform: translateY(-50%) rotate(-90deg);
}

.mx-rocket-r {
	right: -44px;
	transform: translateY(-50%) rotate(90deg);
}


@media (max-width: 760px) {
	.pop-logo .brand-img { width: calc(70px + (1 - var(--hdr, 1)) * 34px); }
	.pop-footer-logo .brand-img { width: 150px; }
}

/* Header auf allen Seiten und in jedem Scrollzustand: schwebend, abgerundet, mit Abstand zum Rand (Vorgabe Maher).
   Der Prototyp dockte ihn beim Scrollen flach an den Rand; das entfällt. Nur Animationen (Pille auf der Startseite) weichen ab. */
:root body[class] .site-header.pop-header,
:root body[class] .site-header.pop-header.is-docked {
	border-radius: 17px;
	box-shadow: 0 6px 22px #34272e24;
	left: 1.2%;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 16px);
	width: 97.6%;
}

:root body[class] main {
	padding-top: calc(var(--header-height) + 16px);
}

:root body[class].mamy-page-index main {
	padding-top: 0;
}

:root body.menu-open[class] .site-header.pop-header {
	border-radius: 0;
	left: 0;
	top: var(--wp-admin--admin-bar--height, 0px);
	width: 100%;
}

.pop-mobile-menu {
	top: calc(var(--header-height) + var(--wp-admin--admin-bar--height, 0px));
}

@media (max-width: 760px) {
	:root body[class] .site-header.pop-header,
	:root body[class] .site-header.pop-header.is-docked {
		border-radius: 13px;
		left: 3%;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 12px);
		width: 94%;
	}

	:root body[class] main {
		padding-top: calc(var(--header-height) + 12px);
	}

	:root body.menu-open[class] .site-header.pop-header {
		border-radius: 0;
		left: 0;
		top: var(--wp-admin--admin-bar--height, 0px);
		width: 100%;
	}
}

/* Handy: Menü-Symbol (drei Striche) rechts, "Projekt starten" links. */
@media (max-width: 760px) {
	.site-header.pop-header .menu-toggle {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}

	.site-header.pop-header .menu-toggle::after {
		background: var(--ink);
		content: "";
		display: block;
		height: 2px;
		margin: 6px auto;
		width: 24px;
	}

	.site-header.pop-header .pop-header-actions {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}
}
