/* DK Services: content pages (body.seite). The hero, header and footer are the home page's; below the hero the pages
   follow the layout of the colleague's version (generated part at the end of this file). */

/* Hero: the home page's stage, frame and type, lower and not pinned, so it scrolls away like a chapter and the next one shows. */
.js .seite .motion-hero{height:auto}
.js .seite .hero-stage{position:relative;top:0;height:clamp(560px,74svh,900px)}
.seite .hero-media,.seite .hero-photo,.seite .hero-copy{will-change:auto}
.seite .motion-hero h1{font-size:clamp(40px,8.6vw,112px)}
.seite .hero-long h1{font-size:clamp(38px,6.2vw,88px);text-wrap:balance}
/* The dark continues under the first section's rounded corners. */
.seite .motion-hero::after{content:"";position:absolute;left:0;right:0;top:100%;height:40px;background:var(--cinema)}
.seite .detail-article{position:relative;z-index:2}
.seite .detail-article>section{background:#fff}
.seite .detail-article>section:first-child{border-radius:40px 40px 0 0}
.seite .editorial-related{position:relative;z-index:2;background:#fff}
.seite .editorial-cta{position:relative;z-index:2}

/* Where you are and the way back: at the top of the hero, on the column of its headline. */
.hero-path{position:absolute;top:clamp(30px,4.5svh,52px);left:0;right:0;z-index:1}
.hero-path .frame{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px}
.sub-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px 0 14px;border-radius:999px;background:#ffffff26;box-shadow:inset 0 .5px 0 #ffffffa6,inset 0 0 0 1px #ffffff24;color:#fff;font-size:15px;font-weight:500;transition:background-color .2s}
.sub-back:hover{background:#ffffff40}
.sub-back>span{font-size:22px;line-height:1;margin-top:-3px}
.seite .legal .sub-back{margin-bottom:28px;text-decoration:none}
.sub-back.on-light{background:#e3e7ec;box-shadow:none;color:var(--ink)}
.sub-back.on-light:hover{background:#d5dbe2}
.hero-crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:0 8px;color:#d9e4f2;font-size:14px}
.hero-crumbs a{display:inline-flex;align-items:center;min-height:44px;transition:color .2s}
.hero-crumbs a:hover{color:#fff}
.hero-crumbs [aria-current]{color:#fff}
.selected-topic-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-top:12px;color:#91b8ff;font-size:15px}
.selected-topic-link[hidden]{display:none}
/* The first header marks the section this page belongs to. */
.topbar-nav>a.is-current{color:#fff;box-shadow:inset 0 -2px 0 #91b8ff}


/* Pages without a hero (Rechtstexte, 404): the first header stays over light chapters, so it cannot be translucent. */
.seite-plain .topbar{background:var(--cinema);-webkit-backdrop-filter:none;backdrop-filter:none}
.sub-chapter{position:relative;z-index:2;padding-block:clamp(80px,10vw,144px);background:#fff;color:var(--ink)}
.sub-top{border-radius:40px 40px 0 0}
.seite .legal{padding-top:8px}
.seite .legal p{font-size:17px;line-height:1.6}
.seite .legal p+p{margin-top:14px}
.seite .legal a{text-decoration:underline;text-underline-offset:3px}
.seite .legal-draft{margin-bottom:28px;padding:20px 24px;border-radius:18px;background:var(--pale)}
.fg-services{display:grid;gap:2px;margin-top:16px}
.fg-services a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;color:#fff;font-size:16px}
.fg-services a:hover{color:#c9dcff}
.contact-fg .fg-copy h1{margin-left:-.03em;font-size:clamp(44px,5.4vw,82px);line-height:1.02;letter-spacing:-.05em;color:#fff;text-wrap:balance}
.contact-fg .fg-copy h1 span{color:#91b8ff}

@media(max-width:700px){
 .hero-crumbs{display:none}
}
@media(max-width:600px){
 .seite .motion-hero h1{font-size:clamp(38px,11.4vw,64px)}
 .seite .hero-long h1{font-size:clamp(36px,9.6vw,56px)}
 .seite .detail-article>section:first-child,.sub-top{border-radius:28px 28px 0 0}
}
@media print{
 .hero-path,.sub-back,.selected-topic-link{display:none}
}

/* ---------- Below the hero: the colleague's layout, taken over from his content.css, subpages.css, editorial.css and
   simple-services.css without the rules for his hero and top bar. ---------- */
.questions{background:#fff}
.questions-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:40px 80px}
.questions h2{font-size:clamp(30px,3.5vw,46px);line-height:1.1;letter-spacing:-.04em}
.questions-layout>div>p:not(.micro){color:var(--muted);font-size:17px;line-height:1.5;margin-top:22px;max-width:34ch}
.questions-list{border-top:1px solid var(--line)}
.questions-list details{border-bottom:1px solid var(--line)}
.questions-list summary{position:relative;list-style:none;padding:22px 34px 22px 0;font-size:18px;font-weight:600;line-height:1.4;color:var(--ink);cursor:pointer}
.questions-list summary::-webkit-details-marker{display:none}
.questions-list summary::after{content:'+';position:absolute;right:0;top:20px;font-size:24px;font-weight:400;color:var(--blue)}
.questions-list details[open]>summary::after{content:'−'}
.questions-list details>div{padding:0 20px 24px 0}
.questions-list details p{font-size:16px;line-height:1.65;color:var(--muted);margin:0}
.questions-list .text-link{margin-top:16px}
@media(max-width:700px){
.questions-layout{grid-template-columns:1fr;gap:30px}
.questions-list summary{font-size:17px;padding-block:20px}
}
.detail-article{min-width:0}
.detail-article>section+section{border-top:1px solid var(--line);margin-top:48px;padding-top:48px}
.detail-article h2{font-size:clamp(28px,3.2vw,42px);line-height:1.14;letter-spacing:-.04em;margin-bottom:24px}
.detail-article h3{font-size:23px;letter-spacing:-.025em;line-height:1.25;margin:28px 0 12px}
.detail-article p{line-height:1.7}
.detail-article ul,.detail-article ol{color:var(--muted);line-height:1.7;padding-left:23px;margin:24px 0}
.detail-article li+li{margin-top:14px}
.detail-article li strong{color:var(--ink)}
.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0}
.detail-grid article{padding:26px;border-radius:22px;background:var(--pale)}
.detail-grid h3{margin-top:0}
.detail-grid p{font-size:16px;line-height:1.65}
.detail-note{padding:28px;border-radius:24px;background:var(--pale);margin:28px 0}
.detail-note .detail-stat{font-size:clamp(36px,4.5vw,60px);font-weight:600;line-height:1.1;color:var(--blue);letter-spacing:-.04em}
.detail-photo{margin:32px 0}
.detail-photo img{width:100%;max-height:640px;object-fit:contain;background:var(--pale);border-radius:24px}
.detail-photo figcaption{font-size:13px;color:var(--muted);margin-top:12px}
@media(max-width:700px){
.detail-grid{grid-template-columns:1fr}
.detail-article>section+section{margin-top:36px;padding-top:36px}
}
@media print{
.detail-grid article{break-inside:avoid}
}
.detail-grid .text-link{margin-top:18px;font-size:15px;min-height:44px}
.detail-note h3{margin-top:0}
.detail-terms>div{padding-bottom:22px;border-bottom:1px solid var(--line)}
.detail-terms>div:last-child{margin-bottom:24px}
.detail-terms h3{margin-top:24px}
.detail-article section[id]{scroll-margin-top:110px}
#form-mail-link[hidden]{display:none!important}
.editorial-page .detail-article>.editorial-section{margin:0;padding:clamp(44px,6vw,78px) 0;border:0;scroll-margin-top:100px}
.editorial-page .detail-article>.editorial-section:nth-child(odd){background:var(--pale)}
.chapter-layout{display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.3fr);gap:clamp(36px,6vw,90px);align-items:start}
.editorial-page .chapter-title h2{font-size:clamp(30px,3.2vw,44px);line-height:1.15;margin:0;letter-spacing:-.035em;text-wrap:balance}
.chapter-body{min-width:0;font-size:17px;line-height:1.7}
.editorial-page .chapter-body>h3:first-child{margin-top:0}
.editorial-page .chapter-body h3{font-size:23px;margin:30px 0 14px;line-height:1.3}
.editorial-page .chapter-body .text-link{font-size:16px;margin-top:18px;gap:16px;line-height:1.5}
.editorial-page .chapter-body .detail-grid{display:grid;grid-template-columns:1fr;gap:26px;margin:28px 0}
.editorial-page .chapter-body .detail-grid:first-child{margin-top:0}
.editorial-page .chapter-body .detail-grid article{padding:0 0 26px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.editorial-page .chapter-body .detail-grid article:last-child{padding-bottom:0;border:0}
.editorial-page .chapter-body .detail-grid article h3{margin-top:0}
.editorial-page .chapter-body .detail-grid article p{font-size:17px}
.editorial-page .chapter-body .detail-note{background:#fff;padding:28px;border:1px solid var(--line);border-radius:24px}
.editorial-page .editorial-section:nth-child(even) .detail-note{background:var(--pale);border:0}
.editorial-page .chapter-body>.detail-note:first-child{margin-top:0}
.editorial-page .chapter-body .detail-note h3{margin-top:0}
.editorial-page .chapter-body>ul:first-child,.editorial-page .chapter-body>ol:first-child{margin-top:0}
.editorial-page .chapter-body .detail-steps{list-style:none;counter-reset:detail-step;padding:0;margin:0}
.editorial-page .chapter-body .detail-steps li{position:relative;counter-increment:detail-step;padding:0 0 25px 47px;border-bottom:1px solid var(--line);margin:0 0 25px}
.editorial-page .chapter-body .detail-steps li:last-child{margin-bottom:0;padding-bottom:0;border:0}
.editorial-page .chapter-body .detail-steps li::before{content:counter(detail-step,decimal-leading-zero);position:absolute;left:0;top:1px;font-size:13px;line-height:1.7;color:var(--blue)}
.editorial-page .chapter-body .detail-steps strong{display:block;margin-bottom:8px}
.editorial-page .detail-terms>div:first-child h3{margin-top:0}
.chapter-head{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:end;margin-bottom:34px}
.editorial-page .chapter-head h2{font-size:clamp(32px,3.8vw,48px);margin:0;text-wrap:balance}
.chapter-head>div:empty{display:none}
.editorial-page .chapter-head p{font-size:17px;line-height:1.7}
.editorial-related{padding:clamp(44px,6vw,78px) 0}
.editorial-related-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:32px}
.editorial-related-links a{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 0;border-bottom:1px solid var(--line);min-height:72px;font-size:17px;line-height:1.4}
.editorial-related-links a>span{font-size:23px;color:var(--blue);transition:transform .25s}
.editorial-related-links a:hover{color:var(--blue)}
.editorial-related-links a:hover>span{transform:translateX(4px)}
.editorial-cta{background:var(--navy);padding:clamp(54px,7vw,88px) 0;color:#fff}
.editorial-cta-content{max-width:830px}
.editorial-cta h2{font-size:clamp(36px,4.6vw,60px);text-wrap:balance;margin-bottom:22px}
.editorial-cta p:not(.micro){font-size:18px;line-height:1.65;color:#bfccdc;max-width:62ch}
.editorial-cta .button{margin-top:30px;background:#fff;color:var(--navy)}
.editorial-cta .button:hover{background:#dce8fa}
.editorial-page .detail-reveal-pending{opacity:0;transform:translateY(22px)}
.editorial-page .detail-reveal{transition:opacity .65s var(--ease),transform .65s var(--ease)}
@media(max-width:960px){
.chapter-layout{grid-template-columns:1fr;gap:28px}
.chapter-title{max-width:760px}
.chapter-body{max-width:800px}
.editorial-related-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
.chapter-head{grid-template-columns:1fr;gap:22px}
.editorial-page .chapter-body .detail-grid article p,.chapter-body{font-size:16px}
.editorial-page .chapter-body .detail-note{padding:24px}
.editorial-related-links{grid-template-columns:1fr}
.editorial-related-links a{min-height:60px;padding:17px 0;font-size:16px}
.editorial-cta p:not(.micro){font-size:17px}
}
@media(prefers-reduced-motion:reduce){
.editorial-page .detail-reveal,.editorial-related-links a>span{transition:none}
.editorial-page .detail-reveal-pending{opacity:1;transform:none}
}
@media print{
.editorial-related,.editorial-cta{display:none!important}
.editorial-page .detail-article>.editorial-section{padding-block:28px}
.chapter-layout{display:block}
.chapter-title{margin-bottom:20px}
.editorial-page .detail-reveal-pending{opacity:1;transform:none}
.editorial-page .chapter-body .detail-grid article{break-inside:avoid}
}
.simple-service .simple-scope .chapter-layout{grid-template-columns:minmax(0,.78fr) minmax(0,1.35fr);gap:clamp(35px,6vw,86px)}
.simple-service .simple-scope .chapter-title{position:sticky;top:118px}
.scope-intro{margin-top:24px;max-width:35ch;font-size:17px;line-height:1.65}
.scope-hint{font-size:13px;margin-top:26px;color:var(--muted)}
.service-accordion{min-width:0;border-top:1px solid var(--line)}
.service-detail{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;scroll-margin-top:120px}
.service-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:24px;cursor:pointer;list-style:none;padding:27px 0;min-height:84px}
.service-detail>summary::-webkit-details-marker{display:none}
.service-detail>summary::marker{content:""}
.simple-service .service-detail>summary>h3{font-size:clamp(19px,1.8vw,25px);line-height:1.3;letter-spacing:-.025em;margin:0;color:var(--ink)}
.service-detail>summary:hover h3{color:var(--blue)}
.service-detail>summary:focus-visible{outline-offset:6px;border-radius:3px}
.detail-toggle{width:28px;height:28px;position:relative;flex:none;background:#e3e8ef;border-radius:50%;transition:transform .25s,background .25s}
.detail-toggle::before,.detail-toggle::after{content:"";position:absolute;background:var(--ink);left:8px;top:13px;width:12px;height:2px;border-radius:1px}
.detail-toggle::after{transform:rotate(90deg);transition:transform .2s}
.service-detail[open] .detail-toggle{background:#d5e3ff}
.service-detail[open] .detail-toggle::after{transform:rotate(0deg)}
.service-detail-body{padding:0 4px 30px 0;max-width:73ch;font-size:16px;line-height:1.75}
.service-detail-body p{font-size:inherit;line-height:inherit;color:var(--muted)}
.service-detail-body p+p{margin-top:18px}
.service-detail-photo{margin-top:24px}
.service-detail-photo img{width:100%;max-height:340px;object-fit:cover;border-radius:18px}
.service-detail-photo figcaption{margin-top:10px;font-size:12px;color:var(--muted);line-height:1.5}
.service-direct-contact{display:flex;gap:10px 28px;flex-wrap:wrap;margin-top:24px}
.service-direct-contact>a{display:inline-flex;align-items:center;min-height:44px;color:#d2dff1;font-size:16px;overflow-wrap:anywhere}
.service-direct-contact>a:hover{color:#fff;text-decoration:underline;text-underline-offset:5px}
.simple-service #kontakt{scroll-margin-top:90px}
@media(max-width:960px){
.simple-service .simple-scope .chapter-layout{grid-template-columns:1fr;gap:30px}
.simple-service .simple-scope .chapter-title{position:static;max-width:680px}
.scope-intro{max-width:58ch}
.scope-hint{margin-top:14px}
}
@media(max-width:600px){
.service-detail>summary{gap:18px;padding:23px 0;min-height:74px}
.service-detail-body{font-size:16px;padding-bottom:26px}
.service-direct-contact{display:grid;gap:0}
}
@media(prefers-reduced-motion:reduce){
.detail-toggle,.detail-toggle::after{transition:none}
}
@media print{
.simple-service .simple-scope .chapter-title{position:static}
.simple-service .simple-scope .chapter-layout{display:block}
.service-detail{break-inside:avoid}
.service-detail-body{display:block!important;content-visibility:visible!important}
.service-detail::details-content{display:block;content-visibility:visible}
.detail-toggle,.scope-hint{display:none!important}
}
.simple-service .detail-article>.editorial-section{padding-block:clamp(72px,9vw,128px)}

/* Adjustments to his layout: section heading without the blue label; the contact block and questions sit flush. */
.related-title{margin-bottom:12px;font-size:clamp(24px,2.4vw,32px);line-height:1.15;letter-spacing:-.03em}
.seite .detail-article>.editorial-cta,.seite .detail-article>.questions{margin-top:0;border:0}
.seite .detail-article>.editorial-cta{padding-block:clamp(54px,7vw,88px)}
.seite .detail-article>.questions{padding-block:clamp(44px,6vw,78px)}
.service-detail-body .text-link{margin-top:14px;font-size:16px;gap:10px}
