/* Moro Bau 2.0 — editorial direction. Applied to the imported Moro Bau pages.
   The Breakdance compatibility layer in site.css remains the foundation. */
body.morobau-site.mb-experience{--max:1280px;--space-section:112px;background:#fff;color:var(--ink)}
body.morobau-site.mb-experience h1,body.morobau-site.mb-experience h2,body.morobau-site.mb-experience h3{font-family:Manrope,Arial,sans-serif;color:inherit;letter-spacing:-.035em}
body.morobau-site.mb-experience h1,body.morobau-site.mb-experience h2{font-weight:700}
body.morobau-site.mb-experience h2{text-wrap:balance}
body.morobau-site.mb-experience :where(a,button,summary,input,textarea,select):focus-visible{outline:3px solid var(--red);outline-offset:4px}
body.morobau-site.mb-experience .site-header{background:#fff;border-bottom:1px solid var(--line)}
body.morobau-site.mb-experience .nav{min-height:88px}
body.morobau-site.mb-experience .brand img{width:160px}
body.morobau-site.mb-experience .nav nav{gap:34px;font-size:14px}
body.morobau-site.mb-experience .nav nav>.button{min-height:48px;padding:12px 22px}
body.morobau-site.mb-experience a.button,body.morobau-site.mb-experience button.button{border-radius:4px;min-height:54px;padding:15px 25px}
body.morobau-site.mb-experience a.button:active,body.morobau-site.mb-experience button.button:active{transform:scale(.985)}

/* One opening sequence: actual architecture fills the frame as the image settles. */
body.morobau-site.mb-home .hero{padding:0;background:var(--ink);color:#fff;overflow:hidden}
body.morobau-site.mb-home .hero-grid.container{display:flex;position:relative;isolation:isolate;align-items:center;justify-content:center;width:100%;max-width:none;min-height:clamp(650px,78svh,880px);margin:0;gap:0}
body.morobau-site.mb-home .hero-photo{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;min-width:0;margin:0;overflow:hidden;background:var(--ink)}
body.morobau-site.mb-home .hero-photo>img{display:block;width:100%;height:100%;min-height:100%;max-height:none;object-fit:cover;object-position:center 48%;animation:mb-hero-arrival 900ms cubic-bezier(.16,1,.3,1) both}
body.morobau-site.mb-home .hero-grid::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(23,29,25,.95) 0%,rgba(23,29,25,.86) 36%,rgba(23,29,25,.50) 72%,rgba(23,29,25,.32) 100%)}
body.morobau-site.mb-home .hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;width:min(var(--max),calc(100% - 96px));max-width:none;margin:0 auto;padding:96px 0 104px}
body.morobau-site.mb-home .hero h1{max-width:15ch;font-size:clamp(3.15rem,6.2vw,5.75rem);line-height:1.055;letter-spacing:-.04em;color:#fff;text-wrap:balance}
body.morobau-site.mb-home .hero-intro,body.morobau-site.mb-home .hero p.bde-text{max-width:43ch;margin:28px 0 34px;color:#fff;font-size:clamp(1rem,1.4vw,1.125rem);line-height:1.75}
body.morobau-site.mb-home .hero .actions{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}
body.morobau-site.mb-home .hero a.button.secondary,body.morobau-site.mb-home .hero a.button.secondary:visited{color:#fff!important;background:transparent;border-color:rgba(255,255,255,.7)}
body.morobau-site.mb-home .hero a.button.secondary:hover{color:#fff!important;border-color:#fff;background:rgba(255,255,255,.12)}
body.morobau-site.mb-home .hero :where(a,button):focus-visible{outline-color:#fff}
@keyframes mb-hero-arrival{from{transform:scale(1.045)}to{transform:scale(1)}}

/* Open, readable service descriptions with one emphatic lead. */
body.morobau-site.mb-home #leistungen{padding-block:112px 120px}
body.morobau-site.mb-home #leistungen .section-head{align-items:end;gap:64px;margin-bottom:52px}
body.morobau-site.mb-home #leistungen .section-head>div{max-width:760px}
body.morobau-site.mb-home #leistungen .section-head h2{max-width:18ch;font-size:clamp(2.3rem,4vw,3.75rem);line-height:1.1}
body.morobau-site.mb-home #leistungen .section-head>p{max-width:40ch;font-size:15px;line-height:1.8}
body.morobau-site.mb-home .services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 36px}
body.morobau-site.mb-home .service{display:block;min-width:0;padding:32px 0;border-top:1px solid var(--line)}
body.morobau-site.mb-home .service h3{font-size:clamp(1.35rem,1.8vw,1.65rem);font-weight:600;line-height:1.3;max-width:24ch}
body.morobau-site.mb-home .service p{font-size:15px;line-height:1.8;max-width:48ch;margin-top:14px}
body.morobau-site.mb-home .service:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;padding:48px;background:var(--ink);color:#fff;border:0}
body.morobau-site.mb-home .service:first-child h3{font-size:clamp(1.9rem,3vw,2.8rem);max-width:17ch}
body.morobau-site.mb-home .service:first-child p,body.morobau-site.mb-home .service:first-child p.bde-text{align-self:end;color:#fff;max-width:53ch;margin:0;font-size:16px}
body.morobau-site.mb-home .planning-note{margin-top:0;grid-template-columns:minmax(160px,.7fr) minmax(0,1.3fr) auto;gap:32px;padding-top:28px}
body.morobau-site.mb-home .planning-note .text-link{white-space:normal}

/* A lead project and two quieter photographs make the work the visual proof. */
body.morobau-site.mb-home #projekte{background:var(--soft)}
body.morobau-site.mb-home #projekte .section-head{align-items:end;gap:64px;margin-bottom:52px}
body.morobau-site.mb-home #projekte .section-head h2{max-width:16ch;font-size:clamp(2.3rem,4vw,3.75rem);line-height:1.1}
body.morobau-site.mb-home #projekte .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 28px;align-items:start}
body.morobau-site.mb-home #projekte .project-card:first-child{grid-column:1/-1}
body.morobau-site.mb-home #projekte .project-card:first-child .project-link{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:stretch;background:#fff}
body.morobau-site.mb-home #projekte .project-card:first-child .project-image{height:100%;min-height:360px;aspect-ratio:16/10}
body.morobau-site.mb-home #projekte .project-card:first-child .project-body{justify-content:center;padding:clamp(28px,4vw,56px);gap:18px}
body.morobau-site.mb-home #projekte .project-card:first-child h3{font-size:clamp(1.8rem,2.8vw,2.8rem);line-height:1.18;max-width:20ch}
body.morobau-site.mb-home #projekte .project-card:not(:first-child) .project-image{aspect-ratio:16/10}
body.morobau-site.mb-home #projekte .project-card:last-child{grid-column:auto;max-width:none}
body.morobau-site.mb-experience .project-card{min-width:0}
body.morobau-site.mb-experience .project-image{overflow:hidden;background:var(--soft)}
body.morobau-site.mb-experience .project-image img{width:100%;height:100%;object-fit:cover}
body.morobau-site.mb-experience .project-body{gap:13px}
body.morobau-site.mb-experience .project-body :where(h2,h3){font-size:clamp(1.25rem,1.7vw,1.65rem);line-height:1.3;max-width:34ch;overflow-wrap:anywhere}
body.morobau-site.mb-experience .project-meta{font-size:12px;gap:12px;line-height:1.5}
body.morobau-site.mb-experience .project-open{padding-top:17px;margin-top:8px;font-size:13px}
body.morobau-site.mb-experience .project-open svg{width:24px;height:24px}
body.morobau-site.mb-experience .project-link:hover .project-open,body.morobau-site.mb-experience .project-link:focus-visible .project-open{text-decoration:underline;text-underline-offset:5px}
body.morobau-site.mb-experience .project-link:focus-visible{outline:3px solid var(--red);outline-offset:6px}
body.morobau-site.mb-reference .reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:56px 28px}
body.morobau-site.mb-reference .reference-grid .project-image{aspect-ratio:16/10}
body.morobau-site.mb-reference .reference-tools{gap:28px}

/* Real people and a clear, ordered process. */
body.morobau-site.mb-home .company-teaser{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:72px;align-items:center}
body.morobau-site.mb-home .company-teaser h2{max-width:12ch;font-size:clamp(2.3rem,4vw,3.75rem);line-height:1.1}
body.morobau-site.mb-home .company-teaser p{font-size:16px;line-height:1.8;margin-block:24px 12px}
body.morobau-site.mb-home .management-photo{overflow:hidden}
body.morobau-site.mb-home .management-photo img{height:auto;object-fit:contain}
body.morobau-site.mb-home #unternehmen + .section.muted{background:var(--red);color:#fff}
body.morobau-site.mb-home #unternehmen + .section.muted .section-head{margin-bottom:56px;align-items:end}
body.morobau-site.mb-home #unternehmen + .section.muted h2{max-width:18ch;font-size:clamp(2.3rem,4vw,3.75rem);line-height:1.1}
body.morobau-site.mb-home #unternehmen + .section.muted p,body.morobau-site.mb-home #unternehmen + .section.muted p.bde-text{color:#fff}
body.morobau-site.mb-home .steps{gap:44px}
body.morobau-site.mb-home .steps li{border-top:1px solid rgba(255,255,255,.8);padding-top:25px}
body.morobau-site.mb-home .step-number{font-size:clamp(2.8rem,4.5vw,4rem);line-height:1;font-weight:600;color:#fff;margin-bottom:32px;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
body.morobau-site.mb-home .steps h3{font-size:1.4rem;line-height:1.35}
body.morobau-site.mb-home .steps p{font-size:15px;line-height:1.8}

/* Contact is deliberately static and straightforward to complete. */
body.morobau-site.mb-home .faq h2{max-width:10ch;font-size:clamp(2.3rem,4vw,3.75rem);line-height:1.1}
body.morobau-site.mb-experience .faq-list summary{min-height:76px;padding-block:24px}
body.morobau-site.mb-experience .faq-list details[open] summary{color:var(--red)}
body.morobau-site.mb-experience .contact-section{background:var(--ink)}
body.morobau-site.mb-experience .contact-copy :where(a,button,input,textarea,select):focus-visible,body.morobau-site.mb-experience .site-footer :where(a,button,input,textarea,select):focus-visible{outline-color:#fff}
body.morobau-site.mb-experience .contact-copy h2{font-size:clamp(2.3rem,4vw,3.8rem);line-height:1.08;max-width:13ch}
body.morobau-site.mb-experience .form-box{padding:clamp(28px,3.5vw,44px);background:#fff}
body.morobau-site.mb-experience .form-box h3{font-weight:700}
body.morobau-site.mb-experience .footer-grid{padding-block:60px}
body.morobau-site.mb-experience .footer-bottom{font-size:12px}

/* Existing editable Breakdance project documents receive the same system. */
body.morobau-site.mb-project .detail-heading{padding-block:56px 44px}
body.morobau-site.mb-project .detail-heading h1{font-size:clamp(2.6rem,4.8vw,4.75rem);line-height:1.08;max-width:19ch}
body.morobau-site.mb-project .detail-heading p{font-size:1.0625rem;line-height:1.75}
body.morobau-site.mb-project .detail-layout{grid-template-columns:minmax(0,2.2fr) minmax(240px,1fr);gap:72px;align-items:start}
body.morobau-site.mb-project .detail-main-image{width:100%;max-height:720px;object-fit:contain;background:var(--soft);margin-bottom:48px}
body.morobau-site.mb-project .project-facts{margin-block:36px 56px}
body.morobau-site.mb-project .project-facts>div{grid-template-columns:140px minmax(0,1fr);padding-block:19px;font-size:14px}
body.morobau-site.mb-project .detail-layout article>h2{font-size:clamp(1.9rem,3vw,2.5rem);margin-block:56px 22px}
body.morobau-site.mb-project .detail-layout article>p{max-width:68ch;font-size:16px;line-height:1.85}
body.morobau-site.mb-project .project-gallery{gap:20px;margin-block:28px 56px}
body.morobau-site.mb-project .project-gallery :where(img,.bde-image img){height:340px;object-fit:contain}
body.morobau-site.mb-project .detail-contact{top:120px;padding:36px;background:var(--soft)}
body.morobau-site.mb-project .detail-contact h2{font-size:1.7rem}
body.morobau-site.mb-project .related{padding-block:96px}
body.morobau-site.mb-project .related>h2{font-size:clamp(2rem,3vw,2.75rem);margin-bottom:32px}
body.morobau-site.mb-reference #inhalt>section:first-of-type h1,body.morobau-site.mb-company #inhalt>section:first-of-type h1{font-size:clamp(2.8rem,5vw,4.75rem);line-height:1.08;max-width:18ch}
body.morobau-site.mb-company .company-story{gap:56px 80px;margin-top:72px}
body.morobau-site.mb-company .company-story h2{font-size:1.9rem}

/* The following is progressive enhancement: images remain visible without JS. */
@media (hover:hover) and (prefers-reduced-motion:no-preference){
 body.morobau-site.mb-experience .project-image img{transition:transform 650ms cubic-bezier(.16,1,.3,1)}
 body.morobau-site.mb-experience .project-link:hover .project-image img{transform:scale(1.035)}
}
@media (prefers-reduced-motion:no-preference){
 body.morobau-site.mb-experience .mb-motion-image{transition:transform 800ms cubic-bezier(.16,1,.3,1)}
 body.morobau-site.mb-experience .mb-motion-image:not(.mb-motion-visible){transform:scale(1.025)}
}
@media (prefers-reduced-motion:reduce){
 body.morobau-site.mb-home .hero-photo>img{animation:none;transform:none}
 body.morobau-site.mb-experience .project-image img,body.morobau-site.mb-experience .mb-motion-image{transition:none;transform:none}
 body.morobau-site.mb-experience a.button:active,body.morobau-site.mb-experience button.button:active{transform:none}
}

@media(max-width:1100px){
 body.morobau-site.mb-experience{--space-section:80px}
 body.morobau-site.mb-home #leistungen{padding-block:80px 88px}
 body.morobau-site.mb-home .service:first-child{gap:40px;padding:38px}
 body.morobau-site.mb-home .company-teaser{gap:44px}
 body.morobau-site.mb-project .detail-layout{gap:40px}
}
@media(max-width:900px){
 body.morobau-site.mb-home .hero-grid.container{min-height:680px}
 body.morobau-site.mb-home .hero h1{max-width:16ch;font-size:clamp(3rem,7.2vw,4.75rem)}
 body.morobau-site.mb-home .hero h1 br{display:none}
 body.morobau-site.mb-home .services{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
 body.morobau-site.mb-home .service:first-child{grid-column:1/-1}
 body.morobau-site.mb-home .planning-note{grid-template-columns:1fr 2fr}
 body.morobau-site.mb-home .planning-note>a{grid-column:2}
 body.morobau-site.mb-home #projekte .project-card:first-child .project-link{grid-template-columns:1fr 1fr}
 body.morobau-site.mb-home #projekte .project-card:first-child .project-image{min-height:300px}
 body.morobau-site.mb-home .company-teaser{grid-template-columns:1fr;gap:36px}
 body.morobau-site.mb-home .company-teaser>div{max-width:680px}
 body.morobau-site.mb-project .detail-layout{grid-template-columns:1fr;gap:36px}
 body.morobau-site.mb-project .detail-contact{position:static;max-width:640px}
}
@media(max-width:760px){
 body.morobau-site.mb-experience{--space-section:64px}
 body.morobau-site.mb-experience .nav{min-height:80px}
 body.morobau-site.mb-experience .nav nav{gap:4px}
 body.morobau-site.mb-home .hero-grid.container{min-height:min(720px,calc(100svh - 80px))}
 body.morobau-site.mb-home .hero-grid::after{background:linear-gradient(0deg,rgba(23,29,25,.94),rgba(23,29,25,.72))}
 body.morobau-site.mb-home .hero-copy{width:calc(100% - 40px);padding:82px 0 88px}
 body.morobau-site.mb-home .hero h1{font-size:clamp(2.7rem,8.5vw,4rem);line-height:1.08;max-width:16ch}
 body.morobau-site.mb-home .hero-intro,body.morobau-site.mb-home .hero p.bde-text{font-size:15px;line-height:1.75;margin-block:22px 28px}
 body.morobau-site.mb-home .hero .actions{gap:10px}
 body.morobau-site.mb-home .hero .button{min-height:50px;padding-inline:19px}
 body.morobau-site.mb-home #leistungen{padding-block:64px 72px}
 body.morobau-site.mb-home #leistungen .section-head,body.morobau-site.mb-home #projekte .section-head{margin-bottom:32px}
 body.morobau-site.mb-home #leistungen .section-head h2,body.morobau-site.mb-home #projekte .section-head h2,body.morobau-site.mb-home .company-teaser h2,body.morobau-site.mb-home #unternehmen + .section.muted h2,body.morobau-site.mb-home .faq h2{font-size:2.25rem;max-width:20ch}
 body.morobau-site.mb-home .service:first-child{gap:20px;padding:28px;grid-template-columns:1fr}
 body.morobau-site.mb-home .service:first-child h3{font-size:1.8rem;max-width:24ch}
 body.morobau-site.mb-home .service:first-child p{font-size:15px}
 body.morobau-site.mb-home .service{padding-block:24px}
 body.morobau-site.mb-home .planning-note{display:flex;flex-direction:column;gap:12px}
 body.morobau-site.mb-home #projekte .project-grid{gap:36px 20px}
 body.morobau-site.mb-home #unternehmen + .section.muted .section-head{margin-bottom:36px}
 body.morobau-site.mb-home .steps{grid-template-columns:1fr;gap:24px}
 body.morobau-site.mb-home .steps li{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px 22px}
 body.morobau-site.mb-home .step-number{grid-row:1/3;font-size:2.6rem;margin:0}
 body.morobau-site.mb-home .steps h3{font-size:1.3rem;margin:0}
 body.morobau-site.mb-home .steps p{grid-column:2;font-size:14px}
 body.morobau-site.mb-experience .contact-copy h2{font-size:2.45rem;max-width:16ch}
 body.morobau-site.mb-experience .form-box{padding:28px 24px}
 body.morobau-site.mb-experience .footer-grid{padding-block:44px}
 body.morobau-site.mb-project .detail-heading{padding-block:34px}
 body.morobau-site.mb-project .detail-heading h1{font-size:clamp(2.35rem,7.5vw,3.4rem)}
 body.morobau-site.mb-project .detail-main-image{margin-bottom:30px}
 body.morobau-site.mb-project .project-gallery :where(img,.bde-image img){height:220px}
 body.morobau-site.mb-project .related{padding-block:64px}
 body.morobau-site.mb-company .company-story{gap:32px;margin-top:40px}
}
@media(max-width:640px){
 body.morobau-site.mb-home .services{grid-template-columns:1fr}
 body.morobau-site.mb-home .service:first-child{grid-column:auto}
 body.morobau-site.mb-home #projekte .project-grid,body.morobau-site.mb-reference .reference-grid{grid-template-columns:1fr;gap:36px}
 body.morobau-site.mb-home #projekte .project-card:first-child{grid-column:auto}
 body.morobau-site.mb-home #projekte .project-card:first-child .project-link{display:block}
 body.morobau-site.mb-home #projekte .project-card:first-child .project-image{min-height:0;height:auto;aspect-ratio:4/3}
 body.morobau-site.mb-home #projekte .project-card:first-child .project-body{padding:25px}
 body.morobau-site.mb-home #projekte .project-card:first-child h3{font-size:1.75rem;max-width:none}
 body.morobau-site.mb-project .project-facts>div{grid-template-columns:100px minmax(0,1fr);gap:12px}
 body.morobau-site.mb-project .project-gallery :where(img,.bde-image img){height:auto;max-height:500px}
}
