/*
Theme Name: WMM
Description: Schlankes eigenes Theme für Webmultimedia.
Version: 0.3.0
Text Domain: wmm
*/
:root { --gradient-mid:#849a80; --gradient-end:#609e91; --header-rgb:146,150,123; --footer-rgb:107,157,140; --color-eyebrow:#515e58; --color-background:#729583; --color-text:#102d27; --color-accent:#fffdf5; --color-muted:#193b32; --color-line:rgba(16,45,39,.22); --color-sand-green:#92967b; --color-turquoise:#6ba895; --content-width:1280px; --gutter:clamp(1.25rem,5vw,5rem); --section-space:clamp(6.5rem,14.625vw,13rem); }
* { box-sizing:border-box; }
html { scroll-padding-top:8rem; }
body { margin:0; background-color:var(--color-background); background-image:linear-gradient(170deg,var(--color-sand-green) 0%,var(--gradient-mid) 32%,var(--color-turquoise) 72%,var(--gradient-end) 100%); background-size:100% 140%; background-attachment:fixed; color:var(--color-text); font-family:Arial,Helvetica,sans-serif; font-size:1rem; line-height:1.6; }
a { color:inherit; text-underline-offset:.25em; }
a:hover { color:var(--color-accent); }
button { font:inherit; }
[hidden] { display:none!important; }
:focus-visible { outline:2px solid var(--color-accent); outline-offset:5px; }
.container { width:min(var(--content-width),calc(100% - var(--gutter)*2)); margin-inline:auto; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { line-height:1.06; font-weight:500; letter-spacing:-.045em; }
h1,h2 { color:#fffdf8; }
h1 { font-size:clamp(3.2rem,8.6vw,7.5rem); }
h2 { font-size:clamp(2.3rem,4.6vw,4rem); }
h3 { font-size:clamp(1.7rem,3vw,2.6rem); }
img { max-width:100%; height:auto; }
.accent,.site-brand span { color:var(--color-accent); }
.muted { color:var(--color-muted); }
.eyebrow { color:var(--color-eyebrow); font-variant-caps:all-small-caps; font-size:.9rem; letter-spacing:.065em; line-height:1.5; }
.site-header { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding-block:1.7rem; border-bottom:1px solid var(--color-line); }
.site-brand { display:flex; flex-shrink:0; align-items:center; gap:12px; text-decoration:none; }
.site-brand-logo { display:block; flex-shrink:0; width:auto; height:44px; }
.site-brand-copy { display:flex; flex-direction:column; gap:5px; white-space:nowrap; }
.site-brand-name { font-size:14px; font-weight:750; line-height:1.1; letter-spacing:.08em; }
.site-brand-tagline { font-size:12px; font-weight:400; line-height:1.2; letter-spacing:.035em; }
@media(max-width:380px) { .site-brand { gap:8px; } .site-brand-name { font-size:12px; } .site-brand-tagline { font-size:11px; } }
.nav-list { display:flex; align-items:center; gap:clamp(.35rem,1vw,.8rem); list-style:none; padding:0; margin:0; }
.nav-list a { font-size:.9rem; text-decoration:none; }
.nav-list .sub-menu { list-style:none; padding-left:1rem; }
.menu-toggle { display:none; border:0; padding:.5rem 0; background:transparent; cursor:pointer; }
.hero { padding-top:clamp(4rem,8vw,7rem); padding-bottom:var(--section-space); }
.hero .eyebrow { margin-bottom:2.7rem; }
.hero h1 { margin-bottom:2.5rem; }
.hero-stage { position:relative; display:grid; grid-template-columns:55% 45%; align-items:center; min-height:340px; }
.hero-stage h1 { position:relative; z-index:1; font-size:clamp(3.2rem,6.2vw,5.6rem); }
.hero-visual { position:fixed; inset:0; z-index:0; min-width:0; overflow:hidden; height:100dvh; pointer-events:none; }
.hero-visual-space { height:clamp(300px,32vw,440px); }
.hero-visual canvas { display:block; width:100%; height:100%; }
.hero-bottom { display:flex; align-items:end; justify-content:space-between; gap:2rem; }
.hero-bottom p { font-size:clamp(1rem,1.5vw,1.25rem); margin-bottom:0; }
.text-link { display:inline-block; font-size:.9rem; text-decoration:none; padding-bottom:.5rem; border-bottom:1px solid currentColor; }
.section { padding-block:var(--section-space); border-top:1px solid var(--color-line); }
.section-heading { display:grid; grid-template-columns:1fr; gap:1rem; text-align:left; margin-bottom:3rem; }
.section-heading h2 { margin-bottom:0; }
.service-row { display:grid; grid-template-columns:minmax(0,28fr) minmax(0,32fr) minmax(0,40fr); gap:clamp(1rem,2.5vw,2rem); align-items:start; padding-block:1.8rem; border-bottom:1px solid var(--color-line); }
.service-row:first-child { border-top:1px solid var(--color-line); }
.service-number { font-size:.8rem; color:var(--color-eyebrow); }
.service-row h3,.service-row p { margin-bottom:0; }
.service-row p { color:var(--color-muted); max-width:30rem; }
.project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; }
.screenshot-placeholder { aspect-ratio:16/10; background:rgba(239,239,215,.24); border:1px solid var(--color-line); display:flex; align-items:center; justify-content:center; color:var(--color-muted); font-size:.8rem; letter-spacing:.08em; }
.project-placeholder p { font-size:.9rem; margin-block:1rem 0; }
.contact-section { padding-block:var(--section-space); background:rgba(28,69,57,.08); border-block:1px solid var(--color-line); }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:end; }
.contact-grid h2 { font-size:clamp(3.5rem,7vw,6rem); margin-block:2rem 0; }
.contact-copy { max-width:28rem; }
.contact-copy > p:first-child { font-size:1.25rem; }
.contact-copy > p:last-child { margin-bottom:0; font-size:.9rem; }
.site-footer { display:flex; justify-content:space-between; align-items:center; gap:2rem; padding-block:2rem; font-size:.8rem; }
.site-footer a { text-decoration:none; }
.footer-brand { font-weight:700; }
.footer-controls { display:flex; align-items:center; gap:.4rem; }
.footer-controls > a { margin-left:.7rem; }
.visual-toggle { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; padding:7px; border:0; border-radius:50%; background:transparent; color:inherit; cursor:pointer; }
.visual-toggle svg { display:block; width:1.1rem; height:1.1rem; }
.visual-toggle:hover { background:rgba(255,253,245,.15); }
.visual-toggle[aria-pressed="false"] { opacity:.4; }
.visual-toggle[aria-pressed="false"]:hover { opacity:.75; }
.audio-bar { transform-box:fill-box; transform-origin:center; }
.audio-player,.visual-panel { display:inline-flex; align-items:center; gap:.35rem; padding:2px 8px 2px 2px; margin-right:.5rem; border:1px solid rgba(16,45,39,.22); border-radius:999px; background:rgba(255,253,245,.12); min-width:0; }
.audio-note { font-size:1rem; line-height:1; }
.audio-tracks { display:flex; gap:.3rem; align-items:center; max-width:220px; overflow-x:auto; padding:3px; }
.audio-track { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:25px; height:25px; padding:0; border:1px solid rgba(16,45,39,.3); border-radius:50%; color:inherit; background:transparent; font-size:.7rem; cursor:pointer; }
.audio-track[aria-pressed="true"] { background:var(--color-text); color:#fffdf5; }
.audio-track:hover { border-color:var(--color-text); }
.audio-toggle[aria-pressed="true"] .audio-bar { animation:wmm-audio-bars .9s ease-in-out infinite alternate; }
.audio-toggle .audio-bar:nth-child(2) { animation-delay:-.3s; }
.audio-toggle .audio-bar:nth-child(3) { animation-delay:-.6s; }
.audio-toggle .audio-bar:nth-child(4) { animation-delay:-.15s; }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
@keyframes wmm-audio-bars { from { transform:scaleY(.35); } to { transform:scaleY(1); } }
@media(prefers-reduced-motion:reduce) { .audio-toggle[aria-pressed="true"] .audio-bar { animation:none; } }
.site-main { min-height:60vh; padding-block:var(--section-space); }
.entry { max-width:52rem; }
.entry + .entry { margin-top:4rem; }
.skip-link { z-index:10; position:absolute; top:1rem; left:1rem; transform:translateY(-200%); }
.skip-link:focus { transform:translateY(0); background:#e5e7d4; padding:.75rem; }
@media(max-width:760px) {
 .site-header { flex-wrap:wrap; gap:1.2rem; }
 .menu-toggle:not([hidden]) { display:flex; align-items:center; gap:1.5rem; }
 .site-navigation { width:100%; }
 .site-navigation.has-toggle { display:none; }
 .menu-toggle[aria-expanded="true"] + .site-navigation { display:block; }
 .nav-list { align-items:flex-start; flex-direction:column; gap:1rem; padding-block:1rem; }
 .hero-bottom { align-items:flex-start; flex-direction:column; }
 .hero-stage { grid-template-columns:1fr; min-height:0; }
 .hero-stage h1 { font-size:clamp(3.2rem,8.6vw,5rem); margin-bottom:0; }
 .hero-visual-space { height:280px; margin-block:.5rem 1.5rem; }
 .section-heading { grid-template-columns:1fr; gap:1rem; }
 .service-row { grid-template-columns:1fr; gap:1.2rem; }
 .service-row p { grid-column:auto; }
 .project-grid,.contact-grid { grid-template-columns:1fr; }
 .contact-grid { gap:2rem; }
 .site-footer { flex-wrap:wrap; gap:1rem; }
}
@keyframes wmm-background-shift { from { background-position:50% 0%; } to { background-position:50% 65%; } }
@media(prefers-reduced-motion:no-preference) { html { scroll-behavior:smooth; } body { animation:wmm-background-shift 24s ease-in-out infinite alternate; } }
/* Fixed header and decorative 3D layer behind page content. */
body { padding-top:100px; padding-bottom:88px; isolation:isolate; }
.home-main,.site-main,.site-footer { position:relative; z-index:1; }
.site-header { position:fixed; z-index:10; inset:0 0 auto; width:100%; max-width:none; margin:0; padding-inline:max(var(--gutter),calc((100% - var(--content-width))/2)); background:rgba(var(--header-rgb),.70); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); border-bottom:1px solid rgba(255,253,245,.2); box-shadow:0 4px 22px rgba(16,45,39,.07); }
.site-footer { position:fixed; z-index:10; inset:auto 0 0; width:100%; max-width:none; margin:0; min-height:76px; padding-block:1rem; padding-bottom:calc(1rem + env(safe-area-inset-bottom,0px)); padding-inline:max(var(--gutter),calc((100% - var(--content-width))/2)); background:rgba(var(--footer-rgb),.70); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); border-top:1px solid rgba(255,253,245,.2); box-shadow:0 -4px 22px rgba(16,45,39,.07); }
body.admin-bar .site-header { top:32px; }
@media(max-width:782px) { body.admin-bar .site-header { top:46px; } }
@media(max-width:760px) {
 body { padding-top:96px; padding-bottom:calc(92px + env(safe-area-inset-bottom,0px)); }
 .site-footer { gap:.4rem 1rem; min-height:80px; }
 .site-footer > small { display:none; }
 .footer-controls { margin-left:auto; gap:.15rem; }
 .footer-controls > a { margin-left:.25rem; }
 .footer-brand { font-size:.75rem; }
 .audio-player { margin-right:.15rem; gap:.15rem; }
 .audio-tracks { max-width:90px; }
}
@media(max-width:480px) { .site-footer .footer-brand { display:none; } .footer-controls { width:100%; justify-content:space-between; margin-left:0; } }

:root[data-color-scheme="blue"] { --color-background:#8aaaba; --color-sand-green:#94a5ac; --gradient-mid:#8aaaba; --color-turquoise:#77a6c1; --gradient-end:#679ab4; --header-rgb:148,165,172; --footer-rgb:119,166,193; --color-text:#142d40; --color-muted:#203b4d; }
:root[data-color-scheme="green"] { --color-background:#6f967e; --color-sand-green:#7c907a; --gradient-mid:#6f967e; --color-turquoise:#5d9a7a; --gradient-end:#548d70; --header-rgb:124,144,122; --footer-rgb:93,154,122; --color-text:#092b1c; --color-muted:#173a29; }
:root[data-color-scheme="sand"] { --color-background:#b4a58b; --color-sand-green:#b0a78d; --gradient-mid:#b4a58b; --color-turquoise:#bea88d; --gradient-end:#aa9277; --header-rgb:176,167,141; --footer-rgb:190,168,141; --color-text:#30261e; --color-muted:#493c30; }
:root[data-color-scheme="grey"] { --color-background:#929f9c; --color-sand-green:#9b9f98; --gradient-mid:#929f9c; --color-turquoise:#8a9e9c; --gradient-end:#7c9492; --header-rgb:155,159,152; --footer-rgb:138,158,156; --color-text:#21302e; --color-muted:#354440; }
.visual-panel { position:relative; padding:2px; gap:0; margin-right:0; }
.color-palette { position:absolute; bottom:calc(100% + 14px); right:0; display:flex; gap:6px; width:300px; max-width:calc(100vw - var(--gutter)*2); padding:12px 8px; border:1px solid rgba(255,253,245,.35); border-radius:18px; background:rgba(var(--header-rgb),.94); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); box-shadow:0 8px 30px rgba(16,45,39,.16); }
.color-option { display:flex; flex:1; min-width:0; flex-direction:column; align-items:center; gap:8px; padding:4px 0; border:0; background:transparent; color:inherit; font-size:.58rem; cursor:pointer; }
.color-swatch { width:28px; height:28px; border-radius:50%; background:linear-gradient(160deg,#92967b,#6ba895); border:1px solid rgba(255,253,245,.6); }
.color-option[data-color-scheme="blue"] .color-swatch { background:linear-gradient(160deg,#94a5ac,#679ab4); }
.color-option[data-color-scheme="green"] .color-swatch { background:linear-gradient(160deg,#7c907a,#548d70); }
.color-option[data-color-scheme="sand"] .color-swatch { background:linear-gradient(160deg,#b0a78d,#aa9277); }
.color-option[data-color-scheme="grey"] .color-swatch { background:linear-gradient(160deg,#9b9f98,#7c9492); }
.color-option[aria-pressed="true"] .color-swatch { outline:2px solid var(--color-text); outline-offset:3px; }
.color-option:hover .color-swatch { transform:scale(1.08); }

@media(max-width:480px) { .visual-panel { position:static; } .color-palette { right:var(--gutter); bottom:calc(100% + 14px); } }

.model-palette { position:absolute; bottom:calc(100% + 14px); right:0; display:flex; flex-wrap:wrap; gap:8px; width:260px; max-width:calc(100vw - var(--gutter)*2); max-height:40vh; overflow-y:auto; padding:14px; border:1px solid rgba(255,253,245,.35); border-radius:18px; background:rgba(var(--header-rgb),.94); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); box-shadow:0 8px 30px rgba(16,45,39,.16); }
.model-option,.model-auto { display:inline-flex; justify-content:center; align-items:center; height:32px; min-width:32px; padding:0 8px; border:1px solid var(--color-line); border-radius:999px; background:transparent; color:inherit; font-size:.75rem; cursor:pointer; }
.model-option[aria-pressed="true"],.model-auto[aria-pressed="true"] { background:var(--color-text); color:var(--color-accent); }
.model-empty { font-size:.7rem; }
@media(max-width:480px) { .model-palette { right:var(--gutter); bottom:calc(100% + 14px); } .footer-controls > a { font-size:.72rem; } }

/* Content glass is lighter than the fixed header/footer (70%, 4px). */
:root { --content-glass-opacity:.42; --content-glass-blur:5px; }
.content-glass { background:rgba(var(--footer-rgb),var(--content-glass-opacity)); -webkit-backdrop-filter:blur(var(--content-glass-blur)); backdrop-filter:blur(var(--content-glass-blur)); border:1px solid rgba(255,253,245,.2); border-radius:16px; box-shadow:0 4px 20px rgba(16,45,39,.035); padding:clamp(1rem,2.4vw,2rem); }
.service-list.content-glass { padding-block:0; }
.service-list.content-glass .service-row:first-child { border-top:0; }
.service-list.content-glass .service-row:last-child { border-bottom:0; }
.client-list > p:last-child { margin-bottom:0; }
.project-placeholder.content-glass .screenshot-placeholder { border-radius:8px; }

.visual-toggle[data-model-mode="off"] { opacity:.4; }
.visual-toggle[data-model-mode="off"]:hover { opacity:.75; }
.visual-toggle[data-model-mode="textured"] svg path { fill:rgba(255,253,245,.3); }

.customer-names { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:.55rem .65rem; list-style:none; margin:0; padding:0; }
.customer-name { position:relative; max-width:100%; }
.customer-name > a,.customer-name > span:first-child { display:inline-block; padding:.35rem .8rem; border:1px solid var(--color-line); border-radius:999px; background:rgba(255,253,245,.12); text-decoration:none; line-height:1.4; overflow-wrap:anywhere; cursor:help; }
.customer-tooltip { position:absolute; z-index:3; bottom:calc(100% + 10px); left:0; width:max-content; max-width:min(260px,70vw); padding:.65rem .85rem; border-radius:10px; background:var(--color-text); color:var(--color-accent); font-size:.75rem; line-height:1.5; opacity:0; visibility:hidden; pointer-events:none; }
.customer-name:hover .customer-tooltip,.customer-name:focus-within .customer-tooltip { opacity:1; visibility:visible; }
.service-customers { margin-top:.8rem; font-size:.75rem; gap:.4rem 1rem; }
@media(max-width:760px) { .service-copy { grid-column:auto; } }

.customer-name > a { cursor:pointer; }
.customer-name > a:hover,.customer-name > a:focus-visible { background:rgba(255,253,245,.24); color:var(--color-text); }

.project-cover { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:8px; margin-bottom:1.25rem; }
.project-card h3 { font-size:clamp(1.5rem,2.3vw,2rem); }
.project-card > p:last-child { margin-bottom:0; }

.customer-tooltip { display:none; }
.customer-name:hover .customer-tooltip,.customer-name:focus-within .customer-tooltip { display:block; }

.service-title,.service-copy,.service-projects { min-width:0; }
.service-title .service-number { display:block; margin-bottom:.65rem; }
.service-title h3 { font-size:clamp(1.5rem,2.7vw,2.6rem); overflow-wrap:anywhere; }
.service-projects { min-height:clamp(130px,16vw,210px); }
@media(max-width:760px) { .service-projects:empty { display:none; } }

.offer-carousel-track { aspect-ratio:4 / 3; height:auto; overflow-y:auto; scroll-snap-type:y mandatory; scrollbar-width:none; border-radius:12px; }
.offer-carousel-track::-webkit-scrollbar { display:none; }
.offer-project { position:relative; height:100%; scroll-snap-align:start; scroll-snap-stop:always; overflow:hidden; background:rgba(255,255,255,.13); border-radius:12px; }
.offer-project-image { display:block; width:100%; height:100%; object-fit:cover; }
.offer-project-placeholder { display:grid; place-items:center; color:rgba(255,255,255,.6); font-size:2rem; }
.offer-project h4 { position:absolute; inset:auto 0 0; padding:2rem 1rem .9rem; margin:0; color:white; font-size:1rem; background:linear-gradient(transparent,rgba(0,0,0,.65)); z-index:2; transition:opacity .25s,visibility .25s; }
.offer-project-description { position:absolute; inset:0; padding:1rem; background:rgba(20,40,35,.86); backdrop-filter:blur(6px); color:white; overflow:auto; opacity:0; visibility:hidden; transition:opacity .25s,visibility .25s; }
.service-row .offer-project-description p { color:white; font-size:.8rem; line-height:1.5; }
.offer-project:hover .offer-project-description,.offer-project:focus .offer-project-description,.offer-project:focus-within .offer-project-description { opacity:1; visibility:visible; }
.offer-project:focus-visible { outline:2px solid var(--color-text); outline-offset:-2px; }
.offer-carousel-controls { display:flex; justify-content:center; align-items:center; gap:.8rem; padding-top:.5rem; font-size:.75rem; }
.offer-carousel-controls button { border:1px solid var(--color-line); border-radius:50%; width:28px; height:28px; background:rgba(255,255,255,.15); color:inherit; cursor:pointer; }
@media(prefers-reduced-motion:reduce) { .offer-project-description { transition:none; } }

.offer-carousel-track { touch-action:pan-y; overscroll-behavior-y:contain; }

.service-copy { padding-top:1.85rem; }
.offer-project:hover h4,.offer-project:focus h4,.offer-project:focus-within h4 { opacity:0; visibility:hidden; }
@media(max-width:760px) { .service-copy { padding-top:0; } }
@media(prefers-reduced-motion:reduce) { .offer-project h4 { transition:none; } }

.about-copy { padding:clamp(1.5rem,4vw,3rem); }
.about-copy > :last-child { margin-bottom:0; }

.playroom-carousel { padding:clamp(1rem,2vw,1.5rem); }
.playroom-track { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.playroom-track::-webkit-scrollbar { display:none; }
.playroom-slide { flex:0 0 100%; min-width:0; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(1rem,3vw,2.5rem); align-items:center; scroll-snap-align:start; scroll-snap-stop:always; }
.playroom-media { aspect-ratio:16/9; border-radius:12px; overflow:hidden; display:grid; place-items:center; background:rgba(255,255,255,.15); }
.playroom-media img,.playroom-media video { width:100%; height:100%; object-fit:cover; }
.playroom-copy { padding-right:1rem; }
.playroom-copy h3 { font-size:clamp(1.4rem,2.5vw,2rem); }
.playroom-copy p { font-size:.95rem; }
@media(max-width:760px) { .playroom-slide { grid-template-columns:1fr; align-content:start; } }

.nav-list a,.filter-pill { display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--color-line); border-radius:999px; padding:.4rem .85rem; background:rgba(255,255,255,.12); color:var(--color-text); font:inherit; font-size:.85rem; text-decoration:none; cursor:pointer; transition:background .2s; }
.nav-list a:hover,.filter-pill:hover { background:rgba(255,255,255,.25); }
.filter-pill[aria-pressed="true"] { background:var(--color-text); color:var(--color-accent); }
.filter-pill:focus-visible,.nav-list a:focus-visible { outline:2px solid var(--color-text); outline-offset:3px; }
.project-filters { display:flex; flex-wrap:wrap; gap:.55rem; margin-bottom:1.5rem; }
.project-pagination { display:flex; justify-content:center; align-items:center; gap:1rem; margin-top:1.5rem; font-size:.8rem; }
.project-pagination button:disabled { opacity:.35; cursor:default; }
.project-card[hidden],.project-filters[hidden],.project-pagination[hidden],.project-empty[hidden] { display:none; }

.project-card { position:relative; }
.project-open { position:absolute; inset:0; z-index:3; border-radius:inherit; cursor:zoom-in; }
.project-open:focus-visible { outline:2px solid var(--color-text); outline-offset:4px; }
.project-lightbox-caption { max-width:58rem; margin-inline:auto; text-align:left; }
.project-lightbox-caption .eyebrow { color:#a2ada8; margin-bottom:.35rem; }
.project-lightbox-caption h3 { color:inherit; font-size:clamp(1.2rem,2vw,1.7rem); margin-bottom:.4rem; }
.project-lightbox-caption > p:last-child { font-size:.9rem; line-height:1.5; margin-bottom:0; }

.contact-form label { display:block; font-size:.9rem; }
.contact-fields { display:grid; grid-template-columns:1fr; gap:1rem; }
.contact-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.contact-form select,.contact-form textarea { display:block; width:100%; margin-top:.35rem; padding:.65rem .8rem; border:1px solid var(--color-line); border-radius:10px; background:rgba(255,255,255,.25); color:var(--color-text); font:inherit; }
.contact-form textarea { resize:vertical; }
.contact-form fieldset { border:0; padding:0; margin:1.5rem 0; min-width:0; }
.contact-form legend { margin-bottom:.65rem; font-size:.9rem; }
.contact-interests { display:flex; flex-wrap:wrap; gap:.55rem; }
.contact-interests label { display:flex; align-items:center; gap:.5rem; padding:.35rem .75rem; border:1px solid var(--color-line); border-radius:999px; }
.contact-interests input { accent-color:var(--color-text); }
.contact-required { font-size:.75rem; margin-top:.7rem; }
.contact-notice { padding:.8rem; border:1px solid var(--color-line); border-radius:10px; }
.contact-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media(max-width:480px) { .contact-fields { grid-template-columns:1fr; } }

.contact-form .contact-salutation { margin:0; }
.contact-salutation label:has(input:checked) { background:var(--color-text); color:var(--color-accent); }
.contact-salutation input { accent-color:var(--color-accent); }

.contact-form label,.contact-form legend { color:inherit; }
.contact-form input::placeholder,.contact-form textarea::placeholder { color:rgba(255,255,255,.8); opacity:1; }

.contact-grid { align-items:start; }
.contact-copy { max-width:none; color:#000; --color-text:#000; --color-muted:#000; --color-eyebrow:#000; transition:backdrop-filter .3s ease,-webkit-backdrop-filter .3s ease; }
.contact-salutation label:has(input:checked) { background:rgba(255,255,255,.4); color:#000; border-color:#000; }
.contact-salutation input { accent-color:#000; }
.contact-copy:focus-within { -webkit-backdrop-filter:blur(11px); backdrop-filter:blur(11px); }
@media(hover:hover) { .contact-copy:hover { -webkit-backdrop-filter:blur(11px); backdrop-filter:blur(11px); } }
@media(prefers-reduced-motion:reduce) { .contact-copy { transition:none; } }

.contact-invitation { color:#fffdf8; margin-top:1.5rem; font-size:clamp(1.1rem,2vw,1.5rem); }

/* Final typography and glass treatment, shared by all colour schemes. */
body { font-size:18px; color:#fff; }
h1,h2,h3 { font-weight:700; color:#fff; }
.eyebrow,.service-number,.project-lightbox-caption .eyebrow,.section-subtitle,.contact-invitation { color:rgba(255,255,255,.8); }
.section-subtitle { margin:0; font-size:clamp(1.1rem,2vw,1.5rem); line-height:1.5; letter-spacing:0; font-weight:400; }
.hero-subtitle { margin-bottom:2rem; max-width:48rem; }
.hero-bottom p { max-width:48rem; font-size:1.125rem; }
.muted,.service-row p,.playroom-copy p,.project-empty { color:#fff; }
.contact-copy { color:#fff; --color-text:#fff; --color-muted:#fff; --color-eyebrow:rgba(255,255,255,.8); }
.contact-form label,.contact-form legend { color:#fff; }
.contact-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.contact-form textarea,.contact-form select { color:#fff; }
.content-glass { transition:background .25s ease,backdrop-filter .3s ease,-webkit-backdrop-filter .3s ease; }
@media(hover:hover) {
 .content-glass:hover { background:linear-gradient(rgba(0,0,0,.09),rgba(0,0,0,.09)),rgba(var(--footer-rgb),var(--content-glass-opacity)); }
 .site-header:hover,.site-footer:hover { background:linear-gradient(rgba(0,0,0,.06),rgba(0,0,0,.06)),rgba(var(--header-rgb),.7); }
}
#referenzen .client-list,#ueber-uns .about-copy { width:66%; margin-right:auto; margin-left:0; }
.nav-list a,.filter-pill { padding:.46rem .98rem; font-size:.9775rem; background:rgba(255,255,255,.28); color:#000; }
.customer-name > a,.customer-name > span:first-child { padding:.4rem .92rem; background:rgba(255,255,255,.28); color:#000; font-size:1.15em; }
.customer-name > a:hover,.customer-name > a:focus-visible { color:#000; background:rgba(255,255,255,.4); }
.filter-pill[aria-pressed="true"] { color:#fff; background:rgba(0,0,0,.65); }
.contact-interests label { padding:.4rem .86rem; background:rgba(255,255,255,.28); color:#000; font-size:1.035rem; }
.contact-interests label:has(input:checked) { background:rgba(0,0,0,.65); color:#fff; border-color:rgba(255,255,255,.4); }
.contact-interests input { accent-color:#000; }
.audio-player,.visual-panel { background:rgba(255,255,255,.28); color:#000; padding:3px 9px 3px 3px; }
.visual-panel { padding:3px; }
.visual-toggle { width:37px; height:37px; padding:8px; }
.visual-toggle[aria-pressed="true"],.visual-toggle[data-model-mode="textured"],.visual-toggle[data-model-mode="wireframe"] { color:#fff; background:rgba(0,0,0,.45); }
.audio-track { width:29px; height:29px; font-size:.805rem; color:#000; }
.audio-track[aria-pressed="true"] { background:rgba(0,0,0,.65); color:#fff; }
.model-option,.model-auto { height:37px; min-width:37px; padding:0 9px; font-size:.8625rem; color:#000; background:rgba(255,255,255,.28); }
.model-option[aria-pressed="true"],.model-auto[aria-pressed="true"] { background:rgba(0,0,0,.65); color:#fff; }
.color-option { color:#000; }
.color-option[aria-pressed="true"] { color:#fff; }
.offer-carousel-controls button { width:32px; height:32px; background:rgba(255,255,255,.28); color:#000; }
.customer-tooltip { background:rgba(0,0,0,.8); color:#fff; }
@media(min-width:761px) and (max-width:1100px) { .site-header { gap:1rem; } .nav-list { gap:.35rem; } .nav-list a { padding:.46rem .65rem; font-size:.9rem; } }
@media(max-width:760px) { #referenzen .client-list,#ueber-uns .about-copy { width:100%; } }
@media(max-width:480px) { .audio-tracks { max-width:65px; } .visual-toggle { width:34px; height:34px; padding:7px; } .footer-controls { gap:.1rem; } }
@media(prefers-reduced-motion:reduce) { .content-glass { transition:none; } }

/* Pill text colours: white normally, black when selected. */
.nav-list a,.filter-pill,.customer-name > a,.customer-name > span:first-child,
.contact-interests label,.audio-player,.visual-panel,.audio-track,
.model-option,.model-auto,.color-option,.offer-carousel-controls button { color:#fff; }
.customer-name > a:hover,.customer-name > a:focus-visible { color:#fff; }
.filter-pill[aria-pressed="true"],.contact-interests label:has(input:checked),
.audio-track[aria-pressed="true"],.model-option[aria-pressed="true"],.model-auto[aria-pressed="true"],
.visual-toggle[aria-pressed="true"],.visual-toggle[data-model-mode="textured"],.visual-toggle[data-model-mode="wireframe"] { color:#000; background:rgba(255,255,255,.65); }
.color-option[aria-pressed="true"] { color:#000; }
.cta-pill { white-space:nowrap; border-bottom:1px solid var(--color-line); }
.project-cta { margin-top:2rem; margin-bottom:0; }

.audio-player,.visual-panel { gap:6px; padding:4px 7px; }
.panel-symbol { display:inline-flex; align-items:center; justify-content:center; width:24px; flex:0 0 24px; color:#fff; margin-right:5px; }
.panel-symbol svg { width:20px; height:20px; }
.audio-note { font-size:1.35rem; }
.footer-controls .visual-toggle { flex:0 0 34px; width:34px; height:34px; margin:0; padding:7px; color:#fff; background:transparent; opacity:1; }
.footer-controls .visual-toggle[aria-pressed="true"],.footer-controls .visual-toggle[data-model-mode="textured"],.footer-controls .visual-toggle[data-model-mode="wireframe"] { color:#000; background:rgba(255,255,255,.65); opacity:1; }
.footer-controls .visual-toggle[data-model-mode="textured"] svg path { fill:rgba(0,0,0,.25); }
.footer-controls .visual-toggle[data-model-mode="wireframe"] svg path { fill:none; }
.color-palette { width:340px; gap:12px; padding:16px; }
.color-swatch { width:42px; height:42px; }
.customer-tooltip { border-radius:5px; }
.wmm-tooltip { position:fixed; z-index:100; max-width:min(280px,calc(100vw - 24px)); padding:.55rem .8rem; border-radius:5px; background:rgba(0,0,0,.8); color:#fff; font-size:.8rem; line-height:1.4; pointer-events:none; opacity:0; transition:opacity .18s ease; }
.wmm-tooltip.is-visible { opacity:1; }
@media(max-width:480px) { .panel-symbol { width:18px; flex-basis:18px; margin-right:1px; } .audio-player,.visual-panel { gap:3px; padding:3px; } .footer-controls .visual-toggle { width:29px; height:29px; flex-basis:29px; padding:6px; } .footer-controls > a { font-size:.65rem; margin-left:.1rem; } .audio-tracks { max-width:32px; } }

.customer-name .customer-tooltip { display:none!important; }

/* More distinct light-to-dark gradients; retain saved palette identifiers. */
:root { --color-sand-green:#a5aa8c; --gradient-mid:#849a80; --color-turquoise:#6ba895; --gradient-end:#4d7e74; }
:root[data-color-scheme="blue"] { --color-background:#699ebd; --color-sand-green:#a1bed2; --gradient-mid:#7aa7c4; --color-turquoise:#5898bf; --gradient-end:#3e7294; --header-rgb:161,190,210; --footer-rgb:88,152,191; }
:root[data-color-scheme="green"] { --color-background:#b397b7; --color-sand-green:#d6bed5; --gradient-mid:#bba0bf; --color-turquoise:#b38eae; --gradient-end:#8e708e; --header-rgb:214,190,213; --footer-rgb:179,142,174; }
:root[data-color-scheme="sand"] { --color-sand-green:#c9bea4; --gradient-end:#88755f; }
:root[data-color-scheme="grey"] { --color-background:#899692; --color-sand-green:#b5bdb7; --gradient-mid:#95a39f; --color-turquoise:#7d928d; --gradient-end:#5f736f; --header-rgb:181,189,183; --footer-rgb:125,146,141; }
.color-swatch { background:linear-gradient(160deg,#a5aa8c,#4d7e74); }
.color-option[data-color-scheme="blue"] .color-swatch { background:linear-gradient(160deg,#a1bed2,#3e7294); }
.color-option[data-color-scheme="green"] .color-swatch { background:linear-gradient(160deg,#d6bed5,#8e708e); }
.color-option[data-color-scheme="sand"] .color-swatch { background:linear-gradient(160deg,#c9bea4,#88755f); }
.color-option[data-color-scheme="grey"] .color-swatch { background:linear-gradient(160deg,#b5bdb7,#5f736f); }

.footer-legal { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; font-size:.65rem; text-transform:uppercase; }
.site-footer { gap:1rem; }
.footer-controls > .back-to-top { display:inline-flex; flex:0 0 34px; width:34px; height:34px; padding:7px; margin-left:.6rem; border:1px solid var(--color-line); border-radius:50%; background:rgba(255,255,255,.28); color:#fff; }
.legal-dialog { width:min(850px,calc(100vw - 2rem)); max-height:85dvh; padding:clamp(1.5rem,4vw,3rem); border:1px solid rgba(255,255,255,.25); border-radius:12px; background:#334740; color:#fff; overflow:auto; }
.legal-dialog::backdrop { background:rgba(0,0,0,.55); backdrop-filter:blur(5px); }
.legal-dialog h2 { font-size:clamp(1.8rem,4vw,2.6rem); }
.legal-content h3 { font-size:1.5rem; margin-top:2rem; }
.legal-content h4 { margin-top:1.5rem; }
.legal-close { float:right; position:sticky; top:0; font-size:1.5rem; }
@media(max-width:1100px) { .footer-legal { max-width:260px; font-size:.6rem; gap:.3rem; } }
@media(max-width:760px) { body { padding-bottom:145px; } .site-footer { justify-content:center; flex-direction:column; gap:.5rem; } .footer-legal { max-width:none; justify-content:center; } .footer-controls { margin-left:0; } }

.section-subtitle,.contact-invitation,.hero-bottom > p,.section-heading > p:not(.eyebrow) { max-width:80ch; }

.legal-dialog { background:linear-gradient(170deg,#b5bdb7 0%,#95a39f 32%,#7d928d 72%,#5f736f 100%); }
.legal-close { z-index:20; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:38px; height:38px; min-width:38px; padding:0; aspect-ratio:1; border:1px solid rgba(255,255,255,.5); border-radius:50%; line-height:1; background:rgba(255,255,255,.28); color:#fff; }
.legal-close:hover { background:rgba(255,255,255,.42); }

.legal-dialog { padding:0; overflow:hidden; }
.legal-scroll { max-height:85dvh; overflow-y:auto; scrollbar-width:none; padding:clamp(1.5rem,4vw,3rem); padding-right:clamp(2.2rem,5vw,4rem); }
.legal-scroll::-webkit-scrollbar { display:none; width:0; }
.legal-close { position:absolute; top:16px; right:22px; float:none; }
.legal-scroll > h2 { padding-right:2.5rem; }
.legal-scrollbar { position:absolute; top:66px; bottom:20px; right:10px; width:12px; z-index:10; touch-action:none; }
.legal-scrollbar::before { content:""; position:absolute; top:0; bottom:0; left:5px; width:2px; background:rgba(255,255,255,.3); border-radius:2px; }
.legal-scroll-thumb { position:absolute; top:0; left:2px; width:8px; min-height:30px; background:rgba(255,255,255,.8); border-radius:999px; cursor:grab; touch-action:none; }
.legal-scroll-thumb:active { cursor:grabbing; background:#fff; }

.legal-top { position:absolute; bottom:16px; right:22px; z-index:20; display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; min-width:38px; padding:8px; border:1px solid rgba(255,255,255,.5); border-radius:50%; background:rgba(255,255,255,.28); color:#fff; }
.legal-top svg { width:20px; height:20px; }
.legal-top:hover { background:rgba(255,255,255,.42); }
.legal-scroll { padding-bottom:72px; }
.legal-scrollbar { bottom:66px; }

.picker-symbol { display:inline-flex; align-items:center; justify-content:center; width:28px; flex:0 0 28px; color:#fff; margin-right:6px; }
.picker-symbol svg { width:24px; height:24px; }
.model-palette { width:360px; align-items:center; }
.model-option { padding-inline:12px; }
.color-palette { width:390px; align-items:center; }

.hero-stage { align-items:end; margin-bottom:1rem; }
.hero-heading { position:relative; z-index:1; min-width:0; }
.hero-heading .eyebrow { margin-bottom:1rem; }
.hero-stage .hero-heading h1 { margin-bottom:0; }
@media(max-width:760px) { .hero-stage .hero-visual-space { display:none; } }

/* Mobile navigation and three-row footer. */
@media(max-width:760px) {
 .site-navigation .nav-list { width:100%; align-items:stretch; gap:.65rem; }
 .site-navigation .nav-list > li { width:100%; }
 .site-navigation .nav-list > li > a { display:flex; width:100%; justify-content:center; text-align:center; }
 .site-navigation.has-toggle { max-height:calc(100dvh - 110px); overflow-y:auto; padding-bottom:1rem; }
 .site-footer { gap:.65rem; padding-top:.75rem; padding-bottom:calc(.75rem + env(safe-area-inset-bottom,0px)); }
 .footer-legal { width:100%; justify-content:center; text-align:center; }
 .footer-controls { display:grid; width:100%; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"design design" "audio top"; gap:.65rem 1rem; margin:0; align-items:center; }
 .footer-controls .visual-panel { grid-area:design; justify-self:center; position:relative; gap:6px; padding:4px 7px; }
 .footer-controls .audio-player { grid-area:audio; justify-self:start; gap:6px; padding:4px 7px; margin:0; max-width:100%; }
 .footer-controls > .back-to-top { grid-area:top; justify-self:end; margin:0; }
 .footer-controls .audio-tracks { max-width:none; overflow:visible; gap:6px; }
 .footer-controls .visual-toggle { width:34px; height:34px; flex-basis:34px; padding:7px; }
 .footer-controls .panel-symbol { width:24px; flex-basis:24px; margin-right:5px; }
 .visual-panel .color-palette,.visual-panel .model-palette { right:50%; transform:translateX(50%); max-width:calc(100vw - 2rem); }
 body { padding-bottom:calc(190px + env(safe-area-inset-bottom,0px)); }
}

@media(max-width:760px) {
 .menu-toggle { color:#fff; padding:.46rem .98rem; border:1px solid var(--color-line); border-radius:999px; background:rgba(255,255,255,.28); }
 .menu-toggle:not([hidden]) { gap:.8rem; align-items:center; justify-content:center; }
 .menu-toggle span { color:inherit; }
}

@media(max-width:760px) {
 .footer-controls { grid-template-columns:34px minmax(0,1fr) 34px; grid-template-areas:"design design design" ". audio top"; column-gap:.5rem; }
 .footer-controls .audio-player { justify-self:center; }
 .footer-controls > .back-to-top { width:34px; height:34px; }
}

.service-row .service-copy { padding-top:0; }

.project-filters { gap:.35rem; }
.project-filters .filter-pill { font-size:clamp(.875rem,.78rem + .25vw,.9775rem); padding:.46rem clamp(.65rem,1.1vw,.9rem); }

.contact-salutation .contact-interests { gap:clamp(.2rem,.7vw,.45rem); }
.contact-salutation .contact-interests label { flex:1 1 auto; justify-content:center; white-space:nowrap; gap:clamp(.2rem,.5vw,.45rem); padding:.4rem clamp(.35rem,.9vw,.8rem); font-size:clamp(.875rem,.8rem + .3vw,1.035rem); }
.contact-salutation input { margin:0; flex:0 0 auto; }

/* Consistent field corners, scoped to the contact form only. */
.contact-form .contact-interests label,
.contact-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.contact-form select,.contact-form textarea,.contact-form button,
.contact-form .contact-notice { border-radius:10px; }

@media(max-width:760px) {
 .site-footer .footer-controls { order:1; }
 .site-footer .footer-legal { order:2; font-size:.72rem; }
}

/* Subtle contrast for prose over the animated background. */
.home-main p:not(.eyebrow):not(.contact-required),
.home-main .section-subtitle,.home-main .contact-invitation {
 text-shadow:0 1px 3px rgba(0,0,0,.24);
}
.home-main .filter-pill,.home-main input,.home-main textarea,
.home-main select,.home-main button,.home-main .contact-interests label {
 text-shadow:none;
}
.hero-bottom { flex-direction:column; align-items:flex-start; gap:1.5rem; }

/* Fine white separators, consistent across all palettes. */
:root { --color-line:rgba(255,255,255,.3); }
.site-header { border-bottom-color:var(--color-line); }
.site-footer { border-top-color:var(--color-line); }

/* Short, softly fading separators between onepager sections. */
.home-main > .section,.home-main > .contact-section { position:relative; border-top:0; }
.home-main > .section::before,.home-main > .contact-section::before { content:none; }

.home-main > .contact-section { background:transparent; }

.service-list .service-row { border-color:rgba(255,255,255,.21); }

/* Temporary Cinqueterre day/evening control. */
.scene-light-toggle { margin-top:1.5rem; gap:.5rem; }
.scene-light-toggle:disabled { opacity:.45; cursor:default; }
.scene-light-toggle[aria-pressed="true"] { color:#18243a; background:rgba(255,255,255,.72); }

.scene-light-toggle { width:2.75rem; height:2.75rem; padding:0; border-radius:50%; flex-shrink:0; }
.scene-light-toggle svg { width:1.2rem; height:1.2rem; }
.scene-light-toggle .scene-sun-icon,.scene-light-toggle[aria-pressed="true"] .scene-moon-icon { display:none; }
.scene-light-toggle[aria-pressed="true"] .scene-sun-icon { display:block; }
