/* PhotoSwipe theme – Engelschalk (Hellgrau / Logo-Gelb via --signal) */
.pswp {
  --pswp-bg: #1a1a17;
  --pswp-placeholder-bg: #2a2a27;
  --pswp-icon-color: #ecece9;
  --pswp-icon-color-secondary: #1a1a17;
  --pswp-icon-stroke-color: #1a1a17;
  --pswp-icon-stroke-width: 1px;
}

.pswp__bg {
  background: var(--pswp-bg);
}

.pswp__top-bar,
.pswp__button {
  transition: opacity .25s ease;
}

/* Always show default UI chrome (close + arrows), even on touch / before ui-visible */
.pswp .pswp__hide-on-close,
.pswp .pswp__top-bar,
.pswp .pswp__button--close,
.pswp .pswp__button--zoom,
.pswp .pswp__counter,
.pswp .pswp__button--arrow {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* PhotoSwipe hides arrows on .pswp--touch unless .pswp--has_mouse — force them on */
.pswp--touch .pswp__button--arrow,
.pswp--has_mouse .pswp__button--arrow,
.pswp__button--arrow {
  visibility: visible !important;
  display: block !important;
  opacity: 1 !important;
}

.pswp--one-slide .pswp__button--arrow {
  display: none !important;
}

.pswp__button--close,
.pswp__button--zoom,
.pswp__button--arrow--prev,
.pswp__button--arrow--next {
  border-radius: 2px;
  opacity: 1;
}

.pswp__button--close {
  width: 52px;
  height: 52px;
  margin: 10px 12px 0 0;
  background: rgba(26, 26, 23, .72);
  border: 1px solid rgba(236, 236, 233, .28);
  border-radius: 3px;
  z-index: 20;
}

.pswp__button--close .pswp__icn {
  top: 10px;
  left: 10px;
}

.pswp__button--arrow--prev,
.pswp__button--arrow--next {
  width: 64px;
  height: 88px;
  margin-top: -44px;
  background: rgba(26, 26, 23, .45);
  border: 1px solid rgba(236, 236, 233, .18);
  border-radius: 3px;
  z-index: 20;
}

.pswp__button--arrow--prev {
  left: 10px;
}

.pswp__button--arrow--next {
  right: 10px;
}

.pswp__button--arrow--prev .pswp__icn,
.pswp__button--arrow--next .pswp__icn {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}

.pswp__button:hover {
  opacity: 1;
}

.pswp__button--close:hover,
.pswp__button--arrow--prev:hover,
.pswp__button--arrow--next:hover {
  border-color: rgb(var(--pswp-accent-rgb, 174, 127, 40));
  background: rgba(26, 26, 23, .88);
}

.pswp__counter {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(236, 236, 233, .72);
  opacity: 1;
}

/* Accent underline on counter / caption */
.pswp__custom-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  max-width: min(640px, 88vw);
  padding: .55em 1em .5em;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(236, 236, 233, .88);
  text-align: center;
  background: rgba(26, 26, 23, .55);
  border-bottom: 2px solid rgb(var(--pswp-accent-rgb, 174, 127, 40));
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 520px) {
  .pswp__custom-caption {
    bottom: 12px;
    font-size: .8rem;
    padding: .45em .75em;
  }

  .pswp__button--arrow--prev,
  .pswp__button--arrow--next {
    width: 52px;
    height: 72px;
    margin-top: -36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pswp__img,
  .pswp__zoom-wrap,
  .pswp__bg {
    transition: none !important;
  }
}

/* Gallery anchors – page chrome */
a.pswp-item {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  color: inherit;
  text-decoration: none;
  outline: none;
}

a.pswp-item:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.photo-strip a.pswp-item img,
.svc-photos a.pswp-item img,
.about-visual a.pswp-item img,
.about-photos a.pswp-item img,
.work-gallery a.pswp-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Brand moment – Über uns (Option A: Markenzeichen) */
.brand-moment {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: 64px 0 12px;
  margin-left: calc(50% - 50vw);
  padding: clamp(56px, 10vw, 108px) 24px clamp(48px, 8vw, 88px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(42, 42, 39, .045), transparent 55%),
    color-mix(in srgb, var(--paper) 72%, var(--beton));
  border-top: 1px solid var(--line-l);
  border-bottom: 1px solid var(--line-l);
}

.brand-moment::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--signal);
}

.brand-moment-inner {
  max-width: min(720px, 92vw);
  margin: 0 auto;
}

.brand-moment-logo {
  display: block;
  width: 100%;
  max-width: min(680px, 92vw);
  height: auto;
  margin: 0 auto;
}

.brand-moment-tag {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 1.85rem;
}

@media (max-width: 520px) {
  .brand-moment {
    margin-top: 44px;
    margin-bottom: 8px;
    padding: 44px 16px 40px;
  }

  .brand-moment-tag {
    margin-top: 1.4rem;
    letter-spacing: .14em;
  }
}
