.maps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	padding: 20px;
	margin: 0 auto;
	box-sizing: border-box;
}

@media (max-width: 1024px) {
	.maps-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.maps-grid {
		grid-template-columns: 1fr;
	}
}

.maps-grid h2.maps-year-heading {
	color: #fff;
	font-size: 1.6rem;
	margin: 30px 20px 10px;
	border-left: 4px solid #FE080B;
	padding-left: 10px;
}

.maps-item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	min-height: 320px;
	background: #111;
	color: #fff;
	text-decoration: none;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0,0,0,0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.maps-item:hover {
	transform: scale(1.02);
	box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.map-preview {
	width: 100%;
	height: 180px;
	background: #000;
}

.maps-item h3.title {
	font-size: 1.1rem;
	margin: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}



.maps-item p.description {
	font-size: 0.95rem;
	margin: 0 10px 10px;
	color: #ccc;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	flex-grow: 1;
}

/* Zusatzinfos (Entfernung, Zeit, Kurven) */
.maps-item p.details {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.03);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #ddd;
	font-size: 0.85rem;
	width: 100%;
	box-sizing: border-box;
	flex-wrap: wrap;
	margin-top: auto;
	margin-bottom: 0px;
}

.maps-item p.details span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.maps-item p.details i {
	min-width: 16px;
	text-align: center;
}

/* Karte */
#map {
	height: 600px;
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
	margin: 2rem auto;
}

p.deatils {
	font-size: 1rem;
	color: #ddd;
	text-align: center;
	margin-top: 1rem;
	display: flex;
	justify-content: center;
	gap: 1.2rem;
	flex-wrap: wrap;
	align-items: center;
}

p.deatils span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

p.deatils i {
	margin-right: 0;
}

/* Button-Leiste unter der Karte */
.map-buttons {
	text-align: center;
	margin: 2rem auto;
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}

.map-buttons .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: #cc0000;
	color: #fff;
	padding: 0.8rem 1.5rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	font-size: 1rem;
	transition: background 0.3s ease;
}

.map-buttons .btn i {
	font-size: 1.2rem;
}

.map-buttons .btn:hover {
	background: #a00000;
}

.map-buttons .icon {
	color: #fff;
	vertical-align: middle;
}

.map-buttons .icon path {
	fill: currentColor;
}

@media (max-width: 600px) {
	#map {
		height: 300px;
	}
	h1 {
		font-size: 1.8rem;
	}
	p {
		font-size: 1rem;
	}
}


