.foerderwert-austria-map {
	box-sizing: border-box;
	width: min(1240px, calc(100% - 4rem));
	margin-inline: auto;
	padding: clamp(1rem, 3vw, 2rem);
	border: 1px solid #d7e1df;
	border-radius: 1.75rem;
	background: #ffffff;
	box-shadow: 0 1rem 3rem rgba(11, 38, 51, 0.08);
	color: #17313a;
	overflow: hidden;
}

.foerderwert-austria-map__header {
	max-width: 48rem;
	margin-bottom: 1.5rem;
}

.foerderwert-austria-map__eyebrow {
	margin: 0 0 0.55rem;
	color: #006653;
	font-size: 0.84rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.foerderwert-austria-map__header h2 {
	margin: 0;
	color: #0b2633;
	font-size: clamp(1.9rem, 4vw, 3rem);
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.foerderwert-austria-map__header > p:last-child {
	margin: 0.9rem 0 0;
	color: #40565e;
	font-size: 1.05rem;
	line-height: 1.65;
}

.foerderwert-austria-map__empty {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-left: 3px solid #479a8c;
	background: #f4f7f6;
	color: #40565e;
	line-height: 1.55;
}

.foerderwert-austria-map__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.75fr);
	gap: clamp(1rem, 3vw, 1.75rem);
	align-items: start;
}

.foerderwert-austria-map__visual {
	min-width: 0;
	padding: clamp(0.7rem, 1.5vw, 1rem);
	border-radius: 1.25rem;
	background: #f4f7f6;
}

.foerderwert-austria-map__visual svg {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	overflow: visible;
}

.foerderwert-austria-map__state path {
	fill: #e4ebe9;
	stroke: #52666d;
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
}

.foerderwert-austria-map__state--active path {
	fill: #00735f;
	stroke: #0b4f43;
}

.foerderwert-austria-map__state text {
	fill: #17313a;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 800;
	pointer-events: none;
	text-anchor: middle;
}

.foerderwert-austria-map__state--active text {
	fill: #ffffff;
}

.foerderwert-austria-map__state-code {
	font-size: 17px;
}

.foerderwert-austria-map__state-count {
	font-size: 14px;
}

.foerderwert-austria-map__state:hover path,
.foerderwert-austria-map__state:focus path,
.foerderwert-austria-map__state:focus-visible path {
	fill: #005c4c;
	stroke: #ffbf47;
	stroke-width: 4;
}

.foerderwert-austria-map__state:hover text,
.foerderwert-austria-map__state:focus text,
.foerderwert-austria-map__state:focus-visible text {
	fill: #ffffff;
}

.foerderwert-austria-map__state:focus {
	outline: none;
}

.foerderwert-austria-map__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin-top: 0.6rem;
	color: #40565e;
	font-size: 0.88rem;
}

.foerderwert-austria-map__legend span {
	display: inline-flex;
	gap: 0.45rem;
	align-items: center;
}

.foerderwert-austria-map__legend-swatch {
	width: 0.85rem;
	height: 0.85rem;
	border: 1px solid #52666d;
	border-radius: 0.2rem;
	background: #e4ebe9;
}

.foerderwert-austria-map__legend-swatch--active {
	border-color: #0b4f43;
	background: #00735f;
}

.foerderwert-austria-map__regions ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: minmax(4.5rem, auto);
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.foerderwert-austria-map__regions li {
	min-width: 0;
}

.foerderwert-austria-map__regions a,
.foerderwert-austria-map__nationwide {
	display: flex;
	box-sizing: border-box;
	height: 100%;
	flex-direction: column;
	justify-content: center;
	padding: 0.55rem 0.7rem;
	border: 1px solid #d7e1df;
	border-radius: 0.85rem;
	background: #ffffff;
	color: #17313a;
	text-decoration: none;
}

.foerderwert-austria-map .foerderwert-austria-map__regions li > a {
	text-decoration: none;
}

.foerderwert-austria-map__regions strong,
.foerderwert-austria-map__nationwide strong {
	font-size: 1rem;
	line-height: 1.25;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.foerderwert-austria-map__regions span,
.foerderwert-austria-map__nationwide span {
	margin-top: 0.2rem;
	color: #52666d;
	font-size: 0.8rem;
	line-height: 1.25;
}

.foerderwert-austria-map__regions a:hover,
.foerderwert-austria-map__nationwide:hover {
	border-color: #479a8c;
	background: #eef7f5;
}

.foerderwert-austria-map__links {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	align-items: flex-start;
	margin-top: 0.9rem;
}

.foerderwert-austria-map__nationwide {
	height: auto;
	min-height: auto;
	width: min(100%, 18rem);
}

.foerderwert-austria-map__all {
	display: inline-flex;
	min-height: 2.9rem;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.1rem;
	border: 2px solid #00735f;
	border-radius: 999px;
	background: #00735f;
	color: #ffffff;
	font-weight: 750;
	text-align: center;
	text-decoration: none;
}

.foerderwert-austria-map__all:hover {
	border-color: #005c4c;
	background: #005c4c;
}

.foerderwert-austria-map :is(a):focus-visible {
	outline: 3px solid #ffbf47;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px #0b2633;
}

@media (max-width: 960px) {
	.foerderwert-austria-map__layout {
		grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr);
	}
}

@media (max-width: 700px) {
	.foerderwert-austria-map {
		width: calc(100% - 2rem);
		padding: 1rem;
		border-radius: 1.25rem;
	}

	.foerderwert-austria-map__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.foerderwert-austria-map__links {
		flex-direction: column;
	}

	.foerderwert-austria-map__regions ul {
		grid-template-columns: minmax(0, 1fr);
	}

	.foerderwert-austria-map__nationwide,
	.foerderwert-austria-map__all {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.foerderwert-austria-map *,
	.foerderwert-austria-map *::before,
	.foerderwert-austria-map *::after {
		scroll-behavior: auto;
		transition-duration: 0.01ms;
	}
}
