/* Maktobi Präsentationsseite – Design-Tokens wie app/src/theme/tokens.ts (docs/09-design.md).
   Kein Framework, keine Build-Schritte: eine Datei, mobile zuerst. */

:root {
  --primary: #D81B72;
  --primary-dark: #B0125E;
  --primary-light: #FCE7F1;
  --plum: #441D3E;
  --title: #232954;
  --text: #5B6178;
  --muted: #6B7189;
  --surface: #F3F5FB;
  --border: #E3E5EE;
  --radius-card: 18px;
  --shadow: 0 10px 30px rgba(35, 41, 84, 0.08);
  --font-title: "Poppins", system-ui, -apple-system, sans-serif;
  --font-text: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-title); color: var(--title); line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--primary-dark); }
img { max-width: 100%; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }

.container { max-width: 1100px; margin-inline: auto; padding-inline: 24px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-weight: 700; font-size: 1.25rem;
  color: var(--title); text-decoration: none;
}
.brand img { width: 32px; height: 32px; }
.lang-nav { margin-inline-start: auto; display: flex; gap: 2px; flex-wrap: wrap; }
.lang-nav a {
  padding: 6px 11px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: 0.9rem; white-space: nowrap;
}
.lang-nav a:hover { color: var(--primary-dark); }
.lang-nav a[aria-current="true"] { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; }
@media (max-width: 640px) { .header .btn { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font-title); font-weight: 600; font-size: 1rem;
  text-decoration: none; min-height: 48px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #E0247C, #B0125E); color: #fff;
  box-shadow: 0 8px 20px rgba(216, 27, 114, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(216, 27, 114, 0.32); }
.btn-ghost { border: 1.5px solid var(--border); color: var(--title); background: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-sm { padding: 9px 20px; min-height: 42px; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
}
.hero-inner {
  display: grid; gap: 40px; align-items: center;
  padding-block: 64px 88px;
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.1fr 0.9fr; padding-block: 88px 104px; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border);
  color: var(--primary-dark); font-weight: 700; font-size: 0.85rem;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero .lead { font-size: 1.15rem; max-width: 45ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }
.hero-art img { display: block; margin-inline: auto; max-width: 420px; width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(35, 41, 84, 0.12)); }

/* ---------- Abschnitte ---------- */
.section { padding-block: 80px; }
.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); }
.eyebrow {
  color: var(--primary-dark); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 12px;
}

/* ---------- Features ---------- */
.features { display: grid; gap: 20px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 28px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--primary-light); color: var(--primary-dark);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Ablauf ---------- */
.steps { display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-num {
  width: 44px; height: 44px; border-radius: 999px;
  background: linear-gradient(135deg, #E0247C, #B0125E); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-title); font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-wrap { padding-block: 0 96px; }
.cta {
  background: linear-gradient(135deg, var(--plum), var(--primary-dark));
  color: #fff; border-radius: 24px;
  padding: 56px 28px; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.85); max-width: 46ch; margin-inline: auto; }
.cta .btn { margin-top: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--primary-dark); }
.footer-copy { color: var(--muted); font-size: 0.85rem; width: 100%; margin: 0; }

/* ---------- Recht (Datenschutz/AGB/Impressum) ---------- */
.legal { max-width: 720px; margin-inline: auto; padding-block: 56px 96px; }
.legal h1 { font-size: 1.9rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal .lang-body { margin-top: 32px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; }
.legal .draft {
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius-card); padding: 14px 18px;
  color: var(--muted); font-size: 0.9rem;
}
