#lhtb {
	position: relative;
	z-index: 120;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	flex-shrink: 0;
	align-self: stretch;
	overflow: hidden;
	background: var(--lhtb-bg, #1d1d1b);
	color: var(--lhtb-fg, #fff);
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: .02em;
	transition: height .35s cubic-bezier(.4, 0, .2, 1), opacity .25s ease;
}
html.lhtb-off #lhtb { display: none; }

#lhtb .lhtb-in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 14px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 9px 52px;
	text-align: center;
}
#lhtb.lhtb-fixed .lhtb-in { padding-left: 16px; padding-right: 16px; }

#lhtb .lhtb-text a { color: inherit; text-decoration: underline; }

#lhtb .lhtb-code {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 3px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--lhtb-ac, #b6dcd4);
	color: var(--lhtb-bg, #1d1d1b);
	font: inherit;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.3;
	cursor: pointer;
	transition: transform .15s ease;
}
#lhtb .lhtb-code:hover { transform: translateY(-1px); }
#lhtb .lhtb-code.is-copied::after { content: "kopiert!"; font-weight: 600; letter-spacing: .02em; }
#lhtb .lhtb-code.is-copied span,
#lhtb .lhtb-code.is-copied svg { display: none; }

#lhtb .lhtb-sep {
	width: 1px;
	height: 14px;
	background: currentColor;
	opacity: .35;
}

#lhtb .lhtb-mail {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: inherit !important;
	font-weight: 600;
	text-decoration: none;
}
#lhtb .lhtb-mail:hover span { text-decoration: underline; text-underline-offset: 3px; }

#lhtb .lhtb-close {
	position: absolute;
	top: 50%;
	right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: -16px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	opacity: .7;
	cursor: pointer;
	transition: opacity .15s ease, background .15s ease;
}
#lhtb .lhtb-close:hover,
#lhtb .lhtb-close:focus-visible { opacity: 1; background: rgba(127, 127, 127, .2); }

/* Fester Header (Impreza "pos_fixed"): rutscht unter den Balken und beim Scrollen/Schließen wieder nach oben. */
.l-header.pos_fixed { top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--lhtb-h, 0px)); }
html.lhtb-off .l-header.pos_fixed { top: var(--wp-admin--admin-bar--height, 0px); }

@media (max-width: 600px) {
	#lhtb { font-size: 12.5px; }
	#lhtb .lhtb-in { padding: 8px 44px 8px 14px; gap: 5px 10px; }
	#lhtb.lhtb-fixed .lhtb-in { padding-right: 14px; }
	#lhtb .lhtb-sep { display: none; }
	#lhtb .lhtb-code { padding: 2px 10px; }
	/* Auf dem Handy bleibt der Balken schmal: gibt es einen Rabattcode, wird die E-Mail ausgeblendet. */
	#lhtb .lhtb-code ~ .lhtb-mail { display: none; }
	#lhtb .lhtb-close { right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	#lhtb { transition: none; }
}
