:root {
  --black: #0A0A0B;
  --anthracite: #1C1C1F;
  --soft-grey: #F2F1F4;
  --off-white: #FAFAFA;
  --white: #FFFFFF;
  --indigo: #5B5BF0;
  --indigo-dim: #4747c4;
  --text: var(--black);
  --text-muted: #55555c;
  --bg: var(--off-white);
  --surface: var(--white);
  --border: #e7e5ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: var(--off-white);
    --text-muted: #b3b1bb;
    --bg: var(--black);
    --surface: var(--anthracite);
    --border: #2c2c31;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sections carry .wrap too. `.wrap` (0,1,0) outranks a bare `section` (0,0,1),
   so vertical padding has to match that specificity or it silently vanishes.
   padding-block keeps the horizontal 24px from .wrap intact. */
section.wrap { padding-block: 64px; }

header {
  padding: 24px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }

.logo-img {
  height: 112px;
  width: auto;
  display: block;
}

.logo-mark {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.lang-switch a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 8px;
}

.lang-switch a.active {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .nav-links a:not(.lang-switch a) { display: none; }
}

section.hero {
  padding-block: 64px 80px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  background: rgba(91, 91, 240, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 20px;
}

.subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.store-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: opacity 0.15s ease;
}

@media (prefers-color-scheme: dark) {
  .store-btn { background: var(--white); color: var(--black); }
}

.store-btn:hover { opacity: 0.85; }
.store-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.store-note {
  font-size: 13px;
  color: var(--text-muted);
}

.mockup {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.phone {
  width: 220px;
  height: 460px;
  border-radius: 32px;
  border: 6px solid var(--black);
  background: linear-gradient(160deg, var(--indigo) 0%, #8b8bf5 50%, var(--soft-grey) 100%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.35);
}

@media (prefers-color-scheme: dark) {
  .phone { border-color: var(--soft-grey); }
}

.phone:nth-child(2) { margin-top: -24px; }

@media (max-width: 560px) {
  .phone:nth-child(3) { display: none; }
}
@media (max-width: 400px) {
  .phone:nth-child(1) { display: none; }
}


.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--indigo);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

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

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.feature h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.feature p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

section.final-cta {
  text-align: center;
  padding-block: 72px;
}

.final-cta h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.legal {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 0 96px;
}

.legal h1 {
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}

.legal address {
  font-style: normal;
  line-height: 1.7;
  margin: 0 0 28px;
}

.legal p {
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.legal .back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}

.legal .back-link:hover { color: var(--text); }

/* Laengere Rechtstexte (Datenschutz) - Impressum braucht nur h1/address/p. */
.legal h2 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}

.legal ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal li { margin-bottom: 6px; }

.legal a { color: var(--indigo); }

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

/* Sichtbarer Hinweis, solange die juristische Pruefung aussteht. */
.legal .draft-note {
  border: 1px solid var(--border);
  border-left: 3px solid var(--indigo);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 0 32px;
  font-size: 14px;
}
