/* Ein zusammenhängender Waldspaziergang, ohne harte Abschnittskanten. */
main:has(.atmosphere-stage) { isolation: isolate; background: linear-gradient(180deg, var(--paper) 0%, #efeee9 32%, var(--paper) 70%, #efeee9 100%); }
.atmosphere-stage { background: transparent; }
.forest-film { -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 68%, #0009 84%, transparent 100%); mask-image: linear-gradient(transparent, #000 12%, #000 68%, #0009 84%, transparent 100%); }
.atmosphere-stage .scene-toggle { bottom: 120px; }
.home-journey { z-index: 2; margin-top: -100px; padding-top: 8px; }
.journey-intro { position: relative; padding-bottom: 30px; }
.journey-intro::before { content: ''; position: absolute; z-index: -1; inset: -50px -8% -30px; background: radial-gradient(ellipse, #f6f5f1d9 0%, #f6f5f160 48%, transparent 73%); pointer-events: none; }
.product-story-inner { min-height: 0; padding-top: 30px; padding-bottom: 45px; }
.product-story + .product-story { margin-top: 0; }
.product-story::before { opacity: .10; height: 480px; bottom: -120px; }
.journey-end { padding-top: 12px; padding-bottom: 45px; }
.browse-section { padding-top: 35px; padding-bottom: 50px; border: 0; }
.browse-section .category-card:nth-child(even) { margin-top: 35px; }
.custom-story .custom-inner { padding-top: 30px; padding-bottom: 42px; }
.custom-banner::after { bottom: -5px; opacity: .20; }
body:has(.atmosphere-stage) .site-footer { background: linear-gradient(#efeee9, var(--paper) 85%); padding-top: 36px; }
body:has(.atmosphere-stage) .footer-forest { top: -20px; height: 470px; opacity: .26; }
body:has(.atmosphere-stage) .footer-arrival { padding-bottom: 42px; }

/* Fotografien behalten ihre Farben und ihre natürlichen, klaren Ränder. */
.story-media img, .product-image img, .detail-image-button img,
.category-card img, .custom-story-photo img, .manufaktur-picture img {
  -webkit-mask-image: none; mask-image: none; mix-blend-mode: normal; border-radius: 7px;
}
.story-image-drift, .product-image, .detail-image-button { border-radius: 7px; overflow: hidden; }
.story-media img { aspect-ratio: 1 / 1; object-fit: contain; }
.product-image img, .detail-image-button img { object-fit: contain; }
.custom-story-photo img { transform: translate3d(0, var(--photo-shift, 0px), 0); }
.story-image-drift, .product-image, .category-card { background: transparent; }

@media (max-width: 620px) {
  .home-journey { margin-top: -75px; padding-top: 0; }
  .journey-intro { padding-bottom: 22px; }
  .journey-intro::before { inset: -30px 0; }
  .atmosphere-stage .scene-toggle { bottom: 92px; }
  .product-story-inner, .product-story-reverse .product-story-inner { gap: 20px; padding-top: 22px; padding-bottom: 44px; }
  .product-story::before { bottom: -95px; opacity: .09; }
  .journey-end { padding-bottom: 28px; }
  .browse-section { padding-top: 28px; padding-bottom: 35px; }
  .browse-section .category-card:nth-child(even) { margin-top: 0; }
  .custom-story .custom-inner { gap: 24px; padding-top: 30px; padding-bottom: 35px; }
  body:has(.atmosphere-stage) .site-footer { padding-top: 30px; }
  body:has(.atmosphere-stage) .footer-arrival { padding-bottom: 35px; }
}
@media (prefers-reduced-motion: reduce) { .custom-story-photo img { transform: none; } }

/* Beide Geschichten gleiten gleichzeitig; kein Ausblenden einzelner Bilder. */
.home-stories { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; overflow: clip; touch-action: pan-y pinch-zoom; }
.story-slide { grid-area: 1 / 1; min-width: 0; }
.home-stories.is-sliding .story-slide { will-change: transform; pointer-events: none; }
html[data-motion=on] .home-stories .reveal-target { opacity: 1; transform: none; transition: none; }

/* Schlichte, direkt am Bild erreichbare Pfeile; der Rest der Geschichte bleibt frei. */
.story-media-shell { position: relative; min-width: 0; }
.product-story-reverse .story-media-shell { grid-column: 2; grid-row: 1; }
.story-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #292c2926; border-radius: 50%; background: #f6f5f1e8; color: var(--ink); box-shadow: 0 2px 8px #292c2914; }
.story-arrow:hover { background: var(--paper); border-color: #292c2960; }
.story-arrow-previous { left: 8px; }
.story-arrow-next { right: 8px; }
.story-arrow svg { width: 22px; height: 22px; }
@media (max-width: 620px) { .story-media-shell { width: 100%; max-width: 440px; margin: auto; } .product-story-reverse .story-media-shell { grid-column: auto; grid-row: auto; } }
