/* Montage mit DHS – echte Projekteinblicke, kurze Wege und ein interaktiver Ablauf. */
.ms-hero{display:grid;grid-template-columns:1.03fr 1fr;align-items:center;gap:56px;padding-block:54px 38px}.ms-hero-copy{padding-block:18px}.ms-hero h1{font-size:clamp(44px,4.7vw,66px);line-height:1.06;letter-spacing:-.045em}.ms-hero .eyebrow{margin-bottom:24px}.ms-hero-lead{font-size:16px;line-height:1.95;max-width:420px;margin-top:25px}.ms-hero .actions{gap:24px}.ms-hero .text-link{gap:10px}.ms-hero-note{display:flex;gap:10px;align-items:center;font-size:12px;margin-top:31px}.ms-hero-note>span{width:6px;height:6px;border-radius:50%;background:#879b84}.ms-hero-visual{position:relative;padding:0 0 34px 38px;min-width:0}.ms-hero-room{margin:0;height:480px;position:relative;border-radius:30px;overflow:hidden;background:#c6b9a1}.ms-hero-room>img{width:100%;height:100%;object-fit:cover;object-position:50% 49%}.ms-hero-room:after{content:'';position:absolute;inset:60% 0 0;background:linear-gradient(transparent,#0008)}.ms-hero-room figcaption{position:absolute;right:25px;bottom:24px;color:white;text-align:right;z-index:1}.ms-hero-room figcaption span{font-size:12px;letter-spacing:.12em;text-transform:uppercase;display:block;margin-bottom:5px;color:#ffffffc9}.ms-hero-room figcaption strong{font:400 22px Outfit}.ms-hero-detail{position:absolute;bottom:0;left:0;width:200px;padding:6px;background:white;border-radius:21px;box-shadow:0 15px 35px #182c3d22;transition:transform .25s}.ms-hero-detail:hover{transform:translateY(-4px)}.ms-hero-detail>img{width:100%;height:168px;border-radius:16px;object-fit:cover;object-position:center 35%}.ms-hero-detail>span{display:flex;justify-content:space-between;align-items:center;padding:9px 9px 5px;font-size:12px;color:var(--blue)}.ms-hero-detail b{font-size:17px;font-weight:400}.ms-image-note{position:absolute;bottom:5px;right:5px;font-size:12px;color:var(--muted)}.ms-scope{display:grid;grid-template-columns:240px 1fr;gap:28px;align-items:center;padding-block:25px 29px;border-top:1px solid var(--line);margin-top:20px;margin-bottom:30px}.ms-scope p{font-size:14px;line-height:1.9}.ms-scope strong{font-weight:600;color:var(--ink)}.ms-scope ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.ms-scope li{font-size:13px;line-height:1.6}.ms-scope li span{display:block;font:400 14px Outfit;color:var(--blue);margin-bottom:6px}.ms-process-section{background:#f5f5f7;padding-block:46px 30px;scroll-margin-top:110px}.ms-section-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:27px}.ms-section-heading h2{font-size:38px;line-height:1.14}.ms-section-heading .eyebrow{margin-bottom:13px}.ms-section-heading>p{font-size:14px;max-width:300px;padding-bottom:5px}.ms-process{background:#fff;border:1px solid #e6e8eb;border-radius:25px;overflow:hidden}.ms-stage-tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:9px;gap:6px;border-bottom:1px solid var(--line)}.ms-stage-tabs button{border:0;border-radius:13px;background:transparent;padding:15px 10px;font-size:14px;display:flex;justify-content:center;align-items:center;gap:12px;position:relative;color:var(--muted);transition:background .2s,color .2s}.ms-stage-tabs button:hover{background:#f5f7fa;color:var(--blue)}.ms-stage-tabs button[aria-selected=true]{background:var(--blue-soft);color:var(--blue);font-weight:600}.ms-stage-tabs button>span{font:400 13px Outfit;opacity:.75}.ms-stage{display:grid;grid-template-columns:1fr 1.1fr;min-height:440px;outline-offset:-6px}.ms-stage-photo{margin:0;position:relative;min-height:440px;background:#dedbd4;overflow:hidden}.ms-stage-photo img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 45%}.ms-photo-building img{object-position:center 72%}.ms-photo-surface img{object-position:center 35%}.ms-photo-finished img{object-position:center 62%}.ms-stage-photo:after{content:'';position:absolute;inset:70% 0 0;background:linear-gradient(transparent,#0008)}.ms-stage-photo figcaption{position:absolute;bottom:20px;left:25px;right:25px;z-index:1;font-size:12px;color:white}.ms-stage-copy{padding:33px 38px;display:flex;flex-direction:column;align-items:flex-start}.ms-stage-number{font-size:12px;color:var(--blue);margin-bottom:17px}.ms-stage-copy h3{font-size:33px;line-height:1.12;letter-spacing:-.03em}.ms-stage-copy>p:not(.ms-stage-number){font-size:14px;line-height:1.9;max-width:415px;margin-top:18px}.ms-stage-copy ul{list-style:none;padding:0;margin:22px 0;display:grid;gap:8px;font-size:13px}.ms-stage-copy li{position:relative;padding-left:18px}.ms-stage-copy li:before{content:'';position:absolute;left:0;top:9px;width:5px;height:5px;border-radius:50%;background:#8ca48e}.ms-stage-bottom{margin-top:auto;width:100%;padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--line)}.ms-stage-bottom>span{max-width:200px;font-size:12px;color:var(--muted)}.ms-next{display:inline-flex;align-items:center;gap:15px;border:1px solid var(--line);border-radius:99px;background:#fff;padding:9px 14px;color:var(--blue);font-size:13px}.ms-next:hover{background:var(--blue-soft)}.ms-next span{font-size:17px;line-height:1}.ms-stage-bottom .text-link{font-size:13px;gap:8px;text-align:right}.ms-process-foot{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:17px}.ms-process-foot p{font-size:12px}.ms-process-foot .text-link{font-size:12px;gap:8px}.ms-conversation{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center;padding-block:60px}.ms-conversation h2{font-size:38px;line-height:1.13}.ms-conversation-copy>p:not(.eyebrow){font-size:15px;line-height:1.9;max-width:430px;margin-top:20px}.ms-conversation .actions{gap:20px}.ms-conversation .text-link{font-size:13px;gap:8px}.ms-contact-card{background:#edf2f6;border-radius:25px;padding:27px 30px;border:1px solid #e0e8ee}.ms-contact-top{display:flex;align-items:center;gap:22px}.ms-contact-top .eyebrow{font-size:12px;margin-bottom:8px}.ms-contact-top h3{font-size:27px;letter-spacing:-.03em}.ms-contact-top p:not(.eyebrow){font-size:13px;margin-top:5px}.ms-person-photo{width:98px;height:104px;border-radius:17px;background:#fff;position:relative;overflow:hidden;flex-shrink:0}.ms-person-photo img{position:absolute;width:165px;max-width:none;height:auto;left:50%;top:-17px;transform:translateX(-50%)}.ms-contact-phone{display:block;font:400 25px Outfit;color:var(--blue);letter-spacing:-.025em;white-space:nowrap;margin-top:23px}.ms-contact-email{font-size:14px;color:var(--blue);display:inline-block;margin-top:4px}.ms-contact-phone:hover,.ms-contact-email:hover{text-decoration:underline;text-underline-offset:4px}.ms-contact-small{font-size:12px;margin-top:19px;padding-top:16px;border-top:1px solid #d9e3ec}.ms-contact-small a{color:var(--blue)}.ms-contact-small a:hover{text-decoration:underline}.ms-faq{display:grid;grid-template-columns:.8fr 1.4fr;gap:75px;padding-block:35px 55px;border-top:1px solid var(--line)}.ms-faq h2{font-size:32px;line-height:1.15}.ms-faq>div>p:not(.eyebrow){font-size:14px;max-width:280px;margin-top:15px}.ms-faq details:first-child{border-top:0}.ms-faq summary{font-size:15px;padding-block:18px}.ms-faq .detail-body p{font-size:14px;line-height:1.9}.ms-faq .ms-diy-note{font-size:13px;max-width:none;margin-top:23px}.ms-diy-note a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
@media(prefers-reduced-motion:no-preference){.ms-stage.is-entering .ms-stage-copy{animation:ms-content-in .28s ease both}.ms-stage.is-entering .ms-stage-photo img{animation:ms-photo-in .35s ease both}@keyframes ms-content-in{from{opacity:.2;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes ms-photo-in{from{opacity:.5}to{opacity:1}}}
@media(max-width:1050px){.ms-hero{gap:25px}.ms-hero h1{font-size:52px}.ms-hero-room{height:445px}.ms-hero-visual{padding-left:24px}.ms-hero-detail{width:170px}.ms-hero-detail>img{height:145px}.ms-image-note{font-size:12px}.ms-scope{grid-template-columns:190px 1fr;gap:20px}.ms-scope ul{gap:12px}.ms-scope li{font-size:12px}.ms-stage-copy{padding:29px}.ms-stage-copy h3{font-size:29px}.ms-conversation{gap:40px}.ms-conversation h2{font-size:34px}.ms-contact-top{gap:15px}.ms-contact-top h3{font-size:23px}.ms-contact-card{padding:24px}.ms-faq{gap:40px}}
@media(max-width:820px){.ms-hero{gap:25px;padding-block:32px 25px}.ms-hero h1{font-size:43px}.ms-hero-lead{font-size:14px}.ms-hero .actions{gap:16px}.ms-hero .button{font-size:13px;padding-inline:17px}.ms-hero-room{height:390px}.ms-hero-visual{padding-left:15px}.ms-hero-detail{width:144px}.ms-hero-detail>img{height:125px}.ms-hero-detail>span{font-size:12px;padding-inline:5px}.ms-hero-room figcaption{right:16px;bottom:22px}.ms-hero-room figcaption strong{font-size:18px}.ms-image-note{display:none}.ms-scope{grid-template-columns:1fr;margin-top:5px;margin-bottom:15px;gap:18px}.ms-scope p br{display:none}.ms-scope p br:after{content:' '}.ms-scope li{font-size:13px}.ms-stage{grid-template-columns:1fr 1.15fr;min-height:440px}.ms-stage-copy{padding:25px}.ms-stage-copy h3{font-size:27px}.ms-stage-tabs button{font-size:13px;gap:7px;padding-inline:6px}.ms-stage-copy ul{font-size:12px}.ms-stage-bottom{flex-wrap:wrap;gap:14px}.ms-stage-bottom>span{max-width:none}.ms-conversation{grid-template-columns:1fr 1fr;gap:25px;padding-block:42px}.ms-contact-top{gap:12px;flex-wrap:wrap}.ms-person-photo{width:76px;height:86px}.ms-person-photo img{width:140px;top:-15px}.ms-contact-phone{font-size:22px}.ms-contact-top h3{font-size:23px}.ms-conversation h2{font-size:30px}.ms-faq{gap:30px}.ms-section-heading h2{font-size:33px}.ms-section-heading>p{font-size:13px;max-width:240px}}
@media(max-width:600px){.ms-hero{grid-template-columns:1fr;gap:25px;padding-top:23px}.ms-hero-copy{padding-block:0}.ms-hero h1{font-size:clamp(41px,10.5vw,58px)}.ms-hero .eyebrow{margin-bottom:19px;font-size:12px}.ms-hero-lead{font-size:15px;line-height:1.85;margin-top:20px;max-width:400px}.ms-hero .actions{margin-top:23px;gap:24px}.ms-hero-note{margin-top:21px}.ms-hero-visual{padding:0 0 23px 20px}.ms-hero-room{height:370px;border-radius:23px}.ms-hero-detail{width:145px;border-radius:17px;bottom:0;padding:5px}.ms-hero-detail>img{height:128px;border-radius:12px}.ms-hero-detail>span{font-size:12px}.ms-hero-room figcaption{right:18px;bottom:27px}.ms-hero-room figcaption strong{font-size:20px}.ms-scope{padding-block:20px;margin-bottom:16px}.ms-scope p{font-size:14px}.ms-scope ul{grid-template-columns:1fr 1fr;gap:15px 20px}.ms-scope li{display:flex;align-items:center;gap:10px;font-size:12px}.ms-scope li span{margin:0;font-size:12px}.ms-process-section{padding-block:30px 23px;scroll-margin-top:90px}.ms-section-heading{display:block;margin-bottom:21px}.ms-section-heading h2{font-size:31px}.ms-section-heading>p{max-width:100%;margin-top:13px;font-size:13px}.ms-section-heading>p br{display:none}.ms-process{border-radius:20px}.ms-stage-tabs{gap:2px;padding:6px}.ms-stage-tabs button{flex-direction:column;gap:4px;padding:10px 2px;border-radius:10px;font-size:clamp(9px,2.5vw,11px);letter-spacing:-.02em}.ms-stage-tabs button>span{font-size:12px}.ms-stage{grid-template-columns:1fr;min-height:0}.ms-stage-photo{height:235px;min-height:0}.ms-stage-photo img{object-position:center 45%}.ms-photo-building img{object-position:center 76%}.ms-photo-surface img{object-position:center 34%}.ms-photo-finished img{object-position:center 58%}.ms-stage-photo figcaption{bottom:17px;left:20px;right:20px;font-size:12px}.ms-stage-copy{padding:24px}.ms-stage-number{font-size:12px;margin-bottom:13px}.ms-stage-copy h3{font-size:30px}.ms-stage-copy>p:not(.ms-stage-number){font-size:14px;margin-top:16px}.ms-stage-copy ul{font-size:13px;margin:20px 0;gap:9px}.ms-stage-bottom{padding-top:17px;flex-wrap:nowrap;gap:14px}.ms-stage-bottom>span{max-width:150px;font-size:12px}.ms-stage-bottom .text-link{font-size:12px;max-width:120px}.ms-process-foot{display:block;margin-top:15px}.ms-process-foot p{font-size:12px}.ms-process-foot .text-link{margin-top:9px;font-size:13px}.ms-conversation{grid-template-columns:1fr;gap:25px;padding-block:38px}.ms-conversation h2{font-size:33px}.ms-conversation-copy>p:not(.eyebrow){font-size:14px;margin-top:16px}.ms-conversation .actions{margin-top:23px}.ms-contact-card{padding:23px}.ms-contact-top{flex-wrap:nowrap;gap:20px}.ms-person-photo{width:88px;height:96px}.ms-person-photo img{width:155px;top:-17px}.ms-contact-top h3{font-size:26px}.ms-contact-phone{font-size:25px;margin-top:20px}.ms-contact-small{margin-top:15px}.ms-faq{grid-template-columns:1fr;gap:21px;padding-block:28px 35px}.ms-faq h2{font-size:30px}.ms-faq h2 br{display:none}.ms-faq>div>p:not(.eyebrow){max-width:100%;font-size:14px}.ms-faq .eyebrow{margin-bottom:12px}.ms-faq summary{font-size:14px}.ms-faq .ms-diy-note{font-size:13px}.ms-next{font-size:12px;padding:8px 12px}.ms-contact-card .eyebrow{font-size:12px}}
@media(prefers-reduced-motion:reduce){.montage-page *{scroll-behavior:auto;transition:none}}

/* Die Bildunterschrift bleibt am Handy oberhalb des überlagerten Montagedetails. */
@media(max-width:600px){.ms-hero-room figcaption{top:20px;bottom:auto;right:20px;left:20px}.ms-hero-room:after{inset:0 0 62%;background:linear-gradient(#0005,transparent)}}

/* Neue Projektmedien: Hände und Platte bleiben sichtbar; der Film behält sein Hochformat. */
.ms-hero-worker>img{object-position:50% 72%}
.ms-hero-worker figcaption{top:24px;bottom:auto;left:25px;right:25px;text-align:left}
.ms-hero-worker:after{inset:0 0 65%;background:linear-gradient(#0007,transparent)}
.ms-stage-film{margin:0;padding:22px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;background:#edf0f2}
.ms-stage-film video{display:block;width:auto;height:410px;max-width:100%;border-radius:15px;background:#17232a;object-fit:contain;box-shadow:0 8px 25px #182c3d14}
.ms-stage-film video:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
.ms-stage-film figcaption{text-align:center;color:var(--ink);font-size:13px;line-height:1.7}
.ms-stage-film figcaption strong{font-weight:600;display:block}
.ms-stage-film figcaption span{display:block;font-size:12px;color:var(--muted)}
.ms-photo-loft img{object-position:center 46%}
@media(max-width:600px){.ms-hero-worker>img{object-position:50% 68%}.ms-hero-worker figcaption{top:20px;left:20px;right:15px}.ms-hero-worker figcaption strong{font-size:19px}.ms-stage-film{padding:20px;gap:12px}.ms-stage-film video{height:360px}.ms-photo-loft{height:290px}}

.ms-video-wrap{position:relative;border-radius:15px;overflow:hidden;background:#17232a center/cover no-repeat}
.ms-video-wrap.is-pending{background-image:url('../galerie/optimiert/dhs-montage-video-poster.webp')}
.ms-video-wrap.is-pending video{visibility:hidden}
.ms-video-start{position:absolute;inset:0;display:grid;place-items:center;width:100%;border:0;background:linear-gradient(transparent 40%,#0003);color:#fff;padding:0;cursor:pointer}
.ms-video-start span{display:flex;align-items:center;gap:9px;background:#ffffffed;color:#23465f;border-radius:99px;padding:13px 17px;box-shadow:0 4px 20px #0002;font-size:13px;font-weight:600;transition:transform .2s}
.ms-video-start:hover span{transform:scale(1.04)}
.ms-video-start b{font-size:14px;font-weight:400}
.ms-video-start:focus-visible{outline:3px solid var(--blue);outline-offset:-5px}

/* Plan und zeigende Hand bleiben auch im mobilen Ausschnitt sichtbar. */
.ms-photo-planning img{object-position:58% 50%}


/* DHS-Planung: Decke und Plan sichtbar, keine Beschriftung über der Zeichnung. */
.ms-photo-planning img{object-position:54% 50%}
.ms-photo-planning:after{display:none}


@media(max-width:600px){.ms-photo-planning{height:auto;aspect-ratio:4/3;min-height:0}.ms-photo-planning img{object-position:50% 50%}}

/* Montagefilm in derselben Bildspalte wie die übrigen Schritte. */
.ms-stage-film{position:relative;display:block;margin:0;padding:0;min-height:440px;overflow:hidden;background:#dedbd4}
.ms-stage-film .ms-video-wrap{position:absolute;inset:0;width:100%;height:100%;border-radius:0;background-size:cover;background-position:50% 75%}
.ms-stage-film video{width:100%;height:100%;max-width:none;border-radius:0;object-fit:cover;object-position:50% 75%;box-shadow:none}
.ms-stage-film figcaption{position:absolute;left:25px;right:25px;bottom:20px;z-index:1;text-align:left;color:white;text-shadow:0 1px 8px #0009;pointer-events:none}
.ms-stage-film figcaption span{color:#ffffffe6}
.ms-stage-film:has(.ms-video-wrap:not(.is-pending)) figcaption{display:none}
.ms-stage-film .ms-video-start{background:linear-gradient(transparent 60%,#0007)}
@media(max-width:600px){.ms-stage-film{height:auto;aspect-ratio:4/3;min-height:0}.ms-stage-film figcaption{left:20px;right:20px;bottom:17px;font-size:12px}.ms-stage-film figcaption span{font-size:11px}}

/* Link unter dem Ablauf bleibt rechts, auch ohne Hinweistext (22.10.2026) */
.ms-process-foot .text-link{margin-left:auto}
