/* SCHRAEGER v89 – Home-Typografie und gestaffelte Leistungskarten */
body.schraeger-global-theme .schraeger-home-editorial .home-hero_texts-right h2 {
  max-width: 820px !important;
  font-size: clamp(1.85rem,2.65vw,3.25rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em !important;
}

body.schraeger-global-theme .schraeger-home-editorial .home-hero_texts-right h2 > span {
  display: block !important;
  white-space: nowrap !important;
}

body.schraeger-global-theme .schraeger-about-stage .text-beschreibung {
  max-width: 980px !important;
  font-size: clamp(1.55rem,2.7vw,3.25rem) !important;
  line-height: 1.1 !important;
}

/* Drei Leistungen kommen beim Scrollen wie zusammengehörige Kapitel herein. */
body.schraeger-global-theme .schraeger-service-motion .services-home_single:not(.is-service-visible) .services-home_top,
body.schraeger-global-theme .schraeger-service-motion .services-home_single:not(.is-service-visible) .services-home_bottom,
body.schraeger-global-theme .schraeger-service-motion .services-home_single:not(.is-service-visible) .services-home_video-wrap,
body.schraeger-global-theme .schraeger-service-motion .services-home_single:not(.is-service-visible) .services-home_background-image-wrap {
  opacity: 0 !important;
}

body.schraeger-global-theme .schraeger-service-motion .services-home_single.is-service-visible .services-home_top {
  animation: schraeger-v89-service-title .8s cubic-bezier(.16,1,.3,1) both !important;
}

body.schraeger-global-theme .schraeger-service-motion .services-home_single.is-service-visible .services-home_video-wrap,
body.schraeger-global-theme .schraeger-service-motion .services-home_single.is-service-visible .services-home_background-image-wrap {
  animation: schraeger-v89-service-media 1.05s .08s cubic-bezier(.16,1,.3,1) both !important;
}

body.schraeger-global-theme .schraeger-service-motion .services-home_single.is-service-visible .services-home_bottom {
  animation: schraeger-v89-service-copy .9s .18s cubic-bezier(.16,1,.3,1) both !important;
}

body.schraeger-global-theme .schraeger-service-motion .services-home_top h3:first-child {
  background: linear-gradient(105deg,#2f3739 5%,#2f3739 38%,#a57b43 49%,#2f3739 62%,#2f3739 95%) !important;
  background-size: 280% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  animation: schraeger-v89-service-name 6.2s calc(var(--service-index) * .45s) ease-in-out infinite !important;
}

body.schraeger-global-theme .schraeger-service-motion .services-home_video-wrap,
body.schraeger-global-theme .schraeger-service-motion .services-home_background-image-wrap {
  overflow: hidden !important;
  transition: transform .75s cubic-bezier(.16,1,.3,1), box-shadow .65s ease !important;
}

body.schraeger-global-theme .schraeger-service-motion .services-home_single:hover .services-home_video-wrap,
body.schraeger-global-theme .schraeger-service-motion .services-home_single:hover .services-home_background-image-wrap {
  transform: translateY(-6px) scale(1.008) !important;
  box-shadow: 0 30px 74px rgba(34,44,49,.2) !important;
}

body.schraeger-global-theme .schraeger-service-motion .services-home_video,
body.schraeger-global-theme .schraeger-service-motion .services-home_image {
  transition: transform 1.1s cubic-bezier(.16,1,.3,1), filter .8s ease !important;
}

body.schraeger-global-theme .schraeger-service-motion .services-home_single:hover .services-home_video,
body.schraeger-global-theme .schraeger-service-motion .services-home_single:hover .services-home_image {
  transform: scale(1.035) !important;
  filter: saturate(1.04) contrast(1.025) !important;
}

@keyframes schraeger-v89-service-title {
  from { opacity:0; transform:translateY(32px); filter:blur(6px); }
  to { opacity:1; transform:translateY(0); filter:blur(0); }
}

@keyframes schraeger-v89-service-media {
  from { opacity:0; clip-path:inset(12% 6% 12% 6% round 32px); transform:scale(.94); filter:blur(8px); }
  to { opacity:1; clip-path:inset(0 0 0 0 round 0); transform:scale(1); filter:blur(0); }
}

@keyframes schraeger-v89-service-copy {
  from { opacity:0; transform:translateY(42px) scale(.985); }
  to { opacity:1; transform:translateY(0) scale(1); }
}

@keyframes schraeger-v89-service-name {
  0%,20% { background-position:100% 50%; }
  48%,62% { background-position:0% 50%; }
  84%,100% { background-position:-100% 50%; }
}

@media (max-width:767px) {
  body.schraeger-global-theme .schraeger-home-editorial .home-hero_texts-right h2 > span { white-space:normal !important; }
  body.schraeger-global-theme .schraeger-home-editorial .home-hero_texts-right h2 { font-size:clamp(1.75rem,8vw,2.45rem) !important; }
}

@media (prefers-reduced-motion:reduce) {
  body.schraeger-global-theme .schraeger-service-motion .services-home_single.is-service-visible .services-home_top,
  body.schraeger-global-theme .schraeger-service-motion .services-home_single.is-service-visible .services-home_bottom,
  body.schraeger-global-theme .schraeger-service-motion .services-home_single.is-service-visible .services-home_video-wrap,
  body.schraeger-global-theme .schraeger-service-motion .services-home_single.is-service-visible .services-home_background-image-wrap,
  body.schraeger-global-theme .schraeger-service-motion .services-home_top h3:first-child { animation:none !important; opacity:1 !important; }
}
