/* Websler Finanzen: Markensignatur und Hero-Animation (24.11.2026). Gehoert zu marke.js. Keine Inline-Styles noetig, alles per Klassen.
   Bewegungssprache wie call.websler.com: ruhige Schwebebewegungen (6 bis 9 s), Strichzeichnen (.9 s), orange Glimmen, Handy-Schleife 10 s. */

/* ---------- Strahl (Zeichenflaeche mit dem Websler-W) ---------- */
.wf-strahl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s; }
.wf-strahl.an { opacity: .95; }
/* Der freie Strahl blendet hinter Text aus (wie der dunkle Leseschleier bei call), das W rechts leuchtet voll */
.wf-strahl.wfm-buehne, .wf-strahl.wfm-band, .wf-strahl.wfm-rechts { -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .1) 0, rgba(0, 0, 0, .14) 50%, rgba(0, 0, 0, .35) 64%, #000 78%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .1) 0, rgba(0, 0, 0, .14) 50%, rgba(0, 0, 0, .35) 64%, #000 78%); }
.wf-strahl.wfm-unten, .wf-strahl.wfm-oben { -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .62) 40%, #000 70%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .62) 40%, #000 70%); }
.hero > .wf-strahl, .wf-band > .wf-strahl { position: absolute; }
.hero.wf-hat-strahl::before { display: none; }                    /* das statische Wellenband weicht dem animierten Strahl */
body.wf-aus .hero.wf-hat-strahl::before { display: block; }
.wf-hat-strahl { isolation: isolate; }
/* Platz fuer das W je Hero (liest marke.js ueber --wf-modus): Handy = Bahn oben, PC = Bahn unten; Steuer-Hero PC = freie Flaeche rechts; Uebersicht ab 1180 = Handy-Buehne */
.wf-hero { --wf-modus: unten; padding-bottom: 150px; }
@media (max-width: 699px) { .wf-hero { --wf-modus: oben; padding-bottom: 26px; padding-top: 100px; } }
@media (min-width: 900px) { .wf-hero-steuer { --wf-modus: rechts; padding-bottom: 36px; } .wf-hero-steuer .hero-text { flex: none; width: min(46%, 460px); } .wf-hero-steuer .hero-titel { font-size: clamp(2rem, 3vw, 2.7rem); } }
@media (min-width: 1240px) { .wf-hero-start { --wf-modus: buehne; padding-bottom: 36px; } }

/* ---------- Logo: das W zeichnet sich neu und glimmt ---------- */
.wf-w { overflow: visible; filter: drop-shadow(0 0 8px rgba(255, 107, 26, .55)); animation: wf-glow 5.5s ease-in-out infinite; }
.wf-w .wbahn { stroke-dasharray: 100; stroke-dashoffset: 0; }
.wf-w .wglimmer { stroke: #fff1d4; stroke-width: 2.1; stroke-dasharray: 9 91; stroke-dashoffset: 9; opacity: 0; }
.wf-w.zeichnet .wbahn { animation: wf-zeichnen .95s var(--ease) both; }
.wf-w.zeichnet .wglimmer { animation: wf-glimmer 7s 1.2s ease-in-out infinite; }
@keyframes wf-zeichnen { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes wf-glimmer { 0% { stroke-dashoffset: 9; opacity: 1; } 15% { stroke-dashoffset: -100; opacity: 1; } 16%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes wf-glow { 0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 107, 26, .4)); } 50% { filter: drop-shadow(0 0 11px rgba(255, 107, 26, .75)); } }
.marke:hover .wf-w { animation-duration: 2.4s; }
.kopfmarke.wf-w { width: 30px; height: 20px; }

/* ---------- Seitenkopf-Motiv (PC) ---------- */
.wf-kopfmotiv { display: none; }
.wm { width: 30px; height: 30px; color: var(--orange-2); overflow: visible; }
.wm * { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wm .wz { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wm-zeichnen .9s var(--ease) forwards; }
.wm .wd1 { animation-delay: .18s; } .wm .wd2 { animation-delay: .36s; } .wm .wd3 { animation-delay: .54s; }
@keyframes wm-zeichnen { to { stroke-dashoffset: 0; } }
.wm .wauge { fill: currentColor; stroke: none; }
.wm .wscan { fill: currentColor; stroke: none; opacity: 0; }
.wm .wknopf { fill: #162a4b; }
.wm .wfall { fill: rgba(255, 210, 77, .95); stroke: #ffb347; stroke-width: 1.4; opacity: 0; }
.wm .wfunke { opacity: 0; transform-box: fill-box; transform-origin: center; animation: wm-funke 3.4s ease-in-out infinite; }
.wm .wfunke.wf2 { animation-delay: 1.5s; }
@keyframes wm-funke { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
.wm-uebersicht .wmdreh { transform-box: fill-box; transform-origin: center; animation: wm-dreh 5.2s 1.6s ease-in-out infinite; }
@keyframes wm-dreh { 0%, 66% { transform: none; } 80% { transform: scaleX(.1); } 94%, 100% { transform: none; } }
.wm-sparen .wfall { animation: wm-fall 3.6s 1.3s ease-in infinite; }
@keyframes wm-fall { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 56% { transform: translateY(5.5px); opacity: 1; } 64%, 100% { transform: translateY(7px); opacity: 0; } }
.wm-erfassen .wscan { animation: wm-scan 3.4s 1.6s ease-in-out infinite; }
@keyframes wm-scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .65; } 78% { transform: translateY(19px); opacity: .65; } 90%, 100% { transform: translateY(19px); opacity: 0; } }
.wm-buchungen .wk { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wm-haken 5.4s infinite; }
.wm-buchungen .wk1 { animation-delay: .2s; } .wm-buchungen .wk2 { animation-delay: .6s; } .wm-buchungen .wk3 { animation-delay: 1s; }
@keyframes wm-haken { 0%, 6% { stroke-dashoffset: 1; } 16%, 84% { stroke-dashoffset: 0; } 94%, 100% { stroke-dashoffset: 1; } }
.wm-steuer .waussen { stroke-dasharray: 2 3.2; opacity: .55; transform-box: fill-box; transform-origin: center; animation: wm-kreis 20s linear infinite; }
@keyframes wm-kreis { to { transform: rotate(360deg); } }
.wm-steuer .wring { animation-name: wm-ring; animation-duration: 1.5s; animation-delay: .1s; }
@keyframes wm-ring { to { stroke-dashoffset: .22; } }
.wm-import .wpfeil { animation: wm-pfeil 2.6s 1.2s ease-in-out infinite; }
@keyframes wm-pfeil { 0%, 100% { transform: none; } 50% { transform: translateY(2.4px); } }
.wm-tarife .wstern { transform-box: fill-box; transform-origin: center; animation: wm-stern 3.2s 1.2s ease-in-out infinite; }
@keyframes wm-stern { 0%, 100% { transform: none; } 50% { transform: scale(1.12) rotate(8deg); } }
.wm-einstellungen .wkn1 { animation: wm-kn1 4.4s ease-in-out infinite; } .wm-einstellungen .wkn2 { animation: wm-kn2 4.4s -1.2s ease-in-out infinite; } .wm-einstellungen .wkn3 { animation: wm-kn3 4.4s -2.4s ease-in-out infinite; }
@keyframes wm-kn1 { 0%, 100% { transform: none; } 50% { transform: translateX(9px); } }
@keyframes wm-kn2 { 0%, 100% { transform: none; } 50% { transform: translateX(-8px); } }
@keyframes wm-kn3 { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
@media (min-width: 900px) {
  .wf-kopfmotiv { display: grid; place-items: center; flex: none; width: 46px; height: 46px; margin-right: 4px; border-radius: 15px; border: 1px solid rgba(255, 138, 71, .38);
    background: radial-gradient(circle at 30% 18%, rgba(255, 150, 70, .34), rgba(255, 107, 26, .08) 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 24px -12px rgba(255, 107, 26, .9); }
}

/* ---------- Seitenband (Seiten ohne Hero): schmaler Hero mit dem W ---------- */
.wf-band { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 14px; min-height: 92px; margin: 0 0 18px; padding: 16px 20px; border-radius: var(--radius);
  border: 1px solid rgba(255, 138, 71, .4); box-shadow: var(--glanz), 0 24px 46px -30px rgba(255, 107, 26, .55);
  background: radial-gradient(460px 170px at 100% 0, rgba(255, 140, 50, .3), transparent 70%), linear-gradient(150deg, #223b68 0%, #162a4b 55%, #101f3a 100%); }
.wf-band > * { position: relative; z-index: 1; }
.wf-band > .wf-strahl { z-index: 0; }
.wf-band-motiv { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; border: 1px solid rgba(255, 138, 71, .38); background: radial-gradient(circle at 30% 18%, rgba(255, 150, 70, .34), rgba(255, 107, 26, .08) 70%); }
.wf-band-text { margin: 0; max-width: 46ch; color: var(--text-2); font-size: .95rem; line-height: 1.4; }
@media (min-width: 900px) { .wf-band { min-height: 128px; padding: 18px 28px; margin-bottom: 20px; } .wf-band-motiv { display: none; } .wf-band-text { font-size: 1.02rem; max-width: 52ch; } }
@media (max-width: 420px) { .wf-band { min-height: 84px; padding: 14px 16px; } .wf-band-text { font-size: .88rem; max-width: 24ch; } }
#v-erfassen .wf-band { margin-bottom: 14px; }
@media (min-width: 900px) { #v-erfassen .chat { min-height: calc(100vh - 76px - 120px - 116px); } }

/* ---------- Hero der Uebersicht: Buehne mit dem schwebenden Handy (ab 1180 px) ---------- */
.wf-buehne { display: none; position: relative; }
.wf-schein { position: absolute; left: 150px; top: 50%; width: 330px; height: 330px; margin: -165px 0 0 -165px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 107, 26, .42), rgba(255, 107, 26, .12) 55%, transparent 72%); animation: wf-schein 6s ease-in-out infinite; }
@keyframes wf-schein { 50% { opacity: .72; } }
.wf-ring { position: absolute; left: 150px; top: 50%; border-radius: 50%; border: 1px solid rgba(214, 226, 255, .14); transform: translate(-50%, -50%); pointer-events: none; }
.wf-ring.r1 { width: 300px; height: 300px; border-color: rgba(255, 138, 71, .3); }
.wf-ring.r2 { width: 420px; height: 420px; border-style: dashed; border-color: rgba(214, 226, 255, .1); animation: wf-ring-dreh 80s linear infinite; }
@keyframes wf-ring-dreh { to { transform: translate(-50%, -50%) rotate(360deg); } }
.wf-muenze-aussen { position: absolute; z-index: 4; left: 232px; top: 4px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 850; font-size: 1.2rem; color: #3a1a00;
  background: radial-gradient(circle at 32% 28%, #ffe596, #ffb347 60%, #ff8a2e); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), 0 12px 22px -8px rgba(255, 150, 40, .9); animation: wf-muenze 5.5s ease-in-out infinite; }
@keyframes wf-muenze { 0%, 100% { transform: translate3d(0, 0, 0); } 30% { transform: translate3d(0, -8px, 0); } 70% { transform: translate3d(0, 6px, 0); } }
.wh-wrap { position: absolute; z-index: 2; left: 40px; top: 50%; width: 218px; height: 456px; margin-top: -228px; }
.wh-geraet { position: relative; width: 218px; height: 456px; animation: wh-schweb 7s ease-in-out infinite; }   /* keine Drehung, keine Skalierung, kein filter: Text bleibt pixelgenau (Ursache der Unschaerfe waren rotateX/Y plus drop-shadow-Filter auf 7-10-px-Schrift) */
@keyframes wh-schweb { 50% { transform: translate3d(0, -10px, 0); } }
.wh-rahmen { position: relative; height: 100%; padding: 3px; border-radius: 40px; background: linear-gradient(150deg, #6b7386 0%, #252c3c 18%, #0b0f18 46%, #2b3345 76%, #7d8598 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 1px rgba(0, 0, 0, .7), 0 38px 44px -22px rgba(0, 0, 0, .75), 0 14px 26px -12px rgba(0, 0, 0, .6); }
.wh-rahmen::before { content: ""; position: absolute; inset: 3px; border-radius: 37px; background: #03060c; }
.wh-schirm { position: relative; margin: 6px; height: calc(100% - 18px); border-radius: 32px; overflow: hidden; background: linear-gradient(180deg, #0c1728 0%, #08111f 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.wh-taste { position: absolute; z-index: -1; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #171c28, #4b5366); }
.wh-taste.t1 { left: -3px; top: 96px; height: 24px; } .wh-taste.t2 { left: -3px; top: 132px; height: 44px; } .wh-taste.t3 { right: -3px; top: 150px; height: 68px; background: linear-gradient(270deg, #171c28, #4b5366); }
.wh-status { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 4px; font-size: 11px; font-weight: 750; color: #fff; }
.wh-insel { position: absolute; left: 50%; top: 8px; width: 60px; height: 17px; margin-left: -30px; border-radius: 10px; background: #000; }
.wh-rechts { display: inline-flex; align-items: center; gap: 4px; }
.wh-sig { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 8px; }
.wh-sig i { width: 2.5px; border-radius: 1px; background: #fff; } .wh-sig i:nth-child(1) { height: 3px; } .wh-sig i:nth-child(2) { height: 5px; } .wh-sig i:nth-child(3) { height: 6.5px; } .wh-sig i:nth-child(4) { height: 8px; opacity: .35; }
.wh-akku { position: relative; width: 17px; height: 9px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .55); padding: 1px; }
.wh-akku i { display: block; width: 72%; height: 100%; border-radius: 1.5px; background: #fff; }
.wh-kopf { display: flex; align-items: center; gap: 7px; padding: 10px 16px 0; font-size: 12px; color: var(--text); }
.wh-kopf b { font-weight: 800; font-stretch: 118%; } .wh-kopf span { color: var(--leise); font-weight: 300; font-stretch: 80%; }
.wh-w { width: 24px; height: 15px; fill: none; stroke: var(--orange); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.wh-saldo { position: relative; margin: 10px 12px 0; padding: 10px 12px 11px; border-radius: 16px; background: linear-gradient(160deg, rgba(255, 150, 60, .2), rgba(214, 226, 255, .05) 70%); border: 1px solid rgba(255, 190, 120, .3); animation: wh-saldo 10s var(--ease) infinite; }
.wh-saldo small { display: block; font-size: 11px; color: var(--text-2); font-weight: 700; }
.wh-zahl { display: inline-block; margin-top: 2px; font-size: 26px; font-weight: 850; font-stretch: 125%; letter-spacing: -.03em; line-height: 1.12; background: linear-gradient(135deg, #ffe596, #ff9a4d 85%); -webkit-background-clip: text; background-clip: text; color: transparent; animation: wh-zahl 10s ease-in-out infinite; }
.wh-unter { display: block; font-size: 10.5px; color: var(--leise); }
.wh-balken { display: flex; align-items: flex-end; gap: 5px; height: 38px; margin-top: 7px; }
.wh-balken i { flex: 1; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #6f8fc4, #3d5a8c); transform-origin: bottom; animation: wh-balken 10s var(--ease) infinite; }
.wh-balken i:nth-child(1) { height: 42%; } .wh-balken i:nth-child(2) { height: 58%; animation-delay: .05s; } .wh-balken i:nth-child(3) { height: 48%; animation-delay: .1s; }
.wh-balken i:nth-child(4) { height: 72%; animation-delay: .15s; } .wh-balken i:nth-child(5) { height: 64%; animation-delay: .2s; }
.wh-balken i:nth-child(6) { height: 100%; animation-delay: .25s; background: linear-gradient(180deg, #ffd24d, #ff7a1f); box-shadow: 0 0 10px rgba(255, 140, 40, .75); }
.wh-muenze { position: absolute; right: 10px; top: 9px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 850; font-size: 14px; color: #3a1a00; background: radial-gradient(circle at 32% 28%, #ffe596, #ffb347 60%, #ff8a2e); box-shadow: 0 5px 12px -4px rgba(255, 150, 40, .95); opacity: 0; animation: wh-muenze 10s var(--ease) infinite; }
.wh-liste { position: relative; height: 122px; margin: 10px 12px 0; }
.wh-zeile { position: absolute; left: 0; right: 0; height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 13px; background: rgba(214, 226, 255, .06); border: 1px solid rgba(214, 226, 255, .1); opacity: 0; }
.wh-zeile.a { top: 0; animation: wh-a 10s var(--ease) infinite, wh-a-gruen 10s ease-in-out infinite; }
.wh-zeile.b { top: 66px; animation: wh-b 10s var(--ease) infinite, wh-b-orange 10s ease-in-out infinite; }
.wh-zeile.fliegt { top: 0; background: #1d2f52; border-color: rgba(255, 255, 255, .2); box-shadow: 0 14px 22px -10px rgba(0, 0, 0, .9); animation: wh-fliegt 10s var(--ease) infinite; }
.wh-ik { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--orange-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wh-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.wh-text b { font-size: 12.5px; white-space: nowrap; } .wh-text small { font-size: 10.5px; color: var(--leise); white-space: nowrap; }
.wh-haken { width: 20px; height: 20px; flex: none; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wh-haken .wring { stroke: var(--gut); stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 1; animation: wh-ring 10s var(--ease) infinite; }
.wh-haken .wtick { stroke: var(--gut); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: wh-tick 10s var(--ease) infinite; }
.wh-pille { flex: none; padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; color: #ffcf9f; background: rgba(255, 107, 26, .26); border: 1px solid rgba(255, 138, 71, .55); opacity: 0; animation: wh-pille 10s var(--ease) infinite; }
.wh-hinweis { position: absolute; left: 12px; right: 12px; bottom: 22px; display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 11px 8px; border-radius: 15px; font-size: 12px; background: linear-gradient(135deg, rgba(255, 210, 77, .24), rgba(255, 107, 26, .2)); border: 1px solid rgba(255, 190, 80, .5); opacity: 0; animation: wh-hinweis 10s var(--ease) infinite; }
.wh-hinweis b { font-weight: 850; font-stretch: 115%; color: var(--gelb); } .wh-hinweis span { color: var(--text-2); }
.wh-home { position: absolute; left: 50%; bottom: 7px; width: 76px; height: 3px; margin-left: -38px; border-radius: 3px; background: rgba(255, 255, 255, .45); z-index: 3; }
.wh-glanz { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .03) 24%, transparent 38%); }
@keyframes wh-saldo { 0% { opacity: 0; transform: translateY(8px); } 6%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes wh-balken { 0%, 5% { transform: scaleY(.08); } 16%, 92% { transform: scaleY(1); } 98%, 100% { transform: scaleY(.08); } }
@keyframes wh-fliegt { 0%, 10% { opacity: 0; transform: translate3d(150px, -40px, 0); } 14% { opacity: 1; } 22% { opacity: 1; transform: translate3d(0, 0, 0); } 25%, 100% { opacity: 0; transform: translate3d(0, 0, 0); } }
@keyframes wh-a { 0%, 22% { opacity: 0; } 26%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes wh-a-gruen { 0%, 30% { border-color: rgba(214, 226, 255, .1); background: rgba(214, 226, 255, .06); } 36%, 92% { border-color: rgba(61, 220, 132, .55); background: rgba(61, 220, 132, .12); } 100% { border-color: rgba(214, 226, 255, .1); background: rgba(214, 226, 255, .06); } }
@keyframes wh-ring { 0%, 27% { stroke-dashoffset: 1; } 34%, 92% { stroke-dashoffset: 0; } 98%, 100% { stroke-dashoffset: 1; } }
@keyframes wh-tick { 0%, 33% { stroke-dashoffset: 1; } 38%, 92% { stroke-dashoffset: 0; } 98%, 100% { stroke-dashoffset: 1; } }
@keyframes wh-b { 0%, 42% { opacity: 0; transform: translateX(16px); } 48%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes wh-b-orange { 0%, 58% { border-color: rgba(214, 226, 255, .1); background: rgba(214, 226, 255, .06); box-shadow: none; } 64%, 92% { border-color: rgba(255, 138, 71, .65); background: rgba(255, 107, 26, .13); box-shadow: 0 0 16px -4px rgba(255, 107, 26, .8); } 100% { border-color: rgba(214, 226, 255, .1); background: rgba(214, 226, 255, .06); box-shadow: none; } }
@keyframes wh-pille { 0%, 56% { opacity: 0; transform: translate3d(8px, 0, 0); } 62%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes wh-hinweis { 0%, 68% { opacity: 0; transform: translateY(10px); } 74%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(4px); } }
@keyframes wh-muenze { 0%, 66% { opacity: 0; transform: translate3d(0, -34px, 0); } 72% { opacity: 1; transform: translate3d(0, 3px, 0); } 75% { opacity: 1; transform: translate3d(0, -3px, 0); } 78%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes wh-zahl { 0%, 72% { filter: none; } 78% { filter: brightness(1.35); } 86%, 100% { filter: none; } }
@keyframes wf-schweb-a { 50% { transform: translateY(-9px); } }
@keyframes wf-schweb-b { 50% { transform: translateY(9px); } }

@media (min-width: 1240px) {
  .wf-hero-start { display: grid; grid-template-columns: minmax(0, 1fr) clamp(440px, 33vw, 470px); align-items: center; }
  .wf-hero-start .hero-text { grid-area: 1 / 1; width: auto; }
  .wf-hero-start > .wf-buehne { display: block; grid-area: 1 / 2; height: 470px; }
  .wf-hero-start > .spar-seite { grid-area: 1 / 2; z-index: 3; width: 214px; height: 470px; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 0 36px; pointer-events: none; justify-self: end; }
  .wf-hero-start .gespart-leiste { pointer-events: auto; padding: 11px 16px 11px 12px; background: rgba(20, 36, 64, .82); border: 1px solid rgba(255, 255, 255, .15); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 26px 40px -22px rgba(0, 0, 0, .95); }
  .wf-hero-start .gespart-leiste.an { background: linear-gradient(135deg, rgba(61, 220, 132, .3), rgba(20, 36, 64, .82)); border-color: rgba(61, 220, 132, .55); }
  .wf-hero-start .gespart-leiste:first-child { animation: wf-schweb-a 7s ease-in-out infinite; }
  .wf-hero-start .gespart-leiste:last-child { animation: wf-schweb-b 8s ease-in-out infinite; }
  .wf-hero-start .gespart-leiste.gross .gespart-text b { font-size: 1.15rem; }
  .wf-hero-start .gespart-text span { display: none; }       /* hier nur die Zahl; die Erklaerung steht auf der Seite Sparen */
}

/* Spar-Hero: Karten leicht durchscheinend, damit das W dahinter leuchtet */
@media (min-width: 900px) {
  .spar-hero.wf-hero-sparen .spar-seite .gespart-leiste { background: rgba(9, 19, 34, .4); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
}

/* ---------- Tab unsichtbar: alles pausieren ---------- */
html.wf-pause .wf-w, html.wf-pause .wf-w *, html.wf-pause .wm, html.wf-pause .wm *, html.wf-pause .wf-buehne, html.wf-pause .wf-buehne *, html.wf-pause .wf-hero-start .gespart-leiste { animation-play-state: paused !important; }

/* ---------- Bewegung reduziert: Standbild, nichts bewegt sich ---------- */
@media (prefers-reduced-motion: reduce) {
  .wf-w, .wf-w .wbahn, .wf-w .wglimmer, .wf-w.zeichnet .wbahn, .wf-w.zeichnet .wglimmer { animation: none; }
  .wf-w .wglimmer { opacity: 0; }
  .wm *, .wm .wz, .wm .wfunke, .wm .wk, .wm .wmdreh { animation: none !important; }
  .wm .wz, .wm .wk { stroke-dashoffset: 0; }
  .wm-steuer .wring { stroke-dashoffset: .22; }
  .wm .wfunke { opacity: .9; transform: none; }
  .wf-strahl { transition: none; }
  .wf-schein, .wf-ring, .wf-muenze-aussen, .wh-geraet, .wh-saldo, .wh-zahl, .wh-balken i, .wh-muenze, .wh-zeile, .wh-pille, .wh-hinweis, .wh-haken .wring, .wh-haken .wtick, .wf-hero-start .gespart-leiste { animation: none !important; }
  .wh-geraet { transform: none; }
  .wh-saldo, .wh-zeile.a, .wh-zeile.b, .wh-pille, .wh-hinweis, .wh-muenze { opacity: 1; }
  .wh-zeile.fliegt { display: none; }
  .wh-zeile.a { border-color: rgba(61, 220, 132, .55); background: rgba(61, 220, 132, .12); }
  .wh-zeile.b { border-color: rgba(255, 138, 71, .65); background: rgba(255, 107, 26, .13); }
  .wh-haken .wring, .wh-haken .wtick { stroke-dashoffset: 0; }
}

/* Handy: die drei Steuer-Zahlen sprengten die Breite (repeat(3, 1fr) laesst Spalten wachsen) */
.zahlen3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .zahlen3 { gap: 6px; } .zahlen3 > div { padding: 12px 6px; } .zahlen3 b { font-size: 1.2rem; font-stretch: 110%; } }

/* Handy: Bandtext laeuft nicht ins W; Steuer-Ueberschrift passt in die Karte */
@media (max-width: 699px) { .wf-band-text { padding-right: 132px; max-width: none; } }
@media (max-width: 520px) { .wf-hero-steuer .hero-titel { font-size: 1.85rem; overflow-wrap: anywhere; } }
