/* ============================================================
   derKIassistent – home.css  (Swiss Teal A2)
   Nur für Startseite (index.php / en / es)
   ============================================================ */

/* ── SWISS TEAL TOKENS ──────────────────────────────────────── */
:root {
  --sw-green:      #0BA39A;
  --sw-green-deep: #0A7570;
  --sw-ink:        #073744;
  --sw-ink-60:     rgba(7,55,68,0.62);
  --sw-ink-40:     rgba(7,55,68,0.4);
  --sw-rule:       rgba(7,55,68,0.14);
  --sw-bg:         #D7EBEF;
  --sw-bg-alt:     #C6DEE3;
  --sw-card:       #FFFFFF;
  --sw-cta-bg:     #0DB6C7;
  --sw-cta-fg:     #073744;
  --sw-bolt:       #FFD83D;
  --f-display: 'Source Serif 4', 'Source Serif Pro', 'Iowan Old Style', Georgia, serif;
  --f-body:    'Inter', sans-serif;
  --f-mono:    ui-monospace, 'SF Mono', monospace;
}

/* ── GLOBAL OVERRIDES (homepage only) ──────────────────────── */
body { background: var(--sw-bg); color: var(--sw-ink); }

/* ── NAV ────────────────────────────────────────────────────── */
nav {
  background: var(--sw-bg);
  border-bottom: 1px solid var(--sw-rule);
  padding: 0 56px;
  height: 64px;
}
.nav-logo { color: var(--sw-ink); }
.nav-logo:hover { text-decoration: none; }
.nav-links a { color: var(--sw-ink-60); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.nav-links a:hover { color: var(--sw-ink); text-decoration: none; }
.lang-switcher {
  background: transparent;
  border: 1px solid var(--sw-rule);
  border-radius: 3px;
}
.lang-switcher a { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500; color: var(--sw-ink-60); letter-spacing: 0.5px; }
.lang-switcher a.active { background: var(--sw-ink); color: #fff; border-radius: 2px; }

/* ── EYEBROW (section labels) ───────────────────────────────── */
.sw-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sw-ink-60);
  margin-bottom: 28px;
}
.sw-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--sw-ink-40);
  flex-shrink: 0;
}

/* ── HERO ────────────────────────────────────────────────────── */
.sw-hero {
  background: var(--sw-bg);
  border-bottom: 1px solid var(--sw-rule);
  padding: 80px 56px;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.sw-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.sw-h1 {
  font-family: var(--f-display);
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 700;
  color: var(--sw-green);
  line-height: 0.97;
  letter-spacing: -1.5px;
  margin-bottom: 44px;
}
.sw-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.sw-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sw-cta-bg);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.sw-btn-primary:hover { background: #0caabc; text-decoration: none; transform: translateY(-1px); color: var(--sw-cta-fg); }
.sw-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--sw-ink-60);
  font-size: 15px;
  font-weight: 400;
  padding: 14px 20px;
  border-radius: 4px;
  border: 1px solid var(--sw-rule);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.sw-btn-ghost:hover { border-color: var(--sw-ink-60); color: var(--sw-ink); text-decoration: none; }

/* ── CHAT DEMO ───────────────────────────────────────────────── */
.sw-hero-demo { display: flex; flex-direction: column; gap: 12px; }
.sw-demo-eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sw-ink-60);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sw-demo-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--sw-ink-40);
  flex-shrink: 0;
}
.sw-chat-win {
  background: var(--sw-card);
  border: 1px solid var(--sw-rule);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(7,55,68,0.08);
}
.sw-chat-bar {
  padding: 10px 16px;
  background: var(--sw-bg-alt);
  border-bottom: 1px solid var(--sw-rule);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sw-chat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
}
.sw-chat-meta {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--sw-ink-60);
}
.sw-chat-msgs {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}
.sw-msg-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--sw-ink-40);
  margin-bottom: 4px;
}
.sw-msg-customer-wrap { align-self: flex-end; display: flex; flex-direction: column; align-items: flex-end; max-width: 85%; }
.sw-msg-customer {
  background: var(--sw-bg-alt);
  border-radius: 12px 12px 3px 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--sw-ink);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}
.sw-msg-customer.vis { opacity: 1; transform: translateY(0); }

.sw-msg-ai-wrap { align-self: flex-start; display: flex; flex-direction: column; align-items: flex-start; max-width: 85%; }
.sw-msg-thinking {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(11,163,154,0.10);
  border-radius: 3px 12px 12px 12px;
  align-self: flex-start;
  opacity: 0;
  transition: opacity 0.3s;
}
.sw-msg-thinking.vis { opacity: 1; }
.sw-msg-thinking span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sw-green);
  animation: swDot 1.2s ease-in-out infinite;
}
.sw-msg-thinking span:nth-child(2) { animation-delay: 0.2s; }
.sw-msg-thinking span:nth-child(3) { animation-delay: 0.4s; }
@keyframes swDot {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}
.sw-msg-ai {
  background: rgba(11,163,154,0.10);
  border-radius: 3px 12px 12px 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--sw-ink);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}
.sw-msg-ai.vis { opacity: 1; transform: translateY(0); }

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats {
  background: var(--sw-card);
  border-top: 1px solid var(--sw-rule);
  border-bottom: 1px solid var(--sw-rule);
  padding: 32px 56px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: var(--sw-green);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--sw-ink-60);
  margin-top: 6px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ── SECTION ────────────────────────────────────────────────── */
.section {
  padding: 96px 56px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sw-ink-60);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--sw-ink-40);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--sw-ink);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--sw-ink-60);
  max-width: 520px;
  line-height: 1.7;
}

/* ── PRODUCTS ────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--sw-rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sw-rule);
}
.product-card {
  background: var(--sw-card);
  padding: 36px 32px;
  position: relative;
  cursor: default;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card .product-cta.primary { margin-top: auto; }
.product-card::before { display: none; }
.product-card:hover { background: #f7fefe; transform: none; box-shadow: none; border-color: transparent; }
.product-card.featured { border: none; }
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.badge-live { background: rgba(11,163,154,0.10); color: var(--sw-green-deep); border: none; }
.badge-soon { background: rgba(245,158,11,0.12); color: #b45309; border: none; }
.product-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.product-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--sw-ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-desc {
  font-size: 13px;
  color: var(--sw-ink-60);
  line-height: 1.65;
  margin-bottom: 20px;
}
.product-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--sw-rule);
}
.product-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--sw-ink-60);
}
.product-feature span:first-child { color: var(--sw-green); font-size: 12px; }
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid var(--sw-rule);
  color: var(--sw-ink-60);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.product-cta:hover { border-color: var(--sw-green); color: var(--sw-green); text-decoration: none; }
.product-cta.primary {
  background: var(--sw-cta-bg);
  color: #fff;
  border-color: var(--sw-cta-bg);
  font-weight: 600;
}
.product-cta.primary:hover { background: #0caabc; border-color: #0caabc; color: #fff; }
.product-cta-mt { margin-top: 8px; display: inline-flex; }

/* ── HOW SECTION ─────────────────────────────────────────────── */
.how-section {
  background: var(--sw-bg-alt);
  border-top: 1px solid var(--sw-rule);
  border-bottom: 1px solid var(--sw-rule);
}
.content-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 56px 40px;
}
.content-section-inner-slim {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 56px 80px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--sw-rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sw-rule);
}
.step {
  background: var(--sw-card);
  padding: 32px 28px;
  border-right: none;
  position: relative;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--sw-green);
  background: rgba(11,163,154,0.10);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.step-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-ink);
  margin-bottom: 10px;
}
.step-desc { font-size: 13px; color: var(--sw-ink-60); line-height: 1.65; }
.how-section-wrap { margin-bottom: 0; }

/* ── PRICING ─────────────────────────────────────────────────── */
.pricing-wrapper {
  background: var(--sw-card);
  border-top: 1px solid var(--sw-rule);
  border-bottom: 1px solid var(--sw-rule);
}
.pricing-wrapper-inner { text-align: center; }
.hp-pricing-note { font-size: 13px; color: var(--sw-ink-60); max-width: 560px; margin: 0 auto 36px; }
.hp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  max-width: 820px;
  margin: 0 auto 32px;
  border: 1px solid var(--sw-rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sw-rule);
}
.hp-price-card { padding: 32px 28px; text-align: left; background: var(--sw-card); }
.hp-price-card-basis { background: var(--sw-card); }
.hp-price-card-pro { background: #0caabc; position: relative; }
.hp-price-card-business { background: var(--sw-card); }
.hp-price-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--sw-ink-60);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hp-price-card-pro .hp-price-label { color: rgba(255,255,255,0.5); }
.hp-price-recommended {
  position: absolute;
  top: 0; right: 24px;
  background: var(--sw-cta-bg);
  color: var(--sw-cta-fg);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.hp-price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.hp-price-num {
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 600;
  color: var(--sw-ink);
  line-height: 1;
  letter-spacing: -1px;
}
.hp-price-card-pro .hp-price-num { color: #fff; }
.hp-price-period { font-size: 13px; color: var(--sw-ink-60); }
.hp-price-card-pro .hp-price-period { color: rgba(255,255,255,0.6); }
.hp-price-year { font-size: 12px; color: var(--sw-ink-60); margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--sw-rule); }
.hp-price-card-pro .hp-price-year { color: rgba(255,255,255,0.4); border-bottom-color: rgba(255,255,255,0.1); }
.hp-price-feature { display: flex; gap: 8px; font-size: 15px; color: var(--sw-ink-60); margin-bottom: 8px; }
.hp-price-card-pro .hp-price-feature { color: rgb(255, 255, 255); }
.hp-price-feature-no { color: var(--sw-ink-40) !important; }
.hp-price-check { color: var(--sw-green); }
.hp-price-card-pro .hp-price-check { color: var(--sw-cta-bg); }
.hp-price-check-no { color: var(--sw-ink-40); }
.pricing-note-sm { font-size: 12px; color: var(--sw-ink-60); max-width: 560px; margin: 0 auto 32px; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .sw-hero { padding: 64px 32px; }
  .sw-hero-inner { gap: 48px; }
  .stats { padding: 28px 32px; gap: 48px; }
  .section { padding: 72px 32px; }
  .content-section-inner { padding: 64px 32px 32px; }
  .content-section-inner-slim { padding: 0 32px 64px; }
}
@media (max-width: 860px) {
  .sw-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .sw-hero { min-height: auto; }
  .sw-h1 { font-size: clamp(40px, 8vw, 64px); }
  .stats { gap: 32px; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .hp-pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
}
@media (max-width: 600px) {
  nav { padding: 0 20px; height: 56px; }
  .sw-hero { padding: 48px 20px; }
  .sw-h1 { font-size: clamp(36px, 10vw, 56px); letter-spacing: -1.5px; }
  .sw-hero-btns { flex-direction: column; align-items: stretch; }
  .sw-btn-primary, .sw-btn-ghost { justify-content: center; }
  .stats { gap: 24px; padding: 24px 20px; }
  .section { padding: 56px 20px; }
  .content-section-inner { padding: 48px 20px 24px; }
  .content-section-inner-slim { padding: 0 20px 48px; }
  .steps-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { padding: 28px 24px; }
}
