/* Paket 106 – Serie „Wie funktioniert eigentlich …?“ im Stil der Startseite (Einblenden über bl55.js: [data-rv]/.pz; Handy-Rahmen: reels.js/reels.css) */
.wf { --wf-ind: #4338CA; --wf-ind-bg: #EEF0FF; }
.wf .wf-hero { position: relative; padding-top: calc(96px + env(safe-area-inset-top)); overflow: visible; }
@media (min-width: 1100px) { .wf .wf-hero { padding-top: 120px; } }
.wf .wf-hero-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .wf .wf-hero-grid { grid-template-columns: 1.05fr .95fr; align-items: start; } .wf .wf-hero-copy { padding-top: clamp(12px, 4vw, 56px); } }
.wf .wf-hero-copy h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.02; margin: .2rem 0 .8rem; }
.wf .wf-hero-copy .lead { max-width: 36rem; }
.wf .wf-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 1rem; align-items: center; }
.wf .wf-facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.wf .wf-facts li { display: grid; gap: .1rem; padding: .7rem 1rem; border-radius: 18px; background: var(--card, #fff); border: 1px solid var(--line, #E6EAF2); box-shadow: var(--shadow-sm, 0 6px 18px -12px rgba(15,23,42,.18)); min-width: 7.5rem; }
.wf .wf-facts b { font-size: 1.25rem; letter-spacing: -.02em; color: var(--cobalt, #2563EB); }
.wf .wf-facts span { font-size: .82rem; color: var(--muted, #5B6475); }

/* Bühne rechts: Handy-Rahmen aus reels.css + Belegerl-Figur + „Neueste Folge“ */
.wf .wf-hero-stage { position: relative; display: grid; justify-items: center; gap: 18px; padding: 12px 0 44px; }
.wf .wf-hero-stage::before { content: ""; position: absolute; inset: 6% 4% 2%; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; background: radial-gradient(60% 60% at 50% 40%, var(--ice, #E8F0FF), transparent 72%); filter: blur(4px); z-index: 0; }
.wf .wf-reel { position: relative; z-index: 1; width: min(100%, 330px); justify-self: center; }
.wf .wf-reel-big { width: min(100%, 320px); }
.wf .wf-reel .rl-stage { width: 100%; }
.wf .wf-reel .rl-dur { left: auto; right: 8%; }
.wf .pz-wf-hero { position: absolute; right: clamp(-6px, 2vw, 24px); bottom: 8%; width: clamp(92px, 11vw, 150px); z-index: 2; }
.wf .pz-wf-hero img { animation-delay: -2.2s; }
@media (max-width: 899px) { .wf .pz-wf-hero { right: 0; bottom: 4%; width: 84px; } }
.wf .wf-now { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .4rem .5rem .4rem .45rem; border-radius: 999px; background: var(--card, #fff); border: 1px solid var(--line, #E6EAF2); box-shadow: var(--shadow-sm, 0 6px 18px -12px rgba(15,23,42,.18)); font-size: .9rem; }
.wf .wf-now a { font-weight: 700; color: inherit; text-decoration: none; padding-right: .4rem; }
.wf .wf-now a:hover { color: var(--cobalt, #2563EB); }
.wf .wf-n { display: inline-block; justify-self: start; width: max-content; font-size: .74rem; font-weight: 700; padding: .22rem .62rem; border-radius: 999px; background: var(--wf-ind-bg); color: var(--wf-ind); letter-spacing: .01em; }

/* Karten-Raster: 1 / 2 / 3 Spalten, Glas-Karten, Einblenden gestaffelt, Hover hebt an */
.wf .wf-grid { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .wf .wf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .wf .wf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.wf .wf-card a { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; height: 100%; padding: 14px; border-radius: var(--r, 24px); text-decoration: none; color: inherit;
  background: var(--card, #fff); border: 1px solid var(--line, #E6EAF2); box-shadow: var(--shadow-sm, 0 6px 18px -12px rgba(15,23,42,.18)); overflow: hidden;
  transition: transform .45s var(--spring, cubic-bezier(.2,.8,.2,1)), box-shadow .35s var(--ease, ease), border-color .3s; }
@media (min-width: 600px) { .wf .wf-card a { grid-template-columns: 1fr; } }
.wf .wf-card a::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at 50% 0%, rgba(99,102,241,.1), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.wf .wf-card a:hover, .wf .wf-card a:focus-visible { transform: translateY(-6px); border-color: rgba(37,99,235,.35); box-shadow: 0 26px 48px -24px rgba(37,99,235,.45); }
.wf .wf-card a:hover::before { opacity: 1; }
.wf .wf-card a:focus-visible { outline: 3px solid var(--focus, #1D4ED8); outline-offset: 3px; }
.wf .wf-thumb { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--ice, #E8F0FF); isolation: isolate; }
@media (min-width: 600px) { .wf .wf-thumb { aspect-ratio: 16 / 11; } .wf .wf-thumb img { object-position: 50% 22%; } }
.wf .wf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease, ease); }
.wf .wf-card a:hover .wf-thumb img { transform: scale(1.05); }
.wf .wf-thumb i { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--cobalt, #2563EB); box-shadow: 0 10px 24px rgba(0,0,0,.22), 0 0 0 0 rgba(37,99,235,.35); transition: transform .35s var(--spring, ease), box-shadow .5s; }
.wf .wf-thumb i svg { width: 22px; height: 22px; margin-left: 3px; }
.wf .wf-card a:hover .wf-thumb i { transform: scale(1.1); box-shadow: 0 10px 24px rgba(0,0,0,.22), 0 0 0 12px rgba(37,99,235,.12); }
.wf .wf-dur { position: absolute; right: .55rem; bottom: .55rem; padding: .18rem .55rem; border-radius: 999px; font-size: .74rem; font-weight: 600; background: rgba(11,19,32,.72); color: #fff; backdrop-filter: blur(6px); }
.wf .wf-body { display: grid; gap: .35rem; align-content: start; padding: 2px 4px 6px; }
.wf .wf-body b { font-size: 1.08rem; line-height: 1.25; letter-spacing: -.01em; }
.wf .wf-s { font-size: .9rem; line-height: 1.5; color: var(--muted, #5B6475); }
.wf .wf-go { display: inline-flex; align-items: center; gap: .4rem; margin-top: .35rem; font-weight: 700; font-size: .9rem; color: var(--cobalt, #2563EB); }
.wf .wf-go .arr { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ice, #E8F0FF); transition: transform .3s var(--spring, ease); }
.wf .wf-go .arr svg { width: 13px; height: 13px; }
.wf .wf-card a:hover .wf-go .arr { transform: translateX(4px); }

/* Folgenseite */
.wf .wf-ep .crumbs { font-size: .9rem; color: var(--muted, #5B6475); margin: 0 0 1rem; }
.wf .wf-ep .crumbs a { color: inherit; }
@media (min-width: 900px) { .wf .wf-ep-grid { grid-template-columns: minmax(300px, 420px) 1fr; align-items: start; min-height: 0; } .wf .wf-ep-stage { position: sticky; top: 92px; } }
.wf .wf-note { position: relative; z-index: 1; text-align: center; font-size: .82rem; color: var(--muted, #5B6475); margin: 10px 0 0; max-width: 320px; }
.wf .wf-sub { font-size: 1.35rem; margin: 1.6rem 0 .6rem; }
.wf .wf-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wf .wf-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 20px; background: var(--card, #fff); border: 1px solid var(--line, #E6EAF2); box-shadow: var(--shadow-sm, 0 6px 18px -12px rgba(15,23,42,.18)); line-height: 1.55; }
.wf .wf-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(140deg, #2563EB, #7C3AED); color: #fff; font-weight: 800; box-shadow: 0 10px 20px -10px rgba(37,99,235,.7); }
.wf .wf-avail { margin: 12px 0 0; padding: .7rem .9rem; border-radius: 14px; background: var(--ice, #E8F0FF); font-size: .92rem; }
.wf .wf-transcript { margin: .4rem 0 0; padding: .9rem 1.1rem; border-radius: 18px; border: 1px solid var(--line, #E6EAF2); background: var(--card, #fff); max-width: 40rem; }
.wf .wf-transcript summary { cursor: pointer; font-weight: 700; }
.wf .wf-transcript p { margin: .7rem 0 0; line-height: 1.6; }
.wf .wf-sec .wf-narrow { max-width: 46rem; }
.wf .wf-sec .sec-h { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.wf .faq-list { margin-top: 18px; display: grid; gap: 10px; }
.wf .faq-list details { border-radius: 18px; background: var(--card, #fff); border: 1px solid var(--line, #E6EAF2); box-shadow: 0 6px 18px -12px rgba(15,23,42,.18); padding: .8rem 1.1rem; transition: border-color .25s; }
.wf .faq-list details[open] { border-color: rgba(37,99,235,.3); }
.wf .faq-list summary { cursor: pointer; font-weight: 700; }
.wf .faq-list p { margin: .6rem 0 0; line-height: 1.55; }
.wf .wf-back { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 28px 0 0; }
.wf .wf-stand { font-size: .82rem; color: var(--muted, #5B6475); }

/* Abschluss-Karte */
/* Paket 107: Platz für den Footer-Kopf (ragt ca. 0,55 × --fhw über die Fußzeile) – wie .stage-end auf der Startseite */
.wf > section:last-of-type { padding-bottom: calc(var(--fhw, 300px) * .6 + 28px); }
.wf .wf-cta-card { position: relative; display: grid; gap: 1.2rem; padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: linear-gradient(135deg, var(--ice, #E8F0FF), var(--card, #fff) 60%); border: 1px solid var(--line, #E6EAF2); box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(15,23,42,.3)); overflow: visible; }
@media (min-width: 760px) { .wf .wf-cta-card { grid-template-columns: 150px 1fr; align-items: center; } }
.wf .wf-cta-card .sec-h { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.wf .pz-wf-cta { width: clamp(110px, 14vw, 160px); margin: -56px auto -8px; }
@media (min-width: 760px) { .wf .pz-wf-cta { margin: -60px 0 -20px; } }

/* Dunkel */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wf { --wf-ind-bg: #24254F; --wf-ind: #C7CBFF; } :root:not([data-theme="light"]) .wf .wf-num { box-shadow: none; } }
:root[data-theme="dark"] .wf { --wf-ind-bg: #24254F; --wf-ind: #C7CBFF; }
:root[data-theme="dark"] .wf .wf-num { box-shadow: none; }

/* Bewegung anhalten / reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) { .wf .wf-card a, .wf .wf-thumb img, .wf .wf-thumb i { transition: none; } .wf .wf-card a:hover { transform: none; } .wf .wf-card a:hover .wf-thumb img { transform: none; } }
html.a11y-still .wf .wf-card a, html.a11y-still .wf .wf-thumb img { transition: none !important; transform: none !important; }

/* Paket 107 – dezenter Hinweis auf die Serie unter dem Werbespot (Startseite), kein Kasten */
.wf-hint { margin: 10px 0 0; font-size: .88rem; }
.wf-hint a { display: inline; line-height: 1.6; color: var(--muted, #5B6475); text-decoration: none; border-bottom: 1px dashed transparent; transition: color .25s, border-color .25s; }
.wf-hint a b { font-weight: 600; color: var(--text, #0B1320); }
.wf-hint a:hover, .wf-hint a:focus-visible { color: var(--cobalt, #2563EB); border-bottom-color: currentColor; }
.wf-hint-ic { display: inline-grid; place-items: center; vertical-align: -5px; margin-right: .4rem; width: 20px; height: 20px; border-radius: 50%; background: var(--ice, #E8F0FF); color: var(--cobalt, #2563EB); flex: none; transition: transform .3s var(--spring, ease); }
.wf-hint-ic svg { width: 9px; height: 9px; margin-left: 1px; }
.wf-hint a:hover .wf-hint-ic { transform: scale(1.12); }
@media (max-width: 760px) { .wf-hint { text-align: center; } }
.rl-copy .wf-hint, .rl-copy p.wf-hint { font-size: .86rem; line-height: 1.5; margin-top: 8px; }
@media (min-width: 761px) { .rl-bel .rl-copy .rl-transcript { margin-left: 0; margin-right: 0; } }

/* Paket 109 – Startseite: kleiner Slider „Wie funktioniert eigentlich …?“ unter „Kostenlos starten“ */
.wfs { width: 100%; max-width: 560px; margin-top: 10px; padding: 18px 0 4px; border-top: 1px solid var(--rl-line, var(--line, #E6EAF2)); text-align: left; }
.wfs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wfs-head h3 { margin: 0; font-family: var(--display, inherit); font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.1; letter-spacing: -.03em; color: var(--rl-ink, var(--text, #0B1320)); }
.wfs-all { flex: none; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .88rem; color: var(--cobalt, #2563EB); text-decoration: none; }
.wfs-all .arr { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ice, #E8F0FF); transition: transform .3s var(--spring, ease); }
.wfs-all .arr svg { width: 12px; height: 12px; }
.wfs-all:hover .arr { transform: translateX(3px); }
.rl-copy p.wfs-sub { margin: 4px 0 12px; font-size: .9rem; color: var(--rl-sub, var(--muted, #5B6475)); }
.wfs-wrap { position: relative; }
.wfs-track { list-style: none; margin: 0; padding: 4px 2px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent); }
.wfs-track::-webkit-scrollbar { display: none; }
.wfs-card { scroll-snap-align: start; }
.wfs-card a { display: grid; gap: 6px; text-decoration: none; color: inherit; }
.wfs-thumb { position: relative; display: block; aspect-ratio: 9 / 14; border-radius: 16px; overflow: hidden; background: var(--ice, #E8F0FF); border: 1px solid var(--rl-line, var(--line, #E6EAF2));
  box-shadow: 0 10px 22px -16px rgba(15,23,42,.45); transition: transform .45s var(--spring, cubic-bezier(.2,.8,.2,1)), box-shadow .35s; }
.wfs-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; transition: transform .8s var(--ease, ease); }
.wfs-thumb i { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--cobalt, #2563EB); box-shadow: 0 8px 18px rgba(0,0,0,.22); transition: transform .35s var(--spring, ease); }
.wfs-thumb i svg { width: 15px; height: 15px; margin-left: 2px; }
.wfs-dur { position: absolute; right: 6px; bottom: 6px; padding: .1rem .42rem; border-radius: 999px; font-size: .68rem; font-weight: 600; background: rgba(11,19,32,.74); color: #fff; }
.wfs-card a:hover .wfs-thumb, .wfs-card a:focus-visible .wfs-thumb { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(37,99,235,.55); }
.wfs-card a:hover .wfs-thumb img { transform: scale(1.06); }
.wfs-card a:hover .wfs-thumb i { transform: scale(1.1); }
.wfs-card a:focus-visible { outline: none; } .wfs-card a:focus-visible .wfs-thumb { outline: 3px solid var(--focus, #1D4ED8); outline-offset: 2px; }
.wfs-n { justify-self: start; font-size: .68rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; background: #EEF0FF; color: #4338CA; }
.wfs-card b { font-size: .86rem; line-height: 1.25; font-weight: 700; color: var(--rl-ink, var(--text, #0B1320)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wfs-nav { position: absolute; top: calc(50% - 30px); z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rl-line, var(--line, #E6EAF2));
  background: var(--card, #fff); color: var(--rl-ink, #0B1320); box-shadow: 0 8px 18px -10px rgba(15,23,42,.45); cursor: pointer; transition: transform .25s var(--spring, ease); }
.wfs-nav svg { width: 16px; height: 16px; }
.wfs-nav:hover { transform: scale(1.08); }
.wfs-nav:focus-visible { outline: 3px solid var(--focus, #1D4ED8); outline-offset: 2px; }
.wfs-prev { left: -10px; } .wfs-next { right: -6px; }
.wfs-nav[hidden] { display: none; }
@media (hover: none) { .wfs-nav { display: none; } }
@media (max-width: 760px) { .wfs { margin-inline: auto; } .wfs-track { grid-auto-columns: 124px; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wfs-n { background: #24254F; color: #C7CBFF; } }
:root[data-theme="dark"] .wfs-n { background: #24254F; color: #C7CBFF; }
@media (prefers-reduced-motion: reduce) { .wfs-thumb, .wfs-thumb img, .wfs-thumb i { transition: none; } .wfs-card a:hover .wfs-thumb, .wfs-card a:hover .wfs-thumb img { transform: none; } }
html.a11y-still .wfs-thumb, html.a11y-still .wfs-thumb img { transition: none !important; transform: none !important; }
.rl-bel .rl-copy { grid-template-columns: minmax(0, 1fr); }
.rl-copy .wfs { justify-self: stretch; min-width: 0; }
.wfs-wrap, .wfs-track { min-width: 0; max-width: 100%; }
