/* R41 bilder – Wäscheklammern von vorn, Fehlerseite, /projekt „Menschen herausnehmen“, /profil Knäuel-Szene */

/* ---------- 1. Wäscheklammern (gezeichnet von r40-abend.js, Bilder /assets/r41/klammer-a|b|c.svg mit eigenem Schatten) */
html body .ab-line-host>.ab-note{--ab-pin-h:96px}
html body .ab-line-host.ab-vertical>.ab-note{--ab-pin-h:56px}
.ab-pin{filter:none}
html body .family-tickets.ab-line-host{padding-top:84px;row-gap:100px}
html body .takeaway .hang-row.ab-line-host{padding-top:88px}
html body .ab-line-host.ab-vertical,html body .takeaway .hang-row.ab-line-host.ab-vertical{padding-left:52px;padding-top:16px}
@media (max-width:700px){html body .family-tickets.ab-line-host{row-gap:26px}html body .takeaway .hang-row.ab-line-host{gap:26px}}

/* ---------- 2. Fehlerseite: gerissener Faden, Fio knotet; Rot nur noch im Faden */
.page-404 .thread.b404{height:auto;width:min(600px,100%);margin:0 auto 18px}
.page-404 .b404-svg{display:block;width:100%;height:auto;overflow:visible}
.b404-th path,.b404-fray path,.b404-knot path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.b404-sh{stroke:rgba(45,22,10,.16);stroke-width:5.4;transform:translateY(3px)}
.b404-core{stroke:#9e2a20;stroke-width:4.6}
.b404-tw{stroke:#d9503f;stroke-width:1.9;stroke-dasharray:2.4 3.6}
.b404-fray path{stroke:#b3392d;stroke-width:1.2}
.b404-knot ellipse{fill:#9e2a20;stroke:#7c1f17;stroke-width:1}
.b404-knot path{stroke:#9e2a20;stroke-width:2.6}
.b404-knot path.b404-knot-hi{stroke:#d9503f;stroke-width:1.3}
.b404-knot{opacity:0}
html[data-theme=dark] .page-404 .b404-svg{filter:invert(1) hue-rotate(180deg)}
.page-404 .code{border-color:#d6d4ca;background:#fffefa;color:#2b3b3d}
.page-404 .code i{background:#304ee7}
.page-404 h1 em{color:#304ee7}
.page-404 .diag li[data-state=bad] i{background:transparent;box-shadow:inset 0 0 0 2px #17262a}
.page-404 .diag li[data-state=bad] b{color:#17262a}

/* ---------- 3. /projekt „Den Menschen herausnehmen“ */
/* the band: result and closing words lie on the box's own paper, above the falling cards (bilder.js fits the gradient) */
.pj-without .r41-band{position:relative;z-index:4;margin:0 calc(-1 * clamp(20px,2.6vw,32px)) calc(-1 * clamp(20px,2.6vw,32px));padding:2px clamp(20px,2.6vw,32px) clamp(20px,2.6vw,32px);border-radius:0 0 16px 16px;background:linear-gradient(180deg,#fffdf8,#fbf1ea) no-repeat}
/* the closing line: Furkan's sentence in the page's handwriting (TeX Gyre Chorus as outlines, used as a mask: colour from CSS) */
.r41-hand{display:inline-block;width:calc(var(--hw) * 1em);height:1.1em;font-size:clamp(22px,2.2vw,27px);background:#2b3b3d;-webkit-mask:var(--hm) no-repeat center/contain;mask:var(--hm) no-repeat center/contain;vertical-align:middle;rotate:-2deg}
.r41-hand-de{--hw:16.45;--hm:url(/assets/r41/hand-aussen-de.svg?v=r52)}
.r41-hand-en{--hw:12.9;--hm:url(/assets/r41/hand-aussen-en.svg?v=r52)}
.r41-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.pj-without .r41-outside{text-align:center}
.pj-without:not(.is-wide) .r41-outside{display:none!important}
.pj-without.is-wide .r41-outside{left:calc(15% + 70px);right:calc(15% + 70px)}
.pj-without.is-wide .r41-outside .r41-hand{display:block;width:calc(var(--hw) * 1em);height:1.1em;font-size:clamp(17px,1.75vw,25px)}
/* narrow: the human slots leave the chain, the cards lie in a tray right under the box */
.pj-without.r41-dropped:not(.is-wide) .pj-chain>li[data-who=mensch]{display:none}
.pj-chain{overflow:visible}
.r41-tray{position:relative;z-index:1;grid-column:1/-1;min-width:0;margin:0 0 6px;padding:18px 4px 0;clip-path:inset(0 -40px -60px -40px)}
.pj-without:not(.is-wide) .pj-chain{align-content:start}
.r41-tray[hidden]{display:none}
.r41-tray-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0!important;padding:0!important;list-style:none}
.r41-tray-cards li{position:relative;display:grid;align-content:start;gap:3px;margin:0!important;padding:10px 11px 12px!important;border:1.5px dashed #c9cecb;border-radius:11px;background:#f4f3ee;box-shadow:0 14px 22px -18px rgba(29,45,43,.55);transform-origin:50% 0;filter:grayscale(1)}
.r41-tray-cards li{opacity:0;transition:opacity .18s ease}
.r41-tray.is-landed .r41-tray-cards li{opacity:1}
.r41-tray-cards li::after,.r41-tray-cards li::before{display:none!important}
.r41-tray-cards small{font:800 9.5px/1.2 Manrope,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#8a9492}
.r41-tray-cards b{font-size:14.5px;line-height:1.25;color:#7d8785}
.r41-tray-cards span{font-size:12px;line-height:1.4;color:#8a9492}
.r41-tray>.r41-hand{display:block;width:100%;max-width:calc(var(--hw) * 1em);height:auto;aspect-ratio:var(--hw)/1.1;margin:16px auto 0;font-size:21px;opacity:0;transition:opacity .9s ease}
.r41-tray.is-in>.r41-hand{opacity:1}
html[data-read=on] .r41-tray>.r41-hand,html[data-read=on] .r41-tray-cards li{transition:none;rotate:none}
.pj-chain.r41-closing{overflow:clip;overflow-clip-margin:22px}
