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

:root {
  --green: #2F6F3E;
  --green-dark: #1D4B28;
  --green-soft: #EEF5F0;
  --text: #111827;
  --text-2: #4B5563;
  --muted: #9CA3AF;
  --border: #E5E7EB;
  --bg: #F9FAF8;
  --card: #FFFFFF;
  --danger: #DC2626;
  --danger-soft: #FEF2F2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 4px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

/* ─── Layout ─── */
.container { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ─── Nav ─── */
nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 760px;
  margin: 0 auto;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo .leaf { font-size: 22px; }
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-2); }
.nav-links a:hover { color: var(--green); text-decoration: none; }

/* ─── Footer ─── */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-2); }
.footer-copy { font-size: 13px; color: var(--muted); }

/* ─── Hero (index only) ─── */
.hero {
  background: linear-gradient(135deg, #1D4B28 0%, #2F6F3E 100%);
  color: #fff;
  padding: 64px 20px 72px;
  text-align: center;
}
.hero-emoji { font-size: 56px; margin-bottom: 16px; display: block; }
.hero h1 { font-size: 36px; font-weight: 900; letter-spacing: -0.5px; }
.hero p { font-size: 17px; color: rgba(255,255,255,.8); margin-top: 10px; max-width: 480px; margin-left: auto; margin-right: auto; }
.hero-badges { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: 10px 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.badge-btn:hover { background: rgba(255,255,255,.25); text-decoration: none; }
.badge-btn span { font-size: 20px; }

/* ─── Feature cards ─── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding: 40px 0 20px; }
.feature-card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.feature-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.feature-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

/* ─── Page header ─── */
.page-hero {
  background: var(--green-soft);
  border-bottom: 1px solid var(--border);
  padding: 36px 20px 32px;
}
.page-hero h1 { font-size: 28px; font-weight: 900; color: var(--green-dark); }
.page-hero .meta { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ─── Legal content ─── */
.content { padding: 32px 0 24px; }
.disclaimer-box {
  display: flex;
  gap: 10px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 24px;
}
.disclaimer-box p { font-size: 13px; color: #92400E; line-height: 1.55; font-weight: 600; }

.legal-section { margin-bottom: 26px; }
.legal-section h2 { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.legal-section p { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 6px; }

/* ─── Konto-Löschung ─── */
.step-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.step-list li {
  display: flex;
  gap: 14px;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow);
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.55;
}
.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-list strong { color: var(--text); font-weight: 700; display: block; margin-bottom: 2px; }

.or-divider { text-align: center; color: var(--muted); font-weight: 700; font-size: 13px; margin: 28px 0; position: relative; }
.or-divider::before, .or-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}
.or-divider::before { left: 0; }
.or-divider::after { right: 0; }

/* ─── Form ─── */
.form-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.form-card h2 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.form-card .subtitle { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--green); background: #fff; }
.field textarea { min-height: 100px; resize: vertical; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.success-box {
  display: none;
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  gap: 10px;
}
.success-box.show { display: block; }
.success-icon { font-size: 40px; margin-bottom: 8px; display: block; }
.success-box h3 { font-size: 18px; font-weight: 800; color: #166534; }
.success-box p { font-size: 14px; color: #14532D; margin-top: 6px; }

.note-box {
  background: var(--danger-soft);
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 13.5px;
  color: #991B1B;
  line-height: 1.55;
}

.section-label { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; margin-top: 36px; }

@media (max-width: 520px) {
  .hero h1 { font-size: 28px; }
  .nav-links { gap: 12px; }
  .form-card { padding: 20px; }
}
