/* Bild vergrößern (Lagepläne) – Werte aus Claude Design, Handoff 2. */
html.stf-zoom-open {
	overflow: hidden;
}

.stf-zoom {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 48px;
	background: rgba(24, 23, 22, 0.94);
	cursor: zoom-out;
}

.stf-zoom[hidden] {
	display: none;
}

.stf-zoom__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 1200px;
}

.stf-zoom__title {
	font-family: var(--stf-font-heading, 'Archivo'), sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #ffffff;
}

/* Doppelte Klasse schlägt die Button-Stile des Elementor-Kits */
.stf-zoom .stf-zoom__close.stf-zoom__close {
	margin: 0;
	padding: 6px 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--stf-gold-light, #d9b463);
	font-family: var(--stf-font-body, 'Barlow'), sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

.stf-zoom .stf-zoom__close:focus-visible {
	outline: 2px solid var(--stf-gold-light, #d9b463);
	outline-offset: 3px;
}

.stf-zoom__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1200px;
	height: 72vh;
	background: #ffffff;
}

.stf-zoom__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.stf-zoom__hint {
	display: none;
	margin: 0;
	font-size: 13px;
	color: #a8a29a;
	text-align: center;
}

/* Beschriftung „Vergrößern ⤢" unter den Lageplänen */
a[id^="stf-zoom-"] p span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--stf-gold-dark, #8a6a24);
	font-size: 13px;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.stf-zoom {
		justify-content: center;
		align-items: stretch;
		gap: 14px;
		padding: 18px;
		background: rgba(24, 23, 22, 0.95);
	}

	.stf-zoom__title {
		font-size: 16px;
	}

	.stf-zoom .stf-zoom__close.stf-zoom__close {
		font-size: 12px;
	}

	.stf-zoom__stage {
		height: 70vh;
	}

	.stf-zoom__hint {
		display: block;
	}
}
