:root {
  --green: #1a7f3c;
  --green-light: #22c55e;
  --bg: #f9fafb;
  --surface: #ffffff;
  --border: #e8eaf0;
  --text: #111827;
  --muted: #6b7280;
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1117;
    --surface: #1a1d26;
    --border: #2a2d35;
    --text: #f9fafb;
    --muted: #9ca3af;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, "Plus Jakarta Sans", BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ── */
header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0 24px;
}
.header-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}
.logo-dot {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-dot svg { width: 16px; height: 16px; fill: white; }

nav { display: flex; gap: 24px; }
nav a { font-size: 14px; color: var(--muted); font-weight: 500; }
nav a:hover { color: var(--text); text-decoration: none; }

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
footer a { color: var(--muted); margin: 0 10px; }

/* ── Hero (index only) ── */
.hero {
  text-align: center;
  padding: 80px 0 64px;
}
.hero-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-light);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--green-light); }
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity .15s;
}
.btn:hover { opacity: .88; text-decoration: none; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 64px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.feature-icon {
  width: 36px; height: 36px;
  background: rgba(34, 197, 94, 0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  font-size: 18px;
}
.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.feature-card p  { font-size: 13px; color: var(--muted); }

/* ── Personal note (index) ── */
.personal-note {
  margin-top: 72px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.personal-note h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.personal-note p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 12px;
}
.personal-note p:last-child { margin-bottom: 0; }

/* ── Prose (datenschutz/agb) ── */
.prose h1 {
  font-size: 32px; font-weight: 800;
  letter-spacing: -0.8px; margin-bottom: 8px;
}
.prose .meta {
  font-size: 13px; color: var(--muted); margin-bottom: 40px;
}
.prose h2 {
  font-size: 18px; font-weight: 700;
  margin: 40px 0 12px; letter-spacing: -0.3px;
}
.prose h3 {
  font-size: 15px; font-weight: 600; margin: 24px 0 8px;
}
.prose p, .prose li {
  font-size: 15px; color: var(--muted); margin-bottom: 12px;
}
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.prose .card p { margin-bottom: 4px; }
