/* Pastela — Website (helles, pastellfarbenes Design im Stil der App). */

:root {
  --bg: #fbfafc;
  --surface: #ffffff;
  --border: rgba(20, 16, 40, 0.08);
  --text: #2a2730;
  --muted: #79737f;
  --accent: #7c6fd0;         /* kräftigeres Lavendel für Text/Links */
  --accent-soft: #c6bef0;
  --mint: #c9e9b8;
  --peach: #f9c6a9;
  --radius: 20px;
  --maxw: 1000px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  background: rgba(251, 250, 252, 0.8);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-soft), var(--mint) 55%, var(--peach));
  display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800;
  box-shadow: 0 2px 8px rgba(124, 111, 208, 0.3);
}
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 78px 0 64px; border-bottom: 1px solid var(--border);
  background: radial-gradient(70% 90% at 85% -10%, rgba(198,190,240,0.35), transparent 60%),
              radial-gradient(60% 80% at 0% 0%, rgba(201,233,184,0.30), transparent 55%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; font-weight: 600; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.05; margin: 0 0 16px; font-weight: 800; letter-spacing: -1px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 32ch; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { text-decoration: none; opacity: 0.92; }

/* App-Kachel-Mock */
.mock { justify-self: center; width: 220px; aspect-ratio: 1; border-radius: 48px;
  background: linear-gradient(135deg, var(--accent-soft), var(--mint) 55%, var(--peach));
  display: grid; place-items: center;
  box-shadow: 0 30px 60px rgba(124,111,208,0.35); }
.mock svg { width: 46%; height: 46%; }

/* Feature-Karten */
section { padding: 62px 0; }
.section-title { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
h2 { font-size: clamp(26px, 3.4vw, 32px); margin: 0 0 30px; letter-spacing: -0.5px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Rechtstext-Seiten */
.page-head { padding: 52px 0 26px; border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 6px; letter-spacing: -0.5px; }
.page-head .stand { color: var(--muted); font-size: 14px; }
.legal { padding: 40px 0 80px; }
.legal .content { max-width: 760px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: #47434f; font-size: 16.5px; }
.legal ul { padding-left: 20px; } .legal li { margin: 6px 0; }
.note { margin: 26px 0; padding: 16px 18px; border-left: 3px solid var(--accent-soft);
  background: var(--surface); border: 1px solid var(--border); border-radius: 0 12px 12px 0; color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .mock { grid-row: 1; width: 160px; }
  .features { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}

@media (prefers-color-scheme: dark) {
  :root { --bg: #141218; --surface: #1d1a22; --border: rgba(255,255,255,0.10);
    --text: #ececef; --muted: #a09aa8; --accent: #b9aef2; }
  .legal p, .legal li { color: #cfcad6; }
  .site-header { background: rgba(20,18,24,0.8); }
}
