/* ══════════════════════════════════════════════
   RIVA LANDING PAGE — riva-landing.css
   Design: Navy · Weiß · RIVA-Grün · Gold-Akzente
   Mobile First · Premium · Klar · Ruhig
══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --navy:       #0D2057;
  --navy-deep:  #081440;
  --blue:       #1565C0;
  --green:      #2E9E50;
  --green-lt:   #E8F7ED;
  --gold:       #C9A84C;
  --white:      #FFFFFF;
  --off-white:  #F7F9FC;
  --border:     rgba(13,32,87,0.10);
  --text:       #0D2057;
  --text-2:     #4A5568;
  --text-3:     #9AA5B4;
  --radius:     20px;
  --radius-sm:  12px;
  --shadow:     0 4px 24px rgba(13,32,87,0.08);
  --shadow-lg:  0 12px 48px rgba(13,32,87,0.14);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo-icon { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.nav-links a:hover { color: var(--navy); }
.nav-login {
  background: var(--navy); color: white;
  padding: 8px 20px; border-radius: 24px;
  font-weight: 600; font-size: 13px;
  transition: background 0.2s;
}
.nav-login:hover { background: var(--blue); }

/* ── SECTION WRAPPER ── */
.section { padding: 96px 24px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800; line-height: 1.15;
  color: var(--navy); margin-bottom: 52px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--navy); color: white;
  padding: 16px 36px; border-radius: 32px;
  font-size: 16px; font-weight: 700;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(13,32,87,0.25);
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(13,32,87,0.3); }

.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--navy);
  padding: 16px 36px; border-radius: 32px;
  font-size: 16px; font-weight: 600;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(13,32,87,0.04); }

.btn-ghost-dark {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.12); color: white;
  padding: 16px 36px; border-radius: 32px;
  font-size: 16px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.2); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  padding: 120px 24px 80px;
  text-align: center;
}
.hero-inner { max-width: 640px; margin: 0 auto; }
.hero-logo {
  height: auto; width: min(320px, 72vw);
  margin: 0 auto 40px;
}
.hero-headline {
  font-size: clamp(30px, 6vw, 56px);
  font-weight: 800; line-height: 1.12;
  color: var(--navy); margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-2); line-height: 1.65;
  margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── MODULES ── */
.modules { background: var(--off-white); }
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mod-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 0.5px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.mod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mod-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.mod-icon-wrap svg { width: 24px; height: 24px; }
.mod-blue   { background: #E3F0FC; color: #1565C0; }
.mod-green  { background: #E8F7ED; color: #2E9E50; }
.mod-orange { background: #FFF3E0; color: #E65100; }
.mod-teal   { background: #E0F7FA; color: #00838F; }
.mod-navy   { background: #E8EAF6; color: #283593; }
.mod-purple { background: #F3E5F5; color: #7B1FA2; }
.mod-rose   { background: #FCE4EC; color: #C62828; }
.mod-slate  { background: #ECEFF1; color: #37474F; }
.mod-card h3 {
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 12px; line-height: 1.3;
}
.mod-card ul li {
  font-size: 12px; color: var(--text-2);
  padding: 3px 0;
  border-bottom: 0.5px solid rgba(13,32,87,0.06);
  line-height: 1.5;
}
.mod-card ul li:last-child { border-bottom: none; }
.mod-card ul li::before { content: "·"; margin-right: 6px; color: var(--green); font-weight: 700; }

/* ── PREVIEW ── */
.preview-section { background: var(--navy); }
.preview-section .section-label { color: rgba(255,255,255,0.5); }
.preview-section .section-title { color: white; margin-bottom: 48px; }
.preview-phone {
  width: 280px; margin: 0 auto;
  background: #1a2a5e;
  border-radius: 40px;
  padding: 14px 10px 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
}
.phone-notch {
  width: 80px; height: 20px;
  background: #0a1430;
  border-radius: 10px;
  margin: 0 auto 12px;
}
.phone-screen {
  background: #F4F7FB;
  border-radius: 28px;
  overflow: hidden;
  padding: 0 0 12px;
}

.ps-header {
  background: white;
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 0.5px solid rgba(13,32,87,0.08);
}
.ps-logo { height: 22px; width: auto; }
.ps-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #1565C0, #2E9E50);
  color: white; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.ps-greeting {
  background: linear-gradient(135deg, #0D2057, #1565C0);
  padding: 12px 14px 14px;
}
.ps-greet-text { font-size: 13px; font-weight: 700; color: white; margin-bottom: 2px; }
.ps-date { font-size: 10px; color: rgba(255,255,255,0.6); }

.ps-score-row {
  padding: 12px 10px 8px;
  display: flex; gap: 10px; align-items: flex-start;
}
.ps-score-card {
  background: linear-gradient(135deg, #0D2057, #1565C0);
  border-radius: 14px;
  padding: 12px;
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
}
.ps-ring { width: 80px; height: 80px; }
.ps-score-lbl { font-size: 9px; color: rgba(255,255,255,0.65); margin-top: 4px; text-align: center; }
.ps-score-delta { font-size: 9px; color: #81C784; font-weight: 600; margin-top: 2px; }

.ps-metrics { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.ps-metric {
  background: white; border-radius: 10px;
  padding: 8px 10px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 1px 6px rgba(13,32,87,0.06);
}
.ps-mi { font-size: 14px; }
.ps-mv { font-size: 12px; font-weight: 700; color: #0D2057; line-height: 1; }
.ps-ml { font-size: 9px; color: #9AA5B4; margin-top: 1px; }

.ps-stats {
  display: flex; gap: 6px;
  padding: 0 10px 8px;
}
.ps-stat {
  flex: 1; background: white; border-radius: 10px;
  padding: 8px 6px; text-align: center;
  box-shadow: 0 1px 6px rgba(13,32,87,0.06);
}
.ps-stat-num { font-size: 16px; font-weight: 800; color: #0D2057; line-height: 1; }
.ps-stat-lbl { font-size: 8px; color: #9AA5B4; margin-top: 2px; line-height: 1.3; }

.ps-nav {
  display: flex; gap: 5px; justify-content: center;
  padding: 8px 0 4px;
}
.ps-nav-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(13,32,87,0.15);
}
.ps-nav-dot.active { background: #1565C0; width: 16px; border-radius: 3px; }

/* ── INTEGRATIONS ── */
.integrations { background: var(--white); text-align: center; }
.integrations .section-title { margin-bottom: 36px; }
.integration-strip {
  display: flex; gap: 12px;
  flex-wrap: wrap; justify-content: center;
  margin-bottom: 24px;
}
.int-card {
  background: var(--off-white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
  min-width: 90px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.int-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.int-icon { font-size: 22px; }
.int-sub { font-size: 14px; color: var(--text-3); max-width: 480px; margin: 0 auto; line-height: 1.7; }

/* ── WHY / COMPARE ── */
.why-section { background: var(--off-white); }
.compare-table {
  display: flex; gap: 16px;
  max-width: 640px; margin: 0 auto;
}
.compare-col {
  flex: 1; border-radius: var(--radius);
  overflow: hidden;
  border: 0.5px solid var(--border);
  box-shadow: var(--shadow);
}
.compare-head {
  padding: 18px 20px;
  font-size: 13px; font-weight: 700;
  background: var(--white); color: var(--text-2);
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}
.riva-head {
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  padding: 12px 20px;
}
.compare-logo { height: 28px; width: auto; filter: brightness(0) invert(1); }
.compare-app {
  padding: 10px 20px;
  font-size: 12px; color: var(--text-3);
  background: white;
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}
.compare-divider { height: 8px; background: var(--off-white); }
.compare-feature {
  padding: 11px 20px;
  font-size: 13px; font-weight: 600;
  background: white;
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}
.compare-feature:last-child { border-bottom: none; }
.compare-feature.yes   { color: var(--green); background: var(--green-lt); }
.compare-feature.no    { color: #9AA5B4; }
.compare-feature.partial { color: #F59E0B; }
.compare-riva .compare-feature { background: rgba(46,158,80,0.06); }

/* ── CTA ── */
.cta-section { background: var(--white); }
.cta-card {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--blue) 100%);
  border-radius: 28px;
  padding: clamp(40px, 8vw, 80px) clamp(24px, 6vw, 80px);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-headline {
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 800; color: white;
  line-height: 1.2; margin-bottom: 14px;
}
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.65); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.cta-fine { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 32px 24px; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { height: 28px; width: auto; filter: brightness(0) invert(1); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-copy a { color: rgba(255,255,255,0.55); }
.footer-copy a:hover { color: white; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* Tablet: 2 Karten pro Reihe in Modulen */
@media (max-width: 900px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table { flex-direction: column; max-width: 360px; }
}

/* Mobile */
@media (max-width: 600px) {
  .section { padding: 64px 20px; }
  .nav-links a:not(.nav-login) { display: none; }
  .module-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mod-card { padding: 18px 14px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 300px; justify-content: center; }
  .integration-strip { gap: 8px; }
  .int-card { min-width: 80px; padding: 12px 14px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .btn-ghost-dark { width: 100%; max-width: 300px; justify-content: center; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* ── SCROLL ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mod-card, .int-card, .compare-col {
  animation: fadeUp 0.5s ease both;
}
.mod-card:nth-child(1) { animation-delay: 0.05s; }
.mod-card:nth-child(2) { animation-delay: 0.10s; }
.mod-card:nth-child(3) { animation-delay: 0.15s; }
.mod-card:nth-child(4) { animation-delay: 0.20s; }
.mod-card:nth-child(5) { animation-delay: 0.25s; }
.mod-card:nth-child(6) { animation-delay: 0.30s; }
.mod-card:nth-child(7) { animation-delay: 0.35s; }
.mod-card:nth-child(8) { animation-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
