/* Startseite: Film, breite Bildstrecke und Registrierungsbereiche. */
.home-page {
  background: var(--mobi-surface);
}

.home-hero {
  isolation: isolate;
  background: #111317 url("../images/mobi24-video-intro-poster.webp") center / cover no-repeat;
}

.home-hero-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.home-hero::before {
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 10, 13, 0.82), rgba(8, 10, 13, 0.57) 48%, rgba(8, 10, 13, 0.2));
}

.home-hero .hero-copy {
  color: #e1e2e4;
}

.home-video-toggle {
  position: absolute;
  z-index: 3;
  top: 1.5rem;
  right: max(24px, calc((100% - var(--container)) / 2));
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.625rem;
  background: rgba(17, 19, 23, 0.65);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  align-items: center;
  gap: 0.625rem;
  backdrop-filter: blur(8px);
}

.home-video-toggle:hover {
  border-color: var(--mobi-gold);
  background: #17191d;
}

.home-video-toggle[hidden] {
  display: none;
}

.home-video-icon {
  display: block;
  width: 0.625rem;
  height: 0.75rem;
  border-right: 3px solid currentColor;
  border-left: 3px solid currentColor;
  flex: 0 0 auto;
}

.home-video-toggle.is-paused .home-video-icon {
  width: 0;
  height: 0;
  border-top: 0.375rem solid transparent;
  border-right: 0;
  border-bottom: 0.375rem solid transparent;
  border-left: 0.625rem solid currentColor;
}

.home-page .offers-section {
  padding-top: 0;
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 0;
}

.home-page .section-kicker {
  color: #896600;
}

.home-parallax {
  position: relative;
  width: 100%;
  height: clamp(200px, 22vw, 300px);
  max-height: 300px;
  overflow: hidden;
  background: #3b2418;
}

.home-parallax-image {
  position: absolute;
  top: -80px;
  left: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: calc(100% + 160px);
  object-fit: cover;
  object-position: center 56%;
  transform: translate3d(0, var(--parallax-shift, 0px), 0);
}

.home-page .intro-section {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.home-intro-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #17191d;
  box-shadow: 0 1.5rem 3.5rem rgba(23, 25, 29, 0.12);
}

.home-intro-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.25;
  object-fit: cover;
  object-position: center;
}

.home-intro-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3rem 1.75rem 1.75rem;
  background: linear-gradient(transparent, rgba(8, 10, 13, 0.93));
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
}

.home-intro-visual figcaption span {
  display: block;
  margin-bottom: 0.5rem;
  color: #f0bc22;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-join-section {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 clamp(4.5rem, 8vw, 7rem);
}

.home-join-intro {
  margin: 0;
  color: #5f6368;
  font-size: 1rem;
  line-height: 1.75;
}

.home-join-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.home-join-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dedfe1;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 0.875rem 2.5rem rgba(23, 25, 29, 0.05);
  flex-direction: column;
}

.home-join-photo {
  position: relative;
}

.home-join-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.2;
  object-fit: cover;
  object-position: center 46%;
}

.home-join-badge {
  position: absolute;
  bottom: 1.125rem;
  left: 1.5rem;
  max-width: calc(100% - 3rem);
  padding: 0.5rem 0.875rem;
  border-radius: 0.4375rem;
  background: #fff;
  color: #17191d;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.4;
}

.home-join-copy {
  display: flex;
  padding: clamp(1.5rem, 3.2vw, 3rem);
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.home-join-copy .section-kicker {
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  letter-spacing: 0.09em;
}

.home-join-copy h3 {
  margin: 0 0 1.25rem;
  color: var(--mobi-ink);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.home-join-copy > p:not(.section-kicker),
.home-join-benefits {
  margin: 0 0 1.5rem;
  color: #5f6368;
  font-size: 1rem;
  line-height: 1.75;
}

.home-join-benefits {
  padding: 0 0 0 1.125rem;
}

.home-join-benefits li + li {
  margin-top: 0.4rem;
}

.home-join-benefits li::marker {
  color: #a77d00;
}

.home-join-button {
  display: inline-flex;
  min-height: 3.25rem;
  margin-top: auto;
  padding: 0.875rem 1.375rem;
  border: 1px solid var(--mobi-ink);
  border-radius: 0.5625rem;
  background: var(--mobi-ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: background 160ms ease, transform 160ms ease;
}

.home-join-button:hover {
  background: #33373e;
  transform: translateY(-2px);
}

.home-join-copy > small {
  margin-top: 1rem;
  color: #6f7379;
  font-size: 0.875rem;
  line-height: 1.6;
}

.home-join-dealer {
  border-color: #17191d;
  background: #17191d;
}

.home-join-dealer .section-kicker,
.home-join-dealer .home-join-benefits li::marker {
  color: #f0bc22;
}

.home-join-dealer h3 {
  color: #fff;
}

.home-join-dealer .home-join-copy > p:not(.section-kicker),
.home-join-dealer .home-join-benefits {
  color: #d8dadd;
}

.home-join-dealer .home-join-copy > small {
  color: #b6bac1;
}

.home-join-dealer .home-join-button {
  border-color: var(--mobi-gold);
  background: var(--mobi-gold);
  color: #17191d;
}

.home-join-dealer .home-join-button:hover {
  background: #e3ad08;
}

.home-page a:focus-visible,
.home-page button:focus-visible {
  outline: 3px solid #b08400;
  outline-offset: 4px;
}

.home-arrow {
  position: relative;
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  flex: 0 0 0.875rem;
}

.home-arrow::before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  content: "";
}

.home-arrow::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.4375rem;
  height: 0.4375rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

@media (max-width: 900px) {
  .home-join-grid {
    grid-template-columns: 1fr;
  }

  .home-join-photo img {
    max-height: 300px;
  }

  .home-intro-visual img {
    max-height: 460px;
    aspect-ratio: 1.6;
  }
}

@media (max-width: 680px) {
  .home-video-toggle {
    top: 1rem;
    right: 1rem;
  }

  .home-hero .hero-inner {
    padding-top: 5.25rem;
  }

  .home-hero::before {
    background: linear-gradient(90deg, rgba(8, 10, 13, 0.78), rgba(8, 10, 13, 0.52));
  }

  .home-join-section {
    width: calc(100% - 32px);
  }

  .home-join-button {
    width: 100%;
    text-align: center;
  }

  .home-join-photo img {
    aspect-ratio: 1.65;
  }

  .home-page h2,
  .home-page h3,
  .home-join-button {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-parallax-image {
    transform: none;
  }

  .home-join-button {
    transition: none;
  }
}
