/* =====================================================================
   storyboard.css — Senior-Friendly Storyboard, FAQ-Quick & Live-Beweis
   Erstellt: 2026-04-29 (UX-Storytelling-Build-Agent)
   Ziel: 60+ tauglich, große Schriften ≥1.05rem, Touch ≥44px,
         klare Hierarchie, sehr ruhige Animationen.
   ===================================================================== */

/* ---------- Storyboard 6-Schritte ---------- */
.storyboard-section {
  padding: 4rem 1.5rem 4.5rem;
  position: relative;
  background: linear-gradient(180deg, rgba(11,15,25,0) 0%, rgba(11,15,25,0.55) 50%, rgba(11,15,25,0) 100%);
}
.storyboard-section .sb-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.storyboard-section .sb-eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pt-brand-blue);
  margin-bottom: 0.75rem;
}
.storyboard-section .sb-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.storyboard-section .sb-title .sb-grad {
  background: linear-gradient(90deg, #1E40AF, #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.storyboard-section .sb-sub {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: rgba(232,244,255,0.78);
  line-height: 1.6;
}

/* Funnel-Track Container */
.sb-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
  padding-top: 2rem;
}
/* Verbindungslinie horizontal (Desktop) */
.sb-track::before {
  content: "";
  position: absolute;
  top: calc(2rem + 38px); /* ungefähr durch icon-mitte */
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(255,182,39,0.35) 0%,
    rgba(255,182,39,0.55) 25%,
    rgba(34,211,238,0.55) 75%,
    rgba(52,211,153,0.5) 100%);
  border-radius: 3px;
  z-index: 0;
  opacity: 0.85;
}
/* Pulse-Indicator wandert */
.sb-pulse {
  position: absolute;
  top: calc(2rem + 32px);
  left: 8%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pt-brand-blue);
  box-shadow: 0 0 0 6px rgba(255,182,39,0.18), 0 0 24px rgba(255,182,39,0.55);
  z-index: 2;
  pointer-events: none;
  transition: left 0.6s cubic-bezier(.5,.05,.2,1), background-color 0.4s ease, box-shadow 0.4s ease;
}
.sb-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255,182,39,0.45);
  animation: sbPulseRing 2s ease-out infinite;
}
@keyframes sbPulseRing {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2);  opacity: 0; }
}

/* Schritt-Card */
.sb-card {
  position: relative;
  z-index: 1;
  background: rgba(15,23,42,0.62);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 1.4rem 1rem 1.3rem;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  min-height: 100%;
}
.sb-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,182,39,0.35);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.sb-card .sb-num {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: #0B0F19;
  font-weight: 900;
  font-size: 0.92rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 14px rgba(255,182,39,0.35);
}
.sb-card .sb-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255,182,39,0.10);
  border: 1px solid rgba(255,182,39,0.22);
  color: var(--pt-brand-blue);
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
}
.sb-card .sb-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}
.sb-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.45rem;
  line-height: 1.25;
}
.sb-card p {
  font-size: 1.02rem;
  color: rgba(232,244,255,0.78);
  line-height: 1.55;
  margin: 0;
}

/* Highlight-Variante für aktive Card (synchron mit sb-pulse) */
.sb-card.is-active {
  border-color: rgba(255,182,39,0.55);
  box-shadow: 0 14px 36px rgba(255,182,39,0.18);
}
.sb-card.is-active .sb-icon {
  background: rgba(255,182,39,0.18);
  color: #FFD56B;
}

.sb-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}
.sb-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 2.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: #0B0F19;
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 28px rgba(255,182,39,0.35);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  min-height: 56px;
}
.sb-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(255,182,39,0.45);
}
.sb-cta-hint {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: rgba(232,244,255,0.6);
}

/* Tablet: 3-Spalten-Grid, Linie aus */
@media (max-width: 1024px) {
  .sb-track { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .sb-track::before { display: none; }
  .sb-pulse { display: none; }
}
/* Mobile: 1 Spalte mit vertikaler Linie */
@media (max-width: 640px) {
  .storyboard-section { padding: 3rem 1.1rem 3.5rem; }
  .sb-track {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding-left: 1.5rem;
    padding-top: 1rem;
  }
  .sb-track::before {
    display: block;
    top: 1rem;
    bottom: 1rem;
    left: 0.6rem;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg,
      rgba(255,182,39,0.45),
      rgba(34,211,238,0.45),
      rgba(52,211,153,0.45));
  }
  .sb-card { text-align: left; padding: 1.2rem 1.1rem; }
  .sb-card .sb-num,
  .sb-card .sb-icon { display: inline-flex; vertical-align: middle; margin-right: 0.6rem; margin-bottom: 0.6rem; }
  .sb-card h3 { font-size: 1.15rem; }
  .sb-card p { font-size: 1rem; }
  .sb-cta-btn { width: 100%; justify-content: center; padding: 1.1rem 1.4rem; box-sizing: border-box; max-width: 100%; }
}

/* ---------- FAQ-Quick (Top 6 Fragen) ---------- */
.faq-quick {
  padding: 4rem 1.5rem 4.5rem;
  max-width: 940px;
  margin: 0 auto;
}
.faq-quick > h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.faq-quick > p.faq-quick-sub {
  text-align: center;
  color: rgba(232,244,255,0.7);
  font-size: 1.05rem;
  margin: 0 auto 2.2rem;
  max-width: 620px;
  line-height: 1.6;
}
.faq-quick details {
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(255,182,39,0.15);
  border-radius: 16px;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-quick details[open] {
  border-color: rgba(255,182,39,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.faq-quick summary {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  min-height: 44px;
  gap: 1rem;
}
.faq-quick summary::-webkit-details-marker { display: none; }
.faq-quick summary::after {
  content: '+';
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--pt-brand-blue);
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-quick details[open] summary::after { transform: rotate(45deg); }
.faq-quick details > div {
  padding-top: 0.8rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  font-size: 1.05rem;
}
.faq-quick details > div a {
  color: #22D3EE;
  text-decoration: underline;
  text-decoration-color: rgba(34,211,238,0.35);
  text-underline-offset: 3px;
}
.faq-quick details > div a:hover { text-decoration-color: #22D3EE; }

@media (max-width: 640px) {
  .faq-quick { padding: 3rem 1.1rem 3.5rem; }
  .faq-quick details { padding: 0.9rem 1.1rem; }
  .faq-quick summary { font-size: 1.08rem; }
  .faq-quick details > div { font-size: 1rem; }
}

/* ---------- Live-Beweis (Echtzeit-Stats) ---------- */
.live-proof {
  padding: 2.5rem 1.5rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.live-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.live-proof-card {
  background: rgba(15,23,42,0.65);
  border: 1px solid rgba(52,211,153,0.22);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.live-proof-card:hover {
  border-color: rgba(52,211,153,0.45);
  transform: translateY(-2px);
}
.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: livePulse 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  .sb-pulse::after { animation: none; }
}
@media (max-width: 900px) {
  .live-proof-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .live-proof-card { font-size: 1rem; }
}

/* ---------- Mini-Trust-Strip (Service-Pages) ---------- */
.trust-mini-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin: 1.2rem auto 1.8rem;
  max-width: 720px;
}
.trust-mini-strip .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(34,211,238,0.22);
  color: rgba(232,244,255,0.85);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}
.trust-mini-strip .pill::before {
  content: "✓";
  color: #34D399;
  font-weight: 900;
  font-size: 0.95rem;
}
@media (max-width: 600px) {
  .trust-mini-strip { flex-direction: column; align-items: stretch; }
  .trust-mini-strip .pill { justify-content: center; }
}

/* ---------- abbr Tooltip-Hover (Senior-Sprache) ---------- */
abbr[title] {
  text-decoration: underline dotted rgba(255,182,39,0.6);
  cursor: help;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* =====================================================================
   LIGHT-THEME OVERRIDE 20260430 — Brand-Sweep
   ===================================================================== */
:root:not([data-theme="dark"]) .sb-card,
:root:not([data-theme="dark"]) .sb-step,
:root:not([data-theme="dark"]) .faq-quick details {
  background: var(--pt-bg-surface);
  color: var(--pt-text-primary);
  border-color: var(--pt-border-subtle);
}
:root:not([data-theme="dark"]) .sb-step:hover,
:root:not([data-theme="dark"]) .sb-card:hover { border-color: var(--pt-brand-blue) !important; }

:root:not([data-theme="dark"]) .sb-eyebrow,
:root:not([data-theme="dark"]) .sb-step-num,
:root:not([data-theme="dark"]) .sb-icon,
:root:not([data-theme="dark"]) .sb-cta-link,
:root:not([data-theme="dark"]) .faq-quick summary,
:root:not([data-theme="dark"]) .sb-headline-accent,
:root:not([data-theme="dark"]) .sb-step-title { color: var(--pt-brand-blue) !important; }

:root:not([data-theme="dark"]) .sb-cta-primary,
:root:not([data-theme="dark"]) .sb-cta-btn--primary,
:root:not([data-theme="dark"]) .sb-btn-primary {
  background: linear-gradient(135deg, var(--pt-brand-blue) 0%, var(--pt-brand-blue-light) 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 28px var(--pt-brand-blue-glow), 0 4px 14px var(--pt-brand-blue-glow) !important;
}
:root:not([data-theme="dark"]) .sb-cta-primary:hover,
:root:not([data-theme="dark"]) .sb-cta-btn--primary:hover,
:root:not([data-theme="dark"]) .sb-btn-primary:hover {
  box-shadow: 0 16px 38px var(--pt-brand-blue-glow-strong) !important;
}

:root:not([data-theme="dark"]) .sb-pill,
:root:not([data-theme="dark"]) .sb-badge {
  background: var(--pt-brand-blue-50) !important;
  border: 1px solid var(--pt-brand-blue-glow) !important;
  color: var(--pt-brand-blue) !important;
}

:root:not([data-theme="dark"]) .sb-link-cta,
:root:not([data-theme="dark"]) .faq-quick details > div a {
  color: var(--pt-brand-blue) !important;
}
:root:not([data-theme="dark"]) .faq-quick details > div a:hover {
  text-decoration-color: var(--pt-brand-blue-light) !important;
}

:root:not([data-theme="dark"]) .sb-success-dot,
:root:not([data-theme="dark"]) .sb-status-live { background: var(--pt-success) !important; }
:root:not([data-theme="dark"]) .sb-success-text,
:root:not([data-theme="dark"]) .sb-status-text { color: var(--pt-success) !important; }

:root:not([data-theme="dark"]) .sb-underline-accent {
  text-decoration: underline dotted var(--pt-brand-blue) !important;
}
