/* Beitrag Birdie: nur die eigenen Teile. Grundlage ist ../artikel.css (Gerüst, Auftrag 76).
   Eigene Präfixe: bd- (allgemein), kand-/kd- (Reihe der 30 Entwürfe), sl- (stumme Schleifen),
   wg- (sechs Schritte), vn- (Vorher-Nachher-Regler), fm- (Filme mit Ton). */
.bd-block, .sl-reihe, .bd-drei, .bd-voll, .bd-varianten, .bd-zwei { margin-block: clamp(10px, 1.6vw, 22px); }
.kand img, .wg img, .bd-voll img, .bd-varianten img { height: auto; }
.bd-voll img { width: 100%; border-radius: var(--rb-r-karte); }
.sl figcaption, .bd-drei figcaption, .bd-voll figcaption { font-size: var(--rb-t-1); line-height: 1.45; color: var(--rb-leise); margin-top: 12px; }
.sl figcaption b { display: block; color: var(--rb-kopf); font-weight: var(--rb-w-mittel); font-size: var(--rb-t-1); }
.sl-feld .a-ki, .fm-feld .a-ki, .bd-bild .a-ki { bottom: auto; top: 10px; right: 10px; padding: 3px 9px; }
.a-breit .rand + .kand, .a-breit .rand + .wg, .a-breit .rand + .vn, .a-breit .rand + .bd-filme { margin-top: 0; }

/* Stelle 1: die 30 Entwürfe zum Durchwischen */
.kand-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 18px; }
.kand-wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.kand-pfeile { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.kand-stand { font-size: var(--rb-t-1); color: var(--rb-leise); margin-right: 8px; font-variant-numeric: tabular-nums; }
.bd-pfeil { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rb-feld-rand); color: var(--rb-kopf); display: grid; place-items: center; transition: background-color .2s, opacity .2s; }
.bd-pfeil:hover { background: var(--rb-karte-2); }
.bd-pfeil:disabled { opacity: 0.3; cursor: default; }
.kand-reihe { --kante: max(var(--rand), calc((100vw - var(--breite)) / 2)); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--kante); padding: 4px var(--kante) 18px; scrollbar-width: thin; scrollbar-color: var(--rb-karte-2) transparent; }
.kd { flex: 0 0 clamp(190px, 21vw, 264px); scroll-snap-align: start; }
.kd img { width: 100%; border-radius: var(--rb-r-karte); background: var(--rb-karte-2); }
.kd p { margin-top: 10px; font-size: var(--rb-t-1); line-height: 1.35; color: var(--rb-tx); }
.kd-nr { display: block; font-size: var(--rb-t-1); letter-spacing: var(--rb-lw-marke); color: var(--rb-leise); font-variant-numeric: tabular-nums; }
.kd b { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: var(--rb-r-pille); background: var(--rb-hauch); color: var(--rb-marke); font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); white-space: nowrap; }
.kd-weiter img { box-shadow: 0 0 0 2px var(--rb-gruen); }
.kand.nur-weiter .kd:not(.kd-weiter) { display: none; }
@media (max-width: 600px) { .kd { flex-basis: 62vw; } }

/* Stumme Schleifen */
.sl-reihe { display: grid; gap: 14px; }
.sl-fuenf { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; }
.sl-vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sl-drei { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: calc(940px + 300 * var(--rb-w) + 2 * var(--rand)); }
.sl-eins { grid-template-columns: minmax(0, calc(300px + 80 * var(--rb-w))) minmax(0, calc(340px + 100 * var(--rb-w))); justify-content: center; align-items: center; gap: 28px; }
.sl-eins .sl { display: contents; }
.sl-eins figcaption { margin: 0; font-size: var(--rb-t-2); line-height: 1.5; }
.sl-eins figcaption b { font-size: var(--rb-t-5); margin-bottom: 8px; }
.sl-feld { position: relative; border-radius: var(--rb-r-karte); overflow: hidden; background: var(--rb-karte-2); }
.sl-feld video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .sl-fuenf, .sl-vier { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); align-items: flex-end; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--rb-karte-2) transparent; }
  .sl-fuenf .sl, .sl-vier .sl { flex: 0 0 min(44vw, 230px); scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .sl-drei { gap: 8px; }
  .sl-drei figcaption { font-size: var(--rb-t-1); } .sl-drei figcaption b { font-size: var(--rb-t-1); }
  .sl-eins { grid-template-columns: 1fr; justify-items: start; } .sl-eins .sl-feld { width: min(100%, 300px); }
}

/* Drei Alltagsbilder */
.bd-drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: calc(940px + 300 * var(--rb-w) + 2 * var(--rand)); }
.bd-bild { position: relative; border-radius: var(--rb-r-karte); overflow: hidden; aspect-ratio: 4 / 5; }
.bd-bild img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .bd-drei { gap: 8px; } .bd-drei figcaption { font-size: var(--rb-t-1); } .bd-drei .a-ki { font-size: var(--rb-t-1); top: 6px; right: 6px; padding: 2px 6px; } }

/* Stelle 2: sechs Schritte */
.wg-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.wg-tabs::-webkit-scrollbar { display: none; }
.wg-tabs .rb-chip { flex: none; gap: 9px; padding: 0 16px 0 7px; }
.wg-tabs .rb-chip span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--rb-hauch); font-size: var(--rb-t-1); font-variant-numeric: tabular-nums; }
.wg-tabs .rb-chip[aria-selected="true"] span { background: var(--rb-fl); color: var(--rb-kopf); }
.wg-buehne { margin-top: 14px; background: var(--a-einsatz); border-radius: var(--rb-r-karte); overflow: hidden; }
.wg-blatt { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
.wg-blatt[hidden] { display: none; }
.wg-blatt img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.wg-blatt.ist-an img { animation: rein .5s var(--aus); }
.wg-text { padding: clamp(22px, 4vw, 56px); }
.wg-nr { font-size: var(--rb-t-1); color: var(--rb-marke); font-weight: var(--rb-w-mittel); margin-bottom: 10px; }
.wg-text h3 { font-size: var(--rb-t-6); line-height: var(--rb-zh-mittel); letter-spacing: var(--rb-lw-kopf); font-weight: var(--rb-w-kopf); }
.wg-text h3 + p { margin-top: 16px; color: var(--rb-tx); max-width: 30em; }
@keyframes rein { from { opacity: 0; transform: scale(1.03); } }
.still .wg-blatt.ist-an img { animation: none; }
@media (max-width: 700px) { .wg-blatt { grid-template-columns: 1fr; } .wg-blatt img { aspect-ratio: 1 / 1; object-position: 50% 30%; } }

/* Stimme: Text und ein Film nebeneinander */
.bd-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, calc(300px + 80 * var(--rb-w))); gap: clamp(28px, 6vw, 96px); align-items: center; max-width: calc(var(--a-weit) + 2 * var(--rand)); }
@media (max-width: 760px) { .bd-zwei { grid-template-columns: 1fr; } .bd-zwei .bd-filme { max-width: 280px; } }

/* Reihen mit kleinen Varianten */
.bd-varianten { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.bd-varianten li { position: relative; }
.bd-varianten img { width: 100%; border-radius: var(--rb-r-feld); }
.bd-varianten .bd-gewaehlt img { box-shadow: 0 0 0 3px var(--rb-gruen); }
.bd-varianten b { position: absolute; left: 8px; bottom: 8px; padding: 2px 10px; border-radius: var(--rb-r-pille); background: var(--rb-gruen); color: var(--rb-knopf-schrift); font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); }
@media (max-width: 700px) { .bd-varianten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }

/* Stelle 3: Vorher-Nachher-Regler */
.vn-feld { position: relative; width: min(100%, calc(560px + 160 * var(--rb-w))); margin-inline: auto; border-radius: var(--rb-r-karte); overflow: hidden; aspect-ratio: 4 / 5; background: var(--rb-karte); user-select: none; -webkit-user-select: none; }
.vn-feld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vn-oben { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.vn-feld::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--rb-weiss); pointer-events: none; }
.vn-griff { position: absolute; top: 50%; left: var(--p); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--rb-weiss); color: var(--rb-knopf-schrift); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 42, 56, 0.45); pointer-events: none; z-index: 2; }
.vn-marke { position: absolute; bottom: 14px; padding: 4px 12px; border-radius: var(--rb-r-pille); background: rgba(0, 42, 56, 0.8); color: var(--rb-weiss); font-size: var(--rb-t-1); pointer-events: none; z-index: 1; }
.vn-l { left: 14px; } .vn-r { right: 14px; }
.vn-feld input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; touch-action: pan-y; }
.vn-feld:has(input:focus-visible) { outline: 2px solid var(--rb-fokus); outline-offset: 3px; }

/* Filme mit Ton */
.bd-filme-fuenf { --kante: max(var(--rand), calc((100vw - var(--breite)) / 2)); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-inline: var(--kante); }
.fm-feld { position: relative; border-radius: var(--rb-r-karte); overflow: hidden; aspect-ratio: 9 / 16; background: var(--rb-petrol); }
.fm-feld video { width: 100%; height: 100%; object-fit: cover; }
.fm-start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding: 18px 10px; background: linear-gradient(to top, rgba(0, 42, 56, 0.85), rgba(0, 42, 56, 0) 46%); color: var(--rb-weiss); transition: opacity .25s; }
.fm-knopf { --rb-spiel-g: 60px; }
.fm-ton { font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); }
.fm.laeuft .fm-start { opacity: 0; pointer-events: none; }
.fm.laeuft .a-ki { display: none; }
.fm-titel { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; font-size: var(--rb-t-2); line-height: 1.3; }
.fm-titel span { font-size: var(--rb-t-1); color: var(--rb-leise); font-variant-numeric: tabular-nums; }
.fm-text { font-size: var(--rb-t-1); line-height: 1.45; color: var(--rb-leise); margin-top: 4px; }
@media (max-width: 980px) {
  .bd-filme-fuenf { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--kante); padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--rb-karte-2) transparent; }
  .bd-filme-fuenf .fm { flex: 0 0 min(62vw, 250px); scroll-snap-align: start; }
}


/* Stimme: Überschrift und Text neben dem Film */
.bd-zwei { padding-block: clamp(34px, 4.6vw, 62px); }
.bd-zwei-text { font-size: var(--rb-t-3); line-height: 1.62; color: var(--rb-tx); }
.bd-zwei-text h2 { font-size: var(--rb-t-6); line-height: var(--rb-zh-mittel); }
.bd-zwei-text p { margin-top: 1.15em; }

/* Kanäle */
.a-text .bd-kanal { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6em; }
.a-text .bd-klein { font-size: var(--rb-t-1); color: var(--rb-leise); margin-top: 2em; }

/* Auftrag 85 (Journal): Die frühere Handy-Regel für den Aufmacher (Bild hinter dem Titel) entfällt, das Bild steht jetzt unter dem Titel. */
