/* HaarLab Stage 15D - Services + Methode Cleanup Fix
   Bu dosya Stage 15B / 15C üzerine override olarak eklenir.
   Amaç:
   - Hizmet kartlarını daha geniş ve okunaklı yapmak
   - Methode kartlarındaki yazı/görsel çakışmasını bitirmek
*/

/* =========================
   SERVICES SECTION FIX
   ========================= */
#behandlungen .section-head,
#behandlungen .section-header{
  margin-bottom: 22px !important;
}

#behandlungen .services-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0,1fr)) !important;
  gap:24px !important;
  align-items:stretch !important;
  overflow:visible !important;
}

#behandlungen .service-card{
  display:flex !important;
  flex-direction:column !important;
  min-height:100% !important;
  border-radius:18px !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid rgba(7,18,33,.08) !important;
  box-shadow:0 16px 40px rgba(7,18,33,.08) !important;
}

#behandlungen .service-image{
  height:210px !important;
  min-height:210px !important;
  position:relative !important;
  background:
    radial-gradient(circle at 82% 22%, rgba(214,179,106,.45), transparent 0 20%, transparent 21%),
    linear-gradient(135deg,#efe6d5,#d9cab0) !important;
}

#behandlungen .service-image img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}

#behandlungen .service-body{
  display:flex !important;
  flex-direction:column !important;
  padding:18px 18px 20px !important;
  flex:1 1 auto !important;
}

#behandlungen .service-body .icon{
  width:36px !important;
  height:36px !important;
  margin:-36px 0 14px !important;
  position:relative !important;
  z-index:2 !important;
  border-radius:999px !important;
  background:#fff7e6 !important;
  border:1px solid #e8cf9a !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-shadow:0 8px 18px rgba(0,0,0,.08) !important;
}

#behandlungen .service-body h3{
  font-size:22px !important;
  line-height:1.2 !important;
  margin:0 0 10px !important;
  color:#071221 !important;
  letter-spacing:-.02em !important;
}

#behandlungen .service-body p{
  font-size:14px !important;
  line-height:1.7 !important;
  color:#576273 !important;
  margin:0 0 14px !important;
  display:-webkit-box !important;
  -webkit-line-clamp:4 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  min-height:95px !important;
}

#behandlungen .service-body a{
  margin-top:auto !important;
  align-self:flex-start !important;
  font-size:14px !important;
  font-weight:800 !important;
  color:#b8862b !important;
  text-decoration:none !important;
  border-bottom:1px solid rgba(184,134,43,.45) !important;
  padding-bottom:2px !important;
}

/* 7. kart varsa ortalı dursun */
#behandlungen .services-grid > .service-card:last-child:nth-child(7){
  grid-column:2 / 3 !important;
}

/* Service görseli yoksa placeholder daha temiz görünsün */
#behandlungen .service-image:not(.real-image)::before{
  content:"";
  position:absolute;
  left:28px;
  top:28px;
  width:86px;
  height:86px;
  border-radius:999px;
  background:rgba(7,18,33,.78);
}
#behandlungen .service-image:not(.real-image)::after{
  content:"";
  position:absolute;
  right:24px;
  bottom:24px;
  width:44px;
  height:44px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(214,179,106,.55);
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

@media(max-width:1180px){
  #behandlungen .services-grid{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }
  #behandlungen .services-grid > .service-card:last-child:nth-child(7){
    grid-column:auto !important;
  }
}
@media(max-width:700px){
  #behandlungen .services-grid{
    grid-template-columns:1fr !important;
  }
  #behandlungen .service-image{
    height:200px !important;
    min-height:200px !important;
  }
  #behandlungen .service-body h3{
    font-size:20px !important;
  }
  #behandlungen .service-body p{
    min-height:auto !important;
  }
}

/* =========================
   METHOD SECTION FIX
   ========================= */
.hl-method-visual{
  padding:72px 0 78px !important;
}

.hl-method-head{
  max-width:860px !important;
  margin-bottom:28px !important;
}

.hl-method-head h2{
  margin-bottom:14px !important;
}

.hl-method-head p{
  max-width:880px !important;
}

.hl-method-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0,1fr)) !important;
  gap:22px !important;
  align-items:stretch !important;
}

.hl-method-card{
  display:flex !important;
  flex-direction:column !important;
  position:relative !important;
  min-height:390px !important;
  padding:22px !important;
  border-radius:22px !important;
  background:rgba(255,255,255,.05) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  overflow:hidden !important;
}

.hl-method-number{
  width:50px !important;
  height:50px !important;
  margin-bottom:16px !important;
}

.hl-method-card h3{
  font-size:18px !important;
  line-height:1.2 !important;
  margin:0 0 10px !important;
}

.hl-method-card p{
  font-size:15px !important;
  line-height:1.7 !important;
  color:rgba(255,255,255,.75) !important;
  margin:0 0 18px !important;
  min-height:100px !important;
}

.hl-method-image{
  position:relative !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  height:128px !important;
  margin-top:auto !important;
  border-radius:16px !important;
  overflow:hidden !important;
}

.hl-method-image img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
}

.hl-method-placeholder{
  width:100% !important;
  height:100% !important;
  background:
    radial-gradient(circle at 24% 38%, rgba(214,179,106,.40), transparent 0 18%, transparent 19%),
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.05)) !important;
}

@media(max-width:1180px){
  .hl-method-grid{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }
}
@media(max-width:700px){
  .hl-method-grid{
    grid-template-columns:1fr !important;
  }
  .hl-method-card{
    min-height:340px !important;
  }
  .hl-method-card p{
    min-height:auto !important;
  }
}
