/*
 * Tour-Details-Seite ([hotrod_tour_details]) — 1:1 aus dem Claude-Design
 * "Tour-Details.dc.html" portiert (Design-rem ×10 = px; eigenes Dark-Theme,
 * bewusst NICHT die hellen Funnel-Tokens). Leaflet-Overrides am Ende.
 */

.hotrod-td,
.hotrod-tm {
	--htd-orange: #FF6B00;
	--htd-orange-700: #B84400;
	--htd-ink: #0B0B0C;
	--htd-asphalt: #141416;
	--htd-line: #2A2A2E;
	--htd-on: #F4F2EF;
	--htd-muted: #A8A29A;
	--htd-fd: 'Oswald', sans-serif;
	--htd-fb: 'Inter', sans-serif;
}

.hotrod-td {
	font-family: var(--htd-fb);
	background: var(--htd-ink);
	color: var(--htd-on);
	padding: clamp(24px, 16px + 3vw, 50px) clamp(16px, 10px + 3vw, 40px);
	position: relative;
	box-sizing: border-box;
	line-height: 1.5;
}
:is(.hotrod-td, .hotrod-tm) *,
:is(.hotrod-td, .hotrod-tm) *::before,
:is(.hotrod-td, .hotrod-tm) *::after { box-sizing: border-box; }
:is(.hotrod-td, .hotrod-tm) :is(h2, h3, p) { margin: 0; }

.hotrod-td .htd-stripe {
	position: absolute; top: 0; left: 0; right: 0; height: 7px;
	background: repeating-linear-gradient(115deg, var(--htd-orange) 0 14px, transparent 14px 26px);
}

.hotrod-td .htd-wrap { max-width: 1260px; margin-inline: auto; }

.hotrod-td .htd-back {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--htd-fd); font-weight: 600; font-size: 13px;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--htd-muted); text-decoration: none; margin-bottom: 20px;
}
.hotrod-td .htd-back:hover { color: var(--htd-orange); }

/* --- Tabs --- */
.hotrod-td .htd-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 20px + 2vw, 40px); }
.hotrod-td .htd-tab {
	font-family: var(--htd-fd); font-weight: 600; font-size: 13.5px;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--htd-muted); background: var(--htd-asphalt);
	border: 1px solid var(--htd-line); border-radius: 0;
	padding: 11px 16px; cursor: pointer;
	transition: color .15s, border-color .15s, background .15s;
}
.hotrod-td .htd-tab:hover { border-color: var(--htd-orange); color: var(--htd-on); background: var(--htd-asphalt); }
.hotrod-td .htd-tab.on { background: var(--htd-orange); border-color: var(--htd-orange); color: #0b0b0c; }

/* --- Kopf --- */
.hotrod-td .htd-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; margin-bottom: 24px; }
.hotrod-td .htd-title {
	font-family: var(--htd-fd); font-weight: 700; text-transform: uppercase;
	line-height: .95; letter-spacing: -.01em;
	font-size: clamp(34px, 24px + 3vw, 56px); color: #fff;
}
.hotrod-td .htd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
:is(.hotrod-td, .hotrod-tm) .htd-chip {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--htd-fd); font-weight: 600; font-size: 12px;
	letter-spacing: .12em; text-transform: uppercase; color: #fff;
	background: rgba(255, 255, 255, .05); border: 1px solid var(--htd-line);
	padding: 6px 11px;
}
:is(.hotrod-td, .hotrod-tm) .htd-chip.hot { color: var(--htd-orange); border-color: rgba(255, 107, 0, .4); }

.hotrod-td .htd-vibe { font-size: 17px; line-height: 1.5; color: var(--htd-on); max-width: 72ch; margin-bottom: 6px; }
.hotrod-td .htd-who { font-size: 14px; color: var(--htd-muted); max-width: 80ch; margin-bottom: 26px; }
.hotrod-td .htd-who b {
	color: var(--htd-orange); font-family: var(--htd-fd); font-weight: 600;
	letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px;
}

/* --- Grid: Karte | Panel --- */
.hotrod-td .htd-grid { display: grid; gap: clamp(20px, 12px + 2vw, 32px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) {
	.hotrod-td .htd-grid { grid-template-columns: 1.05fr .95fr; }
}

/* --- Karte --- */
:is(.hotrod-td, .hotrod-tm) .htd-map {
	position: relative; width: 100%; aspect-ratio: 16 / 12;
	border: 1px solid var(--htd-line); background: var(--htd-asphalt); z-index: 1;
}
:is(.hotrod-td, .hotrod-tm) .htd-map.htd-map-empty { display: none; }
:is(.hotrod-td, .hotrod-tm) .htd-map-mount { position: absolute; inset: 0; }
:is(.hotrod-td, .hotrod-tm) .htd-map .leaflet-container { width: 100%; height: 100%; background: #101012; font-family: var(--htd-fb); }
:is(.hotrod-td, .hotrod-tm) .htd-map .leaflet-control-attribution { background: rgba(11, 11, 12, .7); color: #8a857d; font-size: 10px; }
:is(.hotrod-td, .hotrod-tm) .htd-map .leaflet-control-attribution a { color: #a8a29a; }

:is(.hotrod-td, .hotrod-tm) .htd-mk {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
	font-family: var(--htd-fd); font-weight: 700; font-size: 13.5px; color: #fff;
	background: var(--htd-ink); border: 2px solid var(--htd-orange); border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .55); cursor: pointer;
}
:is(.hotrod-td, .hotrod-tm) .htd-mk.on { background: #FF6B00; color: #0b0b0c; box-shadow: 0 0 0 6px rgba(255, 107, 0, .25); }

:is(.hotrod-td, .hotrod-tm) .htd-cap {
	position: absolute; left: 12px; bottom: 10px; z-index: 500;
	font-family: var(--htd-fd); font-weight: 600; font-size: 10.5px;
	letter-spacing: .12em; text-transform: uppercase; color: #cfc9c0;
	background: rgba(11, 11, 12, .72); padding: 5px 9px;
	border: 1px solid var(--htd-line); pointer-events: none;
	max-width: calc(100% - 24px);
}
:is(.hotrod-td, .hotrod-tm) .htd-cap b { color: var(--htd-orange); }

/* --- Stop-Chips + Beschreibung --- */
:is(.hotrod-td, .hotrod-tm) .htd-stops { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
:is(.hotrod-td, .hotrod-tm) .htd-stop {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--htd-fd); font-weight: 600; font-size: 12px;
	letter-spacing: .05em; text-transform: uppercase;
	color: var(--htd-muted); background: var(--htd-asphalt);
	border: 1px solid var(--htd-line); border-radius: 0;
	padding: 7px 10px; cursor: pointer;
	transition: color .15s, border-color .15s;
}
:is(.hotrod-td, .hotrod-tm) .htd-stop:hover { border-color: var(--htd-orange); color: var(--htd-on); background: var(--htd-asphalt); }
:is(.hotrod-td, .hotrod-tm) .htd-stop.on { color: #fff; border-color: var(--htd-orange); background: rgba(255, 107, 0, .1); }
:is(.hotrod-td, .hotrod-tm) .htd-stop .n { color: var(--htd-orange); }

:is(.hotrod-td, .hotrod-tm) .htd-stopdesc {
	margin-top: 12px; padding: 14px 16px;
	background: var(--htd-asphalt); border: 1px solid var(--htd-line);
	border-left: 3px solid var(--htd-orange);
	font-size: 14.5px; line-height: 1.55; color: var(--htd-muted);
}
:is(.hotrod-td, .hotrod-tm) .htd-stopdesc b {
	color: #fff; font-family: var(--htd-fd); font-weight: 600;
	text-transform: uppercase; letter-spacing: .04em;
}

/* --- Panel --- */
.hotrod-td .htd-panel {
	display: flex; flex-direction: column; gap: 22px;
	background: var(--htd-asphalt); border: 1px solid var(--htd-line);
	border-top: 3px solid var(--htd-orange);
	padding: clamp(22px, 16px + 1.5vw, 32px);
}
.hotrod-td .htd-desc { font-size: 16px; line-height: 1.7; color: var(--htd-muted); }
.hotrod-td .htd-h4 {
	font-family: var(--htd-fd); font-weight: 600; font-size: 14px;
	letter-spacing: .18em; text-transform: uppercase; color: var(--htd-orange);
}
.hotrod-td .htd-his { display: flex; flex-direction: column; gap: 10px; }
.hotrod-td .htd-hi { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.5; color: var(--htd-on); }
.hotrod-td .htd-hi::before {
	content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px;
	background: var(--htd-orange);
	clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

/* --- CTA-Zeile --- */
.hotrod-td .htd-cta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
	padding-top: 20px; border-top: 1px solid var(--htd-line);
}
.hotrod-td .htd-price { display: flex; flex-direction: column; }
.hotrod-td .htd-price b { font-family: var(--htd-fd); font-weight: 700; font-size: 28px; color: #fff; line-height: 1; }
.hotrod-td .htd-price span {
	font-family: var(--htd-fd); font-weight: 500; font-size: 11.5px;
	letter-spacing: .1em; text-transform: uppercase; color: var(--htd-muted);
}
:is(.hotrod-td, .hotrod-tm) .htd-btn {
	margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--htd-fb); font-weight: 700; font-size: 14px;
	letter-spacing: .04em; text-transform: uppercase;
	color: #0b0b0c !important; background: var(--htd-orange);
	padding: 16px 26px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
	text-decoration: none; border: 0; cursor: pointer;
	transition: transform .18s, background .18s;
}
:is(.hotrod-td, .hotrod-tm) .htd-btn:hover { transform: translateX(3px); background: var(--htd-orange-700); color: #fff !important; }
@media (max-width: 560px) {
	.hotrod-td .htd-btn { margin-left: 0; }
}

/* ==========================================================================
   [hotrod_tour_maps] — alle Karten als Grid (Startseite). Wrapper transparent
   (Seiten-Hintergrund bestimmt der Container), jede Karte = dunkle Karte-Card.
   ========================================================================== */

.hotrod-tm {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	font-family: var(--htd-fb);
	color: var(--htd-on);
	line-height: 1.5;
}
@media (min-width: 960px) {
	.hotrod-tm.hotrod-tm-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hotrod-tm.hotrod-tm-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.hotrod-tm .htm-item {
	display: flex;
	flex-direction: column;
	gap: 0;
	background: var(--htd-ink);
	border: 1px solid var(--htd-line);
	border-top: 3px solid var(--htd-orange);
	padding: clamp(16px, 12px + 1vw, 24px);
	min-width: 0;
}

.hotrod-tm .htm-head {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
	margin-bottom: 14px;
}
.hotrod-tm .htm-title {
	font-family: var(--htd-fd); font-weight: 700; text-transform: uppercase;
	line-height: 1; letter-spacing: -.01em;
	font-size: clamp(22px, 18px + 1vw, 30px); color: #fff;
	margin-right: auto;
}

.hotrod-tm .htm-cta { display: flex; justify-content: flex-end; margin-top: 16px; }
.hotrod-tm .htm-cta .htd-btn { margin-left: 0; }
