:root {
  --primary: #6C5DD3;
  --secondary: #22C7BE;
  --tertiary: #B15CE0;
  --bg: #FFFFFF;
  --surface: #F5F3FC;
  --text: #1B1B1F;
  --text-muted: #5B5B66;
  --border: #E4E1F2;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131318;
    --surface: #1D1D24;
    --text: #F1F0F7;
    --text-muted: #B7B5C4;
    --border: #2D2D37;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: var(--primary); }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
}

.brand img { height: 32px; }

nav.lang-switch a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  margin-left: 16px;
}

nav.lang-switch a.active {
  color: var(--primary);
  font-weight: 600;
}

.hero {
  text-align: center;
  padding: 56px 24px 40px;
  background: linear-gradient(120deg, rgba(177,92,224,0.12), rgba(108,93,211,0.12) 50%, rgba(34,199,190,0.12));
}

.hero img.hero-logo {
  height: 96px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  margin: 0 0 12px;
}

.hero p.tagline {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 14px;
  font-size: 17px;
}

.btn-primary:hover { opacity: 0.92; }

section.steps {
  padding: 48px 24px;
}

section.steps h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 32px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.step-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  margin-top: 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

footer.site-footer a {
  color: var(--text-muted);
  text-decoration: underline;
  margin: 0 8px;
}

/* Legal pages (Impressum/Datenschutz) */
main.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 24px 64px;
}

main.legal h1 {
  font-size: 30px;
  margin-bottom: 4px;
}

main.legal .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

main.legal h2 {
  font-size: 20px;
  margin-top: 36px;
}

main.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

main.legal th, main.legal td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
}

main.legal th { color: var(--text-muted); font-weight: 600; }

.notice-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
