/* Decorative motion is activated only after the content is readable. */
.hair-story { position:relative; border-bottom:1px solid #bba59d; }
.hair-story figure { margin:0; }
.hair-story figure img { border-radius:0; }
.hair-story figure:nth-child(2) { border-left:1px solid #bc9da2; padding-left:clamp(.4rem,1vw,.9rem); }
.hair-story figcaption { border-top:1px solid #b19296; padding-top:.45rem; font:italic .95rem 'Atelier Display',Georgia,serif; color:#653c48; }
.friseur .salon-prices { border-top:0; background:linear-gradient(90deg,transparent 49.9%,#70504413 50%,transparent 50.1%); }
.barbershop #angebot { position:relative; }
.barbershop #angebot::before { content:''; position:absolute; top:0; left:0; width:100%; height:3px; transform-origin:left; background:linear-gradient(90deg,#f1ce94,#8d7548 65%,transparent); }
.barbershop #besuch { background:repeating-linear-gradient(132deg,#ffffff05 0 1px,transparent 1px 9px),#23251f; }
.shop-hours { padding:1.25rem 1.5rem; border:1px solid #bba77877; border-left:3px solid #d0a866; }
.barber-board .rates div:last-child { border-bottom-color:#b99655; }
.forest-scene { overflow:clip; }
.forest-glass { isolation:isolate; overflow:hidden; }
.forest-glass::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse at 98% 0%,#b3e4a41a,transparent 58%); }
.ritual-deck { min-width:0; }
.ritual-pages { display:grid; gap:.9rem; }
.ritual-page { border:1px solid #a6b49f; border-radius:2rem .45rem 2rem .45rem; padding:clamp(1.3rem,3.5vw,3rem); background:radial-gradient(ellipse at 100% 0%,#d8e4ce,transparent 68%),#f1f2e6; }
.ritual-page h3 { margin:.75rem 0; color:#344c3d; font:400 clamp(1.9rem,3.4vw,3.2rem)/1.08 'Atelier Display',Georgia,serif; letter-spacing:-.045em; }
.ritual-page .ritual-length { font:.88rem ui-monospace,monospace; color:#415a43; }
.ritual-page details { margin-top:1rem; }
.beauty .ritual-page details summary { font:600 .95rem system-ui,sans-serif; }
.ritual-controls { display:flex; gap:.8rem; align-items:center; justify-content:space-between; margin:.8rem .2rem 0; }
.ritual-controls[hidden],.ritual-page[hidden],.material-controls[hidden] { display:none; }
.ritual-controls button { flex:none; width:44px; min-height:44px; border:1px solid #526a57; border-radius:50%; background:#fffaf2; color:#234832; cursor:pointer; font:1.2rem system-ui,sans-serif; }
.ritual-controls span { text-align:center; font-size:.86rem; color:#344d3c; }
.press-lookbook:has(#look-butter:checked) { background:#f0d99c; }
.press-lookbook:has(#look-cobalt:checked) { background:#b8c9f6; color:#181e50; }
.look-notes { padding:.8rem 0 0; font-size:.93rem; }
.look-notes p { display:none; max-width:76ch; }
#look-cherry:checked ~ .look-notes .note-cherry,#look-butter:checked ~ .look-notes .note-butter,#look-cobalt:checked ~ .look-notes .note-cobalt { display:block; }
.press-wall label::before { content:''; background:#882742; width:.65rem; height:.65rem; border-radius:50%; border:1px solid #fff9; margin-right:.4rem; }
.press-wall label[for="look-butter"]::before { background:#f2d363; }
.press-wall label[for="look-cobalt"]::before { background:#234997; }
.architect-body { background-image:linear-gradient(90deg,#47534309 1px,transparent 1px); background-size:clamp(3rem,9vw,9rem) 100%; }
.architect-view .architect-plates { position:relative; }
.architect-view.is-split .architect-plates figure { opacity:1; visibility:visible; transition:none; }
.architect-view.is-split .architect-plates figure:first-child { z-index:0; }
.architect-view.is-split .architect-plates figure:nth-child(2) { z-index:1; clip-path:inset(0 calc(100% - var(--detail-width)) 0 0); }
.architect-view.is-split .architect-plates img { transform:none; }
.compare-divider { display:none; }
.is-split .compare-divider { display:block; position:absolute; z-index:2; top:0; bottom:0; left:var(--detail-width); width:2px; background:#fff9dc; box-shadow:0 0 0 1px #2d352b88; pointer-events:none; }
.material-controls { display:grid; grid-template-columns:1fr auto; gap:0 .8rem; align-items:center; padding:.6rem 0; }
.architect-view .material-controls label { min-height:0; display:block; border:0; padding:0; margin:0; grid-column:1/-1; font-weight:650; }
.architect-view .material-controls input { position:static; opacity:1; width:100%; height:44px; accent-color:#34533e; cursor:ew-resize; }
.material-controls output { min-width:4ch; font:.85rem ui-monospace,monospace; text-align:right; }
.architect-body .process li { position:relative; border-color:#6e7e69; }
.race-timetable .tour-info { grid-column:1/-1; min-width:0; }
.tour-info summary { display:list-item; cursor:pointer; min-height:44px; align-content:center; font-size:.9rem; text-decoration:underline; text-underline-offset:.25em; }
.race-timetable .tour-info p { margin:0 0 .65rem; }
.dienstleister .cycle-prices { background:linear-gradient(122deg,#e1e8d9 0 80%,#cddbc5 80% 87%,#dde7d6 87%); }
.race-timetable .departure-title { position:relative; }
.race-timetable .departure-title::after { content:''; position:absolute; left:0; bottom:-.5rem; height:3px; width:100%; background:linear-gradient(90deg,#cdea85,#7aae7b); transform-origin:left; }
@media(prefers-reduced-motion:no-preference) {
    .hair-story.scene-enter figure:nth-child(2) img { animation:hair-mask .58s cubic-bezier(.22,.68,.22,1) backwards; }
    .hair-story.scene-enter figure:last-child img { animation:hair-mask .58s .07s cubic-bezier(.22,.68,.22,1) backwards; }
    .barber-board.scene-enter::before { animation:rule-in .54s ease-out; }
    .barber-board.scene-enter .rates div { animation:board-row .43s ease-out backwards; }
    .barber-board.scene-enter .rates div:nth-child(2) { animation-delay:.06s; }
    .barber-board.scene-enter .rates div:nth-child(3) { animation-delay:.12s; }
    .barbershop .scene-enter .shop-hours { animation:board-row .55s .06s ease-out backwards; }
    .ritual-page:not([hidden]) { animation:ritual-in .45s ease-out; }
    .press-lookbook { transition:background-color .4s ease,color .4s ease; }
    .look-notes p { animation:board-row .35s ease-out; }
    .race-timetable:has(.scene-enter) .departure-title::after { transform:scaleX(clamp(.12,var(--route-progress,1),1)); }
    .race-timetable .tour-info[open] p { animation:board-row .32s ease-out; }
    @keyframes hair-mask { from { clip-path:inset(0 7% 11% 0); opacity:.7; } to { clip-path:inset(0); opacity:1; } }
    @keyframes board-row { from { opacity:.68; transform:translateX(-.5rem); } }
    @keyframes ritual-in { from { opacity:.72; transform:translateY(.55rem); } }
    @supports(animation-timeline:view()) {
        .architect-body .process { background:linear-gradient(#4c6850,#4c6850) left top / 0 3px no-repeat; animation:joinery-progress linear both; animation-timeline:view(); animation-range:entry 10% cover 65%; }
        @keyframes joinery-progress { to { background-size:100% 3px; } }
    }
}
@media(min-width:52rem) {
    .hair-story { align-items:start; }
    .hair-story > div { position:sticky; top:2rem; }
    .hair-story figure:last-child { align-self:end; margin-bottom:1.2rem; }
}
@media(max-width:42rem) {
    .friseur .salon-prices { background:none; }
    .ritual-controls { gap:.3rem; }
    .race-timetable .departure-title::after { width:55%; }
}

#ansicht-detail:checked ~ .architect-plates figure:nth-of-type(2) { opacity:1; visibility:visible; z-index:1; }
#ansicht-detail:checked ~ .architect-plates figure:nth-of-type(2) img { transform:none; }

/* Full-width chapters below the campaign scenes. */
.hair-paper { background:linear-gradient(168deg,#482332 0 2.75rem,#f4e9dc 2.8rem 100%); padding-top:2rem; }
.hair-paper .hair-story { border:0; }
.hair-paper .hair-story h2 { font-size:clamp(2.45rem,4.8vw,5.3rem); line-height:.96; }
.hair-paper .hair-story figure:nth-child(2) { border:0; padding:0; box-shadow:-.65rem .65rem 0 #dbc3bb; }
.friseur .salon-prices { width:100%; margin:0; padding:clamp(2.7rem,5vw,5.5rem) max(5.5vw,calc((100vw - 72rem)/2)); background:#472734; color:#fff2df; border:0; }
.friseur .salon-prices .rates div { border-color:#ab8b8d; }
.hair-portrait-chapter { display:grid; grid-template-columns:1.15fr .85fr; background:#efe0d5; color:#522d3b; align-items:center; }
.hair-portrait-chapter figure { height:100%; overflow:hidden; }
.hair-portrait-chapter img { height:100%; min-height:22rem; max-height:37rem; object-fit:cover; object-position:55% 42%; }
.hair-portrait-chapter>div { padding:clamp(2rem,5vw,5rem); }
.hair-portrait-chapter h2 { font:400 clamp(3rem,6.6vw,7rem)/.89 'Atelier Display',Georgia,serif; margin:.65rem 0 1.4rem; }
.friseur #besuch.visit { background:linear-gradient(177deg,#efe0d5 0 1.8rem,#debab8 1.85rem); color:#442735; padding-top:clamp(4.4rem,8vw,8rem); }
.friseur #besuch .visit-row>div:last-child { border-color:#946d71; }
.barber-vault { color:#f8eacc; background:repeating-linear-gradient(0deg,transparent 0 4px,#ffffff04 4px 5px),linear-gradient(115deg,#090e0d,#27291f 68%,#111611); border-top:1px solid #af9259; }
.barber-vault .barber-board { padding-block:clamp(3.5rem,8vw,8rem); }
.barber-vault .rates { background:#111511a6; border:1px solid #88744d; padding:.3rem clamp(1rem,2vw,2rem); }
.barber-vault .rates div:last-child { border:0; }
.barbershop #besuch { padding:0; background:radial-gradient(ellipse at top left,#383b2d,transparent 66%),#111611; }
.barber-goldband { padding:1rem 0; background:repeating-linear-gradient(125deg,transparent 0 16rem,#4331190d 16rem 17rem),#ddb56d; color:#231e14; }
.barber-goldband p { max-width:72rem; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.4rem 2rem; font:700 1.08rem 'Block Condensed',Impact,sans-serif; text-transform:uppercase; letter-spacing:.075em; }
.barbershop #besuch .barber-visit { grid-template-columns:.8fr 1.2fr; align-items:center; padding-block:clamp(2.7rem,6vw,6rem); }
.chair-frame { position:relative; border-left:3px solid #bc985a; padding-left:.75rem; }
.chair-frame img { aspect-ratio:1.85; filter:grayscale(.8) contrast(1.13); object-position:50% 30%; }
.chair-frame figcaption { color:#eacb91; font-family:ui-monospace,monospace; }
.spa-meadow { background:radial-gradient(110% 4rem at 38% 0%,#103a35 98%,transparent 100%),radial-gradient(ellipse at 20% 60%,#f2f3de,transparent 55%),#d4e0d0; padding-top:3rem; }
.spa-meadow .rituals { border:0; }
.spa-meadow .ritual-page { background:linear-gradient(165deg,#fffcf1,#f2f3e8); box-shadow:0 .7rem 2rem #2d4b3214; }
.spa-pause { display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:clamp(1.5rem,5vw,5rem); padding:clamp(2rem,5vw,5rem) 6vw; background:#f6f2e5; color:#345444; }
.spa-pause figure { overflow:hidden; border-radius:6rem .35rem 6rem .35rem; }
.spa-pause img { aspect-ratio:1.68; }
.spa-pause h2 { font:normal clamp(2.7rem,5vw,5.4rem)/.96 'Atelier Display',Georgia,serif; margin:.6rem 0 1.2rem; }
.spa-pause h2 em { font:normal 1.2em/1 'Seve Script',cursive; }
.beauty #besuch.spa-arrival { color:#f5f4dd; background:radial-gradient(120% 2.8rem at 64% 0%,#f6f2e5 98%,transparent 100%),radial-gradient(ellipse at 25% 90%,#316853,transparent 55%),#103c39; padding-top:clamp(4.6rem,7vw,7rem); }
.press-darkroom { color:#fff0e0; background:#35162d; padding-top:.7rem; }
.press-darkroom .press-process { grid-template-columns:1fr 1fr; padding-block:clamp(3rem,6vw,6rem); }
.press-darkroom figure { position:relative; padding:.6rem .6rem 1.8rem; background:#fff1da; transform:rotate(-2deg); box-shadow:.65rem .65rem 0 #bc6d91; }
.press-darkroom figure img { aspect-ratio:1.65; }
.press-darkroom h2 { font:italic 800 clamp(2.2rem,4.2vw,4.6rem)/.95 'Farbprobe Black',system-ui,sans-serif; }
.press-priceband { padding:1.2rem 0 .65rem; background:linear-gradient(175deg,#35162d 0 1.3rem,#f3d875 1.35rem); color:#3d1d33; }
.press-priceband .nail-prices .rates { gap:clamp(.85rem,2vw,2rem); }
.press-priceband .rates div { background:#fff3c2; padding:1rem; border:1px solid #785643; box-shadow:.23rem .23rem 0 #ad8254; }
.nagelstudio #besuch { background:linear-gradient(175deg,#f3d875 0 1.25rem,#c6d6fd 1.3rem); color:#262457; padding-top:clamp(3.7rem,6vw,6rem); }
.press-hours { border-left:3px solid #343478; padding-left:1.2rem; }
.wood-gallery-plinth { background:linear-gradient(90deg,#ffffff08 1px,transparent 1px) 0 0/5rem 100%,linear-gradient(115deg,#252923,#39362a 85%); color:#eee9d7; }
.wood-gallery-plinth .architecture-atlas { padding-block:clamp(3rem,7vw,7rem); gap:clamp(1.3rem,4.5vw,5rem); }
.wood-gallery-plinth .architect-view label { color:#f9f1d9; }
.wood-gallery-plinth .architect-view input:checked+label { border-color:#d7c49e; }
.wood-gallery-plinth .material-controls input { accent-color:#d6be91; }
.wood-gallery-plinth .architect-view input:focus-visible+label { outline-color:#ffdf95; }
.handwerk #projekt { width:100%; padding:clamp(2.5rem,5.5vw,6rem) max(5.5vw,calc((100vw - 72rem)/2)); background:linear-gradient(#4755410c 1px,transparent 1px) 0 0/4rem 4rem,linear-gradient(90deg,#4755410c 1px,transparent 1px) 0 0/4rem 4rem,#eee9dc; }
.handwerk #projekt .project-details { padding:clamp(1rem,2vw,2rem); background:#d7c6aa; }
.handwerk #projekt .craft-note { background:#ebe4d2; }
.handwerk #angebot.wood-services { background:#343c33; color:#f5efdc; border-top:.45rem solid #bd9b71; }
.wood-visit { background:linear-gradient(90deg,#ffffff0d 1px,transparent 1px) 0 0/5rem 100%,#202a24; color:#f4e7cf; border-top:1px solid #89907a; }
.cycle-pit { margin-top:1.15rem; padding:clamp(2.5rem,5vw,5rem) 0; background:linear-gradient(174deg,#f1f3e8 0 2rem,#112733 2.05rem 80%,#1e3940 80% 96%,#b5ef41 96.1%); color:#f3f7e6; }
.cycle-pit .dispatch-story { padding-block:1.6rem; }
.cycle-pit .dispatch-story img { border-radius:0; clip-path:polygon(0 0,100% 0,100% 79%,91% 100%,0 100%); }
.cycle-pit .kicker,.cycle-pit a { color:#dcff93; }
.dienstleister #angebot.cycle-prices { background:linear-gradient(174deg,#b5ef41 0 81%,#c7f56d 81.1% 90%,#b5ef41 90.1%); color:#152b2f; padding-block:clamp(3rem,6vw,6rem); }
.dienstleister #angebot .rates { background:#182f37; color:#fff9e3; padding:.35rem 1.3rem; border-left:.4rem solid #58792f; }
@media(prefers-reduced-motion:no-preference) {
    @supports(animation-timeline:view()) {
        .hair-portrait-chapter img { animation:chapter-portrait linear both; animation-timeline:view(); animation-range:entry 0% cover 62%; }
        .spa-pause img { animation:chapter-soften linear both; animation-timeline:view(); animation-range:entry 0% cover 55%; }
        .press-darkroom figure { animation:chapter-print linear both; animation-timeline:view(); animation-range:entry 0% cover 55%; }
        .wood-gallery-plinth .architect-plates,.cycle-pit .dispatch-story img { animation:chapter-reveal linear both; animation-timeline:view(); animation-range:entry 0% entry 95%; }
        .chair-frame img { animation:chapter-silver linear both; animation-timeline:view(); animation-range:entry 0% cover 65%; }
        @keyframes chapter-portrait { from { transform:scale(1.055); } to { transform:scale(1); } }
        @keyframes chapter-soften { from { transform:scale(1.045); filter:saturate(.7); } to { transform:none; filter:saturate(1); } }
        @keyframes chapter-print { from { transform:rotate(-3.5deg) translateY(.7rem); } to { transform:rotate(-1deg); } }
        @keyframes chapter-reveal { from { clip-path:inset(0 2.8% 0 0); opacity:.84; } to { clip-path:inset(0); opacity:1; } }
        @keyframes chapter-silver { from { filter:grayscale(1) contrast(1.15); } to { filter:grayscale(.35) contrast(1.05); } }
    }
}
@media(max-width:46rem) {
    .hair-portrait-chapter,.barbershop #besuch .barber-visit,.spa-pause,.press-darkroom .press-process { grid-template-columns:1fr; }
    .hair-portrait-chapter img { height:17rem; min-height:0; object-position:center 40%; }
    .hair-portrait-chapter>div { padding-block:2rem; }
    .spa-pause { padding-block:2.2rem; }
    .spa-meadow { padding-top:2.6rem; }
    .press-darkroom .press-process { gap:2.2rem; }
    .press-priceband .nail-prices .rates div { padding:.75rem; }
    .press-hours { margin-top:.35rem; }
    .wood-gallery-plinth .architecture-atlas { grid-template-columns:1fr; }
}
