/* Groven Fitness — cinematic hero, November 2026.
   Isolated hero-only overrides, placed after earlier design sheets. */
#hjem.premium-hero{
  position:relative!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  min-height:clamp(550px,46vw,685px)!important;
  overflow:hidden!important;
  isolation:isolate;
  background:#091321!important;
  grid-template-columns:unset!important;
  color:#fff;
}
#hjem.premium-hero .hero-photo{
  position:absolute!important;
  inset:0!important;
  z-index:-2!important;
  min-height:0!important;
  height:100%!important;
  width:100%!important;
  background-image:url('bilder/groven-bygget-hel.jpg')!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center bottom!important;
  filter:brightness(.92) saturate(.94) contrast(1.01);
  transform:none!important;
}
#hjem.premium-hero::after{
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg, rgba(7,16,29,.90) 0%, rgba(8,17,30,.80) 22%, rgba(8,17,30,.57) 41%, rgba(8,17,30,.20) 66%, rgba(7,16,29,.04) 100%),
    linear-gradient(0deg, rgba(8,16,29,.52) 0%, transparent 33%, rgba(8,16,29,.08) 85%);
}
#hjem.premium-hero .hero-copy{
  position:relative!important;
  z-index:1!important;
  box-sizing:border-box;
  width:min(100%,1430px)!important;
  max-width:1430px!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:clamp(62px,6vw,92px) clamp(26px,6.3vw,96px) clamp(62px,6vw,92px)!important;
}
#hjem.premium-hero .eyebrow{
  display:inline-flex!important;align-items:center;gap:12px;
  color:#bacaff!important;letter-spacing:.18em!important;
  font-size:11px!important;font-weight:730!important;
}
#hjem.premium-hero .eyebrow::before{content:'';width:27px;height:2px;background:#6d91ff;border-radius:2px}
#hjem.premium-hero h1{
  width:max-content;
  max-width:100%;
  font-size:clamp(58px,6.0vw,98px)!important;
  line-height:1.02!important;
  letter-spacing:-.069em!important;
  font-weight:760!important;
  color:#fff!important;
  margin:27px 0 26px!important;
  text-shadow:0 2px 22px rgba(4,12,25,.10);
}
#hjem.premium-hero h1 em{font-style:normal!important;color:#b4c4ff!important}
#hjem.premium-hero .hero-description{
  max-width:520px!important;
  font-size:clamp(16px,1.32vw,19px)!important;
  line-height:1.69!important;
  color:#e3e8f2!important;
  font-weight:410;
  margin:0!important;
  text-wrap:pretty;
}
#hjem.premium-hero .hero-locations{
  margin-top:25px;
  color:#d2dcef;
  font-size:11px;
  font-weight:770;
  letter-spacing:.19em;
}
#hjem.premium-hero .hero-actions{margin-top:35px!important;display:flex;gap:14px!important;align-items:center;flex-wrap:wrap}
#hjem.premium-hero .hero-actions .btn{
  min-height:53px;
  padding:15px 26px!important;
  border-radius:7px!important;
  font-size:14px;
  font-weight:730!important;
  transition:background-color .2s,border-color .2s,transform .2s!important;
}
#hjem.premium-hero .hero-actions .btn.primary{background:#254fe8!important;box-shadow:0 8px 22px rgba(7,16,40,.22)!important}
#hjem.premium-hero .hero-actions .btn.primary:hover{background:#3c67fa!important;transform:translateY(-2px)!important}
#hjem.premium-hero .hero-actions .btn.outline{
  background:rgba(9,19,34,.28)!important;
  border:1px solid rgba(233,241,255,.55)!important;
  color:#f4f6ff!important;
  backdrop-filter:blur(7px);
}
#hjem.premium-hero .hero-actions .btn.outline:hover{background:rgba(242,247,255,.15)!important;transform:translateY(-2px)!important}
@media(min-width:761px) and (max-width:980px){
  #hjem.premium-hero{min-height:670px!important}
  #hjem.premium-hero::after{background:linear-gradient(90deg,rgba(8,17,31,.97) 0%,rgba(8,17,31,.90) 25%,rgba(8,17,31,.48) 68%,rgba(8,17,31,.12) 100%)}
  #hjem.premium-hero h1{font-size:clamp(55px,7.1vw,77px)!important}
}
@media(max-width:760px){
  #hjem.premium-hero{
    display:flex!important;
    flex-direction:column-reverse!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    min-height:0!important;
    background:#091321!important;
  }
  #hjem.premium-hero .hero-photo{
    position:relative!important;
    inset:auto!important;
    z-index:0!important;
    display:block!important;
    width:100%!important;
    height:clamp(205px,55vw,390px)!important;
    min-height:0!important;
    flex-shrink:0!important;
    background-size:cover!important;
    background-color:#091321!important;
    background-position:center center!important;
    filter:brightness(.98) saturate(.96)!important;
    transform:none!important;
  }
  #hjem.premium-hero::after{display:none!important}
  #hjem.premium-hero .hero-copy{
    background:#091321!important;
    padding:43px 25px 62px!important;
    width:100%!important;
  }
  #hjem.premium-hero h1{
    font-size:clamp(49px,10.6vw,70px)!important;
    letter-spacing:-.065em!important;
    margin:20px 0 22px!important;
  }
  #hjem.premium-hero .hero-description{font-size:16px!important;max-width:430px!important;line-height:1.58!important}
  #hjem.premium-hero .hero-locations{font-size:10px;letter-spacing:.14em;margin-top:20px}
  #hjem.premium-hero .hero-actions{margin-top:25px!important;gap:10px!important}
  #hjem.premium-hero .hero-actions .btn{min-height:48px;padding:13px 19px!important;font-size:13px}
}
@media(max-width:400px){
  #hjem.premium-hero{min-height:0!important}
  #hjem.premium-hero .hero-copy{padding:35px 21px 65px!important}
  #hjem.premium-hero h1{font-size:clamp(43px,10.5vw,51px)!important}
  #hjem.premium-hero .hero-actions{flex-direction:column;align-items:stretch!important}
  #hjem.premium-hero .hero-actions .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){
  #hjem.premium-hero .hero-actions .btn{transition:none!important}
}
