/* ============================================================
   deepfeel Hero-Karussell — gemeinsames Chrome (Pfeile, Punkte,
   Layout-Grundgerüst) + Slide 1 ("Sie fühlt").
   Namespace-Präfix "dfhero-", um Kollisionen mit index.css zu
   vermeiden. Wird von index.html, index_2.html, index_3.html und
   index_4.html eingebunden.

   Slides 2–4 folgen als Ergänzung zu dieser Datei.
   ============================================================ */

/* Body-Hintergrund passend zu Header (#101010) und Footer (#222) - falls
   der Seiteninhalt minimal kuerzer ist als der sichtbare Bereich (z. B.
   durch Rundungsfehler bei min-height: calc(100vh - 85px) oder
   unterschiedliche Slide-Hoehen), scheint sonst die transparente
   html/body-Farbe aus index.css (background: none) als weisser Streifen
   zwischen Slide-Ende und dem fixierten Footer durch. Eine dunkle
   Hintergrundfarbe laesst eine eventuell verbleibende Luecke stattdessen
   mit den ohnehin dunklen Balken verschmelzen.
   ============================================================ */


.dfhero-section {
  position: relative;
  width: 100%;
  margin-top: var(--dfhero-navbar-height, 85px);
  min-height: calc(100vh - var(--dfhero-navbar-height, 85px));
  box-sizing: border-box;
  padding: 64px calc(5vw + 100px) 120px;
  overflow: hidden;
}

.dfhero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* ---------- Karussell-Navigation: grosse Pfeile fixed links/rechts ---------- */
/* am Bildschirmrand - bleiben beim Scrollen immer sichtbar UND liegen nie
   ueber Inhalt (sitzen ausserhalb der Content-Spalte). Die Seitenanzeige
   (Punkte + Zaehler) ist bewusst NICHT fixed, sondern Teil des normalen
   Dokumentflusses am Ende von .dfhero-inner - scrollt normal mit, blockiert
   also nie mehr Inhalt beim Scrollen. */

.dfhero-side-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #1a1a2e;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dfhero-side-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.dfhero-side-arrow svg {
  width: 28px;
  height: 28px;
}

.dfhero-side-arrow--prev {
  left: 24px;
}

.dfhero-side-arrow--next {
  right: 24px;
}

.dfhero-pagenav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.dfhero-pageinfo {
  font-size: 14px;
  color: #6b6b7b;
  min-width: 34px;
  text-align: center;
}

.dfhero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dfhero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6d3e0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.dfhero-dot.is-active {
  background: #6c4cf1;
  transform: scale(1.25);
}

/* Dunkle Slides (z. B. Slide 2) brauchen helle Chrome-Farben */
.dfhero-section--dark .dfhero-side-arrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.dfhero-section--dark .dfhero-pageinfo {
  color: rgba(255, 255, 255, 0.55);
}

.dfhero-section--dark .dfhero-dot {
  background: rgba(255, 255, 255, 0.2);
}

.dfhero-section--dark .dfhero-dot.is-active {
  background: #a78bfa;
}

@media (max-width: 900px) {
  .dfhero-section {
    padding-left: calc(5vw + 64px);
    padding-right: calc(5vw + 64px);
  }
  .dfhero-side-arrow {
    width: 46px;
    height: 46px;
  }
  .dfhero-side-arrow svg {
    width: 20px;
    height: 20px;
  }
  .dfhero-side-arrow--prev {
    left: 8px;
  }
  .dfhero-side-arrow--next {
    right: 8px;
  }
}

/* ---------- Gemeinsame Buttons ---------- */

.dfhero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6c4cf1, #8b5cf6);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(108, 76, 241, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dfhero-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(108, 76, 241, 0.34);
}

.dfhero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 8px;
  background: transparent;
  border: none;
  color: #1a1a2e;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

.dfhero-btn-ghost .dfhero-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

/* ============================================================
   SLIDE 1 — "Sie antwortet nicht nur. Sie fühlt."
   ============================================================ */

.dfhero-slide1 {
  background: linear-gradient(180deg, #f7f0ea 0%, #f3ece6 100%);
}

.dfhero-slide1 .dfhero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 24px;
}

.dfhero-slide1__eyebrow {
  color: #ec4899;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.dfhero-slide1__title {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  color: #17141f;
  margin: 0 0 24px;
}

.dfhero-slide1__title .dfhero-highlight {
  background: linear-gradient(135deg, #ec4899, #6c4cf1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dfhero-slide1__lead {
  font-size: 17px;
  line-height: 1.6;
  color: #4a4756;
  max-width: 46ch;
  margin: 0 0 32px;
}

.dfhero-slide1__ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.dfhero-slide1__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.dfhero-slide1__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4a4756;
}

.dfhero-slide1__badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dfhero-slide1__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.dfhero-slide1__media-glow {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 30% 30%, rgba(236, 72, 153, 0.18), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(108, 76, 241, 0.16), transparent 55%);
  z-index: 0;
}

.dfhero-slide1__portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  border-radius: 24px;
  object-fit: cover;
  display: block;
}

.dfhero-slide1__bubble {
  position: absolute;
  z-index: 2;
  right: -8px;
  bottom: 18%;
  max-width: 260px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 16px 32px rgba(23, 20, 31, 0.14);
  font-size: 15px;
  line-height: 1.5;
  color: #1a1a2e;
}

.dfhero-slide1__bubble strong {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .dfhero-slide1 .dfhero-inner {
    grid-template-columns: 1fr;
  }
  .dfhero-slide1__bubble {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }
}


/* ============================================================
   SLIDE 2 — "Warum deepfeel anders ist" (NHS-System, dunkel)
   ============================================================ */

.dfhero-slide2 {
  background: radial-gradient(circle at 75% 40%, #1b1530 0%, #0a0a12 60%);
  color: #fff;
}

.dfhero-slide2 .dfhero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding-top: 12px;
}

.dfhero-slide2__eyebrow {
  color: #ec4899;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.dfhero-slide2__title {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 22px;
}

.dfhero-slide2__title .dfhero-highlight {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dfhero-slide2__lead {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
  margin: 0 0 28px;
}

.dfhero-slide2__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.dfhero-slide2__card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 16px 18px;
  background: rgba(255, 255, 255, 0.03);
}

.dfhero-slide2__card svg {
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  color: #ec4899;
}

.dfhero-slide2__card h3 {
  font-size: 14px;
  margin: 0 0 6px;
  font-weight: 700;
}

.dfhero-slide2__card p {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ---------- NHS-Diagramm (zentrales Herz/Gehirn + 4 Satelliten) ---------- */

.dfhero-nhs-diagram {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.dfhero-nhs-diagram__core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.25) 70%, transparent 100%);
  filter: blur(0.5px);
}

.dfhero-nhs-diagram__core svg {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: 76%;
  color: #d8c7ff;
}

.dfhero-nhs-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 168px;
}

.dfhero-nhs-node__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 10px;
}

.dfhero-nhs-node__icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.dfhero-nhs-node h4 {
  font-size: 14px;
  margin: 0 0 4px;
  font-weight: 700;
}

.dfhero-nhs-node p {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.dfhero-nhs-node--perception  { left: 2%;  top: 18%; }
.dfhero-nhs-node--reaction    { right: 0%; top: 18%; text-align: right; align-items: flex-end; }
.dfhero-nhs-node--memory      { left: 4%;  bottom: 6%; }
.dfhero-nhs-node--personality { right: 2%; bottom: 6%; text-align: right; align-items: flex-end; }

@media (max-width: 980px) {
  .dfhero-slide2 .dfhero-inner {
    grid-template-columns: 1fr;
  }
  .dfhero-slide2__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .dfhero-nhs-diagram {
    display: none; /* auf schmalen Screens verzichten wir aufs Diagramm zugunsten Lesbarkeit */
  }
}

/* ============================================================
   SLIDE 3 — "Wen möchtest du treffen?" (Avatar-Auswahl)
   ============================================================ */

.dfhero-slide3 {
  background: linear-gradient(180deg, #faf1f4 0%, #f4eef7 100%);
}

.dfhero-slide3__heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.dfhero-slide3__title {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  color: #17141f;
  margin: 0 0 12px;
}

.dfhero-slide3__title .dfhero-highlight {
  background: linear-gradient(135deg, #ec4899, #6c4cf1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dfhero-slide3__subtitle {
  font-size: 16px;
  color: #6b6b7b;
  margin: 0;
}

.dfhero-slide3__tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  width: fit-content;
  margin: 0 auto 28px;
  box-shadow: 0 4px 14px rgba(23, 20, 31, 0.06);
}

.dfhero-slide3__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #6b6b7b;
  text-decoration: none;
  white-space: nowrap;
}

.dfhero-slide3__tab svg { width: 16px; height: 16px; }

.dfhero-slide3__tab.is-active {
  background: #fdeef3;
  color: #ec4899;
}

.dfhero-slide3__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.dfhero-avatar-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(23, 20, 31, 0.06);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(23, 20, 31, 0.05);
}

.dfhero-avatar-card.is-selected {
  border: 2px solid #6c4cf1;
}

.dfhero-avatar-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  display: block;
}

.dfhero-avatar-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #6c4cf1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dfhero-avatar-card__check svg { width: 12px; height: 12px; }

.dfhero-avatar-card__meta {
  padding: 10px 12px 14px;
}

.dfhero-avatar-card__meta strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.dfhero-avatar-card__meta span {
  font-size: 12px;
  color: #8a8797;
}


.dfhero-avatar-card--all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f3e8ff, #fde3ef);
  padding: 20px 12px;
  text-align: center;
}

.dfhero-avatar-card--all svg {
  width: 22px;
  height: 22px;
  color: #6c4cf1;
}

.dfhero-slide3__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.dfhero-slide3__feature {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(23, 20, 31, 0.05);
}

.dfhero-slide3__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.dfhero-slide3__feature-icon svg { width: 18px; height: 18px; }

.dfhero-slide3__feature h3 {
  font-size: 14px;
  margin: 0 0 6px;
}

.dfhero-slide3__feature p {
  font-size: 12.5px;
  line-height: 1.5;
  color: #8a8797;
  margin: 0;
}

@media (max-width: 1100px) {
  .dfhero-slide3__grid { grid-template-columns: repeat(4, 1fr); }
  .dfhero-slide3__features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .dfhero-slide3__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SLIDE 4 — "Geschichte wird lebendig" (Historische Personen)
   ============================================================ */

.dfhero-slide4 {
  background: linear-gradient(180deg, #f4ead9 0%, #efe2cb 100%);
}

.dfhero-slide4 .dfhero-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.dfhero-slide4__eyebrow {
  color: #ec4899;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.dfhero-slide4__title {
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 800;
  color: #211a10;
  line-height: 1.1;
  margin: 0 0 20px;
}

.dfhero-slide4__title .dfhero-highlight {
  background: linear-gradient(135deg, #ec4899, #6c4cf1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dfhero-slide4__lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: #5a4f3d;
  max-width: 42ch;
  margin: 0 0 24px;
}

.dfhero-slide4__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dfhero-slide4__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #3e3421;
}

.dfhero-slide4__list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.dfhero-slide4__list-icon svg { width: 16px; height: 16px; color: #b8863f; }

.dfhero-slide4__list strong {
  display: block;
  margin-bottom: 2px;
}

.dfhero-slide4__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dfhero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #211a10;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.dfhero-slide4__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dfhero-history-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(60, 45, 15, 0.1);
}

.dfhero-history-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.dfhero-history-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}

.dfhero-history-card__meta strong {
  display: block;
  font-size: 14px;
}

.dfhero-history-card__meta span {
  font-size: 12px;
  color: #8a8797;
}

.dfhero-history-card__chat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #6c4cf1;
  flex-shrink: 0;
}

.dfhero-history-card__chat svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .dfhero-slide4 .dfhero-inner { grid-template-columns: 1fr; }
  .dfhero-slide4__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Schnellnavigation zwischen den 4 Hero-Slide-Seiten
   (index.html/index_2/3/4.html) - permanent sichtbar, unabhaengig
   vom Hamburger-Menue. Das Hamburger-Menue (nav#menu) bleibt
   unveraendert das UMFASSENDE Menue mit ALLEN Punkten (inkl.
   Forschung/Produkte-Untermenues), auf JEDER Bildschirmgroesse per
   Klick ein-/ausblendbar - siehe index.css .menu-container.
   ============================================================ */

.dfhero-quicknav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 24px;
}

.dfhero-quicknav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.dfhero-quicknav a:hover {
  opacity: 0.8;
}

@media (max-width: 700px) {
  .dfhero-quicknav {
    display: none; /* auf sehr schmalen Screens Platz sparen - alle
                       Punkte bleiben trotzdem ueber den Hamburger
                       erreichbar, da nav#menu diese Links ebenfalls
                       enthaelt */
  }
}


/* ============================================================
   Sections (Forschung/Produkte/Unternehmen/Sicherheit) - nur
   sichtbar, wenn ueber einen Menue-Link mit #section-... referenziert
   (siehe index-app.js: applyHashSectionVisibility()). Sonst komplett
   ausgeblendet. Bei Aktivierung nimmt die referenzierte Section die
   gesamte Content-Flaeche ein (Hero wird ausgeblendet).
   ============================================================ */

#sections-placeholder {
  display: none;
}

#sections-placeholder.dfhero-sections--active {
  display: block;
}

#sections-placeholder.dfhero-sections--active > div {
  display: none;
}

#sections-placeholder.dfhero-sections--active > div.dfhero-section-visible {
  display: block;
  width: 100%;
  height: auto;
  margin-top: var(--dfhero-navbar-height, 85px);
  min-height: calc(100vh - var(--dfhero-navbar-height, 85px));
  box-sizing: border-box;
  padding: 64px 5vw 120px;
}

