@charset "UTF-8";

.hero{
  position:relative;
  overflow:hidden;
  background:var(--brand2);
  height:520px;
}

/*.hero__bgImg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:70% 10%;
  z-index:0;
  filter:brightness(.78) contrast(1.05);
}*/

.hero__bgImg{
  position:absolute;
  inset:-0.5%;
  width:101%;
  height:101%;
  object-fit:cover;
  object-position:70% 0%;
  z-index:0;
  filter:brightness(.78) contrast(1.05);
  transform:rotate(-0.2deg);
}

/* Mørkere felt bak teksten – tones gradvis ut mot høyre */
.hero__overlay{
  display:none;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(
    90deg,
    rgba(0, 20, 45, .55) 0%,
    rgba(0, 20, 45, .35) 38%,
    rgba(0, 20, 45, 0) 70%
  );
}


.hero__inner{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  align-items:flex-end;
  padding:0 0 34px;
}

.hero__card{
  max-width:760px;
  padding:0;
  border:none;
  background:none;
  margin-top:90px !important;
}

.hero h1,
.hero p{
  color:#fff;
}

.hero__card h1{
  margin:0 0 12px;
  font-size:clamp(30px, 3.2vw, 54px);
  line-height:1.05;
  font-weight:650;
  letter-spacing:0;
}

.hero__lead{
  margin:0 0 18px;
  max-width:70ch;
  color:rgba(255,255,255,.92);
  font-size:15px;
  line-height:1.6;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.hero__actions .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border:1px solid transparent;
  border-radius:8px;
  font-size:15px;
  font-weight:600;
  line-height:1;
  transition:background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.hero__actions .btn:hover{
  transform:translateY(-1px);
}

.btnPrimary{
  background:var(--navy);
  color:#fff;
  border-color:var(--navy);
  box-shadow:none;
}

.btnPrimary:hover{
  background:#001f46;
  box-shadow:none;
}

.btnGhost{
  background:rgba(255,255,255,.08);
  color:#fff;
  border-color:rgba(255,255,255,.34);
}

.btnGhost:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.46);
}

.hero__fine{
  margin:14px 0 0;
  color:rgba(255,255,255,.78);
  font-size:13px;
}

@media (max-width:980px){
  .hero{
    height:500px;
  }

  .hero__inner{
    padding:0 0 40px;
  }
}

@media (max-width:640px){
  .hero{
    height:440px;
  }

  .hero__card{
    max-width:none;
  }

  .hero__card h1{
    font-size:clamp(30px, 7vw, 40px);
  }

  .hero__lead{
    max-width:none;
    font-size:16px;
  }

  .hero__actions{
    flex-direction:column;
  }

  .hero__actions .btn{
    width:100%;
  }
}