/* V26: two photographs meet at one vertical seam, never around a frame. */
@media(min-width:1001px){
  .portfolio-hero{--portfolio-photo-width:min(76%,calc(var(--hero-stage-height)*1.5))}
  .portfolio-hero:before{display:none;background:none;filter:none;mask-image:none;opacity:0}
  .portfolio-hero .hero-photo{z-index:1;width:var(--portfolio-photo-width);filter:none;box-shadow:none;border-radius:0;mask-image:linear-gradient(90deg,#000 0%,#000 78%,#000000e6 85%,#0000008c 94%,transparent 100%)}
  .portfolio-hero .hero-sharp-layer{filter:none;box-shadow:none;border-radius:0;mask-image:none;object-fit:contain;object-position:left center}
  .portfolio-hero .portfolio-context-photo{z-index:0;display:block;inset:-4px -4px -4px calc(var(--portfolio-photo-width)*.58);width:auto;background-image:url("assets/portfolio-1786.webp");background-size:cover;background-position:65% center;filter:blur(3px);opacity:1;mask-image:linear-gradient(90deg,transparent 0%,#00000099 15%,#000 30%);mask-composite:add}
  .portfolio-hero .hero-content{z-index:3}
  .portfolio-hero:after{z-index:2;pointer-events:none;background:linear-gradient(90deg,transparent 48%,#111a1250 64%,#111a128a 100%)}
}

/* Three complete topic surfaces, no cascades of separate text blocks. */
.lc-motion-surface{--lc-entry-distance:18px;--lc-entry-delay:0ms}
.reviews-section.lc-motion-surface{--lc-entry-distance:18px}
#content-loesungen.lc-motion-surface{--lc-entry-distance:22px}
#referenzen.lc-motion-surface{--lc-entry-distance:18px}
.lc-motion-enabled .lc-motion-surface{transition:transform 660ms cubic-bezier(.22,1,.36,1)}
.lc-motion-enabled .lc-motion-surface:focus-within,.lc-motion-enabled .lc-motion-surface.lc-motion-locked{transform:none;transition:none}
@media(max-width:700px){
  .reviews-section.lc-motion-surface,#referenzen.lc-motion-surface{--lc-entry-distance:10px}
  #content-loesungen.lc-motion-surface{--lc-entry-distance:14px}
  .lc-motion-enabled .lc-motion-surface{transition-duration:560ms}
}
@media(prefers-reduced-motion:reduce){
  .lc-motion-enabled .lc-motion-surface,.lc-motion-enabled .lc-motion-surface:not(.lc-motion-arrived){transform:none!important;transition:none!important}
}

/* Keep the existing burger navigation usable at intermediate desktop widths. */
.menu-toggle{width:44px;height:44px;flex-shrink:0;flex-direction:column;gap:7px;justify-content:center;align-items:center;border:1px solid #78836580;background:transparent;color:#eee9db}.menu-toggle span{display:block;width:19px;height:1px;background:currentColor}
