/* ═══ KassenFlow Onepager ═══ */
:root {
  --bg: #0b0f1a;
  --bg-dark: #070a12;
  --surface: #121828;
  --surface-2: #1a2138;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e7eaf3;
  --dim: #8b93a7;
  --accent: #7c5cff;
  --accent-2: #38bdf8;
  --accent-light: #a78bfa;
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(90deg, var(--accent-light), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ═══ Navbar ═══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.logo-text strong { color: var(--accent-light); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.92rem; color: var(--dim); transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff !important; padding: 8px 18px; border-radius: 999px; font-weight: 600;
}
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span {
  display: block; width: 22px; height: 2px; margin: 5px 0;
  background: var(--text); transition: transform 0.25s, opacity 0.25s;
}

/* ═══ Hero ═══ */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 90px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; }
.glow-1 { width: 480px; height: 480px; background: var(--accent); top: -120px; left: -120px; }
.glow-2 { width: 420px; height: 420px; background: var(--accent-2); bottom: -160px; right: -80px; opacity: 0.22; }
.hero-layout {
  display: flex; align-items: center; gap: 60px;
  position: relative; z-index: 1;
}
.hero-content { flex: 1 1 55%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--accent-light);
  border: 1px solid rgba(167, 139, 250, 0.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(124, 92, 255, 0.08);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 8px #34d399;
}
.hero-title { font-size: clamp(2.4rem, 5.5vw, 3.8rem); line-height: 1.1; letter-spacing: -0.02em; }
.hero-sub { margin: 22px 0 30px; color: var(--dim); font-size: 1.08rem; max-width: 34rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 600; padding: 13px 26px; border-radius: 12px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); color: var(--text);
  padding: 13px 26px; border-radius: 12px; transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--accent-light); background: rgba(124, 92, 255, 0.08); }
.hero-note { margin-top: 14px; font-size: 0.82rem; color: var(--dim); }
.hero-stats { display: flex; align-items: center; gap: 22px; margin-top: 42px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 1.4rem; }
.stat span { font-size: 0.8rem; color: var(--dim); }
.stat-divider { width: 1px; height: 34px; background: var(--border); }

/* Receipt mockup */
.hero-visual { flex: 1 1 40%; display: flex; justify-content: center; }
.receipt-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px; width: 320px; max-width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: rotate(2deg);
}
.receipt-header {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px dashed var(--border); padding-bottom: 12px; margin-bottom: 14px;
}
.receipt-header span { font-size: 0.75rem; color: var(--dim); }
.receipt-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 4px 0; }
.receipt-total { border-top: 1px dashed var(--border); margin-top: 8px; padding-top: 10px; font-weight: 700; }
.receipt-dim { color: var(--dim); font-size: 0.78rem; }
.receipt-badge {
  margin-top: 16px; text-align: center; font-size: 0.8rem;
  color: #34d399; background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 8px; padding: 8px;
}

/* ═══ Sections ═══ */
.section { padding: 90px 0; }
.section-dark { background: var(--bg-dark); }
.section-header { text-align: center; max-width: 40rem; margin: 0 auto 54px; }
.section-tag {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-light); margin-bottom: 12px;
}
.section-header h2, .anfrage-info h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.2; }
.section-header p { color: var(--dim); margin-top: 14px; }

/* Features */
.features-grid, .compliance-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.feature-card, .compliance-card, .step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover, .compliance-card:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, 0.4); }
.feature-icon { font-size: 1.7rem; }
.feature-card h3, .step-card h3 { margin: 12px 0 8px; font-size: 1.08rem; }
.feature-card p, .compliance-card p, .step-card p { color: var(--dim); font-size: 0.92rem; }
.compliance-card h3 { color: var(--accent-light); margin-bottom: 10px; font-size: 1.15rem; }

.mode-note {
  margin-top: 34px; text-align: center; color: var(--dim); font-size: 0.92rem;
  border: 1px dashed var(--border); border-radius: var(--radius); padding: 16px 22px;
}
.mode-note strong { color: var(--text); }
.cta-row { display: flex; justify-content: center; margin-top: 44px; }

/* Preise */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; max-width: 760px; margin: 0 auto;
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px; text-align: center;
}
.pricing-label {
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 10px;
}
.pricing-amount { font-size: 2.6rem; font-weight: 700; line-height: 1.1; }
.pricing-amount span { font-size: 1rem; font-weight: 400; color: var(--dim); }
.pricing-sub { color: var(--dim); font-size: 0.9rem; margin-top: 12px; }
.pricing-note {
  text-align: center; color: var(--dim); font-size: 0.9rem;
  max-width: 44rem; margin: 30px auto 0;
}
.pricing-note strong { color: var(--text); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 700; font-size: 1.1rem;
}

/* Kontakt */
.anfrage-layout { display: flex; justify-content: center; }
.anfrage-info { max-width: 40rem; text-align: center; }
.anfrage-info > .section-tag { margin-bottom: 12px; }
.anfrage-info p { color: var(--dim); margin: 16px auto 26px; }
.contact-items { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 26px; }
.contact-item { display: flex; align-items: center; gap: 10px; }
.contact-item a { color: var(--accent-light); }
.trust-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.trust-item {
  font-size: 0.8rem; color: var(--dim);
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
}
.btn-mail { font-size: 1.05rem; }

/* Rechtliches */
.section-legal { padding: 70px 0; }
.legal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.legal-block h2 { font-size: 1.3rem; margin-bottom: 14px; }
.legal-block p { color: var(--dim); font-size: 0.88rem; }
.legal-block a { color: var(--accent-light); }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-note { font-size: 0.8rem; color: var(--dim); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; color: var(--dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-light); }

/* ═══ Responsive ═══ */
@media (max-width: 900px) {
  .hero-layout { flex-direction: column; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .receipt-mockup { transform: none; }
}
@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 60px; right: 0; left: 0;
    flex-direction: column; gap: 18px; padding: 26px;
    background: rgba(11, 15, 26, 0.97); border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: block; }
  .hero { padding-top: 120px; }
}
