/* ==========================================================================
   HERO (#home) + greeting marquee            owner: hero
   Poster lockup · tricolour arch · waving flag · Brandenburg Gate · clouds ·
   umlauts · glass cards · level chips · script lead-in · CTAs · marquee
   --------------------------------------------------------------------------
   Layout notes
   · Everything is composed (and fully visible) with no JS. hero.js only adds
     the entrance + idle motion. Idle motion on *inner* wrappers uses CSS
     individual transform props, GSAP owns the outer transforms.
   · The visual stage is a size container: its decorations are sized in cqw so
     the whole composition scales as one piece at every breakpoint.
   ========================================================================== */

.hero,
.hero-marquee {
  --mq-h: clamp(8.5rem, 13vw, 11rem); /* marquee box height (it overlaps the hero's bottom by half) */
}
.hero {
  /* lockup width: tied to both viewport width and height so short laptops still fit */
  --lock-w: clamp(19rem, min(39.5vw, 74vh), 49rem);
  --lock-w: clamp(19rem, min(39.5vw, 74svh), 49rem);
  /* stage (arch composition) height */
  --stage-h: clamp(25rem, calc(100vh - var(--header-h) - 10rem), 50rem);
  --stage-h: clamp(25rem, calc(100svh - var(--header-h) - 10rem), 50rem);
  --hero-gap: clamp(0.8rem, 2.3vh, 1.5rem);

  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 1.75rem);
  min-height: calc(100svh - 1.75rem);
  padding-block: calc(var(--header-h) + clamp(0.5rem, 2.6vh, 2.2rem)) calc(var(--mq-h) * 0.5 + 0.6rem);
  overflow: clip;
  background: linear-gradient(180deg, var(--sky-200) 0%, var(--sky-100) 38%, var(--sky-50) 74%, var(--bg) 100%);
  background:
    radial-gradient(62% 52% at 84% 6%, color-mix(in srgb, var(--blue-400) 58%, transparent), transparent 72%),
    radial-gradient(48% 44% at 4% 0%, color-mix(in srgb, var(--sky-200) 95%, transparent), transparent 70%),
    linear-gradient(180deg, var(--sky-200) 0%, var(--sky-100) 38%, var(--sky-50) 74%, var(--bg) 100%);
}

/* ---------------------------------------------------------------- layout */
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--container, 77.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-rows: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
  column-gap: clamp(1rem, 3vw, 3.5rem);
  row-gap: var(--hero-gap);
  align-items: start;
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-areas:
      "pad    visual"
      "copy   visual"
      "levels visual"
      "action visual"
      "pad2   visual";
  }
}
.hero__copy {
  grid-area: copy;
}
.hero__levels {
  grid-area: levels;
}
.hero__action {
  grid-area: action;
}
.hero__visual {
  grid-area: visual;
  align-self: center;
  justify-self: center;
  width: 100%;
  display: grid;
  justify-items: center;
}
@media (min-width: 1024px) {
  .hero__visual {
    /* let the arch's flat base slip under the marquee band (hides the photo's hard bottom crop) */
    translate: 0 clamp(0.5rem, 5.5vh, 3.6rem);
  }
}

/* focus ring: the shared light-blue ring is too faint on the pale sky — use the action blue here */
.hero :focus-visible {
  outline-color: var(--blue-600);
}

/* ------------------------------------------------------------- eyebrow */
.hero__eyebrow {
  margin-bottom: clamp(0.4rem, 1.4vh, 0.9rem);
  color: var(--navy-700);
}

/* ------------------------------------------------- headline lockup (h1) */
.hero__title {
  margin: 0;
  font: inherit;
  letter-spacing: normal;
  line-height: 1;
  text-wrap: initial;
}
.hero__lockup {
  display: block;
  width: var(--lock-w);
  margin-top: calc(var(--lock-w) * 0.055);
  margin-left: calc(var(--lock-w) * 0.035);
  transform: rotate(-3.2deg);
  transform-origin: 0 100%;
  filter: drop-shadow(0 0.7rem 0.9rem rgba(6, 27, 63, 0.2));
}
.hero__band {
  --bw: 1;
  --bf: 0.16;
  position: relative;
  display: grid;
  place-items: center;
  width: calc(var(--lock-w) * var(--bw));
  padding: 0.2em 0 0.16em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: calc(var(--lock-w) * var(--bf));
  line-height: 1;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}
.hero__band--1 {
  --bw: 0.93;
  --bf: 0.165;
}
.hero__band--2 {
  --bw: 0.99;
  --bf: 0.152;
  margin: -0.1em 0 0 0.03em;
  color: var(--gold);
}
.hero__band--3 {
  --bw: 0.9;
  --bf: 0.066;
  margin: -0.5em 0 0 0.09em;
  font-weight: 800;
  letter-spacing: 0.012em;
  padding: 0.34em 0 0.3em;
}
.hero__paint {
  position: absolute;
  inset: -9% -3.5% -8%;
  z-index: 0;
  display: block;
  color: var(--schwarz);
}
.hero__band--2 .hero__paint {
  color: var(--rot);
}
.hero__band--3 .hero__paint {
  color: var(--navy-800);
  inset: -10% -3% -9%;
}
.hero__band--2 .hero__paint--gold {
  /* the poster's gold sliver peeking out under the red stroke */
  color: var(--gold);
  inset: 4% -4% -16% -6%;
  transform: rotate(-1.4deg);
  z-index: 0;
}
.hero__band-text {
  position: relative;
  z-index: 1;
  display: block;
  /* clip window for the char-by-char rise; padding/margin keep glyphs + shadow unclipped */
  overflow: clip;
  padding: 0.12em 0.08em;
  margin: -0.12em -0.08em;
  font-kerning: none;
  text-shadow: 0 0.035em 0 rgba(0, 0, 0, 0.28);
}
.hero__ch {
  display: inline-block;
}
.hero__band--2 .hero__band-text {
  text-shadow: 0 0.04em 0 rgba(120, 8, 20, 0.55);
}

/* ------------------------------------------------------------ sub line */
.hero__sub {
  margin-top: clamp(0.9rem, 2.6vh, 1.7rem);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 0.8rem + 1.1vw, 1.8rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--navy-800);
}
.hero__sub-line {
  display: block;
}
.hero__sub-line--hi {
  color: var(--blue-600);
}

/* ---------------------------------------------------------- level chips */
.hero__levels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hero__level {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.1rem;
  padding: 0.3rem 1.1rem 0.3rem 0.3rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out);
}
.hero__level-tag {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28), 0 4px 10px rgba(11, 91, 196, 0.35);
  transition: transform var(--dur-base) var(--ease-spring);
}
.hero__levels li:nth-child(n + 3) .hero__level-tag {
  background: var(--grad-navy);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22), 0 4px 10px rgba(10, 42, 92, 0.4);
}
.hero__level-days {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-800);
  white-space: nowrap;
}
.hero__level-days b {
  font-weight: 800;
}
.hero__level:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.hero__level:hover .hero__level-tag {
  transform: rotate(-10deg) scale(1.08);
}

/* ------------------------------------------- script lead-in + CTAs + tel */
.hero__script {
  position: relative;
  display: inline-block;
  margin-bottom: 1.1rem;
  font-size: clamp(1.55rem, 1.05rem + 1.45vw, 2.55rem);
  transform: rotate(-1.4deg);
  transform-origin: 0 100%;
}
.hero__script-text {
  display: inline-block;
}
.hero__scribble {
  position: absolute;
  left: -1%;
  bottom: -0.38em;
  width: 102%;
  height: 0.5em;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero__scribble path {
  vector-effect: non-scaling-stroke;
}
.hero__scribble-a {
  stroke: var(--blue-600);
  stroke-width: 3.2;
}
.hero__scribble-b {
  stroke: var(--gold-deep);
  stroke-width: 2.4;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}
.hero__cta-item {
  display: inline-flex;
}
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(0.6rem, 1.8vh, 1.1rem);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-soft);
}
.hero__phone .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--blue-600);
}
.hero__phone a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 0.15rem;
  background: linear-gradient(var(--gold), var(--gold)) 0 88% / 0 3px no-repeat;
  transition: background-size var(--dur-base) var(--ease-out), color var(--dur-fast);
}
.hero__phone a:hover {
  color: var(--navy-800);
  background-size: 100% 3px;
}

/* ====================================================== visual stage ==== */
.hero__stage {
  position: relative;
  /* stage width follows the height budget so the arch never outgrows the viewport */
  width: min(100%, calc(var(--stage-h) * 0.909));
  aspect-ratio: 10 / 11;
  container-type: inline-size;
  --rw: 4px; /* tricolour ring thickness */
  --rg: 6px; /* gap between rings */
}
@supports (width: 1cqw) {
  .hero__stage {
    --rw: max(3px, 0.78cqw);
    --rg: max(5px, 1.15cqw);
  }
}
.hero__halo {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  width: 150%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 224, 138, 0.5) 38%, transparent 70%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), color-mix(in srgb, var(--gold-soft) 55%, transparent) 38%, transparent 70%);
  --o: 0.8;
  opacity: var(--o);
}
.hero__archbox {
  position: absolute;
  left: 12%;
  bottom: 0;
  width: 76%;
  aspect-ratio: 0.74;
}
.hero__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__ring {
  position: absolute;
  inset: calc(-1 * var(--ro)) calc(-1 * var(--ro)) 0;
  border: var(--rw) solid var(--c);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  /* painted ring: inner = gold, middle = red, outer = black (the flag, outside-in) */
}
.hero__ring--1 {
  --c: var(--gold);
  --ro: calc(var(--rg) + var(--rw));
}
.hero__ring--2 {
  --c: var(--rot);
  --ro: calc(2 * (var(--rg) + var(--rw)));
}
.hero__ring--3 {
  --c: var(--schwarz);
  --ro: calc(3 * (var(--rg) + var(--rw)));
}
.hero__arch {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(165deg, var(--blue-300) 0%, var(--sky-200) 52%, var(--sky-100) 100%);
  box-shadow: 0 2.2rem 4rem -1rem rgba(10, 42, 92, 0.38), 0 0.6rem 1.6rem rgba(10, 42, 92, 0.18);
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  /* her left edge is a hard crop in the source — fade it into the arch sky */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24%);
  transform-origin: 62% 40%;
}
.hero__arch-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(6, 27, 63, 0.42) 0%, rgba(6, 27, 63, 0) 26%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 38%);
}

/* ---- flag: tall slim pole beside the arch, cloth mirrored so it flows left over the dome ---- */
.hero__flag {
  position: absolute;
  z-index: 3;
  right: -2%;
  top: -6%;
  width: 34%;
  pointer-events: none;
}
.hero__flag-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  transform: scaleX(-1); /* hoist edge on the right, free end flutters leftwards */
  filter: drop-shadow(0 0.5rem 0.6rem rgba(10, 42, 92, 0.25));
}
.hero__pole {
  /* steel pole: from the finial down to the arch base (the marquee band hides its foot on desktop) */
  --pw: 5px;
  --pw: max(4px, 0.95cqw);
  position: absolute;
  left: 97.9%;
  top: 3%;
  width: var(--pw);
  height: 40rem;
  height: 118cqw;
  margin-left: calc(var(--pw) / -2);
  border-radius: var(--pw) var(--pw) 0 0;
  background: linear-gradient(90deg, var(--sky-100) 0%, var(--ink-mute) 55%, var(--ink-soft) 100%);
  box-shadow: 0 0.4rem 0.8rem rgba(10, 42, 92, 0.18);
}
.hero__finial {
  fill: var(--gold);
  stroke: var(--gold-deep);
  stroke-width: 1.5;
}
.hero__flag-b--1 {
  fill: var(--schwarz);
}
.hero__flag-b--2 {
  fill: var(--rot);
}
.hero__flag-b--3 {
  fill: var(--gold);
}
.hero__flag-shade {
  pointer-events: none;
}

/* ---- hand-lettered greeting ---- */
.hero__hallo {
  position: absolute;
  z-index: 4;
  left: -1%;
  top: 11%;
  margin: 0;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.9rem;
  font-size: clamp(1.55rem, 6.6cqw, 2.4rem);
  line-height: 1;
  color: var(--navy-800);
  transform: rotate(-9deg);
}
.hero__hallo > span {
  position: relative;
  display: block;
  padding: 0.2em 0.62em 0.26em;
  border-radius: 1.2em 1.2em 1.2em 0.3em;
  background: #fff;
  box-shadow: var(--shadow-md);
}

/* ---- glass micro-cards ---- */
.hero__cards {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.hero__card {
  position: absolute;
  width: max-content;
  max-width: 62cqw;
}
.hero__card-in {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.05rem 0.7rem 0.7rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.78);
}
.hero__card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 6px 14px rgba(11, 91, 196, 0.35);
}
.hero__card-icon--gold {
  background: var(--grad-gold);
  color: var(--navy-900);
  box-shadow: 0 6px 14px rgba(232, 168, 0, 0.4);
}
.hero__card-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}
.hero__card-txt {
  display: grid;
  gap: 0.12rem;
  line-height: 1.15;
}
.hero__card-txt strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  font-size: clamp(0.95rem, 3cqw, 1.1rem);
  letter-spacing: -0.012em;
  color: var(--navy-800);
}
.hero__card-txt small {
  font-size: 0.9rem;
  font-size: clamp(0.875rem, 2.3cqw, 0.9375rem);
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__card--live {
  left: -9%;
  top: 47%;
}
.hero__card--doubt {
  right: -4%;
  top: 30%;
}
.hero__card--levels {
  left: -4%;
  top: 79%;
}

/* ---- sparkles ---- */
.hero__spark {
  position: absolute;
  z-index: 4;
  width: 1.6rem;
  height: 1.6rem;
  fill: var(--gold);
  stroke: var(--gold-deep);
  stroke-width: 1.2;
  stroke-linejoin: round;
  overflow: visible;
}
.hero__spark--1 {
  left: 6%;
  top: 40%;
}
.hero__spark--2 {
  right: 4%;
  top: 62%;
  width: 1.15rem;
  height: 1.15rem;
}

/* ================================================ background art ====== */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__defs {
  position: absolute;
  width: 0;
  height: 0;
}
.hero__gate-s1 {
  stop-color: var(--blue-500);
  stop-opacity: 0.34;
}
.hero__gate-s2 {
  stop-color: var(--blue-400);
  stop-opacity: 0.12;
}
.hero__gate-wrap {
  --gw: clamp(44rem, 80vw, 92rem);
  position: absolute;
  left: 75%;
  bottom: -1%;
  width: var(--gw);
  margin-left: calc(var(--gw) / -2);
  /* the monument fades out behind the copy column */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40%);
}
.hero__gate {
  display: block;
  width: 100%;
  height: auto;
}
.hero__rays {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 44%;
  width: 190%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.55) 0deg 4.5deg, transparent 4.5deg 15deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 6%, transparent 64%);
  mask-image: radial-gradient(closest-side, #000 6%, transparent 64%);
}
.hero__cloud {
  position: absolute;
  --o: 0.92;
  opacity: var(--o);
}
.hero__cloud svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.hero__cloud--1 {
  left: -3%;
  top: 9%;
  width: clamp(9rem, 21vw, 22rem);
  --o: 0.85;
  opacity: var(--o);
}
.hero__cloud--2 {
  right: -5%;
  top: 15%;
  width: clamp(10rem, 25vw, 27rem);
}
.hero__cloud--3 {
  left: 41%;
  top: 4%;
  width: clamp(7rem, 14vw, 15rem);
  --o: 0.8;
  opacity: var(--o);
}
.hero__cloud--4 {
  right: 33%;
  bottom: 17%;
  width: clamp(8rem, 18vw, 19rem);
  --o: 0.7;
  opacity: var(--o);
}
.hero__cloud--5 {
  left: -6%;
  bottom: 24%;
  width: clamp(8rem, 19vw, 21rem);
  --o: 0.75;
  opacity: var(--o);
}
.hero__glyph {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 11vw, 13rem);
  line-height: 1;
  user-select: none;
}
.hero__glyph > span {
  display: block;
}
.hero__glyph--1 {
  left: 31%;
  top: 2%;
  color: var(--blue-500);
  --o: 0.11;
  opacity: var(--o);
}
.hero__glyph--2 {
  left: 46%;
  top: 7%;
  color: var(--gold);
  --o: 0.3;
  opacity: var(--o);
  font-size: clamp(4rem, 8vw, 9rem);
}
.hero__glyph--3 {
  left: 40%;
  bottom: 11%;
  color: var(--navy-700);
  --o: 0.09;
  opacity: var(--o);
  font-size: clamp(4.5rem, 9vw, 10rem);
}
.hero__glyph--4 {
  right: 1.2%;
  top: 41%;
  color: var(--blue-500);
  --o: 0.13;
  opacity: var(--o);
}

/* =================================================== greeting marquee === */
.hero-marquee {
  position: relative;
  z-index: 3;
  height: var(--mq-h);
  margin-top: calc(var(--mq-h) * -0.6);
  overflow: hidden;
  pointer-events: none;
}
.hero-marquee__band {
  position: absolute;
  left: -6%;
  width: 112%;
  top: 50%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-marquee__band--navy {
  z-index: 2;
  height: clamp(3.6rem, 6.2vw, 5rem);
  margin-top: calc(clamp(3.6rem, 6.2vw, 5rem) / -2);
  transform: rotate(-2deg);
  background: var(--grad-navy);
  color: #fff;
  box-shadow: 0 1rem 2.2rem rgba(6, 27, 63, 0.34);
}
.hero-marquee__band--navy::after {
  /* tricolour sliver on the bottom edge */
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--grad-flag);
}
.hero-marquee__band--gold {
  z-index: 1;
  height: clamp(2.6rem, 4.4vw, 3.5rem);
  margin-top: calc(clamp(2.6rem, 4.4vw, 3.5rem) / -2);
  transform: rotate(2.3deg);
  background: var(--grad-gold);
  color: var(--navy-900);
  box-shadow: 0 0.8rem 1.6rem rgba(232, 168, 0, 0.3);
}
.hero-marquee__track {
  display: flex;
  flex: none;
  width: max-content;
  align-items: center;
  will-change: transform;
  animation: hero-marq 70s linear infinite;
}
.hero-marquee__track[data-dir="1"] {
  animation-direction: reverse;
  animation-duration: 90s;
}
.hero-marquee.is-js .hero-marquee__track {
  animation: none;
}
.hero-marquee__group {
  display: flex;
  flex: none;
  align-items: center;
}
.hero-marquee__group li {
  display: flex;
  align-items: center;
  flex: none;
}
.hero-marquee__band--navy li {
  gap: clamp(1rem, 2vw, 1.9rem);
  padding-right: clamp(1rem, 2vw, 1.9rem);
}
.hero-marquee__w {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 0.95rem + 1.55vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.hero-marquee__w--outline {
  color: var(--blue-300);
}
.hero-marquee__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
}
.hero-marquee__band--gold li {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.85rem, 0.7rem + 0.6vw, 1.15rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  gap: clamp(1rem, 2vw, 1.8rem);
  padding-right: clamp(1rem, 2vw, 1.8rem);
}
.hero-marquee__bar {
  display: block;
  width: 2.4rem;
  height: 0.46rem;
  border-radius: 3px;
  background: var(--grad-flag);
}

/* ========================================================== keyframes === */
@keyframes hero-marq {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@keyframes hero-bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -0.55rem;
  }
}
@keyframes hero-float {
  0%,
  100% {
    translate: 0 0;
    rotate: -3deg;
  }
  50% {
    translate: 0.6rem -1.1rem;
    rotate: 4deg;
  }
}
@keyframes hero-drift {
  from {
    translate: -2.5vw 0;
  }
  to {
    translate: 2.5vw 0;
  }
}
@keyframes hero-spin {
  to {
    rotate: 360deg;
  }
}
@keyframes hero-twinkle {
  0%,
  100% {
    scale: 1;
    rotate: 0deg;
    opacity: 1;
  }
  50% {
    scale: 0.55;
    rotate: 25deg;
    opacity: 0.55;
  }
}
@keyframes hero-wiggle {
  0%,
  100% {
    rotate: 0deg;
  }
  50% {
    rotate: 3deg;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__card-in {
    animation: hero-bob 6.5s ease-in-out infinite;
  }
  .hero__card--doubt .hero__card-in {
    animation-duration: 7.5s;
    animation-delay: -2.4s;
  }
  .hero__card--levels .hero__card-in {
    animation-duration: 5.8s;
    animation-delay: -4s;
  }
  .hero__glyph > span {
    animation: hero-float 11s ease-in-out infinite;
  }
  .hero__glyph--2 > span {
    animation-duration: 8s;
    animation-delay: -3s;
  }
  .hero__glyph--3 > span {
    animation-duration: 13s;
    animation-delay: -6s;
  }
  .hero__glyph--4 > span {
    animation-duration: 9.5s;
    animation-delay: -1s;
  }
  .hero__cloud svg {
    animation: hero-drift 46s ease-in-out infinite alternate;
  }
  .hero__cloud--2 svg {
    animation-duration: 58s;
    animation-direction: alternate-reverse;
  }
  .hero__cloud--3 svg {
    animation-duration: 40s;
  }
  .hero__cloud--4 svg {
    animation-duration: 64s;
    animation-direction: alternate-reverse;
  }
  .hero__cloud--5 svg {
    animation-duration: 52s;
  }
  .hero__rays {
    animation: hero-spin 160s linear infinite;
  }
  .hero__spark {
    animation: hero-twinkle 3.6s ease-in-out infinite;
  }
  .hero__spark--2 {
    animation-delay: -1.7s;
    animation-duration: 4.4s;
  }
  .hero__hallo > span {
    animation: hero-wiggle 4.2s ease-in-out infinite;
    transform-origin: 20% 100%;
  }
}

/* decorative layers never swallow clicks; interactive rows sit above them */
.hero__stage > *:not(.hero__cards):not(a):not(button) {
  pointer-events: none;
}
.hero__action,
.hero__levels,
.hero__phone {
  position: relative;
  z-index: 3;
}

/* ============================================================ failsafe === */
html.lga-fail-hero .hero [data-h],
html.lga-fail-hero .hero [data-reveal] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  clip-path: none !important;
}
/* If the runtime never started (see template), make sure nothing stays hidden. */
html.reveal-failsafe .hero [data-h],
html.reveal-failsafe .hero .hero__paint,
html.reveal-failsafe .hero .hero__ring,
html.reveal-failsafe .hero .hero__arch,
html.reveal-failsafe .hero .hero__band-text,
html.reveal-failsafe .hero .hero__flag {
  opacity: var(--o, 1) !important;
  transform: none !important;
  clip-path: none !important;
  visibility: visible !important;
}

/* ===================================================== responsive ========= */
/* Tablet / phone — and portrait screens up to 1279px (iPad Pro etc.): single column, mobile-first order */
@media (max-width: 1023.98px), (max-width: 1279.98px) and (orientation: portrait) {
  .hero {
    --lock-w: min(calc(100vw - 2 * var(--gutter)), 38rem);
    --stage-h: 40rem;
    min-height: 0;
    align-items: flex-start;
    padding-block: calc(var(--header-h) + 1.1rem) calc(var(--mq-h) * 0.5 + 1rem);
  }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "copy"
      "levels"
      "action"
      "visual";
    row-gap: 1.5rem;
  }
  .hero__stage {
    width: min(100%, 34rem);
  }
  .hero__visual {
    margin-top: 0.5rem;
    translate: none;
  }
  .hero__gate-wrap {
    --gw: 140%;
    left: 50%;
    bottom: 6%;
  }
  .hero__card--live {
    left: -3%;
  }
  .hero__card--doubt {
    right: -3%;
  }
  .hero__card--levels {
    right: 0;
  }
}
@media (min-width: 900px) and (max-width: 1279.98px) and (orientation: portrait) {
  .hero {
    --lock-w: min(calc(100vw - 2 * var(--gutter)), 44rem);
  }
  .hero__stage {
    width: min(100%, 40rem);
  }
}
@media (max-width: 719.98px) {
  .hero {
    --mq-h: 7.2rem;
    --lock-w: calc(100vw - 2 * var(--gutter) - 1.4rem);
  }
  .hero__inner {
    grid-template-areas:
      "copy"
      "action"
      "visual"
      "levels";
    row-gap: 1.25rem;
  }
  .hero__eyebrow {
    margin-bottom: 0.5rem;
  }
  .hero__levels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .hero__level {
    width: 100%;
  }
  .hero__cta {
    gap: 0.65rem;
  }
  .hero__cta-item {
    flex: 1 1 11rem;
  }
  .hero__cta-item .btn {
    width: 100%;
    padding-inline: 1.1rem;
  }
  .hero__stage {
    width: min(100%, 25rem);
  }
  .hero__card-in {
    padding: 0.5rem 0.8rem 0.5rem 0.5rem;
    gap: 0.55rem;
  }
  .hero__card-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
  }
  .hero__card-icon .icon {
    width: 1.1rem;
    height: 1.1rem;
  }
  .hero__card--live {
    left: -5%;
    top: 44%;
    max-width: 68cqw;
  }
  .hero__card--doubt {
    right: -5%;
    top: 24%;
  }
  /* the level chips sit right below the stage on phones — drop the duplicate card */
  .hero__card--levels {
    display: none;
  }
  .hero__hallo {
    left: 1%;
    top: 9%;
  }
  .hero__glyph {
    font-size: clamp(4rem, 22vw, 6rem);
  }
  .hero__glyph--2,
  .hero__glyph--4 {
    display: none;
  }
}

/* Small laptops / tablets in landscape: keep chips + CTAs on one row each */
@media (min-width: 1024px) and (max-width: 1279.98px) and (orientation: landscape) {
  .hero__levels {
    gap: 0.4rem;
  }
  .hero__level {
    gap: 0.45rem;
    min-height: 2.8rem;
    padding: 0.25rem 0.8rem 0.25rem 0.25rem;
  }
  .hero__level-tag {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 0.9rem;
  }
  .hero__level-days {
    font-size: 0.9rem;
  }
  .hero__cta {
    gap: 0.6rem 0.7rem;
  }
  .hero__cta .btn--lg {
    min-height: 54px;
    padding: 1rem 1.3rem;
    font-size: 0.95rem;
  }
}
/* 900px-tall laptops: the phone number lives in the CTA/header; drop it to keep the fold tight */
@media (min-width: 1024px) and (max-height: 940px) {
  .hero__phone {
    display: none;
  }
}
/* Short laptops (e.g. 1366x680): reclaim vertical space */
@media (min-width: 1024px) and (max-height: 800px) {
  .hero__eyebrow {
    display: none;
  }
  .hero {
    --hero-gap: 0.75rem;
  }
  .hero__sub {
    margin-top: 0.8rem;
  }
  .hero__script {
    margin-bottom: 0.9rem;
  }
}

/* Low laptops (1366x650 / 1280x600): CTA row must clear the fold */
@media (min-width: 1024px) and (max-height: 700px) {
  .hero {
    --hero-gap: 0.6rem;
  }
  .hero__card-in {
    white-space: nowrap;
    padding: 0.5rem 0.8rem 0.5rem 0.5rem;
  }
  .hero__card--live {
    transform: translateX(-14%);
  }
  .hero__card--levels {
    transform: translateX(-18%);
  }
  .hero__levels {
    display: none;
  }
}

/* Tablet portrait: use the empty right third */
@media (min-width: 720px) and (max-width: 1023.98px) and (orientation: portrait) {
  .hero {
    --lock-w: min(calc(100vw - 2 * var(--gutter)), 34rem);
  }
}

/* Landscape phones: two columns, smaller lockup */
@media (max-height: 480px) and (max-width: 1023.98px) and (orientation: landscape) {
  .hero {
    --lock-w: clamp(19rem, 42vw, 28rem);
    --stage-h: 28rem;
  }
  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas:
      "copy visual"
      "levels visual"
      "action visual";
  }
  .hero__stage {
    width: min(100%, 22rem);
  }
}

/* Big screens: let the whole composition breathe */
@media (min-width: 1700px) {
  .hero__sub {
    font-size: 1.95rem;
  }
  .hero__level {
    min-height: 3.4rem;
  }
}

/* ===================================================== reduced motion ==== */
@media (prefers-reduced-motion: reduce) {
  .hero__card-in,
  .hero__glyph > span,
  .hero__cloud svg,
  .hero__rays,
  .hero__spark,
  .hero__hallo > span,
  .hero-marquee__track {
    animation: none !important;
  }
  .hero-marquee__track {
    transform: none !important;
  }
}

/* Live · Work · Settle in Germany pill */
.hero__lws { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; padding: 0.55rem 1rem; border-radius: var(--r-pill); background: linear-gradient(100deg, var(--navy-800), var(--navy-600)); color: #fff; box-shadow: var(--shadow-md); font: 800 var(--fs-sm) var(--font-display); letter-spacing: 0.01em; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); position: relative; z-index: 3; }
.hero__lws .icon { width: 1.05rem; height: 1.05rem; color: var(--gold); }
.hero__lws i { color: var(--gold); font-style: normal; opacity: 0.8; }
.hero__lws:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero__lws-arrow { transition: transform var(--dur-base) var(--ease-out); }
.hero__lws:hover .hero__lws-arrow { transform: translateX(4px); }
@media (min-width: 1024px) and (max-height: 700px) { .hero__lws { display: none; } }

html.js .hero__lws { animation: hero-lws-in 0.9s var(--ease-out) 3s both; }
@keyframes hero-lws-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
