.scene-sound-toggle{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;min-height:44px;padding:5px 0 5px 15px;border-left:1px solid var(--line);font-size:10px;font-weight:700;color:#527063}
.scene-sound-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.scene-sound-toggle .sound-cross{display:none}.scene-sound-toggle[aria-pressed=false]{color:#69777e}.scene-sound-toggle[aria-pressed=false] .sound-waves{display:none}.scene-sound-toggle[aria-pressed=false] .sound-cross{display:block}
.scene-sound-toggle:focus-visible{outline:2px solid var(--blue);outline-offset:5px}
.scene-after{margin-top:16px;padding:12px 14px;border-left:2px solid #6a8f78;color:#42694f;font-size:11px;line-height:1.7;background:#ffffff55;max-width:370px}
.scene-after[hidden]{display:none}.scene-after small{display:block;font-size:8px;letter-spacing:.11em;text-transform:uppercase;opacity:.7;margin-bottom:3px}
.station-tech{transition:background-color 1.8s ease}.station-tech.scene-resolved{background-color:#dfebe6}
.monitor-frame{transition:box-shadow 1.3s ease,border-color 1.3s ease}.scene-resolved .monitor-frame{border-color:#4b655d;box-shadow:0 8px 35px #7fbe9722}
.scene-resolved .monitor-bottom .sound-state{color:#2d6b50}.scene-resolved .sound-state i{background:#d8eddf;color:#2d6b50}
.scene-resolved .call-avatar{animation:meeting-settle 1.1s ease both;background:#deede4;color:#385b4d}.scene-resolved .call-avatar:nth-child(2){animation-delay:.15s}.scene-resolved .call-avatar:nth-child(3){animation-delay:.3s}
@keyframes meeting-settle{0%{transform:translateY(0)}40%{transform:translateY(-4px) rotate(-2deg)}100%{transform:translateY(0)}}
.station-service.scene-resolved .message-slip{border-color:#bba15d;transition:border-color 1.1s}.station-service .scene-after{border-color:#9c7c31;color:#6c5620}
.station-process .scene-after{border-color:#9a7ba6;color:#6d4f7b;display:flex;align-items:center;gap:13px}.station-process .scene-after[hidden]{display:none}
.close-laptop{width:44px;height:36px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}.close-laptop .lid{transform-origin:40px 38px;animation:laptop-close 1.1s .1s ease-in-out forwards}
@keyframes laptop-close{0%,18%{transform:scaleY(1)}100%{transform:scaleY(.08)}}
@media(max-width:850px){.scene-sound-toggle{font-size:9px;padding-left:11px;gap:5px}.header-row{gap:14px}}
@media(max-width:620px){.scene-sound-toggle{padding-left:10px;font-size:9px}.scene-sound-toggle svg{width:17px}.header-links{gap:12px}.scene-after{font-size:11px}.scene-after>small{font-size:8px}}
@media(max-width:375px){.scene-sound-toggle [data-sound-label]{font-size:8px}.header-links{gap:9px}.header-row{gap:9px}}
@media(prefers-reduced-motion:reduce){.scene-resolved .call-avatar,.close-laptop .lid{animation:none}.station-tech,.monitor-frame{transition:none}.close-laptop .lid{transform:scaleY(.08)}}
.motion-paused .close-laptop .lid{transform:scaleY(.08)}

/* Shared sound controls. These react to playback, never to hover or page load. */
.sound-toolbar{position:relative;display:inline-flex;align-items:center;gap:2px;flex-shrink:0;isolation:isolate}
.sound-toolbar .scene-sound-toggle{min-height:44px;padding-right:5px;white-space:nowrap}
.sound-settings-toggle{display:grid;place-items:center;min-width:38px;min-height:44px;padding:8px;border:0;border-radius:5px;background:transparent;color:#69777e;cursor:pointer;flex-shrink:0}
.sound-settings-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.sound-settings-toggle:hover,.sound-settings-toggle[aria-expanded=true]{background:#203c4b0a;color:var(--ink,#203c4b)}
.sound-settings-toggle:focus-visible,.sound-controls button:focus-visible,.sound-controls input:focus-visible{outline:2px solid var(--blue,#3149ed);outline-offset:3px}
.sound-controls{position:absolute;right:0;top:calc(100% + 11px);z-index:70;box-sizing:border-box;width:284px;max-width:calc(100vw - 32px);padding:20px;border:1px solid #203c4b26;border-radius:11px;background:#fbfaf5;color:#203c4b;box-shadow:0 13px 35px #203c4b16,0 2px 5px #203c4b06;text-align:left;font:12px/1.5 Manrope,Arial,sans-serif}
.sound-controls[hidden]{display:none!important}
.sound-controls[popover]{position:fixed;inset:92px 24px auto auto;margin:0}
.sound-controls[popover]:not(:popover-open){display:none}
.sound-controls h2,.sound-controls h3,.sound-controls .sound-panel-title{margin:0 0 15px;font:750 14px/1.35 Manrope,Arial,sans-serif;letter-spacing:-.02em;color:#203c4b}
.sound-controls label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;width:100%;font-size:11px;font-weight:700}
.sound-controls output{font-size:10px;font-weight:500;font-variant-numeric:tabular-nums;color:#597080}
.sound-controls input[type=range]{display:block;width:100%;height:30px;margin:4px 0 6px;padding:0;accent-color:#527063;background:transparent;border:0;cursor:pointer}
.sound-controls input[type=range]:disabled{cursor:not-allowed;opacity:.55}
.sound-preview{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:40px;margin-top:12px;padding:9px 12px;border:1px solid #203c4b30;border-radius:5px;background:#f0f3ec;color:#355446;font:700 11px/1.4 Manrope,Arial,sans-serif;cursor:pointer}
.sound-preview:hover{background:#e8eee2;border-color:#52706366}
.sound-preview svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}
.sound-preview:disabled{opacity:.55;cursor:not-allowed}
.sound-controls .sound-help{margin:12px 0 0;font-size:10px;line-height:1.65;font-weight:400;color:#64727a;letter-spacing:0}
.sound-controls .sound-close{position:absolute;right:7px;top:7px;display:grid;place-items:center;width:32px;height:32px;padding:0;font-size:21px;color:#64727a}
.site-header .sound-toolbar{margin-left:14px}
.site-header .sound-toolbar .scene-sound-toggle{font-size:9px;padding-left:12px}

/* A short, neutral acknowledgement of actual sound; it does not imply success. */
html.sound-active .scene-sound-toggle[aria-pressed=true] svg{color:var(--blue,#3149ed);filter:drop-shadow(0 0 4px #3149ed25)}
button.sound-response,a.sound-response,summary.sound-response{box-shadow:0 0 0 3px #3149ed18}
.station-heading{position:relative}
.station-heading::after{content:'';position:absolute;left:0;bottom:-1px;width:55px;height:2px;background:var(--accent,#527063);opacity:0;transform-origin:left center;pointer-events:none}
html.sound-active[data-sound-scene=meeting] .station-tech .station-heading::after,
html.sound-active[data-sound-scene=call] .station-service .station-heading::after,
html.sound-active[data-sound-scene=finish] .station-process .station-heading::after{opacity:.62}
.thread-hero-art::before{content:'';position:absolute;inset:5% 4%;border-radius:50%;opacity:0;background:radial-gradient(ellipse,#e6b8751c,transparent 66%);pointer-events:none}

@media(prefers-reduced-motion:no-preference){
  html.sound-active .scene-sound-toggle[aria-pressed=true] svg{animation:sound-icon-breathe .7s ease-out both}
  button.sound-response,a.sound-response,summary.sound-response{animation:sound-touch .55s ease-out both}
  html.sound-active[data-sound-scene=meeting] .station-tech .station-heading::after,
  html.sound-active[data-sound-scene=call] .station-service .station-heading::after,
  html.sound-active[data-sound-scene=finish] .station-process .station-heading::after{animation:sound-line .85s ease-out both}
  .page-projekt.sound-discovered .thread-hero-art::before{animation:sound-thread-light 1.6s ease-out both}
  .page-projekt.sound-discovered .red-thread .thread-shine{animation:sound-thread-shine 1.6s ease-out both}
}
@keyframes sound-icon-breathe{0%{scale:1}35%{scale:1.1}100%{scale:1}}
@keyframes sound-touch{0%{box-shadow:0 0 0 0 #3149ed25}35%{box-shadow:0 0 0 4px #3149ed20}100%{box-shadow:0 0 0 7px #3149ed00}}
@keyframes sound-line{0%{opacity:0;transform:scaleX(.3)}25%{opacity:.62}100%{opacity:0;transform:scaleX(1.45)}}
@keyframes sound-thread-light{0%{opacity:0;scale:.94}35%{opacity:1}100%{opacity:0;scale:1.06}}
@keyframes sound-thread-shine{0%,100%{opacity:.75}40%{opacity:1}}

/* Keep the controls reachable in both languages without compressing the brand. */
@media(max-width:1100px) and (min-width:761px){.site-header .main-nav{gap:17px}.site-header .header-contact{gap:12px;padding-inline:12px}.site-header .sound-toolbar{margin-left:9px}.site-header .language-switch{margin-left:9px}.site-header .sound-toolbar [data-sound-label]{display:none}.site-header .sound-toolbar .scene-sound-toggle{padding-left:10px}}
@media(max-width:850px){.sound-toolbar .scene-sound-toggle{font-size:9px;padding-left:11px}.sound-settings-toggle{min-width:32px;padding:7px}.sound-toolbar{gap:0}}
@media(max-width:760px){.j-header .sound-toolbar{margin-left:auto}.j-header .sound-toolbar .scene-sound-toggle{margin-left:0}.site-header .sound-toolbar{margin-left:auto}.site-header .language-switch{margin-left:9px;margin-right:14px}.site-header .sound-toolbar .scene-sound-toggle{padding-left:10px}.sound-controls{right:-64px;top:calc(100% + 10px);width:278px;padding:19px}.sound-controls[popover]{inset:80px 16px auto auto}.sound-settings-toggle{min-width:34px;min-height:44px}.sound-controls input[type=range]{height:34px}}
@media(max-width:420px){.sound-toolbar [data-sound-label]{display:none}.sound-toolbar .scene-sound-toggle{min-width:31px;padding-left:8px;padding-right:3px;border-left:0}.sound-settings-toggle{min-width:30px;padding:6px}.site-header .sound-toolbar{margin-left:auto}.site-header .language-switch{margin-left:7px;margin-right:11px}.site-header .menu-toggle{gap:7px}.sound-controls{right:-69px;width:270px}.sound-controls[popover]{right:16px}.j-header .sound-toolbar{margin-left:auto}}

/* Motion preferences stop decorative pulses without changing sound consent. */
.motion-paused .scene-sound-toggle svg,.motion-paused .sound-response,.motion-paused .station-heading::after,.motion-paused .thread-hero-art::before,.motion-paused .red-thread .thread-shine{animation:none!important}
.motion-paused .station-heading::after,.motion-paused .thread-hero-art::before{opacity:0!important}
@media(prefers-reduced-motion:reduce){html.sound-active .scene-sound-toggle svg{filter:none}.station-heading::after,.thread-hero-art::before{display:none}button.sound-response,a.sound-response,summary.sound-response{box-shadow:none}}
@media print{.sound-toolbar,.sound-controls{display:none!important}.station-heading::after,.thread-hero-art::before{display:none!important}}
.thread-audio-invite{display:flex;align-items:center;gap:14px;flex-wrap:wrap;position:relative;z-index:2;margin:25px 0 4px}
.thread-discovery{display:inline-flex;align-items:center;gap:9px;padding:11px 16px;min-height:44px;border:1px solid #a33e353d;border-radius:5px;background:#fff8ef;color:#973c32;font:700 11px/1.4 Manrope,Arial,sans-serif;cursor:pointer}
.thread-discovery:hover{background:#faecd9;border-color:#a33e3566}.thread-discovery:focus-visible{outline:2px solid #a33e35;outline-offset:4px}.thread-discovery>span{font-size:19px;font-weight:400}
.thread-audio-invite>span{font:10px/1.5 Manrope,Arial,sans-serif;color:#8e786b}
.workbench.sound-response{outline:2px solid color-mix(in srgb,var(--accent,#527063) 24%,transparent);outline-offset:4px;transition:outline-color .4s}
