/* ============================================================
   QRENA Components – Warm Ember Overrides
   Lädt nach qrena-design-system.css
   Stand: 2026-03
============================================================ */

/* ── PRIMARY BUTTON (Orange statt Indigo) ────── */
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-400) 100%);
  color: #fff;
  border: none;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  box-shadow: var(--shadow-orange-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
  box-shadow: var(--shadow-orange-md);
  transform: translateY(-1px);
}

/* ── HERO CTA (Signature Orange) ─────────────── */
.hero-cta-primary {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-400) 100%) !important;
  box-shadow: 0 4px 24px var(--orange-glow) !important;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, animation 0s;
}

.hero-cta-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 40px rgba(249, 115, 22, 0.5) !important;
}

/* ── OUTLINE BUTTON (Orange Border) ─────────── */
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--orange-border);
}

.btn-outline:hover {
  background: var(--orange-tint);
  border-color: var(--orange-500);
  color: var(--orange-400);
}

/* ── NAV CTA (Orange) ────────────────────────── */
.nav-cta {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-400) 100%);
  box-shadow: 0 2px 12px var(--orange-glow);
  color: #fff;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.45);
  color: #fff;
}

/* ── FEATURE CARDS (Kein Layout-Shift!) ─────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  border-color: var(--orange-border);
  box-shadow:
    var(--shadow-card),
    0 0 0 1px var(--orange-border),
    0 8px 24px rgba(249, 115, 22, 0.10);
  transform: none !important; /* Kein translateY → kein Layout-Shift */
}

/* ── CARD ICON CONTAINER (Orange Accent Wrap) ── */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--orange-tint);
  border: 1px solid var(--orange-border);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: var(--space-4);
  transition: background 0.2s ease;
}

.card:hover .card-icon {
  background: rgba(249, 115, 22, 0.14);
}

/* ── SECTION KICKER PILLS (Orange statt Indigo) */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-tint);
  color: var(--orange-400);
  border: 1px solid var(--orange-border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  font-family: var(--font-display);
  margin-bottom: var(--space-4);
  letter-spacing: 0;
}

/* ── TESTIMONIAL CARDS ───────────────────────── */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-8);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  border-color: var(--orange-border);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.08);
}

.testimonial-text {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  font-style: italic;
  margin: 0 0 var(--space-6);
}

.testimonial-text strong {
  color: var(--text);
  font-style: normal;
}

/* Avatar: Orange Gradient + Ring */
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

/* ── PRICING CARDS ───────────────────────────── */
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--space-8);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  border-color: var(--orange-border);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.08);
}

/* Featured Card: Orange Top-Border (Signature) */
.pricing-card.featured {
  border-color: var(--orange-500);
  border-top-width: 3px;
  box-shadow: 0 4px 32px rgba(249, 115, 22, 0.15);
}

.pricing-card.featured:hover {
  box-shadow: 0 8px 48px rgba(249, 115, 22, 0.25);
}

/* Preis-Typografie: tabular figures */
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: var(--fw-black);
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin: var(--space-4) 0 var(--space-2);
}

.pricing-price-unit {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
}

/* Feature List: checkmarks orange */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features li::before {
  content: "✓";
  color: var(--orange-400);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.pricing-features li.disabled::before {
  content: "–";
  color: var(--text-muted);
}

/* Badge: "Beliebteste Wahl" – saubere CSS-Klasse statt inline-style */
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: #fff;
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 12px var(--orange-glow);
}

/* Badge Free Plan: "Alle Features" – saubere CSS-Klasse */
.pricing-badge-all {
  position: absolute;
  top: -11px;
  right: 20px;
  padding: 4px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: var(--fw-bold);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(16,185,129,0.45);
}

/* ── HERO TITLE ───────────────────────────────── */
.hero-title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  color: var(--text);
}

/* Hero Sterne: orange */
.hero-stars {
  color: var(--orange-400);
  letter-spacing: 0.1em;
}

/* ── FOUNDER BADGE CARD ───────────────────────── */
.founder-badge-card {
  border-color: var(--orange-border) !important;
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.08) !important;
}

/* ── STATISTIK-ZAHLEN ─────────────────────────── */
.stat-num {
  color: var(--orange-400);
}

/* ── FAQ SECTION (Open State Orange) ────────── */
.faq-item[open] {
  border-color: var(--orange-border);
  background: rgba(249, 115, 22, 0.03);
}

.faq-item[open] .faq-question::after {
  color: var(--orange-400);
}

/* ── SECTION TITLE FONT OVERRIDE ─────────────── */
.section-title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ── FINAL CTA BOX ────────────────────────────── */
.final-cta-box {
  border-color: var(--orange-border) !important;
  background: linear-gradient(135deg, var(--bg-elevated), rgba(249,115,22,0.04)) !important;
}

/* ── SOS TITLE: Kein erzwungener Zeilenumbruch ── */
/* landing.css setzt display: block → überschreiben */
.sos-title-line,
.sos-title-highlight {
  display: inline;
}

/* ── GRÜNDER KICKER PILL ──────────────────────── */
.founder-kicker {
  background: rgba(249, 115, 22, 0.12);
  color: var(--orange-400);
  border: 1px solid var(--orange-border);
}

/* ── NAV CTA: Zweizeilig (Titel + Subtext) ────── */
.nav-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1;
}

.nav-cta .nav-cta-main {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.nav-cta .nav-cta-sub {
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  opacity: 0.72;
  line-height: 1;
}

/* ── HERO: Schüler-Link unter Haupt-CTA ─────── */
.hero-student-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: none;
  margin-top: var(--space-3);
  font-family: var(--font-body);
  transition: color 0.2s ease;
}

.hero-student-cta:hover {
  color: var(--text-secondary);
}

.hero-student-arrow {
  color: var(--orange-400);
  font-weight: var(--fw-semibold);
  transition: transform 0.2s ease;
}

.hero-student-cta:hover .hero-student-arrow {
  transform: translateX(3px);
}

/* ── MOBILE MENÜ: Schüler-Link ──────────────── */
.nav-mobile-student {
  display: block;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  transition: color 0.2s ease;
}

.nav-mobile-student:hover {
  color: var(--orange-400);
}

/* ── DESKTOP NAV: Links wieder sichtbar, Linexio-Style ── */
/* Nav-Links: schlank, dezent – nur Text, kein Button-Stil */
.nav-menu {
  gap: 8px;
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile: Nav-Links im Hamburger, auf Desktop sichtbar */
@media (max-width: 640px) {
  .nav-menu {
    display: none; /* Mobile: via Hamburger */
  }
}

/* ── STATS BAR – Classroom Numbers ──────────── */
.stats-bar {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(249, 115, 22, 0.03);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-4) var(--space-8);
  text-align: center;
}

.stat-big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--orange-400);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-family: var(--font-body);
  max-width: 120px;
  line-height: 1.3;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }
  .stat-divider {
    display: none;
  }
  .stat-item {
    padding: var(--space-4);
  }
}
