/*!
 * SmartParallax Pro Styles v1.1.1 – Final GPU-Fix Edition
 * (c) 2025 SmartParallax — https://smartparallax.com/
 * Licensed under GPL-2.0-or-later
 */

/* Basis */
.parallax-image,
.parallax-container {
  position: relative;
  overflow: hidden;
}

/* Container-Layer (transformiert) */
.parallax-container {
  transform: translate3d(0,0,0) scale(1) translateZ(0);
  transform-origin: 50% 49.9999% 0;
  backface-visibility: hidden;
  perspective: 1000px;
  /*will-change: transform, opacity, filter;*/
  z-index: 0;
}

/* GPU-Stabilisierungs-Pixel – verhindert iOS Recomposition */
.parallax-container::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  transform: translateZ(0);
  opacity: 0.0001;
  pointer-events: none;
}

/* Background-Layer */
.parallax-image .shp-parallax-bg {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transform: translate3d(0,0,0) translateZ(0);
  backface-visibility: hidden;
  /*will-change: transform, opacity, filter;*/
  z-index: 0;
}

/* Video-Layer */
.parallax-image video.wp-block-cover__video-background,
.parallax-container video.wp-block-cover__video-background {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0,0,0) translateZ(0);
  backface-visibility: hidden;
  /*will-change: transform, opacity, filter;*/
  z-index: 0;
}

/* Inhalte */
.parallax-image > :not(.shp-parallax-bg):not(video),
.parallax-container > :not(.shp-parallax-bg):not(video) {
  position: relative;
  z-index: 1;
}

/* Headings */
.parallax-heading {
  position: relative;
  transform: translate3d(0,0,0) translateZ(0);
  backface-visibility: hidden;
  /*will-change: transform, opacity, filter;*/
  z-index: 2;
}   