/* Public premium add-ons for home/category templates */

.pa-home-premium__section,
.pa-category-premium__section {
  margin-bottom: 56px;
}

.pa-home-premium__hero-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 24px;
  color: #0f172a;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
}

.pa-home-premium__hero-card h2 {
  font-family: var(--font-display, "Inter", sans-serif);
  font-size: 20px;
  margin-bottom: 12px;
}

.pa-home-premium__hero-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #334155;
}

.pa-home-premium__hero-card-kicker,
.pa-home-premium__hero-card-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}

.pa-home-premium__hero-card-meta {
  margin-top: 14px;
  margin-bottom: 0;
}

.pa-category-premium__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.pa-category-premium__breadcrumb a {
  color: #1e3a5f;
}

.pa-category-premium__hero {
  background: linear-gradient(135deg, #0b1f3a 0%, #1e3a5f 100%);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 36px;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.26);
}

.pa-category-premium__hero h1 {
  color: #fff;
  margin-bottom: 12px;
}

.pa-category-premium__hero p {
  color: rgba(255, 255, 255, 0.9);
}

.pa-category-premium__kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.pa-category-premium__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pa-category-premium__hero-meta span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.pa-category-premium__alt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.pa-category-premium__alt-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
}

.pa-category-premium__alt-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8fafc;
}

.pa-category-premium__alt-card h3 {
  font-size: 15px;
  color: #0f172a;
}

.pa-category-premium__alt-card p {
  font-size: 13px;
  color: #475569;
}

.pa-category-premium__empty {
  text-align: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 50px 20px;
}

/* --------------------------------------------------------------------------
   Startseite · Mobile/Tablet-Portrait Nachschärfung (body.pa-home-start)
   max-width:1023px — kompakter Einstieg; Desktop bleibt unverändert.
   -------------------------------------------------------------------------- */

.hero-stat--qual {
  flex: 1 1 200px;
  min-width: min(100%, 220px);
}

.hero-stat-value--qual {
  font-size: clamp(20px, 4vw, 26px) !important;
  letter-spacing: -0.02em;
}

@media (max-width: 1023px) {
  body.pa-home-start #siteHeader .top-banner {
    display: none !important;
  }

  body.pa-home-start header {
    padding: 8px 0;
  }

  body.pa-home-start .header-inner {
    padding: 0 14px;
    gap: 8px 10px;
  }

  body.pa-home-start .header-social:empty {
    display: none !important;
  }

  /* Eine prominente Suche: Header behält sie, Hero-Suche aus */
  body.pa-home-start .hero-search--home {
    display: none !important;
  }

  body.pa-home-start .main-nav {
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e5eaf2;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  body.pa-home-start .main-nav-inner {
    padding: 6px 14px;
    min-height: 0;
  }

  body.pa-home-start .nav-categories-btn {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 12px;
    border: 1px solid #d5dce8;
    background: #fff;
    gap: 8px;
  }

  body.pa-home-start .nav-categories-btn .hamburger-icon {
    font-size: 20px;
    line-height: 1;
  }

  body.pa-home-start .nav-categories-btn .hamburger-text {
    display: none;
  }

  body.pa-home-start .hero-section {
    padding: 20px 16px 18px;
    margin-bottom: 22px;
    border-radius: 18px;
  }

  body.pa-home-start .hero-grid {
    gap: 0;
  }

  body.pa-home-start .hero-title {
    font-size: clamp(21px, 5.8vw, 28px);
    line-height: 1.12;
    margin-bottom: 8px;
  }

  body.pa-home-start .hero-subtitle--home {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 12px;
    opacity: 0.88;
    max-width: none;
  }

  body.pa-home-start .pa-home-premium__hero-card {
    display: none !important;
  }

  body.pa-home-start .hero-stats {
    margin-top: 12px;
    padding-top: 12px;
    gap: 14px 20px;
    border-top-color: rgba(255, 255, 255, 0.12);
  }

  body.pa-home-start .hero-stat-value {
    font-size: clamp(20px, 5vw, 24px);
  }

  body.pa-home-start .hero-stat-label {
    font-size: 11px;
    opacity: 0.78;
  }

  body.pa-home-start .pa-home-premium__section {
    margin-bottom: 32px;
  }

  body.pa-home-start .main-content {
    padding-top: calc(var(--site-header-height, 0px) + 10px);
    padding-left: 14px;
    padding-right: 14px;
  }

  body.pa-home-start .section-header .section-title {
    font-size: clamp(17px, 4.2vw, 20px);
  }

}

@media (max-width: 640px) {
  /* FAB erst ab Phone-Portrait aus (Tablet darf Chat optional nutzen) */
  body.pa-home-start #pixel-chat.pixel-chat {
    display: none !important;
  }
}

@media (max-width: 380px) {
  body.pa-home-start .hero-section {
    padding: 16px 14px 14px;
  }

  body.pa-home-start .categories-grid {
    gap: 8px;
  }
}
