/* Start custom CSS *//* =========================================================
   Trener1 Kroppsanalyse – HERO / Bilder / Premium look
   Lim inn i: Utseende → Tilpass → Ekstra CSS (eller Elementor Custom CSS)
   ========================================================= */

/* 1) HERO: stabil bakgrunn + lys premium overlay */
.t1-hero--img{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  isolation: isolate; /* sikrer at overlay ligger riktig */
}

/* Bakgrunnsbilde-div (fra HTML) */
.t1-hero--img .t1-hero__bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 70% center;  /* flytt motiv litt bort fra tekst */
  transform: scale(1.02);
  filter: saturate(.95) contrast(.98);
  z-index: 0;
}

/* Overlay – lysere enn før */
.t1-hero--img .t1-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,.92) 0%,
    rgba(255,255,255,.78) 45%,
    rgba(255,255,255,.40) 75%,
    rgba(255,255,255,.10) 100%
  );
  z-index: 1;
}

/* Innhold over overlay */
.t1-hero--img .t1-container{
  position: relative;
  z-index: 2;
}

/* 2) Valgfritt: "glass-panel" bak venstre tekst for ekstra ro */
.t1-hero--img .t1-hero__grid > div{
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
  max-width: 720px;
}

/* Litt bedre typografi i hero */
.t1-hero--img .t1-h1{
  letter-spacing: -0.02em;
}
.t1-hero--img .t1-lead{
  max-width: 56ch;
}

/* Maskinbilde: mindre + sentrert */
.t1-card__media{
  margin: 12px 0 10px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
}

.t1-img--machine{
  width: auto;
  max-width: 240px;   /* <-- juster: 140–220 */
  height: auto;
  max-height: 4000px;  /* <-- juster: 160–240 */
  object-fit: contain;
  display: block;
  padding: 0;
}

/* Lite premium løft */
.t1-card__media{
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* 4) Knappene – litt mer “sats/premium” */
.t1-btn{
  border-radius: 999px;
}
.t1-btn--primary{
  box-shadow: 0 12px 28px rgba(230,76,76,.22);
}
.t1-btn--ghost{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
}

/* 5) Mobil: juster bakgrunn og paddings */
@media (max-width: 767px){
  .t1-hero--img{
    border-radius: 18px;
  }
  .t1-hero--img .t1-hero__bg{
    background-position: center;
  }
  .t1-hero--img .t1-hero__grid > div{
    padding: 16px;
    border-radius: 16px;
  }
  .t1-img--machine{
    height: 200px;
  }
}

/* 6) Hvis du ønsker HELT uten “glasspanel” bak tekst:
   – fjern kommentaren under og aktiver denne.
   (Da står teksten direkte på overlayen.)
*/
/*
.t1-hero--img .t1-hero__grid > div{
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: none;
}
*/


/* ===============================
   Konsultasjonsbilde før booking
   =============================== */

.t1-consultation-block{
  margin: 60px 0 40px;
}

.t1-consultation-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}

.t1-consultation-image img{
  width: 100%;
  height: 320px;               /* juster 260–380 */
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0,0,0,.14);
}

.t1-consultation-text h3{
  margin-top: 0;
}

@media (max-width: 900px){
  .t1-consultation-inner{
    grid-template-columns: 1fr;
  }
  .t1-consultation-image img{
    height: 220px;
  }
}/* End custom CSS */