/*
 * Tour-Route/Stops — geteilte Darstellung der eigenständigen SVG-Route + Stop-Liste.
 * EINE Quelle für Funnel UND [hotrod_tour_route]-Shortcode (im Funnel als Dependency geladen).
 * Nutzt die Design-Tokens (--hc-*); Fallbacks, falls das Token-Stylesheet mal fehlt.
 */

.hotrod-route {
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: start;
}

@media (min-width: 560px) {
	.hotrod-route {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		gap: 1.25rem;
	}
}

/* --- SVG-Route --- */
.hotrod-route-svg {
	width: 100%;
	height: auto;
	display: block;
	background: var(--hc-bg, #faf8f5);
	border: 1px solid var(--hc-line, #e7e2da);
	border-radius: var(--hc-radius, 12px);
	padding: 4px;
	box-sizing: border-box;
}

.hotrod-route-line {
	stroke: var(--hc-red, #e2231a);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 2 9;
	opacity: 0.85;
}

.hotrod-route-node circle {
	fill: var(--hc-red, #e2231a);
	stroke: var(--hc-white, #fff);
	stroke-width: 2.5;
}

.hotrod-route-node text {
	fill: var(--hc-white, #fff);
	font-family: var(--hc-font-display, "Oswald", sans-serif);
	font-weight: 600;
	font-size: 15px;
}

/* --- Begleitende Stop-Liste (nummeriert wie die Knoten) --- */
.hotrod-route-list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: hotrod-stop;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.hotrod-route-list li {
	counter-increment: hotrod-stop;
	position: relative;
	padding-left: 2.1rem;
	line-height: 1.35;
	font-family: var(--hc-font-sans, "Inter", sans-serif);
	color: var(--hc-black, #1a1a1a);
}

.hotrod-route-list li::before {
	content: counter(hotrod-stop);
	position: absolute;
	left: 0;
	top: 0.05em;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--hc-red, #e2231a);
	color: var(--hc-white, #fff);
	border-radius: 50%;
	font-family: var(--hc-font-display, "Oswald", sans-serif);
	font-weight: 600;
	font-size: 0.8rem;
}

.hotrod-route-name {
	font-weight: 600;
}

.hotrod-route-note {
	color: var(--hc-grey, #6b6b6b);
	font-size: 0.92em;
}
