:root {
  --color-primary: #C20A66;
  --color-bg: #0D0B0F;
  --color-surface: #1C1A1E;
  --color-text: #F2EEF0;
  --color-text-secondary: #A9A2A6;
  --color-border: #322E32;
  --color-success: #4ADE80;
  --color-error: #FF6B6B;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --gutter: 20px;
  --page-l: max(var(--gutter), var(--safe-left));
  --page-r: max(var(--gutter), var(--safe-right));
  --screenshot-aspect: 646 / 1307;
  --screenshot-height-ratio: 2.03;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  touch-action: manipulation;
}

.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--color-bg);
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(clamp(48px, 14vw, 80px));
  opacity: 0.35;
  animation: aurora-float 20s ease-in-out infinite;
  will-change: transform;
}

.blob-1 {
  width: min(500px, 105vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, #C20A66, transparent 70%);
  top: -10%;
  left: -10%;
}

.blob-2 {
  width: min(400px, 85vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, #D4A017, transparent 70%);
  bottom: 10%;
  right: -5%;
  animation-delay: -7s;
}

.blob-3 {
  width: min(350px, 70vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, #4A9E6A, transparent 70%);
  top: 40%;
  left: 60%;
  animation-delay: -14s;
}

@keyframes aurora-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-blob {
    animation: none;
  }
}

#scentCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 16px var(--page-r) 16px var(--page-l);
  padding-top: max(16px, env(safe-area-inset-top, 0px));
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(13, 11, 15, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-text);
  text-decoration: none;
}

.wordmark-accent {
  color: var(--color-primary);
}

.language-switcher {
  position: absolute;
  top: max(13px, env(safe-area-inset-top, 0px));
  right: var(--page-r);
  display: grid;
  grid-template-columns: repeat(2, 38px);
  height: 36px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(28, 26, 30, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.language-switcher button {
  appearance: none;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--color-text-secondary);
  font: 700 11px/1 var(--font-family);
  letter-spacing: 0;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(194, 10, 102, 0.35);
}

.language-switcher button:focus-visible {
  outline: 2px solid #F2EEF0;
  outline-offset: 2px;
}

/* Gegenstück zum Sprachschalter, links in der Kopfzeile der Startseite. */
.header-news {
  position: absolute;
  top: max(13px, env(safe-area-inset-top, 0px));
  left: var(--page-l);
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(28, 26, 30, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  font: 700 11px/1 var(--font-family);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-news:focus-visible {
  outline: 2px solid #F2EEF0;
  outline-offset: 2px;
}

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(16px, 5vw, 32px) var(--page-r) clamp(36px, 9vw, 48px) var(--page-l);
  text-align: center;
}

/* Hero mit Hintergrund-Video (reicht nach oben hinter den Header) */
.hero-stage {
  position: relative;
  isolation: isolate;
}

.hero-video-bg {
  position: absolute;
  inset: -120px 0 0 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(13, 11, 15, 0.35) 0%, rgba(13, 11, 15, 0.7) 100%),
    linear-gradient(to bottom, rgba(13, 11, 15, 0.3) 0%, rgba(13, 11, 15, 0.45) 100%);
}

.hero-sound-toggle {
  bottom: 20px;
  right: var(--page-r);
}

.hero-stage .hero {
  padding-bottom: clamp(80px, 12vw, 96px);
}

/* Lesbarkeit: Überschrift und Untertitel auf einer dunklen Glasfläche vor dem Video */
.hero-copy {
  margin: 0 auto 24px;
  padding: clamp(20px, 5vw, 32px) clamp(18px, 5vw, 40px);
  background: rgba(13, 11, 15, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-copy .subtitle {
  color: #CFC8CC;
  margin-bottom: 0;
  /* Mobile-Breite (100vw - 48px) würde über die Fläche hinausragen */
  width: auto;
  max-width: 560px;
}

/* Auf breiten Screens nach außen ziehen, damit die Überschrift zweizeilig bleibt */
@media (min-width: 840px) {
  .hero-copy {
    margin-inline: -48px;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 9.5vw, 60px);
  text-wrap: balance;
  overflow-wrap: break-word;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 calc(20px - 0.16em);
  /* background-clip: text endet an der Box – Platz für Unterlängen (y, g) lassen */
  padding-block: 0.04em 0.16em;
  background: linear-gradient(105deg, var(--color-text) 45%, #E85D9F 75%, #D4A017 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-text);
  animation: rise-in 0.6s ease both, gradient-shift 6s ease infinite;
  animation-delay: 0.05s, 0s;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero > * {
  animation: rise-in 0.6s ease both;
}

.hero h1 { animation-delay: 0.05s; }

@media (prefers-reduced-motion: reduce) {
  .hero h1 {
    animation: none;
    background-size: 100% auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero > * {
    animation: none;
  }
}

.hero .subtitle { animation-delay: 0.15s; }
.hero .independence-note { animation-delay: 0.2s; }
.hero #waitlist-form { animation-delay: 0.3s; }
.hero .feature-list { animation-delay: 0.4s; }

.subtitle {
  color: var(--color-text-secondary);
  font-size: clamp(15px, 4.1vw, 17px);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto 10px;
  text-wrap: pretty;
}

.independence-note {
  max-width: 520px;
  margin: 0 auto clamp(24px, 6vw, 32px);
  color: rgba(169, 162, 166, 0.78);
  font-size: 12px;
  line-height: 1.45;
  text-wrap: pretty;
}

@media (max-width: 600px) {
  .hero {
    padding-inline: max(24px, var(--page-l)) max(24px, var(--page-r));
  }

  .hero h1 {
    font-size: clamp(30px, 8.2vw, 34px);
    max-width: 9em;
    margin-inline: auto;
  }

  .subtitle {
    width: min(34ch, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    overflow-wrap: break-word;
  }

  .independence-note {
    width: min(36ch, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    overflow-wrap: break-word;
  }

  #waitlist-form {
    width: min(100%, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }

  .form-row {
    width: 100%;
    max-width: 100%;
  }

  #email {
    width: 100%;
  }

  .desktop-br {
    display: none;
  }
}

#waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  padding: clamp(16px, 4.5vw, 20px);
  scroll-margin-top: 84px;
  border-radius: 20px;
  background: rgba(28, 26, 30, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.35);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: flex;
  width: 100%;
  max-width: 420px;
  gap: 8px;
}

/* Auf Telefonen (iPhone 17 = 402pt) untereinander: volle Breite, bequem tappbar */
@media (max-width: 520px) {
  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  #submit-button {
    width: 100%;
  }
}

#email {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 16px;
  background: rgba(13, 11, 15, 0.5);
  color: var(--color-text);
}

#email:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: transparent;
}

#submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  min-width: 110px;
  min-height: 48px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  #submit-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(194, 10, 102, 0.45);
  }
}

#submit-button:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

#submit-button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

#submit-button:disabled {
  opacity: 0.7;
  cursor: default;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner[hidden] {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-message {
  min-height: 20px;
  font-size: 14px;
  margin: 0;
}

/* solange keine Meldung da ist, keinen leeren Streifen in der Karte reservieren */
.form-message:empty {
  min-height: 0;
}

.form-message.success {
  color: var(--color-success);
}

.form-message.error {
  color: var(--color-error);
}

/* ── Success animation ── */
.success-animation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px 0;
}

.success-animation[hidden] {
  display: none;
}

.checkmark {
  width: 48px;
  height: 48px;
}

.checkmark-circle {
  stroke: var(--color-success);
  stroke-width: 2;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: checkmark-circle-fill 0.6s ease-in-out forwards;
}

.checkmark-check {
  stroke: var(--color-success);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkmark-draw 0.4s 0.4s ease-in-out forwards;
}

@keyframes checkmark-circle-fill {
  to { stroke-dashoffset: 0; }
}

@keyframes checkmark-draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .checkmark-circle,
  .checkmark-check {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ── Waitlist counter (Kopf der Formularkarte) ── */
#waitlist-form {
  gap: 18px;
}

.counter-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.counter-head[hidden] {
  display: none;
}

.counter-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.counter-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(64px, 18vw, 88px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(105deg, var(--color-text) 40%, #E85D9F 78%, #D4A017 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.counter-body {
  font-size: 15px;
  color: var(--color-text);
  text-wrap: pretty;
}

.counter-next {
  font-size: 13px;
  color: var(--color-text-secondary);
  text-wrap: pretty;
}

.counter-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.counter-live[hidden] {
  display: none;
}

.counter-live-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

.counter-live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-success);
  opacity: 0.55;
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(3.3); opacity: 0; }
  100% { transform: scale(3.3); opacity: 0; }
}

@keyframes counter-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.counter-pop {
  animation: counter-pop 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .counter-live-dot::after,
  .counter-pop {
    animation: none;
  }
}

.feature-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
  margin: clamp(24px, 6vw, 32px) 0 0;
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-list li {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(28, 26, 30, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .feature-list li:hover {
    color: var(--color-text);
    border-color: rgba(194, 10, 102, 0.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 0 16px rgba(194, 10, 102, 0.25);
  }
}

/* Telefone: saubere 2x2-Kachelung statt 3+1-Umbruch */
@media (max-width: 520px) {
  .feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 320px;
    margin-inline: auto;
  }

  .feature-list li {
    text-align: center;
    padding: 10px 12px;
  }
}

/* Werbebild direkt unter dem Hero-Video */
.app-showcase {
  padding: clamp(16px, 4vw, 32px) var(--page-r) 0 var(--page-l);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-copy {
  max-width: 760px;
  margin: 0 auto clamp(24px, 4vw, 36px);
  text-align: center;
}

.phones-copy {
  margin-top: clamp(56px, 10vw, 96px);
  margin-bottom: 0;
  padding: 0 var(--page-r) 0 var(--page-l);
}

.showcase-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 40px);
  margin: 8px 0 16px;
  line-height: 1.2;
  text-wrap: balance;
}

.showcase-desc {
  color: var(--color-text-secondary);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.65;
  margin: 0;
  text-wrap: pretty;
}

.app-showcase picture {
  display: block;
  width: 100%;
  max-width: 1200px;
}

.app-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(194, 10, 102, 0.18);
}

.screenshots-3d {
  perspective: 1200px;
  padding: clamp(24px, 7vw, 40px) var(--page-r) clamp(48px, 12vw, 80px) var(--page-l);
  display: flex;
  justify-content: center;
}

/* Geometrie über Variablen: skaliert von 320er-Displays bis Desktop ohne Sprünge */
.phone-stack {
  --phone-w: min(170px, (100vw - 2 * var(--gutter)) / 1.88);
  --phone-offset: calc(var(--phone-w) * 0.441);
  position: relative;
  width: calc(var(--phone-w) + var(--phone-offset) * 2);
  height: calc(var(--phone-w) * var(--screenshot-height-ratio) + 20px);
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.phone-stack::before {
  content: "";
  position: absolute;
  inset: 5% 10%;
  background: radial-gradient(circle, rgba(194, 10, 102, 0.35), transparent 70%);
  filter: blur(30px);
  transform: translateZ(-70px);
  pointer-events: none;
}

.phone-stack .phone-frame {
  position: absolute;
  width: var(--phone-w);
  aspect-ratio: var(--screenshot-aspect);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready .screenshots-3d:not(.in-view) .phone-frame:nth-child(1) {
  transform: translateX(var(--phone-offset)) translateZ(-40px) rotateY(0deg);
}

.reveal-ready .screenshots-3d:not(.in-view) .phone-frame:nth-child(3) {
  transform: translateX(calc(-1 * var(--phone-offset))) translateZ(-40px) rotateY(0deg);
}

.phone-stack .phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.phone-stack .phone-frame:nth-child(1) {
  left: 0;
  top: 10px;
  transform: translateZ(-40px) rotateY(12deg);
  z-index: 1;
}

.phone-stack .phone-frame:nth-child(2) {
  left: var(--phone-offset);
  top: 0;
  transform: none;
  z-index: 2;
}

.phone-stack .phone-frame:nth-child(3) {
  left: calc(var(--phone-offset) * 2);
  top: 10px;
  transform: translateZ(-40px) rotateY(-12deg);
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .phone-stack:hover .phone-frame:nth-child(1) {
    transform: translateZ(-20px) rotateY(12deg) translateX(-10px);
  }

  .phone-stack:hover .phone-frame:nth-child(3) {
    transform: translateZ(-20px) rotateY(-12deg) translateX(10px);
  }
}

/* Telefone: Stack darf die Breite besser ausnutzen als am Desktop */
@media (max-width: 640px) {
  .phone-stack {
    --phone-w: min(172px, (100vw - 44px) / 1.88);
  }
}

/* Story Section ("Unsere Geschichte") */
.story-section {
  max-width: 880px;
  margin: 72px auto 48px auto;
  padding: 0 var(--page-r);
  text-align: center;
}

.story-copy {
  max-width: 640px;
  margin: 0 auto 36px auto;
}

.story-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 40px);
  margin: 8px 0 16px;
  line-height: 1.2;
  text-wrap: balance;
}

.story-desc {
  color: var(--color-text-secondary);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.65;
  margin: 0 auto 24px auto;
  text-wrap: pretty;
}

/* Timeline Milestones */
.story-milestones {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: 8px 16px;
  background: rgba(28, 26, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.story-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.story-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
}

.story-badge--active {
  color: var(--color-text);
  font-weight: 600;
}

.story-dot--active {
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}

.story-arrow {
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
  user-select: none;
}

.story-device-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.story-device-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(194, 10, 102, 0.45), transparent 70%);
  filter: blur(40px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.story-device-frame {
  position: relative;
  z-index: 1;
  width: min(290px, 78vw);
  aspect-ratio: 9 / 16;
  border-radius: clamp(32px, 8vw, 44px);
  background: #000;
  overflow: hidden;
  box-shadow: 0 0 0 3px #262329, 0 0 0 4px rgba(255, 255, 255, 0.1), 0 30px 60px rgba(0, 0, 0, 0.8);
}

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

.story-sound-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(13, 11, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.story-sound-toggle:hover {
  background: rgba(194, 10, 102, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

.story-sound-toggle svg {
  flex-shrink: 0;
}

.story-sound-toggle svg[hidden] {
  display: none;
}

.features {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px var(--page-r) 40px var(--page-l);
  display: flex;
  flex-direction: column;
  gap: 96px;
}

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

.feature-block:nth-child(even) .feature-phone {
  order: 2;
}

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

.feature-phone .phone-frame {
  width: 240px;
  aspect-ratio: var(--screenshot-aspect);
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .feature-phone .phone-frame:hover {
    transform: translateY(-6px);
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 24px rgba(194, 10, 102, 0.2));
  }
}

.feature-phone .phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.feature-copy .eyebrow,
.showcase-copy .eyebrow,
.story-copy .eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.feature-copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4.5vw, 34px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.feature-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 16px;
}

@media (max-width: 640px) {
  .features {
    gap: clamp(48px, 13vw, 64px);
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: clamp(18px, 5vw, 24px);
    text-align: center;
  }

  .feature-block:nth-child(even) .feature-phone {
    order: 0;
  }

  .feature-phone .phone-frame {
    width: min(220px, 56vw);
  }

  .feature-copy h2 {
    text-wrap: balance;
  }

  .feature-copy p:not(.eyebrow) {
    max-width: 34ch;
    margin-inline: auto;
    text-wrap: pretty;
  }
}

.cta-final {
  text-align: center;
  padding: clamp(28px, 8vw, 40px) var(--page-r) clamp(48px, 13vw, 72px) var(--page-l);
}

.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4.5vw, 34px);
  margin: 0 0 20px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(194, 10, 102, 0.45);
  }
}

.cta-button:active {
  transform: scale(0.98);
}

.cta-button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-ready .reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 640px) {
  .reveal-ready .screenshots-3d .phone-stack {
    transition:
      opacity 0.65s ease,
      transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal-ready .screenshots-3d:not(.in-view) .phone-stack {
    opacity: 0;
    transform: translate3d(0, 32px, 0) scale(0.96);
  }

  .reveal-ready .feature-block.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-ready .feature-block .feature-phone,
  .reveal-ready .feature-block .feature-copy {
    transition:
      opacity 0.65s ease,
      transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal-ready .feature-block:not(.in-view) .feature-phone {
    opacity: 0;
    transform: translate3d(0, 36px, 0) scale(0.97);
  }

  .reveal-ready .feature-block:not(.in-view) .feature-copy {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  .reveal-ready .feature-block.in-view .feature-copy {
    transition-delay: 0.12s;
  }
}

.confirm-page {
  max-width: 480px;
  margin: 0 auto;
  padding: clamp(40px, 12vw, 64px) var(--page-r) clamp(40px, 12vw, 64px) var(--page-l);
  text-align: center;
}

.confirm-page h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 7.5vw, 30px);
  text-wrap: balance;
  margin: 0 0 12px;
}

.legal-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px var(--page-r) calc(48px + var(--safe-bottom)) var(--page-l);
}

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 7vw, 28px);
}

.legal-page p,
.legal-page li {
  overflow-wrap: break-word;
}

.legal-page h2 {
  font-size: 18px;
  margin-top: 32px;
}

.legal-page ul {
  padding-left: 1.25em;
}

.legal-page li + li {
  margin-top: 6px;
}

.legal-page a {
  color: var(--color-text);
  text-decoration: underline;
}

.news-status {
  margin: 24px 0 8px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
}

.news-status h2 {
  margin-top: 4px;
}

.news-eyebrow {
  margin: 0;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-post {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.news-post time {
  color: var(--color-text-secondary);
  font-size: 14px;
}

.news-post h2 {
  margin: 6px 0 8px;
}

.news-post p {
  margin: 0;
}

.news-cta {
  margin-top: 40px;
  text-align: center;
}

.news-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 6vw, 26px);
}

/* .legal-page a unterstreicht sonst auch den Button. */
.news-cta .cta-button {
  text-decoration: none;
}

.news-instagram {
  margin-top: 20px;
  color: var(--color-text-secondary);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px var(--page-r) calc(32px + var(--safe-bottom)) var(--page-l);
  color: var(--color-text-secondary);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.site-footer a {
  color: var(--color-text-secondary);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
}

/* Telefon im Querformat: vertikal knapp, also Abstände straffen */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    padding-top: 12px;
    padding-bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 12px;
  }

  .subtitle {
    margin-bottom: 20px;
  }

  .feature-list {
    margin-top: 20px;
  }

  .screenshots-3d {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .phone-stack {
    --phone-w: min(150px, (100vh - 120px) / 2);
  }
}

/* ── Platform and access note under the signup button ── */
.launch-note {
  width: 100%;
  max-width: 420px;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

/* ── Optional updates consent ── */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.consent-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.consent-check input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.preferences-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.preferences-button.secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.preferences-button:disabled {
  opacity: 0.7;
  cursor: default;
}

.preferences-button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 12px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(28, 26, 30, 0.6);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.back-button::before {
  content: "←";
  transition: transform 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .back-button:hover {
    border-color: var(--color-primary);
  }

  .back-button:hover::before {
    transform: translateX(-3px);
  }
}

.back-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
