:root{--font-ui:"Avenir Next","Segoe UI",system-ui,sans-serif;--font-title:Palatino,"Palatino Linotype","Book Antiqua",Georgia,serif;--navy:#142c40;--deep:#0e202f;--orange:#ed761d;--blue:#78a9c5;--stone:#e6e0d5;--white:#f5f2eb;--line:#ffffff38;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--deep);color:var(--white);font:400 17px/1.58 var(--font-ui);letter-spacing:.018em}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;letter-spacing:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed}button,a,input,select,textarea,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,[tabindex]:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid var(--orange);outline-offset:5px}h1,h2,h3{font-family:var(--font-title);font-weight:400;line-height:1.06;letter-spacing:.005em;margin:0}h2{font-size:clamp(32px,3.55cqw,55px)}p{margin:0 0 1em}img{max-width:100%;display:block}button{background:none;border:0}.skip{position:fixed;z-index:100;top:-100px;left:calc(12px + max(0px, (100% - var(--site-max-width)) / 2));background:white;color:#142c40;padding:12px}.skip:focus{top:12px}.site-header{position:absolute;top:0;left:0;right:0;z-index:10;padding:20px 4.7%;display:flex;gap:4cqw;align-items:center}.brand{border:1px solid #fff9;padding:10px 18px;white-space:nowrap;letter-spacing:.08em;font-size:15px}.brand small{display:block;font-size:12px;letter-spacing:.1em;color:#c2d0db}.site-header nav{display:flex;gap:1.8cqw;margin-left:auto;font-size:14px}.site-header nav a{padding:8px 0}.site-header nav a:hover{box-shadow:0 1px var(--orange)}.menu-toggle{display:none}.hero{height:44.5cqw;min-height:580px;max-height:880px;position:relative;overflow:hidden;background:#18394f}.hero-picture{position:absolute;inset:0 0 0 27%}.hero-picture img{width:100%;height:100%;object-fit:cover;object-position:56% center}.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none}.hero-video.is-ready{display:block}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#142c40 1%,#142c40e8 20%,#142c4080 43%,#142c4000 66%),linear-gradient(0deg,#11263545,transparent 30%);pointer-events:none}.hero-copy{position:absolute;left:5%;top:36%;z-index:2}.accent-line{display:block;background:var(--orange);width:48px;height:2px;margin-bottom:22px}.hero h1{font-size:clamp(40.32px,3.744cqw,64.8px);max-width:620px}.hero-copy>p:not(.film-status){font-size:clamp(17px,1.55cqw,24px);line-height:1.45;margin-top:18px}.film-control{border-bottom:1px solid var(--orange);padding:10px 0;font-size:14px}.film-status{font-size:12px;color:#e1e5e7;margin-top:12px;max-width:420px}.window-hotspot{position:absolute;left:54%;top:32%;width:10%;height:22%;border:1px solid transparent;z-index:2}.window-hotspot:hover,.window-hotspot:focus-visible{border-color:#f3a45d;background:#ed761d18}.window-hotspot span{position:absolute;top:100%;left:0;background:var(--deep);padding:8px;opacity:0;white-space:nowrap;font-size:14px}.window-hotspot:hover span,.window-hotspot:focus-visible span{opacity:1}.section-rail{position:absolute;right:3%;top:25%;display:flex;flex-direction:column;gap:30px;font-size:14px}.section-rail a{min-width:36px;border-left:1px solid #fff6;padding:8px 0 8px 12px}.section-rail a:first-child{color:var(--orange);border-color:var(--orange)}.eyebrow{text-transform:uppercase;letter-spacing:.26em;font-size:12px;margin:0 0 13px}.eyebrow:before{content:"";display:inline-block;width:30px;height:2px;background:var(--orange);vertical-align:middle;margin-right:22px}.services{position:relative;overflow:hidden;padding:30px 0 16px;background:radial-gradient(ellipse at 50% 105%,#49627380,transparent 65%),linear-gradient(120deg,#102638,#1b3041 60%,#101f2b)}.services:before{content:"";position:absolute;inset:28% 0 0;background:linear-gradient(166deg,transparent 46%,#ffffff13 46.1%,transparent 46.4%),repeating-linear-gradient(0deg,transparent 0 85px,#ffffff06 86px 87px);pointer-events:none}.center-heading{text-align:center;position:relative;z-index:2}.carousel-stage{position:relative;height:31cqw;min-height:380px;max-height:570px;perspective:1250px;touch-action:pan-y;cursor:grab;user-select:none;isolation:isolate}.carousel-stage:active{cursor:grabbing}.carousel-ring{position:absolute;inset:0;transform-style:preserve-3d;pointer-events:none}.service-card{position:absolute;top:50%;left:50%;width:clamp(250px,27cqw,410px);height:clamp(240px,25cqw,380px);border:1px solid #cad8e08a;border-radius:15px;overflow:hidden;padding:0;text-align:left;background:#203a4e;box-shadow:0 18px 32px #0005;transform-origin:center;will-change:transform;pointer-events:auto;backface-visibility:hidden}.service-card img{width:100%;height:100%;object-fit:cover;pointer-events:none}.service-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0a192cf5,transparent 65%);pointer-events:none}.service-card .card-title{position:absolute;z-index:2;bottom:22px;left:20px;right:20px;font:400 clamp(23px,2.45cqw,36px)/1.1 var(--font-title);letter-spacing:.005em}.service-card .card-title:after{content:"";display:block;background:var(--orange);width:40px;height:2px;margin-top:15px}.service-card.active{border:2px solid #f2a363;box-shadow:0 0 20px #ed761d66,0 22px 36px #0008}.floor-ring{position:absolute;bottom:0;left:5%;width:90%;height:33%;border:1px solid #f79545;border-radius:50%;box-shadow:0 0 10px #ed761d,0 9px 16px #ed761d44;transform:rotateX(35deg);pointer-events:none}.carousel-controls{display:flex;justify-content:center;align-items:center;gap:22px;position:relative}.carousel-controls button{border:1px solid #ffffff60;padding:7px 14px;border-radius:30px;font-size:14px;min-height:40px}.carousel-controls p{font-size:14px;margin:0;min-width:185px;text-align:center}.drag-hint{text-align:center;font-size:14px;margin:12px 0 5px}.asset-note{display:block;text-align:center;font-size:12px;color:#bac6ce}.process{background:var(--stone);color:#14212e;color-scheme:light;--progress:.1}.process-body{display:grid;grid-template-columns:36% 64%;position:relative;min-height:290px;overflow:hidden}.process-copy{padding:30px 0 12px 14%;position:relative;z-index:2}.process-copy h2{font-size:clamp(32px,3.2cqw,50px)}.process-copy>p:last-child{margin:20px 0 0;max-width:340px;line-height:1.45}.facade{position:relative;min-height:280px;overflow:hidden;background:#ddd8cf}.facade>img{width:100%;height:100%;object-fit:cover;object-position:right;filter:saturate(.85)}.blueprint{position:absolute;inset:0;width:100%;height:100%;padding:10px;background:linear-gradient(90deg,var(--stone),#e6e0d5e8);color:#526c7b;clip-path:polygon(0 0,calc(90% - var(--progress)*75%) 0,calc(55% - var(--progress)*50%) 100%,0 100%)}.facade-caption{position:absolute;bottom:14px;right:20px;font-size:14px;background:#e6e0d5e8;padding:6px 12px;color:#14212e}.process-steps{display:flex;justify-content:flex-end;gap:6cqw;list-style:none;margin:0;padding:14px 5%;border-top:1px solid #58667130;font-size:14px}.process-number{font:400 21px/1.2 var(--font-title);font-variant-numeric:lining-nums tabular-nums;color:var(--orange);letter-spacing:.025em}.company{padding:12px 5%;border-top:1px solid #58667130;font-size:14px;scroll-margin-top:20px}.company summary{cursor:pointer;min-height:32px;padding:5px 0}.company-content{display:grid;grid-template-columns:1fr 1fr;gap:18px 5%;padding:20px 0;font-size:16px;max-width:1150px}.company-content ol{margin:0;padding-left:20px}.company-content p:last-child{grid-column:1/-1;margin:0}.projects{background:radial-gradient(at 70% 100%,#29465b,transparent 70%),var(--deep);padding:26px 0 0;overflow:hidden}.project-heading{display:flex;justify-content:space-between;align-items:end;padding:0 5% 15px}.project-heading h2{font-size:clamp(34px,3.25cqw,51px)}.project-note{font-size:14px;color:#c3cdd5;text-align:right;margin:0 0 4px}.project-gallery{display:flex;gap:0;padding:0 2%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#778a9b transparent}.project-card{position:relative;flex:1 0 33.33%;height:21cqw;min-height:240px;max-height:350px;clip-path:polygon(15% 0,100% 0,85% 100%,0 100%);background:#294457;text-align:left;scroll-snap-align:center;margin-left:-1.5%;border-bottom:1px solid #a9bdcb}.project-card:first-child{margin-left:0}.project-card:focus-visible{clip-path:none;outline-offset:-5px}.project-architecture{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 56px,#71859660 56px 58px),repeating-linear-gradient(0deg,#ffffff04 0 46px,#9cb4c84d 46px 47px);opacity:.7;transform:skewY(-9deg) scale(1.3);mask-image:linear-gradient(transparent,#000)}.architecture-two{transform:skewY(10deg) scale(1.2);background-size:60px 60px}.architecture-three{background-color:#59463f44;background-size:32px 60px}.project-label{position:absolute;bottom:18px;left:15%;right:10%;font:400 clamp(20px,1.65cqw,26px)/1.18 var(--font-title)}.project-label:before{content:"Freigegebenes Projektbild ausstehend";display:block;font:12px/1.4 var(--font-ui);color:#d2dce3;margin-bottom:60px;max-width:220px}.project-label small{display:block;font:12px/1.4 var(--font-ui);color:#c8d4dd;margin-top:8px}.project-label:after{content:"";display:block;width:30px;height:2px;background:var(--orange);margin-top:12px}.contact{display:grid;grid-template-columns:1.3fr 1fr auto;gap:24px;align-items:center;padding:34px 5% 18px;position:relative;background:linear-gradient(125deg,#132938 65%,#314454 82%,#152937 82.3%);border-top:1px solid #c4ccd244}.contact:before{content:"";position:absolute;top:0;right:18%;height:1px;width:20%;background:var(--orange);box-shadow:0 0 16px 3px #ed761d77}.contact h2{font-size:clamp(28px,2.9cqw,44px)}.contact .accent-line{width:34px;margin-bottom:9px}.contact>p{font-size:14px;border-left:1px solid #fff6;padding-left:24px;margin:0}.contact-actions{display:flex;gap:16px}.outline{border:1px solid #d5dfe6;padding:12px 18px;display:inline-block;font-size:14px;min-height:46px;background:transparent}.outline:hover{background:#ffffff0c}.outline.orange,.contact-actions .outline{color:var(--orange)}.outline.orange{border-color:var(--orange)}.contact-verification{grid-column:1/-1;font-size:14px;color:#c0cbd2}.contact-verification summary{cursor:pointer;width:fit-content}.contact-verification p{max-width:800px;margin:12px 0}footer{display:flex;justify-content:space-between;gap:20px;padding:20px 5%;color:#becbd4;font-size:12px;border-top:1px solid #ffffff1c}footer small{display:block}footer p{margin:0}footer a{margin-left:20px}dialog{border:1px solid #7f99ab;border-radius:10px;background:#152c3d;color:var(--white);max-width:640px;width:calc(100% - 32px);padding:32px;max-height:90svh;overflow:auto;box-shadow:0 30px 80px #0009}dialog::backdrop{background:#061320c9;backdrop-filter:blur(6px)}dialog h2{font-size:34px;margin:12px 0 22px}dialog p,dialog li{line-height:1.65}dialog ul{padding-left:20px}.close{display:block;margin:0 0 22px auto;border-bottom:1px solid var(--orange);padding:4px 0;font-size:14px}form{display:grid;gap:18px}form label{display:grid;gap:6px}input,textarea,select{width:100%;border:1px solid #889eac;background:#0e2232;color:var(--white);padding:10px;border-radius:3px}fieldset{border:1px solid #ffffff40;margin:0;min-width:0}fieldset p{font-size:14px}input[type=file]{font-size:12px}form>p,#inquiry-note{font-size:14px;color:#c3d0d9}.noscript{padding:30px 5%}.legal{max-width:900px;margin:70px auto;padding:30px}.legal h1{font-size:52px;margin:30px 0}.legal a{border-bottom:1px solid var(--orange)}

/* Beschriftungen liegen auf der sichtbaren Außenseite der gestaffelten Karten. */
.service-card .card-title{hyphens:auto;overflow-wrap:anywhere}
.service-card:not(.active) .card-title{max-width:65%}



/* Originalgrafik bleibt byte-identisch. Helle Trägerfläche sichert Kontrast ohne Filter. */
:root{--brand-blue:#143c5b}
.brand{display:block;padding:8px 12px;background:var(--stone);border:1px solid #ffffff80;width:132px;flex-shrink:0}
.brand img{width:106px;height:auto}
.footer-brand{display:block;width:116px;padding:8px 10px;background:var(--stone);margin:0}
.footer-brand img{width:96px;height:auto}
.hero-picture{mask-image:linear-gradient(90deg,transparent 0%,#000 24%)}
@media(max-width:520px){.brand{width:112px;padding:6px 10px}.brand img{width:90px}.hero-picture{mask-image:none}}

.service-card{transition:border-color .2s,box-shadow .2s}.menu-toggle{transition:background .2s}dialog[open]{animation:appear .2s ease-out}@keyframes appear{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.hero-video{display:none!important}}

@media(max-width:1100px){.site-header{gap:15px}.site-header nav{gap:16px;font-size:13px}.brand{font-size:13px;padding:8px 12px}.contact{grid-template-columns:1.2fr 1fr}.contact-actions{grid-column:1/-1}.process-copy{padding-left:10%}.hero h1{font-size:41.76px}.project-label{font-size:22px}}@media(max-width:800px){.site-header{padding:16px 5%}.menu-toggle{display:block;margin-left:auto;border:1px solid #ffffff88;padding:9px 13px;min-height:44px}.site-header nav{display:none;position:absolute;top:88px;left:5%;right:5%;padding:22px;background:#102638f5;border:1px solid #ffffff40;flex-direction:column;gap:12px}.site-header nav.open{display:flex}.site-header nav a{font-size:16px}.hero{height:660px;min-height:600px}.hero-picture{left:12%}.hero-picture img{object-position:62% center}.hero-shade{background:linear-gradient(90deg,#142c40ef,#142c4080 55%,#142c4020),linear-gradient(0deg,#142c40a0,transparent 50%)}.hero-copy{left:6%;top:36%;right:10%}.hero h1{font-size:clamp(33.12px,5.04vw,44.64px)}.hero-copy>p:not(.film-status){font-size:19px}.section-rail{display:none}.window-hotspot{left:70%;top:27%;width:15%;height:16%}.services{padding-top:28px}.center-heading{padding:0 6%}.center-heading h2{font-size:36px}.carousel-stage{height:390px;min-height:0;perspective:950px}.service-card{width:270px;height:285px}.service-card .card-title{font-size:27px}.asset-note{padding:0 7%;margin-top:9px}.process-body{grid-template-columns:40% 60%;min-height:330px}.process-copy{padding:30px 0 22px 12%}.process-copy h2{font-size:31px}.process-copy>p:last-child{font-size:15px}.facade{min-height:330px}.process-steps{justify-content:center;gap:5vw}.company-content{grid-template-columns:1fr}.company-content p:last-child{grid-column:auto}.project-heading{align-items:start}.project-heading h2{font-size:34px}.project-note{max-width:215px;font-size:12px}.project-card{flex:0 0 48%;height:300px}.project-gallery{padding:0 5%}.contact{gap:20px}.contact h2{font-size:32px}.contact>p{font-size:14px}footer{flex-wrap:wrap}}@media(max-width:520px){.brand{font-size:12px;letter-spacing:.04em}.brand small{font-size:12px}.hero{height:700px;min-height:100svh;max-height:850px}.hero-picture{left:0}.hero-picture img{object-position:66% center}.hero-copy{top:auto;bottom:64px;left:7%;right:5%}.hero h1{font-size:35.28px}.hero-shade{background:linear-gradient(0deg,#142c40 0%,#142c40ad 55%,#142c4020 85%),linear-gradient(90deg,#142c40a8,transparent)}.hero-copy>p:not(.film-status){font-size:18px}.film-status{max-width:285px}.window-hotspot{left:57%;top:24%;width:22%;height:17%}.eyebrow{font-size:12px;letter-spacing:.2em}.eyebrow:before{margin-right:12px;width:24px}.center-heading h2{font-size:32px}.carousel-stage{height:340px;perspective:760px}.service-card{width:228px;height:259px}.service-card .card-title{font-size:25px;left:16px;bottom:17px}.carousel-controls{gap:9px}.carousel-controls p{min-width:160px;font-size:12px}.carousel-controls button{font-size:12px;padding:7px 12px}.drag-hint{font-size:12px;padding:0 10px}.process-body{grid-template-columns:1fr}.process-copy{padding:28px 7% 20px}.process-copy h2{font-size:37px}.process-copy>p:last-child{font-size:16px;max-width:100%}.facade{min-height:240px;height:240px}.facade-caption{font-size:12px;right:12px}.process-steps{padding:14px 5%;gap:20px;font-size:12px}.process-number{font-size:18px}.company{padding:14px 7%}.company summary{line-height:1.6}.project-heading{display:block;padding:26px 7% 22px}.project-heading h2{font-size:37px}.project-note{text-align:left;max-width:100%;font-size:13px;margin:18px 0 0}.project-card{flex-basis:90%;min-height:285px;clip-path:polygon(10% 0,100% 0,90% 100%,0 100%)}.project-label{left:13%;font-size:24px}.project-gallery{padding:0 4% 10px}.contact{display:block;padding:30px 7%}.contact h2{font-size:35px}.contact>p{border-left:0;padding:0;margin:20px 0}.contact-actions{gap:12px;flex-wrap:wrap}.contact-verification{margin-top:20px}.outline{padding:12px 16px}footer{padding:20px 7%;gap:16px}footer>div:last-child{width:100%}footer a{margin:0 22px 0 0}dialog{padding:23px}dialog h2{font-size:31px}.legal{padding:24px;margin:20px auto}.legal h1{font-size:42px}}

/* Lokale Verfeinerung nach der verbindlichen Master-Referenz. */
body:has(#site-view), html:has(> .legal-page) {
  background: radial-gradient(ellipse at 50% 15%, #172c40, #0b1825 58%, #070f18);
}
#site-view {
  position: relative;
  width: min(100%, var(--site-max-width));
  margin-inline: auto;
  container: mst-site / inline-size;
  --disclosure-height: clamp(44px, 5.2cqw, 56px);
}
:root {
  --site-max-width: 1440px;
  --layout-width: min(100vw, var(--site-max-width));
  --request-button-width: clamp(120px, calc(45cqw - 6px), 136px);
  --request-button-height: 64px;
  --request-button-gap: 10px;
  --service-photo-gap: clamp(16px, 1.3vw, 18.72px);
}
.site-header{background:none}
.hero-shade{display:none;background:none}
.hero-picture{inset:0;mask-image:none}
.hero-picture::after {
  content: "";
  position: absolute;
  inset: 20% 0 0;
  background: linear-gradient(45deg, rgb(13 32 48 / .52), rgb(13 32 48 / .4) 45%, transparent 78%);
  mask-image: linear-gradient(to right, #000 26%, transparent 61%),
              linear-gradient(to top, #000 38%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}
.hero-picture img{object-fit:cover;object-position:50% 45%;filter:contrast(.96)}
.hero{background:#142c40}
.hero h1,.hero-copy>p,.section-rail{text-shadow:0 2px 12px #07182790}
.hero h1,.hero-copy>p{text-shadow:0 1px 3px #071827d9,0 3px 15px #07182760}
.hero h1{text-shadow:0 2px 8px #09293d80}
.film-control{text-shadow:0 1px 3px #071827e0}
.hero-copy{top:36%}
#hero-title + p { margin-block-start: 6px; }
.brand,.footer-brand{background:#f0ede4;border-color:#e8e3d599}
.section-rail a{position:relative;transition:color .3s,border-color .3s,transform .3s}
.section-rail a:first-child{color:inherit;border-color:#fff6}
.section-rail a[aria-current="location"]{color:var(--orange);border-color:var(--orange);transform:translateX(-3px)}
.section-rail a:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:currentColor;left:-2.5px;top:50%;opacity:0;transition:opacity .3s}
.section-rail a[aria-current="location"]:after{opacity:1}

/* Die leere Halle trägt nur das Material. Ring, Karten und ihre Spiegelungen bewegen sich separat. */
:root {
  --section-heading-space: clamp(14px, 1.15cqw, 30px);
  --services-card-growth: clamp(5px, .55cqw, 15px);
  --service-card-height: calc(clamp(160px, 24.5cqw, 460px) + var(--services-card-growth));
  --service-stage-height: clamp(330px, 28.5cqw, 520px);
  --services-title-to-stage: calc(1.3 * var(--section-heading-space));
  /* Die vordere Leistungskarte steht senkrecht mittig in der Bühne. */
  --title-to-card-gap: calc(var(--services-title-to-stage) + (var(--service-stage-height) - var(--service-card-height)) / 2);
}
.services {
  background: #172531 url('../assets/images/services/halle-2000.webp') center / cover no-repeat;
  padding-bottom: 18px;
}
.services::before, .services::after { content: none; }
.services .center-heading, .carousel-controls, .drag-hint, .asset-note { position: relative; z-index: 1; }
.services .center-heading { margin-block-end: var(--services-title-to-stage); }
.services .center-heading .eyebrow { margin-block-end: var(--section-heading-space); }
.carousel-stage {
  height: var(--service-stage-height);
  min-height: 0;
  max-height: none;
  margin-inline: auto;
  max-width: 1920px;
}
.service-card {
  width: clamp(190px, 29cqw, 560px);
  height: var(--service-card-height);
  border: 1px solid #b2bdc29c;
  box-shadow: 0 8px 14px #0810196b;
}
.service-card.active {
  border: 2px solid #ffcb94;
  box-shadow: 0 0 3px #fff0cb99, 0 0 12px #ff942c88, 0 0 28px #e0792d38, 0 12px 20px #040c1073;
}
.service-card::after { background: linear-gradient(0deg, #0c1929f5, #132236b3 17%, transparent 46%); }
.service-card .card-title {
  left: 6%; right: 6%; bottom: 7%;
  overflow-wrap: normal; hyphens: none; white-space: nowrap;
}
.service-card:not(.active) .card-title {
  font-size: clamp(15px, 1.8cqw, 28px);
  max-width: none;
}
.service-card:not(.active) .card-title::after { display: none; }
.service-card[data-side] .card-title {
  text-align: center;
  transform: translateX(var(--caption-shift, 0%));
}
.service-card.active .card-title::after {
  width: clamp(22px, 2.15cqw, 62px);
  height: clamp(2px, .12cqw, 4px);
  margin: .33em auto 0;
}
.floor-ring {
  left: 4.5%; width: 91%; bottom: 0; height: 28%;
  border: 1px solid #ffb569;
  box-shadow: 0 0 2px #fff0c2, 0 0 7px #ff8d39ba, inset 0 0 5px #f8752442, 0 5px 14px #ff8b412b;
}
.floor-ring::after {
  content: ""; position: absolute; inset: 3px 0 -5px; border: 2px solid #ff994c61;
  border-radius: inherit; filter: blur(4px); pointer-events: none;
}
.carousel-controls { gap: 12px; align-items: center; }
.carousel-controls p { min-width: 6ch; font-variant-numeric: tabular-nums; letter-spacing: .12em; font-size: 13px; }
.services .carousel-controls button {
  border: 0; border-radius: 50%; min-width: 44px; min-height: 44px; padding: 0;
  color: var(--orange); font-size: 23px; line-height: 1; text-shadow: 0 0 7px #ee8b4970;
}
.carousel-controls button:hover { background: #15263499; }
@media (max-width: 900px) {
  .services { background-image: url('../assets/images/services/halle-900.webp'); }
}

.facade {
  margin: 0;
  border-inline-start: 1px solid var(--orange);
}
.facade > img {
  position: absolute;
  inset: 0;
  object-position: center;
  filter: none;
}
.facade-caption{background:#e6e0d5e8;font-size:12px;pointer-events:none}

.projects {
  --gallery-bottom-inset: 0px;
  position: relative;
  background: radial-gradient(ellipse at 75% 100%,#42525a38,transparent 65%), repeating-linear-gradient(90deg,transparent 0 calc(33.333% - 1px),#a5b5c515 calc(33.333% - 1px) 33.333%), linear-gradient(135deg,#101f2b,#20323e 65%,#0d1e29);
}
:root { --section-inset: 5cqw; }
.process-body {
  --process-copy-end: clamp(12px, 1.3cqw, 24px);
  grid-template-columns: minmax(calc(var(--section-inset) + 336px + var(--process-copy-end)), 39%) minmax(0, 1fr);
}
.process-copy { padding-inline: var(--section-inset) var(--process-copy-end); }
.process-copy h2 { font-size: clamp(25px, 2.75cqw, 47px); text-wrap: balance; }
@media (min-width: 641px) {
  .process-copy { padding-block-start: clamp(22px, 1.55cqw, 44px); }
  .facade > img { object-position: center top; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .process-body { grid-template-columns: minmax(0, 45%) minmax(0, 1fr); }
  .process-copy h2 { font-size: clamp(22px, 3.45cqw, 31px); }
}
@container mst-site (max-width: 880px) {
  .process-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .facade { min-height: 0; height: auto; border-inline-start: 0; border-block-start: 1px solid var(--orange); }
  .facade > img { position: static; height: auto; }
}
@media (max-width: 520px) {
  .process-copy h2 { font-size: clamp(25px, 7.5cqw, 36px); }
}
.project-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "label label" "title controls";
  align-items: center;
  column-gap: clamp(12px, 1.6cqw, 54px);
  row-gap: var(--section-heading-space);
  padding-bottom: var(--title-to-card-gap);
  padding-inline: var(--section-inset);
}
.project-heading .eyebrow { grid-area: label; margin: 0; white-space: nowrap; }
.project-heading h2 { grid-area: title; align-self: start; font-size: clamp(29px, 3.25cqw, 51px); }

.project-card{box-shadow:0 3px 8px #0c111752}
.project-architecture{opacity:.8;background:repeating-linear-gradient(90deg,transparent 0 56px,#9fb2bd44 56px 57px),repeating-linear-gradient(0deg,#ffffff02 0 46px,#a5bdca38 46px 47px);mask-image:linear-gradient(transparent,#000)}
.architecture-four{transform:skewY(-7deg) scale(1.2);background-size:45px 45px;background-color:#40525a44}
.project-label::after, .contact::before { content: none; }
.reference-index {
  --reference-index-inset: clamp(10px, 1.2cqw, 32px);
  --reference-summary-lines: 1;
  margin-inline: var(--section-inset);
  padding: var(--reference-index-inset) 0;
  border-bottom: 1px solid #a8bbc12b;
  font-size: 14px;
}
.reference-index[open] {
  padding-block-end: calc(var(--reference-index-inset) + max(32px, var(--reference-summary-lines) * 1lh + 10px) + var(--gallery-bottom-inset));
}
:is(.company, .reference-index, .contact-verification) > summary {
  width: fit-content;
  cursor: pointer;
  min-block-size: var(--disclosure-height);
  padding: max(8px, calc((var(--disclosure-height) - 1lh) / 2)) 0;
  font: 400 14px/1.58 var(--font-ui);
  letter-spacing: normal;
  color: var(--orange);
  text-shadow: none;
}
:is(.company, .reference-index, .contact-verification) > summary::marker { color: currentColor; }
:is(.company, .reference-index, .contact-verification) > summary:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.reference-content {
  --reference-column-padding: clamp(16px, 1.6cqw, 40px);
  --reference-logo-gap: clamp(7px, .7cqw, 14px);
  --reference-logo-height: clamp(76px, 6.6cqw, 138px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr);
  align-items: start;
  gap: 1.5em clamp(18px, 2cqw, 48px);
  padding-block: clamp(22px, 1.7cqw, 40px);
}
.reference-content h3 { font-size: clamp(20px, 1.45cqw, 34px); }
.reference-content > :not(:first-child) {
  border-inline-start: 1px solid #a8bbc142;
  padding-inline-start: var(--reference-column-padding);
}
.reference-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--reference-logo-gap);
  list-style: none;
  margin: .8em 0 0;
  padding: 0;
}
@media (min-width: 720px) {
  .reference-content { row-gap: .8em; }
  .reference-brands {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
  }
  .reference-logos { margin-block-start: 0; }
  .reference-brands:first-child .reference-logos {
    margin-inline-end: calc(var(--reference-column-padding) + 1px);
  }
}
:is(.reference-logos, .detail-partner) a {
  position: relative;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  height: var(--reference-logo-height, 76px);
  padding: 6px 8px;
  border: 1px solid #bbc6c445;
  border-radius: 4px;
  overflow: hidden;
}
:is(.reference-logos, .detail-partner) a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--reference-logo-tint, 255, 255, 255), var(--reference-logo-alpha, .15));
  backdrop-filter: blur(3px) brightness(var(--reference-logo-glass, 1.8));
  pointer-events: none;
}
.reference-logo--dh { --reference-logo-tint: 0, 0, 0; --reference-logo-alpha: .2; }
.reference-logo--adler { --reference-logo-tint: 50, 95, 96; --reference-logo-alpha: .25; }
.reference-logo--roma { --reference-logo-tint: 223, 121, 21; --reference-logo-alpha: .3; }
a:is(.reference-logo--dh, .reference-logo--adler, .reference-logo--roma) {
  --reference-logo-glass: 1;
}
:is(.reference-logos, .detail-partner) a:is(:hover, :focus-visible) { border-color: var(--orange); }
.reference-logos a:focus-visible, .detail-partner a { --reference-logo-alpha: 1; }
@media (hover: hover) {
  .reference-logos a:hover { --reference-logo-alpha: 1; }
}
:is(.reference-logos, .detail-partner) img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.reference-logo--red img { filter: saturate(.91); }
.reference-logo--hilzinger24 img { filter: saturate(.85); }
.reference-publication-content {
  --publication-preview-height: clamp(55px, 5.25cqw, 102px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) var(--publication-preview-height);
  gap: var(--reference-logo-gap);
  margin-block-start: .8em;
}
.reference-publication-feature {
  display: grid;
  grid-template-columns: minmax(80px, min(36%, 150px)) minmax(0, 1fr);
  align-items: start;
  gap: 1em;
}
.reference-publication-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 5px 15px #050b1280;
}
.reference-publication-cover { min-height: 0; height: 100%; }
.reference-publication-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.reference-publication-preview span { position: relative; overflow: hidden; border-radius: 2px; }
.reference-publication-preview img {
  position: absolute;
  top: 0;
  width: max(263%, calc(var(--publication-preview-height) * 3.95));
  max-width: none;
  height: auto;
}
.reference-publication-preview span:nth-child(odd) img { left: 0; }
.reference-publication-preview span:nth-child(even) img { right: 0; }
.reference-publication p { color: #c2ced5; margin: 0 0 .55em; }
.reference-publication-feature div a, .contact-email { border-bottom: 1px solid var(--orange); }
@media (min-width: 961px) {
  .reference-publication {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
  }
  .reference-publication-content {
    height: calc(3 * var(--reference-logo-height) + 2 * var(--reference-logo-gap));
    margin-block-start: 0;
  }
  .reference-publication-cover img { width: auto; max-width: 100%; max-height: 100%; }
}
.contact-email{border-bottom:1px solid var(--orange)}
.contact-email{display:inline-block;width:fit-content;margin-top:8px}
.outline.orange, .contact-actions .outline {
  border-radius: 4px;
  corner-shape: bevel;
}
.contact-actions .outline {
  flex: none;
  inline-size: var(--request-button-width);
  min-block-size: var(--request-button-height);
}
.contact-actions {
  flex-wrap: wrap;
  gap: var(--request-button-gap);
}
.contact-actions .outline {
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
}
.contact {
  --contact-bottom-padding: 18px;
  padding-inline: var(--section-inset);
  padding-block-end: var(--contact-bottom-padding);
}
.contact:has(> .contact-verification[open]) {
  padding-block-end: calc(2 * var(--contact-bottom-padding));
}
@media (max-width: 520px) {
  .contact { --contact-bottom-padding: 30px; }
}
.contact-verification { font-size: clamp(16px, 1.12cqw, 25px); }
.process-copy > p:last-child, .contact > p {
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.05cqw, 18px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .018em;
}
.contact > p { border-inline-start-color: var(--orange); }
@media (min-width: 651px) {
  .contact {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: clamp(14px, 1.4cqw, 22px);
    align-items: center;
  }
  .contact h2 { font-size: clamp(30px, 2.8cqw, 41px); }
  .contact > p {
    margin: 0;
    padding-inline-start: 16px;
  }
  .contact-actions { grid-column: 1 / -1; }
}
@media (min-width: 1150px) {
  .contact { grid-template-columns: max-content minmax(0, 1fr) max-content; }
  .contact-actions { grid-column: auto; }
}
@media (min-width: 521px) and (max-width: 650px) {
  .contact { grid-template-columns: 1fr; }
  .contact > p { padding: 0; border: 0; }
}
.contact-verification {
  padding-block-start: clamp(14px, 1.5cqw, 30px);
  border-block-start: 1px solid rgb(255 255 255 / .44);
}
.contact-verification address {
  display: grid;
  grid-template-columns: minmax(0, 13em) minmax(0, 11em) minmax(0, 1fr);
  gap: clamp(14px, 2cqw, 32px);
  margin-block: 1em .4em;
  font-style: normal;
}
.contact-identity, .contact-postal { display: grid; align-content: start; gap: .12em; }
.contact-identity strong { color: var(--white); font-weight: 600; }
.contact-postal, .contact-channels {
  padding-inline-start: clamp(12px, 1.7cqw, 25px);
  border-inline-start: 1px solid #ed761d73;
}
.contact-channels {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-content: start;
  gap: .4em .9em;
  margin: 0;
}
.contact-channels dd { margin: 0; overflow-wrap: anywhere; }
.contact-verification .contact-email { display: inline; margin: 0; font-size: 1em; }
@media (max-width: 680px) {
  .contact-verification address {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    font-size: 14px;
  }
  .contact-identity, .contact-postal { overflow-wrap: anywhere; }
  .contact-channels {
    grid-column: 1 / -1;
    padding: .55em 0 0;
    border-inline-start: 0;
    border-block-start: 1px solid #ed761d45;
  }
}
@media (min-width: 901px) {
  .process-actions {
    --process-action-height: var(--disclosure-height);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    padding-inline: var(--section-inset);
    border-top: 1px solid #58667130;
  }
  .process-actions .company {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 0;
    border: 0;
  }
  .process-actions .company > summary {
    max-width: 54%;
  }
  .process-actions .process-steps {
    grid-column: 2;
    grid-row: 1;
    z-index: 1;
    align-items: center;
    min-height: var(--process-action-height);
    border: 0;
    padding: 0;
  }
}
@media (max-width: 900px) {
  .process-actions .company { padding-inline: var(--section-inset); }
}
.process-steps a { display: inline-flex; align-items: baseline; gap: .5em; padding-block: .3em; }
.process-steps a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .24em; }
.company-content .company-steps { list-style: none; margin: 0; padding: 0; }
.company-steps > li { display: grid; grid-template-columns: 2ch minmax(0, 1fr); gap: .85em; align-items: baseline; scroll-margin-top: 1.5rem; }
.company-steps > li + li { margin-top: .95em; }
.company-steps > li > p:last-child { grid-column: 2; margin: 0; }
.process .process-number { color: #a34711; }
.company-steps > li.is-current-step .process-number { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 380px) {
  .process-steps { justify-content: space-between; gap: .4em; }
  .process-steps a { flex-direction: column; gap: .15em; }
}

/* Der Bildstreifen folgt dem Schnittwinkel der drei Architekturansichten im Master. */
.project-strip {
  /* Außerhalb des beschnittenen Scrollbereichs bleibt der Schatten sichtbar. */
  filter: drop-shadow(0 4px 4px rgb(5 12 17 / .48));
}
.project-gallery {
  position: relative;
  gap: 4px;
  padding-inline: 5.8%;
  padding-block-end: var(--gallery-bottom-inset);
  scroll-padding-inline: 5.8%;
  scrollbar-width: none;
  user-select: none;
}
.project-gallery::-webkit-scrollbar { display: none; }
.project-gallery.is-dragging { scroll-snap-type: none; }
.project-gallery.is-dragging, .project-gallery.is-dragging .project-card { cursor: grabbing; }
.project-card,
.project-card:focus-visible {
  --edge-opacity: 0;
  --project-caption-height: max(25%, 58px);
  flex: 0 0 calc((100% - 8px) / 3);
  height: 20cqw;
  margin: 0;
  overflow: hidden;
  clip-path: none;
  transform: skewX(-20deg);
  scroll-snap-align: start;
  isolation: isolate;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--project-caption-height);
  border-top: 1px solid #fff4;
  backdrop-filter: blur(4px) brightness(.59);
  opacity: .95;
  pointer-events: none;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: clamp(2px, .13cqw, 4px);
  background: var(--orange);
  box-shadow: 0 -1px 5px rgb(237 118 29 / .65);
  opacity: var(--edge-opacity);
  pointer-events: none;
}
.project-gallery:not(:has(.project-card:hover)) .project-card:focus-visible {
  --edge-opacity: 1;
  border-bottom-color: var(--orange);
}
@media (hover: hover) {
  .project-gallery:not(.is-dragging) .project-card:hover {
    --edge-opacity: 1;
    border-bottom-color: var(--orange);
  }
}
.project-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease-out;
}
.project-card:hover .project-illustration,
.project-card:focus-visible .project-illustration { transform: scale(1.025); }
.project-card .project-label {
  z-index: 1;
  inset: auto 5% 0 8%;
  height: var(--project-caption-height);
  display: grid;
  align-content: center;
  gap: .25em;
  padding-block: 4px;
  transform: skewX(20deg);
  transform-origin: left bottom;
  color: #fff;
  text-shadow: 0 1px 3px #071520, 0 1px 6px #071520bb;
}
.project-label::before { content: none; }
.project-client {
  font: 500 clamp(11px, .94cqw, 25px)/1.2 var(--font-ui);
}
.project-name {
  font: 400 clamp(13px, 1.4cqw, 46px)/1.15 var(--font-title);
}
.gallery-navigation { grid-area: controls; display: flex; align-items: center; gap: 14px; }
#gallery-count {
  min-width: 6.5ch;
  text-align: center;
  color: #eeeae2;
  font: 500 clamp(13px, .96cqw, 28px)/1.3 var(--font-ui);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gallery-navigation button {
  width: 42px;
  height: 42px;
  border: 1px solid #becbd3;
  border-radius: 50%;
  line-height: 1;
  font-size: 20px;
}
.gallery-navigation button:enabled:focus-visible {
  color: var(--orange);
  border-color: currentColor;
  background-color: rgb(237 118 29 / .1);
}
@media (hover: hover) {
  .gallery-navigation button:enabled:hover {
    color: var(--orange);
    border-color: currentColor;
    background-color: rgb(237 118 29 / .1);
  }
}
.gallery-navigation button:disabled { opacity: .4; }
.service-card.active .card-title { font-size: clamp(28px, 2.55cqw, 46px); }
@media (min-width: 801px) {
  .project-gallery {
    --panel-offset: clamp(43.68px, 3.64cqw, 63.7px);
    clip-path: polygon(
      calc(5.8% + var(--panel-offset)) 0,
      calc(94.2% + var(--panel-offset)) 0,
      calc(94.2% - var(--panel-offset)) 100%,
      calc(5.8% - var(--panel-offset)) 100%
    );
  }
  .services { padding: 1.9cqw 0 14px; }
  .services .eyebrow { margin-bottom: 6px; }
  .carousel-controls { gap: 14px; }
  .carousel-controls button { min-height: 36px; padding: 5px 12px; }
  .drag-hint { margin: 4px 0 0; }
}
@media (max-width: 800px) {
  .project-card, .project-card:focus-visible { flex-basis: 48%; height: 285px; }
}
@container mst-site (max-width: 1150px) {
  .project-heading { column-gap: 12px; }
  .project-heading h2 { font-size: clamp(22px, 3.05cqw, 34px); }
  .gallery-navigation { gap: 7px; }
  .gallery-navigation button { width: 38px; height: 38px; }
}
@media (max-width: 960px) {
  .reference-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-content > .reference-publication {
    grid-column: 1 / -1;
    padding: 1em 0 0;
    border-inline-start: 0;
    border-block-start: 1px solid #a8bbc142;
  }
  .reference-publication-preview { max-width: 36rem; }
}
@media (max-width: 719px) {
  .project-heading h2 { font-size: clamp(24px, 4.6cqw, 32px); text-wrap: balance; }
  .reference-content { grid-template-columns: minmax(0, 1fr); }
  .reference-content > .reference-brands + .reference-brands {
    padding: 1em 0 0;
    border-inline-start: 0;
    border-block-start: 1px solid #a8bbc142;
  }
}
@media (max-width: 460px) {
  .reference-index { --reference-summary-lines: 2; }
}
@media (max-width: 380px) {
  .project-card .project-label { inset-inline: 6% 2%; }
  .project-name { font-size: 12px; letter-spacing: 0; }
}
@media (max-width: 520px) {
  :root { --section-inset: 7cqw; }
  :root { --service-stage-height: 340px; }
  .projects { --gallery-bottom-inset: 10px; }
  .project-heading { padding-block-start: 18px; }
  .gallery-navigation { gap: 8px; }
  .gallery-navigation button { width: 38px; height: 38px; }
  .project-gallery { padding-inline: 9%; scroll-padding-inline: 9%; }
  .project-card, .project-card:focus-visible { flex-basis: 91%; height: 260px; min-height: 260px; transform: skewX(-13deg); }
  .project-card .project-label { transform: skewX(13deg); }
}
@media (prefers-reduced-motion: reduce) { .project-illustration { transition: none; } }

@media (min-width: 1081px) {
  #site-view .hero { height: max(580px, 53.7037cqw); }
  #site-view .hero-copy { top: 36%; }
  #site-view .hero h1 { font-size: clamp(40.32px, 3.744cqw, 64.8px); }
  #site-view .hero-copy > p { font-size: clamp(17px, 1.55cqw, 24px); }
  .services .center-heading h2 { font-size: clamp(32px, 3.55cqw, 55px); }
}
@media (min-width: 651px) and (max-width: 800px) {
  .hero-copy { top: 36%; }
  .hero-picture { left: 0; }
  .hero-picture img { object-position: 46% center; }
}
@media (max-width: 650px) {
  .hero {
    --mobile-hero-height: clamp(545px, 83svh, 740px);
    --mobile-crop-offset: clamp(0px, calc((390px - 100cqw) * .5), 35px);
    height: var(--mobile-hero-height);
    min-height: 0;
  }
  .hero-picture, .hero-video { inset: 0; height: 100%; }
  .window-hotspot {
    left: calc(73% - .38 * var(--mobile-hero-height) + var(--mobile-crop-offset));
    top: calc(.36 * var(--mobile-hero-height));
    width: calc(.145 * var(--mobile-hero-height));
    height: calc(.17 * var(--mobile-hero-height));
  }
  .hero-picture img, .hero-video { object-position: calc(73% + var(--mobile-crop-offset)) center; }
  .hero-picture::after {
    inset: 44% 0 0;
    background: linear-gradient(45deg, rgb(13 32 48 / .46), rgb(13 32 48 / .34) 38%, transparent 83%);
    mask-image: linear-gradient(to right, #000 32%, transparent 70%),
                linear-gradient(to top, #000 58%, transparent);
  }
  .hero-copy { top: auto; right: var(--hero-inset); bottom: clamp(20px, 4svh, 40px); padding: 0; }
  .hero h1 {
    font-size: clamp(29.52px, 7.776cqw, 36.72px);
    text-shadow: 0 1px 2px #071827, 0 0 6px #071827d9;
  }
  .hero-copy > p:not(.film-status) { font-size: clamp(16px, 4.2cqw, 18px); }
}
@media (max-width: 520px) {
  .project-heading:after { display: none; }
  .services:after { inset: 45% 0 0; }
  .contact-email { font-size: 13px; overflow-wrap: anywhere; }
}
@media(prefers-reduced-motion:reduce){.section-rail a,.section-rail a:after,.project-card{transition:none}.section-rail a[aria-current="location"]{transform:none}}


@media (min-width: 651px) and (max-width: 800px) {
  :root {
    --service-card-height: calc(28cqw + var(--services-card-growth));
    --service-stage-height: max(270px, 36cqw);
  }
  .service-card { width: 31cqw; }
  .service-card.active .card-title { font-size: clamp(20px, 3cqw, 25px); }
}
@media (max-width: 650px) {
  :root { --service-card-height: calc(clamp(216px, 64cqw, 287px) + var(--services-card-growth)); }
  .service-card { width: clamp(196px, 68cqw, 310px); }
  .service-card.active .card-title { font-size: clamp(21px, 6cqw, 28px); }
  .service-card:not(.active) .card-title { visibility: hidden; }
  .floor-ring { bottom: 1%; }
}
@media (min-width: 521px) and (max-width: 650px) {
  :root { --service-stage-height: 390px; }
}

/* Das Originalzeichen trägt seinen eigenen Alphakanal. Nur die Silhouette erhält Licht. */
.brand, .footer-brand {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}
.brand { width: clamp(174.9006px, 17.49006cqw, 301.1333px); }
.footer-brand { width: var(--footer-brand-width); }
.brand picture, .footer-brand picture, .brand img, .footer-brand img { display: block; width: 100%; height: auto; }
.hero-copy > p:not(.film-status) { text-shadow: 1px 1px 0 #000; }
.hero-copy > .film-status, .film-control { text-shadow: 0 1px 3px #071a29, 0 1px 6px #071a29c9; }
.brand picture, .footer-brand picture, .legal-title-logo, .service-page-logo {
  position: relative;
  isolation: isolate;
  --brand-art: url('../assets/brand/mst-frei-384.webp');
}
.brand picture { --brand-art: url('../assets/brand/mst-kopf-384.webp'); }
@media (min-width: 1098px) and (min-resolution: 2dppx),
       (min-width: 651px) and (min-resolution: 2.2dppx),
       (max-width: 650px) and (min-resolution: 3.21dppx) {
  .brand picture { --brand-art: url('../assets/brand/mst-kopf-1024.webp'); }
}
.brand picture::before, .footer-brand picture::before, .legal-title-logo::before, .service-page-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--brand-art) center / 100% 100% no-repeat;
  filter: brightness(0);
  opacity: .82;
  transform: translate(1px, 2px);
}
.footer-brand picture::before, .legal-title-logo::before, .service-page-logo::before { clip-path: inset(37% 0 13%); transform: translate(.25px, .35px); }

.brand picture::before {
  /* Der transparente Zwischenraum trennt MST von der Unterzeile. */
  clip-path: inset(0 0 13%);
  transform: translateY(1px);
  opacity: .55;
}
/* Die vorhandene Logokontur übernimmt das dunkle Blau des Seitenrands. */
@supports (mask-image: url("")) {
  .site-header .brand picture::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-color: #0b1825;
    mask: var(--brand-art) center / 100% 100% no-repeat;
  }
  .site-header .brand img { opacity: 0; }
}
.brand { -webkit-tap-highlight-color: transparent; }

footer {
  --footer-brand-width: 105px;
  --footer-panel-height: clamp(68px, 5.2cqw, 78px);
  --footer-divider: #f4ac6d8c;
  --footer-link-gap: clamp(16px, 2cqw, 40px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px clamp(24px, 4.2cqw, 96px);
  align-items: center;
  padding-block: clamp(18px, 2.1cqw, 40px) clamp(34px, 4cqw, 88px);
  background: #59656d url('../assets/images/projects/metallwand.webp') center 43% / cover no-repeat;
  background-blend-mode: luminosity;
  color: #edf0ed;
  box-shadow: inset 0 1px 0 #ffffff30, 0 -3px 12px #0c13183b;
}
footer .footer-links {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  gap: var(--footer-link-gap);
  align-items: stretch;
  min-width: 0;
}
footer .footer-contact {
  display: grid;
  align-content: center;
  align-self: center;
  gap: .15em;
  min-width: 0;
  min-block-size: var(--footer-panel-height);
  padding-inline-start: clamp(12px, 1.2cqw, 30px);
  border-inline-start: 1px solid var(--footer-divider);
  font-size: clamp(16px, 1.5cqw, 21px);
  font-style: normal;
  line-height: 1.25;
}
:is(.footer-contact, #inquiry-direct-contact) a { margin: 0; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
:is(.footer-contact, #inquiry-direct-contact) a[href^="tel:"] {
  color: #fff; font-weight: 600;
  letter-spacing: .035em; font-variant-numeric: tabular-nums;
}
.footer-contact a[href^="tel:"] { font-size: clamp(17px, 5cqw, 28px); }
#inquiry-direct-contact a[href^="tel:"] { font-size: 1.23em; }
:is(.footer-contact, #inquiry-direct-contact) a:is(:hover, :focus-visible) { color: var(--orange); }
footer .footer-maintenance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(10px, 1.2cqw, 18px);
  padding-inline-start: var(--footer-link-gap);
  border-inline-start: 1px solid var(--footer-divider);
}
footer .footer-maintenance .maintenance-panel {
  inline-size: 100%;
  min-block-size: var(--footer-panel-height);
  font-size: clamp(14px, 1.2cqw, 17px);
  column-gap: clamp(6px, .7cqw, 10px);
}
.maintenance-panel {
  --maintenance-brand-background: linear-gradient(165deg, #f77d02, #e65901);
  --maintenance-panel-opacity: 85%;
  display: grid;
  flex: none;
  inline-size: var(--request-button-width);
  min-block-size: var(--request-button-height);
  grid-template-columns: auto minmax(0, max-content);
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 6px 4px;
  border: 1px solid #ffffff66;
  border-radius: 4px;
  corner-shape: bevel;
  background-image: linear-gradient(165deg, rgb(119 66 40 / var(--maintenance-panel-opacity)), rgb(85 48 36 / var(--maintenance-panel-opacity)));
  color: #fff;
  box-shadow: 0 2px 4px #0008;
  font: 400 13px/1.16 var(--font-ui);
  text-align: left;
}
.maintenance-panel--service {
  --maintenance-brand-background: linear-gradient(165deg, #0065ab, #004e90);
  background-image: linear-gradient(165deg, rgb(38 84 114 / var(--maintenance-panel-opacity)), rgb(29 56 78 / var(--maintenance-panel-opacity)));
}
.footer-maintenance button:is(:hover, :focus-visible) {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 2px 4px #0008;
}
.footer-maintenance button:focus-visible { background: var(--maintenance-brand-background); }
@media (hover: hover) {
  .footer-maintenance button:hover { background: var(--maintenance-brand-background); }
}
.footer-maintenance-icon {
  /* Ausschnitt aus dem gelieferten Paneel. Schwarz blendet sich aus. */
  width: 24px;
  height: 20px;
  background: url('../assets/brand/wartung-instandsetzung.webp') -5px -1px / 104px auto no-repeat;
  filter: grayscale(1) brightness(.68) contrast(9);
  mix-blend-mode: screen;
}
.maintenance-panel--service .footer-maintenance-icon {
  background-image: url('../assets/brand/wartung-service.webp');
  background-position: -6px -1px;
  background-size: 88px auto;
}
.footer-maintenance-title { overflow-wrap: anywhere; }
.footer-maintenance-title span { display: block; }
.service-feature {
  position: relative;
  width: fit-content;
  max-width: 100%;
}
.service-page .service-feature .service-photo { margin: 0; }
.maintenance-badges {
  position: absolute;
  z-index: 1;
  inset: 9px auto auto 9px;
  display: grid;
  gap: 4px;
  pointer-events: none;
}
.maintenance-badge {
  inline-size: 136px;
  justify-content: start;
  background: linear-gradient(165deg, #ab470d, #913603);
}
.maintenance-badge.maintenance-panel--service {
  background: linear-gradient(165deg, #075d9b, #064a80);
}
.service-card .maintenance-badge {
  inline-size: auto;
  min-block-size: 32px;
  padding: 4px 8px;
  gap: 7px;
}
.service-card--maintenance > img { object-position: 10% center; }
@media (max-width: 300px) {
  .service-card--maintenance > img { object-position: 15% center; }
}
@media (min-width: 651px) and (max-width: 900px) {
  .service-card--maintenance > img { height: max(100%, 205px); object-position: 2% center; }
}
@media (max-width: 420px) {
  :is(.detail-photo-frame, .service-feature) > .maintenance-badges {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: var(--request-button-gap);
    margin-block-end: 10px;
  }
}
.service-card:not(.active)[data-side="right"] .maintenance-badges { inset-inline: auto 9px; }
@container mst-site (max-width: 650px) {
  .service-card:not(.active) .maintenance-badges {
    --preview-badge-inset: calc(20% + clamp(0px, (370px - 100cqw) * .38, 36px));
    inset-inline: var(--preview-badge-inset) auto;
  }
  .service-card:not(.active)[data-side="right"] .maintenance-badges { inset-inline: auto var(--preview-badge-inset); }
  .service-card:not(.active) .maintenance-badge { min-block-size: 0; grid-template-columns: auto; padding: 4px; }
  .service-card:not(.active) .maintenance-badge .footer-maintenance-title { display: none; }
}
footer .footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  justify-self: end;
  gap: .45em;
  width: auto;
  font-size: clamp(14px, 1cqw, 22px);
}
footer .footer-note {
  grid-column: 1 / -1;
  margin-top: clamp(6px, 1cqw, 18px);
  padding-top: clamp(12px, 1.2cqw, 24px);
  border-top: 1px solid #ffffff28;
  text-align: center;
}
.footer-note small { display: block; margin-top: .35em; color: #d8dfe2; }
footer [data-legal] { display: inline-block; margin: 0; padding-block: .18em; }
@media (max-width: 1000px) {
  footer {
    column-gap: clamp(18px, 5cqw, 42px);
    justify-content: stretch;
    background-position: 18% 35%;
  }
  footer .footer-links { display: contents; }
  footer .footer-maintenance {
    grid-column: 1 / -1;
    width: 100%;
    padding: 12px 0 0;
    border-inline-start: 0;
    border-block-start: 1px solid var(--footer-divider);
  }
  footer .footer-legal {
    grid-column: 1 / -1;
    justify-self: center;
    align-items: center;
  }
}
@media (max-width: 460px) {
  .footer-maintenance .maintenance-panel {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 3px;
    padding-block: 3px;
    text-align: center;
  }
}
footer [data-legal] {
  position: relative;
  color: #fff;
  text-shadow: none;
  box-shadow: none;
  transition: color .16s ease;
}
footer [data-legal]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .16s ease;
}
footer [data-legal]:is(:focus-visible, :active) { color: var(--orange); }
footer [data-legal]:is(:focus-visible, :active)::after { transform: scaleX(1); }
@media (hover: hover) {
  footer [data-legal]:hover { color: var(--orange); }
  footer [data-legal]:hover::after { transform: scaleX(1); }
}

:root { --hero-inset: clamp(32px, 3.4cqw, 64px); }
.site-header { padding-inline: var(--hero-inset); padding-top: var(--hero-inset); pointer-events: none; }
.site-header .brand { pointer-events: auto; }
.hero .hero-copy { left: var(--hero-inset); }
@media (min-width: 651px) {
  .site-header { padding-top: calc((var(--hero-inset) - 10px) * 2 / 3); }
  .hero .hero-copy { margin-block-start: calc(var(--hero-inset) - var(--hero-copy-offset, 32px) - 10px); }
}
@media (min-width: 720px) {
  .hero { --hero-copy-offset: clamp(20px, 1.9cqw, 56px); }
}
@media (max-width: 650px) {
  :root {
    --hero-inset: max(12px, 3.3333%);
  }
  .site-header {
    padding-block: clamp(12px, 4cqw, 24px) 0;
  }
  .site-header .brand {
    width: clamp(98px, 29cqw, 120px);
    transform: translateY(-2px);
  }
}
.hero .section-rail {
  display: flex;
  align-items: stretch;
  right: clamp(4px, .65cqw, 24px);
  gap: clamp(6px, 1.4cqw, 34px);
  z-index: 3;
}
.section-rail a {
  display: grid;
  place-items: center;
  min-width: clamp(32px, 2.7cqw, 72px);
  min-height: 44px;
  padding: .35em;
  background: rgb(9 24 41 / .22);
  border-radius: 2px;
  font-variant-numeric: tabular-nums;
}
.section-rail a::before {
  content: attr(aria-label);
  position: absolute;
  right: calc(100% + 5px);
  white-space: nowrap;
  background: #112639f2;
  padding: .5em .8em;
  color: #fff;
  font-size: .9em;
  opacity: 0;
  pointer-events: none;
}
.section-rail a:focus-visible::before { opacity: 1; }
@media (hover: hover) {
  .section-rail a:hover::before { opacity: 1; }
  .section-rail a:hover { color: var(--orange); }
}
@media (max-width: 650px) {
  .hero .section-rail { top: clamp(24px, 6cqw, 36px); gap: 2px; }
}
/* Die optische Schienenebene hat denselben Bildraum und Ausschnitt wie das Hallenfoto. */
.services::before {
  content: ""; position: absolute; inset: 0;
  background: url('../assets/images/services/schienenlicht.svg') center / cover no-repeat;
  pointer-events: none;
}
.floor-ring {
  --tube: clamp(1.8px, .16cqw, 4.2px);
  border: var(--tube) solid #ffe8bc;
  box-shadow: inset 0 0 1px 1px #ff902a, 0 0 1px 1px #ff963e,
              0 0 5px 1px #ff8b2ec2, 0 0 13px 3px #fe7c2c57;
}
.floor-ring::before {
  content: ""; position: absolute; inset: 1px; border-radius: inherit;
  border: 1px solid #ff9939; box-shadow: inset 0 0 7px #f57b2547;
}
.floor-ring::after {
  inset: 1% -.4% -13%; border: clamp(3px, .35cqw, 8px) solid #ff993a80;
  box-shadow: 0 2px 9px 2px #ff9f4d54, inset 0 1px 9px #ff9d3e4a;
  filter: blur(4px);
  mask-image: linear-gradient(90deg, #000a, #000 23%, #000d 49.75%, #0002 50%, #000d 50.25%, #000 78%, #000a);
}
.service-card { -webkit-box-reflect: below 2px linear-gradient(transparent 80%, #fff1 92%, #fff3); }
.service-card.active {
  -webkit-box-reflect: below 2px linear-gradient(transparent 77%, #ffffff0d 87%, #ffffff3d);
  box-shadow: 0 0 3px #ffefd1cc, 0 0 11px #ff9b3d9c, 0 0 22px #e77d344a, 0 9px 16px #0b1018a6;
}
.projects {
  background: linear-gradient(#18252e66, #1d2c3538 52%, #15232e66),
              #172632 url('../assets/images/projects/metallwand.webp') center top / cover no-repeat;
  box-shadow: inset 0 -3px 10px #0b101632;
}
.project-photo {
  position: absolute; inset: 0 -18%; width: 136%; max-width: none; height: 100%; object-fit: cover;
  transform: skewX(20deg);
}
[hidden] { display: none !important; }
#detail-credit { font-size: .88em; color: #cbd7dc; }
#detail-credit a, .legal a { text-decoration: underline; text-underline-offset: .23em; }
.legal h2 { font-size: 1.6em; margin-top: 1.4em; }
.legal p { line-height: 1.65; max-width: 66ch; }
@media (max-width: 520px) {
  .brand { width: 164.6347px; }
  .floor-ring::after { filter: blur(3px); }
  footer { --footer-brand-width: 88px; }
  .project-photo { transform: skewX(13deg); }
}
@media (min-width: 1280px) and (min-resolution: 2dppx) {
  .services { background-image: url('../assets/images/services/halle-3840.webp'); }
}

/* Gemeinsame Metallfläche und Typografie für die lokalen Detailansichten. */
.metal-sheet, .legal-shell {
  --sheet-width: min(calc(var(--layout-width) - 20px), clamp(330px, 63dvh, 1040px));
  --sheet-top: max(env(safe-area-inset-top), clamp(24px, 6dvh, 120px));
  --sheet-height: calc(100dvh - var(--sheet-top) - max(8px, env(safe-area-inset-bottom)));
  --sheet-pad: clamp(16px, 2.7dvh, 48px);
  width: calc(var(--sheet-width) * .9);
  min-height: min(calc(var(--sheet-width) * 1.32 + 2px), var(--sheet-height));
  --sheet-type: 16px;
  --sheet-title: clamp(25px, 2.1vw, 30.24px);
  --photo-space: clamp(20px, 2.8dvh, 48px);
  --sheet-wall: linear-gradient(100deg, #0c182224, #101d2a48 54%, #101d294d), #25323b url('../assets/images/projects/metallwand.webp') center / 100% 100% no-repeat;
}
/* Die sichtbare Karte bestimmt die Dokumenthöhe. Das Motiv dahinter bleibt an Ort und Stelle. */
body.reading-card { height: var(--reading-height, 100svh); min-height: 100svh; }
.reading-card #site-view { position: fixed; inset-inline: 0; top: var(--site-offset); }
dialog.under-sheet { visibility: hidden; }
dialog.under-sheet::backdrop { background: transparent; backdrop-filter: none; }
dialog.metal-sheet {
  position: absolute;
  max-width: none;
  max-height: none;
  overflow: visible;
  inset-block: var(--sheet-top) auto;
  margin: 0 auto;
  padding: var(--sheet-pad);
  border: 1px solid #f6a364;
  border-radius: 8px;
  background: var(--sheet-wall);
  font-size: var(--sheet-type);
  color: #f6f3ec;
  box-shadow: 0 0 4px #ff9c4780, 0 0 17px #ec7c252e, 0 20px 55px #03090eb3;
}
dialog.service-detail {
  --photo-space: var(--service-photo-gap);
  --service-media-height: calc((var(--sheet-width) * .9 - 2 * var(--sheet-pad) - 2px) / 1.5);
}
#detail-dialog .detail-body {
  display: flex;
  flex-direction: column;
  min-height: min(calc(var(--sheet-width) * 1.32 - 2 * var(--sheet-pad)), calc(var(--sheet-height) - 2 * var(--sheet-pad) - 2px));
}
.metal-sheet .detail-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.metal-sheet .detail-bar .eyebrow { order: -1; font-size: clamp(11px, .75em, 14px); margin: 0; }
.metal-sheet .close {
  margin: 0 0 0 auto;
  padding: .35em .8em;
  border: 1px solid var(--orange);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: clamp(13px, .94em, 17px);
}
@media (hover: hover) {
  .metal-sheet .close:hover { color: var(--orange); }
}
.metal-sheet .close:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px #fff;
}
.service-pager { display: none; }
.service-detail .detail-bar .close { order: 1; margin-left: auto; }
.service-detail .service-pager {
  display: flex; align-items: center; justify-content: center; gap: .15em;
  margin-left: auto; color: #e9e5de;
}
.service-pager button {
  min-width: 32px; min-height: 34px; padding: 0; font-size: 1.15em;
}
.service-pager button:is(:hover, :focus-visible) { color: var(--orange); }
.service-current { color: var(--orange); }
.service-pager output { font-size: .82em; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 540px), (max-height: 600px) {
  .service-detail .service-pager { order: 2; flex-basis: 100%; margin: 0; justify-content: flex-start; }
}
.metal-sheet h2, .legal-heading h1 {
  margin: clamp(18px, 2.2dvh, 36px) 0 .4em;
  font-size: var(--sheet-title);
  color: var(--orange);
  line-height: 1.09;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.detail-intro p { margin: 0; font-size: 1em; line-height: 1.5; }
.project-detail .detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(88px, 24%, 170px);
  align-items: start;
  column-gap: clamp(10px, 2vw, 24px);
  row-gap: .35em;
  margin-top: clamp(18px, 2.2dvh, 36px);
}
.project-detail .detail-intro > div:first-child { display: contents; }
.project-detail #detail-project-client { grid-area: 1 / 1; color: #dce5e9; font-size: .82em; }
.project-detail #detail-title { grid-area: 2 / 1; margin-block: 0 .2em; }
.project-detail #detail-copy { grid-area: 3 / 1; }
.detail-partner {
  grid-area: 2 / 2 / span 2;
  padding-inline-start: clamp(8px, 1.5vw, 20px);
  border-inline-start: 1px solid var(--orange);
}
.detail-partner a { height: clamp(56px, 7vw, 86px); padding: 5px 6px; }
@media (max-width: 520px) {
  .project-detail .detail-intro { column-gap: 10px; row-gap: 4px; }
  .project-detail #detail-copy { grid-column: 1 / -1; }
  .project-detail .detail-partner { grid-row: 2; }
}
.service-detail h2 { margin-block: clamp(30px, 3.8dvh, 56px) clamp(15px, 1.8dvh, 28px); }
.detail-photo, .inquiry-visual, .legal-banner {
  display: block;
  width: 100%;
  margin: var(--photo-space) auto;
  border: 1px solid #bbc6c448;
  border-radius: 3px;
  box-shadow: 0 2px 4px #0008;
}
.detail-photo { flex: none; }
.project-detail .detail-photo { border: 0; outline: 1px solid #bbc6c448; }
/* Einheitliche Medienhöhe, mit vollständigem Quer- oder Hochformat. */
.service-detail .detail-photo { border: 0; box-shadow: none; }
.detail-photo-frame {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto 0;
}
.service-detail .detail-photo > img, .detail-photo-frame > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: var(--service-media-height);
  object-fit: contain;
  margin-inline: auto 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px #bbc6c448, 0 2px 4px #0008;
}
.project-detail .detail-photo img { display: block; width: 100%; height: auto; border-radius: inherit; }
.detail-photo[hidden] { display: none; }
#detail-list { list-style: none; padding: 0; margin: 0; }
#detail-list li {
  display: grid; grid-template-columns: 2ch minmax(0, 1fr); gap: 1em;
  padding: .72em 0; border-top: 1px solid #e8e8d833; line-height: 1.45; color: #e0e6e7;
}
.detail-number, .field-name::before {
  font: 500 .85rem/1.5 var(--font-ui);
  letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--orange);
}
.metal-sheet .sheet-actions { margin-top: auto; }
.detail-body > .sheet-actions { padding-top: clamp(20px, 2.7dvh, 44px); }
@media (max-width: 520px) {
  .metal-sheet, .legal-shell { --sheet-pad: 14px; }
  .metal-sheet .detail-bar .eyebrow { letter-spacing: .16em; }
  .metal-sheet .detail-bar .eyebrow::before { width: 18px; margin-right: 8px; }
}
@media (max-height: 740px) {
  .metal-sheet, .legal-shell { --sheet-pad: 12px; }
}
@media (max-height: 600px) {
  .metal-sheet, .legal-shell { --sheet-width: min(calc(var(--layout-width) - 12px), 330px); --sheet-pad: 12px; }
}
@media (orientation: landscape) and (max-height: 460px) {
  .metal-sheet, .legal-shell { --sheet-width: min(calc(var(--layout-width) - 12px), 92dvh); }
}
/* Die untere Rückkehr bleibt auch beim Lesen langer Inhalte greifbar. */
.sheet-actions {
  position: sticky; bottom: max(6px, env(safe-area-inset-bottom)); z-index: 2;
  display: flex; flex-wrap: wrap; gap: .6em; align-items: center; justify-content: space-between;
}
.service-detail .sheet-actions { position: static; }
.sheet-back {
  flex: none; margin-left: auto;
  padding: .45em .85em; min-height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  font: 400 .94em/1.3 var(--font-ui);
  background: #1b272eed; color: #f1ebe2; border: 1px solid #8991909e; border-radius: 3px;
}
.inquiry-send .outline:enabled:is(:hover, :focus-visible) { border-color: var(--orange); color: var(--orange); }
.sheet-back:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: .22em;
}
.sheet-back:focus-visible {
  outline: none;
  text-decoration-thickness: 2px;
}
.project-detail #detail-credit { margin: .5em 0 0; }
#inquiry-dialog[open], #legal-dialog[open] {
  display: flex; flex-direction: column;
}
.inquiry-visual { height: auto; aspect-ratio: 3 / 1; object-fit: cover; object-position: center 34%; }
.inquiry-visual-full { aspect-ratio: 1672 / 941; object-fit: contain; object-position: center; }
#inquiry-form { counter-reset: field; display: flex; flex-direction: column; gap: 1em; padding: 0; min-width: 0; }
#inquiry-form > :is(label, .inquiry-object-fields) { counter-increment: field; }
.field-name::before { content: counter(field, decimal-leading-zero); margin-right: .8em; }
#inquiry-form label { gap: .28em; font-size: 1em; }
#inquiry-form :is(input, textarea, select) {
  font: inherit; line-height: 1.4; padding: .55em .7em;
  color: #f5f2ec; background: #111d25cc; border: 1px solid #849095ab; border-radius: 3px;
}
#inquiry-maintenance-details {
  margin: .85em 0 0;
  padding: .65em .7em .75em;
  min-width: 0;
  border: 1px solid #ffffff33;
  border-radius: 4px;
}
#inquiry-maintenance-details legend { padding-inline: .3em; }
#inquiry-maintenance-details label + label { margin-top: .65em; }
#inquiry-direct-contact {
  display: grid;
  gap: .3em;
  margin-top: 1.25em;
  padding-inline-start: .8em;
  border-inline-start: 1px solid #f4ac6d8c;
  font-size: .95em;
  font-style: normal;
}
#inquiry-form textarea { min-height: 4.8em; overflow: hidden; resize: none; }
#inquiry-attachments { min-width: 0; }
#inquiry-file-note { font-size: .87em; color: #d8dfe2; }
.inquiry-send { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65em; }
.inquiry-send .outline {
  display: grid; place-items: center; padding: .6em .75em; text-align: center;
  border-radius: 4px; corner-shape: bevel; font-size: .94em; overflow-wrap: anywhere;
}
.inquiry-send .outline:disabled { opacity: .55; cursor: default; }
#inquiry-note { margin: 0; max-width: 55ch; font-size: .91em; line-height: 1.45; }
.metal-sheet .sheet-actions { pointer-events: none; }
.metal-sheet .sheet-actions > * { pointer-events: auto; }
.metal-sheet .sheet-actions .outline { background-color: #1b272ef7; font-size: .95em; }
#inquiry-dialog > .sheet-actions, #legal-dialog > .sheet-actions { padding-top: var(--photo-space); }
#inquiry-dialog > .sheet-actions { position: static; }
@media (max-width: 520px) {
  #inquiry-form :is(input, textarea, select) { font-size: 16px; }
}

/* Dasselbe Blatt erscheint im Dialog und beim Aufruf der eigenen Rechtsadresse. */
.legal-page { width: min(100%, var(--site-max-width)); margin-inline: auto; container-type: inline-size; display: flow-root; min-height: 100svh; background: #14212b; }
.legal-shell {
  display: flex; flex-direction: column;
  margin: var(--sheet-top) auto;
  padding: var(--sheet-pad); color: #eeeae2; background: var(--sheet-wall);
  border: 1px solid #f6a364; border-radius: 8px; font-size: var(--sheet-type);
}
.legal-shell nav { display: flex; align-items: center; justify-content: space-between; font-size: .94em; }
.legal-shell .sheet-actions { margin-top: auto; padding-top: 1em; bottom: .65em; }
.legal-sheet { color: #e6e9e7; }
.legal-heading h1 { font-weight: 400; }
.legal-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-block-start: clamp(18px, 2.2dvh, 36px);
}
.legal-title-row h1 { margin: 0; }
.legal-title-logo { flex: none; margin-inline-start: auto; width: clamp(58px, 14%, 105px); }
.legal-title-logo img { display: block; width: 100%; height: auto; }
:is(#legal-dialog, .legal-shell):has(.privacy-sheet) {
  --sheet-wall: linear-gradient(90deg, #0c1822aa, #111d2a70 35%, #101d294d 72%), #25323b url('../assets/images/projects/metallwand.webp') center / 100% 100% no-repeat;
}
.legal-banner { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 0; }
.legal-copy { padding: .2em 0 .8em; font-size: 1em; line-height: 1.52; }
.legal-copy section { padding-top: .9em; margin: 1em 0 0; border-top: 1px solid #cad4d440; }
.legal-copy section h2 { margin: 0 0 .4em; color: var(--orange); font: 400 1.24em/1.28 var(--font-title); }
.legal-copy p, .legal-copy ul { margin: .42em 0; font-size: inherit; line-height: inherit; }
.legal-copy p, .legal-copy ul { max-width: 68ch; }
.imprint-copy section + section { margin-top: 1.6em; padding-top: 1.35em; }
.imprint-address { display: grid; gap: .7em; margin-top: .8em; font-style: normal; line-height: 1.7; }
.imprint-address p { margin: 0; }
.legal-copy ul { padding-left: 1.25em; }
.legal-copy a { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .2em; overflow-wrap: anywhere; }

/* Bildvergleich im geöffneten Leistungsblatt 06. */
.defect-comparison {
  --split: 50%;
  position: relative;
  height: var(--service-media-height);
  isolation: isolate;
  border-radius: inherit;
  box-shadow: 0 0 0 1px #bbc6c448, 0 2px 4px #0008;
}
.defect-comparison img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: contain; border-radius: inherit;
}
.comparison-before { clip-path: inset(0 0 0 var(--split)); }
.comparison-divider {
  position: absolute; inset-block: 0; left: var(--split); width: 3px;
  transform: translateX(-50%); background: var(--orange); pointer-events: none;
}
.comparison-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid white; border-radius: 50%; background: var(--orange);
  color: white; font: 600 12px/1 var(--font-ui); white-space: pre;
}
.comparison-label {
  position: absolute; bottom: 5px; padding: 2px 5px; border-radius: 2px;
  color: white; background: #14212edb; font: 500 12px/1.45 var(--font-ui);
}
.comparison-label.after { left: 5px; }
.comparison-label.before { right: 5px; }
.defect-comparison input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
  border: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; appearance: none;
}
.defect-comparison input::-webkit-slider-thumb { appearance: none; width: 0; height: 44px; }
.defect-comparison input::-moz-range-thumb { width: 0; height: 44px; border: 0; }
.defect-comparison:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; }
.defect-comparison + figcaption { margin-top: .55em; color: #cbd7dc; font-size: .82em; line-height: 1.45; }

.service-image-note { margin: 4px 0 0; padding-inline: var(--section-inset); }
.asset-note a { text-decoration: underline; text-underline-offset: .18em; }

.inquiry-reply { margin-top: .65em; }
#inquiry-form .inquiry-privacy { margin: 0; font-size: .88em; line-height: 1.5; }
.inquiry-privacy a { text-decoration: underline; text-underline-offset: .2em; }

.audio-portrait {
  --portrait-orange: #ffa45b;
  display: grid;
  grid-template-columns: 44px minmax(0, max-content);
  align-items: stretch;
  gap: 9px;
  inline-size: max-content;
  max-inline-size: min(100%, calc(100cqw - 2 * var(--hero-inset)));
  margin-block-start: .55rem;
  padding: 8px 10px;
  border: 1px solid #a6b7c38a;
  border-radius: 7px;
  background: rgb(27 48 62 / .15);
  backdrop-filter: blur(4px) brightness(.82);
  color: #fff;
  text-shadow: 0 1px 2px #0b1727;
}
.audio-portrait-controls, .audio-portrait-copy {
  display: grid;
  min-inline-size: 0;
}
.audio-portrait-controls { grid-template-rows: 44px 16px; gap: 4px; }
.audio-portrait-play {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #81a5c69c;
  border-radius: 50%;
  background: rgb(16 41 62 / .55);
  color: var(--portrait-orange);
}
.audio-portrait-button-face {
  display: grid;
  place-items: center;
  transition: transform .125s ease-out;
}
.audio-portrait-play:active .audio-portrait-button-face {
  transform: translateY(1px) scale(.95);
}
.audio-portrait-button-face svg { width: 21px; height: 21px; fill: currentColor; grid-area: 1 / 1; }
.audio-portrait-pause-icon { display: none; }
.audio-portrait[data-playback="playing"] .audio-portrait-play-icon { display: none; }
.audio-portrait[data-playback="playing"] .audio-portrait-pause-icon { display: block; }
.audio-portrait[data-playback="playing"] :is(.audio-portrait-play, .audio-portrait-speaker),
.audio-portrait:is([data-playback="paused"], [data-playback="ended"]) .audio-portrait-off {
  color: var(--portrait-orange);
}
.audio-portrait-play:focus-visible { background-color: rgb(16 41 62 / .9); }
@media (hover: hover) {
  .audio-portrait-play:hover {
    background-color: rgb(16 41 62 / .9);
    color: #ffceaa;
  }
}
.audio-portrait-progress {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
  pointer-events: none;
  fill: none;
  stroke: var(--portrait-orange);
  stroke-width: 2;
}
.audio-portrait-switches {
  display: grid;
  grid-template-columns: 21px 1fr;
}
.audio-portrait-switches button {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: 600 10px/1 var(--font-ui);
}
.audio-portrait-switches .audio-portrait-speaker {
  display: grid;
  align-items: center;
  justify-content: start;
  padding-inline-start: 1px;
  border-inline-end: 1px solid #abbac281;
}
.audio-portrait-speaker svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.audio-portrait-copy {
  grid-template-rows: auto auto 1fr;
  align-items: start;
  row-gap: 4px;
}
.audio-portrait-copy p { margin: 0; line-height: 1.15; }
#audio-portrait-title {
  color: var(--portrait-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}
.audio-portrait-copy .audio-portrait-subtitle { color: #fff; font-size: 13px; line-height: 1.2; }
.audio-portrait-wave {
  align-self: end;
  width: 100%;
  height: 18px;
  overflow: visible;
  fill: none;
  stroke: #b6c9d5;
  stroke-width: 1.25;
  stroke-linecap: round;
}
.audio-portrait-wave.is-speaking { stroke: var(--portrait-orange); }
.audio-portrait-status {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.audio-portrait button:focus-visible, .rondell-sound:focus-visible { outline: 2px solid var(--portrait-orange, #ffa45b); outline-offset: 3px; }
.hero-copy > p:not(.film-status) { margin-block-end: 0; }
@media (max-width: 650px) {
  .hero .hero-copy { bottom: calc(2 * clamp(20px, 4svh, 40px) + 5px); }
}
@media (max-width: 390px) {
  .audio-portrait { column-gap: 7px; }
  .audio-portrait-copy .audio-portrait-subtitle { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .audio-portrait-button-face { transition: none; }
  .audio-portrait-play:active .audio-portrait-button-face { transform: none; }
}
.rondell-sound {
  margin-inline-start: .9em;
  padding: .35em .45em;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  cursor: pointer;
}
.rondell-sound span { color: #ffa45b; }
.rondell-sound[aria-pressed="false"] span { color: #c6d5df; }
.footer-note a { text-decoration: underline; text-underline-offset: .2em; }

.service-page.legal-shell {
  width: min(860px, calc(100% - 2rem));
}
.service-page nav { flex-wrap: wrap; gap: .75rem; }
.service-page h1 { margin: .8em 0 .4em; font-size: clamp(29px, 4vw, 49px); }
.service-page h2 { margin: 1.25em 0 .4em; font-size: clamp(22px, 2.4vw, 31px); }
.service-page h1, .service-page h2 { overflow-wrap: anywhere; hyphens: auto; }
.service-page .eyebrow { margin-top: 1.5rem; }
.service-page p, .service-page li { max-width: 64ch; line-height: 1.62; overflow-wrap: anywhere; }
.service-page ul { padding-inline-start: 1.3rem; }
.service-page li + li { margin-top: .48em; }
.service-page a:not(.outline) { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .2em; }
.service-page .service-photo { display: block; max-width: 100%; max-height: 27rem; width: auto; height: auto; border-radius: 4px; }
.service-page > p:has(+ :is(.service-photo, .service-feature)) { margin-block-end: 0; }
.service-page > :is(.service-photo, .service-feature) { margin: var(--service-photo-gap) auto; }
.service-page > :is(.service-photo, .service-feature) + h2 { margin-block-start: 0; }
.service-page .service-links { padding: 0; list-style: none; }
.service-page .service-links li { padding: .65em 0; border-top: 1px solid var(--line); }
.service-page .service-links li p { margin: .35em 0 0; }
.service-page .service-contact { display: flex; flex-wrap: wrap; gap: .65em; margin-top: 1.25em; }
.service-page footer { display: flex; flex-wrap: wrap; gap: .65em 1.25em; margin-top: 2em; padding: 1em 0 0; background: none; box-shadow: none; font-size: .9em; }
.service-page footer a { margin: 0; }

.service-overview-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px clamp(14px, 3vw, 24px);
  margin-block-start: 1rem;
}
.service-overview-heading .eyebrow {
  margin: 0;
  font: 400 12px/1.58 var(--font-ui);
  letter-spacing: .26em;
  white-space: nowrap;
}
@container mst-site (max-width: 520px) {
  .service-overview-heading .eyebrow { letter-spacing: .2em; }
}
@container mst-site (max-width: 370px) {
  .service-overview-heading .eyebrow {
    font-size: clamp(9px, 3cqw, 12px);
    letter-spacing: .14em;
  }
  .service-overview-heading .eyebrow::before { width: 18px; margin-inline-end: 8px; }
}
.services .service-overview-heading {
  justify-content: center;
  margin-block: 0 var(--section-heading-space);
}
.services .center-heading .service-overview-heading .eyebrow { margin: 0; }
.service-audio { max-width: 100%; }
.service-audio audio { max-width: 100%; }
.service-audio-toggle { --play-face-alpha: .25; }
.service-audio-toggle:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 3px;
  border-radius: 4px;
  color: inherit;
}
.service-audio-toggle:focus-visible { --play-face-alpha: .9; }
@media (hover: hover) {
  .service-audio-toggle:hover { --play-face-alpha: .9; }
}
.service-audio-play {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(rgb(255 152 44 / var(--play-face-alpha)), rgb(236 105 9 / var(--play-face-alpha)));
  color: #fff;
  box-shadow: 0 0 12px #ff871d15;
}
.service-audio-play svg { width: 18px; height: 18px; fill: currentColor; }
.service-audio-speaker {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-audio-toggle .service-audio-active,
.service-audio-toggle[data-playing] .service-audio-idle { display: none; }
.service-audio-toggle[data-playing] .service-audio-active { display: inline; }
.service-audio-status:not(:empty) { display: block; color: #f5f2eb; font-size: .85em; }

.process-copy .service-overview-heading,
.project-heading .service-overview-heading { margin-block-start: 0; }
.process-copy .service-overview-heading { margin-block-end: var(--section-heading-space); }
.process-copy .service-overview-heading:has(.service-audio-toggle:not([hidden])) {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: clamp(8px, 2cqw, 20px);
}
.process-copy .service-audio:has(.service-audio-toggle:not([hidden])) { display: contents; }
.process-copy .service-audio-toggle { justify-self: start; }
.process-copy .service-audio-status:not(:empty) { grid-column: 1 / -1; }
.project-heading .service-overview-heading { grid-area: label; }
.process-copy .service-audio-play { color: #14212e; }
.process-copy .service-audio-status:not(:empty) { color: #14212e; }
.service-page .service-page-logo { width: clamp(64px, 11vw, 105px); }
.service-page-logo img { width: 100%; height: auto; }
.service-page > .sheet-actions { position: static; }
.service-page .sheet-actions .sheet-back { text-decoration: none; }
