/* ==========================================================
   Lieferkraft
   ========================================================== */

:root {
  --bg: #050505;
  --bg-elevated: #0a0a0a;
  --bg-card: #0f0f0f;
  --border: #1a1a1a;
  --border-light: #252525;
  --text: #ededed;
  --text-secondary: #999;
  --text-muted: #555;
  --accent: #eab308;
  --accent-hover: #d4a006;
  --accent-subtle: rgba(234, 179, 8, 0.06);
  --accent-glow: rgba(234, 179, 8, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1100px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: underline;
}

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

/* --- Layout --- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-main {
  flex: 1;
}

/* --- Header --- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo:hover {
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  line-height: 1;
}

.logo-text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.header-cta {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.header-cta:hover {
  color: var(--text-secondary);
  border-color: var(--text-muted);
  text-decoration: none;
}

/* --- Hero --- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: #fff;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeUp 0.8s var(--ease) 0.1s both;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 100px;
  background: rgba(234, 179, 8, 0.05);
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

/* Scroll hint */

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeUp 0.8s var(--ease) 0.5s both;
}

.scroll-hint-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* --- Sections --- */

.section {
  padding: 140px 0;
  position: relative;
}

.section--problem {
  border-top: 1px solid var(--border);
}

.section--stats {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--features {
  background: var(--bg);
}

.section--preview {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
}

.section--closing {
  padding: 160px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-heading {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-heading--large {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
}

.section-text {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}

/* --- Solution Steps --- */

.solution-grid {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.solution-step {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.solution-step:last-child {
  border-bottom: 1px solid var(--border);
}

.solution-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 3px;
}

.solution-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.solution-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

/* --- Stats --- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  text-align: center;
  padding: 0 20px;
}

.stat:not(:last-child) {
  border-right: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-suffix {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--text-secondary);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* --- Features --- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 40px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(234, 179, 8, 0.08);
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Notification Preview --- */

.preview-notification {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  perspective: 800px;
}

.notif {
  width: 100%;
  max-width: 400px;
  background: #141414;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 20px;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.notif--secondary {
  opacity: 0.4;
  transform: scale(0.95) translateY(-8px);
}

.notif-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.notif-icon {
  font-size: 0.85rem;
}

.notif-app {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.notif-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.notif-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(234, 179, 8, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.notif-product {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.notif-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.notif-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #22c55e;
}

.notif-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.notif-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
}

.notif-shop {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Scroll Reveal --- */

.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* stagger children */
.reveal-item:nth-child(2) { transition-delay: 0.06s; }
.reveal-item:nth-child(3) { transition-delay: 0.12s; }
.reveal-item:nth-child(4) { transition-delay: 0.18s; }
.reveal-item:nth-child(5) { transition-delay: 0.24s; }

/* --- Footer --- */

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* --- Page Content (Impressum, Datenschutz) --- */

.page-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.page-content h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.page-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 12px;
}

.page-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 8px;
}

.page-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.75;
}

.page-content ul, .page-content ol {
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-left: 20px;
}

.page-content li {
  margin-bottom: 6px;
  line-height: 1.65;
}

.page-content a {
  color: var(--accent);
}

.page-content strong {
  color: var(--text);
  font-weight: 600;
}

/* --- 404 --- */

.error-page {
  text-align: center;
  padding: 160px 24px 80px;
}

.error-page h1 {
  font-size: 5rem;
  font-weight: 900;
  color: var(--border-light);
  line-height: 1;
  margin-bottom: 16px;
}

.error-page p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.error-page a {
  display: inline-block;
  color: #000;
  background: var(--accent);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.error-page a:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

/* --- Animations --- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    min-height: 90dvh;
    padding: 100px 0 60px;
  }

  .section {
    padding: 80px 0;
  }

  .section--closing {
    padding: 100px 0;
  }

  .section-heading br {
    display: none;
  }

  .solution-step {
    flex-direction: column;
    gap: 12px;
    padding: 28px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stat:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .site-footer .container {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .header-cta {
    display: none;
  }

  .scroll-hint {
    bottom: 24px;
  }

  .page-content {
    padding: 100px 20px 60px;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 64px 0;
  }

  .notif {
    padding: 14px 16px;
  }
}
