@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #1b1d29;
  --muted: #5d6174;
  --base: #f4f2fa;
  --accent: #3e6596;
  --accent-ink: #ffffff;
  --rose: #f7d9e7;
  --sky: #d4e0f3;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --line: rgba(27, 29, 41, 0.08);
  --shadow: 0 24px 60px -24px rgba(40, 52, 90, 0.28);
  --radius: 28px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f1f7;
    --muted: #a4a6b5;
    --base: #121320;
    --accent: #8fb0dc;
    --accent-ink: #10131f;
    --rose: #4a2b3c;
    --sky: #23324d;
    --glass: rgba(34, 36, 54, 0.6);
    --glass-strong: rgba(34, 36, 54, 0.85);
    --line: rgba(255, 255, 255, 0.08);
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--base);
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
.feature-text h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 14px; }

/* Weicher Verlauf wie in der App: Himmelblau links oben, Rosé rechts */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vmax 50vmax at 0% 0%, var(--sky), transparent 70%),
    radial-gradient(55vmax 45vmax at 100% 10%, var(--rose), transparent 70%),
    radial-gradient(50vmax 40vmax at 60% 100%, var(--sky), transparent 70%),
    var(--base);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Navigation */
.nav {
  position: sticky;
  top: 12px;
  z-index: 10;
  margin-top: 12px;
}
.nav .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav .links { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 16px; }
.nav .links a:not(.btn) { color: var(--muted); }
.nav .links a:not(.btn):hover { color: var(--ink); text-decoration: none; }
@media (max-width: 720px) { .nav .links a:not(.btn) { display: none; } }

/* Knöpfe */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.small { padding: 9px 18px; font-size: 15px; }
.btn.ghost { background: var(--glass-strong); color: var(--ink); border: 1px solid var(--line); }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 40px;
}
.eyebrow { font-weight: 700; color: var(--accent); font-size: 16px; margin: 0 0 14px; }
h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 22px;
}
.lead { font-size: clamp(19px, 2vw, 22px); color: var(--muted); margin: 0 0 32px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 15px; color: var(--muted); margin-top: 16px; }

.hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
.hero-visual .phone { width: 280px; }
.hero-visual .phone.back { position: absolute; left: 4%; top: 60px; width: 240px; transform: rotate(-6deg); opacity: 0.95; }
.hero-visual .phone.front { position: relative; z-index: 2; margin-left: 120px; }
.hero-visual .watch { position: absolute; right: 0; bottom: 10px; z-index: 3; width: 150px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 32px; }
  .hero-visual { min-height: 480px; }
  .hero-visual .phone.front { margin-left: 90px; width: 240px; }
  .hero-visual .phone.back { width: 200px; left: calc(50% - 190px); }
  .hero-visual .watch { right: calc(50% - 200px); width: 120px; }
}
@media (max-width: 480px) {
  .hero-visual .phone.front { margin-left: 70px; width: 210px; }
  .hero-visual .phone.back { width: 170px; left: 8px; }
  .hero-visual .watch { right: 0; width: 104px; }
}

/* Telefonrahmen */
.phone {
  border-radius: 44px;
  padding: 9px;
  background: #15161f;
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.phone img { border-radius: 36px; width: 100%; }

.watch {
  border-radius: 46px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

/* Abschnitte */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
h2 {
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 14px;
}
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 800; margin: 0 0 8px; }
.section-head p { color: var(--muted); font-size: 20px; margin: 0; }

.glass {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Drei Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 28px; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 19px; margin-bottom: 18px;
}
.step p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Funktionen im Wechsel: Text und Bild */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
}
.feature.flip .feature-text { order: 2; }
.feature-text { max-width: 480px; }
.feature-text p { color: var(--muted); font-size: 19px; margin: 0 0 16px; }
.feature-text ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-text li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.feature-text li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px; margin-top: 3px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.feature-visual { display: flex; justify-content: center; gap: 20px; align-items: flex-end; }
.feature-visual .phone { width: 270px; }
.feature-visual .watch { width: 170px; }
.tag {
  display: inline-block;
  font-size: 14px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  background: var(--glass-strong); border: 1px solid var(--line);
  color: var(--accent); margin-bottom: 14px;
}
@media (max-width: 820px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 0; }
  .feature.flip .feature-text { order: 0; }
  .feature-visual .phone { width: 230px; }
  .feature-visual .watch { width: 130px; }
}

/* Live Activity auf dem Sperrbildschirm, als HTML nachgebaut */
.lockscreen {
  width: 270px;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  padding: 9px;
  background: #15161f;
  box-shadow: var(--shadow);
}
.lockscreen .screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 20% 10%, #6d7fa8, transparent 60%),
    radial-gradient(90% 60% at 90% 70%, #b07a95, transparent 60%),
    linear-gradient(160deg, #2b3350, #1a1c2b);
  color: #fff;
  display: flex; flex-direction: column; align-items: center;
}
.lockscreen .date { margin-top: 44px; font-weight: 600; font-size: 15px; opacity: 0.85; }
.lockscreen .time { font-weight: 700; font-size: 72px; line-height: 1; letter-spacing: -0.03em; opacity: 0.92; }
.lockscreen .activity {
  position: absolute; left: 10px; right: 10px; bottom: 70px;
  padding: 14px 14px 14px 16px;
  border-radius: 22px;
  background: rgba(20, 22, 34, 0.55);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center;
}
.lockscreen .meta { font-size: 11px; opacity: 0.7; display: flex; justify-content: space-between; grid-column: 1 / -1; }
.lockscreen .instr { font-size: 16px; font-weight: 700; line-height: 1.25; }
.lockscreen .done {
  width: 40px; height: 40px; border-radius: 50%;
  background: #8fb0dc; display: grid; place-items: center;
}
.lockscreen .done svg { width: 20px; height: 20px; }
.lockscreen .bar-progress { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.18); margin-top: 6px; }
.lockscreen .bar-progress span { display: block; height: 100%; width: 62%; border-radius: 4px; background: #8fb0dc; }
@media (max-width: 820px) { .lockscreen { width: 230px; } .lockscreen .time { font-size: 60px; } }

/* Kleine Kacheln */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { padding: 26px; }
.tile .icon {
  width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--glass-strong); border: 1px solid var(--line);
  color: var(--accent); margin-bottom: 16px;
}
.tile .icon svg { width: 24px; height: 24px; }
.tile p { margin: 0; color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }

/* Preise */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.plan { padding: 34px; display: flex; flex-direction: column; }
.plan.plus { background: var(--glass-strong); border: 2px solid var(--accent); }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 4px; }
.plan .price small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .sub { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; font-weight: 600; font-size: 17px; }
.plan li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.pricing-note { color: var(--muted); font-size: 16px; margin-top: 20px; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }

/* Fragen */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { padding: 4px 24px; }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: 19px; padding: 18px 0;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 26px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Schluss */
.final { text-align: center; padding: 64px 28px; }
.final img { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 22px; box-shadow: var(--shadow); }
.final p { color: var(--muted); font-size: 20px; margin: 0 auto 28px; max-width: 40ch; }
.final .cta { justify-content: center; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--muted); font-weight: 600; }

/* Rechtstexte */
.legal { padding: 56px 0 24px; }
.legal .doc { max-width: 780px; padding: clamp(24px, 5vw, 48px); }
.legal h1 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; letter-spacing: -0.01em; margin: 36px 0 10px; }
.legal h3 { font-size: 19px; margin: 24px 0 6px; }
.legal p, .legal li { font-size: 17px; }
.legal .stand { color: var(--muted); margin: 0 0 24px; }
.ph {
  background: #fff3b0; color: #5a4600;
  padding: 1px 6px; border-radius: 6px; font-weight: 700;
}
@media (prefers-color-scheme: dark) { .ph { background: #5a4a10; color: #fff3b0; } }
.draft-note {
  border-radius: 18px; padding: 16px 20px; margin-bottom: 28px;
  background: rgba(255, 220, 120, 0.25); border: 1px solid rgba(200, 160, 40, 0.35);
  font-size: 16px;
}

@media (max-width: 480px) {
  .lockscreen { width: 200px; }
  .lockscreen .time { font-size: 52px; }
  .feature-visual { gap: 12px; }
  .feature-visual .watch { width: 110px; border-radius: 30px; }
}
