/* Landingpage /edukatico-alternative/ (views/edukatico-alternative.tsx):
   Suchbox, Kennzahlen, Vergleichskarten, Schritte, Kategorie-Pills, FAQ, CTA.
   Farben wie autor.css und platform-cta.css: Akzent #FFB424, Dunkelblau
   #19333f, Rahmen #e3e9f0, Hellblau aus theme.css (--hellblau). */

/* KI-generiertes Kopfbild unter der H1 */
.alt-lp-hero {
  margin: 0.2em 0 1.6em;
}

.alt-lp-hero img {
  display: block;
  width: 100%;
  height: auto;
  /* Flacher Schnitt, damit der Einstiegstext ohne Scrollen sichtbar bleibt;
     die Person sitzt rechts, deshalb dorthin ausrichten. */
  aspect-ratio: 12 / 5;
  object-fit: cover;
  object-position: 70% 40%;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(25, 51, 63, 0.08), 0 18px 40px -28px rgba(25, 51, 63, 0.5);
}

.alt-lp-hero figcaption {
  margin-top: 6px;
  color: #5b6b73;
  font-size: 0.8rem;
  text-align: right;
}

.alt-lp-lead {
  font-size: 1.1rem;
  line-height: 1.6;
}

.alt-lp-search {
  margin: 1.6em 0 1.8em;
  padding: 28px;
  border: 1px solid #e3e9f0;
  border-radius: 16px;
  background: linear-gradient(155deg, #ffffff, #edf5ff);
  box-shadow: 0 2px 6px rgba(25, 51, 63, 0.08), 0 18px 40px -28px rgba(25, 51, 63, 0.5);
}

.alt-lp-search h2 {
  margin-top: 0;
}

/* Kennzahlen */
.alt-lp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 0.6em;
}

.alt-lp-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  border: 1px solid #e3e9f0;
  border-radius: 12px;
  background: #ffffff;
  text-align: center;
}

.alt-lp-stat-value {
  color: #19333f;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.alt-lp-stat-label {
  color: #4a5d66;
  font-size: 0.92rem;
  line-height: 1.35;
}

.alt-lp-note {
  color: #5b6b73;
  font-size: 0.88rem;
}

/* Vergleichskarten */
.alt-lp-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0.4em 0 1.2em;
}

.alt-lp-card {
  padding: 22px 24px;
  border: 1px solid #e3e9f0;
  border-radius: 14px;
  background: #ffffff;
}

.alt-lp-card-own {
  border-color: #FFB424;
  background: #fffaf0;
}

.alt-lp-card h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.alt-lp-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.alt-lp-card li + li {
  margin-top: 6px;
}

/* Schritte */
.alt-lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0.4em 0 1.6em;
}

.alt-lp-step {
  position: relative;
  padding: 22px 20px 18px;
  border-radius: 14px;
  background: var(--hellblau, #EDF5FF);
}

.alt-lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #FFB424;
  color: #19333f;
  font-weight: 700;
}

.alt-lp-step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.alt-lp-step p {
  margin: 0;
}

/* Kategorie-Pills */
.alt-lp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0.4em 0 1.8em;
}

.entry-content .alt-lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 16px;
  border: 1px solid #cfd8e0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--dunkelblau, #2C5669);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.entry-content .alt-lp-pill:hover {
  transform: translateY(-2px);
  border-color: var(--dunkelblau, #2C5669);
  background: var(--hellblau, #EDF5FF);
}

.alt-lp-pill-count {
  flex: none;
  white-space: nowrap;
  min-width: 28px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--hellblau, #EDF5FF);
  font-size: 0.85rem;
  text-align: center;
}

/* FAQ */
.alt-lp-faq details {
  border-bottom: 1px solid #e3e9f0;
}

.alt-lp-faq summary {
  padding: 14px 0;
  color: #19333f;
  font-weight: 600;
  cursor: pointer;
}

.alt-lp-faq details p {
  margin: 0 0 16px;
}

/* Abschluss-CTA */
.alt-lp-cta {
  margin: 2.2em 0;
  padding: 26px 28px;
  border-radius: 16px;
  background: #19333f;
  color: #ffffff;
  text-align: center;
}

.alt-lp-cta-title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 700;
}

.alt-lp-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.entry-content .alt-lp-btn {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid #ffffff;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.entry-content .alt-lp-btn-primary {
  border-color: #FFB424;
  background: #FFB424;
  color: #19333f;
}

.entry-content .alt-lp-btn:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .alt-lp-hero img {
    aspect-ratio: 1200 / 640;
  }

  .alt-lp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alt-lp-steps,
  .alt-lp-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .alt-lp-search {
    padding: 16px 10px;
    border-radius: 12px;
  }

  .alt-lp-stat-value {
    font-size: 1.6rem;
  }

  .alt-lp-cta {
    padding: 22px 16px;
  }
}
