/* Fallstudie sfb (19.11.2026). Die Welt von sfb.ch: Weiss, das Nachtblau der Kopfzeile und das Grün
   der drei schrägen Striche im Zeichen. Grosser Moment: 283 solche Striche, einer je Anmeldung oder
   Anfrage, die sich beim Scrollen in den vier Farben der Arten füllen. Geruest: werbung-fall.css. */

.sb {
  --sb-navy: #14294a;
  --sb-lime: #6cc020;
  --sb-lime-text: #3b7a0c;
  --sb-blau: #4f7299;
  --sb-grau: #c9d3df;
  --sb-k1: #6cc020;
  --sb-k2: #ffffff;
  --sb-k3: #8fb4d9;
  --sb-k4: #5d7795;
  --wf-grund: #fff;
  --wf-grund2: #f2f5f8;
  --wf-tinte: #14294a;
  --wf-text: #1f2c3d;
  --wf-leise: #4e5d70;
  --wf-linie: #dfe5ec;
  --wf-akzent: #14294a;
  --wf-akzent2: #6cc020;
  --wf-akzent-text: #3b7a0c;
  --wf-knopf: #14294a;
  --wf-knopf-text: #fff;
  --wf-punkte-grund: #14294a;
}
html, body { background: #fff; }

/* Oeffner: ein grüner Schein wie die Striche des Zeichens */
.sb .wf-held { background: radial-gradient(50% 60% at 85% 20%, rgba(108, 192, 32, .16), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(20, 41, 74, .08), transparent 70%), var(--wf-grund2); }
.sb .wf-held__titel em { color: var(--sb-lime-text); }
.sb .wf-zahlen li:first-child { background: var(--sb-navy); box-shadow: none; }
.sb .wf-zahlen li:first-child b { color: var(--sb-lime); }
.sb .wf-zahlen li:first-child span { color: rgba(255, 255, 255, .8); }

/* Zeitachse der beiden Zeitraeume */
.sb-achse { max-width: 60rem; }

/* Die Ansprechpartnerin */
.sb-person { display: flex; align-items: center; gap: 1.1rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 1rem 1.4rem 1rem 1rem; width: fit-content; max-width: 100%; border-radius: 18px; background: var(--wf-grund2); box-shadow: inset 0 0 0 1px var(--wf-linie); }
.sb-person img { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--sb-lime); }
.sb-person figcaption { font-size: .92rem; line-height: 1.4; color: var(--wf-leise); }
.sb-person figcaption span { display: block; font: 700 .7rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--sb-lime-text); margin-bottom: .35rem; }
.sb-person figcaption b { display: block; font: 600 1.1rem/1.25 var(--font-display); color: var(--wf-tinte); }

/* Grosser Moment: die Striche */
.sb-punkte { background: radial-gradient(60% 60% at 80% 40%, rgba(108, 192, 32, .14), transparent 70%), var(--sb-navy); }
.sb-feldrahmen { min-width: 0; }
.sb-feld { --spalten: 24; --luecke: clamp(3px, .5vw, 7px); max-width: 40rem; }
.sb-feld i { aspect-ratio: .55; border-radius: 3px; transform: skewX(-24deg); }
.wf-an .sb-feld i { transform: skewX(-24deg) scaleY(.35); }
.wf-an .sb-feld i.is-an { transform: skewX(-24deg); }
.sb-feld i[data-k="1"] { --f: var(--sb-k1); }
.sb-feld i[data-k="2"] { --f: var(--sb-k2); }
.sb-feld i[data-k="3"] { --f: var(--sb-k3); }
.sb-feld i[data-k="4"] { --f: var(--sb-k4); }
.sb .wf-punkte h2 em { color: var(--sb-lime); }
.sb .wf-punkte__summe { color: var(--sb-lime); }

.sb-balken-rahmen { margin: 0; max-width: 62rem; }
.sb .wf-balken__spur { background: #f2f5f8; }
.sb .wf-zeit__liste li:last-child time { color: var(--sb-lime-text); }

@media (max-width: 1000px) {
  .wf-an .sb-feld { max-width: min(100%, calc((100svh - var(--nav-h, 64px) - 27.5rem) * 1.08)); }
}
@media (min-width: 1001px) {
  .wf-an .sb-feld { max-width: min(40rem, calc((100svh - var(--nav-h, 74px) - 11rem) * 1.08)); }
}

/* Grosser Moment (20.11.2026): die Strichliste. Nachtblau wie die Kopfzeile von sfb.ch, vier Striche weiss,
   der fünfte schräg in Grün wie im Zeichen. Mit Skript klebt die Liste und wächst über die zwölf Wochen;
   ohne Skript steht sie vollständig da. */
.sb-liste { position: relative; background: var(--sb-navy); color: #fff; }
.sb-liste__klebt { padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(2rem, 4vw, 3rem); }
.sb-liste .wf-kapitel { color: #b6e38a; }
.sb-liste h2 { color: #fff; max-width: 15ch; }
.sb-liste h2 em { color: #b6e38a; }
.sb-liste__kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.sb-liste__datum { display: grid; text-align: right; font: 600 clamp(1.3rem, 2.4vw, 1.9rem)/1.1 var(--font-display); letter-spacing: -.02em; color: #fff; }
.sb-liste__datum small { margin-top: .35rem; font: 500 .85rem/1.3 var(--font-body); letter-spacing: 0; color: rgba(255, 255, 255, .62); }
.sb-liste__reihen { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.sb-liste__reihen li { display: grid; grid-template-columns: 15rem 4.2rem minmax(0, 1fr); gap: 1.2rem; align-items: start; padding-top: clamp(1rem, 2vw, 1.4rem);
  border-top: 1px solid rgba(255, 255, 255, .13); }
.sb-liste__name { padding-top: .45rem; font: 600 1.02rem/1.3 var(--font-display); color: rgba(255, 255, 255, .88); }
.sb-liste__zahl { padding-top: .1rem; font: 600 2rem/1 var(--font-display); letter-spacing: -.03em; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.sb-liste__striche { display: flex; flex-wrap: wrap; gap: .35rem .6rem; min-width: 0; }
.sb-liste__striche svg { width: 2.5rem; height: 2.75rem; overflow: visible; }
.sb-liste__striche line { stroke: rgba(255, 255, 255, .92); stroke-width: 2.6; stroke-linecap: round; }
.sb-liste__striche line.sb-quer { stroke: var(--sb-lime); stroke-width: 3.4; }
.sb-liste__quelle { color: rgba(255, 255, 255, .6) !important; padding-bottom: clamp(3rem, 6vw, 4.5rem); }

.sb-liste.ist-an { height: 280vh; display: flex; flex-direction: column; }
.sb-liste.ist-an .sb-liste__klebt { position: sticky; top: 0; z-index: 2; background: var(--sb-navy); min-height: 100vh; min-height: 100svh; box-sizing: border-box; display: flex; align-items: center; }
.sb-liste.ist-an .sb-liste__klebt > .wf-wrap { width: 100%; }
.sb-liste.ist-an .sb-liste__quelle { margin-top: auto; }
.sb-liste.ist-an .sb-liste__striche line { stroke-dasharray: 40; stroke-dashoffset: 40; opacity: 0; transition: stroke-dashoffset .35s cubic-bezier(.4, 0, .2, 1), opacity 0s linear .35s; }
.sb-liste.ist-an .sb-liste__striche line.ist-an { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset .35s cubic-bezier(.4, 0, .2, 1), opacity 0s; }

@media (max-width: 900px) {
  .sb-liste h2 { font-size: clamp(1.8rem, 7.6vw, 2.6rem); }
  .sb-liste__kopf { gap: .8rem; }
  .sb-liste__reihen { margin-top: 1.2rem; gap: .7rem; }
  .sb-liste__reihen li { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; padding-top: .7rem; }
  .sb-liste__striche { grid-column: 1 / -1; gap: .15rem .4rem; }
  .sb-liste__striche svg { width: 1.3rem; height: 1.45rem; }
  .sb-liste__name { padding-top: .15rem; font-size: .95rem; }
  .sb-liste__zahl { font-size: 1.45rem; }
  .sb-liste__datum { text-align: left; font-size: 1.2rem; }
  .sb-liste.ist-an { height: 240vh; }
  .sb-liste.ist-an .sb-liste__klebt { padding-top: 9.2rem; padding-bottom: 1rem; align-items: flex-start; }
}
