/* R20 – shared page UI on every page.
   Page menu, view options (dark view, easier reading), quiet page textures, readable image labels,
   the red-thread teaser that remembers your visit, first screens of the detail pages,
   the CSBA map, the Japan import note and Fio being held and dropped. */

/* ---------- page menu */
.nav-pages{position:relative;display:inline-flex;align-items:center}
.nav-pages>summary{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 2px;cursor:pointer;list-style:none;color:inherit;font:inherit;white-space:nowrap;user-select:none}
.nav-pages>summary::-webkit-details-marker{display:none}
.nav-pages>summary::marker{content:""}
.nav-pages>summary svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:rotate .2s}
.nav-pages[open]>summary svg{rotate:180deg}
.nav-pages>summary:focus-visible{outline:2px solid #304ee7;outline-offset:3px;border-radius:6px}
.nav-pages-panel{position:absolute;left:-14px;top:calc(100% + 10px);z-index:90;display:grid;gap:2px;width:min(330px,calc(100vw - 28px));padding:8px;border:1px solid #d6dbd4;border-radius:14px;background:#fffefa;box-shadow:0 22px 48px -20px rgba(29,45,43,.38);text-align:left;letter-spacing:0;text-transform:none}
.nav-pages-panel a{position:relative;display:grid!important;gap:1px;min-height:0!important;padding:9px 34px 9px 12px!important;border:0!important;border-radius:9px!important;background:none;color:#1d2d2b!important;text-decoration:none!important;line-height:1.35;font-weight:400;max-width:none!important}
.nav-pages-panel a b{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;letter-spacing:-.005em}
.nav-pages-panel a small{font-size:11.5px;color:#5c6866;font-weight:500}
.nav-pages-panel a:hover,.nav-pages-panel a:focus-visible{background:#f1efe6}
.nav-pages-panel a[aria-current=page]{background:#eef1fd}
.nav-pages-panel a[aria-current=page]::after{content:attr(data-here);position:absolute;right:12px;top:11px;font-size:10px;font-weight:700;color:#304ee7}
.nav-pages-panel a.is-visited:not([aria-current])::after{content:"✓";position:absolute;right:13px;top:10px;font-size:12px;font-weight:700;color:#2f8f5b}
.nav-pages-panel .nav-rf b{color:#9d302c}
.nav-pages-panel a{justify-content:start!important;justify-items:start;text-align:left!important;font-size:13px!important}
.nav-pages-panel a::before{display:none!important}
.nav-pages-panel a::after{left:auto!important;bottom:auto!important;width:auto!important;height:auto!important;background:none!important;transition:none!important}
.nav-pages-panel a:not([aria-current]):not(.is-visited)::after{content:none!important}
.mobile-nav .nav-mobile-pages{display:grid;gap:0;margin-bottom:10px}
.mobile-nav .nav-mobile-pages a{display:grid;gap:0}
.mobile-nav .nav-mobile-pages a small{font-size:11.5px;color:#5c6866}
.mobile-nav .nav-mobile-pages a[aria-current=page] b{color:#304ee7}
.mobile-nav .view-controls{margin:6px 10px 10px}

/* ---------- view options */
.view-controls{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}
.view-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;min-width:36px;padding:5px 11px;border:1px solid #c9d2d3;border-radius:99px;background:transparent;color:#435b65;font:650 11px/1 Manrope,Arial,sans-serif;letter-spacing:0;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.view-btn svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.view-btn[data-view=theme]{width:36px;padding:0}
.view-btn .i-sun{display:none}
html[data-theme=dark] .view-btn .i-sun{display:block}
html[data-theme=dark] .view-btn .i-moon{display:none}
.view-btn:hover{border-color:#9fb0b2;color:#1d2d2b}
.view-btn[aria-pressed=true]{color:#304ee7;border-color:#b9c4f5;background:#eef1fd}
.view-btn:focus-visible{outline:2px solid #304ee7;outline-offset:2px}
#motion-toggle[hidden]{display:none!important}
@media (max-width:1180px){.view-read span{display:none}.view-read{width:36px;padding:0}}
@media (max-width:760px){.site-header .header-inner>.view-controls{display:none}.mobile-nav .view-read span{display:inline}.mobile-nav .view-read{width:auto;padding:5px 11px}}

/* dark view: the page is turned to night, photos keep their real colours, drawings turn light */
html[data-theme=dark]{filter:invert(1) hue-rotate(180deg) contrast(.88);background:#f7f6ef}
html[data-theme=dark] :is(img,video,picture,canvas,iframe):not(.dm-line){filter:invert(1) hue-rotate(180deg)}
html[data-theme=dark] .family-map img,html[data-theme=dark] img.dm-line{filter:none}
html[data-theme=dark] .portrait-frame img{mix-blend-mode:normal}
html[data-theme=dark] .pj-wool{filter:invert(1) hue-rotate(180deg)}
html[data-theme=dark] .pj-wool img{filter:none}

/* easier reading: calm recycled paper, warmer light, no motion */
html[data-theme=dark][data-read=on]{filter:invert(1) hue-rotate(180deg) contrast(.86) sepia(.2)}
html[data-read=on] body{background:#efe8d7 url(/assets/images/papier-recycling.webp) repeat!important;background-size:512px 512px!important}
html[data-read=on] :is(.j-header,.site-header){background:rgba(239,232,215,.96)!important}
html[data-read=on] *,html[data-read=on] *::before,html[data-read=on] *::after{animation-duration:.001ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.001ms!important;transition-delay:0s!important}
html[data-read=on]{scroll-behavior:auto!important}

/* ---------- quiet page textures: the colour stays, the surface changes a little */
body.page-fuchsware{background:#f4f0e7 url(/assets/images/textur-karton.webp) repeat;background-size:512px 512px}
body.page-kundenservice{background-color:#f5f3ec;background-image:radial-gradient(circle,rgba(29,45,43,.1) 1px,transparent 1.35px);background-size:22px 22px}
body.page-profil{background-color:#f5f3ec;background-image:linear-gradient(rgba(48,78,231,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(48,78,231,.045) 1px,transparent 1px);background-size:30px 30px}

/* ---------- the red thread: one look on every page; tangled until you have seen it, a bow afterwards */
.rf-yarn{display:inline-block;flex:none;width:26px;height:22px;background:url(/assets/images/faden/faden-mini-knaeuel.webp) center/contain no-repeat;vertical-align:-6px}
.is-visited .rf-yarn{background-image:url(/assets/images/faden/faden-mini-schleife.webp);width:30px}
.rf-link{display:inline-flex;align-items:center;gap:9px;padding-bottom:11px;color:#9d302c!important;font-weight:750;text-decoration:none!important;background:url(/assets/images/faden/faden-quer.webp) left bottom/auto 13px repeat-x;border:0!important}
.rf-link:hover .rf-yarn,.rf-button:hover .rf-yarn,.deeper-links a[data-page=projekt]:hover .rf-yarn{animation:rf-wiggle .7s ease-in-out}
.rf-seen{font-size:.82em;font-weight:600;color:#5c6866}
.rf-button{display:inline-flex;align-items:center;gap:10px}
.rf-button .rf-yarn{filter:brightness(1.6) saturate(.9)}
.deeper-links a[data-page=projekt] strong{padding-bottom:9px;background:url(/assets/images/faden/faden-quer.webp) left bottom/auto 12px repeat-x}
.deeper-links a[data-page=projekt] i{display:inline-flex;align-items:center;gap:8px}
@keyframes rf-wiggle{0%,100%{rotate:0deg}30%{rotate:-14deg}62%{rotate:10deg}}

/* ---------- image labels: dark blocks that stay readable on any picture */
.workspace-picture .picture-label,.fig-overlay .picture-label{left:22px;top:20px;gap:6px;padding:10px 14px 11px;border-radius:6px;background:rgba(17,22,24,.74);color:#fff;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.workspace-picture figcaption,.fig-overlay figcaption{right:16px;bottom:14px;padding:4px 8px;border-radius:4px;background:rgba(17,22,24,.78);color:#fff;font-size:10px;line-height:1.35;letter-spacing:.02em}
.fig-overlay{position:relative}
.fig-overlay .picture-label{position:absolute;z-index:1;display:flex;flex-direction:column}
.fig-overlay .picture-label span:first-child{font-size:9px;letter-spacing:.15em}
.fig-overlay .picture-label span:last-child{font-size:18px;letter-spacing:-.02em}
.fig-overlay figcaption{position:absolute;z-index:1;margin:0!important;max-width:calc(100% - 32px)}
.work-image{position:relative}
.img-credit{position:absolute;right:10px;bottom:10px;z-index:1;padding:3px 7px;border-radius:4px;background:rgba(17,22,24,.78);color:#fff;font-size:9.5px;line-height:1.3;letter-spacing:.02em;pointer-events:none}
@media (max-width:760px){
  .workspace-picture .picture-label,.fig-overlay .picture-label{left:12px;top:12px;padding:7px 10px}
  .fig-overlay .picture-label span:first-child{font-size:7px}
  .fig-overlay .picture-label span:last-child{font-size:13px}
  .workspace-picture figcaption,.fig-overlay figcaption{right:8px;bottom:8px;font-size:8.5px}
}

/* ---------- detail pages: "Kurz gesagt" belongs on the first screen */
@media (min-width:1000px){
  .case-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,400px);column-gap:clamp(36px,4.5vw,64px);align-items:start;padding-block:44px 40px}
  .case-hero>*{grid-column:1}
  .case-hero>.page-gist{grid-column:2;grid-row:1 / span 4;margin:4px 0 0;padding:20px 22px}
  .case-hero .page-gist dl{grid-template-columns:1fr;gap:14px}
  .case-hero .page-gist dd{font-size:14.5px}
  .case-hero .display{font-size:clamp(44px,4.6vw,66px);margin:18px 0 20px}
  .case-hero .lead{font-size:18px}
  .page-profil .home-hero{padding-top:18px}
  .page-profil .hero-grid{padding:26px 0 18px;align-items:center}
  .page-profil .hero-copy h1{font-size:clamp(64px,6.6vw,96px)}
  .page-profil .hero-deck{margin-top:20px;font-size:21px}
  .page-profil .hero-intro{margin-top:12px!important}
  .page-profil .actions{margin-top:20px}
  .page-profil .portrait{max-width:330px;padding-top:0}
  .page-profil .home-hero>.page-gist{margin:6px 0 0;padding:16px 22px 18px}
  .page-profil .home-hero>.page-gist dd{font-size:14px}
}

/* ---------- profile: the current learning path on top, then the work history */
.timeline .learning-row{border-top:0}
.timeline .learning-row>span{color:var(--blue,#304ee7);font-weight:700}
.timeline-split{margin:0;padding:12px 0 2px;border-top:3px solid #1d2d2b;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#5c6866}
.timeline-split+article{border-top:0}

/* ---------- Amazon: customer service on behalf of sellers */
.csba-map{display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1.1fr) 64px minmax(0,1fr);align-items:center;margin:34px 0 6px}
.csba-node{display:grid;gap:3px;padding:18px 20px;border:1px solid var(--line,#d1d5cb);border-radius:14px;background:#fffefa}
.csba-tag{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#5c6866}
.csba-node strong{font-size:17px;letter-spacing:-.02em;line-height:1.3}
.csba-node small{font-size:12.5px;line-height:1.45;color:#5c6866}
.csba-me{border:1.5px solid var(--blue,#304ee7);background:#eef1fd}
.csba-me .csba-tag{color:var(--blue,#304ee7)}
.csba-link{position:relative;height:2px;margin:0 6px;background:repeating-linear-gradient(90deg,#8e9b98 0 6px,transparent 6px 11px)}
.csba-link::before,.csba-link::after{content:"";position:absolute;top:50%;width:7px;height:7px;border-top:2px solid #8e9b98;border-right:2px solid #8e9b98}
.csba-link::before{left:-1px;translate:0 -50%;rotate:-135deg}
.csba-link::after{right:-1px;translate:0 -50%;rotate:45deg}
.csba-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 28px;margin-top:30px}
.csba-rules article{padding-top:14px;border-top:2px solid #1d2d2b}
.csba-rules h3{font-size:18px;letter-spacing:-.02em;line-height:1.3}
.csba-rules p{margin-top:8px;font-size:14.5px;line-height:1.6;color:var(--muted,#5c6866)}
.csba-transfer{max-width:780px;margin-top:30px!important;font-size:17px;line-height:1.6}
@media (max-width:860px){
  .csba-map{grid-template-columns:1fr}
  .csba-link{justify-self:center;width:2px;height:34px;margin:6px 0;background:repeating-linear-gradient(180deg,#8e9b98 0 6px,transparent 6px 11px)}
  .csba-link::before{left:50%;top:-1px;translate:-50% 0;rotate:-45deg}
  .csba-link::after{left:50%;right:auto;top:auto;bottom:-1px;translate:-50% 0;rotate:135deg}
  .csba-rules{grid-template-columns:1fr}
}

/* ---------- Fuchsware: imports from Japan */
.import-callout{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px 20px;align-items:center;margin-top:22px;padding:18px 20px;border:1px solid #e2c9b0;border-radius:14px;background:#fbf4ea}
.import-route{display:inline-flex;align-items:center;gap:9px;padding:9px 13px;border-radius:999px;background:#1d2d2b;color:#fff;font-size:12px;font-weight:800;letter-spacing:.14em}
.import-route i{position:relative;display:inline-block;width:34px;height:2px;background:repeating-linear-gradient(90deg,#fff 0 5px,transparent 5px 9px)}
.import-route i::after{content:"";position:absolute;right:-1px;top:50%;width:6px;height:6px;border-top:2px solid #fff;border-right:2px solid #fff;translate:0 -50%;rotate:45deg}
.import-callout strong{display:block;font-size:16px;line-height:1.35;letter-spacing:-.01em}
.import-callout p{margin:6px 0 0!important;font-size:14px;line-height:1.6;color:#4a5654}
@media (max-width:560px){.import-callout{grid-template-columns:1fr}}

/* ---------- Fio: one clear question button; can be held and dragged sideways */
.fox-root .fox-actions{grid-template-columns:1fr}
.fox-root .fox-actions [data-fox-action=profile],.fox-root .fox-actions [data-fox-action=motion]{display:none}
.fox-root .fox-actions [data-fox-action=question]{order:-1;min-height:42px;border-color:#253e50;background:#253e50;color:#fff;font-size:12.5px}
.fox-root .fox-actions [data-fox-action=question]:hover{background:#1a2f3e}
.fox-root .fox-actions [data-fox-action=hint]{border-style:dashed;background:transparent}
.fox-root{translate:var(--fox-dx,0px) 0}
.fox-root .fox-toggle{touch-action:pan-y}
.fox-root[data-side=left] .fox-panel{right:auto;left:0;border-radius:16px 16px 16px 4px}
.fox-held-face{display:none}
.fox-root.is-held .fox-held-face{display:inline}
.fox-root.is-held :is(.fox-eyes,.fox-mouth){display:none}
.fox-root :is(.fox-paper,.fox-shadow){transform-box:fill-box;transform-origin:center}
.fox-root.is-held .fox-paper{animation:none;translate:0 -14px;rotate:-7deg;transition:translate .16s,rotate .16s}
.fox-root.is-held .fox-shadow{animation:none;opacity:.14;scale:.7;transition:opacity .16s,scale .16s}
.fox-root.is-held .fox-toggle{cursor:grabbing}
.fox-ouch{position:absolute;right:4px;bottom:calc(100% - 4px);padding:6px 10px;border-radius:12px 12px 3px 12px;background:#253e50;color:#fff;font-size:11.5px;font-weight:700;white-space:nowrap;opacity:0;translate:0 6px;transition:opacity .15s,translate .15s;pointer-events:none}
.fox-root[data-side=left] .fox-ouch{right:auto;left:4px;border-radius:12px 12px 12px 3px}
.fox-root.is-held .fox-ouch{opacity:1;translate:0 0}
.fox-root.is-dropped .fox-paper{animation:fox-drop 1.7s cubic-bezier(.33,.66,.36,1) both}
.fox-root.is-dropped .fox-shadow{animation:fox-drop-shadow 1.7s ease both}
@keyframes fox-drop{0%{translate:0 -14px;rotate:-7deg}24%{translate:0 7px;rotate:2deg;scale:1.07 .9}34%{translate:0 4px;scale:.97 1.03}44%{translate:0 7px;scale:1}72%{translate:0 7px;rotate:0deg}100%{translate:0 0;rotate:0deg;scale:1}}
@keyframes fox-drop-shadow{0%{opacity:.14;scale:.7}24%,72%{opacity:.78;scale:1.22 1}100%{opacity:.45;scale:1}}

@media print{.view-controls,.nav-pages-panel{display:none!important}html[data-theme=dark],html[data-read=on]{filter:none}}

/* ---------- portrait: glasses on hover, a grin on click – the original stays the base picture */
.portrait-alt{opacity:0;pointer-events:none;transition:opacity .34s ease}
[data-portrait][data-look=brille] .portrait-alt[data-variant=brille],[data-portrait][data-look=grinsen] .portrait-alt[data-variant=grinsen]{opacity:1}
[data-portrait] .portrait-alt[data-variant=grinsen]{transition-duration:.26s}
.hero-art .portrait-alt{z-index:1}
.portrait-frame .portrait-alt{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;mix-blend-mode:multiply}
[data-portrait] :is(.sketch-portrait,.portrait-frame>img){transition:opacity .34s ease,scale .45s cubic-bezier(.3,.7,.3,1)}
.hero-art[data-look] .sketch-portrait{scale:.978}
.portrait-frame[data-look]>img{scale:.965}
.portrait-play{position:absolute;z-index:3;padding:0;border:0;border-radius:42% 42% 46% 46%;background:transparent;cursor:pointer}
.portrait-play-fill{inset:0;border-radius:0}
.portrait-play:focus-visible{outline:2px dashed #304ee7;outline-offset:4px}
.portrait-chip{position:absolute;right:4%;bottom:6%;display:grid;place-items:center;width:34px;height:34px;border:1px solid #d6dbd4;border-radius:50%;background:rgba(255,254,250,.94);color:#1d2d2b;box-shadow:0 6px 16px -8px rgba(29,45,43,.5);transition:scale .2s,background .2s,color .2s}
.portrait-play-fill .portrait-chip{right:auto;left:10px;bottom:10px}
.portrait-chip svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.portrait-play:hover .portrait-chip{scale:1.08}
.portrait-play[aria-pressed=true] .portrait-chip{border-color:#304ee7;background:#304ee7;color:#fff}

/* ---------- drawings in the pages */
.about-art{display:block;width:min(100%,300px);height:auto;margin-top:30px}
.import-callout{grid-template-columns:minmax(150px,210px) minmax(0,1fr)}
.import-art{display:block;width:100%;height:auto}
.rule-art-row{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:18px;align-items:center}
.rule-art{display:block;width:112px;height:auto}
@media (max-width:560px){.import-callout{grid-template-columns:1fr}.import-art{max-width:260px}.rule-art-row{grid-template-columns:minmax(0,1fr) 84px}.rule-art{width:84px}}
/* the photo frame multiplies its pictures with the paper colour – show one picture at a time there */
.portrait-frame[data-look]>img:not(.portrait-alt){opacity:0}

/* ---------- R21: the Fuchsware logo and LinkedIn */
.company-chip{display:inline-flex;align-items:center;gap:12px;justify-self:start;margin-top:22px;padding:8px 16px 8px 8px;border:1px solid var(--line,#d1d5cb);border-radius:14px;background:#fffefa;color:var(--ink,#203033)!important;text-decoration:none!important;transition:border-color .15s,box-shadow .15s}
.company-chip:hover{border-color:#9fb0b2;box-shadow:0 10px 24px -18px rgba(29,45,43,.5)}
.company-chip img{display:block;width:52px;height:52px;border:1px solid #e3e6df;border-radius:12px}
.company-chip span{display:grid;gap:2px;line-height:1.25}
.company-chip strong{font-size:15px;letter-spacing:-.01em}
.company-chip small{font-size:12px;font-weight:650;color:var(--blue,#304ee7)}
.fw-mini{display:inline-block;flex:none;width:20px;height:20px;margin-right:7px;border:1px solid #e3e6df;border-radius:5px;vertical-align:-5px}
.nav-pages-panel .fw-mini,.nav-mobile-pages .fw-mini{width:18px;height:18px;margin-right:0}

/* ================================================================ R22
   Boxes as calm blocks of the page colour, textures easier to see, a new "Leichter lesen", Fio free on the page,
   the network in the family map, three highlighted cards, the status page that feels live with a rope at the end,
   the counter-check on /projekt and the portrait with smile, glasses and thumbs-up. */

/* ---------- textures: a little easier to see with the naked eye */
:root:root{--white:#fbfaf5}
body.page-fuchsware{background:#efe7d8 url(/assets/images/textur-karton-v2.webp) repeat;background-size:512px 512px}
body.page-kundenservice{position:relative;z-index:0;background-color:#f5f3ec;background-image:radial-gradient(circle,rgba(29,45,43,.17) 1.15px,transparent 1.6px);background-size:22px 22px;background-attachment:fixed}
body.page-profil{background-image:linear-gradient(rgba(48,78,231,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(48,78,231,.075) 1px,transparent 1px)}
body.page-projekt{background-image:url(/assets/images/papier-v2.webp)}
body.page-status{background-color:#f4f5f0;background-image:radial-gradient(circle,rgba(47,143,78,.15) 1.05px,transparent 1.5px);background-size:26px 26px}
/* Amazon: the dots answer the mouse – bigger and bluish where the pointer is */
.dot-glow{position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:0;transition:opacity .4s;background-image:radial-gradient(circle,rgba(48,78,231,.7) 2.2px,transparent 2.7px);background-size:22px 22px;-webkit-mask-image:radial-gradient(circle 160px at var(--mx,-999px) var(--my,-999px),#000 0,rgba(0,0,0,.5) 45%,transparent 100%);mask-image:radial-gradient(circle 160px at var(--mx,-999px) var(--my,-999px),#000 0,rgba(0,0,0,.5) 45%,transparent 100%)}
.dot-glow.is-on{opacity:1}

/* ---------- boxes: "Kurz gesagt" as a calm block of the page colour – no texture, no bright white */
.page-gist{background:var(--gist-bg,#f6f4ee)!important;border:1px solid rgba(29,45,43,.14)!important;border-top:3px solid var(--gist-accent,#304ee7)!important;border-radius:14px!important;box-shadow:0 22px 44px -36px rgba(29,45,43,.55)}
.page-gist .page-gist-label{display:inline-block;padding:4px 11px;border-radius:99px;background:color-mix(in srgb,var(--gist-accent,#304ee7) 10%,transparent)}
body.page-kundenservice{--gist-bg:#f5f3ec}
body.page-profil{--gist-bg:#f7f6f0}
body.page-projekt{--gist-bg:#f6f2e8}
body.page-fuchsware{--gist-bg:#efe7d8;--gist-accent:#8a5a2b}
.csba-node,.company-chip{background:#fbfaf5}
body.page-fuchsware .import-callout{background:#f5eee2}

/* ---------- easier reading: warm light (like the eye-comfort mode of a phone), darker text, nothing moves.
   No filter on the page any more, so boxes stay warm instead of greenish – and nothing changes size or position. */
html[data-read=on]{filter:none;--muted:#3f4b49;--ink:#17262a}
.read-warmth{position:fixed;inset:0;z-index:2147483000;display:none;pointer-events:none;background:#ffcf8f;mix-blend-mode:multiply;opacity:.16}
html[data-read=on]:not([data-theme=dark]) .read-warmth{display:block}
html[data-read=on] body{background:#f3ecdc url(/assets/images/papier-recycling.webp) repeat!important;background-size:512px 512px!important}
html[data-read=on] :is(.hero-invite,.hero-meta,.profile-heading>p,.profile-facts p,.deeper-links span,.experience-note,.family-ticket p){color:#2f3d44!important}
html[data-read=on] :is(.dot-glow,.hero-doodle,.hero-spark){display:none!important}
@media print{.read-warmth{display:none!important}}

/* ---------- dark view: Fio stays the frosty white fox */
html[data-theme=dark] .fox-root .fox-art{filter:invert(1) hue-rotate(180deg) drop-shadow(0 4px 4px rgba(42,70,86,.06))}
html[data-theme=dark] .fox-root[data-crowded=true] .fox-art{filter:invert(1) hue-rotate(180deg)}

/* ---------- Fio can be carried anywhere on the page */
.fox-root .fox-toggle{touch-action:none}
.fox-root[data-user-placed=true]{left:var(--fox-x)!important;top:var(--fox-y)!important;right:auto!important;bottom:auto!important;translate:none!important}
.fox-root[data-user-placed=true][data-crowded=true]{opacity:1!important;visibility:visible!important}
.fox-root[data-user-placed=true][data-crowded=true] .fox-toggle{pointer-events:auto!important}
.fox-root[data-user-placed=true][data-side] .fox-panel{left:var(--fox-panel-left,auto);right:auto;max-height:var(--fox-panel-max,430px);border-radius:16px}
.fox-root[data-user-placed=true][data-side] .fox-panel:after{left:var(--fox-arrow-left,auto);right:auto}
.fox-root[data-user-placed=true][data-panel-below=true] .fox-panel{top:112px;bottom:auto}
.fox-root[data-user-placed=true][data-panel-below=true] .fox-panel:after{top:-7px;bottom:auto;transform:rotate(225deg)}
.fox-root[data-user-placed=true][data-panel-below=true] .fox-ouch{bottom:auto;top:calc(100% - 2px)}
.fox-root[data-user-placed=true][data-side=left] .fox-greeting{right:auto;left:calc(100% + 8px)}
@media (max-width:760px){.fox-root[data-user-placed=true][data-panel-below=true] .fox-panel{top:86px}}

/* ---------- start page: the fourth task as one card with a crisp plus; the link is the red thread */
.fourth-task{margin-top:40px;padding:0 24px;border:1px solid rgba(212,220,255,.32)!important;border-radius:16px;background:rgba(255,255,255,.06);transition:background .25s}
.fourth-task[open],.fourth-task:hover{background:rgba(255,255,255,.1)}
.fourth-task summary{padding:20px 0}
.fourth-task b.ft-toggle{display:grid;flex:none;place-items:center;width:34px;height:34px;border:1.5px solid rgba(255,255,255,.55);border-radius:50%;transition:transform .3s cubic-bezier(.3,1.4,.5,1)}
.fourth-task b.ft-toggle svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.fourth-task[open] b.ft-toggle{transform:rotate(45deg)}
.fourth-task>div{padding:2px 0 26px}
.fourth-task a.rf-link{display:inline-flex;align-items:center;margin-top:4px;color:#ffd9d1!important;font-size:13px;font-weight:700;text-decoration:none}
.fourth-task a.rf-link .rf-yarn{filter:brightness(1.45) saturate(.95)}
@media (max-width:760px){.fourth-task{padding:0 16px;margin-top:28px}}

/* the three cards: phone cord for Amazon, packing tape for Fuchsware, wool for the red thread */
.deeper-links a.card-ks strong{padding-bottom:11px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 1.70L-10.22 1.73L-10.44 1.81L-10.64 1.95L-10.82 2.14L-10.97 2.38L-11.08 2.67L-11.16 2.99L-11.19 3.35L-11.17 3.74L-11.10 4.15L-10.98 4.57L-10.80 5.00L-10.56 5.43L-10.27 5.85L-9.92 6.26L-9.52 6.65L-9.08 7.01L-8.58 7.33L-8.05 7.62L-7.48 7.86L-6.89 8.05L-6.27 8.19L-5.64 8.27L-5.00 8.30L-4.36 8.27L-3.73 8.19L-3.11 8.05L-2.52 7.86L-1.95 7.62L-1.42 7.33L-0.92 7.01L-0.48 6.65L-0.08 6.26L0.27 5.85L0.56 5.43L0.80 5.00L0.98 4.57L1.10 4.15L1.17 3.74L1.19 3.35L1.16 2.99L1.08 2.67L0.97 2.38L0.82 2.14L0.64 1.95L0.44 1.81L0.22 1.73L0.00 1.70L-0.22 1.73L-0.44 1.81L-0.64 1.95L-0.82 2.14L-0.97 2.38L-1.08 2.67L-1.16 2.99L-1.19 3.35L-1.17 3.74L-1.10 4.15L-0.98 4.57L-0.80 5.00L-0.56 5.43L-0.27 5.85L0.08 6.26L0.48 6.65L0.92 7.01L1.42 7.33L1.95 7.62L2.52 7.86L3.11 8.05L3.73 8.19L4.36 8.27L5.00 8.30L5.64 8.27L6.27 8.19L6.89 8.05L7.48 7.86L8.05 7.62L8.58 7.33L9.08 7.01L9.52 6.65L9.92 6.26L10.27 5.85L10.56 5.43L10.80 5.00L10.98 4.57L11.10 4.15L11.17 3.74L11.19 3.35L11.16 2.99L11.08 2.67L10.97 2.38L10.82 2.14L10.64 1.95L10.44 1.81L10.22 1.73L10.00 1.70L9.78 1.73L9.56 1.81L9.36 1.95L9.18 2.14L9.03 2.38L8.92 2.67L8.84 2.99L8.81 3.35L8.83 3.74L8.90 4.15L9.02 4.57L9.20 5.00L9.44 5.43L9.73 5.85L10.08 6.26L10.48 6.65L10.92 7.01L11.42 7.33L11.95 7.62L12.52 7.86L13.11 8.05L13.73 8.19L14.36 8.27L15.00 8.30L15.64 8.27L16.27 8.19L16.89 8.05L17.48 7.86L18.05 7.62L18.58 7.33L19.08 7.01L19.52 6.65L19.92 6.26L20.27 5.85L20.56 5.43L20.80 5.00L20.98 4.57L21.10 4.15L21.17 3.74L21.19 3.35L21.16 2.99L21.08 2.67L20.97 2.38L20.82 2.14L20.64 1.95L20.44 1.81L20.22 1.73L20.00 1.70' fill='none' stroke='%23304ee7' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left bottom/12px 11px repeat-x}
.deeper-links a.card-fw strong{padding-bottom:11px;background:url(/assets/images/klebeband.webp) left bottom 1px/auto 13px repeat-x}
.deeper-links a .ks-icon{display:inline-block;flex:none;width:22px;height:22px;margin-right:7px;vertical-align:-6px;object-fit:contain}
.deeper-links a .fw-mini{width:22px;height:22px;vertical-align:-6px}
.deeper-links a.card-ks:hover .ks-icon,.deeper-links a.card-fw:hover .fw-mini{animation:rf-wiggle .7s ease-in-out}
html[data-theme=dark] .deeper-links a .ks-icon{filter:invert(1) hue-rotate(180deg)}

/* CVs: a little bigger */
@media (min-width:900px){
  .profile-downloads{padding:38px 38px 34px}
  .profile-downloads h3{font-size:42px}
  .profile-downloads a{padding-top:20px;padding-bottom:20px;font-size:14px}
}

/* ---------- LinkedIn in every footer */
.footer-li{display:inline-flex;align-items:center;gap:6px;color:#0a66c2!important;font-weight:700;text-decoration:none!important;white-space:nowrap}
.footer-li:hover{text-decoration:underline!important;text-underline-offset:4px}
.li-icon{display:block;flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* ---------- portrait: hover → smile and a small step back; click → glasses; after the day → thumbs-up */
.hero-art[data-look] .sketch-portrait,.portrait-frame[data-look]>img{scale:1}
.hero-art.is-hover .sketch-portrait{scale:.978}
.portrait-frame.is-hover>img{scale:.965}
[data-portrait][data-look=laecheln] .portrait-alt[data-variant=laecheln]{opacity:1}
.portrait-frame[data-look].is-fading>img:not(.portrait-alt){opacity:1}
.hero-art .portrait-thumb{z-index:4;opacity:0;transform-origin:74% 96%;pointer-events:none}
.hero-art.is-thumbs .portrait-thumb{opacity:1;animation:thumb-pop .8s cubic-bezier(.3,1.55,.5,1) both}
.hero-art .paper-label{transition:right .6s cubic-bezier(.3,1.4,.5,1),bottom .6s cubic-bezier(.3,1.4,.5,1)}
@keyframes thumb-pop{0%{opacity:0;transform:translateY(40px) rotate(-16deg) scale(.55)}100%{opacity:1;transform:none}}

/* ---------- status page: alive, like a real status page */
.status-hero h1 em{color:#17924c;text-shadow:0 0 24px rgba(38,190,100,.35)}
.h1-ping{position:relative;display:inline-block;width:.15em;height:.15em;margin-left:.14em;border-radius:50%;background:#25b062;vertical-align:.6em;box-shadow:0 0 14px rgba(37,176,98,.65)}
.status-banner{position:relative;overflow:hidden}
.status-banner .status-dot{position:relative;width:14px;height:14px}
.h1-ping::before,.h1-ping::after,.status-banner .status-dot::before,.status-banner .status-dot::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid rgba(37,176,98,.6);opacity:0}
.status-check{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:5px 12px;border-radius:99px;background:#e3f2e7;color:#1f6b3b;font-size:12.5px;font-weight:700}
.status-check i{width:8px;height:8px;border-radius:50%;background:#25b062}
.status-check b{font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:no-preference){
  .h1-ping::before,.h1-ping::after,.status-banner .status-dot::before,.status-banner .status-dot::after{animation:status-ring 1.6s cubic-bezier(.2,.6,.3,1) infinite}
  .h1-ping::after,.status-banner .status-dot::after{animation-delay:.8s}
  .status-banner .status-dot,.status-check i{animation:status-beat 1.6s ease-in-out infinite!important}
  .status-banner::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 0 40%,rgba(255,255,255,.5) 50%,transparent 60% 100%);transform:translateX(-100%);animation:status-scan 4.8s ease-in-out infinite}
  .components.is-checking li .status-dot{animation:comp-ping .9s ease-out both;animation-delay:calc(var(--i,0) * 110ms)}
}
@keyframes status-ring{0%{transform:scale(1);opacity:.85}100%{transform:scale(3.4);opacity:0}}
@keyframes status-beat{0%,100%{transform:scale(1)}12%{transform:scale(1.25)}30%{transform:scale(.95)}46%{transform:scale(1.07)}}
@keyframes status-scan{0%,55%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@keyframes comp-ping{0%{box-shadow:0 0 0 0 rgba(47,143,78,.55);transform:scale(1)}40%{transform:scale(1.35)}100%{box-shadow:0 0 0 12px rgba(47,143,78,0);transform:scale(1)}}
.components li{transition:background .3s}
.components li:hover{background:#f0f6f1}
.status-facts{max-width:1120px!important}
.status-banner{max-width:1120px!important}
@media (min-width:1000px){.case-hero.status-hero{display:block}}
.fact-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px 6px;margin-top:2px}
.fact-chips span{display:inline-block;padding:2px 10px;border:1px solid #cfe3d4;border-radius:99px;background:#f2f8f3;line-height:1.5;white-space:nowrap}
.fact-chips small{flex-basis:100%;margin-top:2px;color:var(--muted,#5c6866);font-size:12.5px}
.components,.history,.notice{background:#fbfaf6!important}

/* the rope at the end: a long red thread with a bow – pull it (hover) and it stretches, but it holds */
.rope-cta{display:block;width:min(1120px,calc(100% - 40px));margin:4px auto 80px;color:inherit!important;text-decoration:none!important}
.rope{position:relative;display:flex;align-items:center;height:150px}
.rope-line{flex:1;min-width:0;height:36px;background:url(/assets/images/faden/faden-quer.webp) repeat-x left center/auto 36px}
.rope-l{margin-right:-40px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10%);mask-image:linear-gradient(90deg,transparent 0,#000 10%)}
.rope-r{margin-left:-40px;-webkit-mask-image:linear-gradient(270deg,transparent 0,#000 10%);mask-image:linear-gradient(270deg,transparent 0,#000 10%)}
.rope-knot{position:relative;z-index:1;flex:none;width:213px;height:145px}
.rope-knot img{position:absolute;left:50%;top:50%;width:145px;height:213px;max-width:none;transform:translate(-50%,-50%) rotate(-90deg)}
.rope-text{display:grid;justify-items:center;gap:4px;margin-top:-10px;text-align:center}
.rope-text b{color:#9d302c;font-size:clamp(20px,2.4vw,26px);letter-spacing:-.02em}
.rope-text small{color:var(--muted,#5c6866);font-size:14px}
.rope-cta:hover .rope-text b,.rope-cta:focus-visible .rope-text b{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
@media (prefers-reduced-motion:no-preference){
  .rope-cta:hover .rope,.rope-cta:focus-visible .rope{animation:rope-pull 1.05s cubic-bezier(.25,1.35,.4,1)}
  .rope-cta:hover .rope-knot img,.rope-cta:focus-visible .rope-knot img{animation:knot-hold 1.05s cubic-bezier(.25,1.35,.4,1)}
}
@keyframes rope-pull{0%{transform:scale(1,1)}28%{transform:scale(1.05,.82)}52%{transform:scale(.99,1.05)}74%{transform:scale(1.01,.98)}100%{transform:scale(1,1)}}
@keyframes knot-hold{0%{transform:translate(-50%,-50%) rotate(-90deg) scale(1)}28%{transform:translate(-50%,-50%) rotate(-90deg) scale(1,.8)}52%{transform:translate(-50%,-50%) rotate(-90deg) scale(1,1.06)}100%{transform:translate(-50%,-50%) rotate(-90deg) scale(1)}}
@media (max-width:760px){.rope{height:112px}.rope-knot{width:158px;height:108px}.rope-knot img{width:108px;height:158px}.rope-line{height:28px;background-size:auto 28px}.rope-cta{margin-bottom:56px}}
