:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #dbeafe;
  --glow: rgba(37, 99, 235, 0.18);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --surface: #111a2e;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: #1e2a44;
    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-soft: #172554;
    --glow: rgba(59, 130, 246, 0.22);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; overflow-x: clip; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; }

.glow {
  position: absolute;
  top: -20vh;
  left: 0;
  right: 0;
  height: 70vh;
  background: radial-gradient(ellipse at 50% 0%, var(--glow), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.top, main, .bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand .tld { color: var(--primary); }

.top-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s;
}

.top-link:hover { background: var(--primary-soft); }

/* Hero */
main { flex: 1; }

.hero {
  text-align: center;
  padding: 72px 0 56px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h1 .accent { color: var(--primary); }

.lead {
  max-width: 600px;
  margin: 0 auto 44px;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--muted);
}

/* App-Hinweis */
.app-card {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 20px 20px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-align: left;
}

.app-card-text { display: flex; flex-direction: column; min-width: 0; }

.app-card-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.app-card-url {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  word-break: break-all;
}

.button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.button:hover { background: var(--primary-hover); transform: translateY(-1px); }
.button:focus-visible, .top-link:focus-visible, .brand:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Schritte */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0 16px;
}

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

.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 14px;
}

.step h2 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.soon {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 32px 0 48px;
}

/* Footer */
.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.bottom nav { display: flex; gap: 20px; }
.bottom a { text-decoration: none; }
.bottom a:hover { color: var(--text); }

/* Mobil */
@media (max-width: 760px) {
  .top, main, .bottom { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 40px 0 40px; }
  .steps { grid-template-columns: 1fr; }
  .app-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 22px;
  }
  .button { justify-content: center; }
}
