.rd-locations {
	--rd-brand-green: #9cc329;
	--rd-brand-green-light: #afd738;
	--rd-brand-blue: #006ec3;
	--rd-brand-blue-dark: #005596;
	--rd-brand-dark: #1f2933;
	--rd-brand-white: #ffffff;
	--rd-brand-light-bg: #f6f8f9;
	--rd-brand-gray: #334155;
	--rd-radius-card: 8px;
	--rd-shadow-card: 0 4px 20px rgba(31, 41, 51, 0.08);
	position: relative;
}

.rd-locations__inner {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-top: clamp(48px, 5vw, 90px);
	padding-bottom: clamp(48px, 5vw, 90px);
}

.rd-locations__header {
	text-align: center;
	margin-bottom: 56px;
}


.rd-locations__header h2 {
	font-family: "Inter", Arial, sans-serif;
	font-size: clamp(1.6rem, calc(1rem + 2.5vw), 2.4rem);
	font-weight: 400;
	color: var(--rd-brand-dark);
	line-height: 1.2;
	margin-bottom: 0;
}

.rd-locations__header h2 strong {
	font-weight: 700;
	color: var(--rd-brand-green);
}

.rd-locations__split {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.1fr) minmax(280px, 1fr);
	gap: 24px;
	align-items: start;
}

.rd-locations__map-wrapper {
	max-width: 520px;
	width: 100%;
	justify-self: center;
}

.rd-locations__map-image {
	aspect-ratio: 1 / 1;
	min-height: 0;
}

.rd-locations__col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rd-locations__addr-row {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0 18px;
	align-items: start;
	padding: 18px 20px 18px 16px;
	border-radius: var(--rd-radius-card);
	background: var(--rd-brand-white);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	opacity: 0;
	transform: translateY(12px);
	transition: background 0.22s ease, transform 0.22s ease;
}

.rd-locations__addr-row.is-visible {
	animation: rdLocationsReveal 0.45s ease-out forwards;
}

.rd-locations__addr-row:hover {
	background: #f9fbf4;
	transform: translateY(-1px);
}

.rd-locations__addr-row:nth-child(1) { animation-delay: 0s; }
.rd-locations__addr-row:nth-child(2) { animation-delay: 0.08s; }
.rd-locations__addr-row:nth-child(3) { animation-delay: 0.16s; }
.rd-locations__addr-row:nth-child(4) { animation-delay: 0.24s; }

@keyframes rdLocationsReveal {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.rd-locations__badge {
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--rd-brand-green) 0%, var(--rd-brand-green-light) 100%);
	color: var(--rd-brand-white);
	font-family: "Inter", Arial, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 3px 10px rgba(156, 195, 41, 0.3);
	margin-top: 2px;
}

.rd-locations__info {
	min-width: 0;
}

.rd-locations__label {
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rd-brand-green);
	margin-bottom: 3px;
}

.rd-locations__name {
	font-family: "Inter", Arial, sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--rd-brand-dark);
	margin-bottom: 6px;
	line-height: 1.3;
}

.rd-locations__address {
	font-size: 0.83rem;
	color: var(--rd-brand-gray);
	line-height: 1.6;
	margin-bottom: 10px;
}

.rd-locations__address strong {
	color: var(--rd-brand-dark);
	font-weight: 600;
	display: block;
	font-size: 0.9rem;
}

.rd-locations__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
}

.rd-locations__contact a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	color: var(--rd-brand-dark);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.18s;
}

.rd-locations__contact a:hover {
	color: var(--rd-brand-green);
}

.rd-locations__contact a svg {
	width: 13px;
	height: 13px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	flex-shrink: 0;
}

.rd-locations__pin {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding-top: 4px;
	cursor: default;
}

.rd-locations__pin-icon {
	width: 26px;
	height: 26px;
	background: linear-gradient(135deg, var(--rd-brand-green) 0%, var(--rd-brand-green-light) 100%);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	border: 2.5px solid var(--rd-brand-white);
	box-shadow: 0 3px 12px rgba(156, 195, 41, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s, box-shadow 0.2s;
}

.rd-locations__pin-icon span {
	transform: rotate(45deg);
	color: var(--rd-brand-white);
	font-size: 0.6rem;
	font-weight: 700;
	font-family: "Inter", Arial, sans-serif;
	line-height: 1;
}

.rd-locations__addr-row:hover .rd-locations__pin-icon {
	transform: rotate(-45deg) scale(1.12);
	box-shadow: 0 5px 18px rgba(156, 195, 41, 0.5);
}

.rd-locations__pin-label {
	margin-top: 6px;
	font-size: 0.65rem;
	color: var(--rd-brand-gray);
	font-family: "Inter", Arial, sans-serif;
	font-weight: 500;
	white-space: nowrap;
	opacity: 0.85;
}

.rd-locations__map-wrapper {
	align-self: center;
	border-radius: var(--rd-radius-card);
	box-shadow: var(--rd-shadow-card);
	background: var(--rd-brand-white);
}

.rd-locations__map-image {
	width: 100%;
	min-height: 320px;
	position: relative;
	background: #f6f8f9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rd-locations__map-svg {
	width: 100%;
	height: auto;
	display: block;
	position: relative;
	z-index: 1;
	opacity: 0.95;
	filter: saturate(1.05);
}

.rd-locations__map-overlay {
	position: absolute;
	inset: 0;
	z-index: 3;
}

.rd-locations__marker {
	position: absolute;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	border: 0;
	padding: 0;
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
}

.rd-locations__marker-dot {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--rd-brand-green) 0%, var(--rd-brand-green-light) 100%);
	box-shadow: 0 6px 18px rgba(156, 195, 41, 0.35);
	border: 3px solid var(--rd-brand-white);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rd-locations__marker-num {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Inter", Arial, sans-serif;
	font-weight: 700;
	font-size: 0.72rem;
	color: var(--rd-brand-white);
	line-height: 1;
}

.rd-locations__marker:hover .rd-locations__marker-dot,
.rd-locations__marker.is-active .rd-locations__marker-dot {
	transform: scale(1.15);
	box-shadow: 0 10px 26px rgba(156, 195, 41, 0.5);
}

.rd-locations__tooltip {
	position: absolute;
	z-index: 4;
	top: 0;
	left: 0;
	transform: translate(-50%, -100%);
	max-width: min(320px, calc(100% - 24px));
	background: rgba(31, 41, 51, 0.96);
	color: var(--rd-brand-white);
	border-radius: 12px;
	padding: 10px 12px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.rd-locations__tooltip[data-open="true"] {
	opacity: 1;
	transform: translate(-50%, calc(-100% - 2px));
}

.rd-locations__tooltip-name {
	font-family: "Inter", Arial, sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	margin-bottom: 3px;
}

.rd-locations__tooltip-addr {
	font-size: 0.8rem;
	line-height: 1.4;
	opacity: 0.95;
}

.rd-locations__addr-row.is-active {
	background: #f9fbf4;
	transform: translateY(-1px);
}

.rd-locations__map-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 45%, rgba(255, 255, 255, 0.55) 0%, transparent 65%);
	pointer-events: none;
	z-index: 0;
}

.rd-locations__germany-outline {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.rd-locations__germany-outline .germany-silhouette {
	fill: rgba(156, 195, 41, 0.18);
	stroke: rgba(156, 195, 41, 0.58);
	stroke-width: 2;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.rd-locations__germany-outline .germany-interior {
	fill: rgba(156, 195, 41, 0.08);
	stroke: rgba(156, 195, 41, 0.35);
	stroke-width: 1;
	stroke-linecap: round;
}

.rd-locations__map-pin {
	position: absolute;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	z-index: 3;
}

.rd-locations__map-pin__icon {
	width: 32px;
	height: 32px;
	background: linear-gradient(135deg, var(--rd-brand-green) 0%, var(--rd-brand-green-light) 100%);
	border-radius: 50%;
	border: 3px solid var(--rd-brand-white);
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rd-locations__map-pin__icon span {
	color: var(--rd-brand-white);
	font-size: 0.7rem;
	font-weight: 700;
	font-family: "Inter", Arial, sans-serif;
	line-height: 1;
	position: relative;
	top: -0.5px;
}

.rd-locations__map-pin:hover .rd-locations__map-pin__icon {
	transform: scale(1.18);
	box-shadow: 0 6px 20px rgba(156, 195, 41, 0.45);
}

.rd-locations__map-pin__label {
	margin-top: 6px;
	background: var(--rd-brand-dark);
	color: var(--rd-brand-white);
	font-size: 0.68rem;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 20px;
	white-space: nowrap;
	font-family: "Inter", Arial, sans-serif;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	letter-spacing: 0.01em;
}

.rd-locations__map-pin:hover .rd-locations__map-pin__label {
	opacity: 1;
}

.rd-locations__illustration {
	pointer-events: none;
}

.rd-locations__illustration--br {
	position: absolute;
	bottom: -20px;
	right: 0;
	opacity: 0.25;
}

@media screen and (max-width: 1200px) {
	.rd-locations__split {
		grid-template-columns: 1fr 1fr;
	}

	.rd-locations__col--right {
		grid-column: 1 / -1;
	}
}

@media screen and (max-width: 768px) {
	.rd-locations__header {
		margin-bottom: 36px;
	}

	.rd-locations__split {
		grid-template-columns: 1fr;
	}

	.rd-locations__map-wrapper {
		order: -1;
	}

	.rd-locations__map-image {
		height: 320px;
	}

	.rd-locations__addr-row {
		grid-template-columns: auto 1fr;
	}

	.rd-locations__addr-row .rd-locations__pin {
		display: none;
	}

	.rd-locations__addr-row:hover .rd-locations__pin-icon {
		transform: rotate(-45deg);
	}
}

@media screen and (max-width: 470px) {
	.rd-locations__header {
		margin-bottom: 28px;
	}

	.rd-locations__addr-row {
		padding: 14px 14px 14px 12px;
	}

	.rd-locations__name {
		font-size: 0.98rem;
	}

	.rd-locations__map-image {
		height: 280px;
	}

	.rd-locations__map-wrapper {
		padding-left: 0;
		padding-right: 0;
	}
}
