/* ============================================================
   TurboType — Landingpage
   Warmes Creme, große Serifen (Fraunces), Software-Feeling.
   ============================================================ */

:root {
  --cream: #faf6ea;
  --cream-deep: #f3ecd9;
  --ink: #17170f;
  --ink-soft: #4b4a3f;
  --teal: #0d7a6a;
  --teal-soft: #d9efe7;
  --line: rgba(23, 23, 15, 0.14);
  --radius: 22px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

.shell { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.hidden { display: none !important; }

h1, h2, h3, .price, .compare-time {
  font-family: var(--serif);
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
h1 em, h2 em { font-style: italic; font-weight: 480; }
h2 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 18px; }
h3 { font-size: 21px; margin-bottom: 8px; }

.sub { color: var(--ink-soft); max-width: 620px; margin: 0 auto 40px; font-size: 17px; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 22px;
}
.eyebrow.light { background: rgba(250, 246, 234, 0.12); color: #bfe8dc; }

/* ---------- Buttons ---------- */
.pill-btn, .ghost, .oauth, .linkish {
  font-family: var(--sans);
  cursor: pointer;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.pill-btn {
  background: var(--ink); color: var(--cream);
  border: 1.5px solid var(--ink);
  padding: 11px 22px;
}
.pill-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(23,23,15,0.18); }
.pill-btn.big { padding: 15px 30px; font-size: 16px; }
.ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
  padding: 11px 22px;
}
.ghost:hover { border-color: var(--ink); background: rgba(23,23,15,0.04); }
.ghost.big { padding: 15px 30px; font-size: 16px; }
.full { width: 100%; }
.linkish { background: none; border: none; color: var(--ink-soft); text-decoration: underline; font-weight: 500; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 14px; z-index: 60;
  display: flex; justify-content: center;
  padding: 0 16px;
}
.nav-bar {
  display: flex; align-items: center; gap: 26px;
  background: rgba(250, 246, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px 9px 18px;
  box-shadow: 0 8px 30px rgba(23,23,15,0.07);
  max-width: 980px; width: 100%;
  justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-weight: 600; font-size: 19px;
  color: var(--ink); text-decoration: none;
}
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .ghost { padding: 9px 16px; font-size: 14px; }
.nav-cta .pill-btn { padding: 9px 18px; font-size: 14px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; cursor: pointer; user-select: none;
}
.avatar.big { width: 48px; height: 48px; font-size: 19px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 110px 24px 70px;
  max-width: 900px; margin: 0 auto;
}
.hero h1 {
  font-size: clamp(52px, 9vw, 96px);
  margin-bottom: 26px;
}
.hero .lead {
  color: var(--ink-soft);
  font-size: 19px;
  max-width: 540px; margin: 0 auto 34px;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 54px; }

.hero-deco {
  position: absolute;
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--ink);
  opacity: 0.16;
  max-width: 230px; line-height: 1.5;
  pointer-events: none; user-select: none;
}
.deco-1 { left: -120px; top: 150px; transform: rotate(-8deg); text-align: left; }
.deco-2 { right: -130px; top: 300px; transform: rotate(6deg); text-align: right; }

/* Waveform-Pille */
.wave-pill {
  display: inline-flex; align-items: center; gap: 3.5px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 20px 28px;
  margin-bottom: 54px;
  background: rgba(250, 246, 234, 0.6);
}
.wave-pill span {
  display: block; width: 4px; border-radius: 3px;
  background: var(--ink);
  height: 10px;
  animation: wave 1.15s ease-in-out infinite;
}
.wave-pill span:nth-child(4n)   { animation-delay: 0.10s; }
.wave-pill span:nth-child(4n+1) { animation-delay: 0.35s; }
.wave-pill span:nth-child(4n+2) { animation-delay: 0.60s; }
.wave-pill span:nth-child(4n+3) { animation-delay: 0.85s; }
.wave-pill span:nth-child(7),
.wave-pill span:nth-child(12),
.wave-pill span:nth-child(17) { animation-delay: 0.22s; }
@keyframes wave {
  0%, 100% { height: 8px; opacity: 0.55; }
  50% { height: 30px; opacity: 1; }
}

.hero-stats {
  display: flex; justify-content: center; gap: 54px; flex-wrap: wrap;
}
.hero-stats strong {
  display: block;
  font-family: var(--serif); font-size: 32px; font-weight: 600;
}
.hero-stats span { color: var(--ink-soft); font-size: 14px; }

/* ---------- Laufband ---------- */
.ticker {
  background: var(--ink); color: var(--cream);
  transform: rotate(-1.6deg) scale(1.02);
  margin: 30px -20px 40px;
  overflow: hidden;
  padding: 13px 0;
  box-shadow: 0 10px 30px rgba(23,23,15,0.15);
}
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker 38s linear infinite;
  font-family: var(--serif); font-size: 17px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Vergleich ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 780px; margin: 0 auto; }
.compare-card {
  background: #fffdf5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.compare-card.highlight { background: var(--teal-soft); border-color: rgba(13,122,106,0.3); }
.compare-label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.compare-time { font-size: 46px; margin-bottom: 14px; }
.compare-card.highlight .compare-time { color: var(--teal); }
.compare-bar { height: 8px; background: rgba(23,23,15,0.08); border-radius: 6px; margin-bottom: 16px; overflow: hidden; }
.compare-bar div { height: 100%; background: var(--ink); border-radius: 6px; }
.compare-card.highlight .compare-bar div { background: var(--teal); }
.compare-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Schritte ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px 0 90px; }
.step {
  background: #fffdf5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  background: var(--ink); color: var(--cream);
  margin-bottom: 16px;
}
.step p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Feature-Reihe + App-Mock ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.feature-text h2 { font-size: clamp(26px, 3.4vw, 36px); }
.feature-text p { color: var(--ink-soft); margin-bottom: 18px; }
.checks { list-style: none; }
.checks li {
  padding-left: 30px; position: relative;
  margin-bottom: 10px; color: var(--ink-soft); font-size: 15px;
}
.checks li::before {
  content: "✓";
  position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.app-mock {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px 36px 28px;
  text-align: center;
}
.mock-window {
  background: #fffdf5;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px 22px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(23,23,15,0.08);
}
.mock-dots { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(23,23,15,0.15); }
.mock-line {
  height: 11px; border-radius: 6px;
  background: rgba(23,23,15,0.1);
  margin-bottom: 10px;
}
.mock-line.w80 { width: 80%; } .mock-line.w95 { width: 95%; }
.mock-line.w60 { width: 60%; } .mock-line.w40 { width: 40%; }
.mock-line.typing { background: var(--teal-soft); position: relative; overflow: hidden; }
.mock-line.typing::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(13,122,106,0.4), transparent);
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.flowbar {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink);
  border-radius: 999px;
  padding: 12px 20px;
  margin: -16px auto 0;
  position: relative;
  box-shadow: 0 14px 30px rgba(23,23,15,0.25);
}
.fb-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff5f56; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.fb-bars { display: flex; align-items: center; gap: 3px; }
.fb-bars i {
  display: block; width: 3.5px; border-radius: 3px;
  background: var(--cream); height: 8px;
  animation: wave 1.1s ease-in-out infinite;
}
.fb-bars i:nth-child(3n)   { animation-delay: 0.15s; }
.fb-bars i:nth-child(3n+1) { animation-delay: 0.45s; }
.fb-bars i:nth-child(3n+2) { animation-delay: 0.75s; }
.fb-key {
  font-size: 12px; font-weight: 600; color: var(--cream);
  border: 1px solid rgba(250,246,234,0.4);
  border-radius: 6px; padding: 2px 8px;
}
.mock-caption { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }

/* ---------- Dunkles Band ---------- */
.dark-band {
  background: #14251f;
  color: var(--cream);
  border-radius: 34px;
  margin: 20px 20px;
  padding: 90px 24px;
}
.dark-inner { text-align: center; max-width: 860px; }
.dark-band h2 { color: #fdfaf1; }
.sub-light { color: rgba(250,246,234,0.75); max-width: 640px; margin: 0 auto 48px; font-size: 16.5px; }
.dark-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.dark-grid > div {
  background: rgba(250,246,234,0.06);
  border: 1px solid rgba(250,246,234,0.12);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.dark-grid h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; color: #fdfaf1; }
.dark-grid p { color: rgba(250,246,234,0.7); font-size: 14px; }

/* ---------- Preise ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price-card {
  background: #fffdf5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.price-card.featured {
  background: var(--teal-soft);
  border: 1.5px solid rgba(13,122,106,0.35);
  transform: translateY(-10px);
  box-shadow: 0 20px 44px rgba(13,122,106,0.12);
}
.price-card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff;
  font-size: 12px; font-weight: 600;
  border-radius: 999px; padding: 4px 14px;
}
.price { font-size: 48px; margin: 10px 0 2px; }
.per { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 20px; }
.price-card .checks { margin-bottom: 24px; }
.hint-line { color: var(--ink-soft); font-size: 13px; margin-top: 28px; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--cream-deep);
  border-radius: 34px;
  margin: 20px;
  padding: 90px 24px;
}
.cta-band .sub { margin-bottom: 26px; }
.cta-band .hint-line { margin-top: 18px; }

/* ---------- FAQ ---------- */
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 4px;
}
summary {
  font-family: var(--serif);
  font-size: 18px; font-weight: 550;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; color: var(--ink-soft); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); padding-top: 12px; font-size: 15px; }

/* ---------- Footer ---------- */
.footer { padding: 60px 24px 40px; }
.footer-inner { text-align: center; }
.brand.small { justify-content: center; font-size: 17px; margin-bottom: 16px; display: flex; }
.foot-links { display: flex; gap: 22px; justify-content: center; margin-bottom: 16px; }
.foot-links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--ink); }
.foot-note { color: var(--ink-soft); font-size: 12.5px; opacity: 0.8; }

/* ---------- Modal ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(23,23,15,0.4);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--cream);
  border-radius: 26px;
  width: 100%; max-width: 400px;
  padding: 34px 30px;
  position: relative;
  box-shadow: 0 30px 80px rgba(23,23,15,0.3);
}
.modal h3 { font-size: 24px; margin-bottom: 6px; }
.modal-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }
.modal-x {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; font-size: 24px;
  color: var(--ink-soft); cursor: pointer;
}
.oauth-col { display: flex; flex-direction: column; gap: 9px; }
.oauth {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: #fffdf5; border: 1px solid var(--line);
  padding: 11px; font-weight: 500; font-size: 14.5px;
  color: var(--ink);
}
.oauth:hover { border-color: var(--ink); }
.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0; color: var(--ink-soft); font-size: 13px;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-col { display: flex; flex-direction: column; gap: 10px; }
.form-col input {
  font-family: var(--sans);
  border: 1px solid var(--line); border-radius: 12px;
  background: #fffdf5;
  padding: 12px 14px; font-size: 15px; color: var(--ink);
}
.form-col input:focus { outline: none; border-color: var(--teal); }
.auth-error { color: #b3372c; font-size: 13.5px; }
.modal-switch { text-align: center; margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.modal-switch a { color: var(--teal); font-weight: 600; }

.acc-line { display: flex; align-items: center; gap: 14px; margin: 18px 0 20px; }
.acc-name { font-weight: 600; }
.acc-mail { color: var(--ink-soft); font-size: 13.5px; }
.acc-plan {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--teal-soft);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
}
.plan-name { font-weight: 700; }
.plan-sub { font-size: 12.5px; color: var(--ink-soft); }
.small-btn { padding: 8px 16px; font-size: 13px; }
.acc-actions { display: flex; flex-direction: column; gap: 9px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--cream);
  border-radius: 999px;
  padding: 12px 22px; font-size: 14.5px; font-weight: 500;
  z-index: 200;
  box-shadow: 0 14px 40px rgba(23,23,15,0.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .pill-btn { white-space: nowrap; }
  .steps3, .prices, .dark-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .compare { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-deco { display: none; }
  .hero-stats { gap: 30px; }
  .section { padding: 64px 20px; }
  .dark-band, .cta-band { margin: 14px 10px; padding: 64px 20px; }
}
@media (max-width: 560px) {
  .nav-cta .pill-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wave-pill span, .fb-bars i, .ticker-track, .mock-line.typing::after, .fb-dot { animation: none; }
}
