/* ============================================================
   derKIassistent – home.css
   Styles nur für die Startseite (index.php)
   Einbinden zusätzlich zu main.css:
   <link rel="stylesheet" href="/assets/css/home.css">
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-mid) 60%, #c4e4ef 100%);
  padding: 80px 40px 72px;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Wave-Linien Animation */
.wave-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.wave-line {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,110,150,0.3), transparent);
  border-radius: 50%;
  animation: wavemove 9s ease-in-out infinite;
  opacity: 1;
}
.wave-line:nth-child(1) { top: 25%; animation-delay: 0s;  animation-duration: 9s; }
.wave-line:nth-child(2) { top: 45%; animation-delay: -3s; animation-duration: 12s; opacity: 0.7; }
.wave-line:nth-child(3) { top: 65%; animation-delay: -6s; animation-duration: 7s;  opacity: 0.5; }
.wave-line:nth-child(4) { top: 80%; animation-delay: -2s; animation-duration: 11s; opacity: 0.3; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,148,136,0.1);
  border: 1px solid rgba(13,148,136,0.3);
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 62px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 .line2 { color: var(--teal); display: block; }
.hero p {
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--muted);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero Buttons */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 16px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-hero:hover { text-decoration: none; }
.btn-hero-primary {
  background: var(--wave);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,180,216,0.25);
}
.btn-hero-primary:hover {
  background: #00c4e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,180,216,0.3);
  color: var(--ink);
}
.btn-hero-outline {
  background: rgba(255,255,255,0.5);
  color: var(--ocean);
  border: 1.5px solid rgba(0,110,150,0.4);
}
.btn-hero-outline:hover {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
}

/* ── STATS BAR ──────────────────────────────────────────────── */
.stats {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: var(--ocean);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── SECTION COMMON ─────────────────────────────────────────── */
.section {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── PRODUCTS GRID ──────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
  cursor: default;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,180,216,0.04), rgba(13,148,136,0.04));
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.product-card:hover {
  border-color: var(--wave);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,180,216,0.15);
}
.product-card:hover::before { opacity: 1; }
.product-card.featured {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(13,148,136,0.12);
}
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.badge-live {
  background: rgba(5,150,105,0.12);
  color: #0d6e55;
  border: 1px solid rgba(5,150,105,0.3);
}
.badge-soon {
  background: rgba(245,158,11,0.15);
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.3);
}
.product-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.product-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.product-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 28px;
}
.product-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}
.product-feature span:first-child { color: #34d399; font-size: 13px; }
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 11px 20px;
  border-radius: 7px;
  border: 1.5px solid var(--border);
  color: var(--ocean);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.product-cta:hover {
  background: rgba(0,180,216,0.1);
  border-color: var(--wave);
  text-decoration: none;
}
.product-cta.primary {
  background: var(--wave);
  color: var(--ink);
  border-color: var(--wave);
}
.product-cta.primary:hover { background: #00c4e8; }

/* ── HOW SECTION ────────────────────────────────────────────── */
.how-section {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 2px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}
.step {
  padding: 32px 28px;
  border-right: 2px solid var(--border);
  position: relative;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.step-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 10px;
}
.step-desc { font-size: 13px; color: #3a6070; line-height: 1.65; }
.step-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--teal);
  text-decoration: none;
  margin-top: 12px;
  font-weight: 600;
}
.step-link:hover { text-decoration: underline; }

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  padding: 80px 40px;
  text-align: center;
  background: var(--white);
}
.cta-section h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 14px;
}
.cta-section p {
  font-size: 15px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { padding: 60px 24px 56px; }
  .stats { gap: 36px; padding: 24px; }
  .section { padding: 60px 24px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; border-bottom: 2px solid var(--border); }
  .step:nth-child(odd) { border-right: 2px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .hero { min-height: auto; padding: 48px 20px 44px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-hero { width: 100%; justify-content: center; }
  .stats { gap: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step:nth-child(odd) { border-right: none; }
  .step { border-bottom: 2px solid var(--border); }
  .products-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .product-card { padding: 24px 20px; }
  .product-icon { font-size: 32px; }
  .product-title { font-size: 18px; }
  .product-badge { font-size: 10px; }
}

/* ── Pricing Grid (Homepage) ── */
.hp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 0 auto 32px;
}
.hp-price-card {
  border-radius: 16px;
  padding: 28px;
  text-align: left;
}
.hp-price-card-basis {
  background: var(--bg-mid);
  border: 1.5px solid var(--border);
}
.hp-price-card-pro {
  background: linear-gradient(135deg, #0d9488, #006e96);
  border: 2px solid var(--teal);
  position: relative;
}
.hp-price-card-business {
  background: var(--bg-mid);
  border: 1.5px solid var(--border);
}
.hp-price-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.hp-price-card-pro .hp-price-label { color: rgba(255,255,255,0.6); }
.hp-price-recommended {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--amber);
  color: var(--ink);
  font-family: 'Unbounded', sans-serif;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
  letter-spacing: .06em;
}
.hp-price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.hp-price-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}
.hp-price-card-pro .hp-price-num { color: #fff; }
.hp-price-period { font-size: 13px; color: var(--muted); }
.hp-price-card-pro .hp-price-period { color: rgba(255,255,255,0.7); }
.hp-price-year { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.hp-price-card-pro .hp-price-year { color: rgba(255,255,255,0.5); }
.hp-price-feature {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 6px;
}
.hp-price-card-pro .hp-price-feature { color: #fff; }
.hp-price-feature-no { color: var(--muted) !important; }
.hp-price-check { color: #34d399; }
.hp-price-check-no { color: var(--muted); }
.hp-pricing-note {
  font-size: 12px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ── Homepage layout utilities ── */
.product-cta-mt { margin-top: 8px; }
.pricing-wrapper {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-wrapper-inner { text-align: center; }
.pricing-note-sm {
  font-size: 12px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}
.how-section-wrap { margin-bottom: 43px; }
.content-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px 40px;
}
.content-section-inner-slim {
  max-width: 1100px;
  margin: 0 auto;
}
