:root {
    --ink: #073f73;
    --paper: #f7f9fb;
    --cream: #eaf0f5;
    --accent: #d71920;
    --line: rgba(7, 63, 115, .17);
    --white: #fff;
    --max: 1320px;
    --site-heading: #073f73;
    --site-text: #40545f;
    --site-text-strong: #263b4c;
    --site-accent: #d71920;
    --site-accent-dark: #b51218;
    --site-type-display: clamp(3.25rem, 2.25rem + 4.5vw, 6.25rem);
    --site-type-h2: clamp(2.375rem, 1.85rem + 2.2vw, 3.75rem);
    --site-type-h3: clamp(1.45rem, 1.25rem + .8vw, 2rem);
    --site-type-lead: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
    --site-type-body: clamp(1rem, .97rem + .12vw, 1.0625rem)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--site-text);
    font-family: Arial, "Helvetica Neue", sans-serif;
    line-height: 1.5
}

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    width: 100%
}

button,
input,
textarea,
select {
    font: inherit
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    background: #fff;
    padding: .75rem 1rem;
    z-index: 99
}

.skip-link:focus {
    top: 1rem
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

:focus-visible {
    outline: 3px solid #d71920;
    outline-offset: 4px
}

.site-header a:focus-visible,
.menu-toggle:focus-visible {
    border-radius: 2px
}

.menu-toggle {
    cursor: pointer;
    padding: 12px
}

.menu-toggle span {
    transition: transform .2s, opacity .2s
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg)
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg)
}

body.menu-open {
    overflow: hidden
}

.site-header nav a[aria-current="page"] {
    font-weight: 700
}

.site-header nav a[aria-current="page"]:after {
    width: 100%
}

.site-header {
    height: 118px;
    padding: 0 clamp(20px, 3vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(15px);
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 3px solid #06437a
}

.brand,
.footer-brand {
    display: flex;
    align-items: center
}

.brand picture {
    display: block;
    line-height: 0
}

.brand img {
    width: clamp(360px, 33vw, 480px);
    height: auto
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.3vw, 24px);
    font-size: .9rem
}

.site-header nav>a:not(.nav-cta) {
    position: relative;
    color: #202d35
}

.site-header nav>a:not(.nav-cta):after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 1px;
    width: 0;
    background: currentColor;
    transition: .25s
}

.site-header nav>a:hover:after {
    width: 100%
}

.nav-services{position:relative;display:flex;align-items:center}.nav-services>a{position:relative;color:#202d35}.nav-services>a:after{content:"";position:absolute;left:0;bottom:-5px;height:1px;width:0;background:currentColor;transition:.25s}.nav-services:hover>a:after,.nav-services:focus-within>a:after,.nav-services>a[aria-current="page"]:after{width:100%}.nav-services-toggle{display:none;border:0;background:transparent;color:var(--ink);padding:6px;cursor:pointer}.nav-services-menu{position:absolute;top:calc(100% + 24px);left:-20px;width:280px;padding:10px;background:#fff;border-top:3px solid var(--accent);box-shadow:0 18px 45px rgba(7,63,115,.18);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s ease,transform .2s ease,visibility .2s;z-index:30}.nav-services-menu:before{content:"";position:absolute;left:0;right:0;bottom:100%;height:27px}.nav-services-menu a{display:block;padding:10px 12px;color:#27445d;font-size:.84rem;border-bottom:1px solid rgba(7,63,115,.09)}.nav-services-menu a:last-child{border-bottom:0}.nav-services-menu a:hover,.nav-services-menu a:focus-visible{background:#e7eef4;color:var(--ink)}.nav-services:hover .nav-services-menu,.nav-services:focus-within .nav-services-menu{opacity:1;visibility:visible;transform:none}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 15px 18px;
    font-weight: 600;
    transition: .2s
}

.nav-cta {
    background: var(--ink);
    color: #fff;
    min-width: 185px
}

.nav-cta:hover,
.button-dark:hover {
    background: #2f4637
}

.menu-toggle {
    display: none;
    background: none;
    border: 0
}

.hero {
    min-height: 810px;
    height: 100vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden
}

.hero-media {
    position: absolute;
    inset: 0;
    background-image: url("../images/Hero_neu-v2.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: saturate(.84) contrast(.98);
    transform: scale(1.01)
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 19, 13, .78) 0%, rgba(9, 19, 13, .35) 55%, rgba(9, 19, 13, .08)), linear-gradient(0deg, rgba(9, 19, 13, .58), transparent 45%)
}

.hero-content {
    z-index: 2;
    width: min(780px, 80%);
    margin-left: clamp(24px, 8vw, 135px);
    padding-top: 65px
}

.eyebrow,
.section-label {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    font-weight: 600
}

.hero h1,
.section h2 {
    font: 500 clamp(3.2rem, 7vw, 7.4rem)/.94 Arial, "Helvetica Neue", sans-serif;
    letter-spacing: -.055em;
    margin: 22px 0
}

.hero h1 em,
.section h2 em {
    font-style: normal;
    color: var(--accent)
}

.hero-copy {
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    max-width: 620px;
    color: rgba(255, 255, 255, .83)
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-top: 35px
}

.button-light {
    background: #fff;
    color: var(--ink);
    min-width: 205px
}

.button-light:hover {
    background: var(--accent)
}

.text-link {
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    padding: 12px 0
}

.text-link span {
    margin-left: 20px
}

.hero-facts {
    position: absolute;
    z-index: 2;
    right: clamp(24px, 5vw, 80px);
    bottom: 34px;
    display: flex;
    gap: 45px
}

.hero-facts div {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, .3);
    padding-left: 14px
}

.hero-facts strong {
    font-size: 1.3rem
}

.hero-facts span {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .68)
}

.section {
    padding: 120px clamp(24px, 6vw, 100px);
    max-width: var(--max);
    margin: auto
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 9vw;
    margin-top: 65px
}

.intro h2 {
    font-size: clamp(3rem, 5.8vw, 6rem);
    margin: 0
}

.intro h2 em {
    color: #8a8e84
}

.intro-copy {
    max-width: 600px;
    font-size: 1.12rem
}

.intro-copy p:first-child {
    font-size: 1.35rem
}

.intro-copy p {
    margin: 0 0 26px
}

.arrow-link {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--ink);
    padding: 16px 0;
    margin-top: 40px;
    font-weight: 600
}

.services {
    max-width: none;
    background: #fff;
    color: var(--ink);
    padding-left: max(clamp(24px, 6vw, 100px), calc((100vw - var(--max))/2 + 100px));
    padding-right: max(clamp(24px, 6vw, 100px), calc((100vw - var(--max))/2 + 100px))
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 35px 0 65px
}

.section-head h2 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    margin: 0
}

.section-head p {
    max-width: 430px;
    color: #aeb7b0
}

.services .section-head p {
    color: #526a7e
}

.service {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) 30px;
    align-items: start;
    border-top: 1px solid rgba(255, 255, 255, .19);
    padding: 30px 0;
    gap: 25px;
    transition: .25s
}

.service:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .19)
}

.service:hover {
    padding-left: 15px;
    color: var(--accent)
}

.service>span {
    grid-column: 1;
    font-size: .7rem;
    padding-top: 10px
}

.service h3 {
    grid-column: 2;
    font: 500 clamp(1.4rem, 2.5vw, 2.2rem) Arial, "Helvetica Neue", sans-serif;
    margin: 0
}

.service ul {
    grid-column: 3;
    list-style: none;
    color: #bfcbd5;
    margin: 3px 0 0;
    padding: 0
}

.service li {
    position: relative;
    padding: 3px 0 3px 18px
}

.service li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 5px;
    height: 5px;
    background: var(--accent)
}

.service b {
    grid-column: 4;
    justify-self: end;
    font-size: 1.2rem;
    padding-top: 6px
}

.section.projects {
    max-width: none;
    padding: 0;
    overflow: clip
}

.projects-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: clamp(500px, 36vw, 680px)
}

.projects-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(48px, 4vw, 72px) clamp(40px, 4.5vw, 84px);
    background: rgba(242, 244, 244, .95)
}

.projects .section-label {
    color: #315f78
}

.projects .section-head {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 24px 0 0
}

.projects .section-head h2 {
    max-width: 10ch;
    font-size: clamp(3rem, 3.6vw, 4.25rem)
}

.projects .section-head p {
    max-width: 430px;
    margin: 24px 0 0;
    padding-left: 22px;
    border-left: 3px solid #315f78;
    color: #40596a;
    font-size: 1.05rem
}

.project-showcase {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #d9e1e5
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #d9e1e5
}

.carousel-item,
.carousel-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden;
    color: #fff;
    background: #d9e1e5;
    transform: translate3d(100%, 0, 0);
    animation: carousel-autoplay 12s ease-in-out infinite;
    backface-visibility: hidden;
    will-change: transform
}

.carousel-item:nth-child(1) {
    animation-delay: -.6s
}

.carousel-item:nth-child(2) {
    animation-delay: 2.4s
}

.carousel-item:nth-child(3) {
    animation-delay: 5.4s
}

.carousel-item:nth-child(4) {
    animation-delay: 8.4s
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.9) contrast(.98)
}

.carousel-item-school img {
    object-position: center 53%
}

.carousel-item-addition img {
    object-position: center 48%
}

.carousel-item figcaption {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    display: flex;
    min-height: 50%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
    padding: clamp(88px, 9vw, 150px) clamp(28px, 4vw, 60px) clamp(28px, 4vw, 50px);
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .36) 52%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none
}

.carousel-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .86);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.carousel-meta b {
    display: inline-grid;
    min-width: 32px;
    min-height: 24px;
    place-items: center;
    padding: 3px 7px;
    color: #fff;
    background: #315f78;
    font-size: .64rem;
    letter-spacing: .04em
}

.carousel-item h3 {
    max-width: 19ch;
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 2.8vw, 3rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
    text-wrap: balance
}

@keyframes carousel-autoplay {
    0% {
        transform: translate3d(100%, 0, 0)
    }

    5%,
    25% {
        transform: translate3d(0, 0, 0)
    }

    30%,
    100% {
        transform: translate3d(-100%, 0, 0)
    }
}

.carousel.is-paused .carousel-item {
    animation-play-state: paused
}

.carousel-toggle {
    position: absolute;
    z-index: 4;
    top: clamp(16px, 2vw, 24px);
    right: clamp(16px, 2vw, 24px);
    min-width: 76px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .58);
    color: #fff;
    background: rgba(7, 34, 57, .72);
    backdrop-filter: blur(8px);
    cursor: pointer;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease
}

.carousel-toggle[hidden] {
    display: none
}

.carousel-toggle:hover,
.carousel-toggle:focus-visible {
    color: var(--ink);
    background: #fff;
    border-color: #fff
}

.projects .project-cta {
    width: 100%;
    max-width: 480px;
    min-width: 0;
    margin: 18px 0 0;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--ink);
    color: var(--ink);
    background: transparent;
    transform: none;
    transition: color .2s ease, border-color .2s ease
}

.projects .project-cta:hover,
.projects .project-cta:focus-visible {
    color: #315f78;
    border-color: #315f78;
    background: transparent;
    transform: none
}

@media(max-width:1023px) {
    .projects-layout {
        grid-template-columns: 1fr;
        height: auto
    }

    .projects-copy {
        padding: 85px clamp(24px, 6vw, 70px) 58px
    }

    .projects .section-head h2 {
        max-width: 11ch
    }

    .project-showcase {
        height: clamp(300px, min(66vw, 72svh), 520px)
    }
}

@media(max-width:800px) {
    .projects-copy {
        padding: 85px 24px 50px
    }

    .projects .section-head {
        margin-top: 26px
    }

    .projects .section-head p {
        margin-top: 24px
    }

    .projects .project-cta {
        margin-top: 22px
    }

    .project-showcase {
        height: clamp(230px, min(68vw, 72svh), 430px)
    }

    .carousel-item figcaption {
        min-height: 70%;
        gap: 8px;
        padding: 66px 18px 18px
    }

    .carousel-meta {
        font-size: .62rem;
        letter-spacing: .08em
    }

    .carousel-meta b {
        min-width: 30px;
        min-height: 24px;
        padding: 3px 6px
    }

    .carousel-item h3 {
        font-size: clamp(1.35rem, 6vw, 1.85rem)
    }
}

/* Startseite: ruhiger Unternehmensbereich mit sichtbarem Projektbezug. */
.home-intro.section {
    max-width: none;
    padding: clamp(76px, 6vw, 96px) max(clamp(24px, 6vw, 100px), calc((100vw - 1120px) / 2)) clamp(46px, 4vw, 64px);
    color: #263b4c;
    background: linear-gradient(180deg, #f4f5f3 0%, #eef1ef 72%, #e2dfdb 100%);
    box-shadow: inset 0 1px rgba(7, 63, 115, .08);
    content-visibility: visible;
    contain-intrinsic-size: none
}

.section.home-intro::before {
    content: none;
    background-image: none
}

.home-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
    grid-template-areas:
        "content visual"
        "values values";
    gap: 40px 64px;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto
}

.home-intro__content {
    grid-area: content;
    align-self: center;
    min-width: 0
}

.home-intro .section-label {
    margin: 0 0 22px;
    color: #526d7d
}

.home-intro h2 {
    max-width: 8.8ch;
    margin: 0;
    color: #18374a;
    font-size: clamp(3.15rem, 4.35vw, 4.9rem);
    line-height: .98;
    letter-spacing: -.045em
}

.home-intro .home-intro__content h2 em {
    display: block;
    color: #315f78;
    font-style: normal
}

.home-intro__copy {
    max-width: 470px;
    margin-top: 36px;
    color: #40545f;
    font-size: 1.03rem
}

.home-intro__copy p {
    margin: 0 0 20px
}

.home-intro__copy .home-intro__lead {
    color: #263b4c;
    font-size: clamp(1.15rem, 1.35vw, 1.3rem);
    line-height: 1.5
}

.home-intro .arrow-link {
    max-width: 430px;
    margin-top: 26px;
    color: #18374a;
    transition: color .2s ease, border-color .2s ease
}

.home-intro .arrow-link:hover,
.home-intro .arrow-link:focus-visible {
    color: #315f78;
    border-color: #315f78
}

.home-intro__visual {
    position: relative;
    grid-area: visual;
    align-self: stretch;
    min-width: 0;
    min-height: 510px;
    margin: 0;
    overflow: hidden;
    background: #d9e1e5;
    border-top: 3px solid #315f78;
    box-shadow: 0 18px 44px rgba(24, 55, 74, .12)
}

.home-intro__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 62%, rgba(24, 55, 74, .13));
    pointer-events: none
}

.home-intro__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
    filter: saturate(.8) contrast(.98)
}

.home-intro__visual figcaption {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    max-width: calc(100% - 24px);
    padding: 12px 18px;
    color: #fff;
    background: rgba(24, 55, 74, .9);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .035em
}

.home-intro__values {
    grid-area: values;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    color: #263b4c;
    background: rgba(255, 255, 255, .72);
    border-top: 1px solid rgba(7, 63, 115, .16);
    border-bottom: 1px solid rgba(7, 63, 115, .13);
    list-style: none
}

.home-intro__values li {
    min-width: 0;
    padding: 21px 26px 23px;
    list-style: none
}

.home-intro__values li + li {
    border-left: 1px solid rgba(7, 63, 115, .12)
}

.home-intro__values span {
    display: block;
    margin-bottom: 8px;
    color: #70838d;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .13em
}

.home-intro__values strong {
    display: block;
    color: #18374a;
    font-size: 1.05rem
}

.home-intro__values p {
    margin: 6px 0 0;
    color: #52636c;
    font-size: .9rem;
    line-height: 1.45
}

@media(max-width:1023px) {
    .home-intro.section {
        padding: 72px clamp(24px, 5vw, 48px) 52px
    }

    .home-intro__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "visual"
            "values";
        gap: 32px;
        max-width: 900px
    }

    .home-intro__content,
    .home-intro__copy {
        max-width: 720px
    }

    .home-intro h2 {
        max-width: 11ch
    }

    .home-intro__visual {
        min-height: 0;
        aspect-ratio: 2.5 / 1
    }
}

@media(max-width:699px) {
    .home-intro.section {
        padding: 64px 20px 42px
    }

    .home-intro__grid {
        gap: 28px
    }

    .home-intro h2 {
        max-width: 10ch;
        font-size: clamp(2.65rem, 11vw, 3.7rem)
    }

    .home-intro__copy {
        margin-top: 28px;
        font-size: 1rem
    }

    .home-intro__visual {
        aspect-ratio: 4 / 3
    }

    .home-intro__visual figcaption {
        right: auto;
        left: 0
    }

    .home-intro__values {
        grid-template-columns: 1fr
    }

    .home-intro__values li {
        padding: 18px 20px 20px
    }

    .home-intro__values li + li {
        border-top: 1px solid rgba(7, 63, 115, .12);
        border-left: 0
    }
}

@media(prefers-reduced-motion:reduce) {
    .carousel-item {
        display: none;
        animation: none;
        transform: none;
        will-change: auto
    }

    .carousel-item:first-child {
        display: block
    }

    .carousel-toggle {
        display: none
    }
}

.hero-simple {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 0 24px;
    position: relative;
    background: linear-gradient(180deg, rgba(7, 63, 115, .96) 0%, rgba(7, 63, 115, .9) 48%, rgba(255, 255, 255, .03) 100%);
    color: #fff
}

.hero-simple .hero-copy {
    max-width: 760px;
    padding: 120px 0 100px
}

.hero-simple .section-label {
    color: #a5c6e6;
    letter-spacing: .22em;
    font-size: .78rem;
    margin-bottom: 18px
}

.hero-simple h1 {
    font-size: clamp(3.4rem, 6vw, 5.6rem);
    line-height: 1;
    letter-spacing: -.04em;
    margin: 0 0 24px;
    max-width: 12ch
}

.hero-simple p {
    font-size: 1.15rem;
    max-width: 680px;
    color: rgba(255, 255, 255, .82);
    margin: 0 0 32px
}

.hero-actions {
    display: flex;
    gap: 24px
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 100%
}

.scroll-hint a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .78rem;
    opacity: .85;
    transition: .2s
}

.scroll-hint a:hover {
    opacity: 1
}

.section.page-section {
    padding: 90px 24px;
    max-width: var(--max);
    margin: 0 auto
}

.section.page-section .section-head {
    display: block;
    margin: 0 0 50px
}

.section.page-section .section-head h2 {
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    margin: 0
}

.section.page-section .section-head p {
    max-width: 600px;
    color: #3a4d5e;
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.8
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px
}

.service-card {
    display: grid;
    gap: 22px;
    padding: 36px 32px;
    border: 1px solid rgba(7, 63, 115, .12);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(7, 63, 115, .06);
    transition: .25s
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(7, 63, 115, .1)
}

.service-card h3 {
    font-size: 1.72rem;
    margin: 0;
    color: #062b52
}

.service-card p {
    margin: 0;
    color: #4f5f71;
    line-height: 1.8
}

.service-card a {
    justify-self: start;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 2px solid transparent;
    transition: .2s
}

.service-card a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent)
}

.section-split .details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px
}

.section-split span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(7, 63, 115, .08);
    color: var(--ink);
    font-weight: 700;
    font-size: .95rem
}

.section-split h3 {
    font-size: 1.8rem;
    margin: 18px 0 12px;
    color: #062b52
}

.section-split p {
    margin: 0;
    color: #4f5f71;
    line-height: 1.9
}

.section-cta {
    padding: 0 24px 90px
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 52px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(7, 63, 115, .08);
    border: 1px solid rgba(7, 63, 115, .08)
}

.cta-panel h2 {
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    margin: 0;
    color: #062b52
}

.cta-panel p {
    max-width: 540px;
    color: #4f5f71;
    font-size: 1rem;
    line-height: 1.8;
    margin: 12px 0 0
}

@media(max-width:980px) {
    .service-grid {
        grid-template-columns: 1fr
    }

    .section-split .details-grid {
        grid-template-columns: 1fr
    }

    .cta-panel {
        grid-template-columns: 1fr;
        display: grid;
        gap: 24px
    }
}

@media(max-width:680px) {
    .hero-simple {
        padding-top: 80px
    }

    .hero-simple .hero-copy {
        padding-top: 100px
    }

    .hero-simple h1 {
        font-size: clamp(2.8rem, 8vw, 4.2rem)
    }

    .hero-simple p {
        font-size: 1rem
    }

    .hero-actions {
        flex-direction: column;
        align-items: start
    }

    .scroll-hint {
        bottom: 18px
    }

    .section.page-section {
        padding: 70px 18px
    }

    .cta-panel {
        padding: 32px 28px;
        border-radius: 24px
    }
}

.fleet {
    max-width: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: var(--cream)
}

.fleet-image img {
    height: 100%;
    min-height: 720px;
    object-fit: cover
}

.fleet-content {
    padding: 100px clamp(35px, 7vw, 110px)
}

.fleet-content h2 {
    font-size: clamp(2.8rem, 4.6vw, 5rem);
    margin: 35px 0
}

.fleet-content h2 em {
    color: #788176
}

.fleet-content>p {
    font-size: 1.1rem
}

.fleet-content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    padding: 0;
    margin: 35px 0 45px;
    border-top: 1px solid var(--line)
}

.fleet-content li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: .88rem
}

.button-dark {
    background: var(--ink);
    color: #fff;
    min-width: 225px
}

.contact {
    max-width: none;
    background: var(--accent);
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 8vw;
    padding-left: max(clamp(24px, 6vw, 100px), calc((100vw - var(--max))/2 + 100px));
    padding-right: max(clamp(24px, 6vw, 100px), calc((100vw - var(--max))/2 + 100px))
}

.contact h2 {
    font-size: clamp(3rem, 5vw, 5.4rem)
}

.contact h2 em {
    color: #718025
}

.contact-lead>p {
    max-width: 500px
}

.contact-mail,
.contact-phone {
    display: block;
    border-bottom: 1px solid rgba(23, 38, 29, .35);
    padding: 17px 0;
    font-weight: 600
}

.contact-mail {
    margin-top: 45px
}

.contact-mail span {
    float: right
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    align-self: center
}

.contact-form label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600
}

.contact-form small {
    text-transform: none;
    opacity: .6;
    float: right
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(23, 38, 29, .5);
    background: transparent;
    padding: 12px 0;
    border-radius: 0;
    outline: 0
}

.contact-form textarea {
    resize: vertical
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    min-height: 48px;
    padding: 12px 42px 12px 14px;
    margin-top: 7px;
    border: 1px solid rgba(7, 63, 115, .22);
    border-radius: 3px;
    background-color: rgba(255, 255, 255, .68);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23073f73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease
}

.contact-form select:hover {
    border-color: rgba(7, 63, 115, .5);
    background-color: rgba(255, 255, 255, .84)
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-width: 2px
}

.contact-form select:focus {
    border-color: var(--ink);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(7, 63, 115, .1)
}

.full {
    grid-column: 1/-1
}

.button-accent {
    border: 0;
    background: var(--ink);
    color: #fff;
    margin-top: 10px;
    cursor: pointer
}

.form-note {
    font-size: .72rem;
    margin: 0;
    opacity: .65
}

footer {
    background: #111c15;
    color: #fff;
    padding: 80px max(clamp(24px, 6vw, 100px), calc((100vw - var(--max))/2 + 100px)) 25px
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr .7fr;
    gap: 50px;
    padding-bottom: 70px
}

.footer-brand {
    align-items: flex-start;
    background: #fff;
    padding: 14px 18px;
    align-self: start
}

.footer-brand img {
    width: min(100%, 390px);
    height: auto
}

.footer-top b {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .11em;
    color: #9da69f;
    display: block;
    margin-bottom: 20px
}

.footer-top address {
    font-style: normal;
    color: #d2d6d3;
    font-size: .88rem
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    color: #919b94;
    font-size: .73rem
}

.footer-bottom div {
    display: flex;
    gap: 30px
}

.reveal{--reveal-x:0px;--reveal-y:24px;--reveal-duration:.7s;opacity:1;translate:none}
.reveal-from-bottom{--reveal-x:0px;--reveal-y:32px;--reveal-duration:.78s}
.reveal-from-right{--reveal-x:clamp(28px,4vw,56px);--reveal-y:0px;--reveal-duration:.68s}
.reveal-from-left{--reveal-x:clamp(-56px,-4vw,-28px);--reveal-y:0px;--reveal-duration:.75s}
.motion-ready .reveal{opacity:0;translate:var(--reveal-x) var(--reveal-y);transition:opacity var(--reveal-duration) cubic-bezier(.2,.7,.2,1),translate var(--reveal-duration) cubic-bezier(.2,.7,.2,1);transition-delay:var(--reveal-delay,0ms)}
.motion-ready .reveal.visible{opacity:1;translate:0 0}
.scroll-progress{position:fixed;z-index:100;top:0;left:0;width:100%;height:3px;background:var(--accent);transform:scaleX(0);transform-origin:left center;pointer-events:none;will-change:transform}
.site-header{transition:height .25s ease,box-shadow .25s ease,background-color .25s ease}
.site-header.is-scrolled{background:rgba(255,255,255,.985);box-shadow:0 10px 35px rgba(7,63,115,.12)}

.section,
.page-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px
}

@media(max-width:1320px) and (min-width:801px) {
    .site-header {
        height: 108px
    }

    .brand img {
        width: 390px
    }

    .site-header nav {
        position: fixed;
        top: 108px;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 32px clamp(30px, 6vw, 80px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 3px solid var(--ink)
    }

    .site-header nav.open {
        display: flex
    }

    .nav-services{display:grid;grid-template-columns:1fr auto;width:100%}.nav-services>a{padding:8px 0;font-weight:600}.nav-services-toggle{display:grid;place-items:center;width:42px;height:42px;font-size:1.35rem}.nav-services-toggle span{display:block;transition:transform .2s ease}.nav-services.submenu-open .nav-services-toggle span{transform:rotate(180deg)}.nav-services-menu{position:static;grid-column:1/-1;width:100%;max-height:0;padding:0 0 0 13px;border:0;border-left:2px solid var(--accent);box-shadow:none;opacity:1;visibility:visible;overflow:hidden;transform:none;transition:max-height .3s ease,margin .3s ease}.nav-services-menu:before{display:none}.nav-services-menu a{padding:9px 12px;font-size:.82rem}.nav-services.submenu-open .nav-services-menu{max-height:430px;margin:6px 0 10px}

    .menu-toggle {
        display: grid;
        gap: 7px
    }

    .menu-toggle span {
        display: block;
        width: 28px;
        height: 1px;
        background: var(--ink)
    }
}

@media(max-width:800px) {
    .site-header {
        height: 84px
    }

    .brand img {
        width: 270px
    }

    .site-header nav {
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--paper);
        padding: 30px;
        display: none;
        flex-direction: column;
        align-items: stretch
    }

    .site-header nav.open {
        display: flex
    }

    .nav-services {
        display: grid;
        grid-template-columns: 1fr auto;
        width: 100%
    }

    .nav-services > a {
        padding: 8px 0;
        font-weight: 600
    }

    .nav-services-toggle {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        font-size: 1.35rem
    }

    .nav-services-toggle span {
        display: block;
        transition: transform .2s ease
    }

    .nav-services.submenu-open .nav-services-toggle span {
        transform: rotate(180deg)
    }

    .nav-services-menu {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        max-height: 0;
        padding: 0 0 0 13px;
        border: 0;
        border-left: 2px solid var(--accent);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        overflow: hidden;
        transform: none;
        transition: max-height .3s ease, margin .3s ease
    }

    .nav-services-menu::before {
        display: none
    }

    .nav-services-menu a {
        padding: 9px 12px;
        font-size: .82rem
    }

    .nav-services.submenu-open .nav-services-menu {
        max-height: 480px;
        margin: 6px 0 10px
    }

    .menu-toggle {
        display: grid;
        gap: 7px
    }

    .menu-toggle span {
        display: block;
        width: 26px;
        height: 1px;
        background: var(--ink)
    }

    .hero {
        min-height: 760px
    }

    .hero-content {
        margin-left: 24px;
        width: calc(100% - 48px)
    }

    .hero-facts {
        left: 24px;
        right: auto;
        gap: 18px
    }

    .hero-facts span {
        font-size: .58rem
    }

    .section {
        padding: 85px 24px
    }

    .intro-grid,
    .fleet,
    .contact {
        grid-template-columns: 1fr
    }

    .intro-grid {
        gap: 35px;
        margin-top: 40px
    }

    .section-head {
        display: block;
        margin-bottom: 40px
    }

    .service {
        grid-template-columns: 35px minmax(0, 1fr) 25px;
        grid-template-areas:
            "number title arrow"
            ". points points";
        column-gap: 18px;
        row-gap: 12px
    }

    .service>span {
        grid-area: number
    }

    .service h3 {
        grid-area: title
    }

    .service ul {
        grid-area: points;
        margin-top: 0
    }

    .service b {
        grid-area: arrow
    }

    .projects .section-head p {
        margin-top: 22px
    }

    .fleet-image img {
        min-height: 430px
    }

    .fleet-content {
        padding: 70px 24px
    }

    .contact {
        padding: 80px 24px
    }

    .footer-top {
        grid-template-columns: 1fr 1fr
    }

    .footer-brand {
        grid-column: 1/-1
    }

    .footer-bottom {
        gap: 20px;
        align-items: flex-start
    }

    .contact-form {
        margin-top: 30px
    }
}

@media(max-width:420px) {
    .brand img {
        width: 230px
    }

    .site-header {
        padding-inline: 15px
    }
}

@media(max-width:600px) {
    .contact-form {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .contact-form .full {
        grid-column: auto
    }
}

@media(max-width:768px) {
    .hero-media {
        background-image: url("../images/Hero_neu-v2.webp");
        background-position: 52% center
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }
}

/* Corporate Design: Brechtelsbauer-Blau, OPTA-Rot und klare Weißräume */
.site-header {
    border-bottom-color: var(--ink)
}

.nav-cta {
    background: var(--accent)
}

.nav-cta:hover {
    background: #b51218
}

.hero-shade {
    background: linear-gradient(90deg, rgba(12, 20, 16, .84) 0%, rgba(12, 20, 16, .44) 54%, rgba(12, 20, 16, .08)), linear-gradient(0deg, rgba(12, 20, 16, .58), transparent 48%)
}

.hero h1 em,
.section h2 em {
    color: #fff
}

.hero .eyebrow {
    color: #fff
}

.button-light {
    color: var(--ink)
}

.button-light:hover {
    background: var(--accent);
    color: #fff
}

.intro h2 em,
.fleet-content h2 em,
.contact h2 em {
    color: var(--accent)
}

.services {
    background: #fff
}

.service:hover {
    color: #fff;
    border-color: var(--accent)
}

.service:hover b {
    color: var(--accent)
}

.button-dark,
.button-accent {
    background: var(--accent)
}

.button-dark:hover,
.button-accent:hover {
    background: #b51218
}

.contact {
    background: #e7eef4
}

.contact-mail {
    color: var(--ink)
}

footer {
    background: #052d53
}

.footer-brand {
    display: none
}

.footer-top>div:not(.footer-brand):not(.social-block)>a {
    display: block;
    width: max-content;
    max-width: 100%;
    color: #d2d6d3;
    font-size: .88rem;
    line-height: 1.4;
    padding: 5px 0
}

.footer-top>div:not(.footer-brand):not(.social-block)>a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px
}

.footer-top>div:not(.footer-brand):not(.social-block)>a[aria-current="page"] {
    color: #fff;
    font-weight: 700
}

.footer-top:has(.social-block) {
    grid-template-columns: 1.15fr 1.15fr .85fr .85fr
}

.social-links {
    display: flex;
    gap: 10px
}

.social-links a,
.social-unavailable {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    transition: .2s
}

.social-links a:hover {
    background: #d71920;
    border-color: #d71920;
    transform: translateY(-2px)
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: #fff
}

.social-unavailable {
    opacity: .35;
    cursor: help
}

@media(max-width:1100px) {
    .footer-top:has(.social-block) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 30px
    }

    .social-block {
        grid-column: auto
    }

    .footer-top>div:not(.footer-brand):not(.social-block)>a {
        padding: 7px 0
    }
}

@media(max-width:540px) {
    .footer-top:has(.social-block) {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .social-block {
        grid-column: 1
    }

    .footer-top>div:not(.footer-brand):not(.social-block)>a {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1)
    }
}

/* Vollständige, proportionsgetreue Logodarstellung in allen Headerbreiten */
.site-header .brand {
    width: clamp(360px, 33vw, 480px);
    max-width: calc(100% - 64px);
    flex: 0 1 auto;
    min-width: 0;
    overflow: visible
}

.site-header .brand picture {
    display: block;
    width: 100%;
    min-width: 0
}

.site-header .brand img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center
}

@media(max-width:1320px) and (min-width:801px) {
    .site-header .brand { width: 390px }
}

@media(max-width:800px) {
    .site-header .brand {
        width: 270px;
        max-width: calc(100% - 58px)
    }
}

@media(max-width:420px) {
    .site-header .brand {
        width: 230px;
        max-width: calc(100% - 52px)
    }
}

/* Startseite: bildgestützte Inhaltsbereiche mit geschützter Textlesbarkeit. */
.intro,
.projects {
    position: relative;
    isolation: isolate
}

.intro::before,
.projects::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none
}

.intro::before {
    background-image: linear-gradient(90deg, rgba(247, 249, 251, .97) 0%, rgba(247, 249, 251, .94) 58%, rgba(247, 249, 251, .88) 100%), url("../images/pages/section-unternehmen-bg.webp")
}

/* Startseite: Leistungsübersicht nach der freigegebenen Kachelreferenz. */
.home-services {
    max-width: none;
    padding: 42px max(clamp(24px, 6vw, 100px), calc((100vw - 1120px) / 2)) 30px;
    color: var(--ink);
    background-color: #dedbd6;
    background-image:
        linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, .3)),
        url("../images/pages/section-leistungen-putz-v1.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

.home-services__layout {
    display: grid;
    grid-template-columns: 337px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto
}

.home-services__intro {
    min-width: 0
}

.home-services__eyebrow {
    margin: 0 0 14px;
    color: #6c7476;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.home-services__intro h2 {
    margin: 0 0 34px;
    color: #23495d;
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .01em
}

.home-services__intro h2 span {
    display: block
}

.home-services__intro>p:last-child {
    max-width: 337px;
    margin: 0;
    color: #41535b;
    font-size: 1.25rem;
    line-height: 1.5;
    letter-spacing: .012em
}

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none
}

.home-services__item {
    min-width: 0;
    list-style: none
}

.home-service-card {
    position: relative;
    isolation: isolate;
    display: grid;
    width: 100%;
    height: 100%;
    aspect-ratio: 1.15 / 1;
    overflow: hidden;
    place-items: center;
    color: #fff;
    background: #18374a
}

.home-service-card::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(24, 55, 74, .76);
    transition: background-color .3s ease
}

.home-service-card::after {
    content: none;
    pointer-events: none
}

.home-service-card img {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.8) contrast(.96);
    transform: scale(1.01);
    transition: transform .45s cubic-bezier(.2, .65, .3, 1)
}

.home-services__item:nth-child(1) img { object-position: 52% center }
.home-services__item:nth-child(2) img { object-position: 50% center }
.home-services__item:nth-child(3) img { object-position: 55% center }
.home-services__item:nth-child(4) img { object-position: 50% center }
.home-services__item:nth-child(5) img { object-position: 50% center }
.home-services__item:nth-child(6) img { object-position: 58% center }
.home-services__item:nth-child(7) img { object-position: 48% center }
.home-services__item:nth-child(8) img { object-position: 62% center }
.home-services__item:nth-child(9) img { object-position: 54% center }

.home-service-card h3 {
    position: relative;
    z-index: 2;
    max-width: calc(100% - 28px);
    margin: 0;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.12;
    text-align: center;
    text-decoration: none;
    text-wrap: balance;
    transition: transform .3s ease
}

.home-service-card h3::after {
    content: "";
    display: block;
    width: 34px;
    height: 1px;
    margin: 10px auto 0;
    background: rgba(255, 255, 255, .72);
    transition: width .3s ease
}

.home-service-card:focus-visible {
    z-index: 4;
    outline-color: var(--ink);
    outline-offset: 4px
}

.home-service-card:focus-visible::before {
    opacity: 1
}

.home-service-card:focus-visible img {
    transform: scale(1.06)
}

.home-service-card:focus-visible h3 {
    transform: none
}

@media(hover:hover) and (pointer:fine) {
    .home-service-card:hover::before {
        background: rgba(24, 55, 74, .66)
    }

    .home-service-card:hover img {
        transform: scale(1.06)
    }

    .home-service-card:hover h3 {
        transform: none
    }

    .home-service-card:hover h3::after {
        width: 52px
    }
}

.section-handoff {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 138px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 24px max(clamp(24px, 6vw, 100px), calc((100vw - 1120px) / 2));
    color: #263b4c;
    background-color: #f2f4f4;
    background-image:
        linear-gradient(180deg, rgba(226, 223, 219, .72), rgba(242, 244, 244, .92)),
        url("../images/pages/startseite-referenzen-v1.webp");
    background-position: center 72%;
    background-size: cover;
    background-repeat: no-repeat;
    border-top: 1px solid rgba(7, 63, 115, .13);
    border-bottom: 1px solid rgba(7, 63, 115, .11)
}

.section-handoff::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: min(420px, 52vw);
    height: 2px;
    background: linear-gradient(90deg, transparent, #315f78, transparent);
    transform: translateX(-50%)
}

.section-handoff__copy {
    max-width: 720px
}

.section-handoff__copy>span {
    display: block;
    margin-bottom: 7px;
    color: #315f78;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.section-handoff__copy p {
    margin: 0;
    color: #40545f;
    font-size: clamp(1rem, 1.4vw, 1.2rem)
}

.section-handoff__copy strong {
    color: #18374a;
    font-weight: 700
}

.section-handoff>a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 22px;
    padding: 11px 0;
    border-bottom: 1px solid currentColor;
    color: #18374a;
    font-weight: 700;
    transition: color .2s ease, gap .2s ease
}

.section-handoff>a:hover,
.section-handoff>a:focus-visible {
    gap: 28px;
    color: #315f78
}

#projekte {
    content-visibility: visible;
    contain-intrinsic-size: none
}

@media(max-width:1099px) {
    .home-services {
        padding: 64px clamp(24px, 5vw, 48px) 32px
    }

    .home-services__layout {
        grid-template-columns: 1fr;
        gap: 44px;
        max-width: 900px
    }

    .home-services__intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 44px;
        align-items: start
    }

    .home-services__intro h2 {
        margin-bottom: 0
    }

    .home-services__intro>p:last-child {
        max-width: 430px
    }
}

@media(max-width:699px) {
    .home-services {
        padding: 64px 20px 28px;
        background-position: center, center top;
        background-size: 100% 100%, auto 916px;
        background-repeat: no-repeat, repeat-y
    }

    .home-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .home-services__intro {
        display: block
    }

    .home-services__intro h2 {
        margin-bottom: 28px;
        font-size: clamp(2.15rem, 9vw, 2.5rem)
    }

    .home-services__intro>p:last-child {
        font-size: 1.05rem;
        line-height: 1.6
    }

    .home-services__item:last-child {
        grid-column: 1 / -1
    }

    .home-services__item:last-child .home-service-card {
        aspect-ratio: 2.3 / 1
    }

    .section-handoff {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 26px 20px 28px;
        background-position: center bottom
    }

    .section-handoff__copy strong {
        display: block;
        margin-bottom: 2px
    }
}

@media(max-width:479px) {
    .home-services__grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 420px;
        margin-inline: auto
    }

    .home-services__item:last-child {
        grid-column: auto
    }

    .home-service-card,
    .home-services__item:last-child .home-service-card {
        aspect-ratio: 16 / 10
    }

    .home-service-card h3 {
        font-size: 1.08rem
    }
}

@media(prefers-reduced-motion:reduce) {
    .home-service-card::before,
    .home-service-card img,
    .home-service-card h3 {
        transition: none
    }

    .home-service-card:hover img,
    .home-service-card:focus-visible img,
    .home-service-card:hover h3,
    .home-service-card:focus-visible h3 {
        transform: none
    }
}

.projects::before {
    background-image: linear-gradient(135deg, rgba(247, 249, 251, .9), rgba(247, 249, 251, .97) 52%, rgba(247, 249, 251, .92)), url("../images/pages/section-referenzen-bg.webp");
    box-shadow: inset 0 1px rgba(7, 63, 115, .08), inset 0 -1px rgba(7, 63, 115, .08)
}

.contact {
    background-color: #e7eef4;
    background-image: linear-gradient(90deg, rgba(231, 238, 244, .97) 0%, rgba(231, 238, 244, .93) 50%, rgba(231, 238, 244, .86) 100%), url("../images/pages/section-kontakt-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

@media(max-width:800px) {
    .intro::before {
        background-image: linear-gradient(rgba(247, 249, 251, .95), rgba(247, 249, 251, .92)), url("../images/pages/section-unternehmen-bg.webp");
        background-position: 66% center
    }

    .projects::before {
        background-image: linear-gradient(rgba(247, 249, 251, .94), rgba(247, 249, 251, .97)), url("../images/pages/section-referenzen-bg.webp");
        background-position: center
    }

    .contact {
        background-image: linear-gradient(rgba(231, 238, 244, .95), rgba(231, 238, 244, .91)), url("../images/pages/section-kontakt-bg.webp");
        background-position: 70% center
    }
}

/* Gemeinsame Designsprache für Navigation, CTA, Footer und Bewegung. */
.site-header nav {
    color: #202d35;
    font-weight: 500
}

.site-header nav > a:not(.nav-cta),
.site-header .nav-services > a {
    color: #202d35
}

.site-header #nav > .nav-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: var(--site-accent)
}

.site-header #nav > .nav-cta::before,
.site-header #nav > .nav-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    pointer-events: none;
    transform-origin: center;
    transition: opacity .3s ease, transform .3s ease
}

.site-header #nav > .nav-cta::before {
    z-index: 1;
    border-block: 1px solid rgba(255, 255, 255, .72);
    opacity: 0;
    transform: scaleX(.12)
}

.site-header #nav > .nav-cta::after {
    z-index: 0;
    background: rgba(255, 255, 255, .09);
    opacity: 1;
    transform: scaleX(1)
}

.site-header #nav > .nav-cta > span {
    position: relative;
    z-index: 2
}

.site-header #nav > .nav-cta:hover,
.site-header #nav > .nav-cta:focus-visible {
    color: #fff;
    background: var(--site-accent-dark)
}

.site-header #nav > .nav-cta:hover::before,
.site-header #nav > .nav-cta:focus-visible::before {
    opacity: 1;
    transform: scaleX(1)
}

.site-header #nav > .nav-cta:hover::after,
.site-header #nav > .nav-cta:focus-visible::after {
    opacity: 0;
    transform: scaleX(.12)
}

.site-header #nav > .nav-cta:focus-visible {
    outline-color: var(--ink)
}

footer {
    padding: clamp(40px, 4vw, 54px) max(clamp(24px, 6vw, 100px), calc((100vw - var(--max))/2 + 100px)) 18px;
    color: #fff;
    background: var(--ink);
    border-top: 3px solid var(--accent)
}

footer .footer-top,
footer .footer-top:has(.social-block) {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 28px 36px;
    padding-bottom: 30px
}

footer .footer-top b {
    margin-bottom: 11px;
    color: rgba(255, 255, 255, .68);
    font-size: .7rem;
    font-weight: 700
}

footer .footer-top address,
footer .footer-top > div:not(.footer-brand):not(.social-block) > a {
    color: rgba(255, 255, 255, .86);
    font-size: .86rem;
    line-height: 1.5
}

footer .footer-top > div:not(.footer-brand):not(.social-block) > a {
    padding: 3px 0
}

footer .footer-bottom {
    padding-top: 16px;
    color: rgba(255, 255, 255, .65)
}

footer a:hover,
footer a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px
}

@media(max-width:800px) {
    .reveal-from-left { --reveal-x: -30px }
    .reveal-from-right { --reveal-x: 30px }

    footer {
        padding: 36px 24px 18px
    }

    footer .footer-top,
    footer .footer-top:has(.social-block) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 22px;
        padding-bottom: 26px
    }
}

@media(max-width:520px) {
    footer .footer-top,
    footer .footer-top:has(.social-block) {
        grid-template-columns: 1fr;
        gap: 22px
    }

    footer .footer-top > div:not(.footer-brand):not(.social-block) > a {
        width: max-content;
        padding: 3px 0;
        border: 0
    }

    footer .footer-bottom {
        flex-direction: column;
        gap: 12px
    }
}

@media (prefers-reduced-motion: reduce), print {
    .reveal,
    .motion-ready .reveal {
        opacity: 1 !important;
        translate: none !important;
        transition: none !important
    }

    .site-header #nav > .nav-cta,
    .site-header #nav > .nav-cta::before,
    .site-header #nav > .nav-cta::after {
        transition: none !important
    }
}
