/* DORN's angular first-look language continues into the page's interactions. */
.site-header{position:sticky;top:0;z-index:40;transition:box-shadow .25s,background .25s}
.site-header.is-scrolled{background:#f1f4f7f2;box-shadow:0 8px 28px #1116191c;backdrop-filter:blur(12px)}
html{scroll-padding-top:110px}
.hero{isolation:isolate}
.hero-copy .eyebrow,.hero h1,.hero p,.hero .actions{animation:hero-enter .72s both}
.hero h1{animation-delay:.08s}
.hero p{animation-delay:.17s}
.hero .actions{animation-delay:.25s}
.hero-art{animation:hero-reveal 1.05s cubic-bezier(.22,1,.36,1) both}
.hero-photo{transition:transform .7s cubic-bezier(.22,1,.36,1)}
.hero:hover .hero-photo{transform:scale(1.025)}
.hero-scroll{position:absolute;z-index:3;left:0;bottom:20px;display:flex;align-items:center;gap:13px;color:var(--ink);font-size:13px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;text-decoration:none}
.hero-scroll span:last-child{display:grid;place-items:center;width:31px;height:31px;border:1px solid var(--ink);border-radius:50%;font-size:20px;line-height:1;transition:transform .2s,background .2s,color .2s}
.hero-scroll:hover span:last-child{background:var(--ink);color:#fff;transform:translateY(3px)}
.hero .button,.nav .nav-action,.craft-recruit .button,.inquiry-submit{position:relative;overflow:hidden;transition:background .2s,transform .2s,box-shadow .2s}
.hero .button:hover,.craft-recruit .button:hover,.inquiry-submit:hover{transform:translateY(-3px);box-shadow:0 10px 20px #c51f1733}
.hero .hero-next{font-size:14px;line-height:1.4;color:#4e5a61;margin:15px 0 0;max-width:520px}
.craft{padding:76px 0 0;overflow:hidden}
.craft-stage{position:relative}
.craft-heading{max-width:780px;margin-bottom:37px}
.craft-heading h2{font-size:clamp(43px,3.8vw,58px);line-height:1.02;margin:14px 0 16px}
.craft-heading>p{font-size:17px;line-height:1.5;color:#c7ced2;max-width:600px;margin:0}
.craft-grid{align-items:center;gap:6%}
.craft-heading{margin-bottom:0}
.craft-link{display:inline-flex;margin-top:26px;font-size:17px;font-weight:800;text-decoration:none;border-bottom:2px solid var(--red);padding-bottom:6px}
.craft-link:hover{color:#ff6a63}
.craft-photo{min-height:310px;max-height:310px;filter:saturate(.95);clip-path:polygon(9% 0,100% 0,100% 100%,0 100%)}
.craft-recruit{margin-top:40px;padding:25px 0 29px;border-top:1px solid #5f686f}
.craft-recruit p{font-size:clamp(21px,1.8vw,26px)}
.intro{position:relative;padding:96px 0 104px}
.intro-head{align-items:center}
.intro-head h2{max-width:640px}
.intro-head .lead{border-left:5px solid var(--red);padding-left:28px}
.line-items{margin-top:70px}
.line-item{position:relative;transition:background .22s,padding .22s}
.line-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--red);transform:scaleY(0);transform-origin:top;transition:transform .28s}
.line-item:hover,.line-item:focus-within{background:var(--paper);padding-inline:20px}
.line-item:hover:before,.line-item:focus-within:before{transform:scaleY(1)}
.line-item strong{display:flex;align-items:baseline;gap:20px;font-size:clamp(27px,2.1vw,31px)}
.line-number{font-size:13px;letter-spacing:.04em;color:var(--red);font-weight:900}
.service-action{text-decoration:underline;text-decoration-color:transparent;text-underline-offset:5px;transition:text-decoration-color .2s,color .2s}
.line-item:hover .service-action,.service-action:focus-visible{text-decoration-color:currentColor}
.altbau{position:relative;overflow:hidden;background:#e9edf0;padding:98px 0 108px}
.altbau:before{content:"";position:absolute;right:-1px;top:0;bottom:0;width:11vw;background:var(--red);clip-path:polygon(100% 0,100% 100%,0 100%);opacity:.95}
.altbau-grid{position:relative;z-index:1;align-items:center}
.altbau h2{font-size:clamp(46px,4.2vw,66px);line-height:1.02}
.altbau-copy{padding-left:27px;border-left:5px solid var(--red)}
.altbau-copy p{font-size:19px}
.inquiry-section{background:linear-gradient(135deg,#fff 0%,#fff 56%,#f4f6f7 100%);padding-top:86px;padding-bottom:96px}
.inquiry-form{box-shadow:15px 15px 0 #dfe4e8;transition:box-shadow .25s}
.inquiry-form:focus-within{box-shadow:15px 15px 0 #d3dce2}
.inquiry-alternative a{display:inline-block;white-space:nowrap}
.choice span{transition:background .15s,color .15s,border-color .15s,transform .15s}
.choice:hover span{transform:translateY(-2px)}
@keyframes hero-enter{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:none}}
@keyframes hero-reveal{from{opacity:.4;clip-path:polygon(100% 0,100% 0,100% 100%,100% 100%)}to{opacity:1;clip-path:polygon(44% 0,100% 0,100% 100%,0 100%)}}
@media(max-width:1060px){.altbau:before{width:7vw}}
@media(max-width:800px){html{scroll-padding-top:85px}.craft{padding-top:64px}.craft-recruit{margin-top:28px}.intro{padding:82px 0 90px}.altbau{padding:85px 0}.altbau:before{width:10vw}}
@media(max-width:650px){html{scroll-padding-top:78px}.hero-scroll{display:none}.hero-art{animation:none}.hero-copy .eyebrow,.hero h1,.hero p,.hero .actions{animation:none}.craft{padding:56px 0 0}.craft-heading h2{font-size:clamp(40px,10vw,53px)}.craft-heading>p{font-size:16px}.craft-photo{min-height:210px;max-height:210px;margin-top:32px}.craft-recruit{margin-top:22px}.intro{padding:74px 0 78px}.intro-head .lead{padding-left:18px}.line-items{margin-top:42px}.line-item:hover,.line-item:focus-within{padding-inline:12px}.line-item strong{display:flex;gap:15px}.line-number{font-size:12px}.altbau{padding:78px 0 84px}.altbau h2{font-size:clamp(44px,11vw,58px)}.altbau-copy{padding-left:19px}.altbau-copy p{font-size:18px}.altbau:before{width:7vw;opacity:.6}.inquiry-form{box-shadow:8px 8px 0 #dfe4e8}.whatsapp-float{width:52px;height:52px;min-height:52px;padding:10px;justify-content:center}.whatsapp-float span{display:none}}
@media(max-width:375px){.altbau h2{font-size:43px}}
@media(prefers-reduced-motion:reduce){.hero-copy .eyebrow,.hero h1,.hero p,.hero .actions,.hero-art{animation:none}.hero-photo,.line-item,.line-item:before,.choice span,.hero .button,.nav .nav-action,.craft-recruit .button,.inquiry-submit{transition:none}}

/* Refined type scale: preserve the First Look hierarchy with calmer reading sizes. */
.hero h1{font-size:clamp(50px,4.6vw,68px)}
.hero p{font-size:clamp(18px,1.4vw,21px);line-height:1.32}
.intro h2,.inquiry-section h2{font-size:clamp(40px,3.6vw,56px);line-height:1.06}
.intro-head .lead{font-size:19px;line-height:1.52}
.line-item p{font-size:16px;line-height:1.55}
.inquiry-intro>p{font-size:18px;line-height:1.55}
@media(max-width:800px){.hero h1{font-size:clamp(44px,6.3vw,55px)}.craft-heading h2{font-size:clamp(40px,6vw,49px)}.altbau h2{font-size:clamp(42px,6vw,55px)}.intro h2,.inquiry-section h2{font-size:clamp(38px,5.8vw,49px)}}
@media(max-width:650px){.hero h1{font-size:clamp(39px,10vw,47px)}.hero p{font-size:17px}.craft-heading h2{font-size:clamp(37px,9vw,45px)}.intro h2,.inquiry-section h2{font-size:clamp(36px,8.8vw,44px)}.intro-head .lead{font-size:17px}.line-item strong{font-size:25px}.altbau h2{font-size:clamp(39px,9.7vw,49px)}.altbau-copy p{font-size:17px}.inquiry-intro>p{font-size:17px}}
@media(max-width:375px){.hero h1{font-size:38px}.altbau h2{font-size:39px}}

/* Original-logo architecture: fine roof lines, masonry rhythm, decisive red planes. */
.site-header.is-scrolled{background:#fffffff2}
.hero-structure{position:absolute;left:-70px;bottom:-30px;width:min(54vw,650px);height:auto;color:#77858e;opacity:.15;pointer-events:none;z-index:1}
.hero-copy,.hero-scroll{z-index:2}
.hero .hero-next{color:#35434b;font-weight:700}
.nav .nav-action{clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%)}
.craft{background-color:#151b1e;background-image:radial-gradient(circle at 82% 8%,#323e433d,transparent 38%)}
.intro{background:#fff}
.line-item:hover,.line-item:focus-within{background:#f2f5f6}
.altbau{background:#a9211d;color:#fff;isolation:isolate}
.altbau:before{right:0;width:32vw;background:#771a18;clip-path:polygon(43% 0,100% 0,100% 100%,0 100%);opacity:.48}
.altbau:after{content:"";position:absolute;right:0;top:0;bottom:0;width:45%;background-image:linear-gradient(#ffffff18 1px,transparent 1px),linear-gradient(90deg,#ffffff18 1px,transparent 1px);background-size:100% 54px,118px 100%;transform:skewX(-13deg) translateX(8%);opacity:.46;z-index:-1}
.altbau .eyebrow{color:#fff;opacity:.75}
.altbau-copy{border-left-color:#fff}
.altbau .text-link{color:#fff}
.altbau .text-link:hover{color:#fff;opacity:.74}
.inquiry-section{background:linear-gradient(135deg,#fff 0%,#fff 48%,#eef2f3 100%)}
.inquiry-form{background:#222b2f;color:#fff;border-top-width:7px;box-shadow:15px 15px 0 #cbd3d8}
.inquiry-form:focus-within{box-shadow:15px 15px 0 #b8c5cc}
.inquiry-form .optional,.inquiry-form .form-note{color:#c4cdd2}
.inquiry-form .form-note a{color:#fff}
.inquiry-form .required{color:#ff766f}
.inquiry-form .choice span{color:var(--ink)}
.inquiry-form .choice input:checked+span{background:var(--red);border-color:var(--red);color:#fff}
.inquiry-form .field-error{color:#ff938c}
.inquiry-form .inquiry-result{color:var(--ink)}
.inquiry-form .inquiry-result p{color:#303b41}
.site-footer .footer-links a{text-decoration-color:#ffffff66;text-underline-offset:5px}
.site-footer .footer-links a:hover{color:#ff6a63}
@media(max-width:800px){.hero-structure{width:70vw;left:-55px;bottom:-24px}.altbau:after{width:65%}}
@media(max-width:650px){.hero-structure{display:none}.altbau:before{width:22vw}.altbau:after{width:90%;opacity:.25}.inquiry-form{box-shadow:8px 8px 0 #cbd3d8}.inquiry-alternative a{display:block;width:max-content;max-width:100%;margin-top:4px}}

/* Architectural opening: one decisive scene, with the direct inquiry still visible. */
.hero{height:600px;background:#11191d;color:#fff}
.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px);background-size:80px 80px;mask-image:linear-gradient(90deg,#000 0%,transparent 67%);pointer-events:none}
.hero:after{content:"";position:absolute;left:0;bottom:0;width:24%;height:5px;background:var(--red)}
.hero-copy{padding-top:72px}
.hero-copy .eyebrow{color:#ff645c}
.hero h1{color:#fff;text-shadow:0 2px 18px #0003}
.hero h1 em{color:#ff5149}
.hero p{color:#d7dfe2}
.hero .text-link{color:#fff}
.hero .text-link:hover{color:#ff645c}
.hero .hero-next{color:#c5d0d4}
.hero-art{width:72vw;clip-path:polygon(44% 0,100% 0,100% 100%,0 100%)}
.hero-photo{filter:saturate(.82) contrast(1.09)}
.hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#10191d66,transparent 35%,#10191d22);pointer-events:none}
.hero-structure{color:#fff;opacity:.12}
.hero-scroll{color:#fff}
.hero-scroll span:last-child{border-color:#fff}
.hero-scroll:hover span:last-child{background:#fff;color:#11191d}
@media(min-width:801px) and (max-width:1060px){.hero-copy{max-width:590px}.hero .hero-next{max-width:440px}.hero-art{width:56vw}}
@media(max-width:800px){.hero{height:auto}.hero-copy{max-width:100%;padding-top:46px}.hero-art{width:calc(100% + 56px);clip-path:polygon(34% 0,100% 0,100% 100%,9% 100%)}.hero-scroll{display:none}}
@media(max-width:650px){.hero-copy{padding-top:39px}.hero-art{width:calc(100% + 36px);height:265px;clip-path:polygon(29% 0,100% 0,100% 100%,0 100%)}.hero .hero-next{font-size:13px}.hero:after{width:40%}}
@media(prefers-reduced-motion:reduce){.hero-art,.hero-copy .eyebrow,.hero h1,.hero p,.hero .actions{animation:none}}

/* Editorial wordmark and the HorizonX image opening. */
.hero-stamp{position:absolute;left:-12px;bottom:-77px;z-index:1;font-size:clamp(175px,25vw,350px);line-height:1;font-weight:900;letter-spacing:-.11em;color:transparent;-webkit-text-stroke:1px #ffffff38;white-space:nowrap;pointer-events:none;user-select:none}
.hero-structure{display:none}
.project-reveal{position:relative;background:#11191d;color:#fff;isolation:isolate}
.project-reveal .sxp-stage{background:#11191d}
.project-reveal .sxp-media{filter:saturate(.84) contrast(1.06)}
.project-reveal-meta{position:sticky;top:112px;left:0;z-index:3;display:flex;justify-content:space-between;gap:24px;height:0;padding:0 max(28px,calc((100vw - var(--max))/2));color:#d6dfe3;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.project-reveal-meta span,.project-reveal-meta a{height:max-content;padding:10px 12px;background:#11191dd9}
.project-reveal-meta a{color:#fff;text-decoration-thickness:1px;text-underline-offset:5px;white-space:nowrap}
.project-reveal-meta a:hover{color:#ff645c}
@media(max-width:800px){.hero-stamp{display:none}.project-reveal-meta{top:92px;padding:0 28px}.project-reveal .sxp-track{height:min(64vh,520px)!important}.project-reveal .sxp-stage{position:relative!important;height:min(64vh,520px)!important}.project-reveal .sxp-frame{clip-path:none!important}.project-reveal .sxp-media{transform:none!important}.project-reveal .sxp-hint{display:none}}
@media(max-width:650px){.project-reveal-meta{top:78px;padding:0 18px;font-size:10px}.project-reveal-meta span,.project-reveal-meta a{padding:8px}.project-reveal-meta a{white-space:normal;text-align:right}}
@media(prefers-reduced-motion:reduce){.project-reveal .sxp-track{height:min(72vh,680px)!important}.project-reveal .sxp-stage{position:relative!important;height:min(72vh,680px)!important}.project-reveal .sxp-frame{clip-path:none!important}.project-reveal .sxp-media{transform:none!important}.project-reveal .sxp-hint{display:none}}

/* Clean image transitions and direct paths into each career page. */
.hero-photo{clip-path:none;background-image:url('assets/dorn-bau-konzeptmotiv.jpg');background-size:cover;background-position:center 55%}
.hero-image-label{position:absolute;right:26px;bottom:25px;z-index:3;background:#11191dd9;padding:8px 11px;color:#fff;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.project-reveal .sxp-media{object-position:68% center;filter:saturate(.94) contrast(1.02) brightness(1.04)}
.project-reveal-meta{position:relative;top:auto;left:auto;z-index:3;height:auto;min-height:58px;align-items:center;padding:12px max(28px,calc((100vw - var(--max))/2));background:#11191d;color:#d6dfe3}
.project-reveal-meta span,.project-reveal-meta a{padding:0;background:transparent}
.craft-photo{position:relative;background-image:url('assets/verputzer-konzeptfoto.jpg');background-size:cover;background-position:68% center;filter:none}
.craft-photo span{position:absolute;right:12px;bottom:12px;background:#11191dd9;padding:7px 9px;color:#fff;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.craft-recruit-links{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.craft-recruit-links a{display:inline-flex;min-height:52px;align-items:center;padding:12px 16px;background:#f4f6f7;color:#11191d;font-size:15px;font-weight:850;text-decoration:none;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,0 100%);transition:background .2s,transform .2s}
.craft-recruit-links a:hover,.craft-recruit-links a:focus-visible{background:#fff;transform:translateY(-3px)}
.project-paths{padding:92px 0 98px;background:#eaf0f2}
.project-paths-head{display:flex;justify-content:space-between;gap:8%;align-items:end;margin-bottom:33px}
.project-paths-head h2{font-size:clamp(38px,3.6vw,54px);line-height:1.06;letter-spacing:-.045em;margin:11px 0 0}
.project-paths-head>p{max-width:440px;font-size:18px;line-height:1.5;margin:0 0 2px;color:#46535a}
.project-paths-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.project-path{position:relative;display:flex;flex-direction:column;min-height:254px;padding:28px 26px 26px;background:#fff;border-top:4px solid transparent;color:var(--ink);text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s}
.project-path:hover,.project-path:focus-visible{border-color:var(--red);transform:translateY(-4px);box-shadow:0 15px 28px #26343a18}
.project-path>span{font-size:12px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;color:var(--red);margin-bottom:25px}
.project-path strong{font-size:clamp(22px,1.85vw,28px);line-height:1.14;letter-spacing:-.03em;max-width:260px}
.project-path p{font-size:16px;line-height:1.48;max-width:340px;color:#45525a;margin:14px 0 20px}
.project-path b{position:absolute;right:22px;bottom:18px;font-size:25px;font-weight:400;line-height:1;transition:transform .2s}
.project-path:hover b,.project-path:focus-visible b{transform:translate(3px,-3px)}
@media(max-width:1050px){.craft-recruit{align-items:flex-start}.craft-recruit-links{justify-content:flex-end}.craft-recruit-links a{font-size:14px}}
@media(max-width:800px){.project-paths-head{display:block}.project-paths-head>p{margin-top:15px}.project-paths-grid{grid-template-columns:1fr;gap:10px}.project-path{min-height:0;padding:23px 24px}.project-path>span{margin-bottom:15px}.project-path p{margin-bottom:12px;max-width:620px}.craft-recruit-links{justify-content:flex-start}}
@media(max-width:650px){.hero-image-label{right:12px;bottom:12px;padding:6px 8px;font-size:9px}.project-reveal-meta{top:auto;min-height:52px;padding:11px 18px;font-size:10px}.project-reveal-meta span,.project-reveal-meta a{padding:0}.project-paths{padding:70px 0 76px}.project-paths-head h2{font-size:clamp(35px,8.8vw,44px)}.project-paths-head>p{font-size:17px}.craft-recruit{display:block}.craft-recruit-links{margin-top:17px;display:grid;grid-template-columns:1fr 1fr}.craft-recruit-links a{min-height:48px;padding:10px 12px;font-size:13px;line-height:1.2}.craft-photo span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.project-path,.project-path b,.craft-recruit-links a{transition:none}}

/* The image opening now follows the service explanation. */
.hero:after{display:none}
.reveal-intro{display:flex;align-items:end;justify-content:space-between;gap:30px;padding-top:55px;padding-bottom:52px}
.reveal-intro .eyebrow{color:#ff7169}
.reveal-intro h2{font-size:clamp(34px,3.2vw,48px);line-height:1.08;letter-spacing:-.045em;margin:11px 0 0}
.reveal-intro a{color:#fff;font-size:16px;font-weight:800;text-decoration-thickness:2px;text-underline-offset:6px;white-space:nowrap}
.reveal-intro a:hover{color:#ff7169}
.project-reveal .sxp-hint{color:#fff;font-size:13px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;text-shadow:0 1px 9px #11191d}
.image-disclosure{font-size:12px;line-height:1.4;color:#b7c2c6;margin:0 auto;padding-top:21px;padding-bottom:24px}
.site-footer{padding-bottom:0}
.intro-head .lead{padding-left:34px}
@media(max-width:800px){.reveal-intro{padding-top:42px;padding-bottom:38px}.reveal-intro h2{font-size:clamp(32px,5.6vw,42px)}}
@media(max-width:650px){.reveal-intro{display:block;padding-top:38px;padding-bottom:34px}.reveal-intro h2{font-size:35px}.reveal-intro a{display:inline-flex;margin-top:19px;font-size:15px}.intro-head .lead{padding-left:24px}.image-disclosure{font-size:11px;padding-bottom:20px}}
