/* Startsida — premium hero (scoped to #home-hero-premium only)
   Uses <img> media layer (same approach as product heroes) so base .hero
   background/attachment rules cannot zoom or replace the photo on mobile. */

body.landing-page #home-hero-premium.hero--home-premium {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: min(88vh, 920px);
  max-height: none;
  overflow: hidden;
  color: #fff;
  text-align: center;
  /* Kill inherited .hero background (start.JPG + fixed attachment) */
  background: none !important;
  background-image: none !important;
  background-attachment: scroll !important;
}

/* Neutralize generic .hero::before so only the premium overlay applies */
body.landing-page #home-hero-premium.hero--home-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 8, 0.35) 0%,
      rgba(5, 5, 8, 0.55) 42%,
      rgba(5, 5, 8, 0.72) 100%
    );
  z-index: 1;
  pointer-events: none;
}

body.landing-page #home-hero-premium .home-hero-premium__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Orange mailboxes sit on the right */
  object-position: 85% center;
  z-index: 0;
  display: block;
  border: 0;
  pointer-events: none;
}

body.landing-page #home-hero-premium .home-hero-premium__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(1180px, 94vw);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5.5rem) clamp(1.25rem, 3vw, 2.5rem);
  box-sizing: border-box;
  text-align: center;
}

body.landing-page #home-hero-premium .home-hero-premium__kicker {
  color: #d4b07a;
  letter-spacing: 0.26em;
  font-size: 0.76rem;
  margin: 0 auto 1rem;
  text-align: center;
}

body.landing-page #home-hero-premium .home-hero-premium__kicker::before {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0 auto 0.85rem;
  background: linear-gradient(
    90deg,
    rgba(212, 176, 122, 0.12) 0%,
    #d4b07a 50%,
    rgba(212, 176, 122, 0.12) 100%
  );
}

body.landing-page #home-hero-premium .home-hero-premium__title {
  max-width: none;
  margin: 0 auto 1.25rem;
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.015em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

body.landing-page #home-hero-premium .home-hero-premium__lead {
  max-width: min(52rem, 100%);
  margin: 0 auto 1.75rem;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

body.landing-page #home-hero-premium .home-hero-premium__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

body.landing-page #home-hero-premium .home-hero-premium__actions .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.landing-page #home-hero-premium .home-hero-premium__actions .btn--primary:hover {
  background: #a67d42;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

body.landing-page #home-hero-premium .home-hero-premium__actions .btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.65rem 1.35rem;
}

body.landing-page #home-hero-premium .home-hero-premium__actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

body.landing-page #home-hero-premium .home-hero-premium__trust {
  margin: 0 auto;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212, 176, 122, 0.85);
}

@media (max-width: 900px) {
  body.landing-page #home-hero-premium.hero--home-premium {
    /* 16:9 floor — grow with copy so the title is never clipped */
    aspect-ratio: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: calc(100vw * 9 / 16) !important;
    max-height: none !important;
    overflow: hidden !important;
    align-items: flex-end;
    justify-content: center;
  }

  body.landing-page #home-hero-premium .home-hero-premium__media {
    object-fit: cover !important;
    object-position: 85% center !important;
  }

  body.landing-page #home-hero-premium .home-hero-premium__inner {
    padding: 0.85rem 1rem 1.1rem !important;
    max-width: 100%;
  }

  body.landing-page #home-hero-premium .home-hero-premium__kicker {
    margin-bottom: 0.45rem !important;
    font-size: 0.8125rem !important;
  }

  body.landing-page #home-hero-premium .home-hero-premium__kicker::before {
    margin-bottom: 0.45rem !important;
  }

  body.landing-page #home-hero-premium .home-hero-premium__title {
    max-width: none;
    font-size: clamp(1.75rem, 8vw, 2.05rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 0.4rem !important;
  }

  body.landing-page #home-hero-premium .home-hero-premium__lead {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    font-size: 0.9375rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.55rem !important;
  }

  body.landing-page #home-hero-premium .home-hero-premium__actions {
    margin-bottom: 0.35rem !important;
    gap: 0.45rem !important;
  }

  body.landing-page #home-hero-premium .home-hero-premium__actions .btn {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.8rem !important;
  }

  body.landing-page #home-hero-premium .home-hero-premium__trust {
    font-size: 0.75rem !important;
    letter-spacing: 0.14em !important;
  }
}

@media (max-width: 600px) {
  body.landing-page #home-hero-premium .home-hero-premium__lead {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
}

/* Homepage loads this file last — keep "Mer info" on #produkter in sync (mobile only). */
@media (max-width: 900px) {
  html body.landing-page #produkter .card :is(a.btn, a.btn--ghost, span.btn, span.btn--ghost):not(.btn--primary) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    padding: 0.65rem 0.55rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #1a1d22 !important;
    background: #fff !important;
    border: 1.5px solid var(--accent, #b88b50) !important;
    border-radius: var(--radius-button, 4px) !important;
  }
}
