/* Unsere Arbeiten - echte Vorher-Nachher-Vergleiche */

.wa-body { background: var(--cb-bg); }

.wa-back-row { padding: 18px 0 0; }
.wa-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--cb-text);
  opacity: .7;
  transition: opacity .16s ease;
}
.wa-back-link:hover { opacity: 1; }
.wa-back-link svg { width: 16px; height: 16px; flex: none; }

.wa-hero { padding: 40px 0 8px; max-width: 640px; }
.wa-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #1c2a29;
}
.wa-hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5b6560;
}

/* Vorher-Nachher comparison grid */
.wa-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 28px;
  margin: 36px 0 60px;
}
@media (max-width: 760px) {
  .wa-compare-grid { grid-template-columns: 1fr; gap: 36px; }
}

.wa-compare-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #e7e2dd;
  touch-action: pan-y;
}
.wa-compare-before,
.wa-compare-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.wa-compare-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.wa-compare-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  pointer-events: none;
}
.wa-compare-badge.is-before { left: 12px; background: rgba(20, 30, 28, .68); }
.wa-compare-badge.is-after { right: 12px; background: var(--volki-blue-dark); }

.wa-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  z-index: 3;
  pointer-events: none;
}
.wa-compare-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
.wa-compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(20, 30, 28, .28);
}
.wa-compare-handle svg { width: 18px; height: 18px; color: #1c2a29; }

.wa-compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 4;
}
.wa-compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 40px;
  height: 100%;
}
.wa-compare-range::-moz-range-thumb {
  width: 40px;
  height: 100%;
  border: 0;
  background: transparent;
}

.wa-compare-hint {
  margin: 9px 2px 0;
  font-size: 12.5px;
  color: #8b938e;
}
.wa-compare-caption { margin-top: 12px; }
.wa-compare-caption h3 {
  margin: 0 0 3px;
  font-size: 18px;
  font-weight: 700;
  color: #1c2a29;
}
.wa-compare-caption p {
  margin: 0;
  font-size: 14px;
  color: #5b6560;
}

/* Insights section */
.wa-solos-head { margin: 0 0 26px; }
.wa-solos-head h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 27px);
  font-weight: 700;
  color: #1c2a29;
}
.wa-solos-head p { margin: 0; font-size: 14.5px; color: #5b6560; }

.wa-solos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 56px;
}
@media (max-width: 480px) {
  .wa-solos-grid { grid-template-columns: 1fr; }
}
.wa-solo-tile {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #e7e2dd;
  cursor: pointer;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
}
.wa-solo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.wa-solo-tile:hover img { transform: scale(1.045); }
.wa-solo-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.wa-solo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,25,23,.4) 100%);
  opacity: 0;
  transition: opacity .2s ease;
}
.wa-solo-tile:hover::after { opacity: 1; }
.wa-solo-tile:hover .wa-solo-cap { opacity: 1; transform: translateY(0); }

/* Closing CTA */
.wa-cta {
  margin: 0 0 72px;
  padding: 40px 32px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #ece6e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.wa-cta-text h2 { margin: 0 0 6px; font-size: 22px; font-weight: 700; color: #1c2a29; }
.wa-cta-text p { margin: 0; font-size: 14.5px; color: #5b6560; }
.wa-cta-button {
  position: relative;
  overflow: hidden;
  flex: none;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--cb-cyan);
  font-size: 15px;
  font-weight: 600;
  color: #0f2321;
  white-space: nowrap;
}
.wa-cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45px;
  width: 28px;
  opacity: .28;
  transform: skewX(-12deg);
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent);
  animation: cleanbrosShine 5s linear infinite;
}
@media (max-width: 560px) {
  .wa-cta { padding: 28px 22px; }
  .wa-cta-button { width: 100%; text-align: center; }
}

/* Lightbox (insights only) */
.wa-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 20, 19, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.wa-lightbox.is-open { opacity: 1; pointer-events: auto; }
.wa-lightbox-frame { position: relative; width: min(92vw, 640px); max-height: 86vh; }
.wa-lightbox-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
}
.wa-lightbox-cap { margin-top: 12px; text-align: center; color: #f1efec; font-size: 14px; opacity: .85; }
.wa-lightbox-close,
.wa-lightbox-prev,
.wa-lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  font-size: 18px;
}
.wa-lightbox-close:hover,
.wa-lightbox-prev:hover,
.wa-lightbox-next:hover { background: rgba(255,255,255,.2); }
.wa-lightbox-close { top: -56px; right: 0; }
.wa-lightbox-prev { left: -60px; top: 50%; transform: translateY(-50%); }
.wa-lightbox-next { right: -60px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .wa-lightbox-close { top: -48px; right: 0; width: 38px; height: 38px; }
  .wa-lightbox-prev { left: 4px; }
  .wa-lightbox-next { right: 4px; }
}
