/* ═══════════════════════════════════════════════════════════
   Hey Alfred — Website Styles
   Design tokens mirror AlfredTheme.swift ("Warm Premium")
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Colors — pulled from AlfredTheme.swift */
  --accent: #ef5a3c;
  --accent-hover: #db4a2d;
  --accent-light: rgba(239, 90, 60, 0.07);
  --accent-badge: rgba(239, 90, 60, 0.15);

  --bg: #f5f1ec;
  --bg-alt: #efeae3;
  --card: #ffffff;
  --dark: #1a1a1a;

  --text: #1a1a1a;
  --text-2: #8c8377;
  --text-3: #b5afa6;

  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Sizing */
  --container: 1200px;
  --container-narrow: 760px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.04);
  --shadow: 0 4px 20px rgba(26, 26, 26, 0.06);
  --shadow-lg: 0 20px 50px rgba(26, 26, 26, 0.1);
}

/* ─── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Language visibility controlled via [lang] on <html> + JS data-i18n */
[hidden] {
  display: none !important;
}

/* ─── Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head-light .section-eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 16px;
}

.section-sub {
  color: var(--text-2);
  font-size: 17px;
  margin: 0;
}

/* ─── Header / Nav ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 236, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
  background: var(--card);
}

.lang-switch button {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: var(--card);
  border-color: var(--accent);
  color: var(--accent) !important;
}

.btn-dark {
  background: var(--dark);
  color: #fff !important;
}

.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Button with leading platform icon (Wispr-style) */
.btn .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary .btn-icon { fill: #fff; }
.btn-dark .btn-icon { fill: #fff; }
.btn-ghost .btn-icon { fill: currentColor; }

/* ─── Platform Pills (Hero top row) ─────────────────────── */
.platform-pills {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 32px;
  flex-wrap: wrap;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 14px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s ease;
}

.platform-pill svg {
  width: 16px;
  height: 16px;
  fill: var(--text);
}

.platform-pill:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ─── Animated Waveform Signature ───────────────────────── */
/* Matches KeyboardViewController.swift WaveformView exactly.
   11 bars, Alfred orange, organic asymmetric pulse (endless loop). */

.waveform {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto;
}

.waveform .wf-bar {
  fill: var(--accent);
  rx: 4;
  transform-origin: center;
  transform-box: fill-box;
  animation: wf-speech 4.5s ease-in-out infinite;
  animation-delay: var(--wf-delay, 0s);
  will-change: transform;
}

/* Realistic speech rhythm: talk → pause → talk → fade out → breathe → repeat */
@keyframes wf-speech {
  0%   { transform: scaleY(0.4);  }
  3%   { transform: scaleY(1.6);  }
  6%   { transform: scaleY(0.6);  }
  10%  { transform: scaleY(2.8);  }
  14%  { transform: scaleY(0.8);  }
  18%  { transform: scaleY(2.2);  }
  22%  { transform: scaleY(0.4);  }  /* micro pause */
  28%  { transform: scaleY(3.2);  }  /* stressed syllable */
  32%  { transform: scaleY(1.0);  }
  36%  { transform: scaleY(2.5);  }
  40%  { transform: scaleY(0.7);  }
  46%  { transform: scaleY(0.3);  }  /* word gap */
  52%  { transform: scaleY(2.4);  }
  56%  { transform: scaleY(0.8);  }
  60%  { transform: scaleY(3.0);  }  /* emphasis */
  65%  { transform: scaleY(0.5);  }
  70%  { transform: scaleY(1.6);  }
  76%  { transform: scaleY(0.35); }  /* trailing off */
  82%  { transform: scaleY(0.25); }  /* sentence pause */
  90%  { transform: scaleY(0.3);  }
  100% { transform: scaleY(0.4);  }  /* breathe → loop */
}

/* Each bar is offset so the waveform "flows" left→right like real audio */
.wf-b1  { --wf-delay: 0.00s; }
.wf-b2  { --wf-delay: 0.06s; }
.wf-b3  { --wf-delay: 0.12s; }
.wf-b4  { --wf-delay: 0.04s; }
.wf-b5  { --wf-delay: 0.10s; }
.wf-b6  { --wf-delay: 0.02s; }
.wf-b7  { --wf-delay: 0.08s; }
.wf-b8  { --wf-delay: 0.14s; }
.wf-b9  { --wf-delay: 0.05s; }
.wf-b10 { --wf-delay: 0.11s; }
.wf-b11 { --wf-delay: 0.03s; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .waveform .wf-bar {
    animation: none;
  }
}

/* ─── Hero Gradient Mesh Background ─────────────────────── */
.hero.hero-v2 {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
  background: var(--bg);
}

.hero.hero-v2::before {
  content: none;
}

.hero.hero-v2 .container {
  position: relative;
  z-index: 1;
}

.hero-v2 .hero-center {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-v2 .display {
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.hero-v2 .display .underline-accent {
  position: relative;
  white-space: nowrap;
}

.hero-v2 .display .underline-accent::after {
  content: none;
}

.hero-v2 .lede {
  font-size: 20px;
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--text-2);
  line-height: 1.55;
}

.hero-v2 .cta-row {
  justify-content: center;
  margin-bottom: 12px;
}

.hero-availability {
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  margin: 0 0 48px;
  letter-spacing: 0.01em;
}

.hero-v2 .hero-signature {
  margin: 16px auto 0;
  max-width: 320px;
}

.hero-v2 .hero-signature-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-v2 .hero-signature-label::before,
.hero-v2 .hero-signature-label::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--border-strong);
}

/* ─── Section: In all your apps ─────────────────────────── */
.apps-section {
  padding: 112px 0;
  background: var(--bg);
}

.apps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 1fr);
  gap: 64px;
  align-items: center;
}

.apps-grid h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  margin: 16px 0 20px;
  letter-spacing: -0.03em;
}

.apps-grid .lede {
  font-size: 18px;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 0 28px;
}

.apps-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 520px;
}

.apps-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}

.apps-list li:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.apps-list .apps-list-more {
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-2);
  padding: 8px 14px;
}

.apps-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  margin-left: auto;
}

.apps-orbit-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apps-orbit-phone {
  width: 62%;
  aspect-ratio: 1179 / 2556;
  background: #0a0a0a;
  border-radius: 38px;
  border: 6px solid #0a0a0a;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.18),
    0 10px 30px rgba(239, 90, 60, 0.18),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.apps-orbit-phone-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 32px;
}

.apps-orbit-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-icon {
  position: absolute;
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: 0 12px 24px rgba(26, 26, 26, 0.14);
  filter: drop-shadow(0 6px 14px rgba(26, 26, 26, 0.12));
  animation: orbit-float 6s ease-in-out infinite;
  will-change: transform;
}

/* drop-shadow is enough — kill the rectangular box-shadow */
.orbit-icon { box-shadow: none; }

@keyframes orbit-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Left side — staggered Y, subtle zigzag X */
.orbit-icon--whatsapp  { top: -2%; left:   2%; width: 60px; height: 60px; animation-delay: 0.0s; }
.orbit-icon--signal    { top: 20%; left:  -8%; width: 50px; height: 50px; animation-delay: 1.4s; }
.orbit-icon--gmail     { top: 44%; left:   0%; width: 56px; height: 56px; animation-delay: 0.7s; }
.orbit-icon--notes     { top: 68%; left:  -8%; width: 54px; height: 54px; animation-delay: 2.1s; }
.orbit-icon--applemail { top: 92%; left:   2%; width: 56px; height: 56px; animation-delay: 2.8s; }

/* Right side — Y values offset from left so they never pair up; subtle X zigzag */
.orbit-icon--messenger { top:  4%; right: -2%; width: 58px; height: 58px; animation-delay: 0.3s; }
.orbit-icon--teams     { top: 22%; right:  2%; width: 52px; height: 52px; animation-delay: 1.7s; }
.orbit-icon--slack     { top: 38%; right: -8%; width: 56px; height: 56px; animation-delay: 1.0s; }
.orbit-icon--outlook   { top: 58%; right:  2%; width: 52px; height: 52px; animation-delay: 2.4s; }
.orbit-icon--chatgpt   { top: 78%; right: -8%; width: 54px; height: 54px; animation-delay: 0.5s; }
.orbit-icon--claude    { top: 94%; right:  4%; width: 52px; height: 52px; animation-delay: 1.9s; }

/* ─── Section: Speed Comparison (warm cream + accent winner) ── */
.speed-section {
  padding: 120px 0;
  background: var(--bg-alt);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.speed-section::before {
  content: none;
}

.speed-section .section-head {
  position: relative;
  z-index: 1;
}

.speed-section .section-eyebrow {
  color: var(--accent);
}

.speed-section h2 {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 16px;
}

.speed-section h2 .underline-accent {
  position: relative;
  display: inline-block;
}

.speed-section h2 .underline-accent::after {
  content: none;
}

.speed-section .section-sub {
  color: var(--text-2);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 72px;
}

.speed-compare {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.speed-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(26, 26, 26, 0.06);
}

.speed-card.winner {
  background: linear-gradient(145deg, var(--accent) 0%, #e8492d 100%);
  border: 1px solid transparent;
  color: #fff;
  box-shadow:
    0 30px 60px rgba(239, 90, 60, 0.28),
    0 10px 30px rgba(239, 90, 60, 0.18);
}

.speed-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.speed-card.winner .speed-label {
  color: rgba(255, 255, 255, 0.85);
}

.speed-number {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 16px 0 4px;
  color: var(--text);
}

.speed-card.winner .speed-number {
  color: #fff;
}

.speed-unit {
  font-size: 16px;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 24px;
}

.speed-card.winner .speed-unit {
  color: rgba(255, 255, 255, 0.8);
}

.speed-demo {
  font-size: 14px;
  line-height: 1.5;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--text-2);
  min-height: 80px;
  white-space: pre-wrap;
}

.speed-demo .typing-cursor {
  display: inline-block;
  width: 7px;
  height: 1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

.speed-card.winner .speed-demo .typing-cursor {
  background: #fff;
}

@keyframes blink {
  50% { opacity: 0; }
}

.speed-card.winner .speed-demo {
  color: #fff;
}

/* Slow typing animation */
.speed-demo.slow {
  animation: type-slow 18s steps(1) infinite;
}

.speed-demo.fast {
  animation: type-fast 6s steps(1) infinite;
}

@keyframes type-slow {
  0%   { content: "Hey Max, la"; }
  100% { content: "Hey Max, lass uns am Dienstag um 16 Uhr treffen."; }
}

/* ─── Section background variations ─────────────────────── */
.section-warm {
  background: var(--bg);
}

.section-cream {
  background: var(--bg-alt);
}

.section-dark-soft {
  background: #121212;
  color: #fff;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 32px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin: 0 0 24px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.display {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.accent-text {
  color: var(--accent);
}

.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.cta-row-center {
  justify-content: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--text-2);
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-row .check {
  color: var(--accent);
  font-weight: 700;
}

/* ─── Placeholders ──────────────────────────────────────── */
.placeholder {
  background: var(--card);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  text-align: center;
  padding: 24px;
  position: relative;
}

.placeholder::after {
  content: attr(data-placeholder);
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--text-3);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.placeholder-hero {
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-left: auto;
  background: linear-gradient(180deg, #fff 0%, #faf7f2 100%);
}

.placeholder-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  max-width: 260px;
}

.placeholder-label strong {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.placeholder-step {
  margin-top: 20px;
  aspect-ratio: 3 / 2;
  font-size: 12px;
}

.placeholder-showcase {
  aspect-ratio: 9 / 16;
  background: #262626;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.placeholder-showcase::after {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.3);
}

/* ─── Phone showcase (iPhone mockup for Alfred-in-action) ───
   Bezel + rounded screen, sprachabhängige Bildumschaltung.
   Aspect 9/19.5 entspricht modernen iPhones. ─────────────── */
.phone-showcase {
  position: relative;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(160deg, #1c1c1e 0%, #0a0a0a 55%, #000 100%);
  border-radius: 38px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 25px 50px -15px rgba(0, 0, 0, 0.7),
    0 12px 28px -10px rgba(var(--accent-rgb, 239, 90, 60), 0.18);
  margin: 0;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.55s ease;
  will-change: transform;
}

.phone-showcase:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 35px 60px -15px rgba(0, 0, 0, 0.75),
    0 18px 38px -10px rgba(var(--accent-rgb, 239, 90, 60), 0.24);
}

.phone-showcase-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #0b0b0b;
}

.phone-showcase-screen::after {
  /* Leichter Glanz oben rechts — wirkt wie Glas */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0) 35%
  );
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 2;
}

.phone-showcase-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: opacity 0.4s ease;
}

.phone-showcase-screen img[data-showcase-lang="de"] { opacity: 1; }
.phone-showcase-screen img[data-showcase-lang="en"] { opacity: 0; }
html[data-lang="en"] .phone-showcase-screen img[data-showcase-lang="de"] { opacity: 0; }
html[data-lang="en"] .phone-showcase-screen img[data-showcase-lang="en"] { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .phone-showcase,
  .phone-showcase:hover {
    transform: none;
    transition: none;
  }
}

/* ─── Intro statement ───────────────────────────────────── */
.intro {
  padding: 64px 0;
  text-align: center;
}

.intro-statement {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.35;
  max-width: 820px;
  margin: 0 auto;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ─── Steps (How it works) ──────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.step p {
  color: var(--text-2);
  font-size: 15px;
  margin: 0;
}

/* ─── Feature grid ──────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--accent-badge);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--text-2);
  font-size: 15px;
  margin: 0;
  line-height: 1.55;
}

/* ─── Pillars ───────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.pillar h3 {
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--accent);
}

.pillar p {
  color: var(--text-2);
  font-size: 16px;
  margin: 0;
}

/* ─── Showcase (dark) ───────────────────────────────────── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 0 24px;
  align-items: start;
}

/* ─── Pricing ───────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border: 2px solid var(--accent);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.price-card h3 {
  font-size: 22px;
  margin: 0 0 16px;
}

.price {
  margin: 0 0 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 16px;
  color: var(--text-2);
}

.price-sub {
  color: var(--text-2);
  font-size: 14px;
  margin: 0 0 28px;
}

.price-features {
  margin: 0 0 32px;
  flex: 1;
}

.price-features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.price-features li:last-child {
  border-bottom: none;
}

/* ─── Info tooltip buttons (ⓘ) ─────────────────────────── */
.info-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
}

.info-tip svg {
  width: 16px;
  height: 16px;
}

.info-tip:hover,
.info-tip:focus-visible {
  color: var(--accent);
}

/* Tooltip bubble */
.info-tip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: -8px;
  width: 260px;
  padding: 12px 14px;
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  white-space: normal;
}

.info-tip:hover::after,
.info-tip:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pricing-trust {
  text-align: center;
  margin-top: 56px;
  font-size: 14px;
  color: var(--text-2);
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-2);
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.faq-more {
  text-align: center;
  margin-top: 32px;
}

/* ─── Download card (warm, narrow) ──────────────────────── */
.download-card {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(26, 26, 26, 0.06);
}

.download-card::before {
  content: none;
}

.download-card h2 {
  color: var(--text);
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 12px;
  position: relative;
}

.download-card p {
  color: var(--text-2);
  font-size: 16px;
  margin: 0 0 28px;
  position: relative;
}

.download-card .cta-row {
  position: relative;
  margin: 0;
}

/* ─── Footer ────────────────────────────────────────────── */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-tag {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin: 0 0 16px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col a {
  color: var(--text-2);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}

.footer-bottom p {
  margin: 0;
}

/* ─── FAQ page hero ─────────────────────────────────────── */
.faq-hero {
  padding: 88px 0 32px;
  text-align: center;
}

.faq-hero .section-eyebrow {
  margin-bottom: 16px;
}

.faq-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.faq-hero .lede {
  margin: 0 auto;
  max-width: 600px;
}

/* ─── Legal pages ───────────────────────────────────────── */
.legal {
  padding: 64px 0 96px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 16px;
}

.legal-content .legal-updated {
  color: var(--text-3);
  font-size: 14px;
  margin: 0 0 48px;
}

.legal-content h2 {
  font-size: 22px;
  margin: 48px 0 16px;
}

.legal-content h3 {
  font-size: 17px;
  margin: 32px 0 12px;
}

.legal-content p,
.legal-content li {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content .placeholder-text {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding: 4px 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  color: var(--accent);
  border-radius: 3px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--accent);
}

/* ─── Logo image ────────────────────────────────────────── */
.logo img {
  display: block;
}

.logo-wordmark {
  height: 64px;
  width: auto;
}

.footer-brand .logo img {
  border-radius: 10px;
}

.footer-brand .logo-wordmark {
  height: 80px;
  border-radius: 0;
}

/* ─── Understand section (Before / After) ───────────────── */
.understand {
  padding: 96px 0;
  background: var(--bg);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto 64px;
}

.ba-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.ba-before {
  background: #fafaf8;
}

.ba-after {
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 20px 50px rgba(239, 90, 60, 0.12);
}

.ba-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 16px;
}

.ba-label-after {
  color: var(--accent);
}

.ba-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-3);
}

.ba-sparkle {
  color: var(--accent);
  font-size: 14px;
}

.ba-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}

.ba-before .ba-text {
  color: var(--text-2);
  font-style: italic;
}

.ba-after .ba-text strong {
  color: var(--accent);
  font-weight: 600;
}

.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.ba-arrow svg {
  width: 32px;
  height: 32px;
}

/* Understand pillars */
.understand-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.up-item {
  text-align: center;
}

.up-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  margin: 0 auto 16px;
}

.up-item h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.up-item p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

/* ─── Desktop Download Modal ────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal.is-open {
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.2s ease;
}

.modal.is-open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-2);
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.modal-card h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.modal-sub {
  color: var(--text-2);
  font-size: 14px;
  margin: 0 0 28px;
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.modal-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text) !important;
  transition: all 0.2s ease;
  position: relative;
}

.modal-option:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--text) !important;
}

.modal-option-recommended {
  border-color: var(--accent);
  background: var(--accent-light);
}

.modal-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-option-icon svg {
  width: 22px;
  height: 22px;
}

.modal-option-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-option-text strong {
  font-size: 16px;
  font-weight: 600;
}

.modal-option-text span {
  font-size: 13px;
  color: var(--text-2);
}

.modal-option-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-footnote {
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.modal-footnote a {
  color: var(--accent);
  font-weight: 500;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .section,
  .understand {
    padding: 72px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .placeholder-hero {
    max-width: 380px;
    margin: 0 auto;
  }

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

  .apps-orbit {
    max-width: 360px;
    margin: 0 auto;
  }

  .speed-compare {
    grid-template-columns: 1fr;
  }

  .hero.hero-v2 {
    padding: 48px 0 64px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .ba-arrow {
    transform: rotate(0deg);
  }

  .understand-pillars {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .steps,
  .feature-grid,
  .pricing-grid,
  .pillars,
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .price-card-featured {
    transform: none;
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 48px 0 32px;
  }

  .display {
    font-size: 40px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .download-card {
    padding: 48px 24px;
  }

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

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