/* SCHRAEGER v85 – vereinheitlichte Typografie und präzise Home-Animationen */
body.schraeger-global-theme,
body.schraeger-global-theme :where(p,a,button,input,textarea,select,label,li),
body.schraeger-global-theme :where(.text-button,.text-size-small,.text-size-medium,.text-size-large,.label-small,.label-medium) {
  font-family: Manrope, Arial, sans-serif;
}

body.schraeger-global-theme :where(h1,h2,h3,h4,h5,h6,.heading-style-h0,.heading-style-h1,.heading-style-h2,.heading-style-h3,.heading-style-h4,.heading-style-h5) {
  font-family: Manrope, Arial, sans-serif !important;
  font-weight: 600;
}

body.schraeger-global-theme .navbar .navbar_logo,
body.schraeger-global-theme .navbar .navbar_brand:hover .navbar_logo {
  opacity: 1 !important;
  filter: brightness(0) saturate(100%) !important;
}

/* Featured Cases: räumliche, individuelle Drei-Karten-Choreografie. */
body.schraeger-global-theme .schraeger-featured-stage .works-home_only-image-wrap {
  --work-rx: 0deg;
  --work-ry: 0deg;
  transform-style: preserve-3d !important;
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(0) !important;
  transition: transform .18s ease-out, box-shadow .55s ease, border-color .55s ease !important;
}

body.schraeger-global-theme .schraeger-featured-stage .works-home_only-image-wrap:hover {
  transform: perspective(1200px) rotateX(var(--work-rx)) rotateY(var(--work-ry)) translateY(-9px) !important;
  border-color: rgba(165,123,67,.58) !important;
  box-shadow: 0 38px 100px rgba(35,44,49,.28), 0 0 38px rgba(165,123,67,.12) !important;
}

body.schraeger-global-theme .schraeger-featured-stage .works-home_master-list > .works-home_list-wrapper:nth-child(1) .works-home_image-wrap {
  --card-enter-x: -22vw;
  --card-enter-rotate: -9deg;
  --card-enter-yrotate: 13deg;
  --card-enter-y: 60px;
}

body.schraeger-global-theme .schraeger-featured-stage .works-home_master-list > .works-home_list-wrapper:nth-child(2) .works-home_image-wrap {
  --card-enter-x: 0px;
  --card-enter-rotate: 0deg;
  --card-enter-yrotate: 0deg;
  --card-enter-y: 150px;
}

body.schraeger-global-theme .schraeger-featured-stage .works-home_master-list > .works-home_list-wrapper:nth-child(3) .works-home_image-wrap {
  --card-enter-x: 22vw;
  --card-enter-rotate: 9deg;
  --card-enter-yrotate: -13deg;
  --card-enter-y: 60px;
}

body.schraeger-global-theme .schraeger-featured-stage.is-featured-visible .works-home_image-wrap {
  animation: schraeger-featured-fan-in 1.25s calc(var(--work-index) * .13s) cubic-bezier(.16,1,.3,1) both !important;
}

body.schraeger-global-theme .schraeger-featured-stage .works-home_only-image-wrap::before {
  background:
    radial-gradient(circle at var(--work-x) var(--work-y), rgba(255,255,255,.34), transparent 19%),
    linear-gradient(135deg, transparent 42%, rgba(183,142,78,.16), transparent 58%) !important;
  background-size: 100% 100%, 240% 240% !important;
}

body.schraeger-global-theme .schraeger-featured-stage .works-home_only-image-wrap:hover::before {
  opacity: 1 !important;
  animation: schraeger-featured-light-scan 1.8s ease-out both;
}

body.schraeger-global-theme .schraeger-featured-stage .works-home_project-name {
  transform: translateZ(34px) !important;
}

/* People: komplett ohne graue Fläche, Obertitel wieder links. */
body.schraeger-global-theme .section_founder.schraeger-founders-stage,
body.schraeger-global-theme .schraeger-founders-stage .founder_heaedline,
body.schraeger-global-theme .schraeger-founders-stage .schraeger-founders-kicker,
body.schraeger-global-theme .schraeger-founders-stage .schraeger-founders-kicker span {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.schraeger-global-theme .schraeger-founders-stage .schraeger-founders-kicker {
  display: block !important;
  width: auto !important;
  margin: 0 0 clamp(.7rem,1.3vw,1.15rem) !important;
  padding: 0 !important;
  border: 0 !important;
  color: #7e5a2f !important;
  text-align: left !important;
  opacity: 1 !important;
  transform: none !important;
}

body.schraeger-global-theme .schraeger-founders-stage .founder_heaedline .schraeger-letter-title {
  display: block !important;
  overflow: visible !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  filter: none !important;
  animation: none !important;
}

.schraeger-letter-title .schraeger-title-line {
  display: block;
  width: fit-content;
  white-space: nowrap;
}

.schraeger-letter-title .schraeger-title-letter {
  display: inline-block;
  color: #6f4d26 !important;
  -webkit-text-fill-color: #6f4d26 !important;
  transform-origin: 50% 80%;
  animation: schraeger-letter-gold-wave 4.6s calc(var(--letter-index) * .075s) ease-in-out infinite;
  will-change: transform,color,filter;
}

/* Neuer Termin-CTA: ruhig, klar und zur Navigation passend. */
.schraeger-founders-cta {
  justify-content: flex-start !important;
  width: 100% !important;
  margin-top: clamp(1.6rem,3vw,2.8rem) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.schraeger-founders-cta p {
  max-width: 430px;
  color: #4a5355 !important;
}

.schraeger-founders-cta > a.button {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  padding: .72rem 1.2rem !important;
  border: 1px solid rgba(34,41,44,.2) !important;
  border-radius: 999px !important;
  background: rgba(247,246,241,.62) !important;
  box-shadow: 0 10px 28px rgba(39,47,50,.1), inset 0 1px rgba(255,255,255,.85) !important;
  animation: none !important;
  transition: transform .45s cubic-bezier(.16,1,.3,1), background .4s ease, border-color .4s ease !important;
}

.schraeger-founders-cta > a.button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg,transparent 15%,rgba(173,130,68,.2) 46%,transparent 72%);
  transform: translateX(-120%);
  transition: transform .75s cubic-bezier(.16,1,.3,1);
}

.schraeger-founders-cta > a.button .text-button,
.schraeger-founders-cta__arrow {
  position: relative;
  z-index: 1;
  color: #222a2d !important;
  -webkit-text-fill-color: #222a2d !important;
  font-weight: 650 !important;
}

.schraeger-founders-cta > a.button:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(143,102,48,.42) !important;
  background: rgba(247,246,241,.88) !important;
}

.schraeger-founders-cta > a.button:hover::before { transform: translateX(120%); }

@keyframes schraeger-featured-fan-in {
  0% { opacity:0; transform:perspective(1200px) translate3d(var(--card-enter-x),var(--card-enter-y),-260px) rotateZ(var(--card-enter-rotate)) rotateY(var(--card-enter-yrotate)) scale(.84); filter:blur(10px); }
  68% { opacity:1; transform:perspective(1200px) translate3d(0,-12px,0) rotateZ(0) rotateY(0) scale(1.018); filter:blur(0); }
  100% { opacity:1; transform:perspective(1200px) translate3d(0,0,0) rotateZ(0) rotateY(0) scale(1); filter:blur(0); }
}

@keyframes schraeger-featured-light-scan {
  from { background-position:50% 50%,180% 180%; }
  to { background-position:50% 50%,-80% -80%; }
}

@keyframes schraeger-letter-gold-wave {
  0%,18%,100% { color:#6f4d26; -webkit-text-fill-color:#6f4d26; transform:translateY(0) rotate(0); filter:drop-shadow(0 0 0 rgba(205,161,90,0)); }
  38% { color:#d3aa67; -webkit-text-fill-color:#d3aa67; transform:translateY(-.08em) rotate(-1.1deg); filter:drop-shadow(0 .08em .16em rgba(161,113,49,.24)); }
  58% { color:#966b34; -webkit-text-fill-color:#966b34; transform:translateY(0) rotate(0); filter:drop-shadow(0 0 0 rgba(205,161,90,0)); }
}

@media (max-width:767px) {
  .schraeger-founders-cta { align-items:flex-start !important; }
  body.schraeger-global-theme .schraeger-featured-stage.is-featured-visible .works-home_image-wrap { animation-duration:.9s !important; }
}

@media (prefers-reduced-motion:reduce) {
  body.schraeger-global-theme .schraeger-featured-stage.is-featured-visible .works-home_image-wrap,
  .schraeger-letter-title .schraeger-title-letter { animation:none !important; }
  body.schraeger-global-theme .schraeger-featured-stage .works-home_only-image-wrap { transform:none !important; }
}
