/* SO Virtual Office Hello-Bar – Satellite Office CI */

.so-vohb {
	--so-vohb-bg: #282a36;
	--so-vohb-fg: #ffffff;
	--so-vohb-muted: #c3c5d1;
	--so-vohb-gold: #e2bc79;
	--so-vohb-gold-hover: #ecd09f;

	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	box-sizing: border-box;
	padding-bottom: env(safe-area-inset-bottom, 0px);
	background: var(--so-vohb-bg);
	color: var(--so-vohb-fg);
	border-top: 2px solid var(--so-vohb-gold);
	box-shadow: 0 -10px 30px rgba(15, 16, 22, 0.22);
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
	transform: translateY(calc(100% + 40px));
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.so-vohb[hidden] {
	display: none;
}

.so-vohb.is-visible {
	transform: translateY(0);
}

.so-vohb *,
.so-vohb *::before,
.so-vohb *::after {
	box-sizing: border-box;
}

.so-vohb .so-vohb__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 24px;
}

.so-vohb .so-vohb__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(226, 188, 121, 0.14);
	color: var(--so-vohb-gold);
}

.so-vohb .so-vohb__copy {
	flex: 1 1 auto;
	min-width: 0;
}

.so-vohb p.so-vohb__title,
.so-vohb p.so-vohb__text {
	margin: 0;
	padding: 0;
	font-family: inherit;
}

.so-vohb p.so-vohb__title {
	color: var(--so-vohb-fg);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.005em;
}

.so-vohb p.so-vohb__text {
	margin-top: 3px;
	color: var(--so-vohb-muted);
	font-size: 14px;
	line-height: 1.45;
}

.so-vohb .so-vohb__eyebrow {
	display: inline-block;
	margin-right: 10px;
	padding: 3px 9px 2px;
	border-radius: 999px;
	background: var(--so-vohb-gold);
	color: var(--so-vohb-bg);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	vertical-align: 2px;
}

.so-vohb a.so-vohb__btn,
.so-vohb a.so-vohb__btn:visited {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 12px 22px;
	border: 0;
	border-radius: 4px;
	background: var(--so-vohb-gold);
	color: var(--so-vohb-bg);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

.so-vohb a.so-vohb__btn:hover,
.so-vohb a.so-vohb__btn:focus {
	background: var(--so-vohb-gold-hover);
	color: var(--so-vohb-bg);
	text-decoration: none;
}

.so-vohb a.so-vohb__btn svg {
	transition: transform 0.2s ease;
}

.so-vohb a.so-vohb__btn:hover svg {
	transform: translateX(3px);
}

.so-vohb button.so-vohb__close {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0 -8px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--so-vohb-muted);
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.so-vohb button.so-vohb__close:hover,
.so-vohb button.so-vohb__close:focus {
	background: rgba(255, 255, 255, 0.08);
	color: var(--so-vohb-fg);
}

.so-vohb a.so-vohb__btn:focus-visible,
.so-vohb button.so-vohb__close:focus-visible {
	outline: 2px solid var(--so-vohb-fg);
	outline-offset: 3px;
}

/* Platzhalter am Seitenende, damit die Leiste den Footer nicht verdeckt */
.so-vohb-spacer {
	height: 0;
}

html.so-vohb-active .so-vohb-spacer {
	height: var(--so-vohb-h, 0px);
}

/* Tablet */
@media (max-width: 860px) {
	.so-vohb p.so-vohb__text {
		display: none;
	}
}

/* Mobil */
@media (max-width: 600px) {
	.so-vohb .so-vohb__inner {
		flex-wrap: wrap;
		gap: 10px 12px;
		padding: 12px 16px 14px;
	}

	.so-vohb .so-vohb__icon {
		display: none;
	}

	.so-vohb .so-vohb__copy {
		flex: 1 1 0;
	}

	.so-vohb p.so-vohb__title {
		font-size: 15px;
	}

	.so-vohb .so-vohb__eyebrow {
		margin-right: 8px;
		font-size: 10px;
	}

	.so-vohb button.so-vohb__close {
		width: 36px;
		height: 36px;
		margin: -4px -8px 0 0;
		align-self: flex-start;
	}

	.so-vohb a.so-vohb__btn,
	.so-vohb a.so-vohb__btn:visited {
		order: 3;
		width: 100%;
		min-height: 44px;
		padding: 11px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.so-vohb,
	.so-vohb a.so-vohb__btn svg {
		transition: none;
	}
}

@media (forced-colors: active) {
	.so-vohb {
		border-top: 2px solid CanvasText;
	}
}

@media print {
	.so-vohb,
	.so-vohb-spacer {
		display: none !important;
	}
}
