/*marke1*/
/* Lange Orts- und Personennamen bleiben als ganze Wörter sichtbar. */
.hero > * { min-width: 0; }
.hero h1 {
  font-size: clamp(4.1rem, 5.8vw, 5.4rem);
  line-height: .9;
  letter-spacing: -.055em;
  text-wrap: balance;
}

/* Kartenpunkte führen zu allen bereits vorhandenen Ortsakten und den dort
   belegten Originalvideos, nicht mehr bloss zu Google Maps. */
.map-info .map-related {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #464646;
  background: #1b1b1b;
}
.map-info .map-related strong {
  color: #f2332f;
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.map-info .map-related a {
  display: block;
  width: auto;
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px solid #444444;
  line-height: 1.35;
}
.map-info .map-related a:last-child { border-bottom: 0; }
.map-place-select {
  min-width: 190px;
  padding: 9px 30px 9px 10px;
  border: 1px solid #b3b3b3;
  border-radius: 0;
  color: #111111;
  background: #fff;
  font: 800 .64rem/1 Arial, sans-serif;
}

@media (max-width: 1000px) {
  .map-info { min-height: 0; }
  .map-info .map-evidence { margin-top: 24px; }
}

@media (max-width: 620px) {
  .map-place-select { width: 100%; margin-top: 9px; }
}

@media (max-width: 760px) {
  /* Auf der aktuellen Unterwegs-Seite ist der Bereich bereits im Hero benannt.
     Die schmale Navigation zeigt deshalb stattdessen den direkten Archivweg. */
  .topbar nav a:nth-child(3) { display: none; }
  .topbar nav a:nth-child(4) { display: inline; }
}

@media (max-width: 540px) {
  .hero h1 { font-size: clamp(3rem, 14vw, 4.1rem); }
}

/* Release 159: Drei echte Ausschnitte statt einer überfüllten Mischkarte. */
.map-toolbar > div:first-child {
  display: grid;
  gap: 4px;
}
.map-mode-hint {
  color: #6e6e6e;
  font-size: .75rem;
  font-weight: 750;
  line-height: 1.35;
}
.map-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.map-modes { flex-wrap: wrap; justify-content: flex-end; }
.map-modes button { white-space: nowrap; }
.map-stage[data-mode="switzerland"] {
  background: linear-gradient(135deg,#0c0c0c,#1e1e1e);
}
.map-stage[data-mode="europe"] {
  background: linear-gradient(135deg,#0c0c0c,#1e1e1e);
}
.map-stage[data-mode="americas"] {
  background: linear-gradient(135deg,#0c0c0c,#1e1e1e);
}
/* Karte: echte Umrisse (tools/build_karte.py), gleiche Rechnung wie die Punkte */
.map-stage, .map-stage[data-mode] { height: auto; min-height: 0; aspect-ratio: 1.2; background: #0c0c0c; }
.map-stage::before { display: none; }
.map-land, .map-stage[data-mode] .map-land { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 1; fill: none; stroke: none; }
.map-land [hidden] { display: none; }
.map-land path { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map-land .land { fill: #1b1b1b; stroke: #343434; stroke-width: 1; }
.map-land .an { fill: #333; stroke: #8a8a8a; stroke-width: 1.2; }
.map-land .see { fill: #0c0c0c; stroke: none; }
.map-label { transform: translate(-50%, -50%); color: #6f6f6f; font-size: 0.7rem; font-weight: 700; letter-spacing: .12em; white-space: nowrap; z-index: 1; }
@media (max-width: 860px) {
  .map-toolbar { align-items: stretch; }
  .map-controls { align-items: stretch; flex-direction: column; }
  .map-modes { justify-content: flex-start; }
  .map-place-select { width: 100%; }
}

@media (max-width: 540px) {
  .map-mode-hint { margin-top: 3px; }
  .map-controls { margin-top: 12px; }
}

/* Hell (10.11.2026): /unterwegs/ auf weissem Grund wie der Rest der Seite. Von Hand statt tools/hell.py,
   weil die Seite schon helle Abschnitte hatte. Dunkel bleiben nur Bildkarten und das Videofenster. */
:root { --ink: #fff; --panel: #f6f6f6; --paper: #f4f4f2; --muted: #5c5c5c; --line: #dcdcdc; }
body { color: #111; background: #fff; }
.eyebrow, .hero h1 em, .hero-stamp strong em, .map-info .place, .travel-entry .entry-place, .entry-copy .type,
.map-info .map-related strong, .modal-foot a { color: #d8161b; }
.hero .lead { color: #3d3d3d; }
.hero-actions .secondary { border-color: #b9b9b9; color: #111; }
.hero-stamp { border-color: #dcdcdc; background: linear-gradient(145deg, rgba(229,27,32,.10), transparent 55%), #f6f6f6; box-shadow: 0 26px 70px rgba(0,0,0,.10); color: #111; }
.hero-stamp:before { background: repeating-linear-gradient(110deg, transparent 0 35px, rgba(0,0,0,.035) 36px 37px); }
.hero-stamp .route { color: #6a6a6a; }
.hero-stamp footer { border-top-color: #d5d5d5; color: #5c5c5c; }
.principle-copy p { color: #4a4a4a; }
.principle-copy strong, .result-line strong, .travel-entry time, .map-info .dates { color: #111; }
.result-line { color: #5c5c5c; }

.map-shell { border-color: #d0d0d0; background: #fff; }
.map-toolbar { border-bottom-color: #d0d0d0; background: #fff; }
.map-modes button { border-color: #c9c9c9; background: #f1f1f1; color: #4a4a4a; }
.map-stage, .map-stage[data-mode], .map-stage[data-mode="switzerland"], .map-stage[data-mode="europe"], .map-stage[data-mode="americas"] { background: #e3e9ec; }
.map-stage:after { color: #6a7378; }
.map-land .land { fill: #f3f3f0; stroke: #c3c8ca; }
.map-land .an { fill: #fff; stroke: #111; stroke-width: 1.4; }
.map-land .see { fill: #e3e9ec; }
.map-label, .map-label.ch { color: #7a8286; }
.map-marker { box-shadow: 0 5px 14px rgba(0,0,0,.28); }
.map-marker:hover, .map-marker:focus-visible, .map-marker.is-active { background: #111; color: #fff; border-color: #fff; }

.map-info { background: #fff; color: #111; border-color: #d0d0d0; }
.map-info p { color: #4a4a4a; }
.map-info .map-evidence { border-top-color: #dcdcdc; color: #5c5c5c; }
.map-info .map-related { border-color: #dcdcdc; background: #f6f6f6; }
.map-info .map-related a { border-bottom-color: #dcdcdc; }

.timeline-controls button { border-color: #c9c9c9; color: #3d3d3d; background: #fff; }
.entry-thumb { background: #e6e6e6; }
.entry-copy p { color: #4a4a4a; }
.entry-meta span, .entry-meta a { border-color: #d0d0d0; color: #4a4a4a; background: #f6f6f6; }
.entry-meta a:hover { color: #111; }
.dossiers { background: #f4f4f2; color: #111; }
.dossiers-head > p { color: #4a4a4a; }
.dossier-card span { color: #ff5a55; }
.privacy-rules article { border-color: #d0d0d0; background: #fff; }
.site-footer { color: #5c5c5c; }

/* ===== Karte 2020–2026 (10.11.2026): Punkte nach Zahl der Videos, Namen nach Rang =====
   Grösse (--d), Lage und Namensseite (data-pos) setzt assets/travel.js. Die Masse hier müssen zur
   Rechnung dort passen: Name 2 px unter/über, 3 px neben dem Punkt, schräg bei 0.35 × Durchmesser. */
.map-stage:after { content: "Orte, keine Routen"; }
.map-marker {
  box-sizing: border-box; width: var(--d, 30px); height: var(--d, 30px); padding: 0;
  border: 2px solid #fff; background: var(--red); color: #fff;
  font: 800 max(10px, calc(var(--d, 30px) * .43))/1 var(--display, "Barlow Condensed", Arial, sans-serif); letter-spacing: 0;
  box-shadow: 0 2px 7px rgba(0,0,0,.3);
}
.map-marker.einzel { box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.map-marker.einzel::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; }
.map-marker.offen { background: #fff; color: #d8161b; border: 2px dashed #d8161b; }
.map-marker.sammel { background: #fff; color: #111; border: 2px solid #111; box-shadow: 0 0 0 4px rgba(17,17,17,.14), 0 2px 7px rgba(0,0,0,.3); }
.map-marker:hover, .map-marker:focus-visible, .map-marker.is-active { z-index: 5; background: #111; color: #fff; border-color: #fff; border-style: solid; outline: 0; }
.map-marker:focus-visible { box-shadow: 0 0 0 3px #d8161b; }
.map-marker.is-active { box-shadow: 0 0 0 2px #111, 0 3px 9px rgba(0,0,0,.35); }
.map-marker.sammel:hover, .map-marker.sammel:focus-visible { background: #111; color: #fff; border-color: #111; }

.map-marker::before {
  content: attr(data-name); position: absolute; left: 50%; top: 50%; z-index: 1;
  transform: translate(-50%, calc(var(--d, 30px) / 2 + 2px));
  color: #111; font: 700 13px/1 var(--display, "Barlow Condensed", Arial, sans-serif); letter-spacing: .02em;
  text-transform: uppercase; white-space: nowrap; pointer-events: none;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
}
.map-marker[data-pos="o"]::before { transform: translate(-50%, calc(-100% - var(--d, 30px) / 2 - 2px)); }
.map-marker[data-pos="r"]::before { transform: translate(calc(var(--d, 30px) / 2 + 3px), -50%); }
.map-marker[data-pos="l"]::before { transform: translate(calc(-100% - var(--d, 30px) / 2 - 3px), -50%); }
.map-marker[data-pos="ua"]::before { transform: translate(calc(var(--d, 30px) / -2), calc(var(--d, 30px) / 2 + 2px)); }
.map-marker[data-pos="ue"]::before { transform: translate(calc(var(--d, 30px) / 2 - 100%), calc(var(--d, 30px) / 2 + 2px)); }
.map-marker[data-pos="oa"]::before { transform: translate(calc(var(--d, 30px) / -2), calc(-100% - var(--d, 30px) / 2 - 2px)); }
.map-marker[data-pos="oe"]::before { transform: translate(calc(var(--d, 30px) / 2 - 100%), calc(-100% - var(--d, 30px) / 2 - 2px)); }
.map-marker[data-pos="ur"]::before { transform: translate(calc(var(--d, 30px) * .35), calc(var(--d, 30px) * .35)); }
.map-marker[data-pos="or"]::before { transform: translate(calc(var(--d, 30px) * .35), calc(-100% - var(--d, 30px) * .35)); }
.map-marker[data-pos="ul"]::before { transform: translate(calc(-100% - var(--d, 30px) * .35), calc(var(--d, 30px) * .35)); }
.map-marker[data-pos="ol"]::before { transform: translate(calc(-100% - var(--d, 30px) * .35), calc(-100% - var(--d, 30px) * .35)); }
.map-marker[data-pos="0"]::before { display: none; }
.map-marker[data-pos="0"]:hover::before, .map-marker[data-pos="0"]:focus-visible::before { display: block; padding: 2px 5px; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.3); text-shadow: none; }
.map-marker.is-active::before { color: #d8161b; }
/* Gewählter Ort ohne freien Platz für den Namen: der Name liegt als Schild über den Nachbarn. */
.map-marker[data-chip]::before { padding: 2px 5px; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.3); text-shadow: none; }
.map-label { font-family: var(--display, "Barlow Condensed", Arial, sans-serif); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: #8a9296; }

.map-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 10px 14px; border-top: 1px solid #d0d0d0; background: #fff; color: #4a4a4a; font-size: .75rem; font-weight: 600; line-height: 1.3; }
.map-legende span { display: inline-flex; align-items: center; gap: 6px; }
.map-legende i { flex: none; box-sizing: border-box; width: 15px; height: 15px; border-radius: 50%; border: 2px solid #fff; background: var(--red); box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.map-legende i.p-offen { border: 2px dashed #d8161b; background: #fff; box-shadow: none; }
.map-legende i.p-einzel { width: 10px; height: 10px; border-width: 1.5px; }
.map-legende .map-auswahl { margin-left: auto; gap: 5px; color: #111; }
.map-legende .map-auswahl[hidden] { display: none; }
.map-auswahl button { padding: 0; border: 0; background: none; color: #d8161b; cursor: pointer; font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

/* Die Zählung, gut sichtbar über der Karte. Die Zahlen setzt travel.js aus den Daten. */
.map-zahl { max-width: 900px; margin: 0 0 26px; padding: 15px 18px 15px 20px; border-left: 5px solid var(--red); background: #fff; color: #222; font-size: clamp(1rem, 1.6vw, 1.16rem); line-height: 1.45; }
.map-zahl strong { color: #111; font-weight: 800; white-space: nowrap; }
.map-zahl a { color: #d8161b; font-weight: 700; text-underline-offset: 3px; }
.map-zahl small { display: block; margin-top: 7px; color: #5c5c5c; font-size: .8rem; line-height: 1.45; }

/* Jahre als waagrechte Leiste (bei der Karte und bei der Chronologie), Arten als Reihe darunter */
.jahre { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.jahre::-webkit-scrollbar { display: none; }
.jahre button, .arten button {
  flex: 0 0 auto; min-height: 38px; padding: 8px 14px; border: 1px solid #c9c9c9; background: #fff; color: #3d3d3d; cursor: pointer;
  font: 700 1rem/1 var(--display, "Barlow Condensed", Arial, sans-serif); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
.jahre button[aria-pressed="true"], .arten button[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: #fff; }
.map-jahre { padding: 8px 14px; border-bottom: 1px solid #d0d0d0; background: #fafafa; }
.timeline-controls { display: grid; gap: 8px; margin: 0 0 24px; }
.arten { display: flex; flex-wrap: wrap; gap: 6px; }

/* Listen von Videos: Titel führt zur Sendungsseite, rechts Datum und Art */
.video-liste { list-style: none; margin: 0; padding: 0; }
.video-liste li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid #e2e2e2; }
.video-liste a, .map-info .video-liste a { display: block; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; color: #111; font-size: .9rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.video-liste a:hover { color: #d8161b; text-decoration: underline; text-underline-offset: 3px; }
.video-liste span { flex: none; color: #6a6a6a; font-size: .75rem; line-height: 1.3; white-space: nowrap; }
.video-mehr summary, .entry-videos summary { width: fit-content; padding: 9px 0; color: #d8161b; cursor: pointer; font-size: .78rem; font-weight: 800; }
.video-mehr summary .auf, .video-mehr[open] summary .zu { display: none; }
.video-mehr[open] summary .auf { display: inline; }
.entry-videos { margin-top: 12px; }
.entry-videos[open] { padding-bottom: 4px; }
.entry-videos .video-liste { border-top: 1px solid #e2e2e2; }

.map-info .map-videos { margin-top: 14px; border-top: 2px solid #111; }
.map-info .video-liste li { display: block; }
.map-info .video-liste span { display: block; margin-top: 3px; white-space: normal; }
.map-info .map-hinweis { margin: 12px 0 0; padding: 9px 11px; border-left: 3px solid #d8161b; background: #f6f6f6; color: #3d3d3d; font-size: .78rem; line-height: 1.45; }
.map-info .map-evidence { margin-top: 22px; }
@media (min-width: 1001px) {
  .map-info .video-mehr[open] > .video-liste { max-height: 330px; overflow-y: auto; padding-right: 8px; }
}

/* Chronologie: Jahresmarken, kurze Stationen ohne Bild, lange Liste eingeklappt */
.jahr-marke { display: flex; align-items: baseline; gap: 12px; padding: 30px 0 9px; border-bottom: 2px solid #111; }
.jahr-marke:first-child { padding-top: 16px; }
.jahr-marke strong { color: #111; font: 800 2.3rem/1 var(--display, "Barlow Condensed", Arial, sans-serif); }
.jahr-marke span { color: #6a6a6a; font-size: .78rem; font-weight: 700; }
.travel-entry.kurz { grid-template-columns: 150px minmax(0, 1fr); padding: 16px 0; }
.travel-entry.kurz time { font-size: 1.05rem; }
.travel-entry.kurz .entry-copy .type { display: block; margin-bottom: 2px; }
.travel-entry.kurz .video-liste li:last-child { border-bottom: 0; }
.mehr-stationen { display: block; width: 100%; margin-top: 20px; padding: 15px; border: 1px solid #111; background: #111; color: #fff; cursor: pointer; font: 700 1.05rem/1 var(--display, "Barlow Condensed", Arial, sans-serif); letter-spacing: .04em; text-transform: uppercase; }
.mehr-stationen:hover { border-color: var(--red); background: var(--red); }
.timeline-leer { margin: 0; padding: 30px 0; color: #4a4a4a; font-size: .9rem; }

/* Runde 2: Kopfzeile der Karte in zwei Reihen, Hinweis auf den vergrösserten Ausschnitt */
.map-shell { align-self: start; }
.map-toolbar { flex-wrap: wrap; gap: 10px 15px; }
.map-controls { flex: 1 1 100%; justify-content: space-between; }
.map-modes { justify-content: flex-start; }
.map-lupe { display: block; width: 100%; padding: 11px 14px; border: 0; border-top: 1px solid #d0d0d0; background: #111; color: #fff; cursor: pointer; text-align: left; font: 500 .82rem/1.4 Arial, Helvetica, sans-serif; }
.map-lupe[hidden] { display: none; }
.map-lupe strong { color: #ff5a55; font-weight: 800; }
.map-lupe:hover, .map-lupe:focus-visible { background: var(--red); outline: 0; }
.map-lupe:hover strong, .map-lupe:focus-visible strong { color: #fff; }

@media (max-width: 1000px) {
  .travel-entry.kurz { grid-template-columns: 130px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .map-marker::before { font-size: 11px; }
  .map-label { font-size: 10px; letter-spacing: .1em; }
  .travel-entry.kurz { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .map-stage:after { display: none; }
  .map-marker { border-width: 1.5px; }
  .map-marker.offen, .map-marker.sammel { border-width: 1.5px; }
  .map-modes { display: flex; flex-wrap: wrap; gap: 4px; }
  .map-modes button { flex: 1 1 auto; min-height: 38px; padding: 9px 8px; text-align: center; }
  .map-jahre { padding: 8px; }
  .jahre { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(38px, 1fr); gap: 3px; }
  .jahre button { min-height: 40px; padding: 8px 0; text-align: center; letter-spacing: 0; }
  .arten button { flex: 1 1 auto; min-height: 40px; padding: 8px 10px; }
  .map-legende { gap: 6px 14px; padding: 9px 10px; }
  .map-legende .map-auswahl { flex-basis: 100%; margin-left: 0; }
  .map-zahl { padding: 13px 14px 13px 15px; }
  .travel-entry.kurz { grid-template-columns: 1fr; gap: 5px; padding: 14px 0; }
  .travel-entry.kurz > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
  .travel-entry.kurz .entry-place { margin-top: 0; }
  .video-liste li { display: block; }
  .video-liste span { display: block; margin-top: 3px; white-space: normal; }
}

/* ===== Schlusskorrektur Karte (10.11.2026): Bedienung mit Finger und Tastatur, Player, Listen =====
   Gehört zu assets/travel.js ab ?v=201. */

/* Land- und Regionspunkte bleiben gestrichelt, auch gewählt oder unter der Maus */
.map-marker.offen:hover, .map-marker.offen:focus-visible, .map-marker.offen.is-active { border-style: dashed; }

/* Ortsnamen: dichterer weisser Hof, damit Grenzlinien die Schrift nicht durchkreuzen */
.map-marker::before { text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 0 5px #fff; }
.map-marker[data-chip]::before, .map-marker[data-pos="0"]:hover::before, .map-marker[data-pos="0"]:focus-visible::before { text-shadow: none; }

/* Finger: Jeder Punkt hat eine Tippfläche von mindestens 44 px. Überlappen sich die Flächen,
   entscheidet travel.js nach der Nähe zur Punktmitte. */
@media (pointer: coarse) {
  .map-marker::after, .map-marker.einzel::after { content: ""; position: absolute; inset: min(0px, calc((var(--d, 30px) - 48px) / 2)); border-radius: 50%; } /* 48 abzüglich Rand = mindestens 44 px Tippfläche */
}

/* Orte ohne Namen auf der Karte, mit Namen unter der Karte */
.map-ohne { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 14px; border-top: 1px solid #d0d0d0; background: #fff; }
.map-ohne[hidden] { display: none; }
.map-ohne span { flex: 1 1 100%; color: #4a4a4a; font-size: .75rem; font-weight: 600; line-height: 1.3; }
.map-ohne button { min-height: 34px; padding: 6px 11px; border: 1px solid #c9c9c9; background: #fafafa; color: #111; cursor: pointer; font: 700 .95rem/1 var(--display, "Barlow Condensed", Arial, sans-serif); letter-spacing: .03em; text-transform: uppercase; }
.map-ohne button:hover, .map-ohne button:focus-visible { border-color: var(--red); background: var(--red); color: #fff; outline: 0; }
.map-lupe small { display: block; margin-top: 4px; color: #d6d6d6; font-size: .75rem; line-height: 1.45; }
.map-lupe:hover small, .map-lupe:focus-visible small { color: #fff; }

/* Die Karte hat von sich aus den Ausschnitt gewechselt: sagen, warum, und den Rückweg anbieten */
.map-zurueck { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; padding: 10px 14px 10px 12px; border-top: 1px solid #d0d0d0; border-left: 5px solid var(--red); background: #fff; color: #222; font-size: .82rem; font-weight: 600; line-height: 1.4; }
.map-zurueck[hidden] { display: none; }
.map-zurueck button { min-height: 36px; padding: 7px 13px; border: 1px solid #111; background: #111; color: #fff; cursor: pointer; font: 700 .95rem/1 var(--display, "Barlow Condensed", Arial, sans-serif); letter-spacing: .03em; text-transform: uppercase; }
.map-zurueck button:hover, .map-zurueck button:focus-visible { border-color: var(--red); background: var(--red); outline: 0; }

/* Titel in den Listen sind Links zur Sendungsseite und sehen auch so aus */
.video-liste a, .map-info .video-liste a { text-decoration: underline; text-decoration-color: #d8161b; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.video-liste a:hover, .video-liste a:focus-visible { color: #d8161b; }

/* Titelvideo, das YouTube nicht einbetten lässt: Das Bild ist ein Link zur Sendungsseite */
a.entry-thumb { display: block; color: #fff; text-decoration: none; }
.entry-thumb.zur-seite small { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 9px; background: rgba(17,17,17,.88); color: #fff; font: 700 .75rem/1.2 Arial, Helvetica, sans-serif; letter-spacing: .02em; }
.entry-thumb:focus-visible { outline: 3px solid #d8161b; outline-offset: 2px; }
.travel-entry:focus { outline: 0; }
.travel-entry:focus-visible { outline: 2px solid #d8161b; outline-offset: 4px; }

/* Player: Titel weiss auf Schwarz, Schliessen-Knopf 44 px, zwei Links im Fuss */
.modal-head strong { color: #fff; }
.modal-head button { flex: none; width: 44px; height: 44px; font-size: 1.3rem; line-height: 1; }
.modal-head button:hover, .modal-head button:focus-visible { border-color: #fff; background: #d8161b; outline: 0; }
.modal-foot { align-items: center; color: #a8a8a8; }
.modal-foot a { color: #ff6b66; font-weight: 700; text-underline-offset: 3px; }
.modal-foot a:hover, .modal-foot a:focus-visible { color: #fff; }
.modal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* Finger: Knöpfe, Auswahl und Listenzeilen mindestens 44 px hoch */
@media (pointer: coarse), (max-width: 760px) {
  .jahre button, .arten button, .map-modes button { min-height: 44px; }
  .map-place-select { min-height: 44px; font-size: 16px; font-weight: 700; }
  .map-ohne button { min-height: 44px; padding: 6px 13px; }
  .map-zurueck button { min-height: 44px; }
  .map-auswahl button { min-height: 44px; padding: 0 4px; }
  .video-liste li { box-sizing: border-box; min-height: 44px; }
  .video-liste a, .map-info .video-liste a { padding: 3px 0; }
  .video-mehr summary, .entry-videos summary { padding: 14px 0; line-height: 1.3; }
  .entry-meta span, .entry-meta a { display: inline-flex; align-items: center; box-sizing: border-box; min-height: 44px; padding: 7px 12px; }
  .modal-foot a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; }
}
@media (max-width: 540px) {
  .jahre button { min-height: 44px; }
  .arten button, .map-modes button { min-height: 44px; }
  .map-label { letter-spacing: .04em; }
  .map-ohne { padding: 9px 10px; }
  .map-zurueck { padding: 9px 10px 9px 8px; }
  /* Stationen mit Bild: Datum links, Bild klein rechts, Text darunter – statt Bild über die ganze Breite */
  .travel-entry:not(.kurz) { grid-template-columns: minmax(0, 1fr) 136px; gap: 10px 14px; padding: 20px 0; }
  .travel-entry:not(.kurz) > div:first-child { grid-column: 1; grid-row: 1; }
  .travel-entry:not(.kurz) .entry-thumb { grid-column: 2; grid-row: 1; }
  .travel-entry:not(.kurz) .entry-copy { grid-column: 1 / -1; }
  .travel-entry:not(.kurz) .entry-thumb span { width: 30px; height: 30px; font-size: .72rem; }
  .entry-thumb.zur-seite small { padding: 3px 5px; font-size: .6rem; letter-spacing: 0; text-align: center; }
  .entry-thumb.zur-seite span { top: 40%; }
  .modal-foot { display: block; }
  .modal-links { margin-top: 4px; }
}

/* Schmale Bildschirme: die Spalte der Karte darf schmaler werden als ihr breitester Inhalt
   (sonst schiebt die Jahresleiste die ganze Seite nach rechts). Die Jahresleiste rollt in sich. */
.map-layout > * { min-width: 0; }
@media (max-width: 980px) { .map-layout { grid-template-columns: minmax(0, 1fr); } }
/* Auswahlfeld in der Hausschrift statt in der Systemschrift */
.map-place-select { font-family: inherit; }
/* Jahre und Arten: Trefferfläche 44 px */
.jahre button, .arten button { min-width: 44px; min-height: 44px; }
