/* One project workspace, in normal document flow at every size. */
.project-studio { --ink: #15213a; --line: #dbe2ed; color: var(--ink); padding-block: clamp(42px,6vw,84px); }
.studio-intro { padding: 0 0 clamp(24px,3vw,42px); }
.studio-intro h2 {
    margin: 0; font-size: clamp(2.9rem,6.6vw,6.25rem); line-height: 1.04;
    letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere;
}
.studio-intro h2 em { color: #244ca8; font-family: Georgia,serif; font-weight: 400; letter-spacing: -.035em; }
.studio-intro p { margin: 12px 0 0; font-size: clamp(1rem,1.6vw,1.22rem); color: #465570; }
.studio-board { overflow: hidden; border: 1px solid #cfd8e6; border-radius: 18px; background: #fff; box-shadow: 0 8px 36px #2736500c; }
.studio-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; background: #172945; color: white; }
.studio-identity { display: flex; align-items: center; gap: 12px; line-height: 1.2; }
.studio-identity small, .studio-identity strong { display: block; }
.studio-identity small { color: #c9d7eb; font-size: .77rem; margin-bottom: 3px; }
.project-icon { width: 31px; height: 24px; background: #8eb9ff; border-radius: 4px; position: relative; }
.project-icon::before { content: ""; position: absolute; inset-inline-start: 0; top: -4px; width: 46%; height: 7px; border-radius: 3px; background: inherit; }
.studio-view { padding: clamp(16px,3vw,42px); min-width: 0; align-self: start; }
.demo-thread { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); column-gap: clamp(24px,5vw,80px); align-content: start; padding: 0; font-size: 1rem; }
.chat-speaker { align-self: end; grid-area: 1/1; font-size: .9rem; }
.chat-speaker time { font-size: .8rem; color: #637188; }
.chat-bubble { grid-area: 2/1; align-self: start; color: #20304a; background: #edf2fa; padding: 14px 17px; margin-top: 8px; line-height: 1.5; }
.assistant-thread { grid-area: 1/2/span 3; padding: 16px; }
.offer-paper h3 { padding-block: 5px; }
.quote-line small { color: #5a6880; }
@media (max-width: 700px) {
    .studio-bar { flex-direction: column; align-items: stretch; padding: 12px; gap: 12px; }
    .studio-view { padding: 12px; }
    .demo-thread { display: block; font-size: .93rem; }
    .assistant-thread { padding: 10px 12px; }
}
.studio-intro h2 em { display: inline-block; }
.chat-speaker h2 { font-size: 1.4rem; margin: 0 0 12px; color: var(--ink); letter-spacing: -.02em; }
/* The construction-site portrait replaces the old orbit illustration. */
.lp-home-page .site-photo-hero {
    background: linear-gradient(90deg, #101f39 0%, rgb(16 31 57 / 94%) 23%, rgb(16 31 57 / 65%) 48%, transparent 80%),
        url("/images/bauleiterin_hero.webp") center 35% / cover no-repeat #172840;
    padding-block: clamp(54px, 6vw, 96px);
    color: white;
}
.site-photo-hero .lp-hero-grid { display: block; }
.site-photo-hero .lp-hero-copy { max-width: min(56%, 660px); text-align: start; margin: 0; }
.site-photo-hero h1 { max-width: none; font-size: clamp(3.1rem, 5.4vw, 5.4rem); letter-spacing: -.04em; color: white; text-wrap: balance; }
.site-photo-hero h1 em { display: block; color: #bad8ff; background: none; font-family: Georgia, serif; font-weight: 400; font-style: italic; }
.site-photo-hero .lede, .site-photo-hero .lp-trust, .site-photo-hero .lp-hero-downloads > span { color: #eff4ff; }
.site-photo-hero .lp-eyebrow, .site-photo-hero .lp-text-link { color: white; }
.site-photo-hero .lp-hero-actions, .site-photo-hero .lp-trust, .site-photo-hero .lp-hero-downloads { justify-content: flex-start; }
.site-photo-hero .lp-quick-stores a { background: white; box-shadow: none; }
.site-photo-hero .lp-hero-actions .button { background: #224fc6; }
@media (max-width: 700px) {
    .lp-home-page .site-photo-hero {
        background: linear-gradient(0deg, #101f39 4%, rgb(16 31 57 / 94%) 41%, rgb(16 31 57 / 65%) 63%, transparent 89%),
            url("/images/bauleiterin_hero.webp") 76% top / auto 76% no-repeat #172840;
        padding: clamp(150px,37vw,225px) 0 32px;
    }
    .site-photo-hero .lp-hero-copy { max-width: 100%; }
    .site-photo-hero h1 { font-size: clamp(2.55rem,8vw,3.2rem); }
    .site-photo-hero .lp-eyebrow { margin-bottom: 12px; }
}

.site-photo-hero .lp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
    align-items: end;
    gap: clamp(24px, 5vw, 84px);
}
.site-photo-hero .lp-hero-copy { max-width: 660px; }
.lp-home-page .site-photo-hero .lp-hero-actions { display: flex; margin-top: 24px; }
.hero-conversation {
    justify-self: start;
    width: min(100%, 394px);
    padding: clamp(15px, 1.3vw, 22px);
    border: 1px solid rgb(255 255 255 / 75%);
    border-radius: 20px;
    color: #172b46;
    background: rgb(243 247 253 / 96%);
    box-shadow: 0 12px 36px rgb(10 22 40 / 16%);
    text-align: start;
}
.hero-room { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-size: 1rem; }
.hero-room .project-icon { width: 24px; height: 24px; }
.hero-message { width: fit-content; max-width: 93%; background: white; border-radius: 10px 10px 10px 2px; padding: 7px 10px; }
.hero-message b { display: block; color: #365780; font-size: .8rem; }
.hero-message p { margin: 2px 0 0; color: #172b46; font-size: 1rem; line-height: 1.4; }
.hero-response { margin: 7px 0 0 auto; background: #deebff; border-radius: 10px 10px 2px 10px; }
@media (max-width: 700px) {
    .site-photo-hero .lp-hero-grid { grid-template-columns: 1fr; gap: 22px; }
    .hero-conversation { width: min(100%, 394px); }
}
@media (max-width: 700px) {
    .lp-home-page .site-photo-hero {
        background: linear-gradient(180deg, transparent 45px, rgb(16 31 57 / 35%) 125px, #101f39 278px),
            url("/images/bauleiterin_hero.webp") 78% top / auto 300px no-repeat #101f39;
        padding-top: 174px;
    }
}

/* The portrait starts at the top of the frame at every aspect ratio. */
@media (min-width: 701px) {
    .lp-home-page .site-photo-hero {
        position: relative;
        isolation: isolate;
        background: #101f39;
        min-height: 495px;
        display: grid;
        align-items: center;
    }
    .site-photo-hero::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0 0 0 auto;
        width: min(100%, 1180px);
        background: url("/images/bauleiterin_hero.webp") right top / cover no-repeat;
        mask-image: linear-gradient(90deg, transparent, rgb(0 0 0 / .5) 28%, black 65%);
        pointer-events: none;
    }
    .site-photo-hero .hero-conversation { align-self: center; }

}
@media (max-width: 700px) {
    .lp-home-page .site-photo-hero {
        background-position: center, 88% top;
        padding-top: 195px;
    }
}

.field-guide { background: #f8faff; color: #13243c; padding-block: clamp(52px, 7vw, 104px); }
.field-guide-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); grid-template-rows: auto auto 1fr; column-gap: clamp(28px,6vw,100px); }
.field-guide h2 { grid-area: 1/1; margin: 0; font-size: clamp(2.3rem,4.15vw,4.65rem); line-height: 1.02; letter-spacing: -.04em; }
.field-guide h2 em { display: block; color: #345dac; font-family: Georgia,serif; font-weight: 400; }
.guide-tabs { grid-area: 2/1; display: flex; flex-wrap: wrap; gap: 2px 5px; margin: clamp(24px,4vw,46px) 0 20px; }
.field-guide .lp-demo-tab {
    all: unset; box-sizing: border-box; cursor: pointer; padding: 8px 11px; font: inherit;
    font-size: .9rem; font-weight: 650; line-height: 1.35; border-radius: 7px; color: #44536c;
}
.field-guide .lp-demo-tab::before, .field-guide .lp-demo-tab::after { content: none; }
.field-guide .lp-demo-tab:hover { background: #e6edfa; }
.field-guide .lp-demo-tab[aria-selected="true"] { background: #18375e; color: white; }
.field-guide .lp-demo-tab:focus-visible { outline: 2px solid #245ac5; outline-offset: 2px; }
.guide-panel { grid-area: 1 / 1 / 4 / 3; display: grid; grid-template: subgrid / subgrid; pointer-events: none; }
.guide-copy { grid-area: 3/1; align-self: start; border-top: 1px solid #c9d5e6; padding-top: 22px; }
.guide-copy h3 { font-size: clamp(1.35rem,2vw,2rem); line-height: 1.15; margin: 0 0 10px; letter-spacing: -.025em; }
.guide-copy p { max-width: 46ch; color: #475971; margin: 0; line-height: 1.6; }
.guide-copy, .guide-device { pointer-events: auto; }
.guide-device { grid-area: 1/2/4; background: #dce8fa; border-radius: 16px; overflow: hidden; height: clamp(385px,32vw,510px); text-align: center; padding: 32px 12px 0; }
.guide-device img { display: block; width: min(80%,264px); height: auto; margin: 0 auto; filter: drop-shadow(0 12px 15px rgb(18 43 78 / 16%)); }
@media (max-width: 720px) {
    .field-guide-layout, .guide-panel { display: block; }
    .guide-tabs { justify-content: center; margin: 22px 0 16px; }
    .guide-copy { padding-top: 16px; }
    .guide-device { height: 340px; margin-top: 22px; padding-top: 22px; }
    .guide-device img { width: min(82%,232px); }
}

/* Landscape screenshots already contain the full split view. */
.field-guide-layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.guide-screen { display: block; width: fit-content; max-width: 100%; margin-inline: auto; cursor: zoom-in; }
.guide-screen:focus-visible { outline: 3px solid #245ac5; outline-offset: 5px; }
.guide-device:is([data-device="phone"], [data-device="assistant"]) .guide-screen { width: min(80%,264px); }
.guide-device:is([data-device="phone"], [data-device="assistant"]) img { width: 100%; }
.guide-device[data-device="tablet"] { display: grid; align-items: center; padding: clamp(10px,1.4vw,24px); }
.guide-device[data-device="tablet"] .guide-screen {
    position: relative;
    width: min(100%, 615px);
    padding: 1.6%;
    border: 2px solid #738091;
    border-radius: clamp(12px,1.5vw,23px);
    background: #19202a;
    box-shadow: 0 12px 22px -10px rgb(13 37 73 / 42%);
}
.guide-device[data-device="tablet"] img { width: 100%; border-radius: clamp(5px,.7vw,10px); filter: none; }
@media (max-width: 720px) {
    .guide-device[data-device="tablet"] { height: auto; aspect-ratio: 1.26; }
}
@media (min-width: 721px) {
    .guide-device[data-device="tablet"] { container-type: size; }
    .guide-device[data-device="tablet"] .guide-screen { box-sizing: border-box; width: min(100%, 127cqh, 615px); }
}
.guide-device[data-device="assistant"] {
    height: auto;
    align-self: center;
    padding: clamp(12px, 2vw, 24px);
}

/* Desktop compositions share an outer edge. Let the live project fill its row. */
@media (min-width: 1200px) {
    .lp-home-page { --home-width: min(60%, 1440px); }
    .lp-home-page .container { width: var(--home-width); }
    .lp-home-page .site-photo-hero {
        width: 100%;
        margin: 0;
        overflow: hidden;
        min-height: clamp(420px, 30vw, 545px);
        padding-block: 36px;
    }
    .site-photo-hero .lp-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 2.4vw, 46px); }
    .site-photo-hero::before { width: min(70%, 1350px); }
    .site-photo-hero h1 { font-size: clamp(2.6rem, 3.6vw, 4.6rem); }

    .studio-intro { text-align: center; padding-bottom: 28px; }
    .studio-intro h2 { font-size: clamp(2.8rem, 4vw, 4.75rem); }
    .studio-intro p { margin-inline: auto; max-width: 56ch; }
    .field-guide-layout { column-gap: clamp(24px, 2.8vw, 56px); }
    .field-guide h2 { font-size: clamp(2.2rem, 2.8vw, 3.8rem); }
    .guide-device[data-device="tablet"] { height: auto; aspect-ratio: 1.19; }
    .guide-device[data-device="tablet"] .guide-screen { width: min(100%, 127cqh); }
    .lp-home-page :is(.lp-price-card p, .lp-faq-list p, .lp-pricing-promise) { max-width: 68ch; }
}

.workday { position: relative; background: #f1f5fa; padding-block: 8px; }
.workday-window {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    direction: ltr;
    scrollbar-width: thin;
    scrollbar-color: #a4b2c5 #f1f5fa;
}
.workday[data-moving] .workday-window { overflow-x: hidden; }
.workday-window:focus-visible { outline: 3px solid #77b6ff; outline-offset: -3px; }
.workday-set {
    --tile-height: clamp(196px, 16vw, 296px);
    min-width: 100%;
    flex: none;
    display: grid;
    gap: 8px;
    padding-right: 8px;
}
.workday-row { display: flex; gap: 8px; }
.workday-card {
    flex: 1 0 auto;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin: 0;
    width: calc(var(--tile-height) * 1.52);
    height: var(--tile-height);
    background: #e7edf4;
    border-radius: 8px;
}
.workday-card.portrait { width: calc(var(--tile-height) * .99); }
.workday-card > :is(img, video) { display: block; height: 100%; width: 100%; object-fit: cover; }
.workday-card figcaption {
    position: absolute; inset: auto 0 0;
    padding: 44px clamp(14px, 1.3vw, 24px) 16px;
    background: linear-gradient(transparent, rgb(7 17 30 / .84) 52%, #0a1829ed);
    color: white;
    text-align: start;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.workday-card figcaption strong { display: block; font-size: clamp(18px, 1.38vw, 27px); letter-spacing: -.025em; text-wrap: balance; }
.workday-card figcaption span { display: block; margin-top: 5px; font-size: clamp(13px, .86vw, 16px); }
.workday-card.film { width: calc(var(--tile-height) * 2); background: var(--film-bg); color: var(--film-ink); }
.film-quote { --film-bg: #d9e6ff; --film-ink: #183977; }
.film-chat { --film-bg: #182f53; --film-ink: #f1f6ff; }
.film-action { --film-bg: #e5dff8; --film-ink: #352755; }
.workday-card.film video { position: absolute; right: 3%; top: 8%; width: 49%; height: 84%; object-fit: contain; }
.workday-card.film figcaption { inset: 0 auto 0 0; width: 48%; display: flex; flex-direction: column; justify-content: center; padding: 15px; background: none; color: inherit; }
@media (prefers-reduced-motion: no-preference) {
    @keyframes workday-caption-in { from { opacity: .78; transform: translateY(4px); } to { opacity: 1; transform: none; } }
    .workday[data-moving="true"] .workday-card.in-view figcaption strong { animation: workday-caption-in .5s ease-out both; }
    .workday[data-moving="true"] .workday-card.in-view figcaption span { animation: workday-caption-in .55s .4s ease-out both; }
}

/* Keep linked sections clear of the sticky header. */
.lp-home-page main [id]:is(section, .lp-cta) { scroll-margin-top: 94px; }
.lp-home-page .guide-tabs button { min-height: 40px; }
.lp-home-page .lp-network-copy h2 { max-width: 21ch; text-wrap: balance; }
.lp-home-page .lp-network-copy p { line-height: 1.57; }
.lp-home-page .lp-reference-featured blockquote { font-size: clamp(1.38rem, 1.65vw, 2rem); line-height: 1.29; }
.lp-home-page .lp-reference-head p { color: #cad4e5; }
.lp-home-page .skava-videos { margin-block: 0; padding-block: clamp(42px, 5.2vw, 76px); }
.lp-home-page .skava-videos h2 {
    margin: 0 0 10px;
    color: #15243b;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    letter-spacing: -.035em;
    line-height: 1.08;
}
.lp-home-page .skava-videos > p { color: #475971; margin: 0; }
.lp-home-page .skava-video-card { border-radius: 12px; }
.lp-home-page .skava-video-grid { gap: 16px; }
.lp-home-page .footer-col-title { color: #445670; opacity: 1; }
.lp-home-page .lp-cta > p { color: #f2f5ff; max-width: 58ch; }
.lp-home-page :is(.lp-trade, .skava-video-card, .lp-badge):focus-visible {
    outline: 3px solid #618ef2;
    outline-offset: 3px;
}
@media (min-width: 981px) {
    .lp-home-page .lp-network-grid { grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 58px); }
    .lp-home-page .lp-network { padding-block: clamp(60px, 5.4vw, 90px); }
}
@media (min-width: 761px) {
    .lp-home-page .lp-trade-directory { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px, 2.4vw, 40px); }
    .lp-home-page .lp-trade-links { grid-template-columns: 1fr; }
    .lp-home-page .lp-trade-group-head { margin-bottom: 8px; }
    .lp-home-page .lp-trade { padding-block: 12px; }
}
@media (max-width: 700px) {
    .lp-home-page main [id]:is(section, .lp-cta) { scroll-margin-top: 74px; }
    .studio-intro h2 { font-size: clamp(2.15rem, 9vw, 2.9rem); text-wrap: balance; }
    .studio-intro h2 em { display: inline; }
    .lp-home-page .guide-tabs { column-gap: 3px; }
    .lp-home-page .guide-tabs button { padding-inline: 9px; }
    .lp-home-page .footer-sitemap { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
    .lp-home-page .footer-col a { padding-block: 4px; overflow-wrap: anywhere; }
}

@media (min-width: 701px) and (max-width: 1199px) {
    .site-photo-hero .lp-hero-grid { grid-template-columns: minmax(0, 58%) 1fr; row-gap: 20px; }
    .site-photo-hero .hero-conversation { grid-column: 1; }
}
