/* =====================================================================
   AUTARK INNOVATIONS — CINEMATIC WOW LAYER
   v: 20260430
   Builds upon premium-tokens.css. Scope: Hero Aurora, App-Reveal,
   Live-Builds Carousel, Stats Hero, Senior-Mode, Help-Bar.
   GPU-only animations. Reduced-motion safe.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. HERO AURORA — Cinematic atmospheric blobs
   --------------------------------------------------------------------- */
.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.hero-aurora::before,
.hero-aurora::after,
.hero-aurora .blob {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.10;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.hero-aurora::before {
  background: var(--pt-brand-blue);
  width: 400px;
  height: 400px;
  top: -20%;
  left: -15%;
  animation: auroraDrift 60s ease-in-out infinite;
}
.hero-aurora::after {
  background: #22D3EE;
  width: 350px;
  height: 350px;
  bottom: -10%;
  right: -10%;
  opacity: 0.12;
  animation: auroraDrift 72s ease-in-out infinite reverse;
}
.hero-aurora .blob {
  background: var(--pt-brand-blue-light);
  width: 400px;
  height: 400px;
  top: 30%;
  left: 40%;
  opacity: 0.12;
  animation: auroraDrift 84s ease-in-out infinite;
}
@keyframes auroraDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(80px, -60px, 0) scale(1.15); }
  66%      { transform: translate3d(-60px, 40px, 0) scale(0.9); }
}
/* Hero content above aurora */
.wow-hero { position: relative; isolation: isolate; }
.wow-hero > .wow-hero-bento { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-aurora *,
  .hero-aurora::before,
  .hero-aurora::after { animation: none !important; }
}
@media (max-width: 768px) {
  /* Reduce blur cost on mobile */
  .hero-aurora::before,
  .hero-aurora::after,
  .hero-aurora .blob { filter: blur(80px); opacity: 0.07; }
  .hero-aurora::before { width: 380px; height: 380px; }
  .hero-aurora::after  { width: 320px; height: 320px; }
  .hero-aurora .blob   { width: 260px; height: 260px; }
}

/* ---------------------------------------------------------------------
   2. CINEMATIC SHIMMER on hero H1 (no JS, pure CSS)
   --------------------------------------------------------------------- */
.wow-h1.hero-shimmer-fx,
.hero-h1 {
  background: linear-gradient(120deg, #fff 0%, rgba(59,130,246,0.55) 50%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroShimmer 8s ease-in-out infinite;
}
@keyframes heroShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .wow-h1.hero-shimmer-fx,
  .hero-h1 {
    animation: none;
    background: linear-gradient(90deg, #1E40AF, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* ---------------------------------------------------------------------
   3. STATS HERO STRIP — 4 große Zahlen mit Glass-Effekt
   --------------------------------------------------------------------- */
.cw-stats-hero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1080px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1rem;
}
.cw-stat-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,182,39,0.08) 0%, rgba(11,15,20,0.6) 100%);
  border: 1px solid rgba(255,182,39,0.18);
  border-radius: 22px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cw-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,182,39,0.45);
  box-shadow: 0 18px 38px rgba(0,0,0,0.35), 0 0 28px rgba(255,182,39,0.18);
}
.cw-stat-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,182,39,0.14);
  color: var(--pt-brand-blue);
  margin-bottom: 0.75rem;
  animation: statPulse 3.2s ease-in-out infinite;
}
.cw-stat-icon svg { width: 22px; height: 22px; }
@keyframes statPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,182,39,0.35); }
  50%      { box-shadow: 0 0 0 12px rgba(255,182,39,0); }
}
.cw-stat-num {
  display: block;
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.cw-stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(245,247,250,0.72);
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .cw-stats-hero { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .cw-stat-card  { padding: 1.1rem 0.85rem; border-radius: 18px; }
  .cw-stat-num   { font-size: clamp(1.3rem, 6vw, 1.7rem); }
  .cw-stat-label { font-size: 0.78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cw-stat-icon { animation: none; }
  .cw-stat-card { transition: none; }
}

/* ---------------------------------------------------------------------
   4. APP-REVEAL SHOWCASE — 4-step animated workflow
   --------------------------------------------------------------------- */
.cw-reveal-section {
  padding: 4rem 1rem 5rem;
  position: relative;
  overflow: hidden;
}
.cw-reveal-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,182,39,0.07), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(34,211,238,0.06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.cw-reveal-inner {
  position: relative; z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}
.cw-reveal-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pt-brand-blue);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.cw-reveal-title {
  font-family: "Geist", "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  text-align: center;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 0.75rem;
}
.cw-reveal-title .accent {
  background: linear-gradient(90deg, #1E40AF, #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cw-reveal-sub {
  text-align: center;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: rgba(245,247,250,0.78);
  max-width: 720px;
  margin: 0 auto 3rem;
  line-height: 1.55;
}
.cw-reveal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.cw-step {
  position: relative;
  background: linear-gradient(170deg, rgba(255,255,255,0.04) 0%, rgba(11,15,20,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 1.5rem 1.25rem 1.75rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out, ease), transform 0.7s var(--ease-out, ease), border-color 0.4s ease;
}
.cw-reveal-grid.is-active .cw-step { opacity: 1; transform: translateY(0); }
.cw-reveal-grid.is-active .cw-step:nth-child(1) { transition-delay: 0.05s; }
.cw-reveal-grid.is-active .cw-step:nth-child(2) { transition-delay: 0.25s; }
.cw-reveal-grid.is-active .cw-step:nth-child(3) { transition-delay: 0.45s; }
.cw-reveal-grid.is-active .cw-step:nth-child(4) { transition-delay: 0.65s; }
.cw-step:hover { border-color: rgba(255,182,39,0.35); }

.cw-step-badge {
  position: absolute;
  top: -18px; left: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: #0B0F14;
  font-family: "Geist", "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 6px 18px rgba(255,182,39,0.45);
}
.cw-step-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  margin: 1.25rem 0 1rem;
  border-radius: 18px;
  background: #060A11;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 12px 30px rgba(0,0,0,0.35);
}
.cw-step h3 {
  font-family: "Geist", "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.45rem;
  line-height: 1.25;
}
.cw-step p {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(245,247,250,0.78);
  margin: 0;
}

/* --- Step 1: typewriter input --- */
.cw-step-input-wrap {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.cw-step-input {
  width: 92%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,182,39,0.35);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  display: flex; align-items: center; gap: 0.5rem;
  min-height: 2.6rem;
}
.cw-step-input .pin {
  width: 18px; height: 18px;
  color: var(--pt-brand-blue); flex-shrink: 0;
}
.cw-step-typed {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid transparent;
  width: 0;
  font-weight: 600;
}
.cw-reveal-grid.is-active .cw-step-typed {
  animation: cwType 2.2s steps(28, end) 0.4s forwards,
             cwCaret 0.7s step-end 0.4s 4;
}
@keyframes cwType {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes cwCaret {
  0%, 100% { border-right-color: var(--pt-brand-blue); }
  50%      { border-right-color: transparent; }
}

/* --- Step 2: satellite scan --- */
.cw-step-scan {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(34,211,238,0.04), rgba(11,15,20,0.6)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 28px),
    radial-gradient(circle at 50% 55%, #1d3344 0%, #0a1219 70%);
}
.cw-step-roof {
  position: absolute;
  left: 30%; right: 30%;
  top: 38%; bottom: 22%;
  background: linear-gradient(135deg, #2A3340, #1a2129);
  border-radius: 4px;
  transform: perspective(400px) rotateX(38deg);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
}
.cw-step-scanline {
  position: absolute;
  left: 8%; right: 8%;
  top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #22D3EE, transparent);
  box-shadow: 0 0 16px #22D3EE, 0 0 4px #22D3EE;
  opacity: 0;
}
.cw-reveal-grid.is-active .cw-step-scanline {
  animation: cwScan 2.4s ease-in-out 0.6s 2 forwards;
}
@keyframes cwScan {
  0%   { top: 0;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* --- Step 3: solar panels appear --- */
.cw-step-panels {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(180deg, #0F1A28 0%, #060A11 100%);
}
.cw-step-roof-3d {
  position: relative;
  width: 70%; height: 50%;
  background: linear-gradient(135deg, #2A3340, #1a2129);
  transform: perspective(420px) rotateX(42deg);
  box-shadow: 0 8px 18px rgba(0,0,0,0.55);
  border-radius: 3px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  padding: 8%;
}
.cw-panel {
  background: linear-gradient(135deg, #1a3a5e 0%, #0E2440 60%, #051427 100%);
  border: 1px solid rgba(34,211,238,0.45);
  border-radius: 2px;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-spring, ease);
  box-shadow: inset 0 0 6px rgba(34,211,238,0.25);
}
.cw-reveal-grid.is-active .cw-panel { opacity: 1; transform: scale(1); }
.cw-reveal-grid.is-active .cw-panel:nth-child(1) { transition-delay: 0.7s; }
.cw-reveal-grid.is-active .cw-panel:nth-child(2) { transition-delay: 0.85s; }
.cw-reveal-grid.is-active .cw-panel:nth-child(3) { transition-delay: 1.0s; }
.cw-reveal-grid.is-active .cw-panel:nth-child(4) { transition-delay: 1.15s; }
.cw-reveal-grid.is-active .cw-panel:nth-child(5) { transition-delay: 1.3s; }
.cw-reveal-grid.is-active .cw-panel:nth-child(6) { transition-delay: 1.45s; }
.cw-reveal-grid.is-active .cw-panel:nth-child(7) { transition-delay: 1.6s; }
.cw-reveal-grid.is-active .cw-panel:nth-child(8) { transition-delay: 1.75s; }

/* --- Step 4: price reveal --- */
.cw-step-price-wrap {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background:
    radial-gradient(circle at center, rgba(255,182,39,0.18), transparent 60%),
    #060A11;
  padding: 1rem;
  text-align: center;
}
.cw-step-price-label {
  display: block;
  font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pt-brand-blue); font-weight: 700; margin-bottom: 0.4rem;
}
.cw-step-price-num {
  font-family: "Geist", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff 0%, #3B82F6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.cw-step-price-sub {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.6);
}
.cw-reveal-grid.is-active .cw-step-price-num {
  animation: cwPricePulse 1.2s ease-out 1.4s 1;
}
@keyframes cwPricePulse {
  0%   { transform: scale(0.7); opacity: 0; filter: blur(6px); }
  60%  { transform: scale(1.08); opacity: 1; filter: blur(0); }
  100% { transform: scale(1); opacity: 1; }
}

.cw-reveal-cta-wrap {
  text-align: center;
  margin-top: 1rem;
}
.cw-reveal-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: #0B0F14;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1.05rem 2.2rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(255,182,39,0.32), 0 0 30px rgba(255,182,39,0.22);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}
.cw-reveal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(255,182,39,0.42), 0 0 40px rgba(255,182,39,0.32);
}
.cw-reveal-cta-hint {
  display: block; margin-top: 0.7rem;
  font-size: 0.85rem; color: rgba(245,247,250,0.6);
}

@media (max-width: 980px) {
  .cw-reveal-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (max-width: 640px) {
  .cw-reveal-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cw-step { padding: 1.25rem 1rem 1.5rem; }
  .cw-step h3 { font-size: 1.15rem; }
  .cw-step p  { font-size: 0.95rem; }
  .cw-reveal-section { padding: 3rem 1rem 4rem; }
}

/* Reduced-motion fallback: alle Steps sofort sichtbar, kein Stagger */
@media (prefers-reduced-motion: reduce) {
  .cw-step,
  .cw-reveal-grid.is-active .cw-step { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cw-step-typed,
  .cw-reveal-grid.is-active .cw-step-typed { width: 100% !important; animation: none !important; border-right: none !important; }
  .cw-step-scanline,
  .cw-reveal-grid.is-active .cw-step-scanline { display: none !important; }
  .cw-panel,
  .cw-reveal-grid.is-active .cw-panel { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cw-step-price-num,
  .cw-reveal-grid.is-active .cw-step-price-num { animation: none !important; }
}

/* ---------------------------------------------------------------------
   5. LIVE BUILDS CAROUSEL — Polaroid-Look
   --------------------------------------------------------------------- */
.cw-builds-section {
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.cw-builds-head {
  text-align: center;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  max-width: 900px;
}
.cw-builds-head h2 {
  font-family: "Geist", "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  color: #fff;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}
.cw-builds-head p {
  font-size: 1rem; color: rgba(245,247,250,0.72);
  margin: 0; line-height: 1.55;
}
.cw-builds-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.5rem 1rem 2rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cw-builds-carousel::-webkit-scrollbar { display: none; }
.cw-builds-carousel > * { scroll-snap-align: center; }
.cw-build-card {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #11161D, #1F2630);
  border: 1px solid rgba(255,182,39,0.15);
  border-radius: 24px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transform: rotate(-1deg);
  transition: transform 0.4s var(--ease-spring, ease), border-color 0.3s ease;
  display: flex; flex-direction: column;
  min-width: 0;
}
.cw-build-card:nth-child(even) { transform: rotate(1deg); }
.cw-build-card:hover {
  transform: rotate(0) scale(1.02);
  border-color: rgba(255,182,39,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.cw-build-photo {
  flex: 1;
  width: 100%;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,182,39,0.18), rgba(34,211,238,0.12)),
    linear-gradient(180deg, #1c2735, #0E1622);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.cw-build-photo::after {
  content: "Foto folgt";
  position: absolute;
  bottom: 8px; right: 12px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}
.cw-build-photo svg {
  width: 48px; height: 48px;
  color: rgba(255,182,39,0.5);
}
.cw-build-meta {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.cw-build-loc {
  font-size: 0.8rem;
  color: rgba(245,247,250,0.62);
  margin: 0 0 0.6rem;
}
.cw-build-badge {
  display: inline-flex;
  align-items: center; gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0B0F14;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  align-self: flex-start;
}
@media (min-width: 1024px) {
  .cw-builds-carousel {
    grid-auto-columns: 1fr;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cw-build-card { transition: none; }
  .cw-build-card:hover { transform: rotate(0); }
}

/* ---------------------------------------------------------------------
   6. SENIOR-MODE TOGGLE — Header button + global scaling
   --------------------------------------------------------------------- */
.cw-senior-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-right: 0.4rem;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
}
.cw-senior-toggle:hover {
  background: rgba(255,182,39,0.12);
  border-color: rgba(255,182,39,0.4);
}
.cw-senior-toggle svg { width: 16px; height: 16px; }
.cw-senior-toggle .cw-senior-label { letter-spacing: 0.5px; }
html.senior-mode .cw-senior-toggle {
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: #0B0F14;
  border-color: transparent;
}
@media (max-width: 900px) {
  .cw-senior-toggle .cw-senior-label { display: none; }
  .cw-senior-toggle { padding: 6px 8px; }
}

/* Senior-Mode global scaling */
html.senior-mode { font-size: 120%; }
html.senior-mode body { line-height: 1.65; }
html.senior-mode .nav-links a,
html.senior-mode .btn,
html.senior-mode .wow-btn-primary,
html.senior-mode .wow-btn-secondary,
html.senior-mode .cw-step h3,
html.senior-mode .cw-step p,
html.senior-mode .cw-stat-num,
html.senior-mode .cw-stat-label { font-size: 1.08em; line-height: 1.55; }
html.senior-mode .cw-step p { color: rgba(255,255,255,0.92); }
html.senior-mode .wow-sub,
html.senior-mode .cw-reveal-sub { color: rgba(255,255,255,0.94); }
html.senior-mode :focus-visible {
  outline: 3px solid var(--pt-brand-blue);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------------
   7. STICKY HELP BAR (Senior-Mode only, mobile)
   --------------------------------------------------------------------- */
.cw-help-bar {
  display: none;
  position: fixed;
  left: 0; right: 0;
  bottom: 70px;
  z-index: 60;
  background: rgba(15,22,33,0.96);
  border-top: 1px solid rgba(255,182,39,0.4);
  border-bottom: 1px solid rgba(255,182,39,0.2);
  padding: 0.7rem 1rem;
  padding-bottom: max(0.7rem, env(safe-area-inset-bottom));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.cw-help-bar a {
  color: var(--pt-brand-blue);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 767px) {
  html.senior-mode .cw-help-bar { display: block; }
  html.senior-mode body { padding-bottom: 130px; }
}

/* =====================================================================
   LIGHT-THEME OVERRIDE 20260430 — Brand-Sweep (Blue dominant, Sun-Gold sekundär)
   Wirkt im Default (Light), Dark = [data-theme="dark"] reaktiviert die Original-Goldtöne.
   ===================================================================== */
:root:not([data-theme="dark"]) {
  /* Globale Farbvariablen, die in cinematic-wow.css verwendet werden */
}

/* === CW-Tiles, Steps, CTAs in Brand-Blue === */
:root:not([data-theme="dark"]) .cw-tile,
:root:not([data-theme="dark"]) .cw-card {
  background: var(--pt-bg-surface);
  border: 1px solid var(--pt-border-subtle);
  color: var(--pt-text-primary);
  box-shadow: var(--shadow-md);
}
:root:not([data-theme="dark"]) .cw-tile:hover,
:root:not([data-theme="dark"]) .cw-card:hover {
  border-color: var(--pt-brand-blue);
  box-shadow: 0 18px 38px rgba(15,27,45,0.10), 0 0 28px var(--pt-brand-blue-glow);
}

:root:not([data-theme="dark"]) .cw-eyebrow,
:root:not([data-theme="dark"]) .cw-step-num,
:root:not([data-theme="dark"]) .cw-step-title,
:root:not([data-theme="dark"]) .cw-headline,
:root:not([data-theme="dark"]) .cw-bullet-icon,
:root:not([data-theme="dark"]) .cw-card-title,
:root:not([data-theme="dark"]) .cw-pill,
:root:not([data-theme="dark"]) .cw-tile-icon,
:root:not([data-theme="dark"]) .cw-section-eyebrow {
  color: var(--pt-brand-blue);
}

:root:not([data-theme="dark"]) .cw-cta-primary,
:root:not([data-theme="dark"]) .cw-btn,
:root:not([data-theme="dark"]) .cw-cta {
  background: linear-gradient(135deg, var(--pt-brand-blue), var(--pt-brand-blue-light)) !important;
  color: #FFFFFF !important;
  border-color: var(--pt-brand-blue) !important;
  box-shadow: 0 6px 18px var(--pt-brand-blue-glow) !important;
}
:root:not([data-theme="dark"]) .cw-cta-primary:hover,
:root:not([data-theme="dark"]) .cw-btn:hover,
:root:not([data-theme="dark"]) .cw-cta:hover {
  box-shadow: 0 18px 40px var(--pt-brand-blue-glow-strong), 0 0 30px var(--pt-brand-blue-glow) !important;
}

/* Step-Cursor-Caret → Blue */
:root:not([data-theme="dark"]) .cw-typing::after,
:root:not([data-theme="dark"]) .cw-caret { border-right-color: var(--pt-brand-blue) !important; }

/* CW shimmer-Linien → Brand-Blue */
:root:not([data-theme="dark"]) .cw-shimmer,
:root:not([data-theme="dark"]) .cw-divider-glow {
  background: linear-gradient(90deg, transparent, var(--pt-brand-blue-light), transparent) !important;
  box-shadow: 0 0 16px var(--pt-brand-blue-light), 0 0 4px var(--pt-brand-blue-light) !important;
}

/* Soft-Tile-Backgrounds → helles BG */
:root:not([data-theme="dark"]) .cw-soft-tile,
:root:not([data-theme="dark"]) .cw-feature-tile {
  background: linear-gradient(135deg, #FFFFFF, var(--pt-brand-blue-50)) !important;
  border: 1px solid var(--pt-border-subtle) !important;
  color: var(--pt-text-primary) !important;
}

/* =================================================================
   LISA HERO-CARD (Tile D) — NEU 2026-04-30
   Pulse-Avatar, Pills, Action-Buttons. Mobile-First.
   ================================================================= */
.lisa-hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.4rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lisa-hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.6), transparent);
  pointer-events: none;
}
.lisa-avatar-wrap {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0.2rem auto 0.85rem;
}
.lisa-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22D3EE 0%, #00B4D8 50%, #1E40AF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 32px rgba(34,211,238,0.32), inset 0 0 0 3px rgba(255,255,255,0.18);
}
.lisa-avatar svg { width: 44px; height: 44px; }
.lisa-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10B981;
  border: 3px solid #0B0F19;
  animation: lisaHeroPulse 2.5s ease-in-out infinite;
}
@keyframes lisaHeroPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .lisa-status-dot { animation: none; }
}
.lisa-headline {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 0.55rem;
  letter-spacing: -0.01em;
}
.lisa-name-grad {
  background: linear-gradient(90deg, #22D3EE, #67E8F9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.lisa-intro {
  color: rgba(232,244,255,0.82);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  max-width: 32ch;
}
.lisa-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  justify-content: center;
}
.lisa-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}
.lisa-pill--blue  { background: rgba(34,211,238,0.12); color: #22D3EE; border: 1px solid rgba(34,211,238,0.32); }
.lisa-pill--gold  { background: rgba(255,182,39,0.12); color: #FFB627; border: 1px solid rgba(255,182,39,0.32); }
.lisa-pill--green { background: rgba(52,211,153,0.12); color: #34D399; border: 1px solid rgba(52,211,153,0.32); }
.lisa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: auto;
}
.lisa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  min-height: 44px;
  font-size: 0.85rem;
  transition: transform 0.18s cubic-bezier(.2,.8,.2,1), box-shadow 0.18s ease;
  border: 1px solid transparent;
}
.lisa-btn:hover { transform: translateY(-1px); }
.lisa-btn--primary {
  background: linear-gradient(135deg, #22D3EE, #1E40AF);
  color: #fff;
  box-shadow: 0 6px 20px rgba(34,211,238,0.32);
}
.lisa-btn--primary:hover {
  box-shadow: 0 9px 26px rgba(34,211,238,0.5);
}
.lisa-btn--wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,0.20);
}
.lisa-btn--wa:hover { background: #20BD5A; }
.lisa-btn--tel {
  background: rgba(34,211,238,0.15);
  color: #22D3EE;
  border-color: rgba(34,211,238,0.42);
}
.lisa-btn--tel:hover { background: rgba(34,211,238,0.22); }

/* Light-Theme Override */
:root:not([data-theme="dark"]) .lisa-hero-card { color: var(--pt-text-primary); }
:root:not([data-theme="dark"]) .lisa-hero-card .lisa-headline { color: var(--pt-text-primary); }
:root:not([data-theme="dark"]) .lisa-hero-card .lisa-intro { color: var(--pt-text-secondary); }
:root:not([data-theme="dark"]) .lisa-status-dot { border-color: var(--pt-bg-surface, #fff); }

/* =================================================================
   NAV-LOGO POLISH (NEU 2026-04-30)
   ================================================================= */
.nav-logo-img { width: 36px; height: 36px; max-height: 44px; display: block; }
.nav-logo-link { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
@media (max-width: 640px) {
  .nav-logo-text .nav-logo-sub { display: none; }
}

/* =================================================================
   PHASE A3 — MOBILE ANIMATION DIET (Aurora-Slowdown + Reduced Blur)
   2026-04-30 — Mobile-CPU schonen
   ================================================================= */
@media (max-width: 768px) {
  :where(.aurora-blob, .pp-aurora__accent, .hero-aurora) {
    filter: blur(40px) !important;
    opacity: 0.4 !important;
    animation-duration: 120s !important;
  }
  .hero-aurora::before,
  .hero-aurora::after,
  .hero-aurora .blob {
    filter: blur(40px) !important;
    opacity: 0.4 !important;
    animation-duration: 120s !important;
  }
}

