/* =========================================================================
   Bona Vita® Portal · Welle 3 — Käufer-Erlebnis
   bv-buyerjourney.css · Zeitstrahl + Countdown + Nudges + Welcome
   ========================================================================= */

:root {
  --bv-navy: #0f1d3f;
  --bv-navy-soft: #1b2a52;
  --bv-gold: #b8945a;
  --bv-gold-soft: #d1b282;
  --bv-gold-bg: #faf6ed;
  --bv-gold-light: #f2d98f;
  --bv-ink: #2b2f38;
  --bv-muted: #6d7381;
  --bv-hairline: #e6e2d6;
}

/* --- Top-Bereich: Countdown + Nudges nebeneinander --- */
.bv-journey__top {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 22px;
  margin: 18px 0 28px;
}
@media (max-width: 880px){
  .bv-journey__top { grid-template-columns: 1fr; }
}

/* --- Countdown-Karte --- */
.bv-countdown {
  background: linear-gradient(160deg, var(--bv-navy) 0%, var(--bv-navy-soft) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(15,29,63,.14);
  position: relative;
  overflow: hidden;
}
.bv-countdown::after {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,148,90,.25), transparent 70%);
  pointer-events: none;
}
.bv-countdown__eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--bv-gold-soft);
  margin-bottom: 10px;
}
.bv-countdown__big {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.bv-countdown__num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  color: var(--bv-gold-light);
  letter-spacing: -.02em;
}
.bv-countdown__unit {
  font-size: 18px;
  color: rgba(255,255,255,.85);
}
.bv-countdown__sub {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}

/* --- Vita-Nudges --- */
.bv-nudges {
  background: var(--bv-gold-bg);
  border: 1px solid var(--bv-hairline);
  border-radius: 14px;
  padding: 18px 20px;
}
.bv-nudges__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.bv-nudges__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bv-navy), var(--bv-navy-soft));
  color: var(--bv-gold-light);
  display: grid; place-items: center;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(15,29,63,.2);
}
.bv-nudges__head strong {
  display: block;
  color: var(--bv-navy);
  font-size: 15px;
}
.bv-nudges__sub {
  font-size: 12px;
  color: var(--bv-muted);
}
.bv-nudges__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.bv-nudge {
  background: #fff;
  border-left: 3px solid var(--bv-gold);
  padding: 12px 14px;
  border-radius: 8px;
  overflow: hidden;
}
.bv-nudge--decision { border-left-color: #d87a1a; }
.bv-nudge--anticipation { border-left-color: var(--bv-gold); }
.bv-nudge--proud { border-left-color: #7faa5e; }
.bv-nudge--moving { border-left-color: var(--bv-navy); }
.bv-nudge__text {
  display: block;
  color: var(--bv-ink);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
  font-style: italic;
}
.bv-nudge__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.bv-nudge__cta {
  display: inline-block;
  background: var(--bv-navy);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.bv-nudge__cta:hover { background: var(--bv-navy-soft); }
.bv-nudge__dismiss {
  background: transparent;
  border: none;
  color: var(--bv-muted);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
}
.bv-nudge__dismiss:hover { color: var(--bv-ink); text-decoration: underline; }

/* --- Zeitstrahl --- */
.bv-journey {
  list-style: none;
  margin: 0;
  padding: 0 0 0 40px;
  position: relative;
  counter-reset: station;
}
/* Vertikale Gold-Linie */
.bv-journey::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom,
    var(--bv-gold-soft) 0%,
    var(--bv-gold) 50%,
    var(--bv-gold-soft) 100%);
  border-radius: 2px;
}

.bv-st {
  position: relative;
  padding-bottom: 28px;
}
.bv-st:last-child { padding-bottom: 0; }

/* Gold-Punkt auf der Linie */
.bv-st__dot {
  position: absolute;
  left: -31px;
  top: 16px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bv-gold);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--bv-gold-soft);
}
.bv-st--done .bv-st__dot { background: var(--bv-gold); }
.bv-st--active .bv-st__dot {
  background: var(--bv-gold-light);
  box-shadow: 0 0 0 3px var(--bv-gold), 0 0 18px 4px rgba(184,148,90,.35);
  animation: bv-pulse 2.4s ease-in-out infinite;
}
.bv-st--anticipation .bv-st__dot {
  background: #fff;
  border: 3px solid var(--bv-gold);
  box-shadow: 0 0 0 2px var(--bv-gold-soft);
}
.bv-st--upcoming .bv-st__dot {
  background: #fff;
  border: 3px solid var(--bv-gold-soft);
  box-shadow: none;
}
@keyframes bv-pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.bv-st__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.bv-st__date {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  color: var(--bv-navy);
  font-weight: 600;
  letter-spacing: .01em;
}
.bv-st__kind {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 3px 9px;
  border-radius: 10px;
  font-weight: 600;
}
.bv-st__kind--done {
  background: #eef2ea;
  color: #4a6a34;
}
.bv-st__kind--active {
  background: var(--bv-gold);
  color: #fff;
}
.bv-st__kind--anticipation {
  background: #fff4e0;
  color: #a85b0c;
}
.bv-st__kind--upcoming {
  background: #eef0f6;
  color: var(--bv-navy);
}

.bv-st__card {
  background: #fff;
  border: 1px solid var(--bv-hairline);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15,29,63,.04);
  transition: box-shadow .2s, transform .2s;
}
.bv-st--active .bv-st__card {
  border-color: var(--bv-gold);
  box-shadow: 0 6px 20px rgba(184,148,90,.2);
}
.bv-st--done .bv-st__card {
  background: #fcfbf7;
  opacity: .92;
}
.bv-st__card:hover {
  box-shadow: 0 4px 16px rgba(15,29,63,.08);
}

.bv-st__hero {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #e8e4d8;
}
.bv-st__body {
  padding: 16px 20px 18px;
}
.bv-st__tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--bv-gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.bv-st__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--bv-navy);
  margin: 0 0 4px;
  line-height: 1.25;
}
.bv-st__handover-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--bv-gold) 0%, var(--bv-gold-light) 100%);
  color: var(--bv-navy);
  font-size: 11px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.bv-st__subtitle {
  color: var(--bv-muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.bv-st__text {
  color: var(--bv-ink);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.bv-st__link {
  display: inline-block;
  color: var(--bv-navy);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--bv-gold);
  padding-bottom: 1px;
}
.bv-st__link:hover { color: var(--bv-gold); }

/* --- Foot-Signatur --- */
.bv-journey__foot {
  margin-top: 28px;
  padding: 18px 24px;
  text-align: center;
  background: var(--bv-gold-bg);
  border-radius: 10px;
  color: var(--bv-ink);
}
.bv-journey__sig {
  font-style: italic;
  font-size: 14px;
}
.bv-journey__sig strong {
  color: var(--bv-navy);
  font-style: normal;
}

/* --- Willkommensreise Dialog --- */
.bv-welcome {
  border: none;
  border-radius: 16px;
  padding: 0;
  max-width: 560px;
  width: calc(100vw - 32px);
  box-shadow: 0 20px 60px rgba(15,29,63,.35);
  background: #fff;
  /* Zentrierung (sonst browser-default = top-left) */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
.bv-welcome::backdrop {
  background: rgba(15,29,63,.65);
  backdrop-filter: blur(3px);
}
.bv-welcome__inner {
  padding: 32px 32px 24px;
}
.bv-welcome__head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bv-hairline);
}
.bv-welcome__crest {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--bv-navy), var(--bv-navy-soft));
  color: var(--bv-gold-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
/* Wenn drin ein Persona-Avatar steckt, neutralisieren wir den alten Hintergrund */
.bv-welcome__crest:has(.bv-persona-avatar){
  background: transparent;
  width: auto; height: auto;
  border-radius: 0;
}
.bv-welcome__eyebrow {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--bv-gold);
  margin-bottom: 3px;
}
.bv-welcome__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--bv-navy);
  margin: 0;
}
.bv-welcome__step { min-height: 180px; }
.bv-welcome__step p {
  color: var(--bv-ink);
  line-height: 1.6;
  font-size: 15px;
  margin: 0 0 14px;
}
.bv-welcome__bullets {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.bv-welcome__bullets li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--bv-ink);
  font-size: 14px;
  line-height: 1.5;
}
.bv-welcome__bullets li::before {
  content: '✧';
  position: absolute;
  left: 0;
  color: var(--bv-gold);
}
.bv-welcome__quote {
  display: flex;
  gap: 12px;
  background: var(--bv-gold-bg);
  padding: 14px 16px;
  border-radius: 10px;
  border-left: 3px solid var(--bv-gold);
  margin-top: 8px;
}
.bv-welcome__quote-avatar {
  width: 30px; height: 30px;
  background: var(--bv-navy);
  color: var(--bv-gold-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.bv-welcome__quote-avatar:has(.bv-persona-avatar){
  background: transparent;
  width: auto; height: auto;
  border-radius: 0;
}
.bv-welcome__quote strong { display: block; color: var(--bv-navy); font-size: 13px; margin-bottom: 2px; }
.bv-welcome__quote em { font-style: italic; color: var(--bv-ink); font-size: 14px; line-height: 1.5; }
.bv-welcome__closing {
  font-style: italic;
  color: var(--bv-navy);
}
.bv-welcome__sign {
  margin-top: 12px;
  font-size: 13px;
  color: var(--bv-muted);
}
.bv-welcome__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--bv-hairline);
  margin-top: 16px;
}
.bv-welcome__dots { display: flex; gap: 6px; }
.bv-welcome__dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bv-hairline);
  transition: background .2s, transform .2s;
}
.bv-welcome__dots span.is-active {
  background: var(--bv-gold);
  transform: scale(1.25);
}
.bv-welcome__btns { display: flex; gap: 10px; }
.bv-welcome__skip {
  background: transparent;
  color: var(--bv-muted);
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
}
.bv-welcome__next,
.bv-welcome__done {
  background: var(--bv-navy);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.bv-welcome__done {
  background: linear-gradient(135deg, var(--bv-gold) 0%, var(--bv-gold-light) 100%);
  color: var(--bv-navy);
}
.bv-welcome__next:hover { background: var(--bv-navy-soft); }
.bv-welcome__done:hover { filter: brightness(1.05); }

/* --- Welcome Tour-Button (Vita-Tour direkt aus Willkommens-Dialog) --- */
.bv-welcome__foot {
  flex-wrap: wrap;
  row-gap: 14px;
}
.bv-welcome__tour {
  flex: 1 1 100%;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #c9a558 0%, #a7832f 100%);
  color: #1a1a1a;
  border: 1px solid rgba(167, 131, 47, 0.55);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 4px 14px rgba(167, 131, 47, 0.25);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.bv-welcome__tour:hover { filter: brightness(1.05); transform: translateY(-1px); }
.bv-welcome__tour:active { transform: translateY(0); filter: brightness(0.97); }
.bv-welcome__tour-ico {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1;
}
.bv-welcome__tour-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.bv-welcome__tour-main {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.bv-welcome__tour-sub {
  font-size: 12px;
  opacity: 0.75;
  letter-spacing: 0.03em;
}

/* --- Mobile --- */
@media (max-width: 720px){
  .bv-journey { padding-left: 34px; }
  .bv-journey::before { left: 13px; }
  .bv-st__dot { left: -25px; width: 14px; height: 14px; }
  .bv-st__hero { height: 140px; }
  .bv-st__title { font-size: 19px; }
  .bv-countdown__num { font-size: 52px; }
  .bv-welcome__inner { padding: 24px 22px 20px; }
  .bv-welcome__title { font-size: 22px; }
  .bv-welcome__head { gap: 12px; }
  .bv-welcome__crest { width: 44px; height: 44px; font-size: 20px; }
}
@media (max-width: 420px){
  .bv-welcome__foot {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .bv-welcome__btns { justify-content: space-between; }
  .bv-welcome__tour {
    margin-top: 4px;
    padding: 14px 16px;
  }
  .bv-welcome__tour-main { font-size: 14.5px; }
  .bv-welcome__tour-sub { font-size: 11.5px; }
}
