/**
 * Markenlogo – Landing (header_landing)
 * Feste Mindest-/Höchstwerte (kein clamp, keine kleinen max-w-*).
 *
 * Header: min 50px, Ziel 64px, max 70px | Mobile-Header: min 60px
 * Hero/Main-Inline: min 80px, Ziel 100–140px (hier 120px / max 140px)
 */

/* Theme: feste max-width/max-height aus style.css neutralisieren */
.header-transparent .xs-header.header-minimal .xs-logo > img.brand-logo-img,
.xs-header.header-minimal .xs-logo > img.brand-logo-img {
	max-width: none !important;
	max-height: none !important;
	width: auto !important;
	height: auto !important;
}

.header-transparent .xs-header.header-minimal .xs-logo-wraper {
	display: flex;
	align-items: center;
	align-self: center;
	flex-shrink: 0;
	min-width: 0;
	padding-right: 12px;
	margin-right: 0;
}

.header-transparent .xs-header.header-minimal .xs-logo.brand-logo {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	padding: 4px 0;
	line-height: 0;
	flex-shrink: 0;
}

/* Header-Logo: min 50px, Ziel 64px, max 70px (Desktop) */
.header-transparent .xs-header.header-minimal .xs-logo.brand-logo > img.brand-logo-img {
	width: auto !important;
	height: 64px !important;
	min-height: 50px !important;
	max-height: 70px !important;
	object-fit: contain;
	object-position: left center;
	display: block;
	flex-shrink: 0;
	-webkit-user-select: none;
	user-select: none;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.32))
		drop-shadow(0 0 14px rgba(56, 189, 248, 0.12));
}

/* Volle ml-auto-Wirkung: Menü + Icon-Leiste rechts bündig (Bootstrap) */
.header-transparent .xs-header.header-minimal:not(.db-hdr) .xs-menus.ml-auto {
	margin-left: auto !important;
}

/* Footer-Logo: gleiche Header-Bandbreite (Lesbarkeit, kein „Mini") */
.footer-widget .footer-logo img.brand-logo-img--footer {
	display: block;
	width: auto !important;
	height: 64px !important;
	min-height: 50px !important;
	max-height: 70px !important;
	max-width: none !important;
	object-fit: contain;
	object-position: left center;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28))
		drop-shadow(0 0 12px rgba(44, 212, 217, 0.1));
}

/* Main-/Content-Logo (z. B. Widgets): Hero-Band min 80 / max 140 */
.brand-logo-img--inline {
	display: block;
	width: auto !important;
	height: 120px !important;
	min-height: 80px !important;
	max-height: 140px !important;
	max-width: none !important;
	object-fit: contain;
	object-position: center center;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.22))
		drop-shadow(0 0 16px rgba(56, 189, 248, 0.1));
}

@media (max-width: 991.98px) {
	.header-transparent .xs-header.header-minimal .xs-logo.brand-logo {
		display: inline-flex !important;
		padding: 4px 0;
	}

	.header-transparent .xs-header.header-minimal .xs-logo.brand-logo > img.brand-logo-img {
		min-height: 50px !important;
		height: 64px !important;
		max-height: 70px !important;
		max-width: none !important;
	}
}

@media (max-width: 767.98px) {
	.header-transparent .xs-header.header-minimal .xs-logo-wraper {
		display: flex !important;
		flex: 1 1 auto;
		flex-shrink: 0;
		min-width: 0;
		padding-right: 0.35rem;
	}

	.header-transparent .xs-header.header-minimal .row.align-items-center {
		flex-wrap: nowrap;
		align-items: center !important;
	}

	/* Mobile: min 60px (Vorgabe), Ziel weiter 64px / max 70px */
	.header-transparent .xs-header.header-minimal .xs-logo.brand-logo > img.brand-logo-img {
		min-height: 60px !important;
		height: 64px !important;
		max-height: 70px !important;
		max-width: none !important;
	}

	.header-transparent .xs-header.header-minimal .nav-header a.nav-brand:empty {
		display: none !important;
		min-width: 0;
		width: 0;
		padding: 0;
		margin: 0;
	}

	.brand-logo-img--inline {
		min-height: 80px !important;
		height: 110px !important;
		max-height: 130px !important;
	}
}

/* Dashboard-Header: nicht kleiner als globales Header-Logo */
.header-transparent .xs-header.header-minimal.db-hdr .xs-logo.brand-logo > img.brand-logo-img {
	min-height: 50px !important;
	height: 64px !important;
	max-height: 70px !important;
	max-width: none !important;
}
