/* HERO */
.hero{
  position:relative;
}

.hero-bg{
  position:relative;
  min-height:690px;
  overflow:hidden;
}

.hero-bg-layer{
  position:absolute;
  top:-120px;
  left:0;
  width:100%;
  height:calc(100% + 240px);
  background-size:cover;
  background-position:center center;
  z-index:0;
  will-change:transform, opacity;

  opacity:0;
  transform:scale(1.02);
  animation:heroFadeOpacity 2.1s ease forwards;
}

@keyframes heroFadeOpacity{
  0%{
    opacity:0;
  }
  100%{
    opacity:1;
  }
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  min-height:690px;
}

.hero-center{
  position:absolute;
  left:50%;
  top:70%;
  transform:translate(-50%, -50%);
  width:min(1200px, 100%);
  text-align:center;
}

.hero-center h1{
  font-family:"PoppinsCustom", sans-serif;
  font-size:55px;
  line-height:68px;
  letter-spacing:-1px;
  color:#BE2E2EFF;
}

.hero-intro-buttons{
  position:relative;
  margin-top:28px;
  height:64px;
}

.intro-box,
.intro-contact{
  position:absolute;
  top:0;
  opacity:0;
  pointer-events:none;
  font-style:normal;
  text-transform:none;
}

.intro-box{
  min-width:245px;
  padding:13px 16px;
  background:rgba(70,70,70,.72);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  font-size:17px;
  letter-spacing:2px;
  box-shadow:var(--shadow);
  text-align:center;
  font-family:"RalewayCustom", sans-serif;
  font-weight:400;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.intro-box:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 22px rgba(0,0,0,0.35);
  background:rgba(90,90,90,.78);
}

.intro-box:active{
  transform:translateY(-1px);
  box-shadow:0 5px 12px rgba(0,0,0,0.25);
}

.intro-contact{
  padding:12px 45px;
  background:#a32628;
  color:#fff;
  letter-spacing:2px;
  box-shadow:var(--shadow);
  font-family:"RalewayCustom", sans-serif;
  font-weight:400;
  font-size:17px;
}

.box-left{
  left:50%;
  transform:translateX(-350%);
}

.box-middle{
  left:50%;
  transform:translateX(-350%);
}

.box-right{
  left:50%;
  transform:translateX(-165%);
}

.hero-intro-buttons.animate .box-left{
  animation:slideLeftIn 1s ease 2s forwards;
}

.hero-intro-buttons.animate .box-middle{
  animation:slideLeftInSecond 1s ease 2.25s forwards;
}

.hero-intro-buttons.animate .box-right{
  animation:slideRightIn 1s ease 2.1s forwards;
}

@keyframes slideLeftIn{
  0%{
    opacity:0;
    transform:translateX(-50%);
  }
  100%{
    opacity:1;
    transform:translateX(-299px);
    pointer-events:auto;
  }
}

@keyframes slideLeftInSecond{
  0%{
    opacity:0;
    transform:translateX(-50%);
  }
  100%{
    opacity:1;
    transform:translateX(-290px) translateY(47.49px);
    pointer-events:auto;
  }
}

@keyframes slideRightIn{
  0%{
    opacity:0;
    transform:translateX(-50%);
  }
  100%{
    opacity:1;
    transform:translateX(38px);
    pointer-events:auto;
  }
}

.hero-whatsapp{
  position:absolute;
  left:41.5%;
  top:183px;
  transform:translateX(145px) translateY(-165px);
  opacity:0;
  color:#E5E0D8;
  font-size:15px;
  font-style:normal;
  font-weight:400;
  text-shadow:0 2px 6px rgba(0,0,0,.28);
  white-space:nowrap;
  font-family:"PermanentMarker", cursive;
}

.hero-whatsapp.animate{
  animation:
    whatsappDrop 1s ease 3.2s forwards,
    whatsappBounce 2s ease-in-out 4.2s infinite;
}

@keyframes whatsappDrop{
  0%{
    opacity:0;
    transform:translateX(145px) translateY(-20px);
  }
  100%{
    opacity:1;
    transform:translateX(145px) translateY(15px);
  }
}

@keyframes whatsappBounce{
  0%,100%{
    transform:translateX(145px) translateY(15px);
  }
  50%{
    transform:translateX(145px) translateY(7px);
  }
}

#contactBtn{
  font-family:"Inter", sans-serif;
  font-size:16px;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.hero-intro-buttons.animate #contactBtn:hover{
  transform:translateX(38px) translateY(-2px);
  background:var(--red-btn-hover);
  box-shadow:0 10px 22px rgba(0,0,0,0.35);
}

.hero-intro-buttons.animate #contactBtn:active{
  transform:translateX(38px) translateY(0);
  box-shadow:0 5px 12px rgba(0,0,0,0.25);
}

/* TOP CARDS */
.cards-band{
  background:var(--surface-topcards);
  padding:60px 0 190px;
}

.cards-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:42px;
  max-width:1100px;
  margin:0 auto;
}

.service-top-card{
  background:var(--surface-card-top);
  min-height:240px;
  text-align:center;
  padding:66px 30px 30px;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  border-radius:6px;
}

.service-top-card h3{
  margin:0 0 16px;
  font-family:"InterCuostom600", sans-serif;
  color:var(--white-muted);
  font-size:34px;
  line-height:1.15;
}

.service-top-card p{
  margin:0;
  font-family:"InterCuostom600", sans-serif;
  color:var(--white-muted);
  font-size:16px;
  font-weight:400;
  line-height:1.4;
}

/* WHY */
.why-section{
  background:var(--surface-why);
  padding:34px 0 170px;
}

.why-grid{
  display:grid;
  grid-template-columns:1.06fr .94fr;
  gap:46px;
  align-items:center;
}

.why-left{
  min-width:0;
}

.why-item{
  display:flex;
  gap:20px;
  margin-bottom:42px;
  align-items:flex-start;
}

.why-text{
  flex:1 1 auto;
  min-width:0;
}

.why-icon{
  width:60px;
  height:60px;
  border:2px solid var(--red-accent);
  border-radius:50%;
  flex:0 0 60px;
  margin-top:4px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.why-icon svg{
  width:26px;
  height:26px;
  stroke:var(--red-accent);
  stroke-width:2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.why-item h3{
  margin:0 0 8px;
  font-family:"InterCuostom600", sans-serif;
  font-size:30px;
  line-height:1.17;
  font-weight:400;
  letter-spacing:-0.5px;
  color:var(--red-accent);
}

.why-item p{
  margin:0;
  font-family:"Inter", sans-serif;
  font-size:16px;
  line-height:27.5px;
  font-weight:400;
  color:var(--text-muted);
  position:relative;
  padding-left:16px;
}

.why-item p::before{
  content:"•";
  position:absolute;
  left:0;
  top:0;
  color:var(--text-muted);
  font-size:18px;
  line-height:27.5px;
}

.why-right img{
  width:100%;
  display:block;
  border-radius:10px;
  box-shadow:var(--shadow);
}

/* SERVICES */
.services-section{
  background:var(--surface-services);
  padding:120px 0 110px;
}

.section-title{
  text-align:center;
  font-family:"InterCuostom600", sans-serif;
  font-size:48px;
  line-height:57.6px;
  letter-spacing:-0.7px;
  font-weight:400;
  color:var(--text-muted);
  margin:0 0 70px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:48px;
  max-width:1200px;
  margin:0 auto;
}

.service-card{
  background:var(--surface-card);
  border-radius:6px;
  text-align:center;
  padding:70px 30px 35px;
  min-height:420px;
  box-shadow:0 12px 30px rgba(0,0,0,.35);

  opacity:0;
  transform:translateX(-60px);
  transition:opacity .8s ease, transform .8s ease;
}

.service-card:nth-child(even){
  transform:translateX(60px);
}

.service-card.in-view{
  opacity:1;
  transform:translateX(0);
}

.service-card h3{
  margin:0 0 26px;
  font-size:22px;
  color:var(--white-muted-2);
  line-height:1.2;
  font-weight:400;
  font-family:"InterCuostom700", sans-serif;
}

.service-card img{
  width:100%;
  max-width:310px;
  height:180px;
  object-fit:cover;
  margin:0 auto 28px;
  border-radius:2px;
}

.red-btn{
  display:inline-block;
  background:var(--red-btn);
  color:#debeb4;
  padding:12px 28px;
  font-size:14px;
  font-weight:600;
  letter-spacing:.3px;
  border-radius:4px;
}

.red-btn:hover{
  background:var(--red-btn-hover);
  transform:translateY(-2px);
}

/* SCROLL IN ANIMATION: von unten nach oben */
.service-top-card,
.why-item,
.why-right{
  opacity:0;
  transform:translateY(50px);
  transition:opacity .8s ease, transform .8s ease;
}

.service-top-card.in-view,
.why-item.in-view,
.why-right.in-view{
  opacity:1;
  transform:translateY(0);
}

.service-top-card:nth-child(1){ transition-delay:.05s; }
.service-top-card:nth-child(2){ transition-delay:.15s; }
.service-top-card:nth-child(3){ transition-delay:.25s; }

.why-item:nth-child(1){ transition-delay:.05s; }
.why-item:nth-child(2){ transition-delay:.15s; }
.why-item:nth-child(3){ transition-delay:.25s; }

@media (max-width: 1366px){
  .hero-bg{
    min-height:620px;
  }

  .hero-content{
    min-height:620px;
  }

  .hero-center{
    top:58%;
    width:min(1100px, 100%);
  }

  .hero-center h1{
    font-size:46px;
    line-height:58px;
  }

  .hero-intro-buttons{
    margin-top:22px;
  }

  .intro-box{
    font-size:15px;
    padding:12px 14px;
  }

  .intro-contact{
    font-size:15px;
    padding:12px 34px;
  }

  .hero-whatsapp{
    font-size:14px;
    top:162px;
    transform:translateX(145px) translateY(-138px);
  }

  .services-section{
    padding:90px 0 80px;
  }

  .section-title{
    font-size:40px;
    margin-bottom:50px;
  }

  .services-grid{
    gap:32px;
    max-width:1000px;
  }

  .service-card{
    min-height:360px;
    padding:50px 20px 28px;
  }

  .service-card img{
    height:150px;
    margin-bottom:20px;
  }

  .service-card h3{
    font-size:20px;
  }
}

/* MOBILE */
@media (max-width: 980px){

  .container{
    width:min(100%, calc(100% - 24px));
  }

  /* ========= HERO ========= */
  .hero-bg{
    min-height:540px;
  }

  .hero-content{
    min-height:540px;
    padding:0 0 20px;
  }

  .hero-center{
    padding-top:140px;
    text-align:center;
  }

  .hero-center h1{
    font-size:28px;
    line-height:1.15;
    max-width:260px;
    margin:0 auto;
    text-align:center;
  }

  /* ========= BUTTONS ========= */
 .hero-intro-buttons{
   margin-top:18px;
   display:flex !important;
   flex-direction:column !important;
   gap:6px;
   align-items:center !important;
   width:100%;
 }

 .intro-box,
 .intro-contact{
   position:static !important;
   left:auto !important;
   right:auto !important;
   top:auto !important;
   transform:none !important;

   width:100% !important;
   max-width:240px !important;
   padding:10px 14px;
   font-size:13px;
   border-radius:6px;
   margin:0 !important;
   text-align:center;
 }

 .hero-intro-buttons #contactBtn{
   margin-bottom:0 !important;
 }

 .hero-whatsapp{
   position:static !important;
   display:block !important;
   width:100% !important;
   max-width:240px !important;

   margin:70px auto 0 !important;
   padding:0 !important;

   left:auto !important;
   right:auto !important;
   top:auto !important;
   bottom:auto !important;
   transform:none !important;

   text-align:center !important;
   font-size:12px;
   line-height:1.2;
 }

  .hero-intro-buttons #heroWhatsapp{
    order:99;
  }

  /* ========= TOP CARDS ========= */
.cards-row{
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.cards-row .service-top-card:last-child{
  grid-column:1 / -1;
  justify-self:center;
  max-width:200px;
}

  .service-top-card{
    padding:18px 12px;
    min-height:auto;
  }

  .service-top-card h3{
    font-size:18px;
    margin-bottom:6px;
  }

  .service-top-card p{
    font-size:12px;
    line-height:1.4;
  }

  /* ========= WHY ========= */
  .why-grid{
    grid-template-columns:1fr;
  }

  .why-item h3{
    font-size:20px;
  }

  .why-item p{
    font-size:13px;
  }

  /* ========= SERVICES ========= */
  .services-grid{
    grid-template-columns:1fr 1fr;
    gap:12px;
  }

  .service-card{
    min-height:auto;
    padding:16px 12px;
  }

  .service-card h3{
    font-size:16px;
  }

  .service-card img{
    height:120px;
  }

  .red-btn{
    font-size:12px;
    padding:8px 14px;
  }

  /* ========= FLOAT BUTTON ========= */
  .dark-toggle{
    width:48px;
    height:48px;
  }

  /* ========= ANIMATION ========= */
  @keyframes fadeUp{
    to{
      opacity:1;
      transform:translateY(0);
    }
  }
	
.cta-hero{
  overflow:hidden;
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}

.wave-wrap{
  line-height:0;
  margin-bottom:-2px;
}

.wave-wrap svg,
.wave-wrap img{
  display:block;
}
	
.intro-box,
.intro-contact,
#contactBtn{
  transition:none !important;
}

.intro-box:hover,
.intro-box:active,
.intro-contact:hover,
.intro-contact:active,
#contactBtn:hover,
#contactBtn:active{
  transform:none !important;
  box-shadow:none !important;
  filter:none !important;
  background:inherit !important;
}
}