body#top .bfg-case-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 530px;
    padding-block: 176px 44px;
    background-color: #222;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bfg-case-intro .cc-ll-subpage {
    width: min(100%, 1200px);
    padding-inline: clamp(16px, 5vw, 32px);
}

body#top .bfg-case-intro .cc-ll-subpage h1 {
    max-width: 1000px;
    margin: 0 0 clamp(16px, 2vw, 24px);
    padding: 0;
    color: #fff;
    font: 400 clamp(34px, 3.2vw, 42px) / 1.2 Akkurat, sans-serif;
    letter-spacing: .03em;
    text-wrap: balance;
    overflow-wrap: break-word;
}

body#top .bfg-case-intro .cc-ll-subpage p {
    max-width: 76ch;
    margin: 0;
    color: #fff;
    font: 400 clamp(18px, 1.65vw, 21px) / 1.48 Akkurat, sans-serif;
    letter-spacing: .02em;
    text-wrap: pretty;
    overflow-wrap: break-word;
}

.bfg-bright-case body#top .bfg-case-intro .cc-ll-subpage h1,
.bfg-bright-case body#top .bfg-case-intro .cc-ll-subpage p,
.bfg-bright-case .full-intro .header .navigation > ul > li:not(.highlighted) > a {
    color: #141414;
}

.bfg-bright-case .full-intro .header .logo a img.l-black { opacity: 1; }
.bfg-bright-case .full-intro .header .logo a img.l-white { opacity: 0; }

:root {
    --bfg-unit-icon-width: 62px;
    --bfg-unit-icon-gap: 16px;
    --bfg-unit-heading-size: 26px;
    --bfg-case-label-inset: 20px;
}

body#top :is(.yellow-area, .blue-area, .green-area, .purple-area, .exp-area) {
    padding-block: clamp(36px, 6vw, 76px);
}

body#top :is(.yellow-area, .blue-area, .green-area, .purple-area, .exp-area) > .container > h3 {
    padding-top: calc(var(--bfg-unit-icon-width) * .9 + var(--bfg-unit-icon-gap));
    margin-bottom: 16px;
    background-size: var(--bfg-unit-icon-width) auto;
    font-size: var(--bfg-unit-heading-size);
    font-weight: 600;
    line-height: 1.26;
    letter-spacing: .045em;
    text-wrap: balance;
    overflow-wrap: break-word;
}

body#top :is(.yellow-area, .blue-area, .green-area, .purple-area, .exp-area) > .container > h3 strong {
    font-weight: inherit;
}

body#top :is(.yellow-area, .blue-area, .green-area, .purple-area, .exp-area) > .container > p {
    max-width: 68ch;
    margin-bottom: 16px;
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.5;
    letter-spacing: .025em;
    text-wrap: pretty;
    overflow-wrap: break-word;
}

body#top :is(.yellow-area, .blue-area, .green-area, .purple-area, .exp-area) > .container > p:last-child {
    margin-bottom: 0;
}

body#top .subpage-leistungen .case-label:not(.case-label-hover, .case-label-hover2, .case-label-hover-video) {
    height: auto;
    min-height: 40px;
    max-width: calc(100% - var(--bfg-case-label-inset) - var(--bfg-case-label-inset));
    padding-block: 9px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

body#top .subpage-leistungen.whitespace .case-label > .case-label-hover-video {
    top: calc(100% + 6px);
}

@media (max-width: 991px) {
    :root {
        --bfg-unit-icon-width: 54px;
        --bfg-unit-icon-gap: 14px;
        --bfg-unit-heading-size: 23px;
    }

    body#top .bfg-case-intro { min-height: 350px; padding-block: 32px; }
    body#top .bfg-case-intro .cc-ll-subpage h1 { font-size: clamp(24px, 3.5vw, 34px); }
    body#top .bfg-case-intro .cc-ll-subpage p { font-size: clamp(16px, 1.85vw, 19px); }

    .subpage-leistungen .case-contents > img,
    .subpage-leistungen .case-contents > a:not(.case-label) > img,
    .subpage-leistungen .case-contents video:not(.fancybox-video) {
        display: block;
        width: 100%;
        min-height: min(62.5vw, 420px);
        object-fit: cover;
    }
}

@media (max-width: 599px) {
    :root {
        --bfg-unit-icon-width: 48px;
        --bfg-unit-icon-gap: 12px;
        --bfg-unit-heading-size: 19px;
    }

    body#top .bfg-case-intro { min-height: 320px; padding-block: 28px; }
    body#top .bfg-case-intro .cc-ll-subpage h1 { font-size: 20px; }
}

@media (max-width: 575px) {
    :root { --bfg-case-label-inset: 10px; }

    body#top .subpage-leistungen .case-label:not(.case-label-hover, .case-label-hover2, .case-label-hover-video) {
        min-height: 35px;
        padding-block: 9px;
    }
}

@media (max-width: 429px) {
    body#top .bfg-case-intro { min-height: 350px; }
}

@media (max-width: 359px) {
    body#top .bfg-case-intro { min-height: 400px; }
}
