/* ============================================================
   Bconnect Automotive Hero — widget-styling
   Bron: ingekort-automotive.css (au-hero, hv-chat, au-logobar).
   Tokens uit tokens.css.
   ============================================================ */

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

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

/* ===== Hero-schil ===== */
.au-hero { padding: 64px 0; min-height: clamp(640px, 72vh, 700px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.au-hero > .container { position: relative; z-index: 1; }
.au-hero .hero-bg { position: absolute; inset: 0; background: #FFFFFF; pointer-events: none; }
.au-hero-stack { display: grid; grid-template-columns: 40% 60%; gap: 48px; align-items: center; }
.au-hero-copy { width: 100%; text-align: left; }
.au-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; }
.au-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; }
.au-hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.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); }
.au-textlink:hover { color: var(--c-grad-magenta); gap: 11px; }

.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);
}
.au-eyebrow-pill::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--gradient-brand); flex: 0 0 auto; }

/* ===== Proof-cijfers ===== */
.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; }
.lg-hero-proof li { display: flex; flex-direction: column; gap: 3px; }
.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; }
.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 ===== */
.au-hero-shot { display: block; width: 100%; }
.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); }
.au-hero-shot .hv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.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%); }

.hv-chat-wrap { position: absolute; right: 24px; bottom: 24px; z-index: 2; }
.hv-pill, .hv-win {
  position: absolute; right: 0; bottom: 0;
  transform-origin: bottom right;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.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;
}
.hv-pill-label { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: 700; font-size: 15px; color: #fff; line-height: 1; }
.hv-pill-icon { width: 34px; height: 34px; flex: none; border-radius: 999px; background: #1c1c7a; display: grid; place-items: center; }
.hv-pill-status { position: absolute; left: 4px; bottom: 2px; width: 13px; height: 13px; border-radius: 999px; background: #1fae5a; border: 2px solid #fff; }
.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;
}
.hv-chat-wrap.is-open .hv-pill { opacity: 0; transform: scale(.82); pointer-events: none; }
.hv-chat-wrap:not(.is-open) .hv-win { opacity: 0; transform: scale(.9); pointer-events: none; }

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

.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;
}
.hv-msg { display: flex; flex-direction: column; max-width: 100%; }
.hv-msg.recv { align-items: flex-start; }
.hv-msg.sent { align-items: flex-end; }
.hv-recv-line { display: flex; align-items: flex-end; gap: 8px; max-width: 88%; }
.hv-cloud { width: 24px; height: 24px; flex: none; border-radius: 999px; background: #EEF1F8; display: grid; place-items: center; margin-bottom: 2px; color: #AEB3C7; }
.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: hvBubbleIn 0.3s var(--ease) both;
}
.hv-msg.recv .hv-bubble { background: #EEF1F8; color: #141464; }
.hv-msg.sent .hv-bubble { max-width: 78%; background: linear-gradient(135deg, #2301fb, #a80290); color: #fff; }
.hv-time { font-size: 11px; color: #9A9AAE; margin-top: 3px; line-height: 1; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.hv-msg.recv .hv-time { margin-left: 32px; }
.hv-time.sent { display: flex; align-items: center; gap: 4px; }
.hv-time.sent svg { display: block; }
@keyframes hvBubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

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

.hv-win-foot { padding: 10px 14px 8px; background: #fff; }
.hv-input-pill { display: flex; align-items: center; gap: 8px; cursor: default; background: #fff; border: 1px solid #E2E4F0; border-radius: 999px; padding: 12px 16px; }
.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; }
.hv-input-pill svg { flex: none; display: block; color: #9A9FB5; }
.hv-powered { text-align: center; font-size: 11px; color: #9A9AAE; margin-top: 8px; font-family: var(--font-body); }

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

/* ===== Logocarousel (licht, met dividers, grijswaarde-logo's) ===== */
.au-logobar { padding: 0; background: transparent; min-height: 200px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.au-logobar > .container { width: 100%; }
.au-logobar-intro { text-align: center; margin: 0 0 28px; font-family: var(--font-head); font-size: 13px; font-weight: var(--fw-semibold); letter-spacing: 0.08em; color: var(--c-navy); text-transform: uppercase; }
.au-logobar-divider { height: 1px; border: 0; background: var(--c-border); width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.au-logobar-divider-top { margin-top: 0; margin-bottom: 30px; }
.au-logobar-divider-bottom { margin-top: 36px; margin-bottom: 0; }

.logo-marquee { overflow: hidden; -webkit-mask-image: none; mask-image: none; }
.au-logobar-marquee { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.logo-marquee-track { display: flex; align-items: center; width: max-content; gap: 0; animation: logo-marquee var(--mq-duration, 80s) linear infinite; will-change: transform; }
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.au-logobar-marquee .logo-marquee-item { flex: 0 0 auto; min-width: 0; padding: 0 12px; margin: 0 16px; width: 132px; height: 72px; display: grid; place-items: center; }
.au-logobar-marquee .logo-marquee-item img { height: 48px; max-height: 48px; width: auto; max-width: 108px; object-fit: contain; filter: grayscale(100%); opacity: .85; transition: opacity .25s var(--ease); }
.au-logobar-marquee .logo-marquee-item img:hover { opacity: 1; }

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

/* ===== Elementor-context + HARDENING tegen theme-resets ===== */
.elementor-widget-bconnect_au_hero { margin: 0 !important; }
.elementor-widget-bconnect_au_hero .accent,
.elementor-widget-bconnect_au_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_au_hero .btn-primary {
	background: linear-gradient(90deg, #2301fb 0%, #a80290 100%) !important;
	color: #fff !important;
}
.elementor-widget-bconnect_au_hero .btn-primary:hover {
	background: linear-gradient(90deg, #3a1eff 0%, #c213ad 100%) !important;
	color: #fff !important;
}
.elementor-widget-bconnect_au_hero .hv-status-dot,
.elementor-widget-bconnect_au_hero .hv-pill-status { background: #1fae5a !important; }
.elementor-widget-bconnect_au_hero .logo-marquee { overflow: hidden !important; display: block; }
.elementor-widget-bconnect_au_hero .logo-marquee-track {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	width: max-content !important;
	animation: logo-marquee var(--mq-duration, 80s) linear infinite;
	will-change: transform;
}
.elementor-widget-bconnect_au_hero .logo-marquee-item { flex: 0 0 auto !important; }
@media (prefers-reduced-motion: reduce) {
	.elementor-widget-bconnect_au_hero .logo-marquee-track { animation: none; }
}

/* =====================================================================
   GELIJKTREKKEN MET DE AUTOMOTIVE-EXPORT (29-07-2026)
   Bron: "Bconnect Automotive (standalone) (1).html" — de eindstaat daarvan
   is gemeten in de browser, niet uit de bron-CSS gelezen, omdat de export
   meerdere verfijningslagen over elkaar heen legt.

   De logobalk is daar GEEN transparante strook met grijze logo's, maar een
   full-bleed merk-gradientband met wit uitgesneden logo's, zonder hairlines,
   met de intro als 26px-kop erboven. Dit draait de eerdere keuze
   "logobalk transparant" (commit 4af3339) terug voor ÁLLEEN automotive;
   leadgen/meer-rendement/home-en-living houden hun huidige look tot hun
   eigen exports erbij liggen.
   ===================================================================== */

/* de band zelf: 208px hoog, inhoud vanaf 32px boven, wit eromheen */
.au-logobar {
	background: #fff;
	min-height: 208px;
	justify-content: flex-start;
	padding-top: 32px;
}

/* intro als kop, niet als klein uppercase-label */
.au-logobar .au-logobar-intro {
	font-size: 26px;
	line-height: 1.6;
	letter-spacing: -0.01em;
	margin: 0 0 20px;
	text-transform: none;
}

/* hairlines weg — de gekleurde band vormt zelf de scheiding */
.au-logobar .au-logobar-divider { display: none; }

/* merk-gradientband met twee zachte lichtvlekken */
.au-logobar .au-logobar-marquee {
	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%);
}
/* geen witte edge-fade over een gekleurde band */
.au-logobar .logo-marquee { -webkit-mask-image: none; mask-image: none; }

/* items dichter op elkaar (125x62 i.p.v. 132x72 + 16px marge) */
.au-logobar .au-logobar-marquee .logo-marquee-item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	min-height: 62px;
	padding: 0 40px;
	margin: 0;
}

/* logo's wit uitgesneden i.p.v. grijswaarden */
.au-logobar .au-logobar-marquee .logo-marquee-item img {
	height: 45px;
	max-height: 45px;
	max-width: 101px;
	filter: brightness(0) invert(1);
	opacity: .82;
	mix-blend-mode: normal;
}
.au-logobar .au-logobar-marquee .logo-marquee-item img:hover {
	filter: brightness(0) invert(1);
	opacity: 1;
}

/* De chat-visual verloor zijn zweefschaduw omdat `.hv-bg` op één kale class
   staat (0,1,0) en van Elementors `.elementor img` (0,1,1) verliest; het
   widget-wrapperprefix tilt hem naar 0,2,0. De ronde avatar had een andere
   oorzaak — zie het `:not(.hv-avatar)`-comment in bconnect-shared.css. */
.elementor-widget-bconnect_au_hero .hv-bg {
	box-shadow:
		0 2px 4px rgba(20, 20, 100, .08),
		0 24px 50px rgba(35, 1, 123, .2),
		0 44px 90px rgba(168, 2, 144, .13);
}
