/* ==========================================================================
   Puels.legal · Subpage-Hero Trust-Upgrade
   Aufgabe: Personen direkt im Hero abholen, Vertrauen aufbauen, premium wirken.
   Ergaenzt vorhandene .page-hero Strukturen — additive, ueberschreibt nichts hart.
   ========================================================================== */

/* ---------- 1) Hero-Container Anhebung ---------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(2rem, 4.5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
  overflow: hidden;
}

/* Subtle radial gold haze behind content (top-right) */
.page-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle at center, rgba(212, 179, 106, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

/* Subtle navy haze bottom-left */
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -25%;
  left: -8%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle at center, rgba(20, 33, 61, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}

.page-hero > .container {
  position: relative;
  z-index: 2;
}

/* ---------- 2) Trust-Strip (above breadcrumb) -------------------------- */
.hero-trust-strip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(176, 136, 86, 0.18);
  border-radius: 100px;
  margin-bottom: 0.35rem;
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy, #14213D);
  box-shadow:
    0 4px 12px -6px rgba(15, 17, 21, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.50) inset;
  animation: hero-trust-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-trust-rise {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.hero-trust-strip-item svg {
  flex: 0 0 auto;
  color: var(--gold, #B08856);
}

.hero-trust-strip-item .star {
  color: var(--gold-bright, #D4B36A);
}

.hero-trust-strip-item.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2BA876;
  box-shadow: 0 0 0 0 rgba(43, 168, 118, 0.7);
  animation: hero-live-pulse 2s ease-out infinite;
  flex: 0 0 auto;
}

@keyframes hero-live-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(43, 168, 118, 0.65); }
  70%  { box-shadow: 0 0 0 10px rgba(43, 168, 118, 0); }
  100% { box-shadow: 0 0 0 0   rgba(43, 168, 118, 0); }
}

.hero-trust-strip-sep {
  width: 1px;
  height: 14px;
  background: rgba(176, 136, 86, 0.30);
  flex: 0 0 auto;
}

/* All .page-hero variants (incl. --bg, --video) have cream
   foreground backgrounds. Trust-Strip stays light-glass with navy text. */

/* ---------- 3) Hero-Ticker (Live-Number under headline) ---------------- */
.hero-ticker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(176, 136, 86, 0.22);
  border-radius: 100px;
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--navy, #14213D);
  margin-top: 1rem;
  box-shadow: 0 6px 16px -8px rgba(15, 17, 21, 0.10);
}
.hero-ticker .pulse-green {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2BA876;
  box-shadow: 0 0 0 0 rgba(43, 168, 118, 0.7);
  animation: hero-live-pulse 2s ease-out infinite;
  flex: 0 0 auto;
}
.hero-ticker strong { font-weight: 700; color: var(--navy, #14213D); }

/* ---------- 4) Topic Visual: floating animated gold shape -------------- */
.hero-topic-accent {
  position: absolute;
  top: 12%;
  right: 5%;
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  filter: blur(0.5px);
  animation: hero-accent-float 8s ease-in-out infinite;
}
@keyframes hero-accent-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(-16px, -12px) rotate(8deg); }
}
.hero-topic-accent svg { width: 100%; height: 100%; }

/* ---------- 5) Avatar-Stack — team trust signal ------------------------- */
.hero-team-avatars {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.hero-team-stack {
  display: inline-flex;
}
.hero-team-stack img,
.hero-team-stack span {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: linear-gradient(135deg, var(--gold-bright, #D4B36A), var(--gold, #B08856));
  margin-left: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  object-fit: cover;
  object-position: center 22%;
  box-shadow: 0 2px 6px -1px rgba(15,17,21,0.18);
  transition: transform 0.3s ease;
}
.hero-team-stack img:first-child,
.hero-team-stack span:first-child { margin-left: 0; }
.hero-team-stack img:hover,
.hero-team-stack span:hover { transform: translateY(-3px) scale(1.05); z-index: 2; }
.hero-team-text {
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  font-size: 0.84rem;
  color: rgba(20,33,61,0.78);
  line-height: 1.45;
}
.hero-team-text strong {
  color: var(--navy, #14213D);
  font-weight: 700;
}
/* avatar text on --video stays navy via the contrast lock below */

/* ---------- 6) Headline polish ---------------------------------------- */
.page-hero h1 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.018em;
  line-height: 1.05;
}
.page-hero h1 em {
  position: relative;
  font-style: italic;
  color: var(--gold, #B08856);
}
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold, #B08856);
  margin-bottom: 0.75rem;
}
.page-hero .eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--gold, #B08856);
  flex: 0 0 auto;
}

/* Eyebrow stays in default gold across all hero variants */

/* ---------- 7) Hero-Facts box (right column) — refined ---------------- */
.page-hero-facts {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(176, 136, 86, 0.20);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  box-shadow:
    0 24px 48px -16px rgba(15,17,21,0.18),
    0 0 0 1px rgba(255,255,255,0.50) inset;
  position: relative;
  overflow: hidden;
}
.page-hero-facts::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle at center, rgba(212,179,106,0.20), transparent 60%);
  pointer-events: none;
}
.page-hero-facts h4 {
  margin: 0 0 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold, #B08856);
}
.page-hero-facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.page-hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--navy, #14213D);
}
.page-hero-facts li svg {
  flex: 0 0 auto;
  color: var(--gold, #B08856);
  width: 18px; height: 18px;
  margin-top: 2px;
}

/* Facts-Box stays light-glass with navy text on all variants */

/* ---------- 8) Breadcrumb refinement ---------------------------------- */
.page-hero .breadcrumb {
  font-size: 0.78rem;
  color: rgba(20, 33, 61, 0.62);
  margin-bottom: 1.25rem;
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
}
.page-hero .breadcrumb a {
  color: rgba(20, 33, 61, 0.78);
  text-decoration: none;
  transition: color 0.25s ease;
}
.page-hero .breadcrumb a:hover {
  color: var(--gold, #B08856);
}
.page-hero .breadcrumb .sep {
  margin: 0 0.5rem;
  color: rgba(176, 136, 86, 0.50);
}
/* Breadcrumb stays navy across all variants */

/* ---------- 9) Mobile ------------------------------------------------- */
@media (max-width: 720px) {
  .hero-trust-strip {
    font-size: 0.72rem;
    gap: 0.5rem 0.85rem;
    padding: 0.5rem 0.85rem;
  }
  .hero-trust-strip-sep { display: none; }
  .hero-topic-accent { display: none; }
  .hero-team-stack img,
  .hero-team-stack span { width: 32px; height: 32px; margin-left: -8px; font-size: 0.7rem; }
  .page-hero-facts { padding: 1.15rem 1.2rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-trust-strip,
  .hero-topic-accent,
  .hero-ticker .pulse-green,
  .hero-trust-strip-item.live-dot::before {
    animation: none !important;
  }
}

/* ==========================================================================
   CONTRAST LOCK — alle .page-hero Varianten haben cream Hintergrund.
   --bg = cream + Bild rechts.  --video = cream + Video rechts.
   Text muss IMMER Navy/dunkel sein.
   Selektoren mit !important wo aelterer Code weiss faerbt.
   ========================================================================== */
.page-hero h1,
.page-hero h2,
.page-hero .lead,
.page-hero p:not(.eyebrow),
.page-hero .breadcrumb,
.page-hero .hero-team-text {
  color: var(--navy, #14213D) !important;
}
.page-hero h1 em,
.page-hero .eyebrow {
  color: var(--gold, #B08856) !important;
}
.page-hero .breadcrumb a {
  color: rgba(20, 33, 61, 0.78) !important;
}
.page-hero .breadcrumb a:hover {
  color: var(--gold, #B08856) !important;
}

/* Lead-Text Tone */
.page-hero .lead {
  color: rgba(20, 33, 61, 0.84) !important;
}

/* Trust-Strip — universal light-glass */
.page-hero .hero-trust-strip {
  background: rgba(255, 255, 255, 0.62) !important;
  color: var(--navy, #14213D) !important;
  border-color: rgba(176, 136, 86, 0.18) !important;
}
.page-hero .hero-trust-strip-item { color: var(--navy, #14213D) !important; }
.page-hero .hero-trust-strip-item strong { color: var(--navy, #14213D) !important; }
.page-hero .hero-trust-strip-sep { background: rgba(176, 136, 86, 0.30) !important; }

/* Facts-Box — universal light-glass with navy text */
.page-hero .page-hero-facts { color: var(--navy, #14213D) !important; }
.page-hero .page-hero-facts li { color: var(--navy, #14213D) !important; }
.page-hero .page-hero-facts h4 { color: var(--gold, #B08856) !important; }

/* Avatar text on all hero variants */
.page-hero .hero-team-text strong { color: var(--navy, #14213D) !important; }
