/* =========================================================
   TR BAU, Projektseite Version 5 (projekte-v5.html)
   Ergänzt projekte-v4.css: eine Karte pro Baustelle, die Großansicht
   blättert durch die Bildserie des Projekts. Gesteuert von projekte-v5.js.
   .duo  zwei Bilder nebeneinander (vorher, nachher), wenn die Perspektiven
         für den Vergleich mit Linie (.ba) nicht genau übereinstimmen
   ========================================================= */

/* ---------- Karte öffnet die Bildserie ---------- */
.pcard__show {
  position: absolute; inset: 0; z-index: 3;
  padding: 0; border: 0; background: none; cursor: zoom-in;
}
.pcard__show:focus-visible { outline: 3px solid var(--blau); outline-offset: -3px; border-radius: 22px; }

.pcard__more {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 32px; margin-top: 8px; padding: 0;
  border: 0; background: none; cursor: pointer;
  color: var(--grau-text); font: inherit; font-size: 14.5px; font-weight: 600;
  transition: color .2s;
}
.pcard__more svg { width: 15px; height: 15px; fill: currentColor; transition: transform .35s var(--rv-ease, ease); }
.pcard__more:hover { color: var(--blau); }
.pcard__more:hover svg { transform: translateX(4px); }
.pcard__more:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }
.parchive figcaption { display: flex; flex-direction: column; align-items: flex-start; }

/* ---------- Zwei Bilder nebeneinander ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; }
.duo__half { position: relative; overflow: hidden; }
.parchive .duo__half img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  aspect-ratio: auto; object-fit: cover; border-radius: 0;
}
.duo .ba__tag--before { left: 14px; }
.duo .ba__tag--after { right: auto; left: 14px; }

/* ---------- Großansicht: Unterschrift pro Foto ---------- */
.lb__cap em { display: block; margin-top: 4px; font-style: normal; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .78); }
.lb.is-single .lb__prev, .lb.is-single .lb__next, .lb.is-single .lb__count { display: none; }
.lb__stage { touch-action: pan-y; }
