:root {
  --bg: #0f1226;
  --bg-2: #171b38;
  --text: #f2f3fb;
  --muted: #a9adcf;
  --line: #2a2f57;
  --turquoise: #1fd1c1;
  --magenta: #ff3d8b;
  --amber: #ffb627;
  --violet: #8b5cff;
  --orange: #ff6b35;
  --sky: #3fa7ff;
  --radius: 18px;
  --max: 960px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--turquoise); }
a:hover { color: #6ff0e3; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Kopfbereich ---------- */

.hero {
  position: relative;
  overflow: hidden;
  height: 56vh;
  min-height: 320px;
  max-height: 560px;
  border-bottom: 1px solid var(--line);
}

#circles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 0 20px;
}

.wordmark {
  font-size: clamp(3rem, 13vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 24px rgba(15, 18, 38, .85), 0 0 2px rgba(15, 18, 38, .9);
}

.wordmark .code { color: var(--turquoise); }

/* ---------- Abschnitte ---------- */

section { padding: 64px 0; }

h2 {
  font-size: 1.7rem;
  margin: 0 0 24px;
  letter-spacing: -.01em;
}

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

.app {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.app h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app .app-foot { margin-top: auto; }
.app p { margin: 0 0 16px; color: var(--muted); }
.app .lead { color: var(--text); font-size: 1.08rem; font-weight: 600; margin-bottom: 6px; }

.app-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.platforms { display: inline-flex; gap: 8px; }

.platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
}

.platform svg { width: 15px; height: 15px; flex: none; }

.dots { display: inline-flex; gap: 4px; }
.dots i { display: block; border-radius: 50%; }
.dots i:nth-child(1) { width: 18px; height: 18px; background: var(--magenta); }
.dots i:nth-child(2) { width: 11px; height: 11px; background: var(--amber); align-self: flex-end; }
.dots i:nth-child(3) { width: 14px; height: 14px; background: var(--turquoise); }

.badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 182, 39, .15);
  color: var(--amber);
  border: 1px solid rgba(255, 182, 39, .4);
}

.dots.alt i:nth-child(1) { background: var(--violet); }
.dots.alt i:nth-child(2) { background: var(--orange); }
.dots.alt i:nth-child(3) { background: var(--sky); }

.contact p { margin: 0; color: var(--muted); }
.contact a { font-size: 1.15rem; }

/* ---------- Fuß ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: .92rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

footer nav a { color: var(--muted); margin-right: 18px; }
footer nav a:hover { color: var(--text); }

/* ---------- Rechtstexte ---------- */

.legal-head {
  padding-top: 36px;
}

.legal-head a.home {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
}

.legal {
  padding-top: 32px;
  padding-bottom: 64px;
  max-width: 760px;
}

.legal h1 { font-size: 2rem; margin: 0 0 24px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.legal p, .legal li { color: #d6d8ee; }
.legal ul { padding-left: 22px; }

/* Platzhalter: vor Veröffentlichung ersetzen */
.ph {
  background: rgba(255, 61, 139, .18);
  border: 1px dashed var(--magenta);
  border-radius: 6px;
  padding: 0 6px;
  color: #ffc2da;
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { height: 48vh; min-height: 280px; }
  section { padding: 48px 0; }
}

/* Status je Plattform: grün = online, orange = in Vorbereitung */
.st { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.st.on { background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .18); }
.st.soon { background: #ff9f43; box-shadow: 0 0 0 3px rgba(255, 159, 67, .18); }
a.platform { text-decoration: none; }
a.platform:hover { border-color: #3ddc84; }
.legend { display: flex; gap: 16px; margin: -6px 0 16px; font-size: .8rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }

/* Sprachumschalter oben rechts */
.lang { position: absolute; top: 14px; right: 16px; z-index: 5; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgba(15, 18, 38, .7); border: 1px solid var(--line); }
.lang button { border: 0; background: transparent; color: var(--muted); font: 600 .78rem/1 inherit; font-family: inherit; padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--text); color: #0f1226; }
.legal h3 { font-size: 1rem; margin: 14px 0 6px; }
.status { padding-top: 0; }
.status .legend { margin: 0; justify-content: center; }
.contact-page .big-mail { margin-top: 14px; }
.contact-page .big-mail a { font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }
