/* Viertel-Seiten (/<stadt>/<viertel>) — Markup aus lib/quarter-page.js (build:cities).
   Stil „Tinte & Elfenbein" (DESIGN.md v2): Elfenbein-Fläche, Gliederung über Abstand und
   Haarlinien, Bebas für Titel und Zahlen, Grün nur für die Route, Karamell nur für die Pause,
   genau eine Hauptaktion in Tinte („Tour starten"). Karte und Kennzahlen kommen aus
   css/tipps-route.css (.tr-map, .tr__stats). Die Seiten laden kit.css nicht — Werte direkt. */

.qv {
  --qv-ink: #1b1c1a; --qv-ink-2: #3d4a3e; --qv-ink-3: #6c7b6d;
  --qv-hair: rgba(27, 28, 26, .10); --qv-hair-2: rgba(27, 28, 26, .18);
  --qv-ivory-2: #f3f1eb; --qv-ivory-3: #e9e6de;
  --qv-pause: #9a5a24; --qv-pause-soft: #f6ecdf;
  color: var(--qv-ink-2);
}

.qv-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--qv-ink-3); margin-bottom: 22px; }
.qv-crumbs a { color: var(--qv-ink-3); text-decoration: none; }
.qv-crumbs a:hover { color: var(--qv-ink); text-decoration: underline; text-underline-offset: 3px; }

.qv-lead p { font-size: 17px; line-height: 1.6; color: var(--qv-ink); margin: 0 0 12px; }
.qv-lead p:last-child { margin-bottom: 0; }

.qv-ref { font-size: 10.5px; line-height: 0; margin-left: 2px; font-weight: 600; }
.qv-ref a { color: var(--qv-ink-3); text-decoration: none; }
.qv-ref a:hover { color: var(--qv-ink); text-decoration: underline; }
.qv-ref + .qv-ref { margin-left: 3px; }

/* Foto: Symbol als Grund, das Bild liegt darüber; ohne Bild bleibt das Symbol. */
.qv-photo { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--qv-ivory-2); }
.qv-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qv-photo__sym { width: 40%; height: 40%; max-width: 44px; max-height: 44px; color: var(--qv-ink); opacity: .55; }

.qv-hero { margin: 26px 0 0; }
.qv-photo--hero { aspect-ratio: 16 / 10; border-radius: 20px; }
.qv-hero:has(.is-empty) { display: none; }
.qv-hero figcaption { margin-top: 8px; font-size: 11.5px; color: var(--qv-ink-3); line-height: 1.5; }

.qv-facts { margin: 26px 0 8px; border-top: 1px solid var(--qv-hair); }
.qv-facts > div { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--qv-hair); }
.qv-facts dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--qv-ink-3); padding-top: 2px; }
.qv-facts dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--qv-ink); }

.qv-sec { margin-top: 40px; }
.qv-sec h2 {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(1.7rem, 6vw, 2.2rem);
  line-height: 1; letter-spacing: .01em; color: var(--qv-ink); margin: 0 0 14px;
}
.qv-sec > p { font-size: 15.5px; line-height: 1.7; margin: 0 0 12px; }

.qv-worth { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--qv-hair); }
.qv-worth li { padding: 14px 0; border-bottom: 1px solid var(--qv-hair); }
.qv-worth h3 { font-size: 15.5px; font-weight: 600; color: var(--qv-ink); margin: 0 0 4px; }
.qv-worth p { font-size: 14.5px; line-height: 1.65; margin: 0; }

/* ── Rundgang ────────────────────────────────────────────────────────── */
.qv-route .tr-map { margin-bottom: 26px; }
/* Quellen-„i“ der Karte (js/config.js: mapAttribution) und ⓘ der Stopps (js/sources-info.js) —
   wie in css/kit.css bzw. css/city.css; die Viertel-Seiten laden beides nicht. */
.qv-credit a { color: inherit; }
.mcred { display: inline-block; max-width: 100%; }
.mcred__i { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; margin: -2px 0 0 4px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: var(--qv-ink); box-shadow: 0 0 0 1px var(--qv-hair-2);
  vertical-align: middle; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mcred__i svg { width: 13px; height: 13px; }
.mcred__i::after { content: ''; position: absolute; inset: -8px; }
.mcred__i:focus-visible { outline: 2px solid var(--qv-ink); outline-offset: 2px; }
.mcred-open .mcred__i { background: var(--qv-ink); color: #fff; box-shadow: none; }
.mcred__more { display: none; }
.mcred-open .mcred__more { display: inline; margin-left: 6px; }
.mcred__more a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.src-info { margin-top: 4px; }
.src-info__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 12.5px/1.2 'Inter', sans-serif; color: var(--qv-ink-3); }
.src-info__btn:focus-visible { outline: 2px solid var(--qv-ink); outline-offset: 3px; border-radius: 4px; }
.src-info__i { width: 15px; height: 15px; flex: none; }
.src-info__list { list-style: none; margin: 2px 0 0; padding: 0; }
.src-info__list[hidden] { display: none; }
.src-info__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 10px; padding: 7px 0;
  border-top: 1px solid var(--qv-hair); font-size: 12px; line-height: 1.45; color: var(--qv-ink-2); }
.src-info__kind { font-weight: 600; overflow-wrap: anywhere; }
.src-info__what { min-width: 0; overflow-wrap: anywhere; }
.src-info__what a { color: var(--qv-ink); text-decoration: underline; text-decoration-color: var(--qv-hair-2); text-underline-offset: 3px; }
.src-info__meta { display: block; color: var(--qv-ink-3); }
.qv-stop:has(.qv-photo.is-empty) .qv-stop__meta { display: none; }

.qv-stops { list-style: none; padding: 0; margin: 0 0 18px; }
.qv-stop { display: grid; grid-template-columns: 30px 76px 1fr; gap: 0 14px; align-items: start; padding: 4px 0; }
.qv-no {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px;
  background: #fff; box-shadow: 0 0 0 1.5px var(--qv-ink); color: var(--qv-ink);
  font: 700 12px/1 'Inter', sans-serif; font-variant-numeric: tabular-nums;
}
.qv-no--start { background: transparent; box-shadow: none; }
.qv-no--start::before { content: ''; width: 13px; height: 13px; border-radius: 2px; background: var(--qv-ink); }
.qv-stop .qv-photo { width: 76px; height: 76px; border-radius: 14px; }
.qv-stop__body { min-width: 0; }
.qv-stop__start { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--qv-ink); margin: 0 0 2px; }
.qv-stop__cat { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--qv-ink-3); margin: 0 0 2px; }
.qv-stop h3 { font-size: 16px; font-weight: 600; color: var(--qv-ink); margin: 0 0 4px; line-height: 1.3; }
.qv-stop__text { font-size: 14px; line-height: 1.6; margin: 0 0 4px; }
.qv-stop__meta { font-size: 11.5px; line-height: 1.5; color: var(--qv-ink-3); margin: 0; }
.qv-stop__meta a { color: inherit; text-decoration: underline; text-decoration-color: var(--qv-hair-2); text-underline-offset: 2px; }

/* Pause in Karamell — leise, nie als Fläche einer Aktion (DESIGN.md §2) */
.qv-stop.is-pause .qv-no { box-shadow: 0 0 0 1.5px var(--qv-pause); color: var(--qv-pause); background: var(--qv-pause-soft); }
.qv-stop.is-pause .qv-stop__cat { color: var(--qv-pause); }

.qv-mark { display: flex; align-items: center; gap: 14px; min-height: 36px; font-size: 14px; font-weight: 600; color: var(--qv-ink); }
.qv-walk { margin: 0 0 0 14px; padding: 8px 0 8px 30px; border-left: 2px dotted rgba(27, 28, 26, .28); font-size: 12.5px; color: var(--qv-ink-3); font-variant-numeric: tabular-nums; }

.qv-note { font-size: 13px; line-height: 1.6; color: var(--qv-ink-3); }

.qv-cta { margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--qv-hair); }
.qv-btn {
  display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px;
  border-radius: 999px; background: var(--qv-ink); color: #fff; text-decoration: none;
  font: 600 15.5px/1 'Inter', sans-serif; box-shadow: 0 1px 2px rgba(27, 28, 26, .10);
}
.qv-btn:hover { background: #2d2e2b; }
.qv-btn:focus-visible { outline: 2px solid var(--qv-ink); outline-offset: 3px; }
.qv-cta p { font-size: 13px; line-height: 1.55; color: var(--qv-ink-3); margin: 10px 0 0; text-align: center; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.qv-faq details { border-top: 1px solid var(--qv-hair); padding: 14px 0; }
.qv-faq details:last-child { border-bottom: 1px solid var(--qv-hair); }
.qv-faq summary { cursor: pointer; font-size: 15.5px; font-weight: 600; color: var(--qv-ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qv-faq summary::-webkit-details-marker { display: none; }
.qv-faq summary::after { content: '+'; color: var(--qv-ink-3); font-weight: 500; }
.qv-faq details[open] summary::after { content: '–'; }
.qv-faq details p { font-size: 14.5px; line-height: 1.65; margin: 8px 0 0; }

/* ── Weiterlesen, Quellen ────────────────────────────────────────────── */
.qv-more { margin-top: 40px; }
.qv-more__link {
  display: block; padding: 14px 0; border-top: 1px solid var(--qv-hair);
  font-size: 15px; font-weight: 600; color: var(--qv-ink); text-decoration: none;
}
.qv-more__link:last-child { border-bottom: 1px solid var(--qv-hair); }
.qv-more__link::after { content: '\00a0→'; color: var(--qv-ink-3); }
.qv-more__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.qv-sources { margin-top: 40px; }
.qv-sources h2 { font: 600 11px/1.4 'Inter', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--qv-ink-3); margin: 0 0 10px; }
.qv-sources__list { padding-left: 20px; margin: 0 0 10px; font-size: 13px; line-height: 1.6; color: var(--qv-ink-3); }
.qv-sources__list li { margin-bottom: 4px; scroll-margin-top: 80px; }
.qv-sources__list li:target { color: var(--qv-ink); }
.qv-sources__list a { color: var(--qv-ink-2); text-decoration: underline; text-decoration-color: var(--qv-hair-2); text-underline-offset: 2px; }
.qv-sources__note { font-size: 12.5px; line-height: 1.6; color: var(--qv-ink-3); margin: 0; }

@media (max-width: 400px) {
  .qv-stop { grid-template-columns: 30px 60px 1fr; gap: 0 10px; }
  .qv-stop .qv-photo { width: 60px; height: 60px; }
  .qv-walk { padding-left: 24px; }
  .qv-facts > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .qv * { transition: none !important; } }
