/* Ergänzungen der Claude-Version für den unteren Seitenteil. Farben und Schrift stammen aus site.css. */
.route-row { min-height: 112px; padding: 1.05rem 0; }
.route-row h3 { font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--route); }
.route-distance { margin-top: .3rem; font-size: 1rem; }
.route-distance strong { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 840; line-height: 1.1; }
.route-start { margin-top: .1rem; font-size: .9rem; }
.day-steps--four { grid-template-columns: repeat(4, 1fr); }
.day-steps--four .day-place { letter-spacing: .02em; }
.signup-box { margin-top: 1.4rem; padding: 1.4rem 1.5rem 1rem; background: var(--bg); border: 1px solid var(--line); border-left: .4rem solid var(--gold); }
.signup-box h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.signup-box p { margin-top: .7rem; }
.signup-box ul { display: grid; gap: .45rem; margin: .9rem 0 .5rem; padding: 0; list-style: none; font-size: .96rem; }
.signup-box li { display: grid; grid-template-columns: 1.1rem 1fr; }
.signup-box li::before { content: ""; width: .45rem; height: .45rem; margin-top: .62rem; border-radius: 50%; background: var(--gold); }
.questions details p { color: var(--muted); }
.questions details p a { color: var(--accent); font-weight: 670; }
@media (max-width: 1023px) { .day-steps--four { grid-template-columns: repeat(2, 1fr); }
  .day-steps--four li:nth-child(3) { padding-left: 0; border-left: 0; }
  .day-steps--four li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 700px) { .day-steps--four { grid-template-columns: 1fr; } }

/* Streckenband im Titelbereich: Start, zwei Stationen, Ziel */
.route-band { grid-template-columns: auto minmax(3rem, 1fr) auto; align-items: center; column-gap: clamp(.9rem, 3vw, 2.5rem); row-gap: .9rem; }
.route-band dl { margin: 0; }
.band-end--ziel { text-align: right; }
.journey.route-band dd span { margin-top: .25em; }
.journey.route-band dd span + span { margin-top: .1em; font-weight: 560; color: #684820; }
.band-line { position: relative; display: flex; justify-content: space-evenly; align-items: center; height: 3.2rem; margin: 0; padding: 0; list-style: none; }
.band-line::before { content: ""; position: absolute; inset: 50% 0 auto; border-top: 2px dashed #9a742c; transform: translateY(-1px); }
.band-line::after { content: ""; position: absolute; right: -2px; top: 50%; width: .6rem; height: .6rem; border: solid #9a742c; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
.band-line li { position: relative; display: grid; justify-items: center; }
.band-line li::before { content: ""; width: .95rem; height: .95rem; border-radius: 50%; background: var(--ink); border: 3px solid #fbe9bf; box-shadow: 0 0 0 2px var(--ink); }
.band-line li span { position: absolute; top: 1.35rem; white-space: nowrap; font-size: .8rem; font-weight: 720; color: #684820; }
.band-note { grid-column: 1 / -1; padding-top: .8rem; border-top: 1px solid #b38b4466; font-size: .9rem; font-weight: 600; color: #503416; }

/* Karte als Vektorgrafik: feine Linien auf warmem Kartengrund, Ausschnitte, Großansicht */
.route-row { --route: #16695f; }
.route-row.run { --route: #6a3f93; }
.route-row.cycle { --route: #b9521a; }
.map-link { cursor: zoom-in; border: 1px solid var(--line); }
.map-svg { display: block; width: 100%; height: auto; font-family: Montserrat, sans-serif; }
.route-casing polyline { stroke: #fffaee; stroke-width: 4.6; }
/* Hervorhebung über Variablen, damit sie auch in den Ausschnitten und der Großansicht gilt */
.route-line { transition: opacity .2s, stroke-width .2s; }
.r-wandern { stroke: #16695f; opacity: var(--o-wandern, 1); stroke-width: var(--w-wandern, 2.3); }
.r-laufen { stroke: #6a3f93; opacity: var(--o-laufen, 1); stroke-width: var(--w-laufen, 2.3); }
.r-radfahren { stroke: #b9521a; opacity: var(--o-radfahren, 1); stroke-width: var(--w-radfahren, 2.3); }
:root[data-karte="wandern"] { --o-laufen: .16; --o-radfahren: .16; --w-wandern: 3.2; }
:root[data-karte="laufen"] { --o-wandern: .16; --o-radfahren: .16; --w-laufen: 3.2; }
:root[data-karte="radfahren"] { --o-wandern: .16; --o-laufen: .16; --w-radfahren: 3.2; }
.map-dot { fill: var(--ink); stroke: #fffaee; stroke-width: 2.5; }
.map-dot--ziel { fill: var(--gold); stroke: var(--ink); stroke-width: 2; }
.map-text text { fill: var(--ink); paint-order: stroke; stroke: #fffaee; stroke-width: 5; stroke-linejoin: round; }
.map-name { font-size: 27px; font-weight: 820; letter-spacing: -.03em; }
.map-sub { font-size: 14.5px; font-weight: 680; }
.map-marker circle { fill: var(--ink); stroke: #fffaee; stroke-width: 2.5; }
.map-marker text { fill: #fff6e6; font-size: 13px; font-weight: 800; }
.map-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0 1.1rem; }
.map-details figure { margin: 0; }
.map-detail { display: block; width: 100%; height: auto; background: var(--bg); border: 1px solid var(--line); }
.map-details figcaption { margin-top: .5rem; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.map-details figcaption strong { display: block; color: var(--ink); font-weight: 760; }
.map-dialog { width: min(96vw, 1100px); max-height: 94vh; padding: .75rem; border: 0; background: var(--bg); box-shadow: 0 1.5rem 4rem #2c221666; overflow: auto; }
.map-dialog::backdrop { background: #2c2216b8; }
.map-dialog form { display: flex; justify-content: flex-end; margin-bottom: .5rem; }
.map-dialog-close { min-height: 44px; padding: 0 1rem; border: 1px solid var(--ink); background: var(--ink); color: #fff6e6; font-weight: 720; cursor: pointer; }
@media (max-width: 700px) {
  .band-line li span { display: none; }
  .band-line { height: 2rem; }
}
@media (max-width: 480px) { .map-details { grid-template-columns: 1fr; } }
