:root {
  --bg: #f9fafb;
  --bg-alt: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e5e7eb;
  --primary: #4f46e5;
  --primary-soft: rgba(79, 70, 229, 0.08);
  --accent: #22c55e;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #e0ecff 0, #f9fafb 40%, #f9fafb 100%);
  color: var(--text);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ========= LAYOUT ========= */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========= HEADER ========= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(249, 250, 251, 0.9), rgba(249, 250, 251, 0.85));
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.brand-icon svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  padding: 6px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

/* ========= BUTTONS ========= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(79, 70, 229, 0.4);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.03);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.06);
}

/* ========= HERO ========= */

.hero {
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3.2vw + 1.4rem, 3.4rem);
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.hero-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-badges li {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Phone mockup */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 260px;
  border-radius: 32px;
  padding: 0.9rem 0.8rem;
  background: linear-gradient(145deg, #111827, #020617);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.75);
}

.phone-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 0.7rem;
}

.phone-notch {
  width: 72px;
  height: 16px;
  border-radius: 999px;
  background: #020617;
}

.phone-time {
  position: absolute;
  left: 0.3rem;
  top: 0.1rem;
  font-size: 0.7rem;
  color: #e5e7eb;
}

.phone-content {
  border-radius: 24px;
  background: radial-gradient(circle at top, #1e293b, #020617);
  padding: 0.9rem;
  color: #e5e7eb;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  color: #cbd5f5;
}

.phone-logo {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.phone-list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.phone-list-meta h3 {
  margin: 0;
  font-size: 1rem;
}

.phone-list-meta p {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  color: #9ca3af;
}

.pill {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.pill-green {
  background: rgba(22, 163, 74, 0.16);
  border-color: rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
}

.phone-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.phone-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.phone-item > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.item-name.done {
  text-decoration: line-through;
  opacity: 0.6;
}

.item-user {
  font-size: 0.7rem;
  color: #9ca3af;
}

.check-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.check-done {
  background: #22c55e;
  border-color: #22c55e;
  position: relative;
}

.check-done::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  border: 2px solid #dcfce7;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}

.phone-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.input-pill {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.4rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15, 23, 42, 0.6);
}

.input-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.input-pill .placeholder {
  font-size: 0.78rem;
  color: #9ca3af;
}

.phone-mic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #22c55e, #16a34a);
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.6);
  cursor: pointer;
}

.phone-mic svg {
  width: 18px;
  height: 18px;
  fill: #ecfeff;
  stroke: #ecfeff;
}

/* Floating card */

.hero-float-card {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 0.7rem 0.9rem;
  max-width: 220px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.hero-float-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 0.2rem;
}

.dot-green {
  background: #22c55e;
}

/* ========= SECTION GENERIC ========= */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: radial-gradient(circle at top right, #eff6ff 0, #f9fafb 40%, #f9fafb 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* ========= FEATURES ========= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 18px 36px rgba(148, 163, 184, 0.16);
}

.feature-card h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--primary-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

/* ========= WHY ========= */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2.4rem;
  align-items: center;
}

.why-text p {
  color: var(--text-muted);
}

.why-points {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-item {
  display: flex;
  gap: 0.9rem;
}

.why-badge {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
}

.why-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.18);
}

.stat-card.secondary {
  background: linear-gradient(145deg, #4f46e5, #22c55e);
  color: #eef2ff;
}

.stat-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.stat-card p {
  margin: 0;
  font-size: 0.9rem;
}

.big-number {
  font-size: 2rem;
  font-weight: 700;
}

/* ========= PRICING ========= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.18);
}

.pricing-card.highlight {
  border-color: var(--primary);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.pricing-price {
  margin: 0.4rem 0 0.3rem;
  font-size: 2rem;
  font-weight: 700;
}

.pricing-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-sub {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.pricing-list li::before {
  content: "•";
  color: var(--primary);
  margin-right: 0.4rem;
}

/* ========= TESTIMONIALS ========= */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.16);
}

.quote {
  margin-top: 0;
  font-size: 0.98rem;
}

.author {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========= FOOTER ========= */

.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: #f8fafc;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.footer-brand p {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 420px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  font-size: 0.9rem;
}

.footer-links h4 {
  margin: 0 0 0.3rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========= SCROLL-ANIMATION ========= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.12s;
}

.reveal.delay-2 {
  transition-delay: 0.24s;
}

/* ========= RESPONSIVE ========= */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(249, 250, 251, 0.98);
    padding: 1.2rem 1.5rem 1.3rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  }

  .site-header.nav-open .header-cta {
    display: flex;
    position: absolute;
    top: 72px;
    right: 1.5rem;
    margin-top: 120px; /* unterhalb der Links */
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 3.2rem;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    flex-direction: column;
  }
}
