:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #0f172a;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --success: #166534;
  --warning: #92400e;
  --danger: #b91c1c;
  --radius: 24px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

.narrow { max-width: 900px; }
.updated { color: var(--muted); font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.cards article { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-soft); }
form { display: grid; gap: 16px; max-width: 680px; }
label { display: grid; gap: 7px; color: var(--text); font-weight: 700; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font: inherit; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(37,99,235,.2); border-color: var(--accent); }
.check { grid-template-columns: 22px 1fr; font-weight: 500; }
.check input { width: 18px; height: 18px; }
.honeypot { position: absolute; left: -9999px; }
.form-status { min-height: 24px; font-weight: 700; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
.danger-button { background: var(--danger); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } .nav a:not(.nav-login) { display: none; } }

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.86);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.header-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.26);
}

.brand-copy strong {
  display: block;
  font-size: 16px;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 4px;
}

.nav .nav-login {
  padding: 0 16px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  gap: 8px;
}

.nav .nav-login:hover {
  text-decoration: none;
  background: #1e293b;
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.page-header h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero p.lead,
.page-header p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 60ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.button-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
}

.button {
  background: var(--brand);
  color: #fff;
}

.button:hover {
  text-decoration: none;
}

.button-secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
}

.hero-card {
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-card h2,
.card h2,
.section h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.hero-card ul,
.card ul,
.faq-list,
.steps,
.legal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-card li,
.card li,
.faq-list li,
.steps li,
.legal-list li {
  margin: 10px 0;
}

.section {
  padding: 20px 0 64px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  padding: 28px;
}

.card p,
.section p,
.page-content p,
.page-content li {
  color: var(--muted);
}

.page-shell {
  padding: 48px 0 72px;
}

.page-header {
  margin-bottom: 24px;
}

.page-content {
  padding: 32px;
}

.page-content h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.page-content h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 18px;
}

.notice {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.notice strong {
  color: var(--text);
}

.notice.info {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.notice.success {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.notice.warning {
  background: #fff7ed;
  border-color: #fed7aa;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.7);
}

.footer-row {
  padding: 28px 0 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Productgerichte homepage */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 68px;
}

.home-hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -220px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .14), transparent 68%);
  pointer-events: none;
}

.home-hero-grid {
  grid-template-columns: minmax(0, .85fr) minmax(540px, 1.15fr);
  gap: 54px;
  align-items: center;
}

.home-hero-copy {
  padding: 0;
  background: transparent;
}

.home-hero-copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.1vw, 70px);
}

.home-hero-copy .lead { font-size: 19px; }
.home-hero-copy .button { background: var(--accent); gap: 9px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-window {
  position: relative;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 80px rgba(15, 23, 42, .18), 0 8px 24px rgba(37, 99, 235, .09);
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.window-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.window-bar small { margin: 0 auto; color: #94a3b8; font-size: 9px; }
.window-body { min-height: 390px; display: grid; grid-template-columns: 70px 1fr; background: #f6f8fb; }
.mock-sidebar { padding: 18px 13px; background: #fff; border-right: 1px solid var(--line); }
.mock-logo { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: white; font-size: 11px; font-weight: 900; margin-bottom: 22px; }
.mock-sidebar i { display: block; height: 9px; margin: 17px 4px; border-radius: 4px; background: #dbeafe; }
.mock-sidebar i:nth-child(n+4) { background: #e8edf4; }
.mock-main { padding: 20px; }
.mock-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mock-heading small, .mock-stats small, .mock-chart small { display: block; color: #2563eb; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.mock-heading strong { display: block; margin-top: 4px; font-size: 14px; }
.mock-heading b { padding: 8px 10px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 8px; }
.mock-stats { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 9px; }
.mock-stats article { min-height: 104px; padding: 14px; border-radius: 13px; border: 1px solid var(--line); background: #fff; }
.mock-stats article strong { display: block; margin-top: 13px; font-size: 16px; }
.mock-stats .mock-hero { background: #0f172a; color: #fff; border: 0; }
.mock-hero span { display: block; margin-top: 9px; color: #86efac; font-size: 7px; }
.mock-chart { margin-top: 10px; padding: 16px; height: 176px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.mock-chart-title { display: flex; align-items: center; justify-content: space-between; font-size: 10px; }
.bars { height: 112px; display: flex; align-items: end; gap: 7px; margin-top: 12px; }
.bars i { flex: 1; min-height: 10px; border-radius: 4px 4px 2px 2px; background: linear-gradient(#60a5fa, #2563eb); }

.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.72); }
.proof-row { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow: hidden; }
.proof-row span { color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .12em; white-space: nowrap; }
.proof-row strong { color: #64748b; font-size: 13px; white-space: nowrap; }

.feature-section { padding-top: 92px; }
.section-heading { max-width: 680px; margin: 0 auto 38px; text-align: center; }
.section-heading h2, .workspace-card h2, .cta-card h2 { margin: 18px 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 245px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(15,23,42,.045); }
.feature-card.feature-large { grid-row: span 2; min-height: 506px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(155deg, #0f172a, #172554); color: #fff; }
.feature-card h3 { margin: 20px 0 9px; font-size: 20px; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-large p { color: #cbd5e1; }
.feature-card a { margin-top: 24px; font-weight: 800; }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 20px; font-weight: 900; }
.feature-large .feature-icon { background: rgba(255,255,255,.1); color: #93c5fd; }

.workspace-card { min-height: 490px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 60px; padding: 60px; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.workspace-card > div:first-child > p { color: var(--muted); }
.check-list { padding: 0; list-style: none; color: var(--text); font-size: 14px; font-weight: 700; }
.check-list li { margin: 12px 0; }
.check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 9px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 11px; }
.device-stack { position: relative; height: 350px; }
.device-desktop { position: absolute; inset: 10px 0 40px 20px; border: 7px solid #0f172a; border-radius: 17px; background: #f6f8fb; box-shadow: 0 28px 55px rgba(15,23,42,.2); }
.device-desktop span, .device-phone span { display: grid; place-items: center; width: 34px; height: 34px; margin: 18px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 900; }
.device-desktop div { height: 180px; margin: 18px 28px 0 78px; border-radius: 16px; background: linear-gradient(180deg, #0f172a 0 42%, #fff 42%); box-shadow: 0 0 0 1px var(--line); }
.device-phone { position: absolute; width: 145px; height: 288px; right: -6px; bottom: 0; border: 7px solid #0f172a; border-radius: 30px; background: #fff; box-shadow: 0 20px 45px rgba(15,23,42,.28); }
.device-phone span { width: 30px; height: 30px; margin: 18px; }
.device-phone div { height: 75px; margin: 10px 12px; border-radius: 13px; background: #0f172a; }
.device-phone i { display: block; height: 42px; margin: 9px 12px; border-radius: 12px; background: #eaf4ff; }

.cta-card { padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: 30px; background: linear-gradient(135deg, #0f172a, #172554); color: #fff; }
.cta-card h2 { margin-top: 12px; }
.cta-card p { color: #cbd5e1; margin-bottom: 0; }
.cta-card .actions { flex-shrink: 0; }
.button-light { background: #fff; color: #0f172a; }
.button-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }

@media (max-width: 1000px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .product-window { max-width: 720px; transform: none; }
  .proof-row { justify-content: flex-start; overflow-x: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .workspace-card { grid-template-columns: 1fr; }
  .device-stack { max-width: 620px; width: 100%; }
  .cta-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 650px) {
  .home-hero { padding: 54px 0 42px; }
  .home-hero-copy h1 { font-size: 42px; }
  .home-hero-grid { gap: 38px; }
  .product-window { border-radius: 15px; }
  .window-body { min-height: 300px; grid-template-columns: 46px 1fr; }
  .mock-sidebar { padding: 12px 8px; }
  .mock-logo { width: 28px; height: 28px; font-size: 8px; }
  .mock-main { padding: 12px; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
  .mock-stats .mock-hero { grid-column: 1 / -1; }
  .mock-chart { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.feature-large { min-height: 340px; grid-row: auto; }
  .workspace-card { padding: 30px 24px; gap: 25px; }
  .device-stack { height: 270px; transform: scale(.82); transform-origin: left top; width: 120%; }
  .cta-card { padding: 32px 24px; }
  .cta-card .actions { width: 100%; }
  .cta-card .actions a { width: 100%; }
}

.status-card {
  display: grid;
  gap: 14px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  word-break: break-word;
}

@media (max-width: 860px) {
  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .header-row,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-copy,
  .hero-card,
  .card,
  .page-content {
    padding: 24px;
  }
}
