/* Sealed landing page — design tokens mirror src/theme/tokens.ts */

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/fraunces-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/spacemono-latin-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/spacemono-latin-ext-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "DSEG14";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/DSEG14Classic-Regular.ttf") format("truetype");
}

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface2: #1c1c1c;
  --border: #2a2a2a;
  --text: #edeae3;
  --text-dim: #8c8a84;
  --accent: #f4f2ed;
  --rec: #e5322d;

  --r-sm: 14px;
  --r-md: 20px;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-label: "Space Mono", ui-monospace, monospace;
  --font-display: "DSEG14", "Space Mono", monospace;
  --font-heading: "Fraunces", Georgia, serif;

  --maxw: 1120px;
  --pad: 24px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- film grain overlay ------------------------------------------------ */

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background-image: url("../img/grain.png");
  background-repeat: repeat;
  opacity: 0.05;
}

/* --- typography --------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 16px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 14ch;
}

.section-headline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 22ch;
}

.final-headline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  color: var(--text);
  max-width: 24ch;
}

p {
  color: var(--text-dim);
}

.mono {
  font-family: var(--font-label);
}

/* --- layout helpers ----------------------------------------------------- */

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px var(--pad);
}

.section-alt {
  /* full-bleed tonal band - surface fill on bg, borderless */
  max-width: 100%;
  background: var(--surface);
  padding-left: 0;
  padding-right: 0;
}

/* every direct child of a band is re-centered to the content width */
.section-alt > * {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section-sub {
  max-width: 52ch;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

/* --- header / nav -------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px var(--pad);
  background: var(--bg);
}

.wordmark {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 120ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  /* .nav-links normally carries the margin-left:auto that pushes
     everything after it to the right edge of the header. On mobile
     .nav-links is display:none, which drops that push entirely and
     left-aligns this group — so it needs its own fallback. Harmless on
     desktop: .nav-links already consumed the free space by then. */
  margin-left: auto;
}

.lang-toggle {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 8px;
  transition: color 120ms ease;
}

.lang-toggle:hover {
  color: var(--text);
}

/* --- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  color: var(--text-dim);
}

.btn-small {
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.9rem;
}

/* --- hero ----------------------------------------------------------------- */

.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px var(--pad) 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-sub {
  max-width: 46ch;
  margin: 24px 0 0;
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
}

/* image slot (real screenshots fill via object-fit: cover) */
.shot {
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Fragen-/Texteingabe-Screen: Frage (Headline) oben, Zurück-Pfeil/Statusleiste abschneiden */
.shot[data-slot="type-text"] img {
  object-position: 50% 44%;
}

.hero-visual .shot {
  min-height: 480px;
  border-radius: var(--r-md);
}

.shot-icon {
  color: var(--text-dim);
  display: flex;
}

.shot-label {
  position: absolute;
  inset: auto 16px 16px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.film-counter {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.counter-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}

.counter-cap {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- concept cards --------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card .shot {
  min-height: 260px;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
}

/* --- how it works ----------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 48px auto 0;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  background: var(--surface2);
  border-radius: var(--r-sm);
  padding: 28px 24px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  font-size: 0.94rem;
}

.countdown-note {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 48px;
}

.countdown-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
}

.countdown-cap {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- values ------------------------------------------------------------------ */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.value h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.value p {
  margin: 0;
  font-size: 0.98rem;
}

/* --- audiences ----------------------------------------------------------------- */

.audiences {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.audience {
  background: var(--surface2);
  border-radius: var(--r-sm);
  padding: 28px 24px;
}

.audience h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.audience p {
  margin: 0;
  font-size: 0.94rem;
}

/* --- final CTA ----------------------------------------------------------------- */

.final {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final .eyebrow {
  margin-bottom: 20px;
}

.final-sub {
  margin: 24px 0 0;
  font-size: 1.05rem;
}

.final-cta {
  margin-top: 36px;
}

.store-badges {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.badge-ph {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 10px 16px;
  background: var(--surface);
  border-radius: var(--r-sm);
}

/* --- footer --------------------------------------------------------------------- */

.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--pad) 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer-mark {
  display: block;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-tagline {
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  max-width: 30ch;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-legal a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 120ms ease;
}

.footer-legal a:hover {
  color: var(--text);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 0;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid var(--surface2);
}

.footer-meta .mono {
  font-size: 0.72rem;
}

/* --- motion ----------------------------------------------------------------------- */

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.no-motion .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- responsive --------------------------------------------------------------------- */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .hero-visual .shot {
    min-height: 360px;
  }

  .cards,
  .steps,
  .values {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 600px) {
  .section {
    padding: 64px var(--pad);
  }

  .cards,
  .steps,
  .values,
  .audiences {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    align-items: flex-start;
  }

  .footer-meta {
    flex-direction: column;
  }
}

/* --- cookie / privacy notice banner --------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 70;
  width: calc(100% - 32px);
  max-width: 560px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.cookie-banner a {
  color: var(--text);
}

.cookie-banner button {
  flex: 0 0 auto;
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
}
