/*
 Theme Name:   Hauswerk360
 Theme URI:    https://example.com/hauswerk360
 Description:  Child-Theme für hello-elementor
 Author:       GJWS
 Author URI:   https://example.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hauswerk360
*/

/* ============================================================
   Eigene Styles hier einfügen
   ============================================================ */

/* Linie füllt sich beim Scrollen von links nach rechts
   benötigt JS */
body .scroll-line {
    position: relative;
    width: 100%;
    height: 1px;
    background-color: rgba(245, 241, 236, 0.35);
}

body .scroll-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: rgba(245, 241, 236, 1);
    transition: none;
}

/* bounce-effekt */
.hw360-bounce {
    animation: hw360-bounce 1.2s infinite;
}

@keyframes hw360-bounce {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(8px); }
}

/* Verbesserte Eingangsanimationen. Füge diesen Code einfach in ein "Custom CSS" Feld ein. Mehr Elementor Tricks auf https://robert-leitinger.com/ */

@keyframes fadeDown {
from {
opacity: 0;
transform: translate3d(0,-30px,0)
}

to {
    opacity: 1;
    transform: none
}
}

.elementor-element.fadeInDown {
animation-name: fadeDown
}

@keyframes fadeLeft {
from {
opacity: 0;
transform: translate3d(-30px,0,0)
}

to {
    opacity: 1;
    transform: none
}
}

.elementor-element.fadeInLeft {
animation-name: fadeLeft
}

@keyframes fadeRight {
from {
opacity: 0;
transform: translate3d(30px,0,0)
}

to {
    opacity: 1;
    transform: none
}
}

.elementor-element.fadeInRight {
animation-name: fadeRight
}

@keyframes fadeUp {
from {
opacity: 0;
transform: translate3d(0,30px,0)
}

to {
    opacity: 1;
    transform: none
}
}

.elementor-element.fadeInUp {
animation-name: fadeUp
}

/* Linie zwischen Kästchen, um Steps darzustellen 
.hw-steps {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.hw-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  z-index: 0;
}

.hw-step-box {
  position: relative;
  flex: 1 1 0;
  padding: 42px 24px 24px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #f7f4f1;
  min-height: 220px;
  z-index: 1;
}

.hw-step-box::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9B7956;
  box-shadow: 0 0 0 6px #f7f4f1;
}

.hw-step-box h3,
.hw-step-box h4 {
  margin-top: 0;
  margin-bottom: 16px;
}

.hw-step-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .hw-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .hw-steps::before {
    top: 0;
    bottom: 0;
    left: 18px;
    right: auto;
    width: 1px;
    height: auto;
    background: rgba(0, 0, 0, 0.12);
  }

  .hw-step-box {
    min-height: auto;
    padding: 24px 20px 24px 48px;
  }

  .hw-step-box::before {
    top: 26px;
    left: 12px;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 6px #f7f4f1;
  }
} */

/* Horizontaler Strich als Aufzählungszeichen für Listen */
.hw-text-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0 0;
}

.hw-text-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.hw-text-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 1px;
  background: #9B7956;
}

/* Hintergrund + Zeichen für Container als Step-Boxes */
.step-box {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 0px;
  background: transparent;
  isolation: isolate;
}

.step-box::before {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -10px;
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  background-color; #9B7956;
  border-radius: 99px;
  color: rgba(0, 0, 0, 0.1);
  z-index: -1;
  pointer-events: none;
}

.step-box.step-1::before {
  content: "1";
}

.step-box.step-2::before {
  content: "2";
}

.step-box.step-3::before {
  content: "3";
}

.step-box.step-4::before {
  content: "4";
}


/* 
 Erzeugt einen Effekt beim Seitenwechsel
 Ein dunkler Layer schiebt sich in die Seite und nach dem Wechsel wieder hinaus 
*/
#page-transition-overlay {
    position: fixed;
    inset: 0;
    background: #0D1216;
    z-index: 99999;
    pointer-events: none;
    transform: translateX(-100%);
    will-change: transform;
}

/* Beim ersten Paint der neuen Seite sofort sichtbar */
html.gjws-transition-loading #page-transition-overlay {
    transform: translateX(0);
}

#page-transition-overlay.is-entering {
    animation: pageOverlayEnter 0.75s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

#page-transition-overlay.is-leaving {
    animation: pageOverlayLeave 0.75s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes pageOverlayEnter {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes pageOverlayLeave {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

/* 
 Textfarbe ändert sich beim Scrollen 
*/
.scroll-gradient-text .sgt-word {
  display: inline-block;
  white-space: nowrap;
}

.scroll-gradient-text .sgt-char {
  display: inline-block;
  color: #cfcfcf !important;
  transform: translateY(0.12em);

  transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-gradient-text .sgt-word.is-active .sgt-char {
  color: #111111 !important;
  transform: translateY(0);
}