/*
Theme Name: TRIMA Bau und Technik
Author: TRIMA Bau und Technik GmbH
Description: Eigenständiges responsives Theme mit Technik-Sprengbild, Kontaktformular und responsiver Header-Logoanimation. Einrichtung: Design → TRIMA Einrichtung.
Version: 1.2.9
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: trima
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--paper:#f7f7f5;--white:#fff;--ink:#2e2e2e;--muted:#6f6f6f;--line:#dadada;--coral:#ff7874;--dark:#2a2a2a;--green:#e2e2e2;--heat:#cc524b;--air:#277c81;--water:#3e73b8;--power:#9a701a;--gutter:clamp(20px,5vw,88px);--ease:cubic-bezier(.2,.7,.2,1);--header:94px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header) + 22px)}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Helvetica Neue",Arial,system-ui,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}body:has(dialog[open]){overflow:hidden}a{color:inherit;text-underline-offset:.22em}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}img,svg{display:block;max-width:100%}[hidden]{display:none!important}:focus-visible{outline:3px solid #3979ba;outline-offset:5px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500;letter-spacing:-.055em;line-height:1.05}h1{font-size:clamp(48px,6.65vw,104px)}h2{font-size:clamp(37px,4.25vw,66px)}h3{font-size:clamp(25px,2.15vw,33px)}.wrap{width:calc(100% - var(--gutter)*2);max-width:1392px;margin:auto}.section{padding:clamp(76px,8vw,125px) 0}.eyebrow{font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:650;line-height:1.6;margin-bottom:27px;display:flex;align-items:center;gap:12px}.eyebrow>span:first-child,.tiny-square{display:inline-block;width:7px;height:7px;background:var(--coral)}.lead{font-size:20px;line-height:1.65;color:var(--muted)}.button{display:inline-flex;gap:32px;align-items:center;justify-content:space-between;min-height:59px;padding:17px 24px;border:0;text-decoration:none;font-size:13px;font-weight:600;transition:background .25s,transform .25s}.button svg{width:19px;height:19px;transition:transform .3s}.button:hover svg{transform:translate(3px,-3px)}.button:disabled{opacity:.45;cursor:not-allowed}.button-dark{background:var(--dark);color:white}.button-dark:hover{background:#4f4f4f}.button-coral{background:var(--coral);color:#272727}.button-coral:hover{background:#ff978e}.text-link{font-size:13px;font-weight:600;text-decoration:none;display:inline-flex;gap:18px;align-items:center}.text-link svg{width:17px}.text-link:hover{text-decoration:underline}.coral{color:var(--coral)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:9999;top:10px;left:10px;padding:10px;background:white;transform:translateY(-150%)}.skip-link:focus{transform:none}
/* Navigation */
.site-header{position:sticky;top:0;z-index:70;background:rgba(255,255,255,.97);border-bottom:1px solid #e4e4e4}.header-inner{height:var(--header);display:flex;align-items:center;gap:clamp(22px,3vw,52px)}.brand{width:190px;flex:none}.brand img{width:190px;height:auto;mix-blend-mode:multiply}.desktop-nav{display:flex;gap:32px;margin-left:auto}.desktop-nav a{text-decoration:none;font-size:13px}.desktop-nav a:hover{color:#b0433e}.header-cta{font-size:12px;text-decoration:none;border-left:1px solid var(--line);padding-left:30px;display:flex;align-items:center;gap:20px}.header-cta svg{width:18px;color:#bf5049}.menu-toggle{display:none;border:1px solid var(--line);background:none;width:44px;height:44px;padding:12px}.menu-toggle span{display:block;height:1px;background:var(--ink);margin:5px 0}.menu-dialog{max-width:none;width:100vw;height:100dvh;max-height:100dvh;border:0;margin:0;padding:26px;color:var(--ink);background:var(--paper)}.menu-dialog::backdrop{background:#2d2d2d88}.menu-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.menu-close{width:46px;height:46px;background:none;border:1px solid var(--line);font-size:30px}.menu-dialog nav{display:grid;margin:65px 0}.menu-dialog nav a{font-size:clamp(30px,7vw,50px);letter-spacing:-.04em;text-decoration:none;display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}.menu-dialog nav a span{font-size:11px;color:var(--muted);letter-spacing:0}.menu-contact{display:grid;gap:10px}.menu-contact a{text-decoration:none}
/* Start */
.hero{overflow:hidden;padding-top:38px}.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;min-height:646px;gap:32px}.hero-copy{position:relative;z-index:2;padding:30px 0 60px}.hero h1{max-width:710px;margin-bottom:32px;white-space:normal}.hero-lead{max-width:395px;color:var(--muted);font-size:17px;line-height:1.75;margin:0 0 35px}.hero-caption{display:flex;gap:10px;align-items:center;font-size:10px;color:#686868;margin-top:27px}.hero-model{position:relative;min-height:610px;align-self:stretch;display:flex;align-items:center;justify-content:center}.morph-shape{position:absolute;width:108%;height:94%;background:#e7e7e7;border-radius:42% 58% 53% 47%/55% 38% 62% 45%;transform:rotate(-12deg);animation:morph 18s ease-in-out infinite alternate}.hero-building{width:115%;max-width:700px;position:relative;z-index:1}.hero-building .building-svg{max-height:640px;overflow:visible}.hero-building .building-base{transform:translate(0,515px)}.hero-building .layer-water{transform:translate(0,445px)}.hero-building .layer-heat{transform:translate(0,300px)}.hero-building .layer-power{transform:translate(0,110px)}.hero-building.building-is-closed .layer-water{transform:translate(0,485px)}.hero-building.building-is-closed .layer-heat{transform:translate(0,430px)}.hero-building.building-is-closed .layer-power{transform:translate(0,365px)}.building-layer{transition:transform 1.25s var(--ease),opacity .45s,filter .45s;will-change:transform}.model-label{position:absolute;z-index:2;top:16px;left:10px;right:0;display:flex;justify-content:space-between;font-size:9px;text-transform:uppercase;letter-spacing:.12em}.model-label i{font-style:normal}.model-link{position:absolute;z-index:2;bottom:44px;left:28px;display:flex;align-items:center;gap:12px;font-size:11px;text-decoration:none}.circle-plus{width:32px;height:32px;display:grid;place-items:center;border:1px solid #969696;border-radius:50%;font-size:19px;transition:transform .5s}.model-link:hover .circle-plus{transform:rotate(90deg)}.drawing-note{position:absolute;bottom:18px;right:10px;font-size:9px;color:#757575}.hero-bottom{display:flex;align-items:center;gap:clamp(26px,6vw,96px);padding:27px 0;border-top:1px solid #d3d3d3;font-size:12px}.hero-bottom>a{margin-left:auto;text-decoration:none;font-size:10px;color:var(--muted)}.hero-bottom>span::before{content:'+';color:var(--coral);font-size:16px;margin-right:12px}
/* Services */
.section-head{display:grid;grid-template-columns:1fr 2.1fr;gap:48px;margin-bottom:58px;align-items:start}.section-head .eyebrow{padding-top:7px}.section-head .lead{margin-top:27px;max-width:680px}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.service-card{padding:30px 25px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-decoration:none;display:flex;flex-direction:column;position:relative;transition:background .35s,transform .35s}.service-card:hover{background:#e7e7e7;transform:translateY(-6px)}.service-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted)}.service-top>svg{width:20px}.service-card:hover .service-top>svg{transform:translate(3px,-3px)}.line-icon{height:124px;display:flex;align-items:center;margin:25px 0 16px}.line-icon>svg{width:60px;height:75px}.service-heat .line-icon{color:var(--heat)}.service-air .line-icon{color:var(--air)}.service-water .line-icon{color:var(--water)}.service-power .line-icon{color:var(--power)}.service-card h3{font-size:25px;margin-bottom:16px;letter-spacing:-.035em}.service-card p{font-size:13px;line-height:1.85;color:var(--muted);margin-bottom:36px}.service-tag{margin-top:auto;font-size:9px;border-top:1px solid var(--line);padding-top:18px}
/* Interlude */
.tech-band{background:var(--dark);color:var(--paper);overflow:hidden;padding:85px 0}.tech-band-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center}.tech-band .eyebrow{color:#eda299}.tech-band p:not(.eyebrow){font-size:15px;color:#c2c2c2;max-width:470px;margin:28px 0 30px}.tech-orbit{position:relative;color:#a8a8a8;padding-top:28px}.tech-orbit span{font-size:10px;letter-spacing:.08em;display:block;text-align:center}.orbit-frames path{transform-origin:center;animation:float-frame 6s ease-in-out infinite alternate}.orbit-frames path:nth-child(2){animation-delay:-2s}.orbit-frames path:nth-child(3){animation-delay:-4s}.animated-line{stroke-dasharray:400;animation:draw-line 4s ease-in-out infinite alternate}.process-section{border-bottom:1px solid var(--line)}.process-grid{display:grid;grid-template-columns:repeat(4,1fr)}.process-step{padding:0 34px 5px 0;border-right:1px solid var(--line);margin-right:34px;position:relative}.process-step:last-child{border:0;margin:0}.process-step>span{font-size:12px;color:#a84942}.process-step h3{margin:40px 0 20px;font-size:28px}.process-step p{font-size:14px;line-height:1.8;color:var(--muted)}
/* People */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.about-art{aspect-ratio:1;background:#e3e3e3;position:relative;display:grid;place-items:center;overflow:hidden}.about-art>span{font-size:clamp(160px,20vw,280px);font-weight:400;letter-spacing:-.16em;line-height:1;z-index:1}.morph-outline{position:absolute;inset:12%;border:1px solid #9d9d9d;border-radius:10% 45% 20% 40%;animation:morph 12s ease-in-out infinite alternate}.art-coordinates{position:absolute;bottom:26px;left:26px;font-size:9px;letter-spacing:.14em;line-height:1.8}.about-grid .lead{font-size:17px;margin-top:28px}.about-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.about-facts span{border:1px solid #b9b9b9;padding:7px 12px;font-size:10px}.team-section{padding-top:20px}.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}.team-initials{background:#e9e9e9;aspect-ratio:1.35;position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:25px}.team-initials:after{content:'';position:absolute;width:85%;height:130%;border:1px solid #d1d1d1;transform:rotate(35deg);left:40%;top:-20%;transition:transform .8s var(--ease)}.team-card:hover .team-initials:after{transform:rotate(60deg)}.team-initials>span{font-size:57px;letter-spacing:-.07em;font-weight:400;color:#868686}.team-initials i{position:absolute;right:18px;top:16px;font-size:10px;font-style:normal}.team-card h3{font-size:22px;margin:22px 0 8px;letter-spacing:-.03em}.team-card p{font-size:13px;color:var(--muted);line-height:1.6}.team-card small{font-size:11px;color:#5e5e5e;line-height:1.6;display:block;margin-top:12px;border-top:1px solid var(--line);padding-top:10px}
/* Contact */
.contact-section{background:#e4e4e4}.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:100px}.contact-copy h2{font-size:clamp(52px,6.5vw,88px)}.contact-copy>p:not(.eyebrow){color:#686868;margin-top:24px;font-size:15px}.contact-lines{margin:36px 0;display:grid;gap:12px}.contact-lines>div{display:flex;gap:18px;align-items:baseline}.contact-lines span{font-size:10px;width:49px;color:#696969}.contact-lines a{font-size:17px;text-decoration:none}.contact-lines a:hover{text-decoration:underline}.vcard-block{display:flex;gap:22px;align-items:center;padding-top:28px;border-top:1px solid #c8c8c8}.vcard-qr{width:146px;min-width:146px;aspect-ratio:1;background:#fff;padding:6px}.vcard-qr>svg{width:100%;height:auto;shape-rendering:crispEdges}.vcard-block strong{font-size:13px;font-weight:500}.vcard-block p{font-size:11px;line-height:1.5;color:#656565;margin:7px 0 14px}.vcard-block .text-link{font-size:10px}.contact-form-wrap{padding-top:17px}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:26px 22px;position:relative}.field{display:grid;gap:7px}.field label{font-size:11px}.field label span{color:#a14840}.field input,.field select,.field textarea{padding:13px 0;border:0;border-bottom:1px solid #aaaaaa;background:transparent;color:var(--ink);width:100%;border-radius:0;min-height:49px;font-size:14px;outline-offset:3px}.field input::placeholder,.field textarea::placeholder{color:#6e6e6e;opacity:1}.field textarea{resize:vertical}.field select{appearance:auto}.full{grid-column:1/-1}.form-privacy{font-size:11px;line-height:1.7;color:#636363}.form-actions{display:flex;align-items:center;gap:22px}.form-actions>span{font-size:10px;color:#636363}.form-status{font-size:13px;color:#444444}.form-status:not(:empty){padding:15px;border-left:3px solid #747474;background:#ffffff75}.form-status.error{border-color:#b14842}.form-note{font-size:13px;border:1px solid #b67b73;padding:15px;margin-bottom:24px}.hp-field{position:absolute;width:1px;height:1px;left:-10000px;overflow:hidden}
/* Technology */
.tech-hero{padding:85px 0 60px;background:var(--dark);color:#f7f6f0}.tech-hero h1{font-size:clamp(46px,6.8vw,100px)}.tech-hero h1>span{color:#c3c3c3}.tech-hero-bottom{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-top:35px}.tech-hero-bottom p{max-width:600px;color:#c3c3c3;font-size:17px}.tech-hero-bottom>span{font-size:10px;letter-spacing:.07em;text-transform:uppercase;line-height:1.8}.tech-explorer{padding-top:35px;background:#f8f8f2}.explorer-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px}.model-state{display:flex;gap:12px;align-items:center;font-size:11px}.explode-toggle{padding:12px 18px;background:#e7e7e7;border:1px solid #c6c6c6;display:flex;align-items:center;gap:22px;font-size:12px;min-height:46px}.explode-toggle:hover{background:#d6d6d6}.explode-toggle span{font-size:20px;line-height:1}.explorer-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:60px;align-items:center}.explorer-stage{position:relative;isolation:isolate;margin:28px 0}.explorer-stage .building-svg{position:relative;z-index:2;overflow:visible;width:100%}.stage-rings{position:absolute;inset:17% -3% 5%;border:1px solid #dcdcdc;border-radius:50%;transform:rotate(-20deg);z-index:-1}.stage-rings:after{content:'';position:absolute;inset:12%;border:1px solid #e5e5e5;border-radius:50%}.explorer-stage.building-is-closed .layer-water{transform:translate(0,595px)}.explorer-stage.building-is-closed .layer-heat{transform:translate(0,540px)}.explorer-stage.building-is-closed .layer-power{transform:translate(0,485px)}.building-layer.is-muted{opacity:.13;filter:grayscale(1)}.building-layer.is-active{opacity:1;filter:drop-shadow(0 10px 8px #33333317)}.flow-path{stroke-dasharray:900;stroke-dashoffset:0}.building-layer.is-active .flow-path{animation:trace 1.6s var(--ease) both}.stage-caption{display:flex;justify-content:space-between;font-size:9px;color:#6d6d6d;line-height:1.6;margin-top:10px}.explorer-controls{padding:40px 0}.tech-selectors{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:40px}.tech-selector{font-size:11px;min-height:42px;padding:10px 14px;border:1px solid #bebebe;color:#454545;background:none;border-radius:0}.tech-selector:hover{background:#e8e8e8}.tech-selector.active{background:var(--dark);color:white;border-color:var(--dark)}.tech-info{min-height:410px}.tech-info h2{font-size:clamp(34px,3.5vw,50px);margin-bottom:24px;max-width:430px}.tech-info>p:not(.eyebrow){font-size:15px;color:var(--muted);line-height:1.85}.tech-info ul{list-style:none;padding:0;margin:25px 0 30px}.tech-info li{padding:10px 0 10px 17px;font-size:12px;border-bottom:1px solid var(--line);position:relative}.tech-info li:before{content:'+';position:absolute;left:0;color:#b45249}.three-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:50px}.three-columns article{border-top:1px solid var(--line);padding-top:22px}.three-columns span{font-size:11px;color:#a44942}.three-columns h3{margin:34px 0 18px}.three-columns p{font-size:15px;color:var(--muted)}.small-cta{padding:75px 0;background:var(--coral)}.small-cta .wrap{display:flex;justify-content:space-between;align-items:center;gap:40px}
/* Content / footer */
.content-page{padding:80px 0 110px;min-height:70vh}.content-narrow{max-width:850px;width:calc(100% - var(--gutter)*2);margin:auto}.content-narrow h1{font-size:clamp(40px,6vw,76px);margin-bottom:50px;overflow-wrap:anywhere}.content-narrow h2{font-size:27px;letter-spacing:-.035em;margin:36px 0 17px;line-height:1.2}.content-narrow h3{font-size:21px;letter-spacing:-.02em;margin:25px 0 16px}.content-narrow p,.content-narrow ul{margin-bottom:20px;color:#606060}.site-footer{background:var(--dark);color:#efefef;padding:60px 0 26px}.footer-top{display:grid;grid-template-columns:1.3fr 1fr .8fr;gap:55px;align-items:start;padding-bottom:65px}.footer-wordmark{font-size:49px;line-height:1;font-weight:650;letter-spacing:-.075em}.footer-wordmark>span{color:var(--coral)}.footer-top p{font-size:11px;color:#c3c3c3;margin-top:20px}.footer-contact{display:grid;gap:8px;font-size:13px}.footer-contact a{text-decoration:none}.footer-contact a:hover{text-decoration:underline}.footer-top address{font-style:normal;font-size:12px;color:#c8c8c8;line-height:1.9}.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid #5c5c5c;padding-top:26px;font-size:10px;color:#c3c3c3}.footer-bottom nav{display:flex;gap:26px}.footer-bottom a{text-decoration:none}
/* Motion is progressive enhancement; content is never hidden without JS */
.motion-ready .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}.motion-ready .reveal.visible{opacity:1;transform:none}@keyframes morph{0%{border-radius:38% 62% 55% 45%/45% 40% 60% 55%;transform:rotate(-12deg)}50%{border-radius:63% 37% 40% 60%/52% 61% 39% 48%;transform:rotate(-3deg)}100%{border-radius:47% 53% 67% 33%/58% 42% 58% 42%;transform:rotate(6deg)}}@keyframes float-frame{from{transform:translateY(-5px)}to{transform:translateY(5px)}}@keyframes draw-line{from{stroke-dashoffset:400}to{stroke-dashoffset:0}}@keyframes trace{from{stroke-dashoffset:900}to{stroke-dashoffset:0}}
@media(min-width:1600px){.hero-grid{min-height:780px}.hero-model{min-height:730px}.hero-building .building-svg{max-height:760px}}
@media(max-width:1100px){:root{--gutter:34px}.desktop-nav{gap:22px}.brand,.brand img{width:156px}.header-cta{padding-left:20px;gap:14px}.hero-grid{min-height:600px;gap:20px}.hero-model{min-height:570px}.hero h1{font-size:clamp(54px,6.7vw,83px)}.service-card{padding:24px 18px}.service-card h3{font-size:21px}.contact-grid{gap:55px}.team-grid{gap:18px}.explorer-grid{gap:25px}.about-grid{gap:55px}}
@media(max-width:860px){:root{--header:76px;--gutter:24px}.desktop-nav{display:none}.header-cta{margin-left:auto;border:0;font-size:11px}.menu-toggle{display:block}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:22px 0 10px}.hero h1{font-size:72px;max-width:680px}.hero-lead{max-width:540px}.hero-model{min-height:560px;width:100%;margin:20px auto 12px;max-width:600px}.hero-building{width:100%}.hero-building .building-svg{max-height:620px}.model-label{top:35px}.model-link{bottom:18px}.drawing-note{bottom:0}.section-head{grid-template-columns:1fr;gap:4px}.section-head .eyebrow{margin-bottom:19px}.service-grid{grid-template-columns:repeat(2,1fr)}.service-card h3{font-size:27px}.service-card{padding:25px}.process-grid{grid-template-columns:repeat(2,1fr);gap:35px}.process-step{margin:0;padding-right:25px}.process-step:nth-child(2){border:0}.tech-band-grid{grid-template-columns:1fr;gap:10px}.tech-orbit{max-width:520px;justify-self:center;width:100%}.about-grid{grid-template-columns:.75fr 1fr;gap:35px}.team-grid{grid-template-columns:repeat(2,1fr);gap:40px 22px}.contact-grid{grid-template-columns:1fr;gap:50px}.contact-copy h2{font-size:72px}.vcard-block{max-width:470px}.explorer-grid{grid-template-columns:1fr;gap:0}.explorer-stage{max-width:630px;justify-self:center}.explorer-controls{padding-top:0}.tech-info{min-height:300px}.tech-info h2{max-width:650px}.footer-top{gap:30px}.three-columns{gap:28px}.tech-hero h1{font-size:64px}.tech-hero-bottom>span{display:none}.admin-bar .site-header{top:32px}}
@media(max-width:540px){:root{--header:74px;--gutter:21px}body{font-size:15px}.header-inner{gap:16px}.brand,.brand img{width:137px}.header-cta{font-size:0;gap:0;padding:0;margin-left:auto}.header-cta svg{width:21px;height:21px}.menu-toggle{width:42px;height:42px}.hero{padding-top:18px}.hero-copy{padding:15px 0 5px}.eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:23px}.hero h1{font-size:clamp(43px,12.5vw,66px);line-height:1.07;letter-spacing:-.057em;margin-bottom:25px}.hero-lead{font-size:14px;line-height:1.8;margin-bottom:25px;max-width:310px}.button{font-size:12px;min-height:54px;padding:15px 21px;gap:25px}.hero-caption{font-size:9px;margin-top:21px}.hero-model{min-height:400px;margin-top:8px;margin-bottom:17px}.hero-building{width:110%;min-width:110%;margin-top:-14px}.hero-building .building-svg{max-height:440px}.morph-shape{height:95%;width:106%}.model-label{top:25px;font-size:7px;left:5px}.model-link{left:6px;bottom:13px;font-size:9px}.drawing-note{font-size:7px}.hero-bottom{gap:20px;padding:21px 0;flex-wrap:wrap;justify-content:space-between;font-size:9px}.hero-bottom>span::before{margin-right:6px;font-size:12px}.hero-bottom>a{display:none}h2{font-size:37px}.section{padding:68px 0}.section-head{margin-bottom:34px}.section-head .lead{font-size:16px;margin-top:22px}.service-grid{grid-template-columns:1fr}.service-card{padding:24px 25px;display:grid;grid-template-columns:1fr 60px;column-gap:18px}.service-top{grid-column:1/-1}.line-icon{height:64px;margin:20px 0 0;grid-column:2;grid-row:2/4}.line-icon svg{height:60px}.service-card h3{font-size:27px;margin-top:25px;grid-column:1}.service-card p{font-size:13px;grid-column:1;margin:0 0 22px}.service-tag{grid-column:1/-1}.tech-band{padding:67px 0 42px}.tech-band p:not(.eyebrow){font-size:14px}.tech-orbit{margin-top:14px}.tech-orbit span{font-size:8px}.process-grid{gap:35px 20px}.process-step{border:0;padding:0}.process-step h3{font-size:25px;margin:25px 0 14px}.process-step p{font-size:13px}.about-grid{grid-template-columns:1fr;gap:32px}.about-art{aspect-ratio:1.2}.about-grid .lead{font-size:15px}.team-section{padding-top:12px}.team-grid{gap:34px 17px}.team-initials{padding:15px;aspect-ratio:1}.team-initials>span{font-size:45px}.team-card h3{font-size:20px;line-height:1.2;margin-top:18px}.team-card p{font-size:11px}.team-card small{font-size:10px}.contact-copy h2{font-size:62px}.contact-lines a{font-size:15px}.vcard-block{gap:18px}.vcard-qr{width:144px;min-width:144px}.vcard-block strong{font-size:12px}.vcard-block p{font-size:10px}.vcard-block .text-link{font-size:10px}.contact-form{gap:24px;grid-template-columns:1fr}.field input,.field select,.field textarea{font-size:16px}.full{grid-column:auto}.form-actions{align-items:start;flex-direction:column;gap:12px}.form-actions button{width:100%}.tech-hero{padding:54px 0 44px}.tech-hero h1{font-size:48px}.tech-hero-bottom{margin-top:26px}.tech-hero-bottom p{font-size:14px}.tech-explorer{padding-top:25px}.explorer-toolbar{align-items:start;gap:14px}.model-state{font-size:9px;line-height:1.6;max-width:137px}.explode-toggle{font-size:10px;padding:9px 12px;gap:10px;white-space:nowrap}.explorer-stage{margin:10px -12px 26px;width:calc(100% + 24px)}.stage-caption{margin:10px 12px 0;font-size:8px}.tech-selectors{gap:7px;margin-bottom:29px}.tech-selector{font-size:10px;padding:10px 12px}.tech-info{min-height:390px}.tech-info h2{font-size:38px}.tech-info>p:not(.eyebrow){font-size:14px}.three-columns{grid-template-columns:1fr;gap:40px}.three-columns h3{margin:19px 0 15px}.small-cta{padding:55px 0}.small-cta .wrap{align-items:start;flex-direction:column;gap:30px}.footer-top{grid-template-columns:1fr;gap:32px;padding-bottom:35px}.footer-wordmark{font-size:46px}.footer-bottom{align-items:start;flex-direction:column;gap:21px;font-size:9px}.footer-bottom nav{gap:25px}.content-page{padding-top:55px}.content-narrow h1{font-size:42px}.content-narrow h2{font-size:25px}.admin-bar .site-header{top:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.motion-ready .reveal{opacity:1;transform:none}}
@media print{.site-header,.site-footer,.menu-dialog,.contact-form{display:none!important}.reveal{opacity:1!important;transform:none!important}.section{padding:30px 0}body{background:white}.hero-grid{display:block}.hero-model{display:none}}
/* Scroll choreography: natural scrolling, pinned scene, direct reversible transforms. */
.scroll-story{background:#ebebeb;position:relative}.scroll-pin{position:relative}.story-inner{padding-top:27px;padding-bottom:24px}.story-top{display:flex;justify-content:space-between;gap:25px;align-items:center}.story-top .eyebrow{margin:0}.story-skip{font-size:11px;text-decoration:none;min-height:44px;display:flex;align-items:center}.story-main{display:grid;grid-template-columns:.86fr 1.25fr;align-items:center;gap:35px;min-height:580px}.story-copy{position:relative;z-index:2}.story-counter{display:block;font-size:11px;color:#6f6f6f;margin-bottom:22px}.story-copy h2{font-size:clamp(40px,4.6vw,70px);margin-bottom:24px;min-height:2.1em}.story-description{font-size:15px;line-height:1.8;color:#606060;max-width:355px;min-height:5.4em}.story-legend{display:flex;flex-wrap:wrap;gap:18px;margin-top:30px;font-size:9px}.story-legend span{display:flex;align-items:center;gap:7px}.story-legend i{height:5px;width:5px;border-radius:50%}.dot-heat{background:var(--heat)}.dot-water{background:var(--water)}.dot-air{background:var(--air)}.dot-power{background:var(--power)}.story-model{position:relative;min-width:0;display:grid;place-items:center;isolation:isolate;height:100%;max-height:740px}.story-halo{position:absolute;inset:15% 2% 5%;border:1px solid #d1d1d1;border-radius:50%;z-index:-1}.story-halo:before{content:'';position:absolute;inset:12%;border-radius:50%;border:1px solid #d9d9d9}.story-model .building-svg{width:100%;max-height:100%;overflow:visible}.story-model .building-layer{transition:none;will-change:transform}.story-bottom{display:flex;align-items:center;gap:25px;border-top:1px solid #c6c6c6;padding-top:19px;font-size:10px}.story-progress{flex:1;height:2px;background:#cdcdcd}.story-progress i{display:block;width:100%;height:100%;background:#757575;transform:scaleX(0);transform-origin:left}.story-percent{font-variant-numeric:tabular-nums;min-width:40px;text-align:right}.scroll-active{height:320svh}.scroll-active .scroll-pin{position:sticky;top:var(--header);height:calc(100svh - var(--header));min-height:0}.scroll-active .story-inner{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.scroll-active .story-main{min-height:0;height:100%}.scroll-active .story-model{height:100%;min-height:0}.nojs-nav{display:flex;gap:20px;padding:18px var(--gutter);font-size:12px;background:white;flex-wrap:wrap}.admin-bar .scroll-active .scroll-pin{top:calc(var(--header) + 32px);height:calc(100svh - var(--header) - 32px)}
@media(max-width:860px){.story-main{gap:15px;grid-template-columns:.8fr 1fr}.story-copy h2{font-size:41px}.story-legend{gap:12px}.story-description{font-size:14px}}
@media(max-width:600px){.story-inner{padding-top:15px;padding-bottom:20px}.story-top{gap:15px}.story-top .eyebrow{font-size:8px;max-width:180px}.story-skip{font-size:9px;white-space:nowrap}.story-main{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:5px;min-height:560px}.story-copy{padding-top:9px}.story-counter{font-size:9px;margin-bottom:8px}.story-copy h2{font-size:35px;margin-bottom:10px;min-height:2.1em}.story-description{font-size:12px;line-height:1.65;min-height:3.3em;max-width:330px}.story-legend{display:none}.story-model{width:100%;max-width:380px;justify-self:center;min-height:300px}.story-model .building-svg{height:100%;width:auto;max-width:100%}.story-bottom{gap:13px;padding-top:14px;font-size:8px}.story-bottom>span:first-child{max-width:185px}.story-progress{min-width:25px}.scroll-active{height:300svh}.admin-bar .scroll-active .scroll-pin{top:var(--header);height:calc(100svh - var(--header))}}
@media(prefers-reduced-motion:reduce){.scroll-story{height:auto}.scroll-story .scroll-pin{position:static;height:auto}.story-bottom{display:none}}
@media print{.scroll-story{height:auto!important}.scroll-pin{position:static!important;height:auto!important}.story-main{min-height:0}.story-model{height:400px}.story-bottom{display:none}}

.scroll-story:not(.scroll-active) .story-bottom{display:none}
/* Sprengbild: ambient particles, floor hover, seam lines, entrance/collapse choreography */
.hero-dot{position:absolute;border-radius:50%;background:var(--coral);opacity:.5;animation:hero-float 9s ease-in-out infinite alternate}
.hero-dot-a{width:16px;height:16px;top:14%;left:8%;animation-duration:10s}
.hero-dot-b{width:9px;height:9px;top:66%;left:4%;background:#565656;opacity:.35;animation-duration:7.5s;animation-delay:-2s}
.hero-dot-c{width:12px;height:12px;top:78%;left:74%;animation-duration:11.5s;animation-delay:-4s}
.hero-dot-d{width:7px;height:7px;top:10%;left:82%;background:#565656;opacity:.4;animation-duration:8.5s;animation-delay:-1s}
@keyframes hero-float{0%{transform:translate(0,0) scale(1)}50%{transform:translate(14px,-22px) scale(1.18)}100%{transform:translate(-18px,16px) scale(.9)}}
.hero-building .building-layer{cursor:pointer;transition:transform 1.25s var(--ease),opacity .5s,filter .5s}
.hero-building.layer-hover .building-layer{opacity:.4;filter:saturate(.6)}
.hero-building.layer-hover .building-layer.is-hovered{opacity:1;filter:none}
/* The hovered floor pulls further from its neighbours so more of it is visible */
.hero-building.layer-hover:has(.layer-water.is-hovered) .layer-water{transform:translate(0,478px) scale(1.05)}
.hero-building.layer-hover:has(.layer-water.is-hovered) .layer-heat{transform:translate(0,235px) scale(.93)}
.hero-building.layer-hover:has(.layer-water.is-hovered) .layer-power{transform:translate(0,70px) scale(.93)}
.hero-building.layer-hover:has(.layer-heat.is-hovered) .layer-heat{transform:translate(0,300px) scale(1.05)}
.hero-building.layer-hover:has(.layer-heat.is-hovered) .layer-water{transform:translate(0,485px) scale(.93)}
.hero-building.layer-hover:has(.layer-heat.is-hovered) .layer-power{transform:translate(0,65px) scale(.93)}
.hero-building.layer-hover:has(.layer-power.is-hovered) .layer-power{transform:translate(0,80px) scale(1.05)}
.hero-building.layer-hover:has(.layer-power.is-hovered) .layer-heat{transform:translate(0,345px) scale(.93)}
.hero-building.layer-hover:has(.layer-power.is-hovered) .layer-water{transform:translate(0,460px) scale(.93)}
.hero-building .building-garden{transition:opacity .5s}
.hero-building.layer-hover .building-garden{opacity:.3}
.model-caption{position:absolute;left:0;bottom:6%;max-width:220px;background:#fffffff2;border:1px solid var(--line);padding:16px 18px;font-size:12px;opacity:0;transform:translateY(8px);transition:opacity .35s,transform .35s;pointer-events:none}
.model-caption.visible{opacity:1;transform:none}
.model-caption h3{font-size:14px;margin-bottom:6px;letter-spacing:-.02em}
.model-caption p{color:var(--muted);font-size:11.5px;line-height:1.6;margin-bottom:10px}
.model-caption .text-link{font-size:10px;display:inline-flex;gap:10px;align-items:center;text-decoration:none;font-weight:600}
.model-caption .text-link svg{width:13px}
.switch-icon{width:20px;height:10px;overflow:visible}
.switch-icon circle{fill:#969696}
.switch-icon .switch-arm{stroke:#969696;stroke-width:2;stroke-linecap:round;transform-box:fill-box;transform-origin:0% 50%;animation:switch-toggle 3.6s ease-in-out infinite}
.circle-plus{overflow:hidden}
@keyframes switch-toggle{0%,38%{transform:rotate(-20deg)}50%,88%{transform:rotate(0deg)}100%{transform:rotate(-20deg)}}
@media(prefers-reduced-motion:reduce){.hero-dot,.switch-icon .switch-arm{animation:none}.model-caption,.hero-building .building-layer{transition:none}}
/* Ticker band: two skewed, endlessly scrolling strips of service and area terms */
.ticker-band{overflow:hidden;transform:rotate(-1.6deg);width:106%;margin:64px 0 64px -3%}
.ticker-row{overflow:hidden;white-space:nowrap}
.ticker-row-dark{background:var(--dark)}
.ticker-row-coral{background:var(--coral);margin-top:2px}
.ticker-track{display:inline-flex;width:max-content;padding:15px 0;animation:ticker-scroll 32s linear infinite}
.ticker-reverse{animation-direction:reverse}
.ticker-track span{font-size:13px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;padding:0 22px;white-space:nowrap}
.ticker-row-dark span{color:#f2f1ea}
.ticker-row-coral span{color:#272727}
@keyframes ticker-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:600px){.ticker-band{margin:40px 0 40px -3%}.ticker-track span{font-size:11px;padding:0 15px}}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}}
/* Preisrechner */
.calc-hero{padding-bottom:0}
.calc-intro{max-width:560px;margin-top:20px}
.calc-section{max-width:720px;margin:0 auto}
.calc-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:34px;border-bottom:1px solid var(--line);padding-bottom:0}
.calc-tab{background:none;border:0;padding:14px 6px;margin-right:22px;font-size:14px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}
.calc-tab.active{color:var(--ink);border-bottom-color:var(--coral)}
.calc-form{display:grid;grid-template-columns:1fr 1fr;gap:22px 20px;align-items:end}
.calc-form .field{display:grid;gap:7px}
.calc-form label{font-size:12px;color:var(--muted)}
.calc-form input,.calc-form select{padding:13px 14px;border:1px solid var(--line);background:var(--white);font-size:15px;min-height:48px}
.calc-submit{grid-column:1/-1;justify-self:start;margin-top:6px}
.calc-result{margin-top:44px;padding:32px;background:#f0f0f0;border-left:3px solid var(--coral)}
.calc-result-label{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:8px}
.calc-result-value{font-size:clamp(28px,4vw,40px);font-weight:600;letter-spacing:-.02em;margin-bottom:14px}
.calc-result-note{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:22px;max-width:480px}
@media(max-width:600px){.calc-form{grid-template-columns:1fr}.calc-tab{margin-right:14px;font-size:13px}.calc-result{padding:24px}}

/* TRIMA 1.2 / centred masthead and original-logo choreography */
:root{--header:104px}
.header-space{height:var(--header)}
.trima-masthead{--nav-height:104px;--brand-scale:1;--logo-white:0;--nav-bg:#f8f8f5;--nav-ink:#2e2e2e;position:fixed;top:var(--admin-offset,0px);left:0;right:0;width:100%;border:0;background:var(--nav-bg);color:var(--nav-ink);transition:background-color .32s,color .32s;z-index:80}
.trima-masthead[data-logo-tone="light"]{--logo-white:1;--nav-bg:#2e2e2e;--nav-ink:#f7f7f0}
.trima-masthead .header-inner{position:relative;height:var(--nav-height);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:26px;border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent)}
.header-side{display:flex;align-items:center;gap:28px;min-width:0}
.header-right{justify-content:flex-end}
.trima-masthead .brand{display:grid;place-items:center;width:196px;min-height:48px;position:relative;transform:scale(var(--brand-scale));transform-origin:center;flex:none;text-decoration:none}
.brand-motion{display:block;width:100%;transform-origin:50% 50%;will-change:transform;position:relative}
.header-logo-static{display:block;width:100%;opacity:1;transition:opacity .32s ease}
.trima-masthead .brand .header-logo-intro{position:absolute;left:50%;top:50%;display:block;width:100%;height:auto;transform:translate(-50%,-50%);opacity:0;pointer-events:none;transition:opacity .32s ease}
.trima-masthead.is-logo-animating:not(.logo-animation-ending) .header-logo-static{opacity:0}
.trima-masthead.is-logo-animating:not(.logo-animation-ending) .header-logo-intro.is-active{opacity:1}
.trima-mark{width:100%;height:auto;overflow:visible}
.mark-color{opacity:calc(1 - var(--logo-white,0))}
.mark-white{opacity:var(--logo-white,0)}
.mark-color,.mark-white{transition:opacity .32s}
.trima-masthead .desktop-nav{margin:0;gap:24px;white-space:nowrap}
.trima-masthead .desktop-nav a{font-size:12px}
.trima-masthead .desktop-nav a:hover{color:var(--coral)}
.trima-masthead .header-cta{padding:0;border:0;margin:0;gap:14px;white-space:nowrap;font-size:12px;min-height:44px}
.trima-masthead .header-cta svg{color:currentColor;width:18px;height:18px}
.trima-masthead .menu-toggle{display:flex;align-items:center;gap:12px;width:auto;min-width:44px;height:44px;padding:0;border:0;background:none;color:inherit;flex-shrink:0}
.trima-masthead .menu-toggle span{margin:0;height:auto;background:none}
.menu-lines{width:22px;display:grid!important;gap:6px}
.menu-lines i{display:block;width:22px;height:1px;background:currentColor;transition:width .2s}
.menu-lines i:last-child{width:15px}
.menu-toggle:hover .menu-lines i:last-child{width:22px}
.menu-word{font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.model-watermark{position:absolute;left:-3%;right:-3%;top:34%;transform:rotate(-13deg);opacity:.075;pointer-events:none;z-index:0}
.hero-model .morph-shape{opacity:.66}
.hero-model .model-watermark{z-index:1}
.hero-model .hero-building{z-index:2}
.hero-dot{z-index:3;pointer-events:none}
.about-mark{width:78%;position:relative;z-index:1;--logo-white:0}
.team-photo{aspect-ratio:1.35;overflow:hidden;background:#16191a}
.team-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 25%;transition:transform .8s var(--ease)}
.team-card:hover .team-photo img{transform:scale(1.035)}
.admin-bar .trima-masthead{top:var(--admin-offset,32px)}
@media(max-width:1199px){.trima-masthead .desktop-nav{display:none}.header-side{gap:16px}.trima-masthead .header-inner{gap:20px}}
@media(max-width:860px){:root{--header:104px}.trima-masthead .brand{width:180px}}
@media(max-width:600px){:root{--header:80px}.trima-masthead{--nav-height:80px}.trima-masthead .header-inner{gap:12px}.trima-masthead .brand{width:142px}.trima-masthead .header-cta{font-size:0;gap:0;width:44px;justify-content:flex-end}.trima-masthead .header-cta span{display:none}.trima-masthead .header-cta svg{width:21px;height:21px}.menu-word{display:none!important}.trima-masthead .header-inner{width:calc(100% - 36px)}.team-photo{aspect-ratio:1}.team-photo img{object-position:50% 22%}.model-watermark{opacity:.09}}

/* TRIMA 1.2.2: high-resolution logo, readable credentials, elastic header edge. */
:root{--header:158px;--paper:#f7f7f5;--ink:#292929;--muted:#707070;--line:#dededb;--coral:#ff7874;--dark:#262626;--green:#e8e8e6}
.trima-masthead{--nav-height:158px;--nav-bg:#f7f7f5;--nav-ink:#292929;--header-recoil:0px}
.trima-masthead[data-logo-tone="light"]{--nav-bg:#292929;--nav-ink:#f7f7f5}
.trima-masthead .header-inner{height:calc(var(--nav-height) + var(--header-recoil));padding-bottom:28px;border-bottom:0;gap:28px}
.trima-masthead .brand{width:380px;max-width:none}
.trima-mark{overflow:hidden}
.brand-credentials{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:16px;width:max-content;max-width:100%;font-size:10px;letter-spacing:.045em;line-height:1.2;text-transform:uppercase;color:var(--nav-ink);white-space:nowrap}
.brand-credentials span{display:inline-flex;align-items:center;gap:7px}
.brand-credentials span:before{content:'';display:block;width:4px;height:4px;flex:none;border-radius:50%;background:var(--coral)}
.trima-masthead[data-logo-tone="dark"] .brand-credentials span:before{background:#400e0d}
.tech-band p:not(.eyebrow),.tech-hero-bottom p,.footer-top p,.footer-bottom{color:#c4c4c4}
.tech-hero h1>span{color:#c8c8c8}
@media(max-width:1399px){.trima-masthead .desktop-nav{display:none}}
@media(max-width:860px){:root{--header:158px}.trima-masthead .brand{width:340px}.trima-masthead .header-cta span{display:none}.trima-masthead .header-cta{width:44px;justify-content:flex-end}}
@media(max-width:350px){.brand-credentials{font-size:7px;gap:5px}.brand-credentials span{gap:3px}}

/* The solid header stops above the deforming SVG so the edge can also bend inward. */
.trima-masthead{background:transparent}
@media(max-width:600px){:root{--header:124px}.trima-masthead{--nav-height:124px}.trima-masthead .header-inner{width:calc(100% - 24px);gap:8px;padding-bottom:30px;grid-template-columns:44px minmax(0,1fr) 44px}.trima-masthead .brand{width:100%;max-width:250px;justify-self:center}.trima-masthead .header-cta{justify-content:center}.brand-credentials{font-size:clamp(8px,2.5vw,10px);letter-spacing:.005em;gap:8px;bottom:13px}.brand-credentials span{gap:4px}.brand-credentials span:before{width:3px;height:3px}.menu-word{display:none!important}}
/* 1.2.6: the approved two-state navigation on desktop and mobile. */
.trima-masthead{--nav-height:158px;--nav-ink:#292929;--logo-white:0;--brand-scale:1;--header-progress:0;background:transparent;isolation:isolate;transition:color .3s ease}
.trima-masthead[data-logo-tone="light"]{--nav-ink:#fff;--logo-white:1}
.trima-masthead::before{content:none}
.trima-masthead .header-inner{height:var(--nav-height);padding-bottom:0;border-bottom:1px solid rgb(47 47 49 / .18);transition:border-color .3s ease}
.header-surface{position:absolute;inset:0;z-index:-1;pointer-events:none;background:rgb(255 120 116 / .9);opacity:var(--header-progress);-webkit-backdrop-filter:blur(40px);backdrop-filter:blur(40px);box-shadow:0 1px 0 rgb(255 255 255 / .14);will-change:opacity}
.trima-masthead.is-compact .header-inner{border-bottom-color:transparent}
.brand-motion{will-change:auto}
.trima-masthead .brand{transform:scale(var(--brand-scale));transform-origin:center}
/* Let the actual page background extend underneath the transparent header. */
.header-space{height:0}
.hero{padding-top:calc(var(--header) + 38px)}
.tech-hero{padding-top:calc(var(--header) + 88px)}
.content-page{padding-top:calc(var(--header) + 72px)}
@media(max-width:600px){
 .trima-masthead{--nav-height:124px}
 .hero{padding-top:calc(var(--header) + 18px)}
 .tech-hero{padding-top:calc(var(--header) + 54px)}
 .content-page{padding-top:calc(var(--header) + 55px)}
}
@media(prefers-reduced-motion:reduce){.trima-masthead,.trima-masthead .header-inner{transition:none}}

/* Both logo states come from the one supplied original. */
.mark-original{opacity:1}
.mark-scrolled{opacity:0}
.trima-masthead .mark-original{opacity:calc(1 - var(--header-progress))}
.trima-masthead .mark-scrolled{opacity:var(--header-progress)}
