/* Lifenance Website: gleiche Prinzipien wie die App.
   Nur Grüntöne plus zartes Braun für Kosten, flach (keine Schatten, keine Verläufe),
   mobile first, keine durchgehenden Großbuchstaben. */
:root {
  --bg: #f5f6f3;
  --surface: #ffffff;
  --surface-muted: #f1f3ef;
  --border: #dde1da;
  --text: #182019;
  --muted: #5f6a61;
  --accent: #245f48;
  --accent-strong: #1b4a38;
  --accent-soft: #e1ece6;
  --accent-line: #b9d3c5;
  --deep: #18221d;
  --deep-muted: #a9b6ae;
  --cost: #8a5a3b;
  --cost-soft: #f6ece5;
  --cost-line: #e6cfc2;
  --radius-l: 24px;
  --radius-m: 16px;
  --radius-s: 10px;
  --width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(36px, 8vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }

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

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Knöpfe wie in der App: flach, abgerundet */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 140ms ease;
}
.button:hover { background: var(--accent-strong); }
.button--ghost { background: transparent; color: var(--accent); border-color: var(--accent-line); }
.button--ghost:hover { background: var(--accent-soft); }
.button--light { background: #fff; color: var(--deep); border-color: #fff; }
.button--light:hover { background: var(--accent-soft); }

/* Kopfzeile */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand__mark {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800;
}
.brand strong { font-size: 17px; }
.topnav { display: none; gap: 24px; }
.topnav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.topnav a:hover { color: var(--accent); }
.topbar .button { min-height: 40px; padding: 8px 14px; font-size: 15px; }

/* Abschnitte */
section { padding: 56px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 18px; }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-size: 14px; font-weight: 600;
}
.chip--cost { background: var(--cost-soft); color: var(--cost); }

.phones { display: flex; justify-content: center; align-items: flex-start; gap: 16px; }
.phone {
  width: min(46%, 260px);
  border: 8px solid var(--deep);
  border-radius: 34px;
  overflow: hidden;
  background: var(--deep);
}
.phone img { border-radius: 26px; }
.phone--offset { margin-top: 48px; }

/* Karten */
.cards { display: grid; gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 24px;
}
.card h3 { margin: 12px 0 8px; }
.card p { color: var(--muted); }
.card--soft { background: var(--accent-soft); border-color: var(--accent-line); }
.card--cost { background: var(--cost-soft); border-color: var(--cost-line); }
.icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }

/* Schritte 1 bis 5 wie die Navigation der App */
.steps { display: grid; gap: 48px; }
.step { display: grid; gap: 20px; align-items: center; }
.step__num {
  width: 32px; height: 32px; border-radius: 9px;
  display: inline-grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 15px;
  margin-right: 10px;
}
.step h3 { font-size: 24px; display: flex; align-items: center; margin-bottom: 12px; }
.step p { color: var(--muted); }
.step ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.step li { margin: 4px 0; }

.shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.shot__bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-muted); }
.shot__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); }
.shot--tall img { max-height: 520px; object-fit: cover; object-position: top; }

/* Beispielgeschichte */
.story { display: grid; gap: 16px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li {
  display: grid; grid-template-columns: 84px 1fr; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s);
  padding: 14px 16px;
}
.timeline time { font-weight: 800; color: var(--accent); }
.timeline .cost time { color: var(--cost); }

/* Galerie */
.gallery { display: grid; gap: 16px; align-items: start; }

/* Datenschutz-Block dunkel, flach */
.private { background: var(--deep); color: #fff; }
.private .eyebrow { color: #9fd0b4; }
.private .section-head p { color: var(--deep-muted); }
.private .card { background: #223029; border-color: #2f3f36; }
.private .card p { color: var(--deep-muted); }
.private .icon { background: #2c4136; color: #bfe3cd; }

/* Ehrlich gerechnet */
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.estimate {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: var(--cost-soft); color: var(--cost); font-size: 13px; font-weight: 700;
}

/* Mitmachen */
.join {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-l);
  padding: 32px 20px;
  display: grid; gap: 20px;
}
.join ul { margin: 0; padding-left: 20px; color: var(--muted); }
.placeholder { background: var(--cost-soft); color: var(--cost); border-radius: 6px; padding: 1px 6px; font-weight: 700; }

/* Fragen */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }

/* Fußzeile */
.footer { border-top: 1px solid var(--border); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.footer__grid { display: grid; gap: 16px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer a { color: var(--muted); }

/* Rechtstexte */
.legal { padding: 40px 0 64px; max-width: 760px; }
.legal h1 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 20px; }
.legal h2 { font-size: 22px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.notice {
  background: var(--cost-soft); border: 1px solid var(--cost-line); color: var(--cost);
  border-radius: var(--radius-s); padding: 14px 16px; margin-bottom: 20px; font-weight: 600;
}

@media (min-width: 720px) {
  section { padding: 80px 0; }
  .wrap { padding: 0 24px; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .join { padding: 40px; grid-template-columns: 1.3fr 1fr; align-items: center; }
  .footer__grid { grid-template-columns: 1fr auto; }
}

@media (min-width: 960px) {
  .topnav { display: flex; }
  .hero { padding: 72px 0 80px; }
  .hero__grid { grid-template-columns: 1.1fr 1fr; }
  .step { grid-template-columns: 1fr 1.25fr; gap: 48px; }
  .step:nth-child(even) .step__text { order: 2; }
  .story { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
