/* daylapse.app – hell, warm, Farben des App-Icons. Keine externen Schriften (Datenschutz). */
:root {
  --bg: #fff6ef;
  --bg-2: #fffaf6;
  --ink: #24181a;
  --muted: #6f5f5c;
  --line: rgba(36, 24, 26, .08);
  --card: #ffffff;
  --coral: #ff5f57;
  --orange: #ff9a4d;
  --accent: linear-gradient(95deg, #ff9a4d, #ff5f57 70%, #f0566e);
  --shadow: 0 30px 80px rgba(150, 70, 40, .16), 0 8px 24px rgba(150, 70, 40, .10);
  --radius: 28px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dot { color: var(--coral); }

/* Navigation */
.nav { position: sticky; top: 12px; z-index: 10; padding: 0 16px; }
.nav-inner {
  max-width: 1080px; margin: 12px auto 0; display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 16px; border-radius: 20px; border: 1px solid var(--line);
  background: rgba(255, 250, 246, .78); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -.3px; }
.brand img { border-radius: 9px; }
.nav nav { flex: 1; display: flex; justify-content: center; gap: 28px; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--ink); }
.nav-cta {
  text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 16px; border-radius: 13px;
  background: var(--ink); color: #fff; white-space: nowrap;
}

/* Hero */
.hero { position: relative; text-align: center; padding: 96px 20px 0; max-width: 1180px; margin: 0 auto; }
.hero h1 { font-size: clamp(46px, 8vw, 92px); line-height: 1.02; letter-spacing: -2.5px; font-weight: 850; position: relative; }
.lead { max-width: 640px; margin: 26px auto 0; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); position: relative; }
.cta-row { margin-top: 34px; display: flex; justify-content: center; position: relative; }
.note { margin-top: 18px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 600; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px 12px 20px; border-radius: 16px;
  background: #000; color: #fff; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); transition: transform .2s;
}
.badge:hover { transform: translateY(-2px); }
.badge svg { width: 30px; height: 36px; }
.badge span { display: flex; flex-direction: column; text-align: left; font-size: 26px; font-weight: 600; line-height: 1.05; letter-spacing: -.5px; }
.badge small { font-size: 12px; font-weight: 500; letter-spacing: 0; }

/* Tageskacheln, die sich nacheinander füllen */
.tiles {
  position: absolute; inset: 40px 0 auto; margin: 0 auto; width: min(1000px, 100%); display: grid;
  grid-template-columns: repeat(14, 1fr); gap: 10px; opacity: .55; pointer-events: none;
  mask-image: radial-gradient(closest-side, #000 30%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
}
.tiles i { aspect-ratio: 1; border-radius: 9px; background: rgba(255, 140, 90, .10); animation: fill 1.2s var(--d) both; }
@keyframes fill { from { background: rgba(255, 140, 90, .04); transform: scale(.85); } 60% { background: rgba(255, 120, 80, .38); } to { background: rgba(255, 140, 90, .16); transform: none; } }

/* iPhones */
.phone {
  position: relative; width: 300px; aspect-ratio: 660 / 1434; border-radius: 46px; padding: 9px;
  background: linear-gradient(145deg, #4a4550, #1d1a22 40%, #3a3640); box-shadow: var(--shadow);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.phone .island { position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 31%; height: 26px; border-radius: 20px; background: #000; }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; margin-top: 64px; height: 560px; overflow: hidden; }
.hero-phones .phone { position: absolute; bottom: -120px; }
.hero-phones .center { z-index: 2; width: 320px; }
.hero-phones .left { transform: translateX(-300px) rotate(-8deg) scale(.9); bottom: -170px; }
.hero-phones .right { transform: translateX(300px) rotate(8deg) scale(.9); bottom: -170px; }

/* Abschnitte */
.section { max-width: 1080px; margin: 0 auto; padding: 110px 20px 0; text-align: center; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -1.5px; font-weight: 850; }
.sub { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 18px; }

.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; }
.step h3 { margin-top: 18px; font-size: 21px; letter-spacing: -.3px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.gallery { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; overflow: hidden; }
.card .phone { width: 82%; margin: 0 auto 22px; box-shadow: 0 20px 50px rgba(150, 70, 40, .16); }
.card h3 { font-size: 20px; letter-spacing: -.3px; }
.card p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.card:last-child { grid-column: span 3; display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 36px; }
.card:last-child .phone { width: 100%; margin: 0; }
.card:last-child h3 { font-size: 30px; }
.card:last-child p { font-size: 18px; }

.chips { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips span { background: var(--card); border: 1px solid var(--line); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 17px; }

.privacy {
  padding: 64px 32px; border-radius: 36px; color: #fff;
  background: radial-gradient(800px 400px at 20% 0%, rgba(255, 190, 120, .55), transparent 60%), linear-gradient(135deg, #ff8a52, #ff5f57 55%, #e14f78);
  box-shadow: 0 30px 80px rgba(255, 95, 87, .28);
}
.privacy .lock { font-size: 44px; }
.privacy h2 { margin-top: 12px; }
.privacy p { max-width: 640px; margin: 16px auto 0; font-size: 19px; opacity: .92; }
.privacy ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.privacy li { background: rgba(255, 255, 255, .18); padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; }

.plans { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.plan h3 { font-size: 26px; }
.plan ul { list-style: none; margin-top: 16px; display: grid; gap: 11px; }
.plan li { padding-left: 30px; position: relative; font-size: 16.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 7px; background: rgba(36, 24, 26, .07); font-size: 12px; font-weight: 800; }
.plan.pro { background: #24181a; color: #fff; border: none; box-shadow: var(--shadow); }
.plan.pro h3 { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan.pro li::before { background: var(--accent); color: #fff; }
.fine { margin-top: 18px; color: var(--muted); font-size: 14px; }

.faq { margin: 40px auto 0; max-width: 760px; text-align: left; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--coral); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: var(--muted); }

.final { max-width: 760px; margin: 120px auto 0; padding: 0 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final img { border-radius: 22px; box-shadow: var(--shadow); }
.final p { color: var(--muted); font-size: 19px; margin-bottom: 10px; }

footer { margin-top: 120px; border-top: 1px solid var(--line); background: var(--bg-2); }
.foot { max-width: 1080px; margin: 0 auto; padding: 32px 20px 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; flex: 1; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: var(--ink); }
.foot p { color: var(--muted); font-size: 14px; }

/* Textseiten */
.doc { max-width: 760px; margin: 0 auto; padding: 80px 20px 0; }
.doc h1 { font-size: clamp(36px, 6vw, 54px); letter-spacing: -1.5px; line-height: 1.05; }
.doc h2 { font-size: 22px; letter-spacing: -.3px; margin-top: 36px; }
.doc h3 { font-size: 18px; margin-top: 24px; }
.doc p, .doc li { margin-top: 12px; color: #4a3b38; font-size: 17px; }
.doc ul { padding-left: 22px; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc .mail { display: inline-block; margin-top: 6px; font-size: 22px; font-weight: 800; text-decoration: none; background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .tiles i { animation: none; } }

/* Tablet & Handy */
@media (max-width: 900px) {
  .steps, .gallery { grid-template-columns: 1fr 1fr; }
  .card:last-child { grid-column: span 2; grid-template-columns: 200px 1fr; }
  .hero-phones .left { transform: translateX(-220px) rotate(-8deg) scale(.82); }
  .hero-phones .right { transform: translateX(220px) rotate(8deg) scale(.82); }
}
@media (max-width: 640px) {
  .nav nav { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero { padding-top: 64px; }
  .tiles { grid-template-columns: repeat(8, 1fr); }
  .steps, .gallery, .plans { grid-template-columns: 1fr; }
  .card:last-child { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  .card:last-child .phone { width: 82%; margin: 0 auto 22px; }
  .card:last-child h3 { font-size: 20px; }
  .card:last-child p { font-size: 15.5px; }
  .hero-phones { height: 430px; margin-top: 36px; }
  .hero-phones .center { width: 260px; }
  .hero-phones .phone { width: 230px; }
  .hero-phones .left { transform: translateX(-150px) rotate(-8deg) scale(.8); }
  .hero-phones .right { transform: translateX(150px) rotate(8deg) scale(.8); }
  .section { padding-top: 84px; }
  .privacy { padding: 48px 22px; }
}
