/* Flowpilot Landingpage — Grundgerüst
   Tool-agnostisch, keine externen Abhängigkeiten (kein Build-Step nötig). */

:root {
  --bg: #0f1220;
  --bg-soft: #171b2e;
  --surface: #1e2338;
  --text: #eef1f9;
  --muted: #a6adc8;
  --brand: #5b8cff;
  --brand-strong: #3f6fe0;
  --accent: #4fd1c5;
  --border: #2a3050;
  --radius: 14px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

section { padding: 88px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

h1, h2, h3 { line-height: 1.2; margin-top: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -0.01em; margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .08s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15,18,32,.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand span { color: var(--brand); }
.nav a { color: var(--muted); margin-left: 22px; font-size: .95rem; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding-top: 96px; text-align: left; }
.hero .lead { margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .92rem; }

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* Module list (Lösung/Format) */
.modules { counter-reset: mod; }
.module-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0; border-top: 1px solid var(--border);
}
.module-item:first-child { border-top: none; }
.module-num {
  flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--border);
  display: grid; place-items: center; font-weight: 700; color: var(--brand);
}
.module-item h3 { font-size: 1.05rem; margin: 4px 0 4px; }
.module-item p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }

/* Pricing */
.price-card {
  max-width: 520px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 34px;
}
.price-tag { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.03em; }
.price-tag small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 22px 0 28px; text-align: left; }
.price-list li { padding: 8px 0 8px 30px; position: relative; color: var(--text); }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.price-scarcity { color: var(--muted); font-size: .92rem; margin-top: 16px; }

/* FAQ */
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Footer / Legal */
.site-footer { padding: 48px 0; color: var(--muted); font-size: .9rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.legal-links a { color: var(--muted); margin-right: 18px; }
.legal-links a:hover { color: var(--text); }
.footer-brand { opacity: .75; font-size: .85rem; }

/* Legal pages */
.legal-page { max-width: 760px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 24px; }
.legal-page h2 { font-size: 1.3rem; margin-top: 32px; }
.todo {
  background: #2a2140; border: 1px dashed #7a5cff;
  border-radius: 10px; padding: 12px 16px; color: #d9ccff; font-size: .9rem;
}

/* Responsive */
@media (max-width: 820px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .nav { display: none; }
  section { padding: 64px 0; }
}
