.gas-page{
  background:var(--surface-services);
}

/* HERO */
.gas-hero{
  position:relative;
  min-height:600px;
  overflow:hidden;
}

/* NEU: Background mit Fade-In */
.gas-hero-bg{
  position:absolute;
  inset:0;
  background:url("../images/gashero.jpg") center/cover no-repeat;
  z-index:0;

  opacity:0;
  transform:scale(1.05);
  animation:gasHeroFade 1.8s ease forwards;
}

.gas-hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.52) 45%, rgba(0,0,0,.25) 100%);
  z-index:1;
}

.gas-hero-inner{
  position:relative;
  z-index:2;
  min-height:600px;
  padding-top:126px;
}

.gas-hero-content{
  min-height:270px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  position:relative;
}

.gas-hero-title{
  margin:0 0 22px;
  font-family:"InterCuostom", sans-serif;
  font-size:47px;
  line-height:1.03;
  color:#d0cac0;
  text-shadow:0 6px 16px rgba(0,0,0,.22);

  opacity:0;
  transform:translateY(45px);
  transition:
    opacity .85s ease,
    transform .85s cubic-bezier(0.22, 1, 0.36, 1);
}

.gas-hero-title.in-view{
  opacity:1;
  transform:translateY(0);
}

.gas-hero-buttons{
  position:absolute;
  right:78px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:18px;
  align-items:flex-end;
}

.gas-hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  padding:13px 22px;
  border-radius:4px;
  font-family:"Inter", sans-serif;
  font-size:16px;
  line-height:1.2;
  letter-spacing:0.2px;
  font-weight:400;
  color:#d0cac0;
  box-shadow:0 10px 22px rgba(0,0,0,.20);
  white-space:nowrap;

  opacity:0;
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(0.22, 1, 0.36, 1),
    background .18s ease,
    filter .18s ease;
}

.gas-hero-btn svg{
  width:18px;
  height:18px;
  flex:0 0 24px;
  stroke:currentColor;
  stroke-width:2.2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.gas-hero-btn-green{
  background:#46805c;
  transform:translateX(72px);
}

.gas-hero-btn-red{
  background:#8a1513;
  transform:translateX(98px);
}

.gas-hero-btn.in-view{
  opacity:1;
}

.gas-hero-btn-green.in-view,
.gas-hero-btn-red.in-view{
  transform:translateX(0);
}

.gas-hero-btn:hover{
  filter:brightness(1.06);
}

/* Animation */
@keyframes gasHeroFade{
  0%{
    opacity:0;
    transform:scale(1.05);
  }
  100%{
    opacity:1;
    transform:scale(1);
  }
}

/* CONTENT */
.gas-systems-section{
  padding:70px 0 24px;
  background:var(--surface-services);
}

.gas-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 330px;
  gap:36px;
  align-items:start;
}

.gas-main{
  min-width:0;
}

.gas-section-title{
  margin:0 0 34px;
  text-align:center;
  font-family:"InterCuostom", sans-serif;
  font-size:34px;
  line-height:1.12;
  color:var(--text-muted-2);

  opacity:0;
  transform:translateY(34px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gas-section-title.in-view{
  opacity:1;
  transform:translateY(0);
}

.gas-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:26px;
}

.gas-card{
  background:var(--surface-services);
  border:1px solid rgba(231,220,202,.42);
  border-radius:6px;
  padding:20px 18px 18px;
  box-shadow:0 14px 28px rgba(0,0,0,.14);
  text-align:center;

  opacity:0;
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .18s ease,
    border-color .18s ease;
}

.gas-card:nth-child(odd){
  transform:translateX(-60px);
}

.gas-card:nth-child(even){
  transform:translateX(60px);
}

.gas-card.in-view{
  opacity:1;
  transform:translateX(0);
}

.gas-card h3{
  margin:0 0 14px;
  font-family:"InterCuostom700", sans-serif;
  font-size:24px;
  line-height:1.15;
  color:var(--text-muted-2);
}

.gas-card img{
  width:80%;
  height:190px;
  object-fit:cover;
  border-radius:2px;
  margin:0 auto 20px;
  display:block;
}

.gas-card-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:210px;
  padding:12px 18px;
  background:#ec1414;
  color:#fff;
  border-radius:4px;
  font-family:"InterCuostom600", sans-serif;
  font-size:15px;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  transition:
    transform .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.gas-card-btn:hover{
  background:#ff1d1d;
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(0,0,0,.22);
}

.gas-card:hover{
  box-shadow:0 18px 32px rgba(0,0,0,.18);
  border-color:rgba(255,255,255,.55);
}

/* SIDEBAR */
.gas-sidebar{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.gas-form-box{
  background:var(--surface-services);
  border:1px solid rgba(231,220,202,.42);
  border-radius:6px;
  padding:24px 20px 34px;
  box-shadow:0 18px 32px rgba(0,0,0,.18);
  min-height:420px;

  opacity:0;
  transform:translateX(40px);
  transition:
    opacity .85s ease,
    transform .85s cubic-bezier(0.22, 1, 0.36, 1);
}

.gas-form-box.in-view{
  opacity:1;
  transform:translateX(0);
}

.gas-form-box h3{
  margin:0 0 18px;
  font-family:"InterCuostom700", sans-serif;
  font-size:22px;
  color:var(--blue-footer);
}

.gas-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.gas-form input{
  width:100%;
  height:48px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.08);
  border-radius:4px;
  padding:0 14px;
  color:var(--text-muted-2);
  font-size:15px;
  outline:none;
}

.gas-form input::placeholder{
  color:var(--text-muted-2);
  opacity:.9;
}

.gas-form p{
  margin:2px 0 8px;
  font-family:"InterCuostom600", sans-serif;
  font-size:14px;
  line-height:1.45;
  color:var(--text-muted-2);
}

.gas-form button{
  margin-top:2px;
  height:52px;
  border:none;
  border-radius:4px;
  background:#5bbb64;
  color:#fff;
  font-family:"InterCuostom700", sans-serif;
  font-size:16px;
  cursor:pointer;
  transition:
    filter .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

.gas-form button:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.gas-sidecards{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.gas-sidecards img{
  width:100%;
  display:block;
  border-radius:8px;
  box-shadow:0 10px 20px rgba(0,0,0,.12);

  opacity:0;
  transform:translateX(34px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .18s ease;
}

.gas-sidecards img.in-view{
  opacity:1;
  transform:translateX(0);
}

.gas-sidecards img:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(0,0,0,.16);
}
/* ZWISCHENBEREICH MIT BILD + TEXT + BUTTONS */
.gas-middle-cta{
  display:flex;
  justify-content:center;
  padding:40px 0 80px;
  background:var(--surface-services);
}

.gas-middle-cta-box{
  position:relative;
  width:100%;
  max-width:900px;
  margin:0 auto;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 18px 34px rgba(0,0,0,.18);

  opacity:0;
  transform:translateY(40px);
  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(0.22, 1, 0.36, 1);
}

.gas-middle-cta-box.in-view{
  opacity:1;
  transform:translateY(0);
}

.gas-middle-cta-box img{
  width:100%;
  display:block;
  border-radius:12px;
}

.gas-middle-cta-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px 20px;
}

.gas-cta-icon{
  margin-bottom:16px;
}

.gas-cta-icon svg{
  width:58px;
  height:58px;
  color:var(--text-muted-2);
}

.gas-middle-cta-overlay h2{
  margin:0 0 10px;
  font-family:"InterCuostom600", sans-serif;
  font-size:44px;
  line-height:1.05;
  font-weight:600;
  color:var(--text-muted-2);
}

.gas-middle-cta-overlay p{
  margin:0 0 28px;
  font-family:"InterCuostom600", sans-serif;
  font-size:20px;
  letter-spacing:5px;
  color:var(--text-muted-2);
}

.gas-cta-buttons{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
}

.cta-btn{
  background:#2b2b2b;
							
  padding:12px 22px;
  border-radius:6px;
  text-decoration:none;
  font-size:14px;
  font-family:"InterCuostom600", sans-serif;
  color:var(--blue-footer);
  display:inline-block;
  min-width:200px;
  text-align:center;
  transition:0.2s;
}

.gas-cta-buttons a:hover{
  background:#3a3a3a;
  transform:translateY(-1px);
}							  



/* STAGGER */
.gas-card:nth-child(1){ transition-delay:.04s; }
.gas-card:nth-child(2){ transition-delay:.10s; }
.gas-card:nth-child(3){ transition-delay:.16s; }
.gas-card:nth-child(4){ transition-delay:.22s; }
.gas-card:nth-child(5){ transition-delay:.28s; }

.gas-sidecards img:nth-child(1){ transition-delay:.08s; }
.gas-sidecards img:nth-child(2){ transition-delay:.18s; }
.gas-sidecards img:nth-child(3){ transition-delay:.28s; }

/* LAPTOP */
@media (max-width: 1366px){
  .gas-hero{
    min-height:500px;
  }

  .gas-hero-inner{
    min-height:500px;
    padding-top:118px;
  }

  .gas-hero-content{
    min-height:340px;
  }

  .gas-hero-title{
    font-size:50px;
    transform:translateY(42px);
  }

  .gas-hero-buttons{
    right:42px;
    gap:14px;
    align-items:flex-end;
  }

  .gas-hero-btn{
    padding:12px 18px;
    font-size:15px;
    line-height:1.2;
  }

  .gas-hero-btn svg{
    width:17px;
    height:17px;
    flex:0 0 20px;
  }

  .gas-hero-btn-green{
    transform:translateX(52px);
  }

  .gas-hero-btn-red{
    transform:translateX(72px);
  }

  .gas-systems-section{
    padding:50px 0 20px;
  }

  .gas-layout{
    grid-template-columns:minmax(0, 1fr) 250px;
    gap:14px;
    align-items:start;
  }

  .gas-section-title{
    font-size:29px;
    margin-bottom:20px;
  }

  .gas-grid{
    display:grid;
    grid-template-columns:repeat(2, 300px);
    justify-content:center;
    gap:12px;
  }
  
  .gas-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:10px 8px 10px;
    max-width:300px;
  }

  .gas-card:nth-child(odd),
  .gas-card:nth-child(even){
    transform:translateX(0);
  }

  .gas-card h3{
    font-size:16px;
    margin-bottom:8px;
    line-height:1.1;
  }
  
  .gas-card img{
    width:78%;
    height:auto;
    max-height:140px;
    object-fit:contain;
    margin:0 auto 10px;
    display:block;
  }

  .gas-card-btn{
    min-width:auto;
    font-size:12px;
    padding:8px 11px;
  }

  .gas-form-box{
    min-height:430px;
    padding:18px 14px 24px;
    transform:translateX(24px);
  }

  .gas-form-box h3{
    font-size:18px;
    margin-bottom:14px;
  }

  .gas-form{
    gap:10px;
  }

  .gas-form input{
    height:42px;
    font-size:13px;
  }

  .gas-form p{
    font-size:12px;
    line-height:1.35;
  }

  .gas-form button{
    height:42px;
    font-size:13px;
  }

  .gas-sidecards{
    gap:8px;
  }

  .gas-sidecards img{
    transform:translateX(20px);
  }

  .gas-middle-cta{
    padding:22px 0 72px;
  }
}

/* MOBILE */
@media (max-width: 980px){

  /* HERO */
  .gas-hero{
    min-height:380px;
    background-position:center center;
  }

  .gas-hero-inner{
    min-height:380px;
    padding-top:112px;
  }

  .gas-hero-content{
    min-height:230px;
    align-items:center;
    justify-content:center;
  }

  .gas-hero-title{
    font-size:34px;
    line-height:1.08;
    margin:0 0 14px;
    text-align:center;
    width:100%;
  }

  .gas-hero-buttons{
    position:static;
    transform:none;
    gap:10px;
    width:95%;
    align-items:center;
  }

  .gas-hero-btn{
    width:60%;
    max-width:260px;
    justify-content:center;
    text-align:center;
    font-size:14px;
    padding:11px 14px;
  }

  /* MAIN LAYOUT */
  .gas-layout{
    grid-template-columns:1fr;
    gap:24px;
  }

  .gas-section-title{
    font-size:28px;
    line-height:1.12;
    margin-bottom:18px;
    text-align:center;
  }

  /* CARDS */
  .gas-grid{
    grid-template-columns:1fr 1fr;
    gap:12px;
    justify-content:stretch;
  }

  .gas-card{
    min-height:auto;
    padding:14px 12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  .gas-card h3{
    font-size:16px;
    line-height:1.15;
    margin:0 0 10px;
  }

  .gas-card img{
    width:78%;
    height:auto;
    max-height:120px;
    object-fit:contain;
    margin:0 auto 10px;
    display:block;
  }

  .gas-card-btn{
    min-width:0;
    width:100%;
    font-size:12px;
    padding:8px 10px;
  }

  /* FORM / SIDEBAR */
  .gas-form-box{
    min-height:auto;
    padding:20px 16px 22px;
  }

  .gas-form-box h3{
    font-size:18px;
    margin-bottom:14px;
  }

  .gas-form{
    gap:10px;
  }

  .gas-form input{
    height:42px;
    font-size:13px;
  }

  .gas-form p{
    font-size:12px;
    line-height:1.4;
  }

  .gas-form button{
    height:42px;
    font-size:13px;
  }

  .gas-sidecards{
    gap:8px;
  }

  .gas-sidecards img{
    transform:none !important;
  }

  /* MIDDLE CTA SUPER COMPACT */
  .gas-middle-cta{
    padding:10px 0 24px;
  }

  .gas-middle-cta-box{
    max-width:none;
    border-radius:10px;
  }

  .gas-middle-cta-box img{
    min-height:150px;
    max-height:180px;
    object-fit:cover;
  }

  .gas-middle-cta-overlay{
    padding:12px 10px;
  }

  .gas-cta-icon{
    display:none;
  }

  .gas-middle-cta-overlay h2{
    font-size:20px;
    line-height:1.08;
    margin:0 0 6px;
    max-width:190px;
    margin-left:auto;
    margin-right:auto;
  }

  .gas-middle-cta-overlay p{
    font-size:14px;
    line-height:1.2;
    letter-spacing:1px;
    margin:0 0 8px;
    max-width:170px;
    margin-left:auto;
    margin-right:auto;
  }

  .gas-cta-buttons{
    display:none;
  }

  /* BLUE CTA */
  .gas-blue-cta{
    padding:10px 0 20px;
  }

  .gas-blue-cta-inner{
    max-width:none;
    min-height:0;
    padding:10px 8px;
    border-radius:10px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    text-align:center;
  }

  .gas-blue-icon{
    display:none;
  }

  .gas-blue-cta-inner h2{
    font-size:16px;
    line-height:1.08;
    margin:0;
  }

  .gas-blue-cta-inner p{
    font-size:10px;
    line-height:1.2;
    letter-spacing:0.4px;
    margin:0;
    max-width:180px;
  }

  .gas-blue-btn{
    width:100%;
    max-width:150px;
    min-width:0;
    font-size:10px;
    padding:6px 8px;
    border-radius:4px;
  }

  /* ANIMATION OFF */
  .gas-hero-title,
  .gas-hero-btn,
  .gas-section-title,
  .gas-card,
  .gas-form-box,
  .gas-sidecards img,
  .gas-middle-cta-box,
  .gas-middle-cta-overlay,
  .gas-blue-cta-inner{
    opacity:1;
    transform:none;
    transition:none;
  }

  .gas-card:hover,
  .gas-sidecards img:hover{
    transform:none;
  }

  /* WAVE FIX */
  .wave-wrap{
    line-height:0;
    margin-bottom:-2px;
    overflow:hidden;
  }

  .wave-wrap svg,
  .wave-wrap img{
    display:block;
  }
  
  .hero-center,
  .heating-hero-content,
  .sanitaer-hero-content,
  .gas-hero-content{
    gap:29px;
  }
}