@import url('https://fonts.googleapis.com/css2?family=Exo:wght@400;500;600;700&display=swap');

:root {
    --psc-blue: #03b2d9;
    --psc-blue-80: #35c2e0;
    --psc-blue-60: #68d1e8;
    --psc-blue-40: #9ae0f0;
    --psc-blue-20: #cdf0f7;
    --psc-black: #000000;
    --psc-gray-80: #575756;
    --psc-gray-60: #878787;
    --psc-gray-40: #b2b2b2;
    --psc-gray-20: #dadada;
    --text: #151515;
    --muted: #575756;
    --line: #e6e6e6;
    --tint: #f5fafc;
    --shell: 1540px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Exo', Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-shell {
    width: min(calc(100% - 72px), var(--shell));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}


/* WordPress blendet bei eingeloggten Nutzern oben die Admin-Leiste ein.
   Der Sticky-Header bleibt deshalb darunter statt von ihr verdeckt zu werden. */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.site-header__inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
}

.site-logo {
    display: inline-block;
    text-decoration: none;
    flex: 0 0 auto;
}

.site-logo--header {
    width: 255px;
}

.site-logo--footer {
    width: 245px;
}

.primary-nav__list {
    display: flex;
    align-items: center;
    gap: 38px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    position: relative;
    display: inline-block;
    padding: 12px 0;
    font-size: 0.92rem;
    text-decoration: none;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0;
    height: 2px;
    background: var(--psc-blue);
    transition: width 170ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
    width: 28px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--psc-black);
}

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

.hero {
    border-bottom: 1px solid var(--line);
}

.hero__grid {
    min-height: 430px;
    display: grid;
    grid-template-columns: 33% 67%;
    align-items: stretch;
}

.hero__copy {
    max-width: 500px;
    padding: 54px 40px 52px 0;
    align-self: center;
}

.hero h1 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(2rem, 2.7vw, 3.2rem);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -0.018em;
}

.hero-title-line {
    display: block;
    white-space: nowrap;
}

.accent-line {
    width: 42px;
    height: 3px;
    margin: 22px 0 24px;
    background: var(--psc-blue);
}

.accent-line--small {
    width: 34px;
    margin: 16px 0 22px;
}

.hero__lead {
    max-width: 470px;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 0.98rem;
}

.hero__visual {
    min-width: 0;
}

.hero__visual--image {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero__visual--image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 11%,
        rgba(255, 255, 255, 0.985) 16%,
        rgba(255, 255, 255, 0.95) 21%,
        rgba(255, 255, 255, 0.82) 28%,
        rgba(255, 255, 255, 0.55) 36%,
        rgba(255, 255, 255, 0.20) 46%,
        rgba(255, 255, 255, 0.0) 58%
    );
}

.hero__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    object-position: center;
}

.placeholder-graphic,
.image-placeholder {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 32px;
    color: var(--psc-gray-60);
    text-align: center;
    background:
        linear-gradient(135deg, rgba(3,178,217,.018), rgba(0,0,0,.01)),
        repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(0,0,0,.018) 48px),
        repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(0,0,0,.018) 48px),
        #fcfcfc;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #078cab;
    text-decoration: none;
    font-size: 0.92rem;
}

.text-link span {
    transition: transform 160ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.section {
    padding: 56px 0;
}

.section--bordered {
    border-bottom: 1px solid var(--line);
}

.section--tinted {
    background: var(--tint);
    border-bottom: 1px solid var(--line);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    min-height: 270px;
    padding: 4px 40px 4px 0;
}

.service-card + .service-card {
    padding-left: 40px;
    border-left: 1px solid var(--line);
}

.service-icon {
    margin-bottom: 24px;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--psc-blue);
}

.service-card__title,
.split-copy h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
}

.service-card p,
.split-copy p {
    max-width: 440px;
    margin: 0 0 26px;
    color: var(--muted);
}

.split-grid {
    display: grid;
    grid-template-columns: 33% 67%;
    align-items: center;
    gap: 52px;
    min-height: 270px;
}

.split-grid--career {
    grid-template-columns: 33% 67%;
}

.split-copy {
    padding-right: 28px;
}

.split-visual {
    min-width: 0;
    min-height: 235px;
}


.section--projects {
    border-bottom: 1px solid var(--line);
}

.projects-heading {
    display: grid;
    grid-template-columns: 33% 67%;
    gap: 52px;
    align-items: start;
    margin-bottom: 38px;
}

.projects-heading h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
}

.projects-heading > p {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 8px;
}

.project-card {
    min-height: 220px;
    padding: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--psc-blue);
}

.project-card--textonly .project-card__body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
    padding: 28px 28px 30px;
}

.project-card__meta {
    margin: 0 0 10px;
    color: var(--psc-blue);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-card h3 {
    margin: 0 0 14px;
    font-size: 1.25rem;
    font-weight: 600;
}

.project-card__body > p:last-child {
    margin: 0;
    color: var(--muted);
    max-width: 31ch;
}

.projects-link {
    margin-top: 28px;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding-top: 48px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
    padding-bottom: 42px;
}

.site-footer__contact > strong {
    display: block;
    margin-bottom: 16px;
    font-size: 0.92rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    font-size: 0.88rem;
    color: var(--psc-gray-80);
}

.contact-grid a,
.site-footer__links a {
    text-decoration: none;
}

.site-footer__bottom {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-top: 1px solid var(--line);
    color: var(--psc-gray-80);
    font-size: 0.82rem;
}

.site-footer__links {
    display: flex;
    gap: 24px;
}

@media (max-width: 1000px) {
    .site-shell {
        width: min(calc(100% - 40px), var(--shell));
    }

    .site-logo--header {
        width: 220px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .primary-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 18px 24px 24px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .primary-nav a {
        display: block;
        padding: 13px 0;
    }

    .hero__grid,
    .split-grid,
    .split-grid--career {
        grid-template-columns: 1fr;
    }

    .hero__copy {
        padding: 54px 0 46px;
    }

    .hero__visual {
        min-height: 390px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .projects-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 0;
    }

    .project-card,
    .project-card + .project-card {
        border-left: 1px solid var(--line);
        border-top: 4px solid var(--psc-blue);
    }

    .project-card--textonly .project-card__body {
        padding: 24px 24px 26px;
    }

    .service-card,
    .service-card + .service-card {
        min-height: 0;
        padding: 34px 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .service-card:first-child {
        border-top: 0;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .site-shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    .site-header__inner {
        min-height: 86px;
    }

    .site-logo--header {
        width: 190px;
    }

    .hero__copy {
        padding-top: 50px;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 11vw, 3.2rem);
    }

    .hero__visual {
        min-height: 270px;
    }

    .section {
        padding: 52px 0;
    }

    .site-logo--footer {
        width: 220px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        min-height: 0;
        padding: 22px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* v0.4 – Feinschliff nach Desktop-Referenz */
.hero__copy {
    max-width: 500px;
}

.service-grid {
    align-items: stretch;
}

.service-card p {
    max-width: 330px;
}

.section--tinted {
    background: #f2f8fb;
}

.site-footer__inner,
.site-footer__bottom {
    width: min(calc(100% - 72px), 1540px);
}

@media (min-width: 1500px) {
    .site-header__inner {
        min-height: 92px;
    }

    .site-logo--header {
        width: 245px;
    }

    .hero__grid {
        min-height: 420px;
        grid-template-columns: 33% 67%;
    }

    .hero__copy {
        padding-top: 52px;
        padding-bottom: 52px;
    }
}



.service-card__initial {
    color: var(--psc-blue);
}


.split-visual--image {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.section--company {
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.split-grid--company {
    grid-template-columns: 32% 68%;
    align-items: stretch;
    gap: 0;
    min-height: 332px;
}

.split-grid--company .split-copy {
    align-self: center;
    max-width: 430px;
    padding: 48px 34px 48px 0;
}

.split-grid--company .split-copy p {
    max-width: 420px;
}

.split-visual--company-image {
    position: relative;
    min-height: 332px;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
    background: #ffffff;
}

.split-visual--company-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 10%,
        rgba(255, 255, 255, 0.985) 16%,
        rgba(255, 255, 255, 0.95) 22%,
        rgba(255, 255, 255, 0.82) 30%,
        rgba(255, 255, 255, 0.55) 40%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0) 62%
    );
}

.split-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 332px;
    margin: 0;
    object-fit: cover;
    object-position: center right;
}


@media (max-width: 980px) {

    .section--company {
        padding: 40px 0;
    }

    .split-grid--company {
        grid-template-columns: 1fr;
        gap: 26px;
        min-height: 0;
    }

    .split-grid--company .split-copy {
        max-width: 100%;
        padding: 0;
    }

    .split-visual--company-image,
    .split-image {
        min-height: 0;
        width: 100%;
        height: auto;
        margin: 0;
    }

    .split-visual--company-image::before {
        display: none;
    }
}


/* v0.22 – Karrierebereich im Hero-Stil */
.section--career {
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.split-grid--career {
    grid-template-columns: 32% 68%;
    align-items: stretch;
    gap: 0;
    min-height: 332px;
}

.split-copy--career {
    align-self: center;
    max-width: 455px;
    padding: 44px 34px 44px 0;
}

.split-copy--career p {
    max-width: 440px;
    margin-bottom: 14px;
}

.split-copy--career p:last-of-type {
    margin-bottom: 24px;
}

.split-visual--career-image {
    position: relative;
    min-width: 0;
    min-height: 332px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    background: #ffffff;
}

.split-visual--career-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 8%,
        rgba(255,255,255,0.985) 14%,
        rgba(255,255,255,0.94) 21%,
        rgba(255,255,255,0.80) 30%,
        rgba(255,255,255,0.52) 40%,
        rgba(255,255,255,0.20) 50%,
        rgba(255,255,255,0) 61%
    );
}

.career-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 332px;
    margin: 0;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 980px) {
    .section--career {
        padding: 40px 0 0;
    }

    .split-grid--career {
        grid-template-columns: 1fr;
        gap: 26px;
        min-height: 0;
    }

    .split-copy--career {
        max-width: 100%;
        padding: 0;
    }

    .split-visual--career-image {
        min-height: 0;
    }

    .career-image {
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
    }

    .split-visual--career-image::before {
        display: none;
    }
}


/* v0.28 – Unterseite Leistungen */
.subpage-intro {
    padding: 54px 0 46px;
    background: #ffffff;
}

.subpage-intro__eyebrow {
    margin: 0 0 12px;
    color: var(--psc-blue);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.subpage-intro h1 {
    margin: 0;
    font-size: clamp(2.2rem, 3.1vw, 3.5rem);
    font-weight: 600;
    line-height: 1.08;
}

.subpage-intro__lead {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.leistungen-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.leistungen-summary__item {
    padding: 22px 24px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.leistungen-summary__item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.92rem;
    font-weight: 600;
}

.leistungen-summary__item p {
    margin: 0;
    color: var(--muted);
}

.leistungen-page {
    padding: 56px 0 72px;
    background: #ffffff;
}

.leistung-section {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 56px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
}

.leistung-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.leistung-section__main {
    padding-right: 10px;
}

.leistung-section__accent {
    width: 42px;
    height: 4px;
    margin: 0 0 18px;
    background: var(--psc-blue);
}

.leistung-section__main h2 {
    margin: 0 0 10px;
    font-size: clamp(1.9rem, 2.2vw, 2.3rem);
    font-weight: 600;
    line-height: 1.15;
}

.leistung-section__summary {
    max-width: 580px;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 1rem;
}

.leistung-section__side {
    display: grid;
    gap: 22px;
    padding-left: 40px;
    border-left: 1px solid var(--line);
}

.leistung-meta h3 {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--psc-gray-80);
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--psc-blue-20);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1;
}

.leistung-meta ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.leistung-meta li + li {
    margin-top: 6px;
}

@media (max-width: 980px) {
    .leistungen-summary,
    .leistung-section {
        grid-template-columns: 1fr;
    }

    .leistung-section {
        gap: 24px;
    }

    .leistung-section__side {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 22px;
    }
}

@media (max-width: 600px) {
    .subpage-intro {
        padding: 50px 0 42px;
    }

    .leistungen-summary {
        gap: 16px;
    }

    .leistungen-summary__item {
        padding: 18px 18px;
    }

    .leistungen-page {
        padding: 48px 0 60px;
    }
}


/* v0.29 – konkrete Leistungs- und Techniklisten */
.leistung-tech-list {
    line-height: 1.48;
}

.leistung-tech-list > li + li {
    margin-top: 8px;
}

.leistung-tech-list ul {
    margin-top: 6px;
    padding-left: 20px;
}

.leistung-tech-list ul li {
    color: var(--psc-gray-80);
    font-size: 0.94em;
}

.leistung-section__side--compact {
    align-content: start;
}


/* v0.30 – Vereinfachte Leistungsseite und vorbereitete Gewerk-Tabs */
.subpage-intro {
    padding-bottom: 38px;
}

.subpage-intro__lead {
    max-width: 760px;
}

.leistungen-summary {
    display: none;
}

.leistung-section__summary {
    margin-bottom: 0;
}

.chip--tab {
    appearance: none;
    border: 1px solid transparent;
    font: inherit;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.chip--tab:hover,
.chip--tab:focus-visible {
    border-color: var(--psc-blue-60);
    outline: none;
}

.chip--tab.is-active {
    background: var(--psc-blue-20);
    border-color: var(--psc-blue-40);
    box-shadow: inset 0 -2px 0 var(--psc-blue);
}

.leistung-tech-panel {
    display: none;
}

.leistung-tech-panel.is-active {
    display: block;
}

/* v0.31 – Unterseite Unternehmen */
.company-page-hero {
    padding: 0;
    background: #ffffff;
}

.company-page-hero__grid {
    min-height: 350px;
    display: grid;
    grid-template-columns: 34% 66%;
    align-items: stretch;
}

.company-page-hero__copy {
    align-self: center;
    max-width: 500px;
    padding: 54px 38px 54px 0;
}

.company-page-hero__copy h1 {
    margin: 0;
    font-size: clamp(2.2rem, 3.1vw, 3.5rem);
    font-weight: 600;
    line-height: 1.08;
}

.company-page-hero__lead {
    max-width: 500px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.company-page-hero__visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
}

.company-page-hero__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 8%,
        rgba(255,255,255,0.985) 14%,
        rgba(255,255,255,0.94) 21%,
        rgba(255,255,255,0.80) 30%,
        rgba(255,255,255,0.50) 40%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0) 61%
    );
}

.company-page-hero__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    object-position: center right;
}

.company-page-sections {
    padding: 0 0 68px;
    background: #ffffff;
}

.company-info-section {
    display: grid;
    grid-template-columns: 32% 68%;
    gap: 0;
    padding: 42px 0;
    border-top: 1px solid var(--line);
}

.company-info-section:first-child {
    border-top: 0;
}

.company-info-section__heading {
    padding-right: 42px;
}

.company-info-section__heading h2 {
    max-width: 330px;
    margin: 0;
    font-size: clamp(1.7rem, 2vw, 2.15rem);
    font-weight: 600;
    line-height: 1.18;
}

.company-info-section__content {
    padding-left: 46px;
    border-left: 1px solid var(--line);
}

.company-info-section__content p {
    max-width: 960px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.company-info-section__content p + p {
    margin-top: 20px;
}

@media (max-width: 980px) {
    .company-page-hero__grid,
    .company-info-section {
        grid-template-columns: 1fr;
    }

    .company-page-hero__copy {
        max-width: 100%;
        padding: 50px 0 36px;
    }

    .company-page-hero__visual {
        min-height: 270px;
    }

    .company-page-hero__image {
        min-height: 270px;
    }

    .company-info-section {
        gap: 20px;
        padding: 36px 0;
    }

    .company-info-section__heading {
        padding-right: 0;
    }

    .company-info-section__content {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 600px) {
    .company-page-hero__visual {
        min-height: 220px;
    }

    .company-page-hero__image {
        min-height: 220px;
    }

    .company-page-sections {
        padding-bottom: 52px;
    }
}


/* v0.32 – Projekt-Unterseite */
.projects-page {
    padding: 56px 0 72px;
    background: #ffffff;
}

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

.projects-page-card {
    position: relative;
    min-height: 220px;
    padding: 30px 30px 26px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.projects-page-card__accent {
    position: absolute;
    top: -1px;
    left: 30px;
    width: 44px;
    height: 4px;
    background: var(--psc-blue);
}

.projects-page-card__meta {
    margin: 0 0 10px;
    color: var(--psc-blue);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.projects-page-card h2 {
    margin: 0 0 12px;
    font-size: 1.42rem;
    font-weight: 600;
}

.projects-page-card__summary {
    max-width: 52ch;
    margin: 0 0 24px;
    color: var(--muted);
}

.projects-page-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--psc-gray-60);
    font-size: 0.82rem;
}

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

@media (max-width: 600px) {
    .projects-page {
        padding: 48px 0 60px;
    }

    .projects-page-card {
        min-height: 0;
        padding: 26px 22px 22px;
    }

    .projects-page-card__accent {
        left: 22px;
    }
}

/* v0.34 – Feinschliff Leistungen und Karriere */

/* Leistungsseite: Akzentlinie wie auf den übrigen Unterseiten unter der Überschrift */
.leistung-section__main {
    display: flex;
    flex-direction: column;
}

.leistung-section__main .leistung-section__accent {
    order: 2;
    width: 42px;
    height: 4px;
    margin: 12px 0 18px;
    background: var(--psc-blue);
}

.leistung-section__main h2 {
    order: 1;
}

.leistung-section__main .leistung-section__summary {
    order: 3;
}

/* Karriereseite */
.career-page {
    padding: 56px 0 72px;
    background: #ffffff;
}

.career-block {
    padding: 38px 0 0;
}

.career-block--first {
    padding-top: 0;
}

.career-section-heading {
    margin-bottom: 26px;
}

.career-section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 2.5vw, 3rem);
    font-weight: 600;
    line-height: 1.08;
}

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

.career-job-card {
    min-height: 100%;
    padding: 24px 24px 26px;
    border: 1px solid var(--line);
    background: #fff;
}


.career-job-card--individual {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 24px 26px 26px;
}

.career-job-card--individual h3 {
    font-size: clamp(1.55rem, 1.8vw, 2rem);
    margin-bottom: 10px;
}

.career-job-card--individual .career-job-card__summary {
    max-width: none;
    width: 100%;
}

.career-job-card__meta {
    margin: 0 0 10px;
    color: var(--psc-blue);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.career-job-card h3 {
    margin: 0 0 6px;
    font-size: clamp(1.9rem,2.2vw,2.5rem);
    font-weight: 600;
    line-height: 1.12;
}

.career-job-card__subtitle {
    margin: 0 0 14px;
    color: var(--psc-gray-80);
    font-size: 1.15rem;
}

.career-job-card__summary {
    margin: 0;
    color: var(--muted);
}

.career-job-card__divider {
    height: 1px;
    margin: 18px 0 16px;
    background: var(--line);
}

.career-job-card h4 {
    margin: 0 0 12px;
    font-size: 1.1rem;
}

.career-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.career-list li + li { margin-top: 8px; }

.career-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
}

.career-benefit-card {
    min-height: 126px;
    padding: 18px 20px 20px;
    border: 1px solid var(--line);
    background: #fff;
}

.career-benefit-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.25;
}

.career-benefit-card p {
    margin: 0;
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.55;
}

.career-info-section {
    display: grid;
    grid-template-columns: 32% 68%;
    gap: 0;
    padding: 38px 0 0;
    margin-top: 38px;
    border-top: 1px solid var(--line);
}

.career-info-section__heading { padding-right: 42px; }
.career-info-section__heading h2 {
    margin: 0;
    font-size: clamp(1.7rem,2vw,2.3rem);
    line-height: 1.12;
}

.career-info-section__content {
    padding-left: 32px;
    border-left: 1px solid var(--line);
}

.career-info-section__content p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.career-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    margin-top: 20px;
}

.career-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 22px;
    border: 2px solid var(--psc-blue);
    color: #078cab;
    text-decoration: none;
    font-weight: 500;
}

.career-button:hover,.career-button:focus-visible { background: var(--psc-blue-20); outline:none; }
.career-cta__mail { color: var(--psc-gray-80); text-decoration:none; }

@media (max-width:980px) {
    .career-jobs-grid,.career-benefits-grid,.career-info-section { grid-template-columns:1fr; }
    .career-info-section { gap:18px; }
    .career-info-section__heading { padding-right:0; }
    .career-info-section__content { padding-left:0; border-left:0; border-top:1px solid var(--line); padding-top:20px; }
}

@media (max-width:600px) {
    .career-page { padding:48px 0 60px; }
    .career-job-card { padding:22px 18px; }
    .career-benefit-card { min-height:0; }
    .career-button { width:100%; justify-content:center; }
}


/* v0.36 – Footer-Optimierung */
.site-footer {
    border-top: 1px solid var(--line);
    padding-top: 42px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(320px, 1.35fr);
    gap: 56px;
    align-items: start;
    padding-bottom: 36px;
}

.site-footer__brand {
    padding-top: 4px;
}

.site-logo--footer {
    width: 228px;
}

.site-footer__contact {
    max-width: 420px;
}

.site-footer__contact > strong {
    display: block;
    margin-bottom: 0;
    font-size: 0.94rem;
    font-weight: 600;
}

.site-footer__accent {
    margin: 12px 0 20px;
}

.site-footer__address {
    color: var(--psc-gray-80);
    font-size: 0.9rem;
    line-height: 1.7;
}

.site-footer__mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: var(--psc-blue);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.site-footer__mail:hover,
.site-footer__mail:focus-visible {
    text-decoration: underline;
    outline: none;
}

.site-footer__links a {
    color: inherit;
    text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.site-footer__bottom {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0 2px;
    border-top: 1px solid var(--line);
    color: var(--psc-gray-80);
    font-size: 0.82rem;
}

.site-footer__links {
    display: flex;
    gap: 24px;
}

@media (max-width: 1000px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer__contact {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .site-logo--footer {
        width: 210px;
    }

    .site-footer {
        padding-top: 36px;
    }

    .site-footer__mail {
        font-size: 0.92rem;
    }

    .site-footer__bottom {
        min-height: 0;
        padding: 20px 0 0;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* v0.37 – Footer-Rechtsausrichtung und Rechtliches */
.site-footer__inner {
    grid-template-columns: minmax(220px, 1fr) minmax(320px, auto);
}

.site-footer__contact {
    justify-self: end;
    width: min(100%, 360px);
    text-align: left;
}

.site-footer__bottom {
    align-items: center;
}

.site-footer__links {
    margin-left: auto;
}

.legal-page {
    padding: 64px 0 88px;
    background: #ffffff;
}

.legal-page__inner {
    max-width: 980px;
}

.legal-page h1 {
    margin: 0;
    font-size: clamp(2.2rem, 3.1vw, 3.5rem);
    font-weight: 600;
    line-height: 1.08;
}

.legal-page__placeholder {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

@media (max-width: 1000px) {
    .site-footer__contact {
        justify-self: start;
        width: 100%;
    }

    .site-footer__links {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .legal-page {
        padding: 52px 0 68px;
    }
}

/* v0.38 – Kontaktblock rechts an Footerlinks ausgerichtet */
.site-footer__contact {
    justify-self: end;
    width: max-content;
    max-width: 100%;
}

@media (max-width: 1000px) {
    .site-footer__contact {
        justify-self: start;
        width: 100%;
    }
}

/* v0.39 – Responsive-Feinschliff */

/* Tablet / kleinere Notebooks */
@media (max-width: 1100px) {
    .site-header__inner {
        min-height: 88px;
    }

    .primary-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .hero__copy,
    .company-page-hero__copy {
        max-width: 680px;
    }

    .leistung-section {
        gap: 38px;
    }
}

@media (max-width: 1000px) {
    /* Die Hero-Grafik liegt auf Tablet/Smartphone unter dem Text. Der Verlauf
       läuft deshalb vertikal aus dem weißen Textbereich in die Zeichnung. */
    .hero__visual--image::before,
    .company-page-hero__visual::before {
        background: linear-gradient(
            180deg,
            #ffffff 0%,
            rgba(255,255,255,0.98) 9%,
            rgba(255,255,255,0.88) 18%,
            rgba(255,255,255,0.55) 31%,
            rgba(255,255,255,0.18) 43%,
            rgba(255,255,255,0) 56%
        );
    }

    .hero__visual,
    .hero__image {
        min-height: 300px;
        height: 300px;
    }

    .company-page-hero__visual,
    .company-page-hero__image {
        min-height: 280px;
        height: 280px;
    }

    .hero__image,
    .company-page-hero__image {
        object-position: center center;
    }

    .site-footer__contact {
        text-align: left;
    }
}

/* Tablet hochkant: Raster beibehalten, wo zwei Spalten noch gut funktionieren. */
@media (min-width: 701px) and (max-width: 980px) {
    .project-grid,
    .projects-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .career-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .career-job-card,
    .projects-page-card,
    .career-benefit-card {
        min-width: 0;
    }
}

/* Smartphone und kleine Tablets */
@media (max-width: 700px) {
    body {
        font-size: 0.98rem;
    }

    .site-shell {
        width: min(calc(100% - 36px), var(--shell));
    }

    .site-header__inner {
        min-height: 80px;
        gap: 16px;
    }

    .site-logo--header {
        width: 195px;
        max-width: calc(100vw - 92px);
    }

    .nav-toggle {
        width: 46px;
        height: 46px;
        padding: 10px;
    }

    .primary-nav {
        padding: 10px 18px 18px;
    }

    .primary-nav a {
        min-height: 48px;
        padding: 12px 2px;
        font-size: 1rem;
    }

    .hero__copy {
        padding: 42px 0 28px;
    }

    .hero h1,
    .company-page-hero__copy h1,
    .subpage-intro h1,
    .legal-page h1 {
        font-size: clamp(2rem, 9.5vw, 2.75rem);
        line-height: 1.08;
    }

    .hero-title-line {
        white-space: normal;
    }

    .hero__lead,
    .company-page-hero__lead,
    .subpage-intro__lead {
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .accent-line {
        margin-top: 18px;
        margin-bottom: 20px;
    }

    .hero__visual,
    .hero__image {
        min-height: 230px;
        height: 230px;
    }

    .company-page-hero__copy {
        padding: 42px 0 26px;
    }

    .company-page-hero__visual,
    .company-page-hero__image {
        min-height: 220px;
        height: 220px;
    }

    .section {
        padding: 44px 0;
    }

    .section--company,
    .section--career {
        padding-top: 34px;
    }

    .split-grid--company,
    .split-grid--career {
        gap: 18px;
    }

    .split-grid--company .split-copy,
    .split-copy--career {
        padding: 0;
    }

    .split-copy p,
    .service-card p,
    .projects-heading > p {
        max-width: none;
    }

    .service-card,
    .service-card + .service-card {
        padding: 28px 0;
    }

    .project-grid,
    .projects-page__grid,
    .career-jobs-grid,
    .career-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-card--textonly .project-card__body,
    .projects-page-card,
    .career-job-card,
    .career-benefit-card {
        padding: 22px 18px;
    }

    .career-page,
    .projects-page,
    .leistungen-page {
        padding-top: 42px;
        padding-bottom: 54px;
    }

    .career-section-heading {
        margin-bottom: 20px;
    }

    .career-section-heading h2,
    .leistung-section__main h2 {
        font-size: clamp(1.7rem, 7vw, 2.05rem);
    }

    .career-job-card h3 {
        font-size: clamp(1.6rem, 7.5vw, 2rem);
    }

    .career-job-card__subtitle {
        font-size: 1.02rem;
    }

    .career-block {
        padding-top: 30px;
    }

    .career-info-section {
        margin-top: 30px;
        padding-top: 30px;
    }

    .career-info-section__heading h2 {
        font-size: 1.65rem;
    }

    .career-cta__actions {
        align-items: stretch;
        gap: 14px;
    }

    .career-cta__mail {
        overflow-wrap: anywhere;
    }

    .career-button,
    .site-footer__mail,
    .text-link {
        min-height: 44px;
    }

    .leistung-section {
        gap: 20px;
        padding: 28px 0;
    }

    .leistung-section__side {
        padding-top: 18px;
    }

    .leistung-tech-list {
        padding-left: 20px;
        line-height: 1.55;
    }

    .leistung-tech-list > li + li {
        margin-top: 10px;
    }

    .chip {
        min-height: 40px;
        padding: 9px 14px;
    }

    .company-info-section {
        padding: 30px 0;
        gap: 16px;
    }

    .company-info-section__heading h2 {
        font-size: 1.65rem;
    }

    .company-info-section__content p {
        line-height: 1.62;
    }

    .site-footer {
        padding-top: 34px;
    }

    .site-footer__inner,
    .site-footer__bottom {
        width: min(calc(100% - 36px), var(--shell));
    }

    .site-footer__inner {
        gap: 24px;
        padding-bottom: 30px;
    }

    .site-footer__contact {
        justify-self: start;
        width: 100%;
        max-width: none;
    }

    .site-footer__bottom {
        gap: 14px;
        padding-top: 18px;
    }

    .site-footer__links {
        gap: 20px;
        flex-wrap: wrap;
    }
}

/* Sehr schmale Smartphones */
@media (max-width: 420px) {
    .site-shell,
    .site-footer__inner,
    .site-footer__bottom {
        width: min(calc(100% - 28px), var(--shell));
    }

    .site-logo--header {
        width: 178px;
    }

    .hero h1,
    .company-page-hero__copy h1,
    .subpage-intro h1,
    .legal-page h1 {
        font-size: clamp(1.9rem, 9.2vw, 2.35rem);
    }

    .hero__visual,
    .hero__image,
    .company-page-hero__visual,
    .company-page-hero__image {
        min-height: 190px;
        height: 190px;
    }

    .project-card--textonly .project-card__body,
    .projects-page-card,
    .career-job-card,
    .career-benefit-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .career-button {
        width: 100%;
        justify-content: center;
    }
}


/* v0.40 – Impressum */
.legal-content {
    max-width: 760px;
}

.legal-section {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.legal-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.legal-section h2 {
    margin: 0 0 12px;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.3;
}

.legal-section p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.legal-section p + p {
    margin-top: 18px;
}

.legal-section a {
    color: #078cab;
    text-decoration: none;
}

.legal-section a:hover,
.legal-section a:focus-visible {
    text-decoration: underline;
    outline: none;
}

@media (max-width: 600px) {
    .legal-section {
        padding: 24px 0;
    }

    .legal-section h2 {
        font-size: 1.05rem;
    }
}


/* v0.41 – Leistungs-Tabs und Impressumsraster */
.legal-page__inner {
    max-width: none;
}


/* v0.42 – Leistungen-Hero auf gleiche Höhe wie übrige Unterseiten */
@media (min-width: 1001px) {
    .company-page-hero--leistungen .company-page-hero__grid {
        min-height: 350px;
        height: 350px;
        max-height: 350px;
    }

    .company-page-hero--leistungen .company-page-hero__visual,
    .company-page-hero--leistungen .company-page-hero__image {
        min-height: 350px;
        height: 350px;
        max-height: 350px;
    }

    .company-page-hero--leistungen .company-page-hero__image {
        object-fit: cover;
        object-position: center top;
    }
}


/* v0.43 – Leistungen als Gewerk-Matrix, Karriere- und Unternehmensfeinschliff */
.leistungen-page--matrix {
    padding: 54px 0 72px;
}

.leistung-matrix-section {
    padding: 42px 0 46px;
    border-top: 1px solid var(--line);
}

.leistung-matrix-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.leistung-matrix-section__header {
    margin-bottom: 24px;
}

.leistung-matrix-section__header h2 {
    margin: 0;
    font-size: clamp(1.9rem, 2.2vw, 2.3rem);
    font-weight: 600;
    line-height: 1.15;
}

.leistung-matrix-section__header .accent-line {
    margin-top: 14px;
    margin-bottom: 16px;
}

.leistung-matrix-section__header p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.leistung-trade-grid {
    display: grid;
    gap: 20px;
    align-items: stretch;
}

.leistung-trade-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leistung-trade-grid--1 {
    grid-template-columns: minmax(0, 1fr);
}

.leistung-trade-card {
    padding: 24px 26px 26px;
    border: 1px solid var(--line);
    background: #fbfbfb;
}

.leistung-trade-card h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 600;
}

.leistung-trade-card__line {
    width: 30px;
    height: 3px;
    margin: 11px 0 17px;
    background: var(--psc-blue);
}

.leistung-trade-card .leistung-tech-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.leistung-trade-card--compact {
    min-height: 92px;
}

@media (max-width: 980px) {
    .leistung-trade-grid--2 {
        grid-template-columns: 1fr;
    }

    .leistung-matrix-section {
        padding: 34px 0 38px;
    }

}

@media (max-width: 600px) {
    .leistungen-page--matrix {
        padding: 46px 0 58px;
    }

    .leistung-trade-card {
        padding: 21px 20px 22px;
    }
}


/* v0.47 – Projekte-Hero an übrige Unterseiten angeglichen */
@media (min-width: 1001px) {
    .company-page-hero--projects .company-page-hero__grid {
        min-height: 350px;
        height: 350px;
        max-height: 350px;
    }

    .company-page-hero--projects .company-page-hero__visual,
    .company-page-hero--projects .company-page-hero__image {
        min-height: 350px;
        height: 350px;
        max-height: 350px;
    }

    .company-page-hero--projects .company-page-hero__image {
        object-fit: cover;
        object-position: center center;
    }

    .company-page-hero--projects .company-page-hero__visual::before {
        background: linear-gradient(
            90deg,
            #ffffff 0%,
            rgba(255,255,255,0.985) 7%,
            rgba(255,255,255,0.94) 13%,
            rgba(255,255,255,0.76) 20%,
            rgba(255,255,255,0.44) 28%,
            rgba(255,255,255,0.16) 36%,
            rgba(255,255,255,0) 44%
        );
    }
}


/* v0.50 – Karriere und LinkedIn im Footer */
.site-footer__linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--psc-gray-80);
    font-size: 0.92rem;
    font-weight: 500;
}

.site-footer__linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 2px;
    background: var(--psc-blue);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}


/* v0.51 – LinkedIn unter der E-Mail-Adresse */
.site-footer__linkedin {
    display: flex;
    width: max-content;
}


/* v0.54 – kompakter Footer mit Kontaktdaten unter dem Logo */
.site-footer__inner--compact {
    display: block;
    padding-bottom: 32px;
}

.site-footer__inner--compact .site-footer__brand {
    width: max-content;
    max-width: 100%;
}

.site-footer__contact--under-logo {
    justify-self: auto;
    width: auto;
    max-width: 360px;
    margin-top: 24px;
    text-align: left;
}

.site-footer__bottom--reordered .site-footer__links {
    margin-left: 0;
}

.site-footer__bottom--reordered .site-footer__copyright {
    margin-left: auto;
}

@media (max-width: 600px) {
    .site-footer__inner--compact {
        padding-bottom: 28px;
    }

    .site-footer__contact--under-logo {
        margin-top: 20px;
    }

    .site-footer__bottom--reordered {
        gap: 14px;
    }

    .site-footer__bottom--reordered .site-footer__copyright {
        margin-left: 0;
    }
}

/* v0.60 – vier Referenzprojekte auf der Startseite */
@media (min-width: 981px) {
    .project-grid--references {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-grid--references .project-card__body > p:last-child {
        max-width: 48ch;
    }
}
