/* ==========================================================
   Heartlines Theme v1.6.13 – gebündelte Kundenkorrektur
   Nur eindeutig zuordenbare Darstellungs-/Verlinkungswünsche.
   Keine Änderung an Wallet, Twilio, Zahlungen oder Abrechnung.
   ========================================================== */

/* ----------------------------------------------------------
   1. Startseite: mobile Lesbarkeit + vier Gesprächsicons
   ---------------------------------------------------------- */
@media (max-width: 920px) {
  .hero.hlb1-home-hero.hl-v12-home-hero .hl-v12-hero-copy {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    color: #554649 !important;
  }

  .hero.hlb1-home-hero .hero-btns.hl18-hero-actions.hl-v12-hero-icons {
    width: 100% !important;
    max-width: 380px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-items: center !important;
    gap: 8px !important;
    margin: 14px auto 14px !important;
  }

  .hero.hlb1-home-hero .hero-btns.hl18-hero-actions.hl-v12-hero-icons .hl18-hero-action {
    width: 72px !important;
    min-width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
  }

  .hero.hlb1-home-hero .trust {
    gap: 10px 14px !important;
  }

  .hero.hlb1-home-hero .trust .ti {
    font-size: 12.5px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }

  .hero.hlb1-home-hero .trust .ti .ti-icon {
    flex-basis: 16px !important;
    width: 16px !important;
    height: 16px !important;
  }
}

@media (max-width: 390px) {
  .hero.hlb1-home-hero.hl-v12-home-hero .hl-v12-hero-copy {
    font-size: 14px !important;
  }

  .hero.hlb1-home-hero .hero-btns.hl18-hero-actions.hl-v12-hero-icons .hl18-hero-action {
    width: 68px !important;
    min-width: 68px !important;
    height: 68px !important;
    min-height: 68px !important;
  }
}

/* ----------------------------------------------------------
   2. Startseite "Dein Gefühl": mobil wie Herzenskraft-Karten
   ---------------------------------------------------------- */
@media (max-width: 920px) {
  .heartlines-home .cats .wrap {
    width: 100% !important;
    max-width: none !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .heartlines-home .cat-carousel {
    position: relative !important;
    padding: 0 42px !important;
  }

  .heartlines-home .cat-row.owl-carousel .owl-stage-outer {
    overflow: hidden !important;
    padding: 3px 0 13px !important;
  }

  .heartlines-home .cat-row.owl-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
  }

  .heartlines-home .cat-row.owl-carousel .owl-item {
    display: flex !important;
    align-items: stretch !important;
  }

  .heartlines-home .cat-row .cat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 160px !important;
    padding: 13px 9px 12px !important;
    border: 1px solid #efd8da !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(91,39,46,.06) !important;
    box-sizing: border-box !important;
  }

  .heartlines-home .cat-row .cat .circle {
    width: 88px !important;
    height: 88px !important;
    margin: 0 auto 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .heartlines-home .cat-row .cat .circle img {
    width: 82px !important;
    height: 82px !important;
    object-fit: contain !important;
  }

  .heartlines-home .cat-row .cat span {
    max-width: 100% !important;
    color: #44393b !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    overflow-wrap: anywhere !important;
  }

  .heartlines-home .cat-carousel > .arrow {
    position: absolute !important;
    top: 50% !important;
    z-index: 12 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    border: 1px solid #f0dadd !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.97) !important;
    color: #df2f43 !important;
    box-shadow: 0 8px 20px rgba(91,39,46,.10) !important;
  }

  .heartlines-home .cat-carousel > .arrow.l { left: 0 !important; }
  .heartlines-home .cat-carousel > .arrow.r { right: 0 !important; }
}

/* ----------------------------------------------------------
   3. Herzleser finden: Gefühlsfilter mobil als Slider
   ---------------------------------------------------------- */
.hl-v1613-feeling-filter-shell {
  position: relative;
  width: 100%;
}

.hl-v1613-feeling-filter-shell > .arrow {
  display: none;
}

@media (max-width: 760px) {
  .hl-v1613-feeling-filter-shell {
    margin-top: 12px !important;
    padding: 0 37px !important;
    box-sizing: border-box !important;
  }

  .hl-v1613-feeling-filter-track.hl-core-filter-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 2px 1px 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .hl-v1613-feeling-filter-track::-webkit-scrollbar { display: none !important; }

  .hl-v1613-feeling-filter-track > a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    scroll-snap-align: start !important;
  }

  .hl-v1613-feeling-filter-shell > .arrow {
    position: absolute !important;
    top: 50% !important;
    z-index: 9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 31px !important;
    height: 31px !important;
    margin-top: -5px !important;
    transform: translateY(-50%) !important;
    border: 1px solid #efd8da !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #df2f43 !important;
    box-shadow: 0 6px 16px rgba(91,39,46,.08) !important;
  }

  .hl-v1613-feeling-filter-shell > .arrow svg {
    width: 15px !important;
    height: 15px !important;
  }

  .hl-v1613-feeling-filter-shell > .arrow.l { left: 0 !important; }
  .hl-v1613-feeling-filter-shell > .arrow.r { right: 0 !important; }
  .hl-v1613-feeling-filter-shell > .arrow[hidden] { display: none !important; }
  .hl-v1613-feeling-filter-shell > .arrow:disabled { opacity: .28 !important; }
}

/* ----------------------------------------------------------
   4. Zustände: verfügbar / offline / nicht angeboten
   Offline bleibt farbig, deaktiviert bleibt sehr hellgrau.
   ---------------------------------------------------------- */
.heartlines-home .hl-v13-card-channel.is-unavailable,
.hl-v13-card-channel.is-unavailable {
  opacity: .60 !important;
  color: #726568 !important;
  pointer-events: none !important;
}

.heartlines-home .hl-v13-card-channel.is-unavailable img,
.hl-v13-card-channel.is-unavailable img {
  opacity: .72 !important;
  filter: saturate(.62) brightness(1.06) !important;
}

.heartlines-home .hl-v13-card-channel.is-disabled,
.hl-v13-card-channel.is-disabled {
  opacity: .25 !important;
  color: #beb8ba !important;
  pointer-events: none !important;
}

.heartlines-home .hl-v13-card-channel.is-disabled img,
.hl-v13-card-channel.is-disabled img {
  opacity: .52 !important;
  filter: grayscale(1) saturate(0) brightness(1.42) !important;
}

.hl14-reader-service.is-offline {
  opacity: .62 !important;
}

.hl14-reader-service.is-offline img {
  opacity: .72 !important;
  filter: saturate(.62) brightness(1.06) !important;
}

.hl14-reader-service.is-disabled {
  opacity: .24 !important;
}

.hl14-reader-service.is-disabled img {
  opacity: .54 !important;
  filter: grayscale(1) saturate(0) brightness(1.42) !important;
}

/* Detailseite: Plugins markieren Offline-Zustände dynamisch. */
.advisor-detail-template .hlchat-public-offline,
.advisor-detail-template .hlaudio-offline,
.advisor-detail-template .hlvideo-offline {
  opacity: .60 !important;
}

.advisor-detail-template .hlchat-public-offline img,
.advisor-detail-template .hlaudio-offline img,
.advisor-detail-template .hlvideo-offline img {
  opacity: .72 !important;
  filter: saturate(.62) brightness(1.06) !important;
}

.advisor-detail-template .cta-col.is-disabled {
  opacity: .25 !important;
}

.advisor-detail-template .cta-col.is-disabled img {
  filter: grayscale(1) saturate(0) brightness(1.35) !important;
}

/* ----------------------------------------------------------
   5. Live-Chat: klarer Doppelschlag statt ruhigem Ein-/Auszoomen
   ---------------------------------------------------------- */
@keyframes hl-v1613-heartbeat {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 8px rgba(223,47,67,.10)); }
  7% { transform: scale(1.12); filter: drop-shadow(0 8px 16px rgba(223,47,67,.24)); }
  14% { transform: scale(1); }
  22% { transform: scale(1.075); filter: drop-shadow(0 7px 14px rgba(223,47,67,.20)); }
  30%, 92% { transform: scale(1); filter: drop-shadow(0 4px 8px rgba(223,47,67,.10)); }
}

/* Preise/Texte bleiben ruhig; nur das Herz schlägt. */
a.hl-v13-card-channel.is-channel-chat.is-live small,
.hl14-reader-service--chat.is-live small,
.advisor-detail-template .srv-line.is-live-chat .price,
.advisor-detail-template .hlscp-service-card.is-live-chat .pr,
.advisor-detail-template .hero-cta .cta-col.is-live-chat .hlfp-detail-action-price {
  animation: none !important;
}

a.hl-v13-card-channel.is-channel-chat.is-live img,
.hl14-reader-service--chat.is-live img,
.advisor-detail-template .srv-line.is-live-chat .ic,
.advisor-detail-template .hlscp-service-card.is-live-chat .hlscp-service-icon,
.advisor-detail-template .hlscp-service-card.is-live-chat .hlscp-button-inline-icon,
.advisor-detail-template .hero-cta .cta-col.is-live-chat .hlfp-detail-action-icon {
  animation: hl-v1613-heartbeat 1.45s ease-in-out infinite !important;
  transform-origin: center !important;
  will-change: transform, filter;
}

@media (prefers-reduced-motion: reduce) {
  a.hl-v13-card-channel.is-channel-chat.is-live img,
  .hl14-reader-service--chat.is-live img,
  .advisor-detail-template .srv-line.is-live-chat .ic,
  .advisor-detail-template .hlscp-service-card.is-live-chat .hlscp-service-icon,
  .advisor-detail-template .hlscp-service-card.is-live-chat .hlscp-button-inline-icon,
  .advisor-detail-template .hero-cta .cta-col.is-live-chat .hlfp-detail-action-icon {
    animation: none !important;
  }
}

/* ----------------------------------------------------------
   6. Detailseite: Gesprächskarten / Button-Icons klarer und größer
   ---------------------------------------------------------- */
.advisor-detail-template .hl-v12-services .serv-grid > .serv > .hlscp-service-icon {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  flex-basis: 64px !important;
}

.advisor-detail-template .hl-v12-services .hlscp-button-inline-icon {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
}

.advisor-detail-template .hl-v12-services .hlr20-button-style {
  min-height: 64px !important;
  gap: 12px !important;
}

@media (max-width: 760px) {
  .advisor-detail-template .hl-v12-services .serv-grid > .serv > .hlscp-service-icon {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    flex-basis: 58px !important;
  }

  .advisor-detail-template .hl-v12-services .hlscp-button-inline-icon {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
  }
}

/* ----------------------------------------------------------
   7. Startseiten-Vorteile: kein künstlicher Kreis um die Herzgrafik
   ---------------------------------------------------------- */
.heartlines-home .feats .feat .ic {
  width: 48px !important;
  height: 48px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.heartlines-home .feats .feat .ic img {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain !important;
}

@media (max-width: 760px) {
  .heartlines-home .feats .feat {
    grid-template-columns: 44px minmax(0,1fr) !important;
    gap: 12px !important;
  }

  .heartlines-home .feats .feat .ic {
    width: 44px !important;
    height: 44px !important;
  }

  .heartlines-home .feats .feat .ic img {
    width: 36px !important;
    height: 36px !important;
  }
}

/* ----------------------------------------------------------
   8. Zu kleine Preis-/Infozeilen der Herzleser-Karten mobil
   ---------------------------------------------------------- */
@media (max-width: 760px) {
  .heartlines-home .hl-v13-card-channel strong,
  .hl14-reader-service strong {
    font-size: 11px !important;
  }

  .heartlines-home .hl-v13-card-channel small,
  .hl14-reader-service small {
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  .hl14-reader-feelings,
  .hl14-reader-status {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }
}
