
/* ================= PAGE HERO ================= */

.page-hero{
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.page-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.04);
}

.page-hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(16,16,16,0.78) 0%, rgba(16,16,16,0.50) 42%, rgba(16,16,16,0.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.28) 100%);
}

.page-hero-inner{
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 120px 40px 90px; 
  max-width: 760px;
}

/* ================= HERO BILDER ================= */
/* Diese Pfade passen, wenn leistungen.css im Hauptordner liegt
   und der Ordner img ebenfalls im Hauptordner liegt */

.page-hero-ankauf .page-hero-bg{
  background-image: url("img/hero1.jpg");
}

.page-hero-neubau .page-hero-bg{
  background-image: url("img/hero2.jpg");
}

.page-hero-sanierung .page-hero-bg{
  background-image: url("img/hero3.jpg");
}

.page-kicker{
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

.page-hero h1{
  margin: 0;
  max-width: 920px;
  font-size: clamp(40px, 5vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff;
}

.page-lead{
  margin: 20px 0 0;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
}

.page-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.page-actions .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.page-actions .btn-gold{
  background: linear-gradient(135deg, #b9923f 0%, #e2c572 100%);
  color: #1b1b1b;
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}

.page-actions .btn-gold:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.page-actions .btn-glass{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(10px);
}

.page-actions .btn-glass:hover{
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
}

.page-hero-points{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-hero-points span{
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 500;
}

/* ================= MOBILE ================= */

@media (max-width: 920px){

  .page-hero{
    min-height: auto;
  }

  .page-hero-bg{
    transform: scale(1.02);
    background-position: center center;
  }

  .page-hero-inner{
    padding-top: 110px;
    padding-bottom: 70px;
  }

  .page-hero h1{
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.02;
  }

  .page-lead{
    font-size: 17px;
    line-height: 1.55;
    max-width: 100%;
  }

  .page-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .page-actions .btn{
    width: 100%;
  }

  .page-hero-points{
    gap: 10px;
  }

  .page-hero-points span{
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* Buttons (falls du schon welche hast, kannst du das hier entfernen) */
.btn{
  display:inline-block;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color:#fff;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover{ transform: translateY(-2px); border-color: rgba(202,167,46,0.55); }
.btn-gold{
  background: rgba(202,167,46,0.14);
  border-color: rgba(202,167,46,0.35);
  color: #ffe37a;
}
.btn-gold:hover{
  background: rgba(202,167,46,0.18);
  border-color: rgba(202,167,46,0.60);
}

/* Intro Cards */
.page-intro{
  padding: 70px 0;
  background: #0d0d0d;
  color:#fff;
}
.intro-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.intro-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.30);
}
.intro-card h3{ margin: 0 0 8px; font-size: 18px; font-weight: 900; }
.intro-card p{ margin: 0; color: rgba(255,255,255,0.78); line-height: 1.6; }

/* Ablauf */
.page-process{
  padding: 90px 0;
  background: #070707;
  color:#fff;
}

.process-wrap{
  margin-top: 18px;
  display:grid;
  gap: 12px;
}

.process-step{
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 20px 20px 20px 64px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.28);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.process-step:hover{
  transform: translateY(-2px);
  border-color: rgba(202,167,46,0.55);
}

.process-nr{
  position:absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(202,167,46,0.16);
  border: 1px solid rgba(202,167,46,0.35);
  color: #ffe37a;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
}

.process-step h3{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}
.process-step p{
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

/* Info-Leiste am Ende */
.page-note{
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.76);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 980px){
  .intro-grid{ grid-template-columns: 1fr; }
  .page-hero h1{ font-size: 34px; }
  .page-lead{ font-size: 16px; }
}