/* The anatomy is one self-contained animation in the normal page flow. */
.precision-story{height:auto;background:#f1eded}
.precision-stage.anatomy-layout{position:relative;top:auto;height:auto;min-height:0;max-height:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,88px);padding:44px var(--gutter) 34px;align-items:center;overflow:hidden;background:radial-gradient(ellipse at 74% 46%,#faf6f1 0%,#f1eded 48%,#eae6eb 100%)}
.anatomy-intro{min-width:0;padding-block:42px}
.anatomy-eyebrow{font-size:11px;line-height:1.5;letter-spacing:.055em;color:#776c77}
.anatomy-intro>.anatomy-eyebrow{margin-bottom:34px}
.anatomy-intro h1{font-size:clamp(35px,4.3vw,78px);line-height:1.13;font-weight:400;letter-spacing:-.045em}
.anatomy-intro-text{font-size:clamp(14px,1.1vw,18px);line-height:1.85;color:#746977;max-width:33em;margin-top:30px}
.anatomy-intro .hero-link{margin-top:28px;font-size:12px}
.anatomy-panel{min-width:0;position:relative;z-index:6}
.anatomy-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}
.anatomy-index{font-size:10px;font-variant-numeric:tabular-nums;color:#91858e;letter-spacing:.05em}
.anatomy-panel .anatomy-controls{position:static;display:block;opacity:1;transition:none}
.anatomy-panel .region-buttons{display:grid;grid-template-columns:1fr 1fr 1fr;border-radius:7px;padding:4px;gap:4px;background:#ffffff40;border:1px solid #d8cfd580}
.anatomy-panel .region-buttons button{min-height:40px;padding:9px 6px;border-radius:4px;font-size:11px;line-height:1.3;white-space:nowrap;color:#746873}
.anatomy-panel .region-buttons button[aria-pressed=true]{background:#fffaf7;color:#493b48;box-shadow:0 2px 8px #6049550b}
.anatomy-scene{position:relative;height:clamp(370px,42vw,570px)}
.anatomy-scene .scene-viewport{position:absolute;inset:0;height:100%;width:100%}
.anatomy-scene .scene-fallback{object-fit:contain;padding:20px}
.anatomy-scene .model-status{position:absolute;top:16px;bottom:auto;left:0;right:0;text-align:center;font-size:11px}
.anatomy-playback{display:flex;align-items:center;justify-content:space-between;min-height:49px;gap:12px;border-top:1px solid #cfc4ce80;border-bottom:1px solid #cfc4ce80}
.animation-caption{display:flex;align-items:center;gap:9px;font-size:11px;color:#665765}
.animation-indicator{width:5px;height:5px;border-radius:50%;background:#aa765e;box-shadow:0 0 0 4px #b6857020}
.animation-toggle{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:95px;min-height:44px;padding:8px 0 8px 12px;background:transparent;font-size:11px;color:#594756}
.animation-toggle svg{width:16px;height:16px;stroke-width:1.5}
.animation-toggle .play-icon{display:none}
.animation-toggle[aria-label="Animation abspielen"] .play-icon{display:block}
.animation-toggle[aria-label="Animation abspielen"] .pause-icon{display:none}
.animation-toggle:disabled{opacity:.45;cursor:default}
.anatomy-panel .layer-legend{position:static;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;gap:8px 12px;font-size:10px;margin-top:17px;color:#796c76}
.anatomy-disclaimer{font-size:10px;line-height:1.65;color:#887b84;max-width:none;margin-top:11px}
.scene-static .anatomy-playback,.scene-static .anatomy-controls{display:none}
@media(min-width:1600px){.precision-stage.anatomy-layout{padding-block:56px 42px}.anatomy-scene{height:610px}.anatomy-panel .region-buttons button{font-size:12px;min-height:44px}.anatomy-intro h1{font-size:clamp(70px,4.3vw,96px)}}
@media(max-width:1050px){.precision-stage.anatomy-layout{gap:28px;padding-block:30px}.anatomy-intro h1{font-size:3.9vw}.anatomy-intro-text{font-size:13px;margin-top:23px}.anatomy-intro>.anatomy-eyebrow{margin-bottom:25px}.anatomy-scene{height:365px}.anatomy-panel .region-buttons button{font-size:9px}.anatomy-intro .hero-link{font-size:10px;gap:13px}.anatomy-intro .hero-link>span{width:32px;height:32px}}
@media(max-width:760px){.precision-stage.anatomy-layout{grid-template-columns:minmax(0,1fr);gap:32px;padding:36px var(--gutter) 29px}.anatomy-intro{padding:0}.anatomy-intro h1{font-size:clamp(33px,7.8vw,58px)}.anatomy-intro>.anatomy-eyebrow{font-size:10px;margin-bottom:22px}.anatomy-intro-text{font-size:14px;max-width:36em;margin-top:23px}.anatomy-intro .hero-link{font-size:11px;margin-top:20px}.anatomy-panel{max-width:540px;width:100%;margin-inline:auto}.anatomy-toolbar{margin-bottom:12px}.anatomy-panel .region-buttons button{font-size:11px;min-height:42px}.anatomy-scene{height:clamp(340px,95vw,490px)}.anatomy-disclaimer{font-size:10px}.anatomy-panel .layer-legend{font-size:10px}}
@media(max-width:360px){.anatomy-panel .region-buttons button{font-size:9px}.anatomy-intro h1{font-size:31px}.anatomy-intro-text{font-size:13px}.anatomy-eyebrow{font-size:10px}.anatomy-panel .layer-legend{gap:7px;font-size:9px}.anatomy-scene{height:340px}}
@media(prefers-reduced-motion:reduce){#precision-canvas,.scene-fallback{transition:none}}
@media(min-width:761px){
 .precision-stage.anatomy-layout{padding-block:32px 24px;align-items:start}
 .anatomy-intro{padding-block:0;align-self:start}
 .anatomy-intro>.anatomy-eyebrow{margin-bottom:clamp(38px,6vh,72px)}
 .anatomy-scene{height:clamp(310px,calc(100svh - 380px),610px)}
}
/* Playback stays alongside the view title, always within reach. */
.anatomy-toolbar{min-height:32px;margin-bottom:10px}
.anatomy-toolbar .animation-toggle{min-height:32px;padding-block:4px}
.anatomy-playback{min-height:36px;border-bottom:0}
.anatomy-panel .layer-legend{margin-top:7px}
@media(min-width:761px){.anatomy-scene{height:clamp(390px,calc(100svh - 305px),650px)}}
@media(min-width:761px){.anatomy-intro>.anatomy-eyebrow{min-height:32px;display:flex;align-items:center}}
.site-header{padding-inline:var(--gutter)}
.scene-static .animation-toggle{display:none}
/* One column grid and outer margin across the desktop page. */
@media(min-width:851px){
 .introduction,.treatment,.concerns-intro,.concerns-explorer,.faq,.booking-section{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(32px,5vw,88px)}
 .concerns-intro{display:grid}
 .concerns-intro>p{max-width:430px}
 .treatment{margin-inline:var(--gutter)}
 .doctor-section{padding-inline:var(--gutter);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,88px)}
 .doctor-photo{margin:45px 0}
 .doctor-story{padding:75px 0}
}
.layer-legend .legend-bone{background:#b09b81}
.layer-legend .legend-nerve{background:#a56613}
.layer-legend .legend-fascia{background:#a990a4}
.layer-legend .legend-latissimus{background:#a85b4d}
.layer-legend .legend-trapezius{background:#cb8974}
.anatomy-panel .layer-legend{justify-content:flex-start;gap:7px 18px}
.anatomy-view-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}
.anatomy-expand{display:flex;align-items:center;gap:7px;min-height:32px;padding:4px 0;background:transparent;font-size:11px;color:#594756}
.anatomy-expand svg{width:16px;height:16px}
.anatomy-toolbar .animation-toggle{min-width:60px;padding-left:0}
.anatomy-expanded{overflow:hidden}
.precision-story.is-expanded{z-index:80}
.anatomy-panel.is-expanded{position:fixed;inset:0;z-index:80;max-width:none;margin:0;width:100%;height:100dvh;display:flex;flex-direction:column;padding:24px clamp(24px,6vw,100px);background:radial-gradient(ellipse at 50% 50%,#faf6f1,#ede7ed)}
.is-expanded .anatomy-toolbar{margin-bottom:16px}
.is-expanded .anatomy-controls{align-self:center;width:min(600px,100%)}
.is-expanded .anatomy-scene{flex:1;min-height:100px;height:auto;width:100%}
.is-expanded .layer-legend{justify-content:center;font-size:12px;gap:12px 26px}
.is-expanded .anatomy-disclaimer{text-align:center}
.is-expanded .anatomy-playback{justify-content:center}
.scene-static .anatomy-view-actions{display:none}
@media(max-width:600px){.anatomy-expand span{display:none}.anatomy-view-actions{gap:15px}.anatomy-expand{min-width:32px;justify-content:center}.anatomy-panel.is-expanded{padding:16px}.is-expanded .layer-legend{font-size:10px;gap:8px 15px}.is-expanded .anatomy-disclaimer{font-size:9px}}
/* Give anatomical detail its own full-width space, aligned to the page grid. */
.precision-stage.anatomy-layout{grid-template-columns:minmax(0,1fr);gap:38px}
.anatomy-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(32px,5vw,88px);width:100%}
.anatomy-intro>.anatomy-eyebrow{grid-column:1/-1;margin-bottom:24px;min-height:0}
.anatomy-intro h1{font-size:clamp(35px,3.8vw,70px)}
.anatomy-summary{align-self:end;padding-bottom:4px}
.anatomy-summary .anatomy-intro-text{margin-top:0;max-width:33em}
.anatomy-panel{width:100%;max-width:none}
.anatomy-toolbar{min-height:44px;margin-bottom:16px}
.anatomy-panel:not(.is-expanded) .anatomy-controls{max-width:550px;margin:0 auto}
.anatomy-scene{height:clamp(420px,46vw,700px)}
.layer-legend button{display:inline-flex;align-items:center;gap:6px;border:1px solid transparent;background:transparent;border-radius:4px;padding:7px 10px;min-height:36px;font-size:11px;color:#786b76;transition:background .2s,border-color .2s}
.layer-legend button[aria-pressed=true]{border-color:#c5b5c499;background:#fffcf7c9;color:#493649}
.layer-legend button:hover{background:#ffffff90;color:#493649}
.anatomy-panel .layer-legend{justify-content:center;gap:4px 9px;margin-top:7px}
.anatomy-panel .anatomy-playback{justify-content:center}
.anatomy-panel .anatomy-disclaimer{text-align:center}
@media(min-width:1051px){.anatomy-panel:not(.is-expanded)>.anatomy-controls{position:absolute;inset:0 auto auto 50%;width:550px;transform:translateX(-50%)}.anatomy-scene{height:clamp(420px,44vw,640px)}}
@media(max-width:760px){.anatomy-intro{display:block}.anatomy-intro h1{font-size:clamp(31px,7.8vw,56px)}.anatomy-summary{padding:0;margin-top:24px}.anatomy-summary .hero-link{margin-top:18px}.anatomy-scene{height:400px}.anatomy-toolbar>.anatomy-eyebrow{max-width:150px}.anatomy-panel .layer-legend{gap:3px}.layer-legend button{font-size:10px;padding:6px 8px}}
@media(max-width:600px){.anatomy-panel .layer-legend button{font-size:9px;min-height:34px}.anatomy-panel .anatomy-disclaimer{font-size:9px}.anatomy-scene{height:340px}}
@media(max-width:600px){.anatomy-view-actions>button{min-height:44px}.anatomy-expand{min-width:44px}.anatomy-panel .layer-legend button{min-height:42px}}

/* Five regions retain readable labels and touch targets at every viewport. */
.anatomy-panel .region-buttons{grid-template-columns:repeat(5,minmax(0,1fr))}
.anatomy-panel:not(.is-expanded)>.anatomy-controls,.is-expanded .anatomy-controls{position:static;inset:auto;transform:none;width:min(760px,100%);max-width:760px;margin:0 auto 12px}
.layer-legend .legend-auricle{background:#c18f7c}.layer-legend .legend-tympanum{background:#ccaca1}.layer-legend .legend-innerEar{background:#bda474}
.layer-legend .legend-stomach{background:#b46963}.layer-legend .legend-rectus{background:#bc7966}.layer-legend .legend-oblique{background:#a96451}.layer-legend .legend-deep{background:#8f564e}
@media(max-width:600px){.anatomy-panel .region-buttons{grid-template-columns:repeat(6,minmax(0,1fr))}.anatomy-panel .region-buttons button{grid-column:span 2;min-height:44px;font-size:10px;white-space:normal}.anatomy-panel .region-buttons button:nth-child(n+4){grid-column:span 3}}

/* Direct replay is separate from the anatomical assembly cycle. */
.anatomy-panel .anatomy-playback{justify-content:space-between;gap:16px;flex-wrap:wrap}
.needle-replay{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:6px 13px;background:#fbf7f2d9;border:1px solid #b8a7bb66;border-radius:5px;color:#59445c;font-size:11px;white-space:nowrap}
.needle-replay svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.3;fill:none}
.needle-replay:hover{background:#fffaf4;border-color:#9e879f}
.needle-replay:disabled{opacity:.4}
.needle-label{position:absolute;font-size:10px;letter-spacing:.02em;color:#4c4156;line-height:1.2;padding:4px 6px;background:#fffcf0dc;border:1px solid #b8a7bb60;border-radius:3px;pointer-events:none}
.needle-label[hidden]{display:none}
.is-expanded.is-inspecting .anatomy-playback{display:flex}
@media(max-width:600px){.animation-caption{font-size:10px}.needle-replay{font-size:10px}.anatomy-panel .anatomy-playback{gap:8px}.is-expanded.is-inspecting .anatomy-playback{min-height:44px;padding-block:0}}
