/* Footer: Standorte – Skyline-Reihe im globalen Footer */

.dz-standorte {
	background-color: #f4f4f5;
	color: #333d4c;
	/* Die Skylines sind intrinsisch 1280–2200 px breit – nichts darf seitlich austreten. */
	overflow: hidden;
}

.dz-standorte__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem 2.5rem;
}

@media (min-width: 1536px) {
	.dz-standorte__inner {
		padding-left: 0;
		padding-right: 0;
	}
}

/* Standortseite: nur die Skyline der jeweiligen Stadt */
.dz-standorte--einzeln .dz-standorte__inner {
	padding-bottom: 0;
}

.dz-standorte__einzeln {
	text-align: center;
}

/* Maßstab wie die ursprüngliche swt-Skyline (w-full h-auto xl:h-[120px]):
   unter 1280 px volle Containerbreite, darüber rund 750 px – für alle drei
   Städte gleich breit, wie auf den Entwurfsfolien. */
.dz-standorte__einzeln-img {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: auto;
	max-width: 100%;
	min-width: 0;
}

@media (min-width: 1280px) {
	.dz-standorte__einzeln-img {
		width: 60%;
	}
}

.dz-standorte__intro {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.5;
}

.dz-standorte__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: end;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.dz-standorte__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

.dz-standorte__item {
	margin: 0;
}

.dz-standorte__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.875rem;
	color: #737373;
	text-decoration: none;
	transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.dz-standorte__figure {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	height: 84px;
}

.dz-standorte__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	/* Flex-Items haben min-width: auto und würden sonst auf ihre
	   intrinsische Bildbreite aufgehen. */
	min-width: 0;
	transition: opacity 0.3s ease-in-out;
}

/* Zurückgenommene Ruhelage nur dort, wo es auch einen Hover gibt –
   auf Touch-Geräten bleiben die Skylines voll sichtbar. */
@media (hover: hover) {
	.dz-standorte__img {
		opacity: 0.55;
	}
}

.dz-standorte__label {
	font-size: 0.9375rem;
	line-height: 1.4;
	text-align: center;
}

.dz-standorte__link:hover,
.dz-standorte__link:focus-visible {
	color: #333d4c;
	transform: translateY(-2px);
}

.dz-standorte__link:hover .dz-standorte__img,
.dz-standorte__link:focus-visible .dz-standorte__img {
	opacity: 1;
}

.dz-standorte__link:hover .dz-standorte__label,
.dz-standorte__link:focus-visible .dz-standorte__label {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

@media (prefers-reduced-motion: reduce) {
	.dz-standorte__link,
	.dz-standorte__img {
		transition: none;
	}

	.dz-standorte__link:hover,
	.dz-standorte__link:focus-visible {
		transform: none;
	}
}

/* Leerer Skyline-Slot des swt-Footer-Blocks (footer_skyline ist bewusst geleert) */
footer div[class*="h-[48px]"] {
	display: none;
}
