/* ============================================================
   Bconnect Home & Living Hero — widget-styling
   Bron (eindwaarden na cascade):
   ingekort-homeliving2.css < upgrade-homeliving2.css < upgrade.css
   < upgrade-effects.css, plus de gedeelde au-hero/hv-regels uit
   ingekort-automotive.css. Tokens uit tokens.css.
   Alles gescoped op .hl2-hero / .hl2-logobar zodat dit niet botst
   met het au-hero-zusterwidget op andere pagina's.
   ============================================================ */

.hl2-hero > .container,
.hl2-logobar > .container { width: 100%; max-width: var(--container, 1280px); margin: 0 auto; padding: 0 var(--gutter, 56px); }

/* ===== Hero-entrance ===== */
.hl2-hero .hh-in { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hl2-hero .hh-in { transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .hl2-hero .hh-in.is-in { opacity: 1; transform: none; }
  .hl2-hero.is-settled .hh-in { transition: none; opacity: 1; transform: none; }
}

/* ===== Hero-schil =====
   Vaste hero-hoogte uit upgrade-effects.css (geijkt op 704px), zodat de
   logoband op elke pagina op dezelfde hoogte begint. */
.hl2-hero { --lb: 165px; padding: 64px 0; min-height: 704px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hl2-hero > .container { position: relative; z-index: 1; }
.hl2-hero .hero-bg { position: absolute; inset: 0; background: #FFFFFF; pointer-events: none; }
.hl2-hero .au-hero-stack { display: grid; grid-template-columns: 40% 60%; gap: 48px; align-items: center; }
.hl2-hero .au-hero-copy { width: 100%; text-align: left; }
.hl2-hero h1 { font-family: var(--font-head); font-weight: var(--fw-semibold); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.025em; color: var(--c-navy); margin: 14px 0 16px; max-width: 15em; }
.hl2-hero .lead { font-family: var(--font-body); font-size: 16.5px; line-height: 1.6; color: var(--c-text-muted); max-width: 30em; margin: 0 0 26px; }
.hl2-hero .au-hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hl2-hero .au-textlink { font-family: var(--font-head); font-size: 15px; font-weight: var(--fw-bold); color: var(--c-navy); display: inline-flex; align-items: center; gap: 7px; text-decoration: none; transition: color .18s var(--ease), gap .18s var(--ease); }
.hl2-hero .au-textlink:hover { color: var(--c-grad-magenta); gap: 11px; }

.hl2-hero .au-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  font-family: var(--font-head); font-size: 12.5px; font-weight: var(--fw-bold);
  letter-spacing: 0.06em; color: var(--c-navy);
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--c-white), var(--c-white)) padding-box,
    var(--gradient-brand) border-box;
  padding: 8px 16px 8px 13px; border-radius: var(--radius-pill);
  box-shadow: 0 1px 2px rgba(20,20,100,.05), 0 8px 20px rgba(35,1,123,.10);
}
.hl2-hero .au-eyebrow-pill::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--gradient-brand); flex: 0 0 auto; }

/* ===== Proof-cijfers ===== */
.hl2-hero .lg-hero-proof { list-style: none; margin: 36px 0 0; padding: 26px 0 0; border-top: 1px solid var(--c-border); display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hl2-hero .lg-hero-proof li { display: flex; flex-direction: column; gap: 3px; }
.hl2-hero .lg-hero-proof-num { font-family: var(--font-head); font-weight: var(--fw-semibold); font-size: clamp(22px, 2vw, 27px); line-height: 1; letter-spacing: -0.02em; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl2-hero .lg-hero-proof-label { font-family: var(--font-body); font-size: 13px; line-height: 1.35; color: var(--c-text-soft); max-width: 18ch; }

/* ===== Hero-shot met chatvenster ===== */
.hl2-hero .au-hero-shot { display: block; width: 100%; }
.hl2-hero .au-hero-shot .hh-visual { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--c-bg-soft); box-shadow: 0 28px 60px -20px rgba(20,20,100,0.28), 0 6px 18px rgba(20,20,100,0.08); }
.hl2-hero .au-hero-shot .hv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hl2-hero .au-hero-shot .hv-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom right, rgba(11,10,61,0) 45%, rgba(11,10,61,0.18) 100%); }

.hl2-hero .hv-chat-wrap { position: absolute; right: 24px; bottom: 24px; z-index: 2; }
.hl2-hero .hv-pill, .hl2-hero .hv-win {
  position: absolute; right: 0; bottom: 0;
  transform-origin: bottom right;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.hl2-hero .hv-pill {
  display: flex; align-items: center; gap: 12px;
  background: #141464; border-radius: 999px; padding: 11px 16px;
  box-shadow: 0 12px 30px -8px rgba(20,20,100,0.4);
  cursor: pointer; white-space: nowrap;
}
.hl2-hero .hv-pill-label { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: 700; font-size: 15px; color: #fff; line-height: 1; }
.hl2-hero .hv-pill-icon { width: 34px; height: 34px; flex: none; border-radius: 999px; background: #1c1c7a; display: grid; place-items: center; }
.hl2-hero .hv-pill-status { position: absolute; left: 4px; bottom: 2px; width: 13px; height: 13px; border-radius: 999px; background: #1fae5a; border: 2px solid #fff; }
.hl2-hero .hv-win {
  width: 300px;
  background: #FFFFFF; border-radius: 16px; overflow: hidden;
  box-shadow: 0 28px 60px -20px rgba(20,20,100,0.28), 0 6px 18px rgba(20,20,100,0.08);
  display: flex; flex-direction: column;
}
.hl2-hero .hv-chat-wrap.is-open .hv-pill { opacity: 0; transform: scale(.82); pointer-events: none; }
.hl2-hero .hv-chat-wrap:not(.is-open) .hv-win { opacity: 0; transform: scale(.9); pointer-events: none; }

.hl2-hero .hv-win-strip { height: 5px; flex: none; background: linear-gradient(90deg, #2301fb, #a80290); }
.hl2-hero .hv-win-head { background: #141464; padding: 14px 16px; }
.hl2-hero .hv-head-top { display: flex; align-items: center; justify-content: space-between; }
.hl2-hero .hv-head-top svg { display: block; }
.hl2-hero .hv-head-tools { display: flex; align-items: center; gap: 14px; }
.hl2-hero .hv-head-who { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.hl2-hero .au-hero-shot .hv-avatar { width: 36px; height: 36px; flex: none; border-radius: 999px; object-fit: cover; box-shadow: none; }
.hl2-hero .hv-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hl2-hero .hv-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: #fff; line-height: 1.1; }
.hl2-hero .hv-status { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #fff; line-height: 1.1; }
.hl2-hero .hv-status-dot { width: 8px; height: 8px; flex: none; border-radius: 999px; background: #1fae5a; }

.hl2-hero .hv-win-body {
  padding: 16px; background: #FFFFFF; min-height: 200px; height: 200px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto; scroll-behavior: smooth;
}
.hl2-hero .hv-msg { display: flex; flex-direction: column; max-width: 100%; }
.hl2-hero .hv-msg.recv { align-items: flex-start; }
.hl2-hero .hv-msg.sent { align-items: flex-end; }
.hl2-hero .hv-recv-line { display: flex; align-items: flex-end; gap: 8px; max-width: 88%; }
.hl2-hero .hv-cloud { width: 24px; height: 24px; flex: none; border-radius: 999px; background: #EEF1F8; display: grid; place-items: center; margin-bottom: 2px; color: #AEB3C7; }
.hl2-hero .hv-bubble {
  padding: 9px 13px; border-radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px; line-height: 1.5; word-wrap: break-word;
  animation: hlHvBubbleIn 0.3s var(--ease) both;
}
.hl2-hero .hv-msg.recv .hv-bubble { background: #EEF1F8; color: #141464; }
.hl2-hero .hv-msg.sent .hv-bubble { max-width: 78%; background: linear-gradient(135deg, #2301fb, #a80290); color: #fff; }
.hl2-hero .hv-time { font-size: 11px; color: #9A9AAE; margin-top: 3px; line-height: 1; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.hl2-hero .hv-msg.recv .hv-time { margin-left: 32px; }
.hl2-hero .hv-time.sent { display: flex; align-items: center; gap: 4px; }
.hl2-hero .hv-time.sent svg { display: block; }
@keyframes hlHvBubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hl2-hero .hv-typing-bubble { background: #EEF1F8; border-radius: 14px; padding: 11px 13px; }
.hl2-hero .hv-typing { display: inline-flex; gap: 4px; align-items: center; }
.hl2-hero .hv-typing span { width: 6px; height: 6px; border-radius: 999px; background: #AEB3C7; }
@media (prefers-reduced-motion: no-preference) {
  .hl2-hero .hv-typing span { animation: hlHvTyping 1.2s var(--ease) infinite; }
  .hl2-hero .hv-typing span:nth-child(2) { animation-delay: .18s; }
  .hl2-hero .hv-typing span:nth-child(3) { animation-delay: .36s; }
}
@keyframes hlHvTyping { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.hl2-hero .hv-win-foot { padding: 10px 14px 8px; background: #fff; }
.hl2-hero .hv-input-pill { display: flex; align-items: center; gap: 8px; cursor: default; background: #fff; border: 1px solid #E2E4F0; border-radius: 999px; padding: 12px 16px; }
.hl2-hero .hv-input-text { flex: 1; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14px; color: #9A9FB5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl2-hero .hv-input-pill svg { flex: none; display: block; color: #9A9FB5; }
.hl2-hero .hv-powered { text-align: center; font-size: 11px; color: #9A9AAE; margin-top: 8px; font-family: var(--font-body); }

@media (max-width: 1024px) {
  .hl2-hero .au-hero-stack { grid-template-columns: 1fr; gap: 36px; }
  .hl2-hero .au-hero-shot { margin-top: 4px; }
}
@media (max-width: 980px) {
  .hl2-hero .au-hero-shot .hv-win { width: 280px; }
}
@media (max-width: 720px) {
  .hl2-hero { min-height: 0; }
}

/* ===== Logoband (gradient-strip met witte logo's) =====
   Eindwaarden uit upgrade-effects.css: band 208px hoog, inhoud vanaf
   32px boven, intro 26px, gradient ALLEEN op de marquee-strip,
   dividers weg, logo's egaal wit (brightness 0 + invert). */
.hl2-logobar { padding: 0; padding-top: 32px; background: transparent; min-height: 208px; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; }
.hl2-logobar > .container { width: 100%; }
.hl2-logobar .au-logobar-intro { text-align: center; margin: 0 0 20px; font-family: var(--font-head); font-size: 26px; font-weight: var(--fw-semibold); letter-spacing: -0.01em; line-height: 1.6; color: var(--c-navy); }
.hl2-logobar .au-logobar-divider { display: none; }

.hl2-logobar .logo-marquee { overflow: hidden; -webkit-mask-image: none !important; mask-image: none !important; }
.hl2-logobar .au-logobar-marquee {
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding-top: 26px; padding-bottom: 26px;
  background:
    radial-gradient(70% 150% at 10% -20%, rgba(88,208,245,.15) 0%, transparent 55%),
    radial-gradient(60% 130% at 94% 120%, rgba(255,255,255,.09) 0%, transparent 58%),
    linear-gradient(135deg, #2301fb 0%, #a80290 100%);
}
.hl2-logobar .logo-marquee-track { display: flex; align-items: center; width: max-content; gap: 0; animation: hl-logo-marquee var(--mq-duration, 80s) linear infinite; will-change: transform; }
.hl2-logobar .logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.hl2-logobar .au-logobar-marquee .logo-marquee-item {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  min-width: auto; width: auto; height: auto; min-height: 62px;
  padding: 0 40px; margin: 0; background: transparent;
}
.hl2-logobar .au-logobar-marquee .logo-marquee-item img {
  height: 45px; max-height: 45px; width: auto; max-width: 101px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .82; mix-blend-mode: normal; background: transparent;
  transition: opacity .25s var(--ease);
}
.hl2-logobar .au-logobar-marquee .logo-marquee-item img:hover { filter: brightness(0) invert(1); opacity: 1; }

@keyframes hl-logo-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ===== Elementor-context + HARDENING tegen theme-resets ===== */
.elementor-widget-bconnect_hl_hero { margin: 0 !important; }
.elementor-widget-bconnect_hl_hero .accent {
	background: linear-gradient(90deg, #2301fb 0%, #a80290 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	color: transparent !important;
	display: inline-block;
}
.elementor-widget-bconnect_hl_hero .lg-hero-proof-num {
	background: linear-gradient(90deg, #2301fb 0%, #a80290 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	color: transparent !important;
	display: inline-block;
}
.elementor-widget-bconnect_hl_hero .btn-primary {
	background: linear-gradient(90deg, #2301fb 0%, #a80290 100%) !important;
	color: #fff !important;
}
.elementor-widget-bconnect_hl_hero .btn-primary:hover {
	background: linear-gradient(90deg, #3a1eff 0%, #c213ad 100%) !important;
	color: #fff !important;
}
.elementor-widget-bconnect_hl_hero .hv-status-dot,
.elementor-widget-bconnect_hl_hero .hv-pill-status { background: #1fae5a !important; }
.elementor-widget-bconnect_hl_hero .logo-marquee { overflow: hidden !important; display: block; }
.elementor-widget-bconnect_hl_hero .logo-marquee-track {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	width: max-content !important;
	animation: hl-logo-marquee var(--mq-duration, 80s) linear infinite;
	will-change: transform;
}
.elementor-widget-bconnect_hl_hero .logo-marquee-item { flex: 0 0 auto !important; }
@media (prefers-reduced-motion: reduce) {
	.elementor-widget-bconnect_hl_hero .logo-marquee-track,
	.hl2-logobar .logo-marquee-track { animation: none; }
}
