/* BERZAN Bau · V10 References clarity / map fix · Loaded only on referenzen.html */
html body.v18-references .v6-portfolio {
  padding-block: clamp(64px, 7.5vw, 108px) clamp(65px, 8vw, 100px);
}
html body.v18-references .v6-portfolio-header { margin-bottom: clamp(26px, 3.5vw, 45px); }
html body.v18-references .v6-project-grid { row-gap: clamp(24px, 3vw, 38px); }
html body.v18-references .v6-card-link:focus-visible { outline: 3px solid #e86d32; outline-offset: 4px; }
html body.v18-references .v10-show-more {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: min(100%, 420px); margin: 35px auto 8px; padding: 17px 24px;
  border: 1px solid #152329; background: #152329; color: #fff; cursor: pointer;
  font: 750 14px/1.35 Inter, sans-serif; letter-spacing: .01em;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
html body.v18-references .v10-show-more[hidden] { display: none !important; }
html body.v18-references .v10-show-more:hover,
html body.v18-references .v10-show-more:focus-visible { background: #f06d29; border-color:#f06d29; color:#111b20; }
html body.v18-references .v10-show-more:focus-visible { outline: 3px solid #14252e; outline-offset:4px; }
html body.v18-references .v73-map { padding-block: clamp(65px, 7vw, 100px); }
html body.v18-references .v73-map-list {
  max-height: 490px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: #71858c transparent;
  padding-right: 8px; align-content: start;
}
html body.v18-references .v73-map-list button { min-height: 64px; }
html body.v18-references .v73-map-list button[aria-pressed="true"] { border-color: #f06d29; }
html body.v18-references .v73-map-card:focus-visible { outline:3px solid #f06d29; outline-offset:4px; }
/* At twelve locations, permanent text labels overlap on the geographical SVG.
   Leave every location pin visible and reveal its label on activation / focus. */
html body.v18-references .v73-svg .pin .lab {
  opacity: 0; transition:opacity .18s ease; pointer-events:none;
  paint-order:stroke; stroke:#0d1c22; stroke-width:3px; stroke-linejoin:round;
}
html body.v18-references .v73-svg .pin.is-active .lab,
html body.v18-references .v73-svg .pin:hover .lab,
html body.v18-references .v73-svg .pin:focus-visible .lab { opacity:1; }
html body.v18-references .v73-svg .pin .v10-hit-target { pointer-events:all; stroke:transparent; }
html body.v18-references .v73-svg .pin:focus-visible .dot { stroke:#fff; stroke-width:3px; }
html body.v18-references .v73-svg .pin:focus-visible { outline:none; }
html body.v18-references .ref-detail-switcher .v10-detail-external {
  border: 1px solid #f06d29; padding: 9px 11px; white-space:nowrap;
  background:transparent; color:#ffbd9b; text-decoration:none;
  font:800 11px/1.2 Inter, sans-serif; display:inline-flex; align-items:center;
}
html body.v18-references .ref-detail-switcher .v10-detail-external:hover,
html body.v18-references .ref-detail-switcher .v10-detail-external:focus-visible {
  color:#102029; background:#f06d29; outline-offset:3px;
}
html body.v18-references #v6-projekte,
html body.v18-references #einsatz,
html body.v18-references .project-case { scroll-margin-top: 100px; }
@media(max-width:1000px) {
  html body.v18-references .v73-map-list { max-height: 440px; }
}
@media(max-width:700px) {
  html body.v18-references .v6-portfolio { padding-block: 58px 65px; }
  html body.v18-references .v6-project-grid { gap:26px; }
  html body.v18-references .v6-project-card .v6-card-media { height:300px; }
  html body.v18-references .v73-map-list { max-height: 365px; }
  html body.v18-references .v73-map-list button { min-height:70px; }
  html body.v18-references .v73-map-stage { min-height:420px; }
  html body.v18-references .v10-show-more { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html body.v18-references .v73-svg .pin .lab,
  html body.v18-references .v10-show-more { transition: none !important; }
}
