/* Compact homepage explainer. All content remains readable without JS. */
#website-chancen {
  --chancen-ink: #182a37;
  --chancen-muted: #596974;
  --chancen-blue: #4776ae;
  --chancen-green: #477c64;
  background: #fff;
  color: var(--chancen-ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: 32px 0 24px;
  scroll-margin-top: 90px;
}
#website-chancen *, #website-chancen *::before { box-sizing: border-box; }
#website-chancen .chancen-container { width: min(980px, calc(100% - 40px)); margin: 0 auto; }
#website-chancen .chancen-intro { text-align: center; margin: 0 auto; }
#website-chancen .chancen-eyebrow { display: flex; justify-content: center; align-items: center; gap: 9px; color: #947128; margin: 0 0 12px; font-size: 20px; line-height: 1.4; font-weight: 650; letter-spacing: -.025em; }
#website-chancen .chancen-dot { width: 5px; height: 5px; background: currentColor; border-radius: 50%; flex: 0 0 auto; }
#website-chancen .chancen-typing { position: relative; display: inline-block; }
#website-chancen h2 { color: var(--chancen-ink); font: 500 clamp(24px, 3vw, 30px)/1.25 'Plus Jakarta Sans', sans-serif; letter-spacing: -.045em; margin: 0 0 10px; }
#website-chancen h2 span { color: #577364; }
#website-chancen .chancen-lead { color: var(--chancen-muted); font-size: 12px; line-height: 1.7; max-width: 535px; margin: 0 auto; }
#website-chancen .chancen-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 23px; }
#website-chancen .chancen-stat { display: flex; flex-direction: column; padding: 20px 16px; border-radius: 13px; min-width: 0; }
#website-chancen .chancen-stat-reviews { color: var(--chancen-blue); background: #f5f8fc; }
#website-chancen .chancen-stat-website { color: var(--chancen-green); background: #f3f8f4; }
#website-chancen .chancen-stat-label { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; margin: 0 0 12px; }
#website-chancen .chancen-stat-label > span { opacity: .65; font-size: 9px; font-weight: 400; }
#website-chancen .chancen-number { margin: 0 0 10px; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
#website-chancen .chancen-number > span[aria-hidden] { display: inline-flex; align-items: baseline; }
#website-chancen .chancen-number b { font-size: clamp(52px, 8vw, 64px); font-weight: 400; letter-spacing: -.075em; line-height: 1.1; min-width: 1.22em; }
#website-chancen .chancen-percent { font-size: 20px; margin-left: 5px; letter-spacing: -.04em; }
#website-chancen .chancen-approx { font-size: 22px; align-self: center; margin-right: 3px; }
#website-chancen .chancen-stat-text { font-size: 11px; line-height: 1.75; color: var(--chancen-muted); margin: 0 0 14px; }
#website-chancen .chancen-stat-text strong { font-weight: 600; color: var(--chancen-ink); }
#website-chancen .chancen-stat-source { display: inline; margin-top: auto; color: inherit; font-size: 9px; line-height: 1.65; text-decoration: none; }
#website-chancen .chancen-stat-source:hover { text-decoration: underline; text-underline-offset: 4px; }
#website-chancen .chancen-takeaway { margin-top: 20px; padding-top: 18px; border-top: 1px solid #e8ece7; text-align: center; }
#website-chancen .chancen-takeaway h3 { font: 500 clamp(20px, 2.5vw, 25px)/1.4 'Plus Jakarta Sans', sans-serif; letter-spacing: -.035em; margin: 0 0 10px; color: var(--chancen-ink); }
#website-chancen .chancen-takeaway h3 span { color: #577364; }
#website-chancen .chancen-takeaway-text { max-width: 530px; font-size: 12px; line-height: 1.75; color: var(--chancen-muted); margin: 0 auto; }
#website-chancen .chancen-action { margin: 14px auto 0; max-width: 360px; }
#website-chancen .chancen-cta { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 17px; border: 1px solid #263e33; border-radius: 8px; background: #263e33; color: #fff; font-family: inherit; font-size: 11px; font-weight: 500; line-height: 1.65; text-align: left; cursor: pointer; transition: background .2s, transform .2s; }
#website-chancen .chancen-cta > span { font-size: 17px; flex: 0 0 auto; }
#website-chancen .chancen-cta:hover { background: #355444; transform: translateY(-2px); }
#website-chancen .chancen-action p { color: var(--chancen-muted); font-size: 9px; line-height: 1.7; margin: 8px 0 0; }
#website-chancen button:focus-visible, #website-chancen a:focus-visible { outline: 2px solid #947128; outline-offset: 5px; }
#website-chancen .chancen-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#website-chancen.chancen-ready .chancen-intro:not(.is-revealing), #website-chancen.chancen-ready .chancen-stat:not(.is-revealing), #website-chancen.chancen-ready .chancen-takeaway:not(.is-revealing) { opacity: 0; }
#website-chancen.chancen-ready .chancen-intro.is-revealing .chancen-typing { animation: chancen-type .55s steps(18, end) both; }
#website-chancen.chancen-ready .chancen-intro.is-revealing .chancen-typing::after { content: ''; position: absolute; right: 0; top: .15em; height: 1em; width: 1px; background: currentColor; animation: chancen-caret .55s step-end both; }
#website-chancen.chancen-ready .chancen-intro.is-revealing h2 { animation: chancen-reveal .4s .18s both; }
#website-chancen.chancen-ready .chancen-intro.is-revealing .chancen-lead { animation: chancen-reveal .4s .3s both; }
#website-chancen.chancen-ready .chancen-stat.is-revealing, #website-chancen.chancen-ready .chancen-takeaway.is-revealing { animation: chancen-reveal .4s var(--reveal-delay, 0s) both; }
@keyframes chancen-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes chancen-caret { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes chancen-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 760px) {
  #website-chancen { padding: 36px 0 28px; }
  #website-chancen .chancen-container { width: min(980px, calc(100% - 80px)); }
  #website-chancen .chancen-stats { gap: 20px; margin-top: 26px; }
  #website-chancen .chancen-stat { padding: 18px 28px; }
  #website-chancen .chancen-stat-label { font-size: 11px; }
  #website-chancen .chancen-stat-text { font-size: 12px; }
}
@media (max-width: 359px) {
  #website-chancen .chancen-stat { padding: 17px 12px; }
  #website-chancen .chancen-number b { font-size: 46px; }
  #website-chancen .chancen-percent { font-size: 17px; margin-left: 3px; }
  #website-chancen .chancen-approx { font-size: 18px; margin-right: 2px; }
  #website-chancen .chancen-stat-label { font-size: 9px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  #website-chancen:not(.chancen-motion-opt-in) *, #website-chancen:not(.chancen-motion-opt-in) *::after { animation: none !important; transition: none !important; }
  #website-chancen:not(.chancen-motion-opt-in) .chancen-typing::after { display: none; }
  #website-chancen.chancen-motion-opt-in.chancen-ready .chancen-intro.is-revealing .chancen-typing { animation: chancen-type .55s steps(18, end) both !important; }
  #website-chancen.chancen-motion-opt-in.chancen-ready .chancen-intro.is-revealing .chancen-typing::after { animation: chancen-caret .55s step-end both !important; }
  #website-chancen.chancen-motion-opt-in.chancen-ready .chancen-intro.is-revealing h2 { animation: chancen-reveal .4s .18s both !important; }
  #website-chancen.chancen-motion-opt-in.chancen-ready .chancen-intro.is-revealing .chancen-lead { animation: chancen-reveal .4s .3s both !important; }
  #website-chancen.chancen-motion-opt-in.chancen-ready .chancen-stat.is-revealing,
  #website-chancen.chancen-motion-opt-in.chancen-ready .chancen-takeaway.is-revealing { animation: chancen-reveal .4s var(--reveal-delay, 0s) both !important; }
}

/* On exit, delayed copy stays fully readable above the incoming panel. */
#website-chancen.chancen-ready.chancen-settled .chancen-intro.is-revealing,
#website-chancen.chancen-ready.chancen-settled .chancen-intro.is-revealing h2,
#website-chancen.chancen-ready.chancen-settled .chancen-intro.is-revealing .chancen-lead,
#website-chancen.chancen-ready.chancen-settled .chancen-intro.is-revealing .chancen-typing,
#website-chancen.chancen-ready.chancen-settled .chancen-stat.is-revealing,
#website-chancen.chancen-ready.chancen-settled .chancen-takeaway.is-revealing { animation: none !important; opacity: 1; transform: none; clip-path: none; }
#website-chancen.chancen-settled .chancen-typing::after { display: none; }

#website-chancen .chancen-context-note { max-width: 600px; margin: 12px auto 0; font-size: 10px; line-height: 1.5; color: var(--chancen-muted); }
