:root {
  --gold: #d4af37;
  --gold-light: #f5d77a;
  --gold-dark: #9d7410;
  --navy: #0f172a;
  --ink: #172033;
  --muted: #5f6673;
  --background: #f5f5f7;
  --surface: #ffffff;
  --line: rgba(15, 23, 42, 0.12);
  --deep: #08111f;
  --teal: #1d8f8b;
  --coral: #d96f4f;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#story,
#zielgruppen,
#download,
#pro {
  scroll-margin-top: 150px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
}

.window-intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: hidden;
  pointer-events: none;
  background: var(--deep);
  animation: intro-layer 3.2s cubic-bezier(0.68, 0, 0.18, 1) forwards;
}

.intro-window-image,
.intro-tunnel {
  position: absolute;
  inset: 0;
}

.intro-window-image {
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.16), rgba(8, 17, 31, 0.34)),
    image-set(
      url("../public/assets/staylimit-intro-airplane-window.avif") type("image/avif"),
      url("../public/assets/staylimit-intro-airplane-window.webp") type("image/webp"),
      url("../public/assets/staylimit-intro-airplane-window.png") type("image/png")
    ) center / cover no-repeat;
  transform-origin: 50% 50%;
  animation: intro-window-flight 3.2s cubic-bezier(0.66, 0, 0.16, 1) forwards;
}

.intro-tunnel {
  background:
    radial-gradient(ellipse 18% 29% at 50% 50%, transparent 0 58%, rgba(8, 17, 31, 0.24) 70%, rgba(8, 17, 31, 0.84) 100%);
  animation: intro-tunnel 3.2s cubic-bezier(0.66, 0, 0.16, 1) forwards;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 20;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(8, 17, 31, 0.54);
  color: #fff;
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-facts,
.hero-actions,
.legal-links,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.nav {
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.nav-cta {
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.nav-cta {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--deep);
  background: var(--gold-light);
  font-weight: 800;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lang-switcher a {
  padding: 5px 9px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.18s, color 0.18s;
}

.lang-switcher a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.lang-switcher a.lang-active {
  color: var(--navy);
  background: var(--gold-light);
}

.legal-page .lang-switcher {
  border-color: rgba(15, 23, 42, 0.22);
}

.legal-page .lang-switcher a {
  color: rgba(15, 23, 42, 0.5);
}

.legal-page .lang-switcher a:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
}

.legal-page .lang-switcher a.lang-active {
  color: var(--navy);
  background: var(--gold-light);
}

.hero {
  position: relative;
  min-height: min(100vh, 980px);
  padding: 170px 24px 84px;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero-sky,
.hero-shade,
.hero-flightline {
  position: absolute;
  inset: 0;
}

.hero-sky {
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.72), rgba(8, 17, 31, 0.26) 48%, rgba(8, 17, 31, 0.68)),
    image-set(
      url("../public/assets/staylimit-after-window-sky.avif") type("image/avif"),
      url("../public/assets/staylimit-after-window-sky.webp") type("image/webp"),
      url("../public/assets/staylimit-after-window-sky.png") type("image/png")
    ) center / cover no-repeat;
  transform: scale(1.02);
  animation: sky-breathe 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.1), rgba(8, 17, 31, 0.78)),
    radial-gradient(circle at 50% 42%, rgba(245, 215, 122, 0.18), transparent 34%);
}

.hero-flightline {
  inset: auto 0 0;
  height: 160px;
  background:
    linear-gradient(180deg, transparent, rgba(8, 17, 31, 0.88)),
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.14) 48%, transparent 100%);
}

.hero-content,
.section-shell,
.legal-links,
.site-footer {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 590px;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(340px, 0.84fr);
  gap: min(34vw, 440px);
  align-items: center;
}

.hero-left,
.hero-right {
  min-width: 0;
}

.hero-left {
  align-self: start;
  padding-top: 46px;
  animation: hero-copy-left 950ms cubic-bezier(0.2, 0.8, 0.2, 1) 2.45s both;
}

.hero-right {
  align-self: start;
  padding-top: 46px;
  animation: hero-copy-right 950ms cubic-bezier(0.2, 0.8, 0.2, 1) 2.58s both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

#hero-title span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.lead,
.story-copy p,
.pricing-copy p,
.finale-copy p,
.audience-copy p,
.feature-item p,
.audience-card p,
.qr-card p {
  color: inherit;
  font-size: 18px;
  line-height: 1.6;
}

.hero .lead {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--deep);
  background: var(--gold-light);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.hero-facts span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  width: 28px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  transform: translateX(-50%);
}

.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.journey-band,
.feature-runway,
.audience-section,
.split-story,
.privacy-section,
.pricing-section,
.faq-section,
.download-finale,
.contact-band {
  padding: 110px 0;
}

.journey-band,
.pricing-section,
.privacy-section,
.faq-section {
  background: #fff;
}

.feature-runway,
.download-finale {
  background: #eef1f3;
}

.audience-section {
  background: #102033;
  color: #fff;
}

.split-story {
  background: #f8f7f4;
}

.contact-band {
  padding-top: 40px;
  background: #f8f7f4;
}

.story-grid,
.split-layout,
.privacy-layout,
.pricing-layout,
.finale-layout,
.audience-layout {
  display: grid;
  gap: 42px;
  align-items: center;
}

.story-grid,
.split-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
}

.journey-band .story-media {
  width: min(100%, 560px);
  justify-self: end;
}

.pricing-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
}

.privacy-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
}

.finale-layout,
.audience-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
}

.story-copy p,
.privacy-copy p,
.pricing-copy p,
.finale-copy p,
.audience-copy p {
  color: var(--muted);
}

.audience-copy p,
.audience-card p {
  color: rgba(255, 255, 255, 0.76);
}

.story-media {
  margin: 0;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.story-media picture,
.phone-stage picture {
  display: block;
  width: 100%;
  height: 100%;
}

.story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-media.wide img {
  aspect-ratio: auto;
}

.benefit-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.benefit-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--teal));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  color: var(--gold-dark);
}

.feature-showcase,
.audience-grid,
.signal-grid,
.privacy-points,
.pricing-cards,
.qr-grid {
  display: grid;
  gap: 18px;
}

/* ── Feature alternating rows ────────────────────────── */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-row:nth-child(even) .feature-copy { order: 2; }
.feature-row:nth-child(even) .feature-phone { order: 1; }

.feature-copy {
  padding: 32px 36px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 175, 55, 0.14), transparent 50%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

/* Odd rows: text left → right-align */
.feature-row:nth-child(odd) .feature-copy {
  text-align: right;
}

.feature-phone {
  display: flex;
  justify-content: center;
}

/* Entry animations */
/* Odd rows: text box flies in from the left */
.feature-row:nth-child(odd) .feature-copy {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 700ms ease, transform 750ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Even rows: text box flies in from the right */
.feature-row:nth-child(even) .feature-copy {
  opacity: 0;
  transform: translateX(56px);
  transition: opacity 700ms ease 160ms, transform 750ms cubic-bezier(0.16, 1, 0.3, 1) 160ms;
}

.feature-phone .iphone17 {
  opacity: 0;
  transform: translateY(44px) scale(0.86);
  transition: opacity 880ms ease 160ms, transform 1000ms cubic-bezier(0.16, 1, 0.3, 1) 160ms;
}

.feature-row:nth-child(even) .feature-phone .iphone17 {
  transition-delay: 0ms;
}

.feature-row.is-visible .feature-copy,
.feature-row.is-visible .feature-phone .iphone17 {
  opacity: 1;
  transform: none;
}

/* Zoom-in on screen image */
.iphone17__screen img {
  transform: scale(1.12);
  transition: transform 2800ms cubic-bezier(0.16, 1, 0.3, 1) 400ms;
}

.feature-row.is-visible .iphone17__screen img {
  transform: scale(1);
}

/* ── iPhone 17 Pro device frame ──────────────────────── */
.iphone17 {
  position: relative;
  display: inline-block;
  border-radius: 47px;
  background: linear-gradient(
    155deg,
    #bcbcc4 0%,
    #78787e 12%,
    #acacb4 24%,
    #606068 36%,
    #a0a0a8 48%,
    #6e6e76 60%,
    #aeaeb6 72%,
    #7a7a82 84%,
    #c0c0c8 100%
  );
  padding: 2.5px;
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 64px 128px rgba(0, 0, 0, 0.44),
    0 24px 48px rgba(0, 0, 0, 0.26),
    0 8px 16px rgba(0, 0, 0, 0.16);
}

.iphone17__inner {
  border-radius: 44.5px;
  background: #0c0c10;
  padding: 14px 11px 20px;
}

.iphone17__screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}

.iphone17__island {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 27px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 3;
}

.iphone17__screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hardware buttons */
.iphone17__btn {
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #9e9ea6 0%, #64646c 45%, #9e9ea6 100%);
}

.iphone17__btn--action  { left: -4px; top: 21%; height: 26px; box-shadow: -1px 0 2px rgba(0,0,0,0.5); }
.iphone17__btn--vol-up  { left: -4px; top: 33%; height: 58px; box-shadow: -1px 0 2px rgba(0,0,0,0.5); }
.iphone17__btn--vol-down{ left: -4px; top: 47%; height: 58px; box-shadow: -1px 0 2px rgba(0,0,0,0.5); }
.iphone17__btn--power   { right: -4px; top: 27%; height: 78px; box-shadow: 1px 0 2px rgba(0,0,0,0.5); }
.iphone17__btn--camera  { right: -4px; top: 62%; height: 46px; box-shadow: 1px 0 2px rgba(0,0,0,0.5); }

/* Shared card styles */
.audience-card,
.price-card,
.qr-card,
.contact-panel {
  border-radius: 18px;
}

.audience-card,
.price-card,
.qr-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.feature-copy p {
  color: var(--muted);
}

.qr-card p {
  color: var(--muted);
}

.feature-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
}

.audience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.signal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.privacy-points {
  grid-template-columns: 1fr;
}

.offline-highlight {
  margin: 0 0 22px;
  padding: 20px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #1d3b52 70%, var(--teal));
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}

.offline-highlight strong,
.offline-highlight span {
  display: block;
}

.offline-highlight strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.offline-highlight span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.signal-grid div {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
}

.privacy-points div {
  min-height: 128px;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 94% 12%, rgba(29, 143, 139, 0.16), transparent 28%),
    #f8f7f4;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.signal-grid strong,
.signal-grid span,
.privacy-points strong,
.privacy-points span {
  display: block;
}

.signal-grid strong,
.privacy-points strong {
  margin-bottom: 8px;
  font-size: 16px;
}

.signal-grid span,
.privacy-points span {
  color: var(--muted);
  line-height: 1.5;
}

.pricing-cards,
.qr-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-card {
  min-height: 220px;
  display: grid;
  align-content: center;
}

.price-card span,
.price-card small {
  color: var(--muted);
  font-weight: 800;
}

.price-card strong {
  display: block;
  margin: 10px 0;
  font-size: 44px;
  line-height: 1;
}

.price-card.highlighted {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #102033, #17324f);
}

.price-card.highlighted span,
.price-card.highlighted small {
  color: rgba(255, 255, 255, 0.72);
}

.qr-card {
  text-align: center;
}

.qr-placeholder {
  width: min(100%, 210px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border-radius: 18px;
  border: 10px solid #fff;
  background:
    linear-gradient(90deg, #111 16%, transparent 16% 32%, #111 32% 48%, transparent 48% 64%, #111 64% 80%, transparent 80%),
    linear-gradient(#111 16%, transparent 16% 32%, #111 32% 48%, transparent 48% 64%, #111 64% 80%, transparent 80%),
    #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.qr-placeholder.alternate {
  background:
    linear-gradient(90deg, #111 12%, transparent 12% 28%, #111 28% 40%, transparent 40% 58%, #111 58% 72%, transparent 72%),
    linear-gradient(#111 12%, transparent 12% 28%, #111 28% 40%, transparent 40% 58%, #111 58% 72%, transparent 72%),
    #fff;
}

.faq-layout {
  display: grid;
  gap: 28px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8f7f4;
}

.faq-item h3 {
  margin-bottom: 10px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-panel {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: linear-gradient(135deg, #102033, #17324f 70%, #234f61);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.legal-links {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 44px 24px 16px;
}

.legal-links a {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 800;
}

.site-footer {
  justify-content: space-between;
  gap: 12px;
  padding: 24px 24px 46px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 54px 24px 80px;
}

.legal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-page .brand {
  color: var(--ink);
}

.legal-card {
  margin-top: 24px;
  padding: 28px;
  overflow-wrap: break-word;
  hyphens: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
}

.legal-card h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.18;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-callout {
  margin: 24px 0 8px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(29, 143, 139, 0.22);
  background: rgba(29, 143, 139, 0.08);
}

.legal-callout strong,
.legal-callout span {
  display: block;
}

.legal-callout strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.legal-callout span {
  color: var(--muted);
  line-height: 1.6;
}

.legal-footer {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

@keyframes intro-window-flight {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) saturate(1);
  }
  46% {
    opacity: 1;
    transform: scale(1.18);
    filter: blur(0) saturate(1.04);
  }
  100% {
    opacity: 0;
    transform: scale(5.8);
    filter: blur(9px) saturate(1.1);
  }
}

@keyframes intro-tunnel {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  58% {
    opacity: 0.64;
    transform: scale(1.55);
  }
  100% {
    opacity: 0;
    transform: scale(4.8);
  }
}

@keyframes intro-layer {
  0%,
  82% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes sky-breathe {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-1%, -0.8%, 0);
  }
}

@keyframes hero-copy-left {
  from {
    opacity: 0;
    transform: translateX(-72px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-copy-right {
  from {
    opacity: 0;
    transform: translateX(72px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scroll-dot {
  0%,
  100% {
    opacity: 0.45;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 16px);
  }
}

@media (max-width: 980px) {
  .site-header {
    inset: 14px 16px auto;
    padding: 12px 14px;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
  }

  .nav {
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 10px 14px;
  }

  .hero {
    min-height: 880px;
    padding-top: 172px;
  }

  .hero-content {
    min-height: 620px;
    grid-template-columns: 1fr;
    gap: clamp(150px, 22vh, 230px);
  }

  .hero-left {
    padding-top: 0;
  }

  .hero-right {
    padding-top: 0;
  }

  .hero-content,
  .section-shell,
  .legal-links,
  .site-footer {
    width: min(100% - 32px, 1240px);
  }

  .story-grid,
  .split-layout,
  .pricing-layout,
  .privacy-layout,
  .finale-layout,
  .audience-layout {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-row:nth-child(even) .feature-copy { order: 1; }
  .feature-row:nth-child(even) .feature-phone { order: 2; }

  .feature-copy {
    max-width: 100%;
  }

  .feature-rows {
    gap: 64px;
  }

  .journey-band .story-media {
    width: 100%;
    justify-self: stretch;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .intro-window-image {
    background: none;
    animation-name: intro-window-flight-mobile;
  }

  .intro-window-image::before,
  .intro-window-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
  }

  .intro-window-image::before {
    background-image: image-set(
      url("../public/assets/staylimit-intro-airplane-window-836.avif") type("image/avif"),
      url("../public/assets/staylimit-intro-airplane-window-836.webp") type("image/webp"),
      url("../public/assets/staylimit-intro-airplane-window.png") type("image/png")
    );
    background-size: cover;
    filter: blur(22px) brightness(0.52) saturate(0.92);
    transform: scale(1.12);
  }

  .intro-window-image::after {
    background:
      linear-gradient(180deg, rgba(8, 17, 31, 0.16), rgba(8, 17, 31, 0.38)),
      image-set(
        url("../public/assets/staylimit-intro-airplane-window-836.avif") type("image/avif"),
        url("../public/assets/staylimit-intro-airplane-window-836.webp") type("image/webp"),
        url("../public/assets/staylimit-intro-airplane-window.png") type("image/png")
      ) center / auto min(74vh, 640px) no-repeat;
  }

  .intro-tunnel {
    background:
      radial-gradient(ellipse 19% 18% at 50% 50%, transparent 0 58%, rgba(8, 17, 31, 0.24) 70%, rgba(8, 17, 31, 0.86) 100%);
    animation-name: intro-tunnel-mobile;
  }

  #story,
  #zielgruppen,
  #download,
  #pro {
    scroll-margin-top: 24px;
  }

  .site-header {
    position: absolute;
    inset: 10px 10px auto;
    padding: 10px;
    border-radius: 14px;
  }

  .brand {
    gap: 8px;
    font-size: 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 21px;
  }

  .nav {
    display: flex;
    width: 100%;
    gap: 8px 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 12px;
  }

  .nav-cta {
    min-height: auto;
    padding: 0;
    background: transparent;
    color: inherit;
  }

  .hero {
    min-height: 800px;
    padding: 132px 16px 64px;
  }

  .hero-content {
    min-height: 600px;
    gap: clamp(110px, 18vh, 160px);
  }

  h1 {
    font-size: clamp(44px, 13vw, 48px);
  }

  h2 {
    font-size: clamp(31px, 9vw, 36px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-facts,
  .pricing-cards,
  .qr-grid,
  .audience-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    display: grid;
  }

  .journey-band,
  .feature-runway,
  .audience-section,
.split-story,
.privacy-section,
.pricing-section,
.faq-section,
.download-finale {
  padding: 82px 0;
}

.faq-list {
  grid-template-columns: 1fr;
}

.contact-panel,
.legal-card {
    padding: 22px;
  }

  .legal-card h1 {
    font-size: clamp(30px, 8.2vw, 34px);
  }

  .legal-card h2 {
    font-size: 24px;
  }

  .iphone17 {
    width: min(100%, 280px);
  }

  .story-media {
    border-radius: 18px;
  }

  .story-media img,
  .story-media.wide img {
    height: 100%;
    aspect-ratio: auto;
  }

  .legal-links,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes intro-window-flight-mobile {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) saturate(1);
  }
  46% {
    opacity: 1;
    transform: scale(1.1);
    filter: blur(0) saturate(1.04);
  }
  100% {
    opacity: 0;
    transform: scale(4.2);
    filter: blur(8px) saturate(1.1);
  }
}

@keyframes intro-tunnel-mobile {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  58% {
    opacity: 0.62;
    transform: scale(1.38);
  }
  100% {
    opacity: 0;
    transform: scale(3.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sky,
  .hero-left,
  .hero-right,
  .hero-scroll span {
    animation: none;
  }
}
