/* Streckenseiten. Eigene Datei, damit das Bundle der Suche unberuehrt bleibt:
   diese Seiten brauchen von der Oberflaeche nur die Themenumschaltung. */

.routehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.routehead__brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
}

.routehead__brand em {
  font-style: normal;
  color: var(--accent);
}

.routepage {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
  line-height: 1.65;
}

.routepage h1 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

.routepage h2 {
  font-size: 1.15rem;
  margin: 2.5rem 0 0.75rem;
}

.routepage .lede {
  font-size: 1.05rem;
  color: var(--text-dim);
}

.crumbs {
  font-size: 0.85rem;
  color: var(--text-faint);
}

.crumbs a {
  color: inherit;
}

/* Preistabelle: der Balken ist eine Zelle mit einem Span darin, dessen Breite den
   Anteil am teuersten Monat abbildet. Kein Diagramm, kein Skript. */
.prices {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-variant-numeric: tabular-nums;
}

.prices caption {
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding-bottom: 0.6rem;
}

.prices th,
.prices td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}

.prices thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.pricerow__bar {
  width: 45%;
}

/* Der laengste Balken ist immer der teuerste Monat, er gibt den Massstab vor. */
.pricerow__bar span {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--line-strong);
}

.pricerow__price {
  white-space: nowrap;
  font-weight: 600;
}

.pricerow__direct {
  font-size: 0.85rem;
  color: var(--text-faint);
  white-space: nowrap;
}

.pricerow.is-best th {
  font-weight: 700;
}

.pricerow.is-best .pricerow__bar span {
  background: var(--accent);
}

.stand {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.cta {
  margin: 2rem 0;
}

.cta__button {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.routelinks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.routelinks a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  font-size: 0.95rem;
}

.routelinks a:hover {
  border-color: var(--accent-edge);
  color: var(--accent-text);
}

.originblock {
  margin-bottom: 1.5rem;
}

.originblock h2 span {
  color: var(--text-faint);
  font-weight: 400;
}

.routefoot {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  font-size: 0.8rem;
  color: var(--text-faint);
  line-height: 1.6;
}

.routefoot a {
  color: inherit;
}
