/* ===== Oben: Vorherige / Nächste Station mit Namen ===== */
.postNav.lhdk-pn {
	align-items: center;
	gap: 16px;
	padding: 22px 0;
}
.lhdk-pn a {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(50% - 8px);
	color: #343a40;
	text-decoration: none;
}
.lhdk-pn a.next {
	flex-direction: row-reverse;
	margin-left: auto;
	text-align: right;
}
.lhdk-pn-pfeil {
	display: flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #ced4da;
	border-radius: 50%;
	background: #fff;
	color: #073984;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lhdk-pn-pfeil svg {
	width: 18px;
	height: 18px;
}
.lhdk-pn-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.lhdk-pn-label {
	font-size: 12px;
	line-height: 1.3;
	color: #495057;
}
.lhdk-pn-titel {
	margin-top: 2px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: #073984;
}
.lhdk-pn a:hover .lhdk-pn-pfeil,
.lhdk-pn a:focus .lhdk-pn-pfeil {
	border-color: #073984;
	background: #073984;
	color: #fff;
}
.lhdk-pn a:hover .lhdk-pn-titel {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ===== Unten: zwei Karten am Ende der Station ===== */
.lhdk-rundgang {
	padding: 80px 0 0;
}
.lhdk-rg-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}
.lhdk-rg-karte {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	color: #343a40;
	text-decoration: none;
	transition: box-shadow .2s ease;
}
.lhdk-rg-karte:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, .09);
	color: #343a40;
	text-decoration: none;
}
.lhdk-rg-bild {
	display: block;
	flex: 0 0 112px;
	width: 112px;
	height: 84px;
	overflow: hidden;
	border-radius: 6px;
	background: #dee2e6;
}
.lhdk-rg-bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lhdk-rg-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}
.lhdk-rg-label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
	font-size: 13px;
	line-height: 1.3;
	color: #495057;
}
.lhdk-rg-label svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	color: #073984;
	transition: transform .2s ease;
}
.lhdk-rg-titel {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	color: #343a40;
	transition: color .15s ease;
}
.lhdk-rg-karte:hover .lhdk-rg-titel {
	color: #073984;
}
.lhdk-rg--prev:hover .lhdk-rg-label svg {
	transform: translateX(-3px);
}
.lhdk-rg--next:hover .lhdk-rg-label svg {
	transform: translateX(3px);
}

/* Handy: nächste Station zuerst, beide Karten gleich aufgebaut */
.lhdk-rg--next {
	order: -1;
}
.lhdk-rg--next .lhdk-rg-label svg {
	order: 2;
}

/* Ab Tablet: nebeneinander, vorherige links, nächste rechts gespiegelt */
@media (min-width: 768px) {
	.lhdk-rg-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
	.lhdk-rg--next {
		grid-column: 2;
		order: 0;
		flex-direction: row-reverse;
		text-align: right;
	}
	.lhdk-rg--next .lhdk-rg-label {
		justify-content: flex-end;
	}
}

/* Tastatur: deutlich sichtbarer Fokus */
.lhdk-pn a:focus-visible,
.lhdk-rg-karte:focus-visible {
	outline: 2px solid #073984;
	outline-offset: 4px;
	border-radius: 10px;
}

@media (max-width: 575.98px) {
	.lhdk-pn-pfeil {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
	}
	.lhdk-pn-titel {
		font-size: 14px;
	}
	.lhdk-rg-bild {
		flex-basis: 88px;
		width: 88px;
		height: 66px;
	}
	.lhdk-rg-titel {
		font-size: 16px;
	}
}
