/* Orbit — orbit-app.ch
   Monochromes Design, abgeleitet aus der App (Akzent #1C1C1E, Fläche #F2F2F7). */

:root {
  --accent: #1C1C1E;
  --bg: #F2F2F7;
  --card: #FFFFFF;
  --text: #000000;
  --muted: rgba(60, 60, 67, 0.6);
  --faint: rgba(60, 60, 67, 0.45);
  --fill: rgba(120, 120, 128, 0.12);
  --border: rgba(60, 60, 67, 0.12);
  --radius: 20px;
  --maxw: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #F2F2F7;
    --bg: #131315;
    --card: #1C1C1E;
    --text: #F2F2F7;
    --muted: rgba(235, 235, 245, 0.6);
    --faint: rgba(235, 235, 245, 0.45);
    --fill: rgba(120, 120, 128, 0.22);
    --border: rgba(235, 235, 245, 0.14);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 10px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.brand strong { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.nav-links { margin-left: auto; display: flex; gap: 18px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  text-decoration: none; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }

/* Orbit-Logo (Ring + Satellit) */
.mark { width: 28px; height: 28px; flex: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; text-align: center; }
.hero .mark-lg { width: 86px; height: 86px; margin: 0 auto 26px; display: block; }
h1 {
  font-size: clamp(34px, 6vw, 52px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.08;
}
.lede {
  font-size: clamp(17px, 2.3vw, 20px); color: var(--muted);
  margin: 18px auto 0; max-width: 34em;
}
.cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: var(--bg);
  font-size: 16px; font-weight: 600;
  padding: 14px 26px; border-radius: 999px;
  text-decoration: none; border: none;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { transform: scale(0.98); opacity: 0.9; }
.btn.ghost {
  background: transparent; color: var(--accent);
  border: 1px solid var(--border);
}
.note { font-size: 13.5px; color: var(--faint); margin-top: 14px; }

/* ---------- App-Vorschau ---------- */
/* Die Geräte wachsen mit dem Bildschirm mit (clamp) und werden gestaffelt
   ausgeblendet, damit sie nie zu klein zum Erkennen werden:
   ab 861px drei Geräte, 621–860px zwei, darunter eines. */
.phones {
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(8px, 2vw, 22px);
  padding: 0 20px; margin-top: 6px;
}
.phones img {
  display: block; height: auto;
  width: clamp(150px, 24vw, 210px);
}
/* Mittlere Screens: zwei Geräte */
@media (max-width: 860px) {
  .phones img.md-hide { display: none; }
}
/* Schmale Screens: nur ein Gerät, dafür gut lesbar */
@media (max-width: 620px) {
  .phones img { width: min(62vw, 250px); }
  .phones img.sm-hide { display: none; }
}

.shot-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(12px, 2.5vw, 20px);
  max-width: var(--maxw); margin: 0 auto;
}
.shot-card img {
  display: block; width: 100%; height: auto;
  border-radius: 8px;
}
.shot-card .cap {
  font-size: 13px; color: var(--faint); text-align: center;
  padding-top: 12px; margin: 0;
}

/* ---------- Sections ---------- */
section { padding: 26px 0; }
h2 {
  font-size: clamp(24px, 3.4vw, 30px); font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 6px;
}
h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.section-lede { color: var(--muted); margin-bottom: 22px; max-width: 40em; }

.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 20px; border: 1px solid var(--border);
}
.card p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--fill); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.icon svg { width: 18px; height: 18px; }

/* Preis-Kacheln */
.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.plan .price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.plan .per { font-size: 14px; color: var(--faint); font-weight: 500; }
.plan ul { list-style: none; margin-top: 14px; display: grid; gap: 7px; }
.plan li { font-size: 14.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; background: var(--fill); color: var(--muted);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 8px;
}

/* ---------- Legal / Textseiten ---------- */
.page { padding: 48px 0 20px; }
.page h1 { font-size: clamp(30px, 4.6vw, 40px); }
.page .updated { color: var(--faint); font-size: 14px; margin-top: 10px; }
.prose { margin-top: 28px; }
.prose h2 { font-size: 20px; margin: 30px 0 8px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 15.5px; }
.prose p { margin-bottom: 12px; }
.prose ul { margin: 0 0 14px 22px; display: grid; gap: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.callout {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px 18px; margin: 6px 0 18px;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border); margin-top: 48px;
  padding: 30px 0 44px; color: var(--faint); font-size: 14px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-8 { margin-top: 8px; }
.hidden-sm { display: inline; }
@media (max-width: 560px) {
  .hidden-sm { display: none; }
  .hero { padding: 48px 0 40px; }
  .nav-links { gap: 14px; }
}
