/* Variant 1: source-based content in the existing FM corporate design. */
body.clean-header header nav{gap:20px}body.clean-header header .brand{flex-basis:690px;width:690px}
.intro{padding-bottom:45px}#oberflaechen{padding-top:45px}.decor-gallery{margin-top:40px}.decor-gallery article{border:0;padding:0;min-width:0}.photo{position:relative;display:block;width:100%;padding:0;border:0;background:#eee;cursor:zoom-in;margin-bottom:26px;color:white}.photo img{display:block;width:100%;height:290px;object-fit:cover}.photo span{position:absolute;bottom:12px;right:12px;background:#2c2276;padding:8px 12px;font-size:11px}.feature{display:grid;grid-template-columns:1fr 1fr;background:var(--fm-pale)}.feature>img{width:100%;height:100%;min-height:480px;object-fit:cover}.feature>div{padding:70px 14%}.feature h2{font-size:clamp(32px,3.5vw,50px)}.text-link{color:var(--fm);text-decoration:underline;text-underline-offset:5px;font-size:14px;line-height:1.8}.service-list{margin-top:40px}.service-list details{border-top:1px solid var(--fm-line)}.service-list summary{display:flex;gap:24px;align-items:center;cursor:pointer;list-style:none;padding:24px 0;font-size:25px;color:var(--fm)}.service-list summary::-webkit-details-marker{display:none}.service-list summary span{font-size:12px}.service-list summary b{margin-left:auto;font-weight:300}.service-list details[open] summary b{transform:rotate(45deg)}.service-list details>div{max-width:780px;padding:0 0 20px 42px}.process-grid{margin-top:45px}.process-grid summary{cursor:pointer;color:var(--fm);font-size:14px;line-height:1.5}.process-grid details p{font-size:14px}.metrics{border-top:1px solid var(--fm-line);padding-top:35px}.insights h3{margin-top:0}.contact address{font-style:normal;line-height:1.8}.contact address strong{color:var(--fm)}dialog{border:0;padding:55px 20px 20px;max-width:94vw;max-height:94vh;background:#fff;color:var(--fm)}dialog::backdrop{background:#171329d9}dialog img{display:block;max-width:85vw;max-height:70vh;object-fit:contain}dialog p{margin-bottom:0;font-size:14px}.close-photo{position:absolute;right:20px;top:14px;border:0;background:var(--fm);color:white;padding:9px 14px;cursor:pointer}body:has(dialog[open]){overflow:hidden}summary:focus-visible{outline:2px solid var(--fm);outline-offset:3px}
@media(max-width:1100px){body.clean-header header nav{justify-content:center;padding:12px 5%}body.clean-header header .brand{width:690px;flex-basis:690px}.photo img{height:230px}}
@media(max-width:760px){.feature{grid-template-columns:1fr}.feature>img{min-height:0;height:300px}.feature>div{padding:45px 6%}.photo img{height:280px}.service-list summary{font-size:20px;gap:15px}.service-list details>div{padding-left:0}.intro{padding-bottom:25px}.decor-gallery{gap:35px}.dark .visual-hero{min-height:560px}.picture-caption{max-width:90%;text-align:right}body.clean-header header nav{gap:12px;font-size:12px;justify-content:flex-start}.contact .split{gap:35px}}


/* Original photography from Auswahl Jan. */
.dark .visual-hero{background-image:linear-gradient(90deg,#2c227680,#2c227620),url('assets/P1010016.JPG')}
.material-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;margin-top:45px}.material-examples figure,.production-photos figure{margin:0;min-width:0}.material-examples .photo{margin-bottom:12px}.material-examples .photo img{height:290px}.material-examples figcaption,.production-photos figcaption{font-size:14px;color:var(--fm);line-height:1.6}.production-photos{display:grid;grid-template-columns:1.35fr 1fr;gap:30px;margin:38px 0 45px}.production-photos .photo{margin-bottom:12px}.production-photos .photo img{height:340px}.feature>img{object-position:center}
@media(max-width:760px){.material-examples,.production-photos{grid-template-columns:1fr;gap:28px}.material-examples .photo img{height:280px}.production-photos .photo img{height:260px}}

@media (min-width:761px) and (max-width:1100px){.material-examples .photo img{height:230px}}

/* More legible navigation and four equal stages. */
body.clean-header header nav{font-size:16px;gap:22px}
body.clean-header header nav .button{font-size:14px}
.dark .band{font-size:22px;font-weight:800;gap:16px}
.dark .band span{flex:1 1 160px;text-align:center;white-space:nowrap}
#kompetenz .process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){body.clean-header header nav{font-size:16px}}
@media(max-width:760px){body.clean-header header nav{font-size:14px;gap:10px 15px}.dark .band{font-size:18px}.dark .band span{flex-basis:calc(50% - 12px)}#kompetenz .process-grid{grid-template-columns:1fr}}

/* Six original FM photographs rotate behind the stationary hero copy. */
.dark .visual-hero{background-image:none;background-color:var(--fm);isolation:isolate;overflow:hidden}
.hero-slide{position:absolute;inset:0;background-position:center;background-size:cover;opacity:0;transition:opacity .7s ease;pointer-events:none;z-index:-1}
.hero-slide.is-active{opacity:1}
.hero-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#2c2276ba 0%,#2c227670 55%,#2c22762e 100%),linear-gradient(0deg,#17113355,transparent 45%)}
.visual-hero .visual-copy,.visual-hero .picture-caption{position:relative;z-index:1}
.visual-hero .picture-caption{position:absolute;bottom:24px;right:5%}
.hero-pause{position:absolute;bottom:17px;left:8%;z-index:2;padding:8px 13px;color:white;background:#2c2276d9;border:1px solid #ffffffb0;font-size:12px;cursor:pointer}
.hero-pause:hover,.hero-pause:focus-visible{background:#2c2276}
@media(max-width:760px){.hero-pause{left:6%;bottom:12px}.visual-hero .picture-caption{bottom:18px;right:6%;max-width:48%}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}


@media (min-width:761px) and (max-width:1100px){.dark .band span{flex-basis:calc(50% - 16px)}}


/* Full-width statement keeps each headline sentence on its own line when space permits. */
.intro{padding-top:52px;padding-bottom:58px}
.intro-copy{max-width:1600px;margin:0 auto;text-align:left}
.intro-copy h2{font-size:clamp(36px,3.15vw,60px);line-height:1.1;margin:20px 0 22px;overflow-wrap:break-word}
.intro-copy h2 strong{display:block;margin-top:.08em;font-weight:800}
.intro-copy .lead{max-width:1150px;margin:0;font-size:clamp(17px,1.2vw,21px);line-height:1.55}
@media(max-width:1000px){.intro{padding-top:50px;padding-bottom:55px}.intro-copy h2{font-size:clamp(34px,4.4vw,46px)}.intro-copy .lead{max-width:760px}}
@media(max-width:600px){.intro{padding-top:42px;padding-bottom:48px}.intro-copy h2{font-size:clamp(30px,8vw,42px);line-height:1.17;margin:15px 0 22px;hyphens:auto}.intro-copy h2 strong{margin-top:.2em}.intro-copy .lead{font-size:16px;line-height:1.6}}

/* Keep the second photo row behind a clear invitation instead of cutting it at the viewport edge. */
.more-surfaces{margin-top:42px;border-top:1px solid var(--fm-line)}
.more-surfaces summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;color:var(--fm);font-size:19px;font-weight:700;cursor:pointer;list-style:none}
.more-surfaces summary::-webkit-details-marker{display:none}
.more-surfaces summary span{font-size:13px;font-weight:800;white-space:nowrap}
.more-surfaces summary i{display:inline-block;font-size:18px;font-style:normal;transition:transform .2s ease}
.more-surfaces[open] summary i{transform:rotate(180deg)}
.more-surfaces .material-examples{margin-top:18px}
@media(max-width:600px){.more-surfaces summary{font-size:17px}.more-surfaces summary span{font-size:12px}}

.material-examples figcaption h3{margin:16px 0 8px;font-size:23px}
.material-examples figcaption p{margin:0;color:var(--fm-text);font-size:16px;line-height:1.65}

.surface-focus{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:32px}
.surface-focus article{min-width:0;background:var(--fm-pale)}
.surface-focus .photo{margin:0}.surface-focus .photo img{height:280px}
.surface-focus .alu-sample{background:#e9e9e9}.surface-focus .alu-sample img{object-fit:contain}
.focus-copy{padding:24px 28px}.focus-copy h3{font-size:28px;line-height:1.2;margin:12px 0}
.focus-copy p{margin:0 0 14px}.focus-copy ul,.production-grid ul{margin:0;padding-left:20px;line-height:1.65}
.focus-copy li,.production-grid li{padding-left:3px;margin:5px 0}
.focus-copy li::marker,.production-grid li::marker{color:var(--fm)}
.gallery-heading{font-size:28px;margin:44px 0 0}.gallery-heading+.decor-gallery{margin-top:22px}
.production-compact{padding-top:55px;padding-bottom:55px}
.production-compact h2{font-size:clamp(32px,3vw,46px);margin-bottom:16px}
.production-intro{margin:0 0 28px}
.production-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.production-grid article{min-width:0}.production-grid .photo{margin:0 0 20px}
.production-grid .photo img{height:180px}.production-grid h3{font-size:24px;margin:0 0 12px}
.production-grid ul{font-size:15px}
.legal-page{max-width:1400px;margin:auto}.legal-page h1{font-size:clamp(40px,5vw,64px)}
.legal-page h2{font-size:25px;letter-spacing:-.02em;margin:0 0 20px}
.legal-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:40px}
.legal-page address{font-style:normal;line-height:1.8}.legal-page a{text-decoration:underline;text-underline-offset:3px}
.legal-dispute{margin-top:40px;max-width:850px}
@media(max-width:1100px){.production-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.surface-focus .photo img{height:230px}.focus-copy{padding:22px}.focus-copy h3{font-size:25px}}
@media(max-width:700px){.surface-focus,.legal-grid{grid-template-columns:1fr;gap:25px}.production-grid{grid-template-columns:1fr;gap:32px}.surface-focus .photo img{height:240px}.production-grid .photo img{height:210px}.production-compact{padding-top:42px;padding-bottom:42px}.focus-copy{padding:22px}.legal-grid{margin-top:28px}}

#oberflaechen .surface-intro{max-width:960px}
#oberflaechen .surface-intro strong{color:var(--fm);font-weight:700}

.linkedin-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}
.linkedin-heading h2{font-size:clamp(32px,3vw,46px);margin-bottom:16px}.linkedin-heading p{margin:0}
.linkedin-heading>.text-link{flex-shrink:0}
.linkedin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.linkedin-card{border:1px solid var(--fm-line);padding:22px;min-width:0;background:#fff}
.linkedin-card h3{font-size:19px;margin:0 0 20px;font-weight:700}
.linkedin-content{min-height:180px}.linkedin-content p{margin:0 0 20px;font-size:15px}
.linkedin-card>.text-link{display:block;margin-top:20px;font-size:13px}
.linkedin-card.is-empty{background:var(--fm-pale);border-style:dashed}
.linkedin-embed{width:100%;height:560px;border:0;display:block;background:white}
.linkedin-editor-link{display:inline-block;margin-top:20px}.linkedin-editor-link[hidden]{display:none}
.linkedin-editor{max-width:1100px;margin:auto}.linkedin-editor h1{font-size:clamp(32px,4vw,52px)}
.linkedin-editor form{margin:30px 0}.linkedin-editor label{display:block;color:var(--fm);font-weight:700;margin:24px 0 10px}
.linkedin-editor input{display:block;width:100%;padding:14px;border:1px solid var(--fm-line);font-size:16px;border-radius:0}
.linkedin-editor button{cursor:pointer}.linkedin-editor .button{border:1px solid var(--fm)}
@media(max-width:1000px){.linkedin-heading{display:block}.linkedin-heading>.text-link{display:inline-block;margin-top:15px}.linkedin-grid{grid-template-columns:1fr}.linkedin-content{min-height:0}.linkedin-embed{max-width:550px;margin:auto}}

.linkedin-editor textarea{display:block;width:100%;box-sizing:border-box;padding:16px;border:1px solid #d7d3eb;font:14px/1.6 monospace;resize:vertical;margin-bottom:36px;overflow-wrap:anywhere}.linkedin-load-hint{font-size:14px}.linkedin-content>button.text-link{margin-bottom:16px;background:none;border:0;cursor:pointer}

/* Prominent production capabilities and supply continuity. */
.production-heading{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(28px,5vw,80px);align-items:end;margin-bottom:30px}
.production-heading h2{font-size:clamp(36px,3.8vw,62px);line-height:1.08;margin:16px 0 0}
.production-heading h2 strong{font-weight:800}
.production-heading .production-intro{font-size:clamp(17px,1.2vw,20px);line-height:1.65;margin:0;max-width:660px}
.production-priorities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;background:var(--fm);color:#fff;padding:clamp(24px,3vw,44px);margin-bottom:38px}
.production-priorities article{min-width:0;border-top:1px solid #ffffff70;padding-top:18px}
.priority-number{font-size:13px;font-weight:800;letter-spacing:.1em;color:#cec9ee}
.production-priorities h3{color:#fff;font-size:clamp(23px,1.7vw,29px);font-weight:800;line-height:1.2;margin:12px 0 14px;overflow-wrap:break-word;hyphens:auto}
.production-priorities article p{font-size:16px;line-height:1.65;margin:0;color:#efedf9}
.production-priorities-footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;border-top:1px solid #ffffff45;padding-top:24px}
.production-priorities-footer p{margin:0;font-size:17px;font-weight:700}
.dark .production-priorities-footer .button{background:#fff;color:var(--fm);font-size:14px}
.production-priorities a:focus-visible{outline-color:#fff}
.production-capabilities{margin-bottom:24px}.production-capabilities h3{font-size:clamp(26px,2vw,34px);margin:0 0 10px}.production-capabilities p{margin:0}
.production-grid h3{font-weight:700}.production-grid .photo img{height:clamp(180px,14vw,230px)}
@media(max-width:1000px){.production-heading{grid-template-columns:1fr;gap:22px}.production-heading .production-intro{max-width:800px}.production-priorities{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.production-priorities h3{hyphens:none}.production-priorities article p{max-width:800px}}
@media(max-width:600px){.production-heading h2{font-size:36px}.production-priorities-footer{align-items:flex-start}.production-priorities-footer .button{width:100%;text-align:center}}

/* Responsive lifecycle overview and compact engineering details. */
@media(min-width:1001px) and (max-width:1250px){.production-priorities{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.production-priorities{grid-template-columns:1fr}.production-heading h2{font-size:clamp(30px,7.8vw,36px)}}
.production-engineering{background:#fff;padding:clamp(22px,3vw,40px);margin-bottom:38px}
.engineering-heading{display:grid;grid-template-columns:1fr 1.5fr;gap:32px;align-items:start}
.engineering-heading h3{font-size:clamp(24px,2vw,30px);line-height:1.25;margin:0}
.engineering-heading p{margin:0;line-height:1.65}
.production-engineering .service-list{margin-top:24px}
.production-engineering .service-list summary{font-size:20px;padding:18px 0}
.production-engineering .service-list details:last-child{border-bottom:1px solid var(--fm-line)}
.production-engineering .service-list details>div{max-width:900px}
@media(max-width:700px){.engineering-heading{grid-template-columns:1fr;gap:14px}.production-engineering .service-list summary{font-size:18px;gap:12px}.production-engineering .service-list details>div{padding-left:0}}

/* Keep long legal headings and contact details within narrow screens. */
.legal-page{overflow-wrap:anywhere}.legal-page h2{hyphens:auto}.legal-grid>section{min-width:0}
