/* ============================================
   Performative — Corporate Design System
   Font: Inter (OFL) · Akzent: Indigo
   ============================================ */

/* Inter — selbst gehostet (DSGVO: keine Google-CDN-Anfrage) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/Inter-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/Inter-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/Inter-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/Inter-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/Inter-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Neutrale */
  --surface:        #FFFFFF;
  --surface-card:   #F7F7FB;
  --surface-deep:   #1E1B4B;
  --border:         #E4E4F0;
  --text:           #09090B;
  --text-secondary: #52525B;
  --text-tertiary:  #A1A1AA;

  /* Brand — Indigo */
  --indigo-light:   #6366F1;
  --indigo:         #4F46E5;
  --indigo-dark:    #4338CA;
  --indigo-deep:    #1E1B4B;
  --indigo-50:      #EEF2FF;

  /* Radius & Shadow */
  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(16,16,40,.04), 0 8px 24px rgba(16,16,40,.06);
  --shadow-lg: 0 20px 60px rgba(30,27,75,.18);

  --maxw: 1120px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ===== Typografie ===== */
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; font-weight: 600; }

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 13px 22px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary:hover { background: var(--indigo-dark); box-shadow: 0 6px 20px rgba(79,70,229,.32); }

.btn--ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--indigo); color: var(--indigo); }

.btn--light { background: #fff; color: var(--indigo-deep); }
.btn--light:hover { background: var(--indigo-50); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--text-secondary); }
.nav__links a:not(.btn):hover { color: var(--text); }

.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo__word { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }

/* ===== Hero ===== */
.hero { padding: 80px 0 64px; text-align: center; background:
  radial-gradient(120% 80% at 50% -10%, var(--indigo-50) 0%, #fff 55%); }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-block; font-size: 13px; font-weight: 500;
  color: var(--indigo-dark); background: var(--indigo-50);
  border: 1px solid #DDE0FF; padding: 7px 14px; border-radius: 999px;
  margin-bottom: 28px;
}
.hero__title { font-size: clamp(40px, 7vw, 72px); font-weight: 800; }
.hero__sub {
  font-size: clamp(16px, 2vw, 19px); color: var(--text-secondary);
  max-width: 600px; margin: 22px auto 0;
}

/* Waitlist */
.waitlist { width: 100%; max-width: 480px; margin: 36px auto 0; }
.waitlist__row { display: flex; gap: 10px; }
.waitlist__input {
  flex: 1; font-family: inherit; font-size: 15px;
  padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #fff; color: var(--text);
  transition: border .15s ease, box-shadow .15s ease;
}
.waitlist__input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.waitlist__input.is-error { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.waitlist__hint { font-size: 13px; color: var(--text-tertiary); margin-top: 12px; }
.waitlist.is-success .waitlist__hint { color: #10B981; font-weight: 500; }
.waitlist__legal { font-size: 11px; color: var(--text-tertiary); margin-top: 8px; line-height: 1.5; }
.waitlist__legal a { color: var(--indigo); }
.waitlist__legal a:hover { text-decoration: underline; }
.waitlist.is-success .waitlist__legal { display: none; }

.waitlist--dark .waitlist__input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.waitlist--dark .waitlist__input::placeholder { color: rgba(255,255,255,.55); }
.waitlist__hint--dark { color: rgba(255,255,255,.6); }
.waitlist--dark.is-success .waitlist__hint { color: #6EE7B7; }
.waitlist__legal--dark { color: rgba(255,255,255,.4); }
.waitlist__legal--dark a { color: rgba(165,180,252,.9); }

/* Hero media — 3D-Phone mit Dashboard-Mockup */
.hero__media { width: 100%; margin: 64px auto 0; display: flex; justify-content: center; }
.phone-stage { perspective: 1400px; perspective-origin: 50% 40%; }
.phone {
  width: 296px; max-width: 80vw;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(8deg) rotateY(-18deg);
}
.phone__bezel {
  position: relative;
  padding: 11px;
  border-radius: 44px;
  background: linear-gradient(150deg, #232136, #0B0A1F);
  box-shadow:
    0 2px 4px rgba(0,0,0,.4) inset,
    -18px 28px 60px rgba(30,27,75,.30),
    0 40px 80px rgba(11,10,31,.35);
  border: 1px solid rgba(255,255,255,.06);
}
.phone__notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 22px;
  background: #0B0A1F; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone__screen {
  position: relative; overflow: hidden;
  border-radius: 34px; aspect-ratio: 9 / 19.5;
  background: #FFFFFF;
}

/* ---- App-Mockup (statisches Dashboard) ---- */
.app { padding: 30px 14px 16px; height: 100%; font-size: 11px; }
.app__statusbar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 22px 0; font-size: 10px; font-weight: 600; color: var(--text);
}
.app__statusbar-right { width: 30px; height: 9px; border-radius: 3px; background: var(--text); opacity: .85; }

.app__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.app__hello { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.app__sub { font-size: 10px; color: var(--text-tertiary); }
.app__streak {
  flex-shrink: 0; font-size: 9px; font-weight: 600; color: var(--indigo-dark);
  background: var(--indigo-50); border: 1px solid #DDE0FF;
  padding: 4px 8px; border-radius: 999px;
}

.app__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 16px; }
.kpi {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 11px;
}
.kpi--accent { background: var(--indigo); border-color: var(--indigo); }
.kpi--accent .kpi__num, .kpi--accent .kpi__label { color: #fff; }
.kpi__num { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.kpi__label { font-size: 9px; color: var(--text-tertiary); }

.app__section { font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.app__list { display: flex; flex-direction: column; gap: 7px; }
.app-row { display: flex; align-items: center; gap: 9px; }
.app-row__logo {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px;
  background: var(--indigo-deep); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.app-row__main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.app-row__company { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row__role { font-size: 9px; color: var(--text-tertiary); }
.tag { flex-shrink: 0; font-size: 8px; font-weight: 600; padding: 3px 7px; border-radius: 999px; }
.tag--green { color: #047857; background: #D1FAE5; }
.tag--amber { color: #B45309; background: #FEF3C7; }

.app__tabbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-around; align-items: center;
  padding: 9px 8px 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
}
.app-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 8px; font-weight: 500; color: var(--text-tertiary);
}
.app-tab svg { width: 16px; height: 16px; }
.app-tab--active { color: var(--indigo); }

/* ===== Problem ===== */
.problem { padding: 64px 0; border-bottom: 1px solid var(--border); }
.problem__text {
  font-size: clamp(20px, 3vw, 28px); font-weight: 500; line-height: 1.4;
  letter-spacing: -0.01em; text-align: center; max-width: 820px; margin: 0 auto;
  color: var(--text-secondary);
}
.problem__text strong { color: var(--text); font-weight: 700; }

/* ===== Features ===== */
.features { padding: 96px 0; }
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.card {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease, border .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D8D8EC; }
.card__icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--indigo); color: #fff; margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 15px; }

/* ===== Stats / Dashboard ===== */
.stats { padding: 96px 0; background: var(--indigo-deep); color: #fff; }
.stats__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.stats__copy h2 { color: #fff; margin-bottom: 16px; }
.stats__copy p { color: rgba(255,255,255,.7); font-size: 17px; max-width: 420px; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 24px;
}
.stat__num { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.stat__label { font-size: 14px; color: rgba(255,255,255,.6); }

/* ===== Pricing ===== */
.pricing { padding: 96px 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
}
.price--featured { border-color: var(--indigo); box-shadow: 0 12px 40px rgba(79,70,229,.14); }
.price__flag {
  position: absolute; top: -12px; left: 28px;
  background: var(--indigo); color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.price__tier { font-size: 16px; font-weight: 600; color: var(--text-secondary); }
.price__amount { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 24px; }
.price__amount span { font-size: 15px; font-weight: 500; color: var(--text-tertiary); letter-spacing: 0; }
.price__list { margin-bottom: 28px; display: flex; flex-direction: column; gap: 11px; }
.price__list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text-secondary); }
.price__list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--indigo-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%234F46E5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ===== CTA ===== */
.cta { padding: 96px 0; }
.cta__inner {
  background: var(--indigo-deep); color: #fff;
  border-radius: 24px; padding: 64px 32px; text-align: center;
}
.cta__inner h2 { color: #fff; }
.cta__inner > p { color: rgba(255,255,255,.7); font-size: 17px; margin: 14px 0 0; }
.cta .waitlist { margin-top: 32px; }

/* ===== Footer ===== */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 14px; color: var(--text-secondary); }
.footer__links a:hover { color: var(--text); }
.footer__copy { font-size: 14px; color: var(--text-tertiary); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .stats__inner { grid-template-columns: 1fr; gap: 36px; }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price--featured { order: -1; }
}
@media (max-width: 640px) {
  .nav__links { gap: 14px; }
  .nav__links a:not(.btn) { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .waitlist__row { flex-direction: column; }
  .hero { padding: 56px 0 48px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Legal pages (Impressum / Datenschutz) ===== */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 6px; }
.legal__updated { font-size: 14px; color: var(--text-tertiary); margin-bottom: 28px; }
.legal h2 { font-size: 19px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text-secondary); font-size: 15px; margin-bottom: 10px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal a { color: var(--indigo); }
.legal a:hover { text-decoration: underline; }
.legal__draft {
  background: #FEF3C7; border: 1px solid #FDE68A; color: #92400E;
  border-radius: 12px; padding: 14px 16px; font-size: 14px; margin-bottom: 32px;
}
.legal__draft strong { color: #78350F; }
.legal .ph { color: var(--indigo-dark); background: var(--indigo-50); padding: 1px 6px; border-radius: 5px; font-size: 14px; }
