/* =========================================================
   SECTION MONSTERS – Produktseite HeroAI (/heroai)
   css/heroai-seite.css

   Nur fuer heroai/index.html. Tokens (Farben, Radien, --container,
   --ease, --header-h) kommen aus css/style.css — hier stehen keine
   eigenen Flaechen- oder Textfarben, damit die Seite nicht vom Rest
   der Landingpage wegdriftet. Namensraum .hs-* (HeroAI-Seite), die
   Demo selbst bringt css/heroai-demo.css mit (.hd-*).
   ========================================================= */

.hs-body { background: var(--bg); color: var(--text); }
.hs-main { display: block; }
.hs-wrap { width: var(--container); margin-inline: auto; }

/* ---------- Fokus: auf dunklem Grund immer sichtbar ---------- */
.hs-main a:focus-visible,
.hs-main button:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
}
.hs-main summary:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 2px;
  border-radius: 12px;
}

/* ---------- Gemeinsame Typografie ---------- */
.hs-grad {
  background: linear-gradient(90deg, var(--green-bright), var(--green) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* line-height .84 schneidet sonst Unterlaengen (p, g) und das letzte
     Zeichen (negatives letter-spacing) aus der Hintergrundflaeche. */
  padding: 0 .08em .14em 0;
  margin: 0 -.08em -.14em 0;
}

.hs-kopf { max-width: 780px; margin-bottom: clamp(40px, 5vw, 68px); }
.hs-kopf--mitte { margin-inline: auto; text-align: center; }
.hs-kopf .eyebrow { display: inline-block; margin-bottom: 18px; }
.hs-h2 {
  font-size: clamp(40px, 5.4vw, 92px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.065em;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.hs-h2 span { display: block; }
/* :not(.eyebrow) — die Eyebrow ist ebenfalls ein <p> und bekaeme sonst
   Grau, Lesegroesse und Abstand des Fliesstexts (gemessen im Test). */
.hs-kopf p:not(.eyebrow) {
  max-width: 62ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
}
.hs-kopf--mitte p:not(.eyebrow) { margin-inline: auto; }

.hs-section { position: relative; padding-block: clamp(80px, 10vw, 150px); }
.hs-section--soft { background: var(--bg-soft); }

.hs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hs-link {
  color: var(--green-bright);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.hs-link:hover { text-decoration-thickness: 2px; }

/* ---------- Linien-Icons ---------- */
.hs-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--green-bright);
  background: linear-gradient(145deg, rgba(166, 240, 58, .16), rgba(139, 214, 38, .05));
  border: 1px solid rgba(139, 214, 38, .3);
}
.hs-icon--violett {
  color: #bba9ff;
  background: linear-gradient(145deg, rgba(124, 92, 255, .24), rgba(168, 85, 247, .06));
  border-color: rgba(124, 92, 255, .42);
}
.hs-icon svg { width: 22px; height: 22px; }

/* =========================================================
   1) HERO
   ========================================================= */
.hs-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--header-h) + 18px + clamp(44px, 6vw, 92px));
  padding-bottom: clamp(72px, 9vw, 128px);
}
.hs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 80% 40%, rgba(124, 92, 255, .24), transparent 70%),
    radial-gradient(ellipse 45% 45% at 8% 78%, rgba(139, 214, 38, .13), transparent 70%);
}
.hs-hero::after {
  /* Dezentes Raster wie im Hintergrund der Startseite, zum Rand hin ausgeblendet */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 1100px) {
  .hs-hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}

.hs-hero-copy { min-width: 0; }
.hs-hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(139, 214, 38, .32);
  border-radius: 999px;
  background: rgba(139, 214, 38, .07);
}
.hs-neu-punkt {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0 rgba(166, 240, 58, .55);
  animation: hs-puls 2.4s var(--ease) infinite;
}
@keyframes hs-puls {
  0%   { box-shadow: 0 0 0 0 rgba(166, 240, 58, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(166, 240, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(166, 240, 58, 0); }
}

.hs-title {
  font-size: clamp(46px, 11vw, 112px);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.075em;
  color: var(--white);
}
@media (min-width: 1100px) {
  .hs-title { font-size: clamp(66px, 6.3vw, 116px); }
}
.hs-title span { display: block; }

.hs-lead {
  max-width: 54ch;
  margin-top: 28px;
  color: rgba(242, 244, 239, .8);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
}

.hs-fakten {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.hs-fakten li { display: inline-flex; align-items: center; gap: 8px; }
.hs-fakten svg { width: 16px; height: 16px; color: var(--green-bright); flex-shrink: 0; }

/* Demo-Spalte: Die Buehne selbst hat feste Hoehen (css/heroai-demo.css).
   min-height haelt den Platz frei, falls das Stylesheet der Demo spaet
   oder gar nicht kommt — sonst springt der Inhalt darunter. */
.hs-demo-spalte { position: relative; min-width: 0; }
.hs-demo-spalte::before {
  content: "";
  position: absolute;
  inset: 8% 6% 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, .28), rgba(139, 214, 38, .08) 55%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
}
.hs-demo-platz { min-height: 568px; }
@media (max-width: 680px) { .hs-demo-platz { min-height: 608px; } }

/* =========================================================
   2) WAS HEROAI TUT
   ========================================================= */
.hs-karten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hs-karte {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)),
    var(--panel);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.hs-karte:hover { border-color: rgba(139, 214, 38, .34); transform: translateY(-3px); }
.hs-karte h3 {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.hs-karte p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.hs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.hs-tag {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: rgba(242, 244, 239, .82);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.hs-orte {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.hs-ort {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: var(--radius-md);
}
.hs-ort strong { display: block; font-size: 16px; font-weight: 800; }
.hs-ort span { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* =========================================================
   3) DATENQUELLEN
   ========================================================= */
.hs-quellen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
@media (min-width: 1000px) {
  .hs-quellen-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .hs-quellen-grid .hs-kopf { position: sticky; top: calc(var(--header-h) + 48px); margin-bottom: 0; }
}

.hs-hinweis-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 32px;
  padding: 20px 22px;
  border: 1px solid rgba(139, 214, 38, .28);
  border-radius: var(--radius-md);
  background: rgba(139, 214, 38, .06);
  text-align: left;
}
.hs-hinweis-box svg { width: 22px; height: 22px; margin-top: 1px; color: var(--green-bright); flex-shrink: 0; }
.hs-kopf .hs-hinweis-box p,
.hs-hinweis-box p {
  max-width: none;
  margin: 0;
  color: rgba(242, 244, 239, .84);
  font-size: 15px;
  line-height: 1.55;
}

.hs-quellen {
  padding: 8px clamp(8px, 1.4vw, 18px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(124, 92, 255, .08), transparent 40%),
    var(--panel);
}
.hs-quelle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 10px;
}
.hs-quelle + .hs-quelle { border-top: 1px solid rgba(255, 255, 255, .07); }
.hs-quelle-name { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.hs-quelle-text { margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.hs-status {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hs-status--auto { background: rgba(139, 214, 38, .14); border: 1px solid rgba(139, 214, 38, .4); color: var(--green-bright); }
.hs-status--verbunden { background: rgba(124, 92, 255, .14); border: 1px solid rgba(124, 92, 255, .48); color: #cdbfff; }

/* =========================================================
   4) BEISPIELFRAGEN
   ========================================================= */
.hs-fragen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1120px;
  margin-inline: auto;
}
.hs-frage {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
}
.hs-frage::before {
  content: "„";
  color: var(--green-bright);
  font-weight: 900;
}
.hs-frage--violett { border-color: rgba(124, 92, 255, .4); background: rgba(124, 92, 255, .08); }
.hs-frage--violett::before { color: #bba9ff; }

.hs-chat-hinweis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

/* =========================================================
   5) KONTROLLE & DATENSCHUTZ
   ========================================================= */
.hs-kontrolle {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.hs-punkt {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 30px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  background: var(--panel);
}
.hs-punkt h3 { margin-top: 20px; font-size: 19px; font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.hs-punkt p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Illustration des Prozentbalkens aus dem Chat — rein dekorativ */
.hs-balken {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  color: rgba(242, 244, 239, .7);
  font-size: 12px;
  font-weight: 700;
}
.hs-balken-spur {
  position: relative;
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}
.hs-balken-spur span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: var(--purple-grad);
}

.hs-fussnote {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 900px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.hs-fussnote svg { width: 18px; height: 18px; margin-top: 2px; color: #bba9ff; flex-shrink: 0; }

/* =========================================================
   6) VERFUEGBARKEIT
   ========================================================= */
.hs-plaene {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin-inline: auto;
}
.hs-plan {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.4vw, 46px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-xl);
  background: var(--panel);
}
.hs-plan--pro {
  border-color: rgba(124, 92, 255, .5);
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 92, 255, .24), transparent 55%),
    var(--panel);
}
.hs-plan--business {
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 214, 38, .14), transparent 55%),
    var(--panel);
}
.hs-plan-name {
  font-size: clamp(44px, 4.6vw, 72px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.065em;
}
.hs-plan-sub { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.hs-plan ul { display: grid; gap: 13px; margin-top: 28px; }
.hs-plan li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  color: rgba(242, 244, 239, .88);
  font-size: 15.5px;
  line-height: 1.5;
}
.hs-plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--green-bright); }
.hs-plan--pro li svg { color: #bba9ff; }
.hs-plan strong { color: var(--white); font-weight: 900; }

.hs-plaene-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 20px 26px;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* =========================================================
   7) FAQ (details/summary — ohne JavaScript bedienbar)
   ========================================================= */
.hs-faq {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.hs-faq details { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hs-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.hs-faq summary::-webkit-details-marker { display: none; }
.hs-faq summary::marker { content: ""; }
.hs-faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.hs-faq-icon::before,
.hs-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  background: var(--white);
  transform: translate(-50%, -50%);
}
.hs-faq-icon::before { width: 12px; height: 1.5px; }
.hs-faq-icon::after  { width: 1.5px; height: 12px; }
.hs-faq details[open] .hs-faq-icon {
  border-color: transparent;
  background: var(--purple-grad-135);
  transform: rotate(45deg);
}
.hs-faq-antwort {
  max-width: 72ch;
  padding: 0 4px 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

/* =========================================================
   8) ABSCHLUSS-CTA
   ========================================================= */
.hs-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(96px, 12vw, 180px);
  text-align: center;
}
.hs-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(980px, 110vw);
  aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 50% 50% at 40% 50%, rgba(124, 92, 255, .24), transparent 70%),
    radial-gradient(ellipse 40% 45% at 64% 55%, rgba(139, 214, 38, .14), transparent 70%);
  pointer-events: none;
}
.hs-cta .eyebrow { display: inline-block; margin-bottom: 20px; }
.hs-cta-title {
  font-size: clamp(46px, 9vw, 150px);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.075em;
}
.hs-cta-title span { display: block; }
.hs-cta p:not(.eyebrow) {
  max-width: 52ch;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
}
.hs-cta .hs-actions { justify-content: center; }

/* =========================================================
   EINBLENDEN beim Scrollen
   Die Klasse hs-anim setzt ein Inline-Skript im <head> nur, wenn
   IntersectionObserver da ist und keine reduzierte Bewegung gewuenscht
   wird. Ohne sie bleibt alles sofort sichtbar.
   ========================================================= */
.hs-anim .hs-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hs-anim .hs-reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hs-kontrolle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .hs-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hs-plaene,
  .hs-orte { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .hs-demo-platz { min-height: 560px; }
  .hs-actions .btn { flex: 1 1 100%; }
  .hs-karten,
  .hs-kontrolle { grid-template-columns: minmax(0, 1fr); }
  .hs-karte, .hs-punkt { padding: 26px 22px 28px; }
  .hs-fragen { justify-content: flex-start; }
  .hs-frage { border-radius: 18px; font-size: 15px; padding: 12px 16px; }
  .hs-chat-hinweis { justify-content: flex-start; text-align: left; }
  .hs-chat-hinweis .btn { flex: 1 1 100%; }
  .hs-plaene-fuss { padding: 18px 20px; }
}
@media (max-width: 560px) {
  .hs-quelle { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; }
  .hs-status { grid-column: 2; justify-self: start; }
  .hs-quellen { border-radius: var(--radius-lg); }
}

@media (prefers-reduced-motion: reduce) {
  .hs-neu-punkt { animation: none; }
  .hs-karte,
  .hs-faq-icon { transition: none; }
  .hs-karte:hover { transform: none; }
  .hs-anim .hs-reveal { opacity: 1; transform: none; transition: none; }
}
