:root {
  --bg:         #f8fafc;
  --surface:    #ffffff;
  --surface-2:  #f1f5f9;
  --border:     #e2e8f0;
  --border-strong: #cbd5e1;
  --accent:     #0284c7;
  --accent-hover:#0369a1;
  --accent-soft:#e0f2fe;
  --text:       #0f172a;
  --text-mid:   #334155;
  --muted:      #64748b;
  --success:    #059669;
  --danger:     #dc2626;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 1px 2px rgba(15,23,42,.04), 0 8px 32px -12px rgba(15,23,42,.08);
  --shadow-lg:  0 4px 12px rgba(15,23,42,.06), 0 24px 48px -16px rgba(15,23,42,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav.top {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
nav.top .wrap { display: flex; justify-content: space-between; align-items: center; }
nav.top a.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
}
nav.top a.logo svg { width: 28px; height: 28px; }
nav.top .links { display: flex; gap: 24px; }
nav.top .links a { color: var(--muted); font-size: 14px; font-weight: 500; }
nav.top .links a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 96px 0 64px;
  text-align: center;
}
.hero .badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 12px; font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  font-size: 20px;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto;
}

/* Choice cards (Startseite) */
.choice {
  padding: 32px 0 96px;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) {
  .choice-grid { grid-template-columns: 1fr; }
}
.choice-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
  display: block;
  color: var(--text);
}
.choice-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.choice-card .icon {
  width: 48px; height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.choice-card .icon svg { width: 26px; height: 26px; }
.choice-card h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.choice-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.choice-card .cta {
  color: var(--accent);
  font-weight: 500;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px;
}
.choice-card:hover .cta { color: var(--accent-hover); }
.choice-card .cta::after {
  content: '→';
  transition: transform .18s;
}
.choice-card:hover .cta::after { transform: translateX(4px); }

/* Sections (Unterseiten) */
.section-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
}
.section-hero .backlink {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--muted); font-size: 14px; font-weight: 500;
  margin-bottom: 24px;
}
.section-hero .backlink:hover { color: var(--text); }
.section-hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-hero p.lead {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 640px;
}

/* Feature grid */
.features {
  padding: 64px 0 96px;
}
.features h2.section-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature {
  padding: 8px 0;
}
.feature .ficon {
  width: 40px; height: 40px;
  background: var(--surface-2);
  color: var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature .ficon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.feature p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.feature p strong { color: var(--text-mid); font-weight: 600; }

/* Comparison */
.compare {
  padding: 48px 0 96px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.compare h2.section-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  text-align: center;
}
.compare h3 {
  text-align: center;
  font-size: 28px;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin-bottom: 48px;
  padding-top: 32px;
}
.compare-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  background: var(--surface-2);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.item { font-weight: 500; color: var(--text); }
.compare-table td.check {
  color: var(--success);
  font-weight: 600;
}
.compare-table td.dash {
  color: var(--muted);
}
@media (max-width: 720px) {
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 12px; }
}

/* CTA-Box */
.ctabox {
  padding: 96px 0;
  text-align: center;
}
.ctabox h2 {
  font-size: 32px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 12px;
}
.ctabox p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 24px;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  transition: background .18s, transform .18s;
}
.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn.secondary {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border-strong);
  margin-left: 8px;
}
.btn.secondary:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--text-mid);
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer .fnote { margin-top: 8px; font-size: 12px; }
footer a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--border-strong); }
footer a:hover { color: var(--text); }

/* Hero-Highlights (index.html) */
.highlights {
  list-style: none;
  margin: 40px auto 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  text-align: left;
}
@media (max-width: 640px) {
  .highlights { grid-template-columns: 1fr; }
}
.highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-mid);
}
.highlights li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}
