/* =========================================================
   DEUTSCH GO HERO INTRO — DESKTOP
   Immediate entrance, hold until 65%, exit from 65% to 100%.
========================================================= */

@media (min-width: 769px) {

  .deutschgo-hero__sticky {
    position: sticky;
    top: 0;
    overflow: hidden;
    isolation: isolate;
  }

  /* Very soft yellow aura at bottom-right */
  .deutschgo-hero__sticky::after {
    content: "";
    position: absolute;
    right: -10vw;
    bottom: -18vh;
    width: 50vw;
    height: 50vh;
    z-index: 3;
    pointer-events: none;

    background:
      radial-gradient(
        ellipse at center,
        rgba(244, 197, 66, 0.10) 0%,
        rgba(244, 197, 66, 0.045) 34%,
        rgba(244, 197, 66, 0.015) 58%,
        transparent 76%
      );

    filter: blur(12px);
    opacity: 0.72;
  }

  .deutschgo-hero-intro {
    position: absolute;
    inset: 0;
    z-index: 12;
    pointer-events: none;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding: 7vh 6vw;
    direction: ltr;
  }

  .deutschgo-hero-intro__card {
    width: min(560px, 42vw);
    pointer-events: auto;
    text-align: right;
    color: #FFF8F1;

    padding: 34px 38px 36px;
    border: 1px solid rgba(255, 248, 241, 0.18);
    border-radius: 28px;

    background:
      linear-gradient(
        145deg,
        rgba(8, 31, 43, 0.84) 0%,
        rgba(18, 59, 74, 0.72) 100%
      );

    -webkit-backdrop-filter: blur(12px) saturate(118%);
    backdrop-filter: blur(12px) saturate(118%);

    box-shadow:
      0 26px 70px rgba(8, 31, 43, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);

    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
    will-change: transform, opacity;
  }

  /* Entry directions */
  .deutschgo-hero-intro__eyebrow,
  .deutschgo-hero-intro__button-wrap {
    opacity: 0;
    transform: translate3d(-54px, 0, 0);
  }

  .deutschgo-hero-intro__title,
  .deutschgo-hero-intro__text {
    opacity: 0;
    transform: translate3d(54px, 0, 0);
  }

  .deutschgo-hero-intro.is-entered .deutschgo-hero-intro__eyebrow,
  .deutschgo-hero-intro.is-entered .deutschgo-hero-intro__button-wrap,
  .deutschgo-hero-intro.is-entered .deutschgo-hero-intro__title,
  .deutschgo-hero-intro.is-entered .deutschgo-hero-intro__text {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .deutschgo-hero-intro__eyebrow {
    margin: 0 0 14px;
    color: #F4C542;
    font-size: clamp(11px, 0.85vw, 14px);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    transition:
      opacity .72s cubic-bezier(.22,.8,.22,1),
      transform .72s cubic-bezier(.22,.8,.22,1);
  }

  .deutschgo-hero-intro__title {
    margin: 0;
    color: #FFF8F1;
    font-size: clamp(52px, 5.2vw, 92px);
    font-weight: 900;
    line-height: .92;
    letter-spacing: -.055em;
    text-shadow: 0 8px 24px rgba(0,0,0,.24);

    transition:
      opacity .78s .06s cubic-bezier(.22,.8,.22,1),
      transform .78s .06s cubic-bezier(.22,.8,.22,1);
  }

  .deutschgo-hero-intro__title span {
    color: #F4C542;
  }

  .deutschgo-hero-intro__text {
    max-width: 470px;
    margin: 22px 0 0 auto;
    color: rgba(255, 248, 241, .92);
    font-size: clamp(15px, 1vw, 18px);
    line-height: 1.72;

    transition:
      opacity .78s .14s cubic-bezier(.22,.8,.22,1),
      transform .78s .14s cubic-bezier(.22,.8,.22,1);
  }

  .deutschgo-hero-intro__button-wrap {
    display: flex;
    justify-content: center;
    width: 100%;

    transition:
      opacity .72s .22s cubic-bezier(.22,.8,.22,1),
      transform .72s .22s cubic-bezier(.22,.8,.22,1);
  }

  .deutschgo-hero-intro__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 26px;
    padding: 14px 25px;

    border: 0;
    border-radius: 999px;
    background: #F4C542;
    color: #081F2B;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;

    box-shadow:
      0 14px 30px rgba(8,31,43,.25),
      inset 0 1px 0 rgba(255,255,255,.42);

    transition:
      transform .22s ease,
      box-shadow .22s ease,
      background-color .22s ease;
  }

  .deutschgo-hero-intro__button:hover {
    transform: translateY(-2px);
    background: #FFF0A8;
    box-shadow:
      0 18px 36px rgba(8,31,43,.30),
      inset 0 1px 0 rgba(255,255,255,.50);
  }
}

@media (max-width: 768px) {
  .deutschgo-hero-intro {
    display: none !important;
  }
}