:root {
  --bg: #fdfcfa;
  --ink: #14110f;
  --muted: #6b6661;
  --line: #e7e4df;
  --red: #c0392b;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 30px;
  transition: transform .15s ease, opacity .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); opacity: .9; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 38px; font-size: 17px; }
.btn-xl { padding: 22px 52px; font-size: 19px; }

/* ===== Navbar ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 250, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
}
.brand-icon { display: inline-block; width: 30px; height: 30px; object-fit: contain; }
.brand-name { font-weight: 600; font-size: 18px; letter-spacing: -.2px; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }

/* ===== Badge ===== */
.badge {
  display: inline-block;
  background: #f7e9e6;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

/* ===== Hero ===== */
.hero { text-align: center; padding: 64px 24px 40px; }
.hero-note { color: var(--muted); font-size: 15px; margin-top: 18px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: -1px;
}
.lead {
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 21px);
  max-width: 620px;
  margin: 26px auto 34px;
}
.hero-image { margin-top: 70px; }
.hero-image img { margin: 0 auto; border-radius: 16px; }

/* ===== Divider ===== */
.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin-top: 80px;
  margin-bottom: 80px;
}

/* ===== Section headings ===== */
section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5.5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.5px;
  text-align: center;
}

/* ===== App demo ===== */
.appdemo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.appdemo-item img {
  margin: 0 auto;
  border-radius: 26px;
  max-width: 320px;
}
.appdemo-item figcaption {
  text-align: center;
  margin-top: 28px;
  font-size: 19px;
  color: var(--ink);
}

/* ===== Features ===== */
.feature-image { margin: 56px auto 0; max-width: 760px; }
.feature-image img { border-radius: 20px; margin: 0 auto; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  margin-top: 70px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.feature-icon { display: inline-flex; margin-bottom: 16px; }
.feature h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }

/* ===== Benefit blocks ===== */
.benefit-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 64px;
}
.benefit-block {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px 36px;
  background: #fff;
}
.benefit-icon { display: inline-flex; margin-bottom: 18px; }
.benefit-block h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 24px;
}
.benefit-list { list-style: none; }
.benefit-list li {
  font-size: 16px;
  color: var(--muted);
  padding-left: 30px;
  position: relative;
  margin-bottom: 18px;
  line-height: 1.55;
}
.benefit-list li:last-child { margin-bottom: 0; }
.benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 700;
}
.benefit-list strong { color: var(--ink); font-weight: 600; }

/* ===== Steps (Ablauf) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 70px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* ===== Pricing ===== */
.pricing-lead { margin-bottom: 12px; }
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 50px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 32px;
  background: #fff;
}
.price-card--featured {
  border: 2px solid var(--ink);
  box-shadow: 0 18px 40px rgba(0,0,0,.07);
}
.price-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--muted);
  background: #f1efeb;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.price-tag--accent { background: #f7e9e6; color: var(--red); }
.price-line {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
}
.price-big {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  margin-right: 4px;
}
.price-strike {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 18px;
  margin-right: 6px;
}
.price-list {
  list-style: none;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.price-list li {
  font-size: 15px;
  padding-left: 26px;
  position: relative;
  margin-bottom: 11px;
  color: var(--ink);
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.muted-list li { color: var(--muted); }
.muted-list li::before { color: var(--muted); }
.btn-block { display: block; text-align: center; margin-top: 28px; }

/* ===== Stats + Why now ===== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-num { font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); font-weight: 600; }
.stat-label { color: var(--muted); font-size: 15px; margin-top: 4px; }
.why-text { max-width: 720px; margin: 56px 0 0; }
.why-text p { font-size: 19px; color: #2b2723; margin-bottom: 22px; }

/* ===== Vision (dark) ===== */
.vision {
  background: #0d0c0b;
  color: #fff;
  margin-top: 90px;
  padding: 120px 0;
}
.eyebrow {
  color: #8a8580;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 30px;
}
.vision h2 { text-align: left; color: #fff; }
.vision-text {
  color: #b8b3ad;
  font-size: clamp(18px, 2.4vw, 23px);
  max-width: 680px;
  margin-top: 34px;
}

/* ===== FAQ ===== */
.faq { padding-top: 10px; }
.faq-list {
  max-width: 760px;
  margin: 50px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  padding: 24px 40px 24px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--muted);
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  content: "−";
  color: var(--red);
}
.faq-item p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  padding: 0 40px 26px 0;
  margin-top: -4px;
}

/* ===== CTA ===== */
.cta { text-align: center; padding: 110px 24px; }
.cta .lead { margin-bottom: 36px; }
.cta-note { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* ===== Popup ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 13, 11, .55);
  backdrop-filter: blur(3px);
}
.popup-overlay.is-open { display: flex; animation: popup-fade .25s ease; }
@keyframes popup-fade { from { opacity: 0; } to { opacity: 1; } }
.popup {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  animation: popup-rise .3s ease;
}
@keyframes popup-rise { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.popup-close:hover { background: #fff; }
.popup-img { width: 100%; display: block; border-radius: 20px 20px 0 0; }
.popup-body { padding: 34px 40px 40px; text-align: center; }
.popup-text { font-size: 19px; color: var(--ink); line-height: 1.6; max-width: 560px; margin: 0 auto; }
.popup-fineprint { font-size: 13px; color: var(--muted); margin-top: 12px; }
.popup-btn { margin-top: 26px; padding: 18px 44px; font-size: 18px; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-name { font-family: var(--serif); font-size: 22px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 320px; }
.footer-col h4 {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col a { color: var(--ink); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--red); }

/* ===== Legal page ===== */
.legal {
  max-width: 760px;
  padding-top: 70px;
  padding-bottom: 90px;
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 54px);
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 19px;
  font-weight: 600;
  text-align: left;
  margin-top: 34px;
  margin-bottom: 8px;
}
.legal p { color: #2b2723; font-size: 16px; margin-bottom: 6px; }
.legal a { color: var(--red); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal-back { margin-top: 48px; }

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding-top: 56px; }
  .appdemo-grid { grid-template-columns: 1fr; gap: 56px; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .benefit-blocks { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .price-grid { grid-template-columns: 1fr; gap: 20px; }
  .stat-row { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .divider { margin-top: 56px; margin-bottom: 56px; }
  .vision { padding: 80px 0; }
  .cta { padding: 72px 24px; }
}
