/* Die Lage-Seite (lage.html) — nur das, was ausschliesslich sie braucht:
   Fahrzeiten-Radar, Gehminuten-Leiste, Karte, Parken, breites Foto.

   Kopf, Fuss, Wortmarke und Grundfarben kommen aus rechtstext.css. Das
   Seitengeruest — Oberflaechen (.s-dark/.s-light), Auftakt, Textsektionen,
   Grundsatzliste, CTA, Weiterlesen-Karte, Abschluss, Auftritt beim
   Scrollen — steht seit dem 22.08.2026 in seite.css und wird von der
   Wer-Seite mitbenutzt. seite.css wird VOR dieser Datei geladen, damit
   die Sonderfaelle hier gewinnen (`.zwei--anschluss` ueber `.zwei`,
   `.text.wide` ueber `.text`). */

/* Leiste und Karte brauchen die volle Breite neben der Marginalspalte */
.text.wide .wrap {
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  row-gap: 18px;
}
@media (max-width: 720px) {
  .text.wide .wrap {
    grid-template-columns: 1fr;
  }
}
.span-all {
  grid-column: 1 / -1;
}

/* ===== Fahrzeiten-Radar ===== */
.radar {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 860px) {
  .radar {
    grid-template-columns: 1fr;
  }
  .radar svg {
    max-width: 440px;
    margin: 0 auto;
  }
  .radar .city {
    font-size: 21px;
  }
  .radar .time {
    font-size: 14px;
  }
  .radar .ringlbl {
    font-size: 12.5px;
  }
}
.radar svg {
  width: 100%;
  height: auto;
  display: block;
}
.radar .ring {
  fill: none;
  stroke: var(--rule-solid);
  stroke-width: 1;
}
.radar .ringlbl {
  fill: var(--fg-muted);
  font: 700 10.5px Manrope, Arial, sans-serif;
  letter-spacing: 0.14em;
}
/* Oberflaechengebunden seit 24.08.2026. Hier standen `var(--cream)`,
   `var(--gold)` und `var(--anthracite)` fest verdrahtet — genau die
   Ad-hoc-Toene, die das Farbsystem ausschliesst. Aufgefallen ist es,
   als der Abschnitt von Anthrazit auf Cream wechselte: die Staedtenamen
   waeren cremeweiss auf Cream gestanden, also unsichtbar. */
.radar .spoke {
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0.55;
}
.radar .city {
  fill: var(--fg);
  font: 400 17px 'Archivo Black', "Arial Black", sans-serif;
  letter-spacing: -0.01em;
}
.radar .time {
  fill: var(--accent);
  font: 800 11.5px Manrope, Arial, sans-serif;
  letter-spacing: 0.12em;
}
.radar .dot {
  fill: var(--fg);
}
.radar .center {
  fill: var(--accent);
}
.radar .centerlbl {
  fill: var(--auf-akzent);
  font: 800 12px Manrope, Arial, sans-serif;
  letter-spacing: 0.08em;
}
.radar .node {
  cursor: pointer;
  outline: none;
}
.radar .node .dot,
.radar .node .city,
.radar .node .time,
.radar .spoke {
  transition: opacity 200ms ease, fill 200ms ease, stroke-width 200ms ease;
}
/* 0.35 nahm die vier uebrigen Staedtenamen auf 2,83:1 herunter — beim
   Ueberfahren einer Stadt waren die anderen praktisch nicht mehr zu
   lesen. Daempfen ja, verschwinden nein: 0.55 sind 5,12:1. */
.radar.hot .node:not(.on) {
  opacity: 0.55;
}
.radar.hot .spoke:not(.on) {
  opacity: 0.15;
}
.radar .node.on .dot {
  fill: var(--accent);
  r: 7;
}
.radar .spoke.on {
  opacity: 1;
  stroke-width: 2;
}
/* Der Fokusring der Radar-Knoten ist am 24.08.2026 entfallen: die
   Knoten sind keine Bedienelemente mehr. Das SVG traegt `role="img"`
   samt Beschreibung, seine fuenf Staedte waren darin trotzdem als
   `role="button"` fokussierbar — ein Bild mit Innenleben. Damit kosteten
   dieselben fuenf Staedte zehn Tabstopps, einmal im Schaubild und
   einmal in der Liste daneben. Bedient wird jetzt ueber die Liste; sie
   markiert das Schaubild mit, weil beide am selben `data-city` haengen. */
/* Ziel-Liste neben dem Radar */
.ziele {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.ziele li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.ziele .z {
  font-family: 'Archivo Black', "Arial Black", sans-serif;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.ziele .z small {
  display: block;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 2px;
}
.ziele .t {
  font-family: 'Archivo Black', "Arial Black", sans-serif;
  font-size: 20px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ziele .t small {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  margin-left: 6px;
}
.ziele li[data-city] {
  cursor: pointer;
  transition: background 200ms ease;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
}
.ziele li[data-city].on,
.ziele li[data-city]:hover {
  background: rgba(201, 162, 75, 0.08);
}
.ziele li[data-city]:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: -2px;
}

/* ===== Gehminuten-Leiste ===== */
.leiste-wrap {
  margin: 18px 0 6px;
}
.leiste {
  width: 100%;
  height: auto;
  display: block;
}
.l-axis {
  stroke: var(--fg);
  stroke-width: 1.5;
}
.l-tick {
  stroke: var(--fg);
  stroke-width: 1;
  opacity: 0.5;
}
.l-min {
  fill: var(--fg-muted);
  font: 800 10px Manrope, Arial, sans-serif;
  letter-spacing: 0.14em;
}
.l-home {
  fill: var(--accent);
}
.l-homelbl {
  fill: #fff;
  font: 800 12px Manrope, Arial, sans-serif;
}
.l-stem {
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0.6;
}
.l-dot {
  fill: var(--fg);
}
.l-dot.l-park {
  fill: var(--accent);
}
.l-p {
  fill: #fff;
  font: 800 9px Manrope, Arial, sans-serif;
}
.l-link {
  cursor: pointer;
}
.l-link:hover .l-lbl {
  fill: var(--accent);
}
.l-link:hover .l-park {
  fill: var(--fg);
}
.l-link:hover .l-p {
  fill: var(--cream);
}
.l-lbl {
  fill: var(--fg);
  font: 600 13.5px Manrope, Arial, sans-serif;
}
/* Die Zielliste stand bis zum 25.08.2026 als `.fuss-mobil` hier mit
   `display:none` und wurde erst unter 860px eingeblendet. Gewirkt hat das
   nie: `.fuss-grid { display:grid }` weiter unten hat dieselbe Spezifitaet
   und steht spaeter, die Liste lief also immer mit. Sie soll das auch —
   sie traegt die genauen Minuten und die Google-Maps-Verweise anspringbar,
   waehrend die Grafik `role="img"` hat. Also ist die tote Regel raus und
   die Klasse `fuss-mobil` mit ihr.

   Die Leiste selbst weicht seit demselben Tag schon bei 1000px statt 860px:
   ihre Schrift skaliert mit dem Kasten und lag darunter bei elf Pixeln. */
@media (max-width: 1000px) {
  .leiste-wrap {
    display: none;
  }
}
.fuss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .fuss-grid {
    grid-template-columns: 1fr;
  }
}
.fuss-grid .ziele .z {
  font-size: 16px;
}
.fuss-grid .ziele .t {
  font-size: 17px;
}
.zl {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}
.pbadge {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: #fff;
  font: 800 10px Manrope, Arial, sans-serif;
  vertical-align: middle;
  margin-left: 4px;
}
.s-dark .pbadge {
  color: var(--anthracite);
}

/* ===== Karte: erst auf Klick laden ===== */
.karte {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--rule-solid);
  background: #222119;
}
.karte iframe {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
}
.karte.geladen iframe {
  display: block;
}
.karte.geladen .lader {
  display: none;
}
.karte .lader {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 162, 75, 0.1), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(236, 230, 218, 0.05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(236, 230, 218, 0.05) 39px 40px),
    #222119;
}
.karte .lader p {
  margin: 0;
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 34ch;
}
/* Die Form kommt aus `.cta` (seite.css) — dieselbe Handlung, dasselbe
   Aussehen wie ueberall sonst. Hier bleibt nur die Ausrichtung im
   Raster. Vorher war es eine Sonderanfertigung mit eigener Polsterung
   (12/20 statt 14/22) und eigenen Toenen. */
.karte .lader .cta {
  justify-self: center;
}
.karte .pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--anthracite);
  font: 800 12px Manrope, Arial, sans-serif;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.karte .pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--gold);
}
.karte .pin-live[hidden] {
  display: none;
}
.karte .lader .pin-static {
  display: grid;
  position: static;
  transform: none;
  margin: 0 auto 6px;
  box-shadow: none;
}
.karte .lader .pin-static::after {
  display: none;
}
.karte-note {
  font-size: 12.5px;
  color: var(--fg-muted);
  margin-top: 10px;
}

/* ===== Parken ===== */
.parken {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
}
@media (max-width: 720px) {
  .parken {
    grid-template-columns: 1fr;
  }
}
.parken article {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.parken .pk {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.parken .pm {
  margin-left: auto;
  font-family: 'Archivo Black', "Arial Black", sans-serif;
  font-size: 16px;
  color: var(--accent);
  white-space: nowrap;
}
.parken .pk .pbadge {
  margin: 0;
  width: 22px;
  height: 22px;
  font-size: 11px;
}
.parken b {
  font-family: 'Archivo Black', "Arial Black", sans-serif;
  font-weight: 400;
  font-size: 16.5px;
  color: var(--fg);
}
.parken p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
  text-wrap: initial;
}
.plinks {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.plinks a {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-strong);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 180ms ease;
}
.plinks a:hover {
  color: var(--fg);
}

/* ===== Breites Foto vor dem Abschluss ===== */
.foto-band {
  padding: 0 0 clamp(40px, 6vw, 72px);
}
.foto-breit {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border: 1px solid var(--rule-solid);
  margin: 0;
}
.foto-breit img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  filter: saturate(0.88) contrast(1.03);
}
.foto-breit figcaption {
  position: absolute;
  left: 22px;
  bottom: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  z-index: 1;
}
.foto-breit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(24, 24, 22, 0.7) 100%);
}
@media (max-width: 720px) {
  .foto-breit {
    aspect-ratio: 4 / 3;
  }
}

/* Drucken: das Uebrige regelt seite.css */
@media print {
  .foto-breit,
  .karte {
    display: none;
  }
}
