/*
Theme Name: S.Grau Solutions
Theme URI: https://grau.solutions
Author: OpenAI
Description: Individuelles WordPress Theme für grau.solutions – Hero/Header/Footer
Version: 1.1.2
Text Domain: sgrau
*/

:root {
    --sg-blue: #0f2636;
    --sg-blue-dark: #091923;
    --sg-black: #244357;
    --sg-text: #28495d;
    --sg-muted: rgba(40, 73, 93, 0.66);

    --sg-bg: #f4f1ea;
    --sg-bg-soft: #faf9f5;
    --sg-border: rgba(15, 38, 54, 0.12);

    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --container: 1500px;
    --header-height: 98px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    background: var(--sg-bg);
    color: var(--sg-text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

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

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

.site-shell {
    overflow-x: hidden;
    overflow-y: visible;
    padding-top: var(--header-height);
}

/* Header */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
    background: #f4f1ea;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(246, 246, 244, 0.82);
    border-bottom-color: rgba(15, 38, 54, 0.06);
    box-shadow: 0 18px 50px rgba(15, 38, 54, 0.045);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.admin-bar .site-header {
    top: 32px;
}

.site-header__inner {
    width: min(var(--container), calc(100% - 96px));
    height: var(--header-height);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.site-logo__mark {
    display: inline-flex;
    width: 155px;
    height: 58px;
    flex: 0 0 auto;
}

.site-logo__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.main-nav {
    justify-self: center;
}

.main-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(30px, 4vw, 62px);
}

.main-nav__list a {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 520;
    letter-spacing: 0.055em;
    text-transform: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav__list a:hover,
.footer-nav__list a:hover {
    color: var(--sg-blue);
}

.header-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: var(--sg-blue);
    color: #fff;
    border: 1px solid var(--sg-blue);
    line-height: 1;
    font-family: var(--font-sans);
    font-weight: 650;
    text-transform: uppercase;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.header-button {
    min-height: 50px;
    padding: 0 30px;
    font-size: 13px;
    font-weight: 620;
    letter-spacing: 0.075em;
    text-transform: none;
}

.primary-button {
    min-height: 54px;
    padding: 0 28px;
    font-size: 12px;
    letter-spacing: 0.18em;
    min-width: 214px;
}

.header-button:hover,
.primary-button:hover {
    background: var(--sg-blue-dark);
    border-color: var(--sg-blue-dark);
    transform: translateY(-1px);
}

/* Hero */

.hero-section {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    background:
        radial-gradient(
            circle at 75% 34%,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.72) 18%,
            rgba(246, 246, 244, 0) 56%
        ),
        linear-gradient(180deg, #f8f8f6 0%, #f3f3f1 100%);
    overflow: hidden;
}

.hero-section__inner {
    width: min(var(--container), calc(100% - 96px));
    min-height: calc(100vh - var(--header-height));
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-media::before {
    content: none;
    display: none;
}

.hero-media__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.01) contrast(1.02);
}

.hero-content {
    position: relative;
    max-width: 860px;
    padding: 0 0 54px 126px;
    z-index: 3;
}

.section-kicker {
    margin: 0 0 38px;
    color: var(--sg-blue);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(54px, 4.15vw, 78px);
    line-height: 1.04;
    font-weight: 500;
    letter-spacing: -0.055em;
    color: var(--sg-black);
    white-space: nowrap;
}

.hero-title span,
.hero-title em {
    display: block;
}

.hero-title span + em,
.hero-title em + span {
    margin-top: 0.04em;
}

.hero-title em {
    font-style: italic;
    color: var(--sg-blue);
}

.hero-line {
    width: 58px;
    height: 1px;
    background: rgba(15, 38, 54, 0.8);
    margin: 42px 0 38px;
}

.hero-text {
    max-width: 500px;
    margin: 0 0 44px;
    font-size: 18px;
    line-height: 1.72;
}

.scroll-indicator {
    display: none !important;
}


/* Footer */

.site-footer {
    background: var(--sg-bg-soft);
    border-top: 1px solid var(--sg-border);
}

.site-footer__inner {
    width: min(var(--container), calc(100% - 96px));
    min-height: 86px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.footer-logo__mark {
    display: inline-flex;
    width: 112px;
    height: 34px;
}

.footer-logo__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.footer-nav {
    justify-self: center;
}

.footer-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.footer-nav__list a,
.footer-copy {
    color: var(--sg-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-copy {
    margin: 0;
}

/* Generic content fallback */

.site-main__default {
    width: min(var(--container), calc(100% - 96px));
    margin: 180px auto 100px;
}

/* Responsive */

@media (max-width: 1360px) {
    .site-header__inner,
    .hero-section__inner,
    .site-footer__inner,
    .site-main__default {
        width: min(var(--container), calc(100% - 64px));
    }

    .hero-content {
        padding-left: 88px;
        max-width: 820px;
    }

    .hero-title {
        font-size: clamp(50px, 4vw, 72px);
    }
}

@media (max-width: 1180px) {
    :root {
        --header-height: 92px;
    }

    .main-nav__list {
        gap: 24px;
    }

    .main-nav__list a {
        font-size: 12.5px;
        letter-spacing: 0.045em;
    }

    .site-logo__mark {
        width: 140px;
        height: 52px;
    }

    .header-button {
        min-height: 46px;
        padding: 0 24px;
        font-size: 12px;
        letter-spacing: 0.06em;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-section__inner {
        min-height: auto;
        padding: 72px 0 86px;
        align-items: flex-start;
    }

    .hero-media {
        position: absolute;
        inset: 0;
    }

    .hero-media__image {
        object-position: 65% center;
    }

    .hero-content {
        padding: 0 0 0 0;
        max-width: 760px;
    }

    .hero-title {
        white-space: normal;
        font-size: clamp(52px, 8vw, 76px);
        line-height: 0.95;
    }

    .hero-side-nav {
        display: none;
    }
}

@media (max-width: 920px) {
    :root {
        --header-height: 82px;
    }

    .admin-bar .site-header {
        top: 46px;
    }

    .site-header__inner {
        width: calc(100% - 40px);
        height: 82px;
        display: flex;
        justify-content: space-between;
        gap: 18px;
    }

    .main-nav {
        display: none;
    }

    .site-logo__mark {
        width: 132px;
        height: 46px;
    }

    .header-button,
    .primary-button {
        min-height: 48px;
        padding: 0 18px;
        font-size: 11px;
    }

    .hero-section__inner,
    .site-footer__inner,
    .site-main__default {
        width: calc(100% - 40px);
    }

    .hero-section__inner {
        padding-top: 58px;
    }

    .hero-media::before {
        background: linear-gradient(
            180deg,
            rgba(246, 246, 244, 0.86) 0%,
            rgba(246, 246, 244, 0.72) 36%,
            rgba(246, 246, 244, 0.28) 64%,
            rgba(246, 246, 244, 0) 100%
        );
    }

    .hero-media__image {
        opacity: 0.55;
        object-position: 66% center;
    }

    .hero-title {
        font-size: clamp(46px, 12vw, 70px);
        line-height: 0.96;
        white-space: normal;
    }

    .hero-line {
        margin: 30px 0 26px;
    }

    .hero-text {
        font-size: 17px;
        margin-bottom: 34px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 28px 0;
        gap: 20px;
    }
}

@media (max-width: 560px) {
    .site-header__inner,
    .hero-section__inner,
    .site-footer__inner,
    .site-main__default {
        width: calc(100% - 28px);
    }

    .site-logo__mark {
        width: 118px;
        height: 40px;
    }

    .header-button {
        min-height: 42px;
        padding: 0 14px;
        font-size: 10px;
    }

    .section-kicker {
        font-size: 11px;
        margin-bottom: 22px;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-text {
        max-width: 100%;
        font-size: 16px;
    }

    .primary-button {
        min-width: 190px;
    }

    .footer-logo__mark {
        width: 104px;
        height: 32px;
    }

    .footer-nav__list {
        gap: 18px;
    }
}
/* Mobile Burger Navigation */

.mobile-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    border: 1px solid rgba(15, 38, 54, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    color: var(--sg-black);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.mobile-menu-toggle:hover {
    border-color: rgba(15, 38, 54, 0.36);
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

.mobile-menu-toggle__line {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.22s ease, opacity 0.18s ease;
}

.mobile-nav {
    display: none;
}

@media (max-width: 920px) {
    .site-header {
        border-bottom: 1px solid rgba(15, 38, 54, 0.08);
    }

    .site-header__inner {
        position: relative;
    }

    .header-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .mobile-nav:not([hidden]) {
        display: block;
    }

    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #f4f1ea;
        border-top: 1px solid rgba(15, 38, 54, 0.08);
        border-bottom: 1px solid rgba(15, 38, 54, 0.10);
        box-shadow: 0 18px 42px rgba(15, 38, 54, 0.08);
        padding: 18px 0 24px;
    }

    .mobile-nav__list {
        width: calc(100% - 40px);
        max-width: 720px;
        list-style: none;
        margin: 0 auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mobile-nav__list li {
        border-bottom: 1px solid rgba(15, 38, 54, 0.08);
    }

    .mobile-nav__list a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 52px;
        color: var(--sg-black);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    .mobile-nav__list a::after {
        content: "→";
        color: var(--sg-blue);
        font-size: 16px;
        letter-spacing: 0;
        transform: translateY(-1px);
    }

    .mobile-nav__contact {
        width: calc(100% - 40px);
        max-width: 720px;
        min-height: 50px;
        margin: 20px auto 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--sg-blue);
        border: 1px solid var(--sg-blue);
        color: #fff;
        font-size: 11.5px;
        font-weight: 800;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .mobile-nav__contact:hover {
        background: var(--sg-blue-dark);
        border-color: var(--sg-blue-dark);
    }

    .mobile-menu-is-open .mobile-menu-toggle__line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-is-open .mobile-menu-toggle__line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-is-open .mobile-menu-toggle__line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 560px) {
    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .mobile-nav__list,
    .mobile-nav__contact {
        width: calc(100% - 28px);
    }
}


/* Section heading */

.section-heading {
    margin-bottom: 56px;
}

.section-heading--center {
    text-align: center;
}

.section-eyebrow {
    margin: 0 0 12px;
    color: var(--sg-blue);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    color: var(--sg-black);
    font-family: var(--font-serif);
    font-size: clamp(38px, 3.15vw, 58px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.04em;
}

/* Services */

.services-section {
    padding: 92px 0 98px;
    background: #fbfbfa;
    border-top: 1px solid rgba(15, 38, 54, 0.04);
}

.services-section__inner {
    width: min(var(--container), calc(100% - 96px));
    margin: 0 auto;
}

.services-section .section-heading {
    margin-bottom: 52px;
}

.services-section .section-title {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid rgba(15, 38, 54, 0.07);
    border-radius: 32px;
    overflow: hidden;
    background: #fbfbfa;
}

.service-card {
    min-height: 250px;
    padding: 34px 30px 30px;
    border-right: 1px solid rgba(15, 38, 54, 0.07);
    border-bottom: 1px solid rgba(15, 38, 54, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:nth-child(3n) {
    border-right: none;
}

.service-card:nth-last-child(-n + 3) {
    border-bottom: none;
}

.service-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    color: var(--sg-blue);
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-card__title {
    margin: 0 0 14px;
    color: var(--sg-black);
    font-family: var(--font-serif);
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.service-card__text {
    margin: 0;
    color: #2f2f2f;
    font-size: 14px;
    line-height: 1.75;
}

@media (max-width: 900px) {
    .services-section {
        padding: 76px 0 80px;
    }

    .services-section__inner {
        width: min(var(--container), calc(100% - 48px));
    }

    .services-section .section-heading {
        margin-bottom: 40px;
    }

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

    .service-card:nth-child(3n) {
        border-right: 1px solid rgba(15, 38, 54, 0.07);
    }

    .service-card:nth-child(2n) {
        border-right: none;
    }

    .service-card:nth-last-child(-n + 3) {
        border-bottom: 1px solid rgba(15, 38, 54, 0.07);
    }

    .service-card:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

@media (max-width: 640px) {
    .services-section__inner {
        width: min(var(--container), calc(100% - 32px));
    }

    .section-title {
        font-size: clamp(34px, 9vw, 46px);
        line-height: 1.02;
    }

    .services-grid {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .service-card {
        min-height: auto;
        padding: 28px 24px;
        border-right: none !important;
    }

    .service-card:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgba(15, 38, 54, 0.07);
    }

    .service-card:last-child {
        border-bottom: none;
    }
}


/* Process */

.process-section {
    position: relative;
    overflow: hidden;
    padding: 88px 0 92px;
    background: #f5f5f3;
    border-top: 1px solid rgba(15, 38, 54, 0.05);
}

.process-section__inner {
    width: min(var(--container), calc(100% - 96px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: clamp(56px, 6vw, 112px);
    align-items: start;
}

.process-section__media {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(33vw, 520px);
    height: 100%;
    opacity: 1;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.process-section__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(245,245,243,0.08) 0%, rgba(245,245,243,0.16) 34%, rgba(245,245,243,0.92) 100%);
    z-index: 2;
}

.process-section__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: left top;
    filter: saturate(0.82) contrast(0.97) brightness(1.05);
}

.process-intro {
    padding-left: 108px;
}

.process-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(46px, 3.6vw, 70px);
    line-height: 0.94;
    font-weight: 500;
    letter-spacing: -0.05em;
    color: var(--sg-black);
}

.process-title em {
    color: var(--sg-black);
    font-style: italic;
    font-weight: 500;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(22px, 2.8vw, 54px);
    padding-top: 10px;
}

.process-step {
    min-width: 0;
}

.process-step__top {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.process-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(15, 38, 54, 0.22);
    border-radius: 999px;
    color: var(--sg-blue);
    background: rgba(15, 38, 54, 0.035);
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.12em;
    box-shadow: 0 14px 34px rgba(15, 38, 54, 0.045);
}

.process-step__arrow {
    flex: 1 1 auto;
    color: rgba(15, 38, 54, 0.30);
    font-size: 24px;
    line-height: 1;
    text-align: right;
}

.process-step__title {
    margin: 0 0 14px;
    font-family: var(--font-serif);
    font-size: 28px;
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.035em;
    color: var(--sg-black);
}

.process-step__text {
    margin: 0;
    color: #2f2f2f;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 1280px) {
    .process-section__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .process-intro {
        padding-left: 0;
    }

    .process-steps {
        grid-template-columns: repeat(5, minmax(140px, 1fr));
        overflow-x: auto;
        padding-bottom: 12px;
    }
}

@media (max-width: 900px) {
    .process-section {
        padding: 76px 0 80px;
    }

    .process-section__inner {
        width: min(var(--container), calc(100% - 48px));
    }

    .process-section__media {
        width: 280px;
        height: 180px;
        top: auto;
        bottom: 0;
        left: 0;
        opacity: 0.52;
    }

    .process-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        overflow: visible;
        padding-bottom: 0;
        border-top: 1px solid rgba(15, 38, 54, 0.08);
    }

    .process-step {
        padding: 24px 0;
        border-bottom: 1px solid rgba(15, 38, 54, 0.08);
    }

    .process-step__top {
        min-height: 42px;
        margin-bottom: 12px;
    }

    .process-step__number {
        width: 42px;
        height: 42px;
        font-size: 12px;
    }

    .process-step__arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    .process-section__inner {
        width: min(var(--container), calc(100% - 32px));
    }

    .process-title {
        font-size: clamp(42px, 12vw, 56px);
    }
}


/* Projects */

.projects-section {
    padding: 96px 0 110px;
    background: #fbfbfa;
    border-top: 1px solid rgba(15, 38, 54, 0.05);
}

.projects-section__inner {
    width: min(var(--container), calc(100% - 96px));
    margin: 0 auto;
}

.projects-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 44px;
}

.projects-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(42px, 3.25vw, 62px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.045em;
    color: var(--sg-black);
}

.projects-title em {
    color: var(--sg-black);
    font-style: italic;
    font-weight: 500;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--sg-blue);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3.2vw, 52px);
}

.project-card__image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.95 / 1;
    background: #f0f0ee;
    margin-bottom: 22px;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.035);
}

.project-card__eyebrow {
    margin: 0 0 10px;
    color: var(--sg-blue);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.project-card__title {
    margin: 0 0 10px;
    font-family: var(--font-serif);
    font-size: clamp(26px, 1.9vw, 34px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.035em;
    color: var(--sg-black);
}

.project-card__text {
    max-width: 460px;
    margin: 0 0 18px;
    color: #2f2f2f;
    font-size: 14px;
    line-height: 1.7;
}

.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--sg-blue);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .project-card {
        display: grid;
        grid-template-columns: minmax(280px, 0.9fr) 1fr;
        gap: 28px;
        align-items: center;
    }

    .project-card__image {
        margin-bottom: 0;
    }
}

@media (max-width: 760px) {
    .projects-section {
        padding: 76px 0 84px;
    }

    .projects-section__inner {
        width: min(var(--container), calc(100% - 32px));
    }

    .projects-head {
        display: block;
        margin-bottom: 36px;
    }

    .section-link {
        margin-top: 22px;
    }

    .project-card {
        display: block;
    }

    .project-card__image {
        margin-bottom: 20px;
    }
}


/* Über Grau Solutions */

.about-solutions-section {
    padding: 104px 0 112px;
    background: #f4f1ea;
    border-top: 1px solid rgba(15, 38, 54, 0.05);
}

.about-solutions-section__inner {
    width: min(var(--container), calc(100% - 96px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
    gap: clamp(44px, 6vw, 96px);
    align-items: center;
}

.about-solutions-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(44px, 4.2vw, 78px);
    line-height: 0.94;
    font-weight: 500;
    letter-spacing: -0.055em;
    color: var(--sg-black);
}

.about-solutions-title em {
    color: var(--sg-blue);
    font-style: italic;
    font-weight: 500;
}

.about-solutions-text {
    max-width: 650px;
    margin: 30px 0 0;
    color: #4e4e4b;
    font-size: clamp(17px, 1.15vw, 20px);
    line-height: 1.72;
}

.about-solutions-actions {
    margin-top: 34px;
}

.about-solutions-panel {
    position: relative;
}


.about-solutions-note {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    padding: 28px 30px;
    background: var(--sg-black);
    color: #fff;
}

.about-solutions-note__label {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-solutions-note p {
    margin: 0;
    max-width: 520px;
    font-family: var(--font-serif);
    font-size: clamp(27px, 2vw, 39px);
    line-height: 1.04;
    font-weight: 500;
    letter-spacing: -0.04em;
}

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

.about-solutions-card {
    min-height: 190px;
    padding: 28px 28px 30px;
    background: #fbfbfa;
    border: 1px solid rgba(15, 38, 54, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-solutions-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 38, 54, 0.28);
}

.about-solutions-card h3 {
    margin: 0 0 16px;
    font-family: var(--font-serif);
    font-size: clamp(27px, 1.8vw, 36px);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: var(--sg-black);
}

.about-solutions-card p {
    margin: 0;
    color: #656560;
    font-size: 14px;
    line-height: 1.72;
}

@media (max-width: 1100px) {
    .about-solutions-section__inner {
        grid-template-columns: 1fr;
        gap: 46px;
    }
}

@media (max-width: 760px) {
    .about-solutions-section {
        padding: 76px 0 84px;
    }

    .about-solutions-section__inner {
        width: min(var(--container), calc(100% - 32px));
    }

    .about-solutions-grid {
        grid-template-columns: 1fr;
    }

    .about-solutions-note {
        padding: 24px 24px;
    }

    .about-solutions-card {
        min-height: 0;
        padding: 24px 24px 26px;
    }
}


/* CTA Banner */

.cta-banner {
    background: #0f2636;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.cta-banner__inner {
    width: 100%;
    min-height: 292px;
    position: relative;
}

.cta-banner__content {
    width: min(var(--container), calc(100% - 96px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    min-height: 292px;
    padding: 42px min(38vw, 560px) 42px 0;
    position: relative;
    z-index: 3;
}

.cta-banner__eyebrow {
    margin: 0 0 14px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cta-banner__title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(54px, 4vw, 74px);
    line-height: 0.92;
    font-weight: 500;
    letter-spacing: -0.05em;
    color: #fff;
}

.cta-banner__title em {
    font-style: italic;
    font-weight: 500;
}

.cta-banner__text {
    max-width: 420px;
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,0.96);
}

.cta-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 0 26px;
    background: #fff;
    border: 1px solid #fff;
    color: var(--sg-blue);
    font-size: 11.5px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cta-banner__button:hover {
    transform: translateY(-1px);
    background: #f4f1ea;
}

.cta-banner__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(38vw, 560px);
    overflow: hidden;
    z-index: 1;
}

.cta-banner__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(15,38,54,1) 0%,
        rgba(15,38,54,0.94) 8%,
        rgba(15,38,54,0.72) 18%,
        rgba(15,38,54,0.44) 30%,
        rgba(15,38,54,0.18) 44%,
        rgba(15,38,54,0.04) 56%,
        rgba(15,38,54,0) 66%);
    z-index: 2;
}

.cta-banner__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: right center;
    filter: saturate(1.02) contrast(1.02) brightness(0.98);
}

@media (max-width: 1100px) {
    .cta-banner__inner {
        width: min(var(--container), calc(100% - 48px));
        margin: 0 auto;
        min-height: 0;
    }

    .cta-banner__content {
        width: 100%;
        margin: 0;
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 42px 0 24px;
    }

    .cta-banner__text {
        max-width: 680px;
    }

    .cta-banner__media {
        position: relative;
        width: 100%;
        min-height: 220px;
    }
}

@media (max-width: 760px) {
    .cta-banner__inner {
        width: min(var(--container), calc(100% - 32px));
    }

    .cta-banner__content {
        padding: 38px 0 18px;
    }

    .cta-banner__title {
        font-size: clamp(44px, 12vw, 58px);
    }

    .cta-banner__text {
        font-size: 16px;
    }

    .cta-banner__button {
        width: 100%;
    }

    .cta-banner__media {
        min-height: 180px;
    }
}

/* Legal pages: Impressum & Datenschutz */

.legal-page {
    background: var(--sg-bg);
    color: var(--sg-text);
}

.legal-hero {
    position: relative;
    padding: clamp(82px, 9vw, 150px) 0 clamp(46px, 6vw, 84px);
    overflow: hidden;
    border-bottom: 1px solid var(--sg-border);
}

.legal-hero::before {
    content: "";
    position: absolute;
    top: clamp(42px, 8vw, 120px);
    right: max(-120px, -7vw);
    width: clamp(320px, 34vw, 620px);
    height: clamp(220px, 24vw, 430px);
    background:
        linear-gradient(135deg, rgba(15, 38, 54, 0.95) 0%, rgba(15, 38, 54, 0.95) 28%, transparent 28.5%),
        linear-gradient(35deg, rgba(15, 38, 54, 0.08), rgba(255, 255, 255, 0.12));
    clip-path: polygon(18% 18%, 100% 0, 82% 100%, 0 74%);
    opacity: 0.16;
    pointer-events: none;
}

.legal-hero::after {
    content: "";
    position: absolute;
    right: clamp(40px, 14vw, 250px);
    bottom: -90px;
    width: clamp(220px, 24vw, 420px);
    height: clamp(160px, 18vw, 300px);
    border: 1px solid rgba(15, 38, 54, 0.08);
    border-radius: 100% 0 0 0;
    transform: rotate(-8deg);
    opacity: 0.55;
    pointer-events: none;
}

.legal-hero__inner,
.legal-content__grid {
    width: min(var(--container), calc(100% - 96px));
    margin: 0 auto;
}

.legal-hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
}

.legal-hero__kicker,
.legal-sidebar__eyebrow {
    color: var(--sg-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.legal-hero__title {
    margin: 22px 0 22px;
    max-width: 820px;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(64px, 8vw, 128px);
    line-height: 0.92;
    letter-spacing: -0.045em;
}

.legal-hero__intro {
    max-width: 650px;
    margin: 0;
    color: var(--sg-muted);
    font-size: clamp(18px, 1.35vw, 22px);
    line-height: 1.65;
}

.legal-content {
    padding: clamp(54px, 7vw, 108px) 0 clamp(80px, 9vw, 140px);
}

.legal-content__grid {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 34px);
}

.legal-sidebar__card {
    padding: 30px 30px 32px;
    border: 1px solid var(--sg-border);
    background: rgba(255, 255, 255, 0.42);
}

.legal-sidebar__card p {
    margin: 16px 0 0;
    color: var(--sg-muted);
    font-size: 15px;
    line-height: 1.72;
}

.legal-card {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--sg-border);
    padding: clamp(34px, 5vw, 72px);
}

.legal-block {
    padding: 0 0 clamp(34px, 4vw, 56px);
    margin: 0 0 clamp(34px, 4vw, 56px);
    border-bottom: 1px solid var(--sg-border);
}

.legal-block:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.legal-block h2 {
    margin: 0 0 18px;
    font-family: var(--font-serif);
    font-size: clamp(32px, 3vw, 50px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 500;
}

.legal-block p,
.legal-block li {
    color: var(--sg-text);
    font-size: 17px;
    line-height: 1.78;
}

.legal-block p {
    margin: 0 0 18px;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block ul {
    margin: 18px 0 22px;
    padding-left: 1.2em;
}

.legal-block li + li {
    margin-top: 8px;
}

.legal-block a {
    color: var(--sg-blue);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.legal-note {
    padding: 18px 20px;
    background: rgba(15, 38, 54, 0.055);
    border-left: 3px solid var(--sg-blue);
    color: var(--sg-muted) !important;
}

@media (max-width: 980px) {
    .legal-hero__inner,
    .legal-content__grid {
        width: min(var(--container), calc(100% - 48px));
    }

    .legal-content__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .legal-sidebar {
        position: relative;
        top: auto;
    }
}

@media (max-width: 640px) {
    .legal-hero__inner,
    .legal-content__grid {
        width: min(var(--container), calc(100% - 32px));
    }

    .legal-card,
    .legal-sidebar__card {
        padding: 26px 22px;
    }

    .legal-block p,
    .legal-block li {
        font-size: 16px;
    }
}

/* Leistungen / "Was wir tun" kompakter setzen */
.services-section,
.what-section,
.section-services {
  padding-left: clamp(32px, 7vw, 120px);
  padding-right: clamp(32px, 7vw, 120px);
}

.services-grid,
.what-grid,
.service-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.service-card,
.what-card,
.services-card {
  padding: clamp(34px, 3.2vw, 58px);
  min-height: 250px;
}

.service-card h3,
.what-card h3,
.services-card h3 {
  margin-top: 28px;
  margin-bottom: 18px;
}

.service-card p,
.what-card p,
.services-card p {
  max-width: 430px;
  line-height: 1.65;
}

/* Desktop: etwas mehr Seitenluft */
@media (min-width: 1100px) {
  .services-grid,
  .what-grid,
  .service-grid {
    width: min(100%, 1120px);
  }
}

/* Tablet */
@media (max-width: 900px) {
  .services-section,
  .what-section,
  .section-services {
    padding-left: 24px;
    padding-right: 24px;
  }

  .service-card,
  .what-card,
  .services-card {
    padding: 32px;
    min-height: auto;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .services-grid,
  .what-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .what-card,
  .services-card {
    padding: 28px 24px;
  }
}
/* Client Portal */
.client-portal-page {
    background: var(--sg-bg);
}

.client-portal-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 6.8vw, 104px) 0 clamp(46px, 5.2vw, 76px);
    isolation: isolate;
}

.client-portal-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: clamp(320px, 42vw, 560px);
    background-image: linear-gradient(90deg, rgba(250, 250, 248, 0.06), rgba(250, 250, 248, 0.28) 48%, rgba(250, 250, 248, 0.72) 100%), var(--client-portal-hero-image);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 1;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,.62) 83%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,.62) 83%, transparent 100%);
    z-index: -2;
}

.client-portal-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 22%, rgba(255,255,255,.22), transparent 26%), linear-gradient(to bottom, rgba(250,250,248,.02), var(--sg-bg) 88%);
    pointer-events: none;
    z-index: -1;
}

.client-portal-hero__inner,
.client-portal-detail__inner {
    width: min(var(--container), calc(100% - 96px));
    margin: 0 auto;
}

.client-portal-hero--split .client-portal-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: clamp(26px, 3.6vw, 54px);
    align-items: center;
}

.client-portal-copy {
    min-width: 0;
    padding: clamp(18px, 2vw, 30px) 0;
}

.client-portal-title {
    max-width: 760px;
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(46px, 5.55vw, 88px);
    line-height: 0.94;
    letter-spacing: -0.055em;
    font-weight: 500;
    color: var(--sg-black);
}

.client-portal-title em {
    display: block;
    font-style: italic;
    color: var(--sg-blue);
    letter-spacing: -0.04em;
}

.client-portal-intro {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--sg-muted);
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.65;
}

.client-portal-login-card,
.client-portal-dashboard,
.client-portal-info-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 38, 54, 0.075);
    box-shadow: 0 22px 64px rgba(15, 38, 54, 0.055);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.client-portal-login-card,
.client-portal-dashboard {
    border-radius: 26px;
    padding: clamp(24px, 2.5vw, 34px);
}

.client-portal-login-card--hero,
.client-portal-dashboard--hero {
    width: min(100%, 392px);
    align-self: center;
    justify-self: start;
    transform: translate(clamp(-126px, -6.8vw, -64px), clamp(-38px, -2.4vw, -20px));
}

.client-portal-card__eyebrow,
.client-project-note span,
.client-project-card__topline span {
    color: var(--sg-muted);
}

.client-portal-card__eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 10px;
    font-weight: 750;
}

.client-portal-login-card h2,
.client-portal-welcome h2,
.client-project-card h3,
.client-portal-info-card h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: -0.035em;
    color: var(--sg-black);
}

.client-portal-login-card h2,
.client-portal-welcome h2 {
    font-size: clamp(28px, 2.55vw, 39px);
    line-height: 1.02;
}

.client-portal-login-card p {
    max-width: 420px;
    margin: 12px 0 22px;
    color: var(--sg-muted);
    font-size: 14px;
    line-height: 1.58;
}

.client-portal-login-form form {
    display: grid;
    gap: 12px;
    max-width: none;
}

.client-portal-login-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--sg-text);
    font-size: 11px;
    font-weight: 700;
}

.client-portal-login-form input[type="text"],
.client-portal-login-form input[type="password"] {
    width: 100%;
    height: 44px;
    border: 1px solid rgba(15, 38, 54, 0.12);
    border-radius: 999px;
    padding: 0 17px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--sg-text);
    font: inherit;
    outline: none;
}

.client-portal-login-form input[type="text"]:focus,
.client-portal-login-form input[type="password"]:focus {
    border-color: rgba(15, 38, 54, 0.42);
    box-shadow: 0 0 0 4px rgba(15, 38, 54, 0.08);
}

.client-portal-login-form .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--sg-muted);
    font-size: 12px;
    font-weight: 500;
}

.client-portal-login-form input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--sg-blue);
}

.client-portal-login-form input[type="submit"],
.client-project-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 44px;
    border: 1px solid var(--sg-blue);
    border-radius: 999px;
    padding: 0 22px;
    background: var(--sg-blue);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.client-portal-login-form input[type="submit"]:hover,
.client-project-button:hover {
    transform: translateY(-2px);
    background: var(--sg-blue-dark);
    border-color: var(--sg-blue-dark);
}

.client-portal-detail {
    padding: 0 0 clamp(76px, 9vw, 132px);
}

.client-portal-detail__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.client-portal-info-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
    border-radius: 26px;
    padding: 26px;
}

.client-portal-side-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(15, 38, 54, 0.08);
    color: var(--sg-blue);
    font-family: var(--font-serif);
    font-size: 20px;
    font-style: italic;
    flex: 0 0 auto;
}

.client-portal-info-card h2 {
    font-size: clamp(27px, 2.35vw, 36px);
    line-height: 1;
}

.client-portal-info-card p {
    max-width: 520px;
    margin: 11px 0 0;
    color: var(--sg-muted);
    line-height: 1.62;
}

.client-portal-welcome {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.client-portal-logout {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid rgba(15, 38, 54, 0.12);
    border-radius: 999px;
    padding: 0 14px;
    color: var(--sg-muted);
    font-size: 12px;
    font-weight: 650;
}

.client-project-card {
    border-radius: 22px;
    padding: clamp(20px, 2.1vw, 28px);
    background: rgba(246, 246, 244, 0.88);
    border: 1px solid rgba(15, 38, 54, 0.08);
}

.client-project-card__topline,
.client-project-progress__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.client-project-card__topline {
    margin-bottom: 20px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(15, 38, 54, 0.08);
    font-size: 13px;
}

.client-project-card__topline strong {
    color: var(--sg-blue);
}

.client-project-card h3 {
    font-size: clamp(30px, 3vw, 44px);
    line-height: 0.98;
}

.client-project-progress {
    margin-top: 24px;
}

.client-project-progress__meta {
    margin-bottom: 10px;
    color: var(--sg-muted);
    font-size: 14px;
}

.client-project-progress__meta strong {
    color: var(--sg-black);
}

.client-project-progress__bar {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 38, 54, 0.08);
}

.client-project-progress__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--sg-blue);
}

.client-project-note {
    margin: 22px 0;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(15, 38, 54, 0.07);
}

.client-project-note span {
    display: block;
    margin-bottom: 9px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 750;
}

.client-project-note p {
    margin: 0;
    color: var(--sg-text);
    line-height: 1.62;
}

.client-project-empty {
    display: inline-flex;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(15, 38, 54, 0.06);
    color: var(--sg-muted);
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .client-portal-hero--split .client-portal-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
        gap: 34px;
    }

    .client-portal-title {
        font-size: clamp(44px, 6.3vw, 74px);
    }
}

@media (max-width: 900px) {
    .client-portal-hero::before {
        height: clamp(420px, 80vw, 620px);
        background-position: left top;
        opacity: 0.9;
    }

    .client-portal-hero__inner,
    .client-portal-detail__inner {
        width: min(var(--container), calc(100% - 48px));
    }

    .client-portal-hero--split .client-portal-hero__inner,
    .client-portal-detail__inner {
        grid-template-columns: 1fr;
    }

    .client-portal-login-card--hero,
    .client-portal-dashboard--hero {
        transform: none;
        justify-self: stretch;
        width: 100%;
    }

    .client-portal-hero {
        padding-top: 58px;
    }
}

@media (max-width: 640px) {
    .client-portal-hero__inner,
    .client-portal-detail__inner {
        width: min(var(--container), calc(100% - 32px));
    }

    .client-portal-title {
        font-size: clamp(41px, 12vw, 58px);
    }

    .client-portal-login-card,
    .client-portal-dashboard,
    .client-portal-info-card {
        border-radius: 24px;
        padding: 22px 20px;
    }

    .client-portal-info-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .client-portal-welcome,
    .client-project-card__topline,
    .client-project-progress__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .client-portal-login-form input[type="submit"],
    .client-project-button {
        width: 100%;
    }
}

/* ------------------------------------------------------------
   Header Feinschliff v1.0.8
   Weißer, schmalerer Header mit weicher Außenwölbung
------------------------------------------------------------ */

:root {
    --header-height: 76px;
}

.site-shell {
    padding-top: var(--header-height);
}

.site-header {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    overflow: visible;
    isolation: isolate;
}

.site-header::before {
    content: "";
    position: absolute;
    left: clamp(18px, 3.2vw, 58px);
    right: clamp(18px, 3.2vw, 58px);
    top: 10px;
    height: calc(var(--header-height) - 14px);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 38, 54, 0.055);
    border-radius: 0 0 34px 34px;
    box-shadow:
        0 22px 48px rgba(15, 38, 54, 0.075),
        inset 0 -1px 0 rgba(255, 255, 255, 0.92);
    z-index: -2;
    pointer-events: none;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(var(--header-height) - 18px);
    width: min(420px, 42vw);
    height: 42px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 0 0 999px 999px;
    box-shadow: 0 20px 34px rgba(15, 38, 54, 0.045);
    z-index: -3;
    pointer-events: none;
}

.site-header.is-scrolled {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header.is-scrolled::before {
    background: rgba(255, 255, 255, 0.90);
    border-color: rgba(15, 38, 54, 0.065);
    box-shadow:
        0 20px 46px rgba(15, 38, 54, 0.095),
        inset 0 -1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-header.is-scrolled::after {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-header__inner {
    width: min(1380px, calc(100% - 116px));
    height: var(--header-height);
    gap: clamp(24px, 3vw, 42px);
    position: relative;
    z-index: 2;
}

.site-logo__mark {
    width: 132px;
    height: 50px;
}

.main-nav__list {
    gap: clamp(24px, 3.2vw, 52px);
}

.main-nav__list a {
    font-size: 13px;
    font-weight: 560;
    letter-spacing: 0.04em;
}

.header-button {
    min-height: 42px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--sg-blue);
    border-color: var(--sg-blue);
    box-shadow: 0 12px 24px rgba(15, 38, 54, 0.18);
    font-size: 12px;
    font-weight: 680;
    letter-spacing: 0.055em;
}

.header-button:hover {
    background: var(--sg-blue-dark);
    border-color: var(--sg-blue-dark);
    box-shadow: 0 16px 28px rgba(15, 38, 54, 0.23);
}

.mobile-nav__contact {
    border-radius: 999px;
}

@media (max-width: 1180px) {
    :root {
        --header-height: 72px;
    }

    .site-header__inner {
        width: calc(100% - 72px);
    }

    .site-header::before {
        left: 24px;
        right: 24px;
        border-radius: 0 0 30px 30px;
    }

    .site-logo__mark {
        width: 124px;
        height: 46px;
    }

    .main-nav__list {
        gap: 22px;
    }
}

@media (max-width: 920px) {
    :root {
        --header-height: 72px;
    }

    .site-header {
        border-bottom: 0;
    }

    .site-header::before {
        left: 14px;
        right: 14px;
        top: 8px;
        height: 58px;
        border-radius: 0 0 26px 26px;
    }

    .site-header::after {
        width: min(260px, 58vw);
        height: 28px;
        top: 54px;
    }

    .site-header__inner {
        width: calc(100% - 42px);
        height: var(--header-height);
    }

    .site-logo__mark {
        width: 118px;
        height: 42px;
    }

    .mobile-nav {
        left: 14px;
        right: 14px;
        width: auto;
        top: calc(100% - 2px);
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(15, 38, 54, 0.07);
        border-top: 0;
        border-radius: 0 0 26px 26px;
        box-shadow: 0 20px 42px rgba(15, 38, 54, 0.09);
    }
}

@media (max-width: 640px) {
    .site-header__inner {
        width: calc(100% - 32px);
    }

    .site-header::before {
        left: 10px;
        right: 10px;
    }
}


/* ------------------------------------------------------------
   Header Feinschliff v1.0.9
   Vollbreiter weißer Header mit optischer Rundung durch Kantenverlauf
------------------------------------------------------------ */

:root {
    --header-height: 72px;
}

.site-shell {
    padding-top: var(--header-height);
}

.site-header,
.site-header.is-scrolled {
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.99) 58%,
            rgba(248, 251, 255, 0.97) 78%,
            rgba(229, 237, 247, 0.86) 100%);
    border-bottom: 1px solid rgba(15, 38, 54, 0.055);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 10px 18px rgba(9, 24, 45, 0.045),
        0 22px 44px rgba(9, 24, 45, 0.055);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: visible;
    isolation: isolate;
}

.site-header::before,
.site-header.is-scrolled::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -16px;
    top: auto;
    width: auto;
    height: 16px;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(180deg,
        rgba(16, 35, 58, 0.13) 0%,
        rgba(16, 35, 58, 0.065) 38%,
        rgba(16, 35, 58, 0.018) 78%,
        rgba(16, 35, 58, 0) 100%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: blur(0.5px);
}

.site-header::after,
.site-header.is-scrolled::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: auto;
    height: 22px;
    transform: none;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(120% 42px at 50% 100%,
        rgba(197, 214, 232, 0.48) 0%,
        rgba(223, 233, 244, 0.30) 34%,
        rgba(255, 255, 255, 0) 72%);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header__inner {
    width: min(var(--container), calc(100% - 96px));
    height: var(--header-height);
    gap: clamp(26px, 3vw, 44px);
    position: relative;
    z-index: 2;
}

.site-logo__mark {
    width: 140px;
    height: 48px;
}

.main-nav__list {
    gap: clamp(24px, 3vw, 48px);
}

.main-nav__list a {
    font-size: 13px;
    font-weight: 560;
    letter-spacing: 0.04em;
}

.header-button,
.mobile-nav__contact {
    border-radius: 18px;
    background: var(--sg-blue);
    border-color: var(--sg-blue);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 38, 54, 0.18);
}

.header-button {
    min-height: 40px;
    padding: 0 24px;
    font-size: 12px;
    font-weight: 680;
    letter-spacing: 0.055em;
}

.header-button:hover,
.mobile-nav__contact:hover {
    background: var(--sg-blue-dark);
    border-color: var(--sg-blue-dark);
    box-shadow: 0 16px 28px rgba(15, 38, 54, 0.23);
}

@media (max-width: 1180px) {
    :root {
        --header-height: 70px;
    }

    .site-header__inner {
        width: calc(100% - 72px);
    }

    .site-logo__mark {
        width: 132px;
        height: 44px;
    }
}

@media (max-width: 920px) {
    :root {
        --header-height: 68px;
    }

    .site-header,
    .site-header.is-scrolled {
        border-bottom: 1px solid rgba(15, 38, 54, 0.06);
    }

    .site-header__inner {
        width: calc(100% - 42px);
        height: var(--header-height);
    }

    .site-logo__mark {
        width: 122px;
        height: 40px;
    }

    .mobile-nav {
        left: 0;
        right: 0;
        width: 100%;
        top: 100%;
        background: rgba(255, 255, 255, 0.98);
        border: 0;
        border-top: 1px solid rgba(15, 38, 54, 0.055);
        border-radius: 0 0 24px 24px;
        box-shadow: 0 22px 46px rgba(9, 24, 45, 0.09);
    }
}

@media (max-width: 640px) {
    .site-header__inner {
        width: calc(100% - 32px);
    }
}


/* ------------------------------------------------------------
   Header Feinschliff v1.1.0
   Korrigiert: optische Rundung nur im Header selbst, ohne Blur auf dem Content
------------------------------------------------------------ */

.site-header,
.site-header.is-scrolled {
    background: linear-gradient(180deg,
        #ffffff 0%,
        #ffffff 62%,
        #f5f6f9 86%,
        #eceff4 100%);
    border-bottom: 1px solid rgba(20, 28, 40, 0.07);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        inset 0 -12px 20px -18px rgba(83, 96, 118, 0.34),
        0 4px 10px rgba(15, 23, 42, 0.03);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
}

.site-header::before,
.site-header::after,
.site-header.is-scrolled::before,
.site-header.is-scrolled::after {
    content: none;
    display: none;
}

.site-header__inner {
    width: min(var(--container), calc(100% - 72px));
}

@media (max-width: 1180px) {
    .site-header__inner {
        width: calc(100% - 56px);
    }
}

@media (max-width: 920px) {
    .site-header__inner {
        width: calc(100% - 32px);
    }

    .mobile-nav {
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    }
}

@media (max-width: 640px) {
    .site-header__inner {
        width: calc(100% - 24px);
    }
}


/* ------------------------------------------------------------
   Header Feinschliff v1.1.1
   Transparenterer Header
------------------------------------------------------------ */

.site-header,
.site-header.is-scrolled {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.84) 58%,
        rgba(247, 248, 251, 0.80) 84%,
        rgba(236, 239, 244, 0.74) 100%);
    border-bottom: 1px solid rgba(20, 28, 40, 0.05);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -10px 18px -18px rgba(83, 96, 118, 0.22),
        0 3px 8px rgba(15, 23, 42, 0.02);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header,
    .site-header.is-scrolled {
        backdrop-filter: saturate(120%) blur(6px);
        -webkit-backdrop-filter: saturate(120%) blur(6px);
    }
}

@media (max-width: 920px) {
    .mobile-nav {
        background: rgba(255, 255, 255, 0.94);
    }
}


/* ------------------------------------------------------------
   Header Feinschliff v1.1.2
   Noch transparenter
------------------------------------------------------------ */

.site-header,
.site-header.is-scrolled {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.74) 0%,
        rgba(255, 255, 255, 0.70) 56%,
        rgba(248, 249, 252, 0.64) 82%,
        rgba(237, 240, 245, 0.58) 100%);
    border-bottom: 1px solid rgba(20, 28, 40, 0.035);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -8px 16px -18px rgba(83, 96, 118, 0.14),
        0 2px 6px rgba(15, 23, 42, 0.012);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header,
    .site-header.is-scrolled {
        backdrop-filter: saturate(118%) blur(4px);
        -webkit-backdrop-filter: saturate(118%) blur(4px);
    }
}

.mobile-nav {
    background: rgba(255, 255, 255, 0.90);
}


/* ------------------------------------------------------------
   Seitliche Kontakt-Schublade v1.0
------------------------------------------------------------ */

.contact-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    pointer-events: none;
}

.contact-drawer__handle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1202;
    width: 54px;
    min-height: 168px;
    border: 0;
    border-radius: 30px 0 0 30px;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.70) 56%,
        rgba(236, 240, 246, 0.64) 100%);
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.58),
        inset -10px 0 22px -24px rgba(34, 48, 70, 0.38),
        0 18px 46px rgba(15, 23, 42, 0.10);
    color: var(--sg-ink);
    cursor: grab;
    pointer-events: auto;
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 18px 12px;
    overflow: hidden;
}

.contact-drawer__handle:active {
    cursor: grabbing;
}

.contact-drawer__handle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(90px 130px at 0% 50%, rgba(255,255,255,0.72), rgba(255,255,255,0) 64%);
    pointer-events: none;
}

.contact-drawer__handle-grip {
    position: relative;
    width: 18px;
    height: 34px;
    opacity: 0.62;
    background:
        linear-gradient(currentColor, currentColor) center 7px / 18px 1px no-repeat,
        linear-gradient(currentColor, currentColor) center 16px / 18px 1px no-repeat,
        linear-gradient(currentColor, currentColor) center 25px / 18px 1px no-repeat;
}

.contact-drawer__handle-text {
    position: relative;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-drawer__overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 15, 25, 0.20);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.contact-drawer__panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(460px, calc(100vw - 32px));
    height: 100vh;
    padding: clamp(34px, 6vw, 58px) clamp(24px, 4vw, 42px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.94));
    box-shadow: -28px 0 70px rgba(15, 23, 42, 0.16);
    transform: translateX(106%);
    transition: transform 320ms cubic-bezier(.22,.76,.25,1);
    pointer-events: auto;
    overflow-y: auto;
}

.contact-drawer.is-open {
    pointer-events: auto;
}

.contact-drawer.is-open .contact-drawer__overlay {
    opacity: 1;
    pointer-events: auto;
}

.contact-drawer.is-open .contact-drawer__panel {
    transform: translateX(0);
}

.contact-drawer.is-open .contact-drawer__handle {
    opacity: 0;
    pointer-events: none;
}

.contact-drawer__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(20, 28, 40, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--sg-ink);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.contact-drawer__kicker {
    margin: 0 0 12px;
    color: var(--sg-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-drawer__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: var(--sg-ink);
}

.contact-drawer__text {
    margin: 18px 0 0;
    color: var(--sg-muted);
    font-size: 15px;
    line-height: 1.7;
}

.contact-drawer__notice {
    margin: 24px 0 0;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-drawer__notice--success {
    background: rgba(15, 38, 54, 0.08);
    color: var(--sg-blue-dark);
}

.contact-drawer__notice--error {
    background: rgba(185, 70, 60, 0.08);
    color: #0f2636;
}

.contact-drawer__form {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-drawer__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-drawer__field {
    display: grid;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(20, 28, 40, 0.66);
}

.contact-drawer__field input,
.contact-drawer__field textarea {
    width: 100%;
    border: 1px solid rgba(20, 28, 40, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--sg-ink);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    padding: 15px 16px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-drawer__field textarea {
    resize: vertical;
    min-height: 132px;
}

.contact-drawer__field input:focus,
.contact-drawer__field textarea:focus {
    border-color: rgba(15, 38, 54, 0.42);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0 0 4px rgba(15, 38, 54, 0.08);
}

.contact-drawer__submit {
    margin-top: 8px;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: var(--sg-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(15, 38, 54, 0.18);
}

.contact-drawer__submit:hover {
    background: var(--sg-blue-dark);
}

@media (max-width: 760px) {
    .contact-drawer__handle {
        width: 46px;
        min-height: 132px;
        border-radius: 24px 0 0 24px;
        padding: 14px 10px;
    }

    .contact-drawer__panel {
        width: min(420px, calc(100vw - 18px));
    }
}


/* ------------------------------------------------------------
   Kontakt-Schublade v1.1
   Panel unter Header, Lasche als Toggle, Datenschutz-Checkbox
------------------------------------------------------------ */

.contact-drawer {
    --contact-drawer-width: min(460px, calc(100vw - 32px));
    top: var(--header-height);
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
}

.contact-drawer__overlay {
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
}

.contact-drawer__panel {
    top: var(--header-height);
    width: var(--contact-drawer-width);
    height: calc(100vh - var(--header-height));
    padding-top: clamp(28px, 4vw, 44px);
}

.contact-drawer__handle {
    top: calc(var(--header-height) + ((100vh - var(--header-height)) / 2));
    transition:
        right 320ms cubic-bezier(.22,.76,.25,1),
        opacity 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.contact-drawer.is-open .contact-drawer__handle {
    right: var(--contact-drawer-width);
    opacity: 1;
    pointer-events: auto;
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.58),
        inset -10px 0 22px -24px rgba(34, 48, 70, 0.38),
        0 14px 34px rgba(15, 23, 42, 0.12);
}


.contact-drawer__security-note {
    margin: -2px 0 4px;
    padding: 12px 14px;
    border: 1px solid rgba(20, 28, 40, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.54);
    color: rgba(20, 28, 40, 0.62);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.contact-drawer__privacy {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 2px;
    color: rgba(20, 28, 40, 0.66);
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
}

.contact-drawer__privacy input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    border: 1px solid rgba(20, 28, 40, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.80);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.contact-drawer__privacy input::before {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) scale(0);
    transform-origin: center;
    transition: transform 140ms ease;
}

.contact-drawer__privacy input:checked {
    background: var(--sg-blue);
    border-color: var(--sg-blue);
}

.contact-drawer__privacy input:checked::before {
    transform: rotate(-45deg) scale(1);
}

.contact-drawer__privacy a {
    color: var(--sg-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.admin-bar .contact-drawer,
.admin-bar .contact-drawer__overlay,
.admin-bar .contact-drawer__panel {
    top: calc(var(--header-height) + 32px);
    height: calc(100vh - var(--header-height) - 32px);
}

.admin-bar .contact-drawer__handle {
    top: calc(var(--header-height) + 32px + ((100vh - var(--header-height) - 32px) / 2));
}

@media (max-width: 782px) {
    .admin-bar .contact-drawer,
    .admin-bar .contact-drawer__overlay,
    .admin-bar .contact-drawer__panel {
        top: calc(var(--header-height) + 46px);
        height: calc(100vh - var(--header-height) - 46px);
    }

    .admin-bar .contact-drawer__handle {
        top: calc(var(--header-height) + 46px + ((100vh - var(--header-height) - 46px) / 2));
    }
}

@media (max-width: 760px) {
    .contact-drawer {
        --contact-drawer-width: min(420px, calc(100vw - 18px));
    }
}


/* ------------------------------------------------------------
   Header Feinschliff v1.1.3
   Deckend weißer Header ohne Glas-Transparenz
------------------------------------------------------------ */

.site-header,
.site-header.is-scrolled {
    background: linear-gradient(180deg,
        #ffffff 0%,
        #ffffff 66%,
        #f7f8fa 88%,
        #eef1f5 100%) !important;
    border-bottom: 1px solid rgba(20, 28, 40, 0.06) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -10px 18px -18px rgba(83, 96, 118, 0.28),
        0 3px 8px rgba(15, 23, 42, 0.025) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.site-header::before,
.site-header::after,
.site-header.is-scrolled::before,
.site-header.is-scrolled::after {
    content: none !important;
    display: none !important;
}


/* ------------------------------------------------------------
   Kontaktformular Pflichtfeld-Markierung v1.0
------------------------------------------------------------ */

.contact-drawer__field em,
.contact-drawer__privacy em,
.contact-drawer__required-note span {
    color: var(--sg-blue);
    font-style: normal;
    font-weight: 800;
}

.contact-drawer__required-note {
    margin: -2px 0 0;
    color: rgba(20, 28, 40, 0.56);
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}


/* ------------------------------------------------------------
   Contact Drawer Handle Update v39
   Text entfernt, statt 3 horizontalen Linien jetzt 2 vertikale Linien
------------------------------------------------------------ */

.contact-drawer__handle {
    gap: 0;
    padding: 18px 10px;
}

.contact-drawer__handle-grip {
    width: 16px;
    height: 34px;
    opacity: 0.56;
    background:
        linear-gradient(currentColor, currentColor) 5px center / 1.6px 24px no-repeat,
        linear-gradient(currentColor, currentColor) 11px center / 1.6px 24px no-repeat;
}

.contact-drawer__handle-text {
    display: none;
}


/* ------------------------------------------------------------
   Contact Drawer Handle Update v40
   Vertikale Linien deutlich länger / über mehr Höhe der Lasche
------------------------------------------------------------ */

.contact-drawer__handle-grip {
    width: 18px;
    height: 58px;
    opacity: 0.58;
    background:
        linear-gradient(currentColor, currentColor) 5px center / 1.8px 48px no-repeat,
        linear-gradient(currentColor, currentColor) 13px center / 1.8px 48px no-repeat;
}


/* ------------------------------------------------------------
   Header Reset v41
   Normal weißer Header ohne Wölbung, Verlauf oder Glas-Effekt
------------------------------------------------------------ */

.site-header,
.site-header.is-scrolled {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(20, 28, 40, 0.06) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.site-header::before,
.site-header::after,
.site-header.is-scrolled::before,
.site-header.is-scrolled::after {
    content: none !important;
    display: none !important;
}


/* ------------------------------------------------------------
   Header Menu Layout v42
   Client Portal separat neben Kontakt
------------------------------------------------------------ */

.site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.main-nav {
    justify-self: end;
}

.main-nav__list {
    gap: clamp(24px, 3vw, 46px);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-left: clamp(12px, 2vw, 26px);
    padding-left: clamp(14px, 2vw, 28px);
    border-left: 1px solid rgba(20, 28, 40, 0.09);
}

.header-portal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid rgba(20, 28, 40, 0.10);
    border-radius: 999px;
    background: #ffffff;
    color: var(--sg-ink);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 680;
    letter-spacing: 0.055em;
    text-transform: none;
    white-space: nowrap;
    line-height: 1;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-portal-link:hover {
    color: var(--sg-blue);
    border-color: rgba(15, 38, 54, 0.24);
    background: rgba(15, 38, 54, 0.035);
    transform: translateY(-1px);
}

.header-button {
    min-height: 40px;
    padding: 0 24px;
}

.mobile-nav__portal {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 14px;
    border: 1px solid rgba(20, 28, 40, 0.10);
    border-radius: 999px;
    color: var(--sg-ink);
    font-weight: 680;
}

@media (max-width: 1180px) {
    .main-nav__list {
        gap: 24px;
    }

    .header-actions {
        gap: 10px;
        padding-left: 16px;
        margin-left: 10px;
    }

    .header-portal-link {
        padding: 0 14px;
    }
}

@media (max-width: 920px) {
    .header-actions {
        display: none;
    }
}


/* ------------------------------------------------------------
   Active Menu Blue v43 rebuild
   Aktiver Menüpunkt sichtbar blau markieren
------------------------------------------------------------ */

.main-nav__list .current-menu-item > a,
.main-nav__list .current_page_item > a,
.main-nav__list .current-menu-ancestor > a,
.main-nav__list .current_page_ancestor > a,
.main-nav__list a[aria-current="page"] {
    color: var(--sg-blue);
}

.main-nav__list .current-menu-item > a::after,
.main-nav__list .current_page_item > a::after,
.main-nav__list .current-menu-ancestor > a::after,
.main-nav__list .current_page_ancestor > a::after,
.main-nav__list a[aria-current="page"]::after {
    width: 100%;
    opacity: 1;
    background: var(--sg-blue);
}

.header-portal-link[aria-current="page"],
body.page-template-page-client-portal .header-portal-link,
body.page-id-client-portal .header-portal-link {
    color: var(--sg-blue);
    border-color: rgba(15, 38, 54, 0.28);
    background: rgba(15, 38, 54, 0.045);
}

.mobile-nav__list .current-menu-item > a,
.mobile-nav__list .current_page_item > a,
.mobile-nav__list .current-menu-ancestor > a,
.mobile-nav__list .current_page_ancestor > a,
.mobile-nav__list a[aria-current="page"],
body.page-template-page-client-portal .mobile-nav__portal {
    color: var(--sg-blue);
}

body.page-template-page-client-portal .mobile-nav__portal {
    border-color: rgba(15, 38, 54, 0.28);
    background: rgba(15, 38, 54, 0.045);
}


/* ------------------------------------------------------------
   Hero Button Update v44
   Mehr-erfahren-Button im Hero rund
------------------------------------------------------------ */

.primary-button {
    border-radius: 999px;
}


/* ------------------------------------------------------------
   Services Cards Update v45
   Bilder im oberen Bereich der Leistungskacheln
------------------------------------------------------------ */

.service-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 22px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, #f6f7fa 0%, #eef2f7 100%);
}

.service-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 38, 54, 0.08) 0%, rgba(15, 38, 54, 0.03) 100%);
}

.service-card__title {
    margin-top: 0;
}

.service-card h3,
.what-card h3,
.services-card h3 {
    margin-top: 0;
}

@media (max-width: 900px) {
    .service-card__media {
        aspect-ratio: 16 / 9;
        margin-bottom: 20px;
    }
}


/* ------------------------------------------------------------
   Services Cards Update v46
   Vollbreitbilder oben in jeder Leistungskachel
------------------------------------------------------------ */

.service-card {
    padding: 0;
    min-height: 0;
    overflow: hidden;
}

.service-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
}

.service-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.service-card__content {
    padding: clamp(24px, 2.4vw, 34px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 0 22px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 38, 54, 0.08) 0%, rgba(15, 38, 54, 0.03) 100%);
}

.service-card__title,
.service-card h3,
.what-card h3,
.services-card h3 {
    margin-top: 0;
}

.service-card__title {
    margin-bottom: 14px;
}

.service-card__text {
    max-width: none;
}

@media (max-width: 900px) {
    .service-card__media {
        aspect-ratio: 16 / 8.8;
    }

    .service-card__content {
        padding: 24px 22px 24px;
    }
}


/* ------------------------------------------------------------
   Services Cards Update v47
   Vollbreit-Bildbereich immer sichtbar, mit Placeholder wenn noch kein ACF-Bild gesetzt ist
------------------------------------------------------------ */

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

.service-card {
    display: flex;
    flex-direction: column;
    background: #fbfbfa;
}

.service-card__media {
    position: relative;
    width: 100%;
    min-height: 188px;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: #eef2f7;
}

.service-card__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f3f6fa 0%, #e7edf5 100%);
}

.service-card__placeholder-icon {
    width: 70px;
    height: 70px;
    padding: 16px;
    border-radius: 20px;
    color: var(--sg-blue);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.service-card__placeholder-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-card__image {
    width: 100%;
    height: 188px;
    display: block;
    object-fit: cover;
}

.service-card__content {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.service-card__icon {
    display: none;
}

@media (max-width: 900px) {
    .service-card__media,
    .service-card__image {
        min-height: 170px;
        height: 170px;
    }

    .service-card__content {
        padding: 22px 20px 24px;
    }
}


/* ------------------------------------------------------------
   Leistungen-Seite
------------------------------------------------------------ */
.services-page {
    background: #f4f1ea;
}

.services-page-hero {
    padding: 150px 32px 96px;
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 38, 54, 0.10), transparent 32%),
        linear-gradient(135deg, #f4f1ea 0%, #faf9f5 54%, #edf2f6 100%);
}

.services-page-hero__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: 72px;
    align-items: center;
}

.services-page-title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4rem, 8vw, 8.2rem);
    line-height: 0.88;
    font-weight: 500;
    letter-spacing: -0.065em;
    color: #0f2636;
}

.services-page-title em {
    color: #0f2636;
    font-style: italic;
    font-weight: 400;
}

.services-page-hero__text {
    max-width: 620px;
    margin: 28px 0 34px;
    font-size: 1.08rem;
    line-height: 1.78;
    color: rgba(15, 38, 54, 0.76);
}

.services-page-hero__media {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    min-height: 520px;
    box-shadow: 0 30px 80px rgba(15, 38, 54, 0.14);
    background: #e7e2d8;
}

.services-page-hero__media::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,0.52);
    border-radius: 24px;
    z-index: 2;
    pointer-events: none;
}

.services-page-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.services-page-intro,
.services-page-list,
.services-page-workflow,
.services-page-cta {
    padding-left: 32px;
    padding-right: 32px;
}

.services-page-intro {
    padding-top: 96px;
    padding-bottom: 42px;
    background: #faf9f5;
}

.services-page-intro__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
    gap: 72px;
    align-items: end;
}

.services-page-intro__head h2,
.services-page-workflow__inner h2,
.services-page-cta__inner h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.9rem, 5vw, 5.6rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.045em;
    color: #0f2636;
}

.services-page-intro__inner > p {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.82;
    color: rgba(15, 38, 54, 0.72);
}

.services-page-list {
    padding-top: 64px;
    padding-bottom: 104px;
    background: #faf9f5;
}

.services-page-list__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.services-detail-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1.1fr) minmax(260px, 0.72fr);
    gap: 34px;
    align-items: start;
    padding: 34px;
    border: 1px solid rgba(15, 38, 54, 0.11);
    border-radius: 28px;
    background: rgba(255,255,255,0.76);
    box-shadow: 0 18px 52px rgba(15, 38, 54, 0.055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.services-detail-card:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 38, 54, 0.26);
    box-shadow: 0 24px 66px rgba(15, 38, 54, 0.08);
}

.services-detail-card__number {
    font-family: "Cormorant Garamond", serif;
    font-size: 4rem;
    line-height: 0.9;
    font-style: italic;
    color: rgba(15, 38, 54, 0.48);
}

.services-detail-card h3 {
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3vw, 3.05rem);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.035em;
    color: #0f2636;
}

.services-detail-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.74;
    color: rgba(15, 38, 54, 0.7);
}

.services-detail-card__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.services-detail-card__items li {
    position: relative;
    padding-left: 22px;
    font-size: .94rem;
    line-height: 1.5;
    color: rgba(15, 38, 54, 0.76);
}

.services-detail-card__items li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 9px;
    height: 1px;
    background: #0f2636;
}

.services-page-workflow {
    padding-top: 104px;
    padding-bottom: 104px;
    background: #0f2636;
    color: #fff;
}

.services-page-workflow__inner {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.services-page-workflow__inner .section-eyebrow {
    color: rgba(255,255,255,0.68);
}

.services-page-workflow__inner h2 {
    color: #fff;
}

.services-page-workflow__inner p:not(.section-eyebrow) {
    max-width: 720px;
    margin: 28px auto 0;
    font-size: 1.08rem;
    line-height: 1.82;
    color: rgba(255,255,255,0.74);
}

.services-page-cta {
    padding-top: 92px;
    padding-bottom: 110px;
    background: #f4f1ea;
}

.services-page-cta__inner {
    max-width: 1020px;
    margin: 0 auto;
    padding: 64px;
    border-radius: 36px;
    background:
        radial-gradient(circle at 90% 0%, rgba(15, 38, 54, 0.13), transparent 36%),
        #fffaf7;
    border: 1px solid rgba(15, 38, 54, 0.1);
    box-shadow: 0 26px 70px rgba(15, 38, 54, 0.08);
}

.services-page-cta__inner p:not(.section-eyebrow) {
    max-width: 720px;
    margin: 22px 0 32px;
    font-size: 1.04rem;
    line-height: 1.78;
    color: rgba(15, 38, 54, 0.72);
}

@media (max-width: 980px) {
    .services-page-hero {
        padding-top: 124px;
    }

    .services-page-hero__inner,
    .services-page-intro__inner,
    .services-detail-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-page-hero__media,
    .services-page-hero__media img {
        min-height: 380px;
    }

    .services-detail-card {
        padding: 28px;
    }

    .services-detail-card__number {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .services-page-hero,
    .services-page-intro,
    .services-page-list,
    .services-page-workflow,
    .services-page-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .services-page-hero {
        padding-bottom: 68px;
    }

    .services-page-intro {
        padding-top: 70px;
    }

    .services-page-list {
        padding-top: 38px;
        padding-bottom: 78px;
    }

    .services-page-workflow {
        padding-top: 76px;
        padding-bottom: 78px;
    }

    .services-page-cta {
        padding-top: 72px;
        padding-bottom: 82px;
    }

    .services-page-cta__inner {
        padding: 34px 24px;
        border-radius: 28px;
    }
}


/* ------------------------------------------------------------
   Leistungen-Seite Farbkorrektur v34
   Beige / Blau / Schwarz / Weiß, ohne Rosa-Stich
------------------------------------------------------------ */
.services-page {
    background: #f4f1ea !important;
}

.services-page-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 38, 54, 0.10), transparent 32%),
        linear-gradient(135deg, #f4f1ea 0%, #faf9f5 54%, #edf2f6 100%) !important;
}

.services-page-intro,
.services-page-list {
    background: #faf9f5 !important;
}

.services-page-cta {
    background: #f4f1ea !important;
}

.services-page-hero__media {
    background: #e7e2d8 !important;
}

.services-detail-card {
    background: rgba(255,255,255,0.82) !important;
    border-color: rgba(15, 38, 54, 0.11) !important;
}

.services-detail-card:hover {
    border-color: rgba(15, 38, 54, 0.26) !important;
}

.services-detail-card__number {
    color: rgba(15, 38, 54, 0.48) !important;
}

.services-detail-card__items li::before {
    background: #0f2636 !important;
}

.services-page-workflow {
    background: #0f2636 !important;
}

.services-page-cta__inner {
    background:
        radial-gradient(circle at 90% 0%, rgba(15, 38, 54, 0.13), transparent 36%),
        #ffffff !important;
}

/* ------------------------------------------------------------
   Prozess-Seite
   Beige / Blau / Schwarz / Weiß – an Startseite & Leistungen angelehnt
------------------------------------------------------------ */
.process-page {
    background: #f4f1ea;
}

.process-page-hero {
    position: relative;
    min-height: clamp(620px, 82vh, 860px);
    padding: 170px 32px 112px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 38, 54, 0.10), transparent 32%),
        linear-gradient(135deg, #f4f1ea 0%, #faf9f5 54%, #edf2f6 100%);
}

.process-page-hero--has-bg {
    background-image:
        linear-gradient(90deg, rgba(15, 38, 54, 0.82) 0%, rgba(15, 38, 54, 0.62) 42%, rgba(15, 38, 54, 0.24) 72%, rgba(15, 38, 54, 0.10) 100%),
        linear-gradient(180deg, rgba(15, 38, 54, 0.28) 0%, rgba(15, 38, 54, 0.04) 46%, rgba(15, 38, 54, 0.36) 100%),
        var(--process-hero-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.process-page-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.process-page-hero__copy {
    max-width: 760px;
}

.process-page-hero--has-bg .section-kicker,
.process-page-hero--has-bg .process-page-title,
.process-page-hero--has-bg .process-page-title em,
.process-page-hero--has-bg .process-page-hero__text {
    color: #ffffff;
}

.process-page-hero--has-bg .section-kicker {
    color: rgba(255, 255, 255, 0.74);
}

.process-page-hero--has-bg .hero-line {
    background: rgba(255, 255, 255, 0.42);
}

.process-page-hero--has-bg .process-page-hero__text {
    color: rgba(255, 255, 255, 0.78);
}

.process-page-hero--has-bg .primary-button {
    background: #ffffff;
    color: #0f2636;
    border-color: rgba(255, 255, 255, 0.72);
}

.process-page-title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4rem, 8vw, 8.2rem);
    line-height: 0.88;
    font-weight: 500;
    letter-spacing: -0.065em;
    color: #0f2636;
}

.process-page-title em {
    color: #0f2636;
    font-style: italic;
    font-weight: 400;
}

.process-page-hero__text {
    max-width: 620px;
    margin: 28px 0 34px;
    font-size: 1.08rem;
    line-height: 1.78;
    color: rgba(15, 38, 54, 0.76);
}







.process-page-intro,
.process-page-steps,
.process-page-principles,
.process-page-dark,
.process-page-cta {
    padding-left: 32px;
    padding-right: 32px;
}

.process-page-intro {
    padding-top: 96px;
    padding-bottom: 54px;
    background: #faf9f5;
}

.process-page-intro__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1fr);
    gap: 72px;
    align-items: end;
}

.process-page-intro__head h2,
.process-page-principles__head h2,
.process-page-dark__inner h2,
.process-page-cta__inner h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.9rem, 5vw, 5.6rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.045em;
    color: #0f2636;
}

.process-page-intro__inner > p {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.82;
    color: rgba(15, 38, 54, 0.72);
}

.process-page-steps {
    padding-top: 54px;
    padding-bottom: 106px;
    background: #faf9f5;
}

.process-page-steps__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    position: relative;
}

.process-step-card {
    position: relative;
    min-height: 250px;
    padding: 34px;
    border: 1px solid rgba(15, 38, 54, 0.11);
    border-radius: 28px;
    background: rgba(255,255,255,0.82);
    box-shadow: 0 18px 52px rgba(15, 38, 54, 0.055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.process-step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 38, 54, 0.26);
    box-shadow: 0 24px 66px rgba(15, 38, 54, 0.08);
}

.process-step-card__number {
    margin-bottom: 48px;
    font-family: "Cormorant Garamond", serif;
    font-size: 4rem;
    line-height: 0.9;
    font-style: italic;
    color: rgba(15, 38, 54, 0.48);
}

.process-step-card__number::after {
    content: "";
    display: block;
    width: 64px;
    height: 1px;
    margin-top: 24px;
    background: rgba(15, 38, 54, 0.42);
}

.process-step-card h3 {
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3vw, 3.05rem);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.035em;
    color: #0f2636;
}

.process-step-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.74;
    color: rgba(15, 38, 54, 0.7);
}

.process-page-principles {
    padding-top: 98px;
    padding-bottom: 104px;
    background: #f4f1ea;
}

.process-page-principles__inner {
    max-width: 1160px;
    margin: 0 auto;
}

.process-page-principles__head {
    max-width: 780px;
    margin-bottom: 42px;
}

.process-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.process-principle-card {
    padding: 34px;
    min-height: 260px;
    border-radius: 28px;
    border: 1px solid rgba(15, 38, 54, 0.10);
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(15, 38, 54, 0.055);
}

.process-principle-card h3 {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.035em;
    color: #0f2636;
}

.process-principle-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.74;
    color: rgba(15, 38, 54, 0.7);
}

.process-page-dark {
    padding-top: 104px;
    padding-bottom: 104px;
    background: #0f2636;
    color: #fff;
}

.process-page-dark__inner {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.process-page-dark__inner .section-eyebrow {
    color: rgba(255,255,255,0.68);
}

.process-page-dark__inner h2 {
    color: #fff;
}

.process-page-dark__inner p:not(.section-eyebrow) {
    max-width: 740px;
    margin: 28px auto 0;
    font-size: 1.08rem;
    line-height: 1.82;
    color: rgba(255,255,255,0.74);
}

.process-page-cta {
    padding-top: 92px;
    padding-bottom: 110px;
    background: #f4f1ea;
}

.process-page-cta__inner {
    max-width: 1020px;
    margin: 0 auto;
    padding: 64px;
    border-radius: 36px;
    background:
        radial-gradient(circle at 90% 0%, rgba(15, 38, 54, 0.13), transparent 36%),
        #ffffff;
    border: 1px solid rgba(15, 38, 54, 0.1);
    box-shadow: 0 26px 70px rgba(15, 38, 54, 0.08);
}

.process-page-cta__inner p:not(.section-eyebrow) {
    max-width: 720px;
    margin: 22px 0 32px;
    font-size: 1.04rem;
    line-height: 1.78;
    color: rgba(15, 38, 54, 0.72);
}

@media (max-width: 980px) {
    .process-page-hero {
        padding-top: 124px;
    }

    .process-page-hero__inner,
    .process-page-intro__inner,
    .process-page-steps__inner,
    .process-principle-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }


    .process-step-card {
        min-height: auto;
        padding: 28px;
    }

    .process-step-card__number {
        margin-bottom: 34px;
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .process-page-hero,
    .process-page-intro,
    .process-page-steps,
    .process-page-principles,
    .process-page-dark,
    .process-page-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .process-page-hero {
        min-height: 560px;
        padding-top: 132px;
        padding-bottom: 72px;
    }

    .process-page-intro {
        padding-top: 70px;
    }

    .process-page-steps {
        padding-top: 38px;
        padding-bottom: 78px;
    }

    .process-page-principles,
    .process-page-dark {
        padding-top: 76px;
        padding-bottom: 78px;
    }

    .process-page-cta {
        padding-top: 72px;
        padding-bottom: 82px;
    }

    .process-page-cta__inner {
        padding: 34px 24px;
        border-radius: 28px;
    }
}


/* ------------------------------------------------------------
   Projekte-Seite
------------------------------------------------------------ */
.projects-page {
    background: #f4f1ea;
    color: #0f2636;
}

.projects-hero {
    padding: 148px 32px 92px;
    background:
        linear-gradient(180deg, #f8f6f0 0%, #f4f1ea 100%);
    overflow: hidden;
}

.projects-hero__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(360px, 1fr);
    grid-template-areas:
        "visual copy"
        "note copy";
    gap: 28px 72px;
    align-items: end;
}

.projects-hero__visual {
    grid-area: visual;
    min-height: 430px;
    border-radius: 42px;
    overflow: hidden;
    background: #e9e3d6;
    border: 1px solid rgba(15, 38, 54, 0.10);
    box-shadow: 0 28px 80px rgba(15, 38, 54, 0.10);
}

.projects-hero__visual img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    display: block;
    filter: saturate(0.92) contrast(0.98);
}

.projects-hero__copy {
    grid-area: copy;
    padding-bottom: 34px;
}

.projects-title {
    margin: 0;
    font-size: clamp(3.4rem, 7.4vw, 7.8rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: #0f2636;
}

.projects-title em {
    font-style: italic;
    font-weight: 400;
    color: #0f2636;
}

.projects-hero__text {
    max-width: 640px;
    margin: 28px 0 32px;
    font-size: 1.08rem;
    line-height: 1.82;
    color: rgba(15, 38, 54, 0.74);
}

.projects-hero__note {
    grid-area: note;
    max-width: 420px;
    padding: 28px 30px;
    border-radius: 28px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(15, 38, 54, 0.10);
    box-shadow: 0 20px 54px rgba(15, 38, 54, 0.07);
}

.projects-hero__note-line {
    display: block;
    width: 54px;
    height: 2px;
    margin-bottom: 18px;
    background: #0f2636;
}

.projects-hero__note strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.1;
    color: #0f2636;
}

.projects-hero__note p {
    margin: 12px 0 0;
    color: rgba(15, 38, 54, 0.70);
    line-height: 1.7;
}

.projects-intro {
    padding: 92px 32px 70px;
    background: #ffffff;
}

.projects-intro__inner {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 56px;
    align-items: start;
}

.projects-intro__inner h2 {
    margin: 0;
    font-size: clamp(2.3rem, 4.2vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: #0f2636;
}

.projects-intro__inner p:not(.section-eyebrow) {
    margin: 8px 0 0;
    font-size: 1.05rem;
    line-height: 1.84;
    color: rgba(15, 38, 54, 0.72);
}

.projects-showcase {
    padding: 40px 32px 110px;
    background: #ffffff;
}

.projects-showcase__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 34px;
}

.project-reference-card {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    min-height: 420px;
    border-radius: 38px;
    overflow: hidden;
    background: #f8f6f0;
    border: 1px solid rgba(15, 38, 54, 0.10);
    box-shadow: 0 22px 64px rgba(15, 38, 54, 0.06);
}

.project-reference-card.is-reversed {
    grid-template-columns: 1.14fr 0.86fr;
}

.project-reference-card.is-reversed .project-reference-card__media {
    order: 2;
}

.project-reference-card__media {
    background: #e9e3d6;
}

.project-reference-card__media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    filter: saturate(0.9) contrast(0.98);
}

.project-reference-card__content {
    padding: 50px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-reference-card__topline {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 28px;
    color: #0f2636;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.project-reference-card__topline span:first-child {
    min-width: 46px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0f2636;
}

.project-reference-card__content h3 {
    max-width: 640px;
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.45rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: #0f2636;
}

.project-reference-card__content p {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(15, 38, 54, 0.72);
    line-height: 1.78;
}

.project-reference-card__meta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 38, 54, 0.12);
    color: #0f2636;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
}

.project-reference-card .text-link {
    margin-top: 24px;
}

.projects-method {
    padding: 104px 32px;
    background: #0f2636;
    color: #fff;
}

.projects-method__inner {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.projects-method__inner .section-eyebrow {
    color: rgba(255,255,255,0.68);
}

.projects-method__inner h2 {
    margin: 0;
    font-size: clamp(2.4rem, 4.2vw, 4.7rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: #fff;
}

.projects-method__inner p:not(.section-eyebrow) {
    margin: 10px 0 0;
    color: rgba(255,255,255,0.74);
    font-size: 1.06rem;
    line-height: 1.84;
}

.projects-cta {
    padding: 96px 32px 112px;
    background: #f4f1ea;
}

.projects-cta__inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 64px;
    border-radius: 38px;
    background:
        radial-gradient(circle at 88% 8%, rgba(15, 38, 54, 0.14), transparent 36%),
        #ffffff;
    border: 1px solid rgba(15, 38, 54, 0.10);
    box-shadow: 0 26px 70px rgba(15, 38, 54, 0.08);
}

.projects-cta__inner h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.35rem, 4.4vw, 4.8rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.projects-cta__inner p:not(.section-eyebrow) {
    max-width: 700px;
    margin: 22px 0 32px;
    font-size: 1.05rem;
    line-height: 1.78;
    color: rgba(15, 38, 54, 0.72);
}

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

    .projects-hero__inner {
        grid-template-areas:
            "copy"
            "visual"
            "note";
        gap: 34px;
    }

    .project-reference-card,
    .project-reference-card.is-reversed {
        grid-template-columns: 1fr;
    }

    .project-reference-card.is-reversed .project-reference-card__media {
        order: 0;
    }

    .projects-hero__copy {
        padding-bottom: 0;
    }
}

@media (max-width: 640px) {
    .projects-hero,
    .projects-intro,
    .projects-showcase,
    .projects-method,
    .projects-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .projects-hero {
        padding-top: 126px;
        padding-bottom: 68px;
    }

    .projects-hero__visual,
    .projects-hero__visual img,
    .project-reference-card__media img {
        min-height: 300px;
    }

    .projects-intro {
        padding-top: 72px;
    }

    .projects-showcase {
        padding-top: 18px;
        padding-bottom: 76px;
    }

    .project-reference-card__content {
        padding: 34px 26px;
    }

    .projects-method {
        padding-top: 76px;
        padding-bottom: 78px;
    }

    .projects-cta {
        padding-top: 72px;
        padding-bottom: 84px;
    }

    .projects-cta__inner {
        padding: 34px 24px;
        border-radius: 28px;
    }
}

/* ------------------------------------------------------------
   Über Grau Solutions – eigene Inhaltsseite
------------------------------------------------------------ */
.about-page {
    background: #f4f1ea;
    color: #0f2636;
}

.about-hero {
    padding: 150px 32px 96px;
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 38, 54, 0.12), transparent 34%),
        linear-gradient(135deg, #f4f1ea 0%, #fbfaf6 100%);
    overflow: hidden;
}

.about-hero__inner {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 74px;
    align-items: center;
}

.about-hero__copy {
    position: relative;
    z-index: 2;
}

.about-hero__title {
    max-width: 760px;
    margin: 0;
    font-size: clamp(3.4rem, 7vw, 7.2rem);
    line-height: 0.88;
    letter-spacing: -0.07em;
    color: #0f2636;
}

.about-hero__title em {
    font-style: italic;
    font-weight: 400;
    color: #0f2636;
}

.about-hero__text {
    max-width: 660px;
    margin: 26px 0 34px;
    font-size: 1.08rem;
    line-height: 1.82;
    color: rgba(15, 38, 54, 0.74);
}

.about-hero__visual {
    position: relative;
    min-height: 620px;
    border-radius: 42px;
}

.about-hero__visual img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
    border-radius: 42px;
    box-shadow: 0 34px 90px rgba(15, 38, 54, 0.14);
    filter: saturate(0.88) contrast(0.98);
}

.about-hero__note {
    position: absolute;
    left: -46px;
    bottom: 42px;
    max-width: 300px;
    padding: 30px 30px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 38, 54, 0.10);
    box-shadow: 0 22px 54px rgba(15, 38, 54, 0.10);
    backdrop-filter: blur(12px);
}

.about-hero__note span {
    display: block;
    width: 54px;
    height: 2px;
    margin-bottom: 18px;
    background: #0f2636;
}

.about-hero__note strong {
    display: block;
    margin-bottom: 10px;
    color: #0f2636;
    font-size: 0.82rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.about-hero__note p {
    margin: 0;
    color: rgba(15, 38, 54, 0.72);
    line-height: 1.65;
}

.about-intro {
    padding: 108px 32px;
    background: #ffffff;
}

.about-intro__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 84px;
    align-items: start;
}

.about-intro__inner h2 {
    margin: 0;
    font-size: clamp(2.4rem, 4.4vw, 4.9rem);
    line-height: 0.97;
    letter-spacing: -0.052em;
    color: #0f2636;
}

.about-intro__inner p:not(.section-eyebrow) {
    margin: 8px 0 0;
    font-size: 1.06rem;
    line-height: 1.86;
    color: rgba(15, 38, 54, 0.72);
}

.about-philosophy {
    padding: 114px 32px;
    background: #0f2636;
    color: #fff;
}

.about-philosophy__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
}

.about-philosophy .section-eyebrow {
    color: rgba(255,255,255,0.68);
}

.about-philosophy__copy h2 {
    margin: 0;
    font-size: clamp(2.55rem, 4.8vw, 5.2rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
    color: #fff;
}

.about-philosophy__copy p:not(.section-eyebrow) {
    max-width: 740px;
    margin: 28px 0 0;
    color: rgba(255,255,255,0.74);
    font-size: 1.06rem;
    line-height: 1.86;
}

.about-philosophy__quote {
    padding: 46px;
    border-radius: 36px;
    background:
        radial-gradient(circle at 90% 0%, rgba(255,255,255,0.12), transparent 38%),
        rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
}

.about-philosophy__quote span {
    display: block;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.62);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-philosophy__quote blockquote {
    margin: 0;
    font-size: clamp(1.8rem, 3.1vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #fff;
}

.about-principles {
    padding: 112px 32px;
    background: #f4f1ea;
}

.about-principles__inner {
    max-width: 1180px;
    margin: 0 auto;
}

.about-principles__head {
    max-width: 760px;
    margin-bottom: 50px;
}

.about-principles__head h2 {
    margin: 0;
    font-size: clamp(2.4rem, 4.4vw, 4.8rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: #0f2636;
}

.about-principles__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.about-principle-card {
    min-height: 290px;
    padding: 34px 30px 30px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(15, 38, 54, 0.10);
    box-shadow: 0 18px 52px rgba(15, 38, 54, 0.055);
}

.about-principle-card span {
    display: inline-block;
    margin-bottom: 34px;
    padding-bottom: 9px;
    border-bottom: 2px solid #0f2636;
    color: #0f2636;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-principle-card h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2vw, 2.05rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
    color: #0f2636;
}

.about-principle-card p {
    margin: 18px 0 0;
    color: rgba(15, 38, 54, 0.70);
    line-height: 1.72;
}

.about-profile {
    padding: 106px 32px;
    background: #ffffff;
}

.about-profile__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 52px;
    align-items: stretch;
}

.about-profile__panel {
    padding: 56px;
    border-radius: 38px;
    background: #f8f6f0;
    border: 1px solid rgba(15, 38, 54, 0.10);
}

.about-profile__panel h2 {
    margin: 0;
    font-size: clamp(2.35rem, 4.3vw, 4.7rem);
    line-height: 0.96;
    letter-spacing: -0.052em;
    color: #0f2636;
}

.about-profile__panel p:not(.section-eyebrow) {
    margin: 24px 0 0;
    color: rgba(15, 38, 54, 0.72);
    font-size: 1.05rem;
    line-height: 1.84;
}

.about-profile__list {
    display: grid;
    align-content: center;
    gap: 12px;
}

.about-profile__list div {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px 24px;
    border-radius: 24px;
    background: #0f2636;
    color: rgba(255,255,255,0.84);
}

.about-profile__list span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ffffff;
    opacity: 0.72;
    flex: 0 0 auto;
}

.about-cta {
    padding: 96px 32px 116px;
    background: #f4f1ea;
}

.about-cta__inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 64px;
    border-radius: 38px;
    background:
        radial-gradient(circle at 88% 8%, rgba(15, 38, 54, 0.14), transparent 36%),
        #ffffff;
    border: 1px solid rgba(15, 38, 54, 0.10);
    box-shadow: 0 26px 70px rgba(15, 38, 54, 0.08);
}

.about-cta__inner h2 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.35rem, 4.4vw, 4.8rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: #0f2636;
}

.about-cta__inner p:not(.section-eyebrow) {
    max-width: 700px;
    margin: 22px 0 32px;
    font-size: 1.05rem;
    line-height: 1.78;
    color: rgba(15, 38, 54, 0.72);
}

@media (max-width: 1020px) {
    .about-hero__inner,
    .about-intro__inner,
    .about-philosophy__inner,
    .about-profile__inner {
        grid-template-columns: 1fr;
    }

    .about-hero__visual {
        min-height: 480px;
    }

    .about-hero__visual img {
        height: 480px;
    }

    .about-hero__note {
        left: 26px;
        bottom: 26px;
    }

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

@media (max-width: 640px) {
    .about-hero,
    .about-intro,
    .about-philosophy,
    .about-principles,
    .about-profile,
    .about-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-hero {
        padding-top: 126px;
        padding-bottom: 70px;
    }

    .about-hero__visual,
    .about-hero__visual img {
        min-height: 360px;
        height: 360px;
        border-radius: 30px;
    }

    .about-hero__note {
        position: relative;
        left: auto;
        bottom: auto;
        max-width: none;
        margin-top: -54px;
        margin-left: 18px;
        margin-right: 18px;
    }

    .about-intro,
    .about-philosophy,
    .about-principles,
    .about-profile {
        padding-top: 76px;
        padding-bottom: 78px;
    }

    .about-principles__grid {
        grid-template-columns: 1fr;
    }

    .about-profile__panel,
    .about-philosophy__quote,
    .about-cta__inner {
        padding: 34px 24px;
        border-radius: 28px;
    }

    .about-cta {
        padding-top: 72px;
        padding-bottom: 86px;
    }
}


/* ------------------------------------------------------------
   Globaler Farb-Feinschliff v38
   Ton aus „Vernunft ohne Illusion“: Beige / gedecktes Blau / Tiefblau
------------------------------------------------------------ */
:root {
    --sg-blue: #0f2636;
    --sg-blue-dark: #0f2636;
    --sg-black: #0f2636;
    --sg-text: #0f2636;
    --sg-muted: rgba(15, 38, 54, 0.64);
    --sg-bg: #f4f1ea;
    --sg-bg-soft: #faf9f5;
    --sg-border: rgba(15, 38, 54, 0.12);
}

body,
.site-header {
    background: var(--sg-bg);
}

.site-header.is-scrolled {
    background: rgba(244, 241, 234, 0.86);
    border-bottom-color: rgba(15, 38, 54, 0.08);
    box-shadow: 0 18px 50px rgba(15, 38, 54, 0.055);
}

.main-nav__list a,
.site-contact,
.mobile-menu-toggle,
.page-title,
h1, h2, h3, h4 {
    color: #0f2636;
}

.header-button,
.primary-button,
.client-project-button,
.cta-banner__button,
.home-contact-submit,
button[type="submit"],
input[type="submit"],
.services-page .primary-button,
.process-page .primary-button,
.projects-page .primary-button,
.about-page .primary-button {
    background: #0f2636 !important;
    color: #ffffff !important;
    border-color: #0f2636 !important;
    box-shadow: 0 16px 34px rgba(15, 38, 54, 0.16);
}

.header-button:hover,
.primary-button:hover,
.client-project-button:hover,
.cta-banner__button:hover,
.home-contact-submit:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.services-page .primary-button:hover,
.process-page .primary-button:hover,
.projects-page .primary-button:hover,
.about-page .primary-button:hover {
    background: #0f2636 !important;
    border-color: #0f2636 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.hero,
.home-hero,
.services-page-hero,
.process-page-hero,
.projects-page-hero,
.about-page-hero,
.client-portal-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 38, 54, 0.10), transparent 32%),
        linear-gradient(135deg, #f4f1ea 0%, #faf9f5 54%, #edf2f6 100%) !important;
}

.services-page,
.process-page,
.projects-page,
.about-page,
.client-portal-page,
.site-shell {
    background: #f4f1ea;
}

.services-page-intro,
.services-page-list,
.process-page-intro,
.process-page-steps,
.projects-page-intro,
.projects-page-list,
.about-page-approach,
.about-page-principles {
    background: #faf9f5 !important;
}

.services-page-workflow,
.process-page-collab,
.projects-page-selection,
.about-page-philosophy,
.about-page-work {
    background: #0f2636 !important;
    color: #ffffff;
}

.services-page-title,
.process-page-title,
.projects-page-title,
.about-page-title,
.services-page-intro__head h2,
.process-page-intro__head h2,
.projects-page-intro__head h2,
.about-page-approach h2,
.about-page-principles h2 {
    color: #0f2636 !important;
}

.services-page-title em,
.process-page-title em,
.projects-page-title em,
.about-page-title em,
.eyebrow,
.section-eyebrow {
    color: #0f2636 !important;
}

.service-card,
.services-detail-card,
.process-step-card,
.project-reference-card,
.about-principle-card,
.about-note-card,
.client-login-card {
    border-color: rgba(15, 38, 54, 0.11) !important;
    box-shadow: 0 18px 52px rgba(15, 38, 54, 0.055) !important;
}

.service-card:hover,
.services-detail-card:hover,
.process-step-card:hover,
.project-reference-card:hover,
.about-principle-card:hover {
    border-color: rgba(15, 38, 54, 0.28) !important;
    box-shadow: 0 24px 66px rgba(15, 38, 54, 0.085) !important;
}

::selection {
    background: rgba(15, 38, 54, 0.22);
    color: #0f2636;
}


/* ------------------------------------------------------------
   Globaler Blau-Schwarz-Abgleich v39
   Wunsch: Schriften, Buttons und Akzente im dunklen Blau-Schwarz
------------------------------------------------------------ */
:root {
    --sg-blue: #0f2636;
    --sg-blue-dark: #0f2636;
    --sg-black: #0f2636;
    --sg-text: #0f2636;
    --sg-muted: rgba(15, 38, 54, 0.66);
    --sg-border: rgba(15, 38, 54, 0.14);
}

body,
p,
li,
.main-nav__list a,
.mobile-nav a,
.site-contact,
.page-title,
.section-title,
.section-kicker,
.hero-kicker,
.hero-title,
.card-title,
h1, h2, h3, h4, h5, h6 {
    color: #0f2636;
}

.header-button,
.primary-button,
.secondary-button,
.client-project-button,
.cta-banner__button,
.home-contact-submit,
button[type="submit"],
input[type="submit"],
.services-page .primary-button,
.process-page .primary-button,
.projects-page .primary-button,
.about-page .primary-button,
.client-portal-page .primary-button,
.client-portal-login button,
.client-login-button {
    background: #0f2636 !important;
    color: #ffffff !important;
    border-color: #0f2636 !important;
    box-shadow: 0 18px 38px rgba(15, 38, 54, 0.18);
}

.header-button:hover,
.primary-button:hover,
.secondary-button:hover,
.client-project-button:hover,
.cta-banner__button:hover,
.home-contact-submit:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.services-page .primary-button:hover,
.process-page .primary-button:hover,
.projects-page .primary-button:hover,
.about-page .primary-button:hover,
.client-portal-page .primary-button:hover,
.client-portal-login button:hover,
.client-login-button:hover {
    background: #091923 !important;
    border-color: #091923 !important;
    color: #ffffff !important;
}

.is-outline,
.button-outline,
.header-button--outline,
.client-portal-link,
.client-portal-pill {
    color: #0f2636 !important;
    border-color: rgba(15, 38, 54, 0.22) !important;
}

.is-outline:hover,
.button-outline:hover,
.header-button--outline:hover,
.client-portal-link:hover,
.client-portal-pill:hover {
    color: #ffffff !important;
    background: #0f2636 !important;
    border-color: #0f2636 !important;
}

/* ------------------------------------------------------------
   Client Portal – Anpassung an „Über Grau Solutions“ v41
------------------------------------------------------------ */
.client-portal-page--about-style {
    background: #f4f1ea;
    color: #0f2636;
}

.client-portal-page--about-style .client-portal-hero,
.client-portal-page--about-style .client-portal-hero.client-portal-hero--about {
    position: relative;
    overflow: hidden;
    padding: 150px 32px 96px;
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 38, 54, 0.12), transparent 34%),
        linear-gradient(135deg, #f4f1ea 0%, #fbfaf6 100%) !important;
    isolation: isolate;
}

.client-portal-page--about-style .client-portal-hero::before,
.client-portal-page--about-style .client-portal-hero::after {
    content: none !important;
    display: none !important;
}

.client-portal-page--about-style .client-portal-hero__inner {
    width: auto;
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 74px;
    align-items: center;
}

.client-portal-page--about-style .client-portal-copy {
    position: relative;
    z-index: 2;
    max-width: none;
}

.client-portal-page--about-style .client-portal-title {
    max-width: 760px;
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(3.4rem, 7vw, 7.2rem);
    line-height: 0.88;
    font-weight: 500;
    letter-spacing: -0.07em;
    color: #0f2636;
}

.client-portal-page--about-style .client-portal-title em {
    display: inline;
    font-style: italic;
    font-weight: 400;
    color: #0f2636;
}

.client-portal-page--about-style .hero-line {
    width: 74px;
    height: 2px;
    margin: 28px 0 0;
    background: #0f2636;
}

.client-portal-page--about-style .client-portal-intro {
    max-width: 660px;
    margin: 26px 0 0;
    font-size: 1.08rem;
    line-height: 1.82;
    color: rgba(15, 38, 54, 0.74);
}

.client-portal-access {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.client-portal-page--about-style .client-portal-login-card,
.client-portal-page--about-style .client-portal-dashboard {
    width: 100%;
    margin: 0;
    padding: clamp(34px, 3.2vw, 52px);
    border-radius: 42px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 38, 54, 0.10);
    box-shadow: 0 34px 90px rgba(15, 38, 54, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: none;
}

.client-portal-page--about-style .client-portal-login-card--hero,
.client-portal-page--about-style .client-portal-dashboard--hero {
    justify-self: auto;
}

.client-portal-page--about-style .client-portal-card__eyebrow,
.client-portal-page--about-style .client-project-note span,
.client-portal-page--about-style .client-project-card__topline span {
    color: #0f2636;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.client-portal-page--about-style .client-portal-login-card h2,
.client-portal-page--about-style .client-portal-welcome h2,
.client-portal-page--about-style .client-project-card h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: -0.045em;
    color: #0f2636;
}

.client-portal-page--about-style .client-portal-login-card h2,
.client-portal-page--about-style .client-portal-welcome h2 {
    margin-top: 12px;
    font-size: clamp(2.25rem, 4.3vw, 4.4rem);
    line-height: 0.96;
}

.client-portal-page--about-style .client-portal-login-card p {
    margin: 20px 0 0;
    color: rgba(15, 38, 54, 0.72);
    font-size: 1.02rem;
    line-height: 1.76;
}

.client-portal-page--about-style .client-portal-login-form {
    margin-top: 30px;
}

.client-portal-page--about-style .client-portal-login-form label {
    color: rgba(15, 38, 54, 0.72);
    font-size: 0.76rem;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.client-portal-page--about-style .client-portal-login-form input[type="text"],
.client-portal-page--about-style .client-portal-login-form input[type="password"] {
    min-height: 54px;
    border-radius: 18px;
    border: 1px solid rgba(15, 38, 54, 0.12);
    background: rgba(250, 249, 245, 0.92);
    color: #0f2636;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}

.client-portal-page--about-style .client-portal-login-form input[type="text"]:focus,
.client-portal-page--about-style .client-portal-login-form input[type="password"]:focus {
    border-color: rgba(15, 38, 54, 0.34);
    box-shadow: 0 0 0 4px rgba(15, 38, 54, 0.08);
}

.client-portal-page--about-style .client-portal-login-form .login-remember label {
    color: rgba(15, 38, 54, 0.66);
    letter-spacing: 0;
    text-transform: none;
}

.client-portal-page--about-style .client-portal-login-form input[type="submit"],
.client-portal-page--about-style .client-project-button {
    min-height: 52px;
    border-radius: 999px;
    background: #0f2636 !important;
    border-color: #0f2636 !important;
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 760;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    box-shadow: 0 18px 38px rgba(15, 38, 54, 0.18);
}

.client-portal-page--about-style .client-portal-login-form input[type="submit"]:hover,
.client-portal-page--about-style .client-project-button:hover {
    background: #091923 !important;
    border-color: #091923 !important;
    transform: translateY(-1px);
}

.client-portal-note {
    position: absolute;
    left: -46px;
    bottom: 42px;
    max-width: 300px;
    padding: 30px 30px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 38, 54, 0.10);
    box-shadow: 0 22px 54px rgba(15, 38, 54, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.client-portal-note span {
    display: block;
    width: 54px;
    height: 2px;
    margin-bottom: 18px;
    background: #0f2636;
}

.client-portal-note strong {
    display: block;
    margin-bottom: 10px;
    color: #0f2636;
    font-size: 0.82rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.client-portal-note p {
    margin: 0;
    color: rgba(15, 38, 54, 0.72);
    line-height: 1.65;
}

.client-portal-about-intro {
    padding: 108px 32px;
    background: #ffffff;
}

.client-portal-about-intro__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 84px;
    align-items: start;
}

.client-portal-about-intro__inner h2,
.client-portal-principles__head h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 500;
    color: #0f2636;
}

.client-portal-about-intro__inner h2 {
    font-size: clamp(2.4rem, 4.4vw, 4.9rem);
    line-height: 0.97;
    letter-spacing: -0.052em;
}

.client-portal-about-intro__inner p:not(.section-eyebrow) {
    margin: 8px 0 0;
    font-size: 1.06rem;
    line-height: 1.86;
    color: rgba(15, 38, 54, 0.72);
}

.client-portal-principles {
    padding: 112px 32px 116px;
    background: #f4f1ea;
}

.client-portal-principles__inner {
    max-width: 1180px;
    margin: 0 auto;
}

.client-portal-principles__head {
    max-width: 760px;
    margin-bottom: 50px;
}

.client-portal-principles__head h2 {
    font-size: clamp(2.4rem, 4.4vw, 4.8rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.client-portal-principles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.client-portal-principle-card {
    min-height: 290px;
    padding: 34px 30px 30px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(15, 38, 54, 0.10);
    box-shadow: 0 18px 52px rgba(15, 38, 54, 0.055);
}

.client-portal-principle-card span {
    display: inline-block;
    margin-bottom: 34px;
    padding-bottom: 9px;
    border-bottom: 2px solid #0f2636;
    color: #0f2636;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.client-portal-principle-card h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.65rem, 2.4vw, 2.45rem);
    line-height: 1.03;
    font-weight: 500;
    letter-spacing: -0.035em;
    color: #0f2636;
}

.client-portal-principle-card p {
    margin: 18px 0 0;
    color: rgba(15, 38, 54, 0.70);
    line-height: 1.72;
}

.client-portal-page--about-style .client-project-card {
    background: #f8f6f0;
    border-color: rgba(15, 38, 54, 0.10);
}

.client-portal-page--about-style .client-project-card h3 {
    font-size: clamp(2.25rem, 4vw, 4.2rem);
    line-height: 0.96;
}

.client-portal-page--about-style .client-project-card__topline {
    border-bottom-color: rgba(15, 38, 54, 0.10);
}

.client-portal-page--about-style .client-project-card__topline strong,
.client-portal-page--about-style .client-project-progress__meta strong {
    color: #0f2636;
}

.client-portal-page--about-style .client-project-progress__bar {
    background: rgba(15, 38, 54, 0.10);
}

.client-portal-page--about-style .client-project-progress__bar span {
    background: #0f2636;
}

.client-portal-page--about-style .client-project-note {
    background: rgba(255,255,255,0.72);
    border-color: rgba(15, 38, 54, 0.08);
}

.client-portal-page--about-style .client-project-empty {
    background: rgba(15, 38, 54, 0.06);
    color: rgba(15, 38, 54, 0.70);
}

.client-portal-page--about-style .client-portal-logout {
    border-color: rgba(15, 38, 54, 0.14);
    color: rgba(15, 38, 54, 0.66);
}

@media (max-width: 1020px) {
    .client-portal-page--about-style .client-portal-hero__inner,
    .client-portal-about-intro__inner {
        grid-template-columns: 1fr;
    }

    .client-portal-access {
        min-height: auto;
        padding-bottom: 120px;
    }

    .client-portal-note {
        left: 26px;
        bottom: 0;
    }

    .client-portal-principles__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .client-portal-page--about-style .client-portal-hero,
    .client-portal-about-intro,
    .client-portal-principles {
        padding-left: 20px;
        padding-right: 20px;
    }

    .client-portal-page--about-style .client-portal-hero {
        padding-top: 126px;
        padding-bottom: 70px;
    }

    .client-portal-page--about-style .client-portal-title {
        font-size: clamp(3rem, 14vw, 4.7rem);
    }

    .client-portal-access {
        display: block;
        padding-bottom: 0;
    }

    .client-portal-page--about-style .client-portal-login-card,
    .client-portal-page--about-style .client-portal-dashboard {
        padding: 30px 22px;
        border-radius: 30px;
    }

    .client-portal-note {
        position: relative;
        left: auto;
        bottom: auto;
        max-width: none;
        margin-top: -10px;
        margin-left: 18px;
        margin-right: 18px;
        padding: 26px 24px;
    }

    .client-portal-about-intro,
    .client-portal-principles {
        padding-top: 76px;
        padding-bottom: 78px;
    }

    .client-portal-about-intro__inner,
    .client-portal-principles__grid {
        gap: 28px;
    }

    .client-portal-principle-card {
        min-height: auto;
        padding: 30px 24px;
        border-radius: 28px;
    }
}

/* ------------------------------------------------------------
   Client Portal – Typografie-Fix v42
   Exakt näher an „Über Grau Solutions“: moderne Sans-Headline,
   kein serifiger Magazin-Look im Portal-Hero.
------------------------------------------------------------ */
.client-portal-page--about-style .client-portal-title {
    font-family: var(--font-sans) !important;
    max-width: 760px;
    margin: 0;
    font-size: clamp(3.4rem, 7vw, 7.2rem) !important;
    line-height: 0.88 !important;
    font-weight: 800 !important;
    letter-spacing: -0.07em !important;
    color: #0f2636 !important;
}

.client-portal-page--about-style .client-portal-title em {
    display: inline !important;
    font-family: var(--font-sans) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: -0.07em !important;
    color: #0f2636 !important;
}

.client-portal-page--about-style .client-portal-login-card h2,
.client-portal-page--about-style .client-portal-welcome h2,
.client-portal-page--about-style .client-project-card h3,
.client-portal-page--about-style .client-portal-about-intro__inner h2,
.client-portal-page--about-style .client-portal-principles__head h2,
.client-portal-page--about-style .client-portal-principle-card h3 {
    font-family: var(--font-sans) !important;
    color: #0f2636 !important;
    letter-spacing: -0.06em !important;
}

.client-portal-page--about-style .client-portal-login-card h2,
.client-portal-page--about-style .client-portal-welcome h2 {
    font-size: clamp(2.05rem, 3.5vw, 3.65rem) !important;
    line-height: 0.94 !important;
    font-weight: 760 !important;
}

.client-portal-page--about-style .client-project-card h3 {
    font-size: clamp(2rem, 3.4vw, 3.85rem) !important;
    line-height: 0.94 !important;
    font-weight: 760 !important;
}

.client-portal-page--about-style .client-portal-about-intro__inner h2,
.client-portal-page--about-style .client-portal-principles__head h2 {
    font-weight: 780 !important;
}

.client-portal-page--about-style .client-portal-principle-card h3 {
    font-weight: 760 !important;
}

.client-portal-page--about-style .client-portal-dashboard,
.client-portal-page--about-style .client-portal-login-card {
    background: rgba(255, 255, 255, 0.88) !important;
}

.client-portal-page--about-style .client-project-card {
    background: rgba(244, 241, 234, 0.72) !important;
}

@media (max-width: 900px) {
    .client-portal-page--about-style .client-portal-title {
        font-size: clamp(3.2rem, 12vw, 6rem) !important;
    }
}


/* ------------------------------------------------------------
   Client Portal – Layout-Fix v43
   Entfernt Hinweis-Kasten vor dem Login und verhindert,
   dass die Headline in die Portal-Karte ragt.
------------------------------------------------------------ */
.client-portal-page--about-style .client-portal-hero__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr) !important;
    gap: 56px !important;
    align-items: start !important;
}

.client-portal-page--about-style .client-portal-copy {
    max-width: 620px !important;
    padding-top: 34px;
}

.client-portal-page--about-style .client-portal-title {
    max-width: 620px !important;
    font-size: clamp(3.1rem, 5.9vw, 5.8rem) !important;
    line-height: 0.90 !important;
}

.client-portal-page--about-style .client-portal-intro {
    max-width: 560px !important;
}

.client-portal-page--about-style .client-portal-access {
    min-height: auto !important;
}

.client-portal-page--about-style .client-portal-note {
    display: none !important;
}

@media (max-width: 1180px) {
    .client-portal-page--about-style .client-portal-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.96fr) !important;
        gap: 44px !important;
    }

    .client-portal-page--about-style .client-portal-title {
        max-width: 560px !important;
        font-size: clamp(3rem, 5.3vw, 5.15rem) !important;
    }
}

@media (max-width: 1020px) {
    .client-portal-page--about-style .client-portal-copy {
        max-width: none !important;
        padding-top: 0;
    }

    .client-portal-page--about-style .client-portal-title,
    .client-portal-page--about-style .client-portal-intro {
        max-width: none !important;
    }
}


/* ------------------------------------------------------------
   Client Portal – Größenanpassung v44
   Headline im Hero noch etwas kleiner.
------------------------------------------------------------ */
.client-portal-page--about-style .client-portal-copy {
    max-width: 580px !important;
}

.client-portal-page--about-style .client-portal-title {
    max-width: 580px !important;
    font-size: clamp(2.8rem, 5.2vw, 5.1rem) !important;
    line-height: 0.92 !important;
}

.client-portal-page--about-style .client-portal-intro {
    max-width: 540px !important;
}

@media (max-width: 1180px) {
    .client-portal-page--about-style .client-portal-title {
        max-width: 520px !important;
        font-size: clamp(2.7rem, 4.8vw, 4.7rem) !important;
    }
}

@media (max-width: 900px) {
    .client-portal-page--about-style .client-portal-title {
        max-width: none !important;
        font-size: clamp(3rem, 10vw, 4.7rem) !important;
    }
}


/* ------------------------------------------------------------
   Projekte – Typografie-Anpassung v45
   Nur Schriftlogik an „Über Grau Solutions“/Client-Portal angleichen.
   Layout, Abstände, Farben und Karten bleiben unverändert.
------------------------------------------------------------ */
.projects-page .projects-title,
.projects-page .projects-intro__inner h2,
.projects-page .project-reference-card__content h3,
.projects-page .projects-method__inner h2,
.projects-page .projects-cta__inner h2,
.projects-page .projects-hero__note strong {
    font-family: var(--font-sans) !important;
    color: #0f2636;
}

.projects-page .projects-title {
    font-weight: 800 !important;
    letter-spacing: -0.07em !important;
}

.projects-page .projects-title em {
    font-family: var(--font-sans) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: -0.07em !important;
}

.projects-page .projects-intro__inner h2,
.projects-page .project-reference-card__content h3,
.projects-page .projects-method__inner h2,
.projects-page .projects-cta__inner h2 {
    font-weight: 780 !important;
    letter-spacing: -0.06em !important;
}

.projects-page .projects-method__inner h2 {
    color: #ffffff !important;
}

.projects-page .projects-hero__note strong {
    font-weight: 760 !important;
    letter-spacing: -0.035em !important;
}


/* ------------------------------------------------------------
   Prozess – Typografie-Anpassung v46
   Nur Schriftlogik wie bei Projekte / „Über Grau Solutions“.
   Layout, Abstände, Farben und Karten bleiben unverändert.
------------------------------------------------------------ */
.process-page .process-page-title,
.process-page .process-page-intro__head h2,
.process-page .process-page-principles__head h2,
.process-page .process-page-dark__inner h2,
.process-page .process-page-cta__inner h2,
.process-page .process-step-card h3,
.process-page .process-principle-card h3 {
    font-family: var(--font-sans) !important;
    color: #0f2636;
}

.process-page .process-page-title {
    font-weight: 800 !important;
    letter-spacing: -0.07em !important;
}

.process-page .process-page-title em {
    font-family: var(--font-sans) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: -0.07em !important;
}

.process-page .process-page-intro__head h2,
.process-page .process-page-principles__head h2,
.process-page .process-page-dark__inner h2,
.process-page .process-page-cta__inner h2,
.process-page .process-step-card h3,
.process-page .process-principle-card h3 {
    font-weight: 780 !important;
    letter-spacing: -0.06em !important;
}

.process-page .process-page-dark__inner h2 {
    color: #ffffff !important;
}

.process-page .process-step-card__number {
    font-family: var(--font-sans) !important;
    font-weight: 400 !important;
    letter-spacing: -0.055em !important;
}

/* ------------------------------------------------------------
   Leistungen – Typografie-Anpassung v47
   Nur Schriftlogik wie bei Projekte / Prozess / „Über Grau Solutions“.
   Layout, Abstände, Farben und Karten bleiben unverändert.
------------------------------------------------------------ */
.services-page .services-page-title,
.services-page .services-page-intro__head h2,
.services-page .services-page-workflow__inner h2,
.services-page .services-page-cta__inner h2,
.services-page .services-detail-card h3 {
    font-family: var(--font-sans) !important;
    color: #0f2636;
}

.services-page .services-page-title {
    font-weight: 800 !important;
    letter-spacing: -0.07em !important;
}

.services-page .services-page-title em {
    font-family: var(--font-sans) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: -0.07em !important;
}

.services-page .services-page-intro__head h2,
.services-page .services-page-workflow__inner h2,
.services-page .services-page-cta__inner h2,
.services-page .services-detail-card h3 {
    font-weight: 780 !important;
    letter-spacing: -0.06em !important;
}

.services-page .services-page-workflow__inner h2 {
    color: #ffffff !important;
}

.services-page .services-detail-card__number {
    font-family: var(--font-sans) !important;
    font-weight: 400 !important;
    letter-spacing: -0.055em !important;
}


/* ------------------------------------------------------------
   Home – Typografie-Anpassung v48
   Nur Schriftlogik wie bei Projekte / Prozess / Leistungen / „Über Grau Solutions“.
   Layout, Abstände, Farben und Karten bleiben unverändert.
------------------------------------------------------------ */
body.home .hero-title,
body.home .section-title,
body.home .service-card__title,
body.home .process-title,
body.home .process-step__title,
body.home .projects-title,
body.home .project-card__title,
body.home .about-solutions-title,
body.home .about-solutions-note p,
body.home .about-solutions-card h3,
body.home .cta-banner__title {
    font-family: var(--font-sans) !important;
    color: #0f2636;
}

body.home .hero-title,
body.home .section-title,
body.home .process-title,
body.home .projects-title,
body.home .about-solutions-title,
body.home .cta-banner__title {
    font-weight: 800 !important;
    letter-spacing: -0.07em !important;
}

body.home .hero-title em,
body.home .process-title em,
body.home .projects-title em,
body.home .about-solutions-title em,
body.home .cta-banner__title em {
    font-family: var(--font-sans) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: -0.07em !important;
}

body.home .service-card__title,
body.home .process-step__title,
body.home .project-card__title,
body.home .about-solutions-note p,
body.home .about-solutions-card h3 {
    font-weight: 780 !important;
    letter-spacing: -0.06em !important;
}

body.home .hero-title em,
body.home .about-solutions-title em {
    color: #0f2636 !important;
}

body.home .cta-banner__title,
body.home .cta-banner__title em {
    color: #ffffff !important;
}

body.home .process-step__number {
    font-family: var(--font-sans) !important;
}

/* ------------------------------------------------------------
   Impressum – Typografie-Anpassung v49
   Nur Schriftlogik wie bei Home / Projekte / Prozess / Leistungen.
   Layout, Abstände, Farben und Karten bleiben unverändert.
------------------------------------------------------------ */
.legal-page--impressum .legal-hero__title,
.legal-page--impressum .legal-block h2,
.legal-page--impressum .legal-sidebar__card p {
    font-family: var(--font-sans) !important;
    color: #0f2636;
}

.legal-page--impressum .legal-hero__title {
    font-weight: 800 !important;
    letter-spacing: -0.07em !important;
}

.legal-page--impressum .legal-block h2,
.legal-page--impressum .legal-sidebar__card p {
    font-weight: 780 !important;
    letter-spacing: -0.06em !important;
}


/* ------------------------------------------------------------
   Datenschutzerklärung – Typografie-Anpassung v50
   Nur Schriftlogik wie bei Home / Projekte / Prozess / Leistungen.
   Layout, Abstände, Farben und Karten bleiben unverändert.
------------------------------------------------------------ */
.legal-page--datenschutz .legal-hero__title,
.legal-page--datenschutz .legal-block h2,
.legal-page--datenschutz .legal-sidebar__card p {
    font-family: var(--font-sans) !important;
    color: #0f2636;
}

.legal-page--datenschutz .legal-hero__title {
    font-weight: 800 !important;
    letter-spacing: -0.07em !important;
}

.legal-page--datenschutz .legal-block h2,
.legal-page--datenschutz .legal-sidebar__card p {
    font-weight: 780 !important;
    letter-spacing: -0.06em !important;
}


/* ------------------------------------------------------------
   Footer – Bild entfernt / Balken durchgezogen v51
------------------------------------------------------------ */
.site-footer__inner {
    grid-template-columns: 1fr auto !important;
}

.footer-nav {
    justify-self: start !important;
}

.footer-logo,
.footer-logo__mark,
.footer-logo__mark img {
    display: none !important;
}

@media (max-width: 720px) {
    .site-footer__inner {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center !important;
    }

    .footer-nav {
        justify-self: center !important;
    }
}


/* ------------------------------------------------------------
   Footer-/CTA-Balken Fix v52
   Entfernt das rechte Bild im Kontakt-Balken und zieht den
   dunkelblauen Balken vollständig über die Breite.
------------------------------------------------------------ */
.cta-banner {
    background: #0f2636 !important;
}

.cta-banner__media {
    display: none !important;
}

.cta-banner__content {
    padding-right: 0 !important;
    width: min(var(--container), calc(100% - 96px)) !important;
    grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr) !important;
}

@media (max-width: 1100px) {
    .cta-banner__content {
        width: 100% !important;
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    .cta-banner__content {
        width: 100% !important;
    }
}


/* ------------------------------------------------------------
   Footer – Logo wieder eingesetzt v53
   CTA-Balken bleibt ohne rechtes Bild.
------------------------------------------------------------ */
.site-footer__inner {
    grid-template-columns: auto 1fr auto !important;
}

.footer-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-self: start !important;
}

.footer-logo__mark {
    display: inline-flex !important;
    width: 112px !important;
    height: 34px !important;
}

.footer-logo__mark img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
}

.footer-nav {
    justify-self: center !important;
}

@media (max-width: 720px) {
    .site-footer__inner {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center !important;
        gap: 20px !important;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .footer-logo {
        justify-self: center !important;
    }

    .footer-logo__mark img {
        object-position: center center !important;
    }

    .footer-nav {
        justify-self: center !important;
    }
}


/* ------------------------------------------------------------
   Akzentfarbe-Fix v55
   Entfernt die letzten hellblauen Hover-/Aktiv-/Drawer-Akzente
   und setzt sie auf das dunkle CTA-Blau.
------------------------------------------------------------ */
:root {
    --sg-blue: #0f2636;
    --sg-blue-dark: #091923;
}

.header-portal-link:hover,
.header-portal-link[aria-current="page"],
body.page-template-page-client-portal .header-portal-link,
body.page-id-client-portal .header-portal-link,
body.page-template-page-client-portal .mobile-nav__portal {
    color: #0f2636 !important;
    border-color: rgba(15, 38, 54, 0.28) !important;
    background: rgba(15, 38, 54, 0.045) !important;
}

.main-nav__list .current-menu-item > a,
.main-nav__list .current_page_item > a,
.main-nav__list .current-menu-ancestor > a,
.main-nav__list .current_page_ancestor > a,
.main-nav__list a[aria-current="page"],
.mobile-nav__list .current-menu-item > a,
.mobile-nav__list .current_page_item > a,
.mobile-nav__list .current-menu-ancestor > a,
.mobile-nav__list .current_page_ancestor > a,
.mobile-nav__list a[aria-current="page"] {
    color: #0f2636 !important;
}

.main-nav__list .current-menu-item > a::after,
.main-nav__list .current_page_item > a::after,
.main-nav__list .current-menu-ancestor > a::after,
.main-nav__list .current_page_ancestor > a::after,
.main-nav__list a[aria-current="page"]::after {
    background: #0f2636 !important;
}

.contact-drawer__close,
.contact-drawer__close:visited {
    background: rgba(15, 38, 54, 0.06) !important;
    border-color: rgba(15, 38, 54, 0.14) !important;
    color: #0f2636 !important;
    box-shadow: none !important;
}

.contact-drawer__close:hover,
.contact-drawer__close:focus-visible {
    background: #0f2636 !important;
    border-color: #0f2636 !important;
    color: #ffffff !important;
    outline: none !important;
}

.contact-drawer__field input:focus,
.contact-drawer__field textarea:focus,
.client-portal-login-form input[type="text"]:focus,
.client-portal-login-form input[type="password"]:focus {
    border-color: rgba(15, 38, 54, 0.42) !important;
    box-shadow: 0 0 0 4px rgba(15, 38, 54, 0.08) !important;
}

.contact-drawer__notice--success,
.client-project-note,
.legal-notice,
.info-card {
    background-color: rgba(15, 38, 54, 0.06);
}

.mobile-menu-toggle:hover,
.service-card:hover,
.services-detail-card:hover,
.process-step-card:hover,
.project-reference-card:hover,
.about-principle-card:hover {
    border-color: rgba(15, 38, 54, 0.28) !important;
}

.contact-drawer__submit,
.contact-drawer__privacy input:checked,
.client-portal-login-form input[type="submit"],
.client-project-button,
.header-button,
.primary-button,
.cta-banner__button {
    background-color: #0f2636;
    border-color: #0f2636;
}

.contact-drawer__submit:hover,
.client-portal-login-form input[type="submit"]:hover,
.client-project-button:hover,
.header-button:hover,
.primary-button:hover,
.cta-banner__button:hover {
    background-color: #091923 !important;
    border-color: #091923 !important;
}


/* ------------------------------------------------------------
   Allgemeiner SVG-Platzhalter v56
------------------------------------------------------------ */
.service-card__placeholder-icon svg,
.service-card__placeholder-icon {
    color: #0d283a;
}

.hero-media,
.page-hero__media,
.process-feature__media,
.project-card__image {
    background-color: #f4f1ea;
}

img[src$="sgrau-placeholder.svg"] {
    object-fit: contain !important;
    padding: clamp(28px, 5vw, 72px);
    background: #f4f1ea;
    color: #0d283a;
}

.project-card__image img[src$="sgrau-placeholder.svg"],
.service-card__media img[src$="sgrau-placeholder.svg"] {
    padding: 34px;
}


/* ------------------------------------------------------------
   Services Cards – Bild-Platzhalter statt Icons v57
   Wenn kein ACF-Bild gesetzt ist, erscheinen die neuen WEBP-
   Platzhalter im gleichen Stil wie das Hero-Bild.
------------------------------------------------------------ */
.service-card__media--placeholder {
    background: #f4f1ea !important;
}

.service-card__image--fallback {
    background: #f4f1ea;
}

.service-card__placeholder-icon {
    display: none !important;
}


/* ------------------------------------------------------------
   Service-Karten – einheitlicher SVG-Platzhalter v58
   Nutzt wieder das abstrakte Logozeichen statt generierter Bilder.
------------------------------------------------------------ */
.service-card__image--fallback[src$="sgrau-placeholder.svg"] {
    object-fit: contain !important;
    width: min(70%, 340px) !important;
    height: 70% !important;
    margin: auto !important;
    display: block !important;
    opacity: 0.20;
    filter: none;
}

.service-card__media:has(.service-card__image--fallback[src$="sgrau-placeholder.svg"]) {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4fb;
}

@supports not selector(:has(*)) {
    .service-card__media .service-card__image--fallback[src$="sgrau-placeholder.svg"] {
        object-fit: contain !important;
    }
}


/* ------------------------------------------------------------
   Service-Karten – Beige Placeholder-Flächen v59
------------------------------------------------------------ */
.service-card__media:has(.service-card__image--fallback[src$="sgrau-placeholder.svg"]) {
    background: #f4f1ea !important;
}

.service-card__image--fallback[src$="sgrau-placeholder.svg"] {
    background: #f4f1ea !important;
}

@supports not selector(:has(*)) {
    .service-card__media {
        background: #f4f1ea;
    }
}


/* ------------------------------------------------------------
   Gemeinsamer Drawer für Kontakt & Client Portal v60
------------------------------------------------------------ */
.header-portal-link[data-client-portal-drawer-open],
.mobile-nav__portal[data-client-portal-drawer-open] {
    cursor: pointer;
}

.contact-drawer__view {
    display: none;
    animation: sgrauDrawerViewIn 220ms ease both;
}

.contact-drawer.is-mode-contact .contact-drawer__view--contact,
.contact-drawer.is-mode-portal .contact-drawer__view--portal {
    display: block;
}

@keyframes sgrauDrawerViewIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.portal-drawer__login-card {
    margin-top: 28px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(244, 241, 234, 0.72);
    border: 1px solid rgba(15, 38, 54, 0.10);
}

.portal-drawer__login-card form,
.portal-drawer__login-card .login-username,
.portal-drawer__login-card .login-password,
.portal-drawer__login-card .login-remember,
.portal-drawer__login-card .login-submit {
    margin: 0;
}

.portal-drawer__login-card form {
    display: grid;
    gap: 15px;
}

.portal-drawer__login-card label {
    display: grid;
    gap: 8px;
    color: rgba(20, 28, 40, 0.66);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-drawer__login-card input[type="text"],
.portal-drawer__login-card input[type="password"] {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(15, 38, 54, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    color: #0f2636;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 560;
    letter-spacing: 0;
    text-transform: none;
    outline: none;
}

.portal-drawer__login-card input[type="text"]:focus,
.portal-drawer__login-card input[type="password"]:focus {
    border-color: rgba(15, 38, 54, 0.42) !important;
    box-shadow: 0 0 0 4px rgba(15, 38, 54, 0.08) !important;
}

.portal-drawer__login-card .login-remember label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 560;
    letter-spacing: 0;
    text-transform: none;
}

.portal-drawer__login-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0f2636;
}

.portal-drawer__login-card input[type="submit"] {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: #0f2636;
    color: #ffffff;
    font-size: 13px;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(15, 38, 54, 0.18);
}

.portal-drawer__login-card input[type="submit"]:hover {
    background: #091923 !important;
}

.portal-drawer__hint {
    margin: 18px 0 0;
    color: rgba(15, 38, 54, 0.62);
    font-size: 13px;
    line-height: 1.65;
}

.portal-drawer__status-card {
    margin-top: 28px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(244, 241, 234, 0.72);
    border: 1px solid rgba(15, 38, 54, 0.10);
}

.portal-drawer__eyebrow,
.portal-drawer__project span,
.portal-drawer__progress span {
    display: block;
    margin: 0 0 8px;
    color: #0f2636;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.portal-drawer__status-card h3 {
    margin: 0 0 22px;
    color: #0f2636;
    font-family: var(--font-sans);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.portal-drawer__project {
    padding: 18px 0;
    border-top: 1px solid rgba(15, 38, 54, 0.10);
    border-bottom: 1px solid rgba(15, 38, 54, 0.10);
}

.portal-drawer__project strong {
    color: #0f2636;
    font-size: 18px;
}

.portal-drawer__progress {
    margin-top: 18px;
}

.portal-drawer__progress > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.portal-drawer__progress strong {
    color: #0f2636;
}

.portal-drawer__progress i {
    display: block;
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(15, 38, 54, 0.10);
    overflow: hidden;
}

.portal-drawer__progress b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #0f2636;
}

.portal-drawer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 22px;
    text-decoration: none;
}


/* ------------------------------------------------------------
   Client Portal Drawer – Login-Rahmen in Theme-Blau v61
------------------------------------------------------------ */
.portal-drawer__login-card {
    background: linear-gradient(180deg, rgba(15, 38, 54, 0.095) 0%, rgba(15, 38, 54, 0.045) 100%) !important;
    border-color: rgba(15, 38, 54, 0.24) !important;
    box-shadow: 0 18px 42px rgba(15, 38, 54, 0.08) !important;
}

.portal-drawer__login-card input[type="text"],
.portal-drawer__login-card input[type="password"] {
    border-color: rgba(15, 38, 54, 0.20) !important;
}


/* ------------------------------------------------------------
   Client Portal Drawer – Label-Abstand wie Kontaktformular v62
------------------------------------------------------------ */
.portal-drawer__login-card .login-username label,
.portal-drawer__login-card .login-password label {
    gap: 13px !important;
    line-height: 1.15 !important;
}

.portal-drawer__login-card form {
    gap: 18px !important;
}

.portal-drawer__login-card .login-remember {
    margin-top: 2px !important;
}

/* ------------------------------------------------------------
   Client Portal Drawer – Label-Position wirklich wie Kontaktformular v63
   WordPress gibt Label und Input als getrennte Elemente aus; deshalb
   wird der Abstand direkt am Label gesetzt, nicht über gap.
------------------------------------------------------------ */
.portal-drawer__login-card .login-username,
.portal-drawer__login-card .login-password {
    display: block !important;
    margin: 0 0 18px !important;
}

.portal-drawer__login-card .login-username label,
.portal-drawer__login-card .login-password label {
    display: block !important;
    margin: 0 0 11px !important;
    padding-left: 0 !important;
    line-height: 1.2 !important;
}

.portal-drawer__login-card .login-username input,
.portal-drawer__login-card .login-password input {
    display: block !important;
    margin-top: 0 !important;
}

.portal-drawer__login-card form {
    gap: 0 !important;
}

/* ------------------------------------------------------------
   Client Portal Drawer – Checkbox-Abstand v64
   „Angemeldet bleiben“ sitzt höher und mit mehr Abstand zum Login-Button.
------------------------------------------------------------ */
.portal-drawer__login-card .login-remember {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
}

.portal-drawer__login-card .login-submit {
    margin-top: 0 !important;
}

/* ------------------------------------------------------------
   Leistungen-Hero – an Homehero-Hintergrund angeglichen v42
   wärmerer Beige-Verlauf wie im Homehero-Screenshot
------------------------------------------------------------ */
.services-page .services-page-hero {
    background:
        radial-gradient(
            circle at 16% 18%,
            rgba(255, 255, 255, 0.34) 0%,
            rgba(255, 255, 255, 0.14) 18%,
            rgba(255, 255, 255, 0.00) 40%
        ),
        radial-gradient(
            circle at 78% 24%,
            rgba(255, 255, 255, 0.10) 0%,
            rgba(255, 255, 255, 0.00) 30%
        ),
        linear-gradient(180deg, #ece1d2 0%, #e6d8c6 54%, #dcc7b6 100%) !important;
}

.services-page .services-page-hero__media {
    background: #e6ddd1 !important;
}

/* ------------------------------------------------------------
   Leistungen-Seite – warmer Beige-Look nur für CTA / Nächster Schritt v44
------------------------------------------------------------ */
.services-page .services-page-cta {
    background:
        linear-gradient(180deg, #eadccc 0%, #dcc7b6 100%) !important;
}

.services-page .services-page-cta__inner {
    background:
        radial-gradient(circle at 92% 4%, rgba(15, 38, 54, 0.10), transparent 34%),
        linear-gradient(180deg, #f6ede2 0%, #ead8c7 100%) !important;
    border-color: rgba(15, 38, 54, 0.10) !important;
}

/* ------------------------------------------------------------
   Prozess-Seite – warmer Beige-Look v45
   Hero, Prinzipien und CTA
------------------------------------------------------------ */
.process-page .process-page-hero {
    background:
        radial-gradient(
            circle at 16% 18%,
            rgba(255, 255, 255, 0.34) 0%,
            rgba(255, 255, 255, 0.14) 18%,
            rgba(255, 255, 255, 0.00) 40%
        ),
        radial-gradient(
            circle at 78% 24%,
            rgba(255, 255, 255, 0.10) 0%,
            rgba(255, 255, 255, 0.00) 30%
        ),
        linear-gradient(180deg, #ece1d2 0%, #e6d8c6 54%, #dcc7b6 100%) !important;
}

.process-page 

.process-page .process-page-principles {
    background:
        radial-gradient(
            circle at 84% 14%,
            rgba(255, 255, 255, 0.16) 0%,
            rgba(255, 255, 255, 0.00) 26%
        ),
        linear-gradient(180deg, #eadccc 0%, #e1cfbf 100%) !important;
}

.process-page .process-page-cta {
    background:
        linear-gradient(180deg, #eadccc 0%, #dcc7b6 100%) !important;
}

.process-page .process-page-cta__inner {
    background:
        radial-gradient(circle at 92% 4%, rgba(15, 38, 54, 0.10), transparent 34%),
        linear-gradient(180deg, #f6ede2 0%, #ead8c7 100%) !important;
    border-color: rgba(15, 38, 54, 0.10) !important;
}

/* ------------------------------------------------------------
   Projekte-Seite – warmer Beige-Look v46
   Hero, Karten-Innenfläche und CTA
------------------------------------------------------------ */
.projects-page .projects-hero {
    background:
        radial-gradient(
            circle at 16% 18%,
            rgba(255, 255, 255, 0.34) 0%,
            rgba(255, 255, 255, 0.14) 18%,
            rgba(255, 255, 255, 0.00) 40%
        ),
        radial-gradient(
            circle at 78% 24%,
            rgba(255, 255, 255, 0.10) 0%,
            rgba(255, 255, 255, 0.00) 30%
        ),
        linear-gradient(180deg, #ece1d2 0%, #e6d8c6 54%, #dcc7b6 100%) !important;
}

.projects-page .projects-hero__visual {
    background: #e6ddd1 !important;
}

.projects-page .project-reference-card {
    background: #ffffff !important;
}

.projects-page .project-reference-card__content {
    background:
        linear-gradient(180deg, #fffaf4 0%, #f6ede1 100%) !important;
}

.projects-page .projects-cta {
    background:
        linear-gradient(180deg, #eadccc 0%, #dcc7b6 100%) !important;
}

.projects-page .projects-cta__inner {
    background:
        radial-gradient(circle at 92% 4%, rgba(15, 38, 54, 0.10), transparent 34%),
        linear-gradient(180deg, #f6ede2 0%, #ead8c7 100%) !important;
    border-color: rgba(15, 38, 54, 0.10) !important;
}

/* ------------------------------------------------------------
   Über Grau Solutions – warmer Beige-Look v47
   Hero, Prinzipien und CTA
------------------------------------------------------------ */
.about-page .about-hero {
    background:
        radial-gradient(
            circle at 16% 18%,
            rgba(255, 255, 255, 0.34) 0%,
            rgba(255, 255, 255, 0.14) 18%,
            rgba(255, 255, 255, 0.00) 40%
        ),
        radial-gradient(
            circle at 78% 24%,
            rgba(255, 255, 255, 0.10) 0%,
            rgba(255, 255, 255, 0.00) 30%
        ),
        linear-gradient(180deg, #ece1d2 0%, #e6d8c6 54%, #dcc7b6 100%) !important;
}

.about-page .about-hero__visual {
    background: #e6ddd1 !important;
}

.about-page .about-principles {
    background:
        radial-gradient(
            circle at 84% 14%,
            rgba(255, 255, 255, 0.24) 0%,
            rgba(255, 255, 255, 0.00) 26%
        ),
        linear-gradient(180deg, #f4ede2 0%, #efe5d8 100%) !important;
}

.about-page .about-cta {
    background:
        linear-gradient(180deg, #eadccc 0%, #dcc7b6 100%) !important;
}

.about-page .about-cta__inner {
    background:
        radial-gradient(circle at 92% 4%, rgba(15, 38, 54, 0.10), transparent 34%),
        linear-gradient(180deg, #f6ede2 0%, #ead8c7 100%) !important;
    border-color: rgba(15, 38, 54, 0.10) !important;
}

/* ------------------------------------------------------------
   Startseite – warmer Beige-Look v48
   Wie wir arbeiten + Über Grau Solutions
------------------------------------------------------------ */
.home .process-section {
    background:
        radial-gradient(
            circle at 14% 20%,
            rgba(255, 255, 255, 0.52) 0%,
            rgba(255, 255, 255, 0.22) 16%,
            rgba(255, 255, 255, 0.00) 38%
        ),
        linear-gradient(180deg, #f5f1ea 0%, #f2ebde 58%, #ebe1d5 100%) !important;
}

.home .process-section__media::after {
    background: linear-gradient(
        90deg,
        rgba(245, 241, 234, 0.08) 0%,
        rgba(245, 241, 234, 0.16) 34%,
        rgba(245, 241, 234, 0.92) 100%
    ) !important;
}

.home .about-solutions-section {
    background:
        radial-gradient(
            circle at 84% 14%,
            rgba(255, 255, 255, 0.24) 0%,
            rgba(255, 255, 255, 0.00) 26%
        ),
        linear-gradient(180deg, #f4ede2 0%, #efe5d8 100%) !important;
}

.home .about-solutions-card {
    background: #fffaf4;
}

/* ------------------------------------------------------------
   Client Portal – warmer Beige-Look v49
   Drawer vor Login, Drawer nach Login und Übersichtsseite
------------------------------------------------------------ */
.contact-drawer.is-mode-portal .contact-drawer__panel {
    background:
        radial-gradient(circle at 92% 6%, rgba(255, 255, 255, 0.42) 0%, rgba(255,255,255,0) 28%),
        linear-gradient(180deg, rgba(250, 244, 236, 0.98) 0%, rgba(244, 235, 224, 0.97) 100%) !important;
}

.contact-drawer.is-mode-portal .portal-drawer__login-card,
.contact-drawer.is-mode-portal .portal-drawer__status-card {
    background:
        linear-gradient(180deg, rgba(255, 250, 244, 0.94) 0%, rgba(246, 237, 225, 0.92) 100%) !important;
    border-color: rgba(15, 38, 54, 0.10) !important;
    box-shadow: 0 20px 48px rgba(15, 38, 54, 0.08) !important;
}

.contact-drawer.is-mode-portal .portal-drawer__login-card input[type="text"],
.contact-drawer.is-mode-portal .portal-drawer__login-card input[type="password"] {
    background: rgba(255, 255, 255, 0.84) !important;
    border-color: rgba(15, 38, 54, 0.14) !important;
}

.contact-drawer.is-mode-portal .portal-drawer__hint {
    color: rgba(15, 38, 54, 0.68) !important;
}

.client-portal-page--about-style {
    background: #f3ecdf;
}

.client-portal-page--about-style .client-portal-hero,
.client-portal-page--about-style .client-portal-hero.client-portal-hero--about {
    background:
        radial-gradient(
            circle at 16% 18%,
            rgba(255, 255, 255, 0.60) 0%,
            rgba(255, 255, 255, 0.32) 16%,
            rgba(255, 255, 255, 0.00) 38%
        ),
        radial-gradient(
            circle at 78% 24%,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.00) 30%
        ),
        linear-gradient(180deg, #f5f1ea 0%, #f2ebde 58%, #ebe1d5 100%) !important;
}

.client-portal-page--about-style .client-portal-login-card,
.client-portal-page--about-style .client-portal-dashboard {
    background:
        linear-gradient(180deg, rgba(255, 250, 244, 0.94) 0%, rgba(246, 237, 225, 0.92) 100%) !important;
    border-color: rgba(15, 38, 54, 0.10) !important;
    box-shadow: 0 34px 90px rgba(15, 38, 54, 0.12) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.client-portal-page--about-style .client-portal-login-form input[type="text"],
.client-portal-page--about-style .client-portal-login-form input[type="password"] {
    background: rgba(255, 255, 255, 0.84) !important;
}

.client-portal-about-intro {
    background: linear-gradient(180deg, #fbf6ef 0%, #f7f0e6 100%) !important;
}

.client-portal-principles {
    background:
        radial-gradient(
            circle at 84% 14%,
            rgba(255, 255, 255, 0.24) 0%,
            rgba(255, 255, 255, 0.00) 26%
        ),
        linear-gradient(180deg, #f4ede2 0%, #efe5d8 100%) !important;
}

.client-portal-principle-card,
.client-portal-page--about-style .client-project-card,
.client-portal-page--about-style .client-project-note {
    background: linear-gradient(180deg, #fffaf4 0%, #f7efe5 100%) !important;
    border-color: rgba(15, 38, 54, 0.09) !important;
}

.client-portal-page--about-style .client-project-empty {
    background: rgba(255, 250, 244, 0.92) !important;
    border: 1px solid rgba(15, 38, 54, 0.08);
}

/* ------------------------------------------------------------
   Client Portal Drawer – Boxen wieder weiß v50
   Login-Box + eingeloggte Status-Box
------------------------------------------------------------ */
.contact-drawer.is-mode-portal .portal-drawer__login-card,
.contact-drawer.is-mode-portal .portal-drawer__status-card {
    background: #ffffff !important;
}

/* ------------------------------------------------------------
   Client-Portal-Seite – ausgewählte Boxen/Sektionen wieder weiß v51
   Willkommen-Box, Nächste Schritte, Projektübersicht, 3 Prinzipien-Karten
------------------------------------------------------------ */
.client-portal-page--about-style .client-portal-dashboard {
    background: #ffffff !important;
}

.client-portal-page--about-style .client-project-note {
    background: #ffffff !important;
}

.client-portal-about-intro {
    background: #ffffff !important;
}

.client-portal-principle-card {
    background: #ffffff !important;
}

/* ------------------------------------------------------------
   Client-Portal-Seite – Feinanpassung Boxen v52
   Aktuelles Projekt weiß, Nächste Schritte wieder warm beige
------------------------------------------------------------ */
.client-portal-page--about-style .client-project-card {
    background: #ffffff !important;
}

.client-portal-page--about-style .client-project-note {
    background:
        linear-gradient(180deg, #fffaf4 0%, #f7efe5 100%) !important;
    border-color: rgba(15, 38, 54, 0.09) !important;
}

/* ------------------------------------------------------------
   Client-Portal-Seite – finale Hierarchie v53
   Beige Hintergrund → weiße Hauptbox → warmbeige Projektkarte → weiße Info-Kachel
------------------------------------------------------------ */
.client-portal-page--about-style .client-portal-dashboard {
    background: #ffffff !important;
}

.client-portal-page--about-style .client-project-card {
    background: linear-gradient(180deg, #fffaf4 0%, #f7efe5 100%) !important;
    border-color: rgba(15, 38, 54, 0.10) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.client-portal-page--about-style .client-project-note {
    background: #ffffff !important;
    border: 1px solid rgba(15, 38, 54, 0.10) !important;
}

.client-portal-page--about-style .client-project-empty {
    background: rgba(255, 250, 244, 0.74) !important;
    border: 1px solid rgba(15, 38, 54, 0.07) !important;
    color: rgba(15, 38, 54, 0.68) !important;
}

.client-portal-page--about-style .client-project-progress__bar {
    background: rgba(15, 38, 54, 0.12) !important;
}

.client-portal-page--about-style .client-project-progress__bar span {
    background: #0f2636 !important;
}

/* ------------------------------------------------------------
   Client-Portal-Seite – Projektübersicht wie Projekte-Method-Section v54
   dunkelblau mit weißer Schrift
------------------------------------------------------------ */
.client-portal-about-intro {
    background: #0f2636 !important;
    color: #ffffff !important;
}

.client-portal-about-intro .section-eyebrow {
    color: rgba(255,255,255,0.68) !important;
}

.client-portal-about-intro__inner h2 {
    color: #ffffff !important;
}

.client-portal-about-intro__inner p:not(.section-eyebrow) {
    color: rgba(255,255,255,0.74) !important;
}

/* ------------------------------------------------------------
   Client-Portal-Seite – Projektübersicht blau, Headline sichtbar v55
   klare Zweispaltenlogik wie auf der Projekte-Seite
------------------------------------------------------------ */
.client-portal-about-intro {
    padding: 104px 32px !important;
    background: #0f2636 !important;
    color: #ffffff !important;
}

.client-portal-about-intro__inner {
    max-width: 980px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 0.9fr 1.1fr !important;
    gap: 64px !important;
    align-items: start !important;
}

.client-portal-about-intro .section-eyebrow {
    grid-column: 1;
    grid-row: 1;
    color: rgba(255,255,255,0.68) !important;
}

.client-portal-about-intro__inner h2 {
    grid-column: 2;
    grid-row: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    max-width: 760px;
    font-family: var(--font-serif) !important;
    font-size: clamp(2.4rem, 4.2vw, 4.7rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.05em !important;
    color: #ffffff !important;
}

.client-portal-about-intro__inner p:not(.section-eyebrow) {
    grid-column: 1;
    grid-row: 2;
    margin: 0 !important;
    max-width: 520px;
    color: rgba(255,255,255,0.74) !important;
    font-size: 1.06rem;
    line-height: 1.84;
}

@media (max-width: 1020px) {
    .client-portal-about-intro__inner {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .client-portal-about-intro .section-eyebrow,
    .client-portal-about-intro__inner h2,
    .client-portal-about-intro__inner p:not(.section-eyebrow) {
        grid-column: auto;
        grid-row: auto;
        max-width: none;
    }
}

/* ------------------------------------------------------------
   Client-Portal-Seite – harte Korrektur Projektübersicht-Headline v56
   Überschrift sichtbar erzwingen
------------------------------------------------------------ */
body.page-template-page-client-portal .client-portal-about-intro,
body.page-template-page-client-portal-php .client-portal-about-intro,
.client-portal-page.client-portal-page--about-style .client-portal-about-intro {
    display: block !important;
    position: relative !important;
    padding: 104px 32px !important;
    background: #0f2636 !important;
    color: #ffffff !important;
    overflow: visible !important;
}

body.page-template-page-client-portal .client-portal-about-intro__inner,
body.page-template-page-client-portal-php .client-portal-about-intro__inner,
.client-portal-page.client-portal-page--about-style .client-portal-about-intro__inner {
    display: grid !important;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr) !important;
    grid-template-areas:
        "eyebrow title"
        "text title" !important;
    gap: 28px 64px !important;
    align-items: start !important;
    max-width: 980px !important;
    width: min(980px, calc(100% - 0px)) !important;
    margin: 0 auto !important;
    color: #ffffff !important;
}

body.page-template-page-client-portal .client-portal-about-intro__inner > .section-eyebrow,
body.page-template-page-client-portal-php .client-portal-about-intro__inner > .section-eyebrow,
.client-portal-page.client-portal-page--about-style .client-portal-about-intro__inner > .section-eyebrow {
    grid-area: eyebrow !important;
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: rgba(255,255,255,0.68) !important;
}

body.page-template-page-client-portal .client-portal-about-intro__inner > h2,
body.page-template-page-client-portal-php .client-portal-about-intro__inner > h2,
.client-portal-page.client-portal-page--about-style .client-portal-about-intro__inner > h2 {
    grid-area: title !important;
    display: block !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    clip: auto !important;
    clip-path: none !important;
    width: auto !important;
    height: auto !important;
    max-width: 760px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    text-indent: 0 !important;
    white-space: normal !important;
    font-family: var(--font-serif) !important;
    font-size: clamp(2.4rem, 4.2vw, 4.7rem) !important;
    line-height: 0.95 !important;
    font-weight: 500 !important;
    letter-spacing: -0.05em !important;
    color: #ffffff !important;
    z-index: 5 !important;
}

body.page-template-page-client-portal .client-portal-about-intro__inner > p:not(.section-eyebrow),
body.page-template-page-client-portal-php .client-portal-about-intro__inner > p:not(.section-eyebrow),
.client-portal-page.client-portal-page--about-style .client-portal-about-intro__inner > p:not(.section-eyebrow) {
    grid-area: text !important;
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: 520px !important;
    margin: 0 !important;
    color: rgba(255,255,255,0.74) !important;
    font-size: 1.06rem !important;
    line-height: 1.84 !important;
}

@media (max-width: 1020px) {
    body.page-template-page-client-portal .client-portal-about-intro__inner,
    body.page-template-page-client-portal-php .client-portal-about-intro__inner,
    .client-portal-page.client-portal-page--about-style .client-portal-about-intro__inner {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "eyebrow"
            "title"
            "text" !important;
        gap: 24px !important;
    }
}

/* ------------------------------------------------------------
   Client-Portal-Seite – Projektübersicht Schrift zurück auf Sans v57
   Headline sichtbar, aber wieder wie vorher im kräftigen Sans-Stil
------------------------------------------------------------ */
.client-portal-about-intro__inner h2,
.client-portal-page--about-style .client-portal-about-intro__inner h2,
body .client-portal-page .client-portal-about-intro__inner h2 {
    font-family: var(--font-sans) !important;
    font-weight: 760 !important;
    letter-spacing: -0.065em !important;
    line-height: 0.92 !important;
    color: #ffffff !important;
}

/* ------------------------------------------------------------
   Leistungen & Prozess – Hero-Bilder höher ausrichten v58
   Bildposition an Projekte / Über Grau Solutions angeglichen.
------------------------------------------------------------ */
@media (min-width: 981px) {
    .services-page .services-page-hero__inner,
    .process-page .process-page-hero__inner {
        align-items: start !important;
    }

    .services-page .services-page-hero__media,
    .process-page 
}

/* ------------------------------------------------------------
   Leistungen-Seite – Hero Layout gespiegelt v59
   Bild links, Text rechts; Prozess bleibt unverändert.
------------------------------------------------------------ */
@media (min-width: 981px) {
    .services-page .services-page-hero__inner {
        grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr) !important;
    }

    .services-page .services-page-hero__media {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .services-page .services-page-hero__copy {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
}

/* ------------------------------------------------------------
   CIT – interner Admin-Bereich v1
   Admin-only Headerbutton + erste interne Pattern Library
------------------------------------------------------------ */

.header-cit-link,
.header-portal-link {
    min-height: 40px;
    padding: 0 24px;
}

.header-cit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(20, 28, 40, 0.10);
    border-radius: 999px;
    background: #ffffff;
    color: var(--sg-ink, var(--sg-black));
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 680;
    letter-spacing: 0.055em;
    text-transform: none;
    white-space: nowrap;
    line-height: 1;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-cit-link:hover,
body.page-template-page-cit .header-cit-link {
    color: #0f2636;
    border-color: rgba(15, 38, 54, 0.28);
    background: rgba(15, 38, 54, 0.045);
    transform: translateY(-1px);
}

.mobile-nav__cit {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 14px;
    border: 1px solid rgba(20, 28, 40, 0.10);
    border-radius: 999px;
    color: var(--sg-ink, var(--sg-black));
    font-weight: 680;
}

body.page-template-page-cit .mobile-nav__cit {
    color: #0f2636;
    border-color: rgba(15, 38, 54, 0.28);
    background: rgba(15, 38, 54, 0.045);
}

@media (max-width: 1180px) {
    .header-cit-link,
    .header-portal-link {
        padding: 0 18px;
    }
}

@media (max-width: 920px) {
    .header-cit-link {
        display: none;
    }
}

@media (max-width: 560px) {
    .mobile-nav__cit,
    .mobile-nav__portal,
    .mobile-nav__contact {
        width: calc(100% - 28px);
        margin-left: auto;
        margin-right: auto;
    }
}

.cit-page {
    background:
        radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, #f4f1ea 0%, #faf9f5 48%, #f4f1ea 100%);
}

.cit-shell {
    width: min(var(--container), calc(100% - 96px));
    margin: 0 auto;
}

.cit-hero,
.cit-locked {
    padding: clamp(92px, 10vw, 156px) 0 clamp(72px, 8vw, 118px);
}

.cit-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.55fr);
    gap: clamp(36px, 6vw, 96px);
    align-items: end;
}

.cit-hero__copy {
    max-width: 900px;
}

.cit-title {
    max-width: 960px;
    margin: 0;
    color: var(--sg-black);
    font-family: var(--font-serif);
    font-size: clamp(48px, 5.5vw, 92px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.06em;
}

.cit-intro {
    max-width: 720px;
    margin: 34px 0 0;
    color: rgba(36, 67, 87, 0.78);
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.72;
}

.cit-hero__panel {
    padding: clamp(30px, 3vw, 46px);
    border: 1px solid rgba(15, 38, 54, 0.12);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 24px 80px rgba(15, 38, 54, 0.07);
}

.cit-panel__label,
.cit-card__tag {
    display: inline-flex;
    margin: 0 0 18px;
    color: var(--sg-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.cit-hero__panel strong {
    display: block;
    margin: 0 0 16px;
    color: var(--sg-black);
    font-family: var(--font-serif);
    font-size: clamp(28px, 2.3vw, 40px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.cit-hero__panel p {
    margin: 0;
    color: rgba(40, 73, 93, 0.72);
    line-height: 1.72;
}


.cit-panel__drawer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 26px;
    padding: 0 24px;
    border: 1px solid #b94a3a;
    border-radius: 999px;
    background: #b94a3a;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.cit-panel__drawer-button:hover,
.cit-panel__drawer-button:focus-visible {
    background: #963829;
    border-color: #963829;
    transform: translateY(-1px);
}

.cit-library {
    padding: 0 0 clamp(72px, 8vw, 128px);
}

.cit-section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: clamp(26px, 4vw, 70px);
    align-items: end;
    margin-bottom: clamp(34px, 5vw, 70px);
}

.cit-section-head .section-kicker {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.cit-section-head h2,
.cit-preview-note h2 {
    margin: 0;
    color: var(--sg-black);
    font-family: var(--font-serif);
    font-size: clamp(42px, 4vw, 70px);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.055em;
}

.cit-section-head p,
.cit-preview-note p {
    margin: 0;
    color: rgba(40, 73, 93, 0.72);
    font-size: 17px;
    line-height: 1.74;
}

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

.cit-card {
    overflow: hidden;
    border: 1px solid rgba(15, 38, 54, 0.11);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 58px rgba(15, 38, 54, 0.055);
}

.cit-card__preview {
    min-height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 22px;
    background:
        radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 32%),
        linear-gradient(135deg, #dcc7b6 0%, #f1e7dc 46%, #0f2636 100%);
}

.cit-card__preview span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--sg-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cit-card__body {
    padding: 28px;
}

.cit-card h3 {
    margin: 0 0 14px;
    color: var(--sg-black);
    font-family: var(--font-serif);
    font-size: 30px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.cit-card p:not(.cit-card__tag) {
    margin: 0;
    color: rgba(40, 73, 93, 0.72);
    line-height: 1.68;
}

.cit-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 38, 54, 0.10);
}

.cit-card__meta span {
    color: rgba(40, 73, 93, 0.62);
    font-size: 12px;
    line-height: 1.35;
}

.cit-card__button {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(15, 38, 54, 0.12);
    border-radius: 999px;
    background: rgba(15, 38, 54, 0.045);
    color: rgba(15, 38, 54, 0.64);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cit-preview-note {
    padding: 0 0 clamp(80px, 8vw, 132px);
}

.cit-preview-note__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 84px);
    padding: clamp(34px, 5vw, 72px);
    border-radius: 36px;
    background: #0f2636;
    color: #fff;
}

.cit-preview-note .section-kicker,
.cit-preview-note h2,
.cit-preview-note p {
    color: #fff;
}

.cit-preview-note p {
    color: rgba(255, 255, 255, 0.78);
}

.cit-locked__inner {
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.cit-locked .primary-button {
    margin-top: 34px;
}

@media (max-width: 1120px) {
    .cit-hero__inner,
    .cit-section-head,
    .cit-preview-note__inner {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .cit-shell {
        width: calc(100% - 32px);
    }

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

    .cit-card__meta {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ------------------------------------------------------------
   CIT Headerbutton rot v2
------------------------------------------------------------- */
.header-cit-link {
    background: #b94a3a !important;
    border-color: #b94a3a !important;
    color: #ffffff !important;
}

.header-cit-link:hover,
body.page-template-page-cit .header-cit-link {
    background: #963829 !important;
    border-color: #963829 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.mobile-nav__cit {
    background: #b94a3a !important;
    border-color: #b94a3a !important;
    color: #ffffff !important;
}

body.page-template-page-cit .mobile-nav__cit,
.mobile-nav__cit:hover {
    background: #963829 !important;
    border-color: #963829 !important;
    color: #ffffff !important;
}

/* ------------------------------------------------------------
   CIT Drawer – interne Navigation & Vorschau v3
------------------------------------------------------------- */
.cit-panel__drawer-button[data-cit-drawer-open] {
    cursor: pointer;
}

.contact-drawer.is-mode-cit .contact-drawer__view--cit {
    display: block;
}

.contact-drawer.is-mode-cit .contact-drawer__panel {
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 28%),
        radial-gradient(circle at 8% 92%, rgba(255, 180, 165, 0.10) 0%, rgba(255, 180, 165, 0) 35%),
        linear-gradient(180deg, #2f1512 0%, #5c2019 48%, #7a2d24 100%) !important;
}

.contact-drawer.is-mode-cit .contact-drawer__close {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.contact-drawer.is-mode-cit .cit-drawer__head {
    padding: 0 8px 24px 58px;
}

.contact-drawer.is-mode-cit .cit-drawer__kicker,
.contact-drawer.is-mode-cit .contact-drawer__title,
.contact-drawer.is-mode-cit .contact-drawer__text {
    color: #ffffff;
}

.contact-drawer.is-mode-cit .contact-drawer__text {
    color: rgba(255, 255, 255, 0.78);
}

.cit-drawer__preview-card {
    position: relative;
    margin-top: 10px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.94)),
        radial-gradient(circle at 18% 0%, rgba(185, 74, 58, 0.16), rgba(185, 74, 58, 0));
    box-shadow: 0 24px 58px rgba(47, 21, 18, 0.24);
    overflow: hidden;
}

.cit-drawer__preview-card::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 22px;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(185, 74, 58, 0.22);
    border-radius: 999px;
    background: rgba(185, 74, 58, 0.055);
}

.cit-drawer__label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(185, 74, 58, 0.10);
    color: #963829;
    font-size: 10px;
    font-weight: 820;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cit-drawer__preview-card h3 {
    position: relative;
    max-width: 300px;
    margin: 18px 0 0;
    color: #0f2636;
    font-family: var(--font-display);
    font-size: clamp(30px, 3.5vw, 42px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.cit-drawer__preview-card p {
    position: relative;
    margin: 16px 0 0;
    color: rgba(15, 38, 54, 0.68);
    font-size: 14px;
    line-height: 1.65;
}

.cit-drawer__primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    margin-top: 22px;
    padding: 0 20px;
    border-radius: 999px;
    background: #b94a3a;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(185, 74, 58, 0.22);
}

.cit-drawer__primary:hover {
    background: #963829;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.cit-drawer__quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.cit-drawer__quick-card {
    min-height: 128px;
    padding: 18px;
    border: 1px solid rgba(15, 38, 54, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    color: #0f2636;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.cit-drawer__quick-card:hover {
    background: #ffffff;
    border-color: rgba(185, 74, 58, 0.22);
    box-shadow: 0 16px 34px rgba(15, 38, 54, 0.08);
    transform: translateY(-2px);
}

.cit-drawer__quick-card span {
    display: block;
    margin-bottom: 24px;
    color: rgba(185, 74, 58, 0.72);
    font-size: 11px;
    font-weight: 820;
    letter-spacing: 0.12em;
}

.cit-drawer__quick-card strong {
    display: block;
    color: #0f2636;
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.cit-drawer__quick-card em {
    display: block;
    margin-top: 9px;
    color: rgba(15, 38, 54, 0.60);
    font-size: 12px;
    font-style: normal;
    line-height: 1.45;
}

.cit-drawer__workflow {
    margin-top: 18px;
    padding: 20px 22px;
    border-radius: 26px;
    background: rgba(15, 38, 54, 0.94);
    color: #ffffff;
}

.cit-drawer__workflow-title {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 820;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cit-drawer__workflow ol {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 19px;
}

.cit-drawer__workflow li {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.45;
}

.header-cit-link[aria-expanded="true"] {
    background: #963829 !important;
    border-color: #963829 !important;
    color: #ffffff !important;
}

.mobile-nav__cit[aria-expanded="true"] {
    background: #963829 !important;
    border-color: #963829 !important;
    color: #ffffff !important;
}

@media (max-width: 520px) {
    .cit-drawer__quick-grid {
        grid-template-columns: 1fr;
    }

    .cit-drawer__quick-card {
        min-height: auto;
    }
}


/* CIT v7: Sans-Typografie wie auf den Business-Seiten */
.cit-page,
.cit-page * {
    font-family: var(--font-sans) !important;
}

.cit-title {
    max-width: 980px;
    font-family: var(--font-sans) !important;
    font-size: clamp(58px, 7.2vw, 126px) !important;
    line-height: 0.86 !important;
    font-weight: 860 !important;
    letter-spacing: -0.085em !important;
    color: #0f2636 !important;
}

.cit-intro {
    max-width: 760px;
    font-family: var(--font-sans) !important;
    font-size: clamp(18px, 1.55vw, 23px) !important;
    line-height: 1.68 !important;
    font-weight: 430 !important;
    letter-spacing: -0.015em !important;
    color: rgba(15, 38, 54, 0.68) !important;
}

.cit-panel__label,
.cit-card__tag,
.cit-section-head .section-kicker {
    font-family: var(--font-sans) !important;
    font-size: 12px !important;
    font-weight: 820 !important;
    letter-spacing: 0.34em !important;
    color: #0f2636 !important;
}

.cit-hero__panel strong,
.cit-section-head h2,
.cit-preview-note h2,
.cit-card h3 {
    font-family: var(--font-sans) !important;
    color: #0f2636 !important;
    font-weight: 820 !important;
    letter-spacing: -0.065em !important;
}

.cit-hero__panel strong {
    font-size: clamp(26px, 2.2vw, 38px) !important;
    line-height: 0.98 !important;
}

.cit-section-head h2,
.cit-preview-note h2 {
    font-size: clamp(44px, 4.6vw, 78px) !important;
    line-height: 0.92 !important;
}

.cit-card h3 {
    font-size: clamp(24px, 2.1vw, 34px) !important;
    line-height: 0.98 !important;
}

.cit-hero__panel p,
.cit-section-head p,
.cit-preview-note p,
.cit-card p:not(.cit-card__tag),
.cit-card__meta span {
    font-family: var(--font-sans) !important;
    letter-spacing: -0.01em;
}

@media (max-width: 760px) {
    .cit-title {
        font-size: clamp(46px, 13vw, 74px) !important;
        line-height: 0.9 !important;
    }
}

/* ------------------------------------------------------------
   CIT Drawer Erweiterung v9
------------------------------------------------------------ */

.contact-drawer.is-mode-cit .contact-drawer__panel {
    overflow-x: visible;
    overflow-y: auto;
}

.contact-drawer.is-mode-cit .contact-drawer__view--cit {
    position: relative;
}

.cit-drawer__expand-toggle {
    position: absolute;
    top: 2px;
    left: 0;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(47, 21, 18, 0.22);
    transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.cit-drawer__expand-toggle span {
    width: 18px;
    height: 18px;
    display: block;
    position: relative;
}

.cit-drawer__expand-toggle span::before,
.cit-drawer__expand-toggle span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.cit-drawer__expand-toggle span::after {
    width: 2px;
    height: 18px;
}

.cit-drawer__expand-toggle:hover,
.cit-drawer__expand-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-1px);
}

.contact-drawer.is-cit-expanded .cit-drawer__expand-toggle {
    background: rgba(255, 255, 255, 0.94);
    color: #7a2d24;
}

.contact-drawer.is-cit-expanded .cit-drawer__expand-toggle span::after {
    opacity: 0;
}

.cit-drawer__extension {
    position: fixed;
    top: var(--header-height);
    right: var(--contact-drawer-width);
    bottom: 0;
    z-index: 1203;
    width: var(--contact-drawer-width);
    height: auto;
    max-height: calc(100vh - var(--header-height));
    padding: clamp(34px, 6vw, 58px) clamp(24px, 4vw, 42px) clamp(44px, 6vw, 72px);
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 30%),
        linear-gradient(180deg, #3a1713 0%, #68261f 52%, #87342a 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: -28px 0 70px rgba(15, 23, 42, 0.12);
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    transform: translateX(34px);
    transition: opacity 260ms ease, transform 320ms cubic-bezier(.22,.76,.25,1);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.cit-drawer__extension::-webkit-scrollbar {
    width: 10px;
}

.cit-drawer__extension::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
}

.cit-drawer__extension::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.cit-drawer__extension::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.42);
    background-clip: padding-box;
}

.contact-drawer.is-open.is-mode-cit.is-cit-expanded .cit-drawer__extension {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.cit-drawer__extension-kicker {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 820;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cit-drawer__extension h3 {
    max-width: 360px;
    margin: 0;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: clamp(34px, 4vw, 54px);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.cit-drawer__extension > p:not(.cit-drawer__extension-kicker) {
    max-width: 360px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.7;
}

.cit-drawer__extension-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.cit-drawer__extension-grid article {
    min-height: 136px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.09);
}

.cit-drawer__extension-grid span {
    display: block;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 820;
    letter-spacing: 0.12em;
}

.cit-drawer__extension-grid strong {
    display: block;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.035em;
}

.cit-drawer__extension-grid em {
    display: block;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 12px;
    font-style: normal;
    line-height: 1.45;
}


.admin-bar .cit-drawer__extension {
    top: calc(var(--header-height) + 32px);
    max-height: calc(100vh - var(--header-height) - 32px);
}


@media (max-width: 782px) {
    .admin-bar .cit-drawer__extension {
        top: calc(var(--header-height) + 46px);
        max-height: calc(100vh - var(--header-height) - 46px);
    }

}

@media (max-width: 980px) {
    .cit-drawer__expand-toggle,
    .cit-drawer__extension {
        display: none;
    }

    .contact-drawer.is-mode-cit .contact-drawer__panel {
        overflow-y: auto;
    }
}

/* ------------------------------------------------------------
   CIT Drawer Extension v12 reliable layout fix
   Expands the panel itself so the left workspace is not clipped.
------------------------------------------------------------ */
@media (min-width: 981px) {
    .contact-drawer.is-mode-cit.is-cit-expanded .contact-drawer__panel {
        width: min(920px, calc(100vw - 32px)) !important;
        overflow: hidden !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .contact-drawer__view--cit {
        position: relative !important;
        min-height: calc(100vh - var(--header-height) - 88px);
        padding-left: min(460px, calc((100vw - 32px) / 2)) !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__extension {
        position: absolute !important;
        top: calc(-1 * clamp(28px, 4vw, 44px)) !important;
        left: calc(-1 * clamp(24px, 4vw, 42px)) !important;
        right: auto !important;
        bottom: auto !important;
        width: min(460px, calc((100vw - 32px) / 2)) !important;
        height: calc(100vh - var(--header-height)) !important;
        max-height: none !important;
        z-index: 12 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(26px) !important;
    }

    .contact-drawer.is-open.is-mode-cit.is-cit-expanded .cit-drawer__extension {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle {
        position: absolute !important;
        top: 2px !important;
        left: min(460px, calc((100vw - 32px) / 2)) !important;
        transform: translateX(-50%) !important;
        z-index: 30 !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle:hover,
    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle:focus-visible {
        transform: translateX(-50%) translateY(-1px) !important;
    }
}

/* ------------------------------------------------------------
   CIT Drawer v13: independent scroll lanes + more workspace items
------------------------------------------------------------ */
.cit-drawer__main-scroll {
    position: relative;
}

@media (min-width: 981px) {
    .contact-drawer.is-mode-cit.is-cit-expanded .contact-drawer__panel {
        width: min(920px, calc(100vw - 32px)) !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .contact-drawer__view--cit {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__extension {
        position: relative !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: auto !important;
        height: 100% !important;
        max-height: none !important;
        min-height: 0 !important;
        padding: clamp(34px, 6vw, 58px) clamp(24px, 4vw, 42px) clamp(44px, 6vw, 72px) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__main-scroll {
        grid-column: 2 !important;
        grid-row: 1 !important;
        height: 100% !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
        padding: clamp(34px, 6vw, 58px) clamp(24px, 4vw, 42px) clamp(44px, 6vw, 72px) !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle {
        position: absolute !important;
        top: 48px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 40 !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle:hover,
    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle:focus-visible {
        transform: translateX(-50%) translateY(-1px) !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .contact-drawer__close {
        z-index: 45 !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__head {
        padding-left: 58px !important;
    }
}

@media (min-width: 981px) {
    .contact-drawer.is-mode-cit:not(.is-cit-expanded) .cit-drawer__main-scroll {
        position: static;
        height: auto;
        overflow: visible;
        padding: 0;
    }
}

/* ------------------------------------------------------------
   CIT Drawer v14: drei Arbeitsflächen / zweistufige Erweiterung
------------------------------------------------------------ */
@media (min-width: 981px) {
    .contact-drawer.is-mode-cit .cit-drawer__extension--second {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded:not(.is-cit-expanded-2) .contact-drawer__panel {
        width: min(920px, calc(100vw - 32px)) !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded:not(.is-cit-expanded-2) .contact-drawer__view--cit {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded:not(.is-cit-expanded-2) .cit-drawer__extension--first {
        display: block !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded:not(.is-cit-expanded-2) .cit-drawer__main-scroll {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .contact-drawer__panel {
        width: min(1380px, calc(100vw - 32px)) !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .contact-drawer__view--cit {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__extension--second,
    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__extension--first {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: block !important;
        width: auto !important;
        height: 100% !important;
        max-height: none !important;
        min-height: 0 !important;
        padding: clamp(34px, 6vw, 58px) clamp(24px, 4vw, 42px) clamp(44px, 6vw, 72px) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__extension--second {
        grid-column: 1 !important;
        grid-row: 1 !important;
        background:
            radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 31%),
            linear-gradient(180deg, #321411 0%, #5b211b 52%, #7f3128 100%) !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__extension--first {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__main-scroll {
        grid-column: 3 !important;
        grid-row: 1 !important;
        height: 100% !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
        padding: clamp(34px, 6vw, 58px) clamp(24px, 4vw, 42px) clamp(44px, 6vw, 72px) !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-toggle {
        position: absolute !important;
        top: 48px !important;
        left: calc(100% / 3 * 2) !important;
        transform: translateX(-50%) !important;
        z-index: 60 !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-toggle:hover,
    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-toggle:focus-visible {
        transform: translateX(-50%) translateY(-1px) !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-toggle span::after {
        opacity: 0;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__head {
        padding-left: 58px !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .contact-drawer__close {
        z-index: 70 !important;
    }
}

/* ------------------------------------------------------------
   CIT Drawer v15: separate plus/minus controls + outer edge handle
------------------------------------------------------------ */
@media (min-width: 981px) {
    .contact-drawer.is-mode-cit .cit-drawer__expand-controls {
        position: absolute !important;
        top: 48px !important;
        left: 0 !important;
        z-index: 80 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        transform: none !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-toggle {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        flex: 0 0 44px !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-toggle:hover,
    .contact-drawer.is-mode-cit .cit-drawer__expand-toggle:focus-visible,
    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle:hover,
    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle:focus-visible,
    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-toggle:hover,
    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-toggle:focus-visible {
        transform: translateY(-1px) !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-toggle--plus span::after,
    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle--plus span::after,
    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-toggle--plus span::after {
        opacity: 1 !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-toggle--minus span::after,
    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle--minus span::after,
    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-toggle--minus span::after {
        opacity: 0 !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-toggle--minus {
        display: none !important;
        background: rgba(255, 255, 255, 0.94) !important;
        color: #7a2d24 !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle--minus,
    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-toggle--minus {
        display: inline-flex !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-toggle--plus:disabled {
        opacity: 0.45 !important;
        cursor: default !important;
        transform: none !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded:not(.is-cit-expanded-2) .cit-drawer__expand-controls {
        left: calc(50% + 44px) !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-controls {
        left: calc((100% / 3 * 2) + 44px) !important;
    }

    .contact-drawer.is-open.is-mode-cit.is-cit-expanded:not(.is-cit-expanded-2) .contact-drawer__handle {
        right: min(920px, calc(100vw - 32px)) !important;
    }

    .contact-drawer.is-open.is-mode-cit.is-cit-expanded-2 .contact-drawer__handle {
        right: min(1380px, calc(100vw - 32px)) !important;
    }
}

/* ------------------------------------------------------------
   CIT Drawer v16: Plus/Minus sauber getrennt
------------------------------------------------------------ */
@media (min-width: 981px) {
    .contact-drawer.is-mode-cit .cit-drawer__expand-controls {
        width: 48px !important;
        height: 102px !important;
        display: block !important;
        position: absolute !important;
        top: 48px !important;
        z-index: 95 !important;
        pointer-events: auto !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-controls .cit-drawer__expand-toggle {
        position: absolute !important;
        left: 0 !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        flex: none !important;
        transform: none !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-controls .cit-drawer__expand-toggle--plus {
        top: 0 !important;
        right: auto !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-controls .cit-drawer__expand-toggle--minus {
        top: 54px !important;
        right: auto !important;
        margin-left: 0 !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-controls .cit-drawer__expand-toggle:hover,
    .contact-drawer.is-mode-cit .cit-drawer__expand-controls .cit-drawer__expand-toggle:focus-visible {
        transform: translateY(-1px) !important;
    }
}


/* ------------------------------------------------------------
   CIT Drawer v18: Plus bleibt fix, Minus erscheint darunter
------------------------------------------------------------ */
@media (min-width: 981px) {
    .contact-drawer.is-mode-cit .cit-drawer__expand-controls {
        width: 48px !important;
        height: 102px !important;
        display: block !important;
        position: absolute !important;
        top: 48px !important;
        left: 0 !important;
        z-index: 95 !important;
        pointer-events: auto !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded:not(.is-cit-expanded-2) .cit-drawer__expand-controls {
        left: calc(50% + 44px) !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-controls {
        left: calc((100% / 3 * 2) + 44px) !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-controls .cit-drawer__expand-toggle {
        position: absolute !important;
        left: 0 !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        margin: 0 !important;
        transform: none !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-controls .cit-drawer__expand-toggle--plus {
        top: 0 !important;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-controls .cit-drawer__expand-toggle--minus {
        top: 54px !important;
        display: inline-flex !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        background: rgba(255, 255, 255, 0.94) !important;
        color: #7a2d24 !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-controls .cit-drawer__expand-toggle--minus,
    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-controls .cit-drawer__expand-toggle--minus {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .contact-drawer.is-mode-cit .cit-drawer__expand-controls .cit-drawer__expand-toggle:hover,
    .contact-drawer.is-mode-cit .cit-drawer__expand-controls .cit-drawer__expand-toggle:focus-visible {
        transform: translateY(-1px) !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle--plus,
    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-toggle--plus {
        background: rgba(255, 255, 255, 0.13) !important;
        color: #ffffff !important;
    }

    .contact-drawer.is-mode-cit.is-cit-expanded .cit-drawer__expand-toggle--plus span::after,
    .contact-drawer.is-mode-cit.is-cit-expanded-2 .cit-drawer__expand-toggle--plus span::after {
        opacity: 1 !important;
    }
}

/* ------------------------------------------------------------
   Website-Pakete Entwurf
------------------------------------------------------------ */
.pricing-page {
    background: #f4f1ea;
    color: #0f2636;
}

.pricing-hero {
    padding: clamp(96px, 11vw, 170px) 0 clamp(44px, 6vw, 82px);
    background:
        radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.88), transparent 30%),
        linear-gradient(135deg, #f4f1ea 0%, #faf9f5 58%, #edf2f6 100%);
}

.pricing-hero__inner,
.pricing-packages__inner,
.pricing-note__inner {
    width: min(var(--container), calc(100% - 96px));
    margin: 0 auto;
}

.pricing-hero__inner {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.pricing-hero h1 {
    margin: 0;
    color: #0f2636;
    font-family: var(--font-sans);
    font-size: clamp(48px, 7.2vw, 112px);
    line-height: 0.92;
    letter-spacing: -0.08em;
    font-weight: 820;
}

.pricing-hero p:not(.section-kicker) {
    max-width: 760px;
    margin: 34px auto 0;
    color: rgba(15, 38, 54, 0.68);
    font-size: clamp(18px, 1.35vw, 22px);
    line-height: 1.75;
}

.pricing-packages {
    padding: clamp(44px, 5vw, 80px) 0 clamp(72px, 8vw, 130px);
    background: #faf9f5;
}

.pricing-packages__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 1.8vw, 28px);
    align-items: stretch;
}

.pricing-card {
    position: relative;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 2.2vw, 38px);
    border: 1px solid rgba(15, 38, 54, 0.12);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 22px 62px rgba(15, 38, 54, 0.06);
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 260ms ease,
        box-shadow 260ms ease,
        border-color 260ms ease,
        background-color 260ms ease;
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 82% 12%, rgba(15, 38, 54, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,241,234,0.72));
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 260ms ease, transform 260ms ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(15, 38, 54, 0.28);
    box-shadow: 0 34px 86px rgba(15, 38, 54, 0.13);
}

.pricing-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.pricing-card--featured {
    background: #0f2636;
    color: #ffffff;
    border-color: #0f2636;
    box-shadow: 0 34px 90px rgba(15, 38, 54, 0.24);
    transform: translateY(-16px);
}

.pricing-card--featured::before {
    background:
        radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
    opacity: 1;
}

.pricing-card--featured:hover {
    transform: translateY(-24px);
    box-shadow: 0 42px 104px rgba(15, 38, 54, 0.31);
}

.pricing-card__badge {
    position: absolute;
    top: 22px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #c75340;
    color: #ffffff;
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pricing-card__head {
    padding-top: 18px;
}

.pricing-card__tagline {
    margin: 0 0 20px;
    color: rgba(15, 38, 54, 0.54);
    font-size: 12px;
    font-weight: 760;
    line-height: 1.5;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pricing-card h2 {
    margin: 0;
    color: #0f2636;
    font-family: var(--font-sans);
    font-size: clamp(29px, 2.5vw, 42px);
    line-height: 0.96;
    letter-spacing: -0.07em;
    font-weight: 820;
}

.pricing-card__description {
    margin: 24px 0 0;
    color: rgba(15, 38, 54, 0.66);
    font-size: 16px;
    line-height: 1.7;
}

.pricing-card__price {
    margin: 34px 0 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(15, 38, 54, 0.12);
}

.pricing-card__price span {
    display: block;
    color: #0f2636;
    font-size: clamp(32px, 2.8vw, 48px);
    line-height: 1;
    font-weight: 820;
    letter-spacing: -0.07em;
}

.pricing-card__price small {
    display: block;
    margin-top: 8px;
    color: rgba(15, 38, 54, 0.54);
    font-size: 12px;
    font-weight: 720;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pricing-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.pricing-card__list li {
    position: relative;
    padding-left: 22px;
    color: rgba(15, 38, 54, 0.70);
    font-size: 15px;
    line-height: 1.55;
}

.pricing-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0f2636;
    transform: translateY(-50%);
}

.pricing-card__button {
    margin-top: auto;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #0f2636;
    background: #0f2636;
    color: #ffffff;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.pricing-card__button:hover {
    transform: translateY(-2px);
    background: transparent;
    color: #0f2636;
}

.pricing-card--featured .pricing-card__tagline,
.pricing-card--featured .pricing-card__description,
.pricing-card--featured .pricing-card__list li,
.pricing-card--featured .pricing-card__price small {
    color: rgba(255, 255, 255, 0.74);
}

.pricing-card--featured h2,
.pricing-card--featured .pricing-card__price span {
    color: #ffffff;
}

.pricing-card--featured .pricing-card__price {
    border-top-color: rgba(255, 255, 255, 0.18);
}

.pricing-card--featured .pricing-card__list li::before {
    background: #ffffff;
}

.pricing-card--featured .pricing-card__button {
    border-color: #ffffff;
    background: #ffffff;
    color: #0f2636;
}

.pricing-card--featured .pricing-card__button:hover {
    background: transparent;
    color: #ffffff;
}

.pricing-note {
    padding: clamp(72px, 8vw, 128px) 0;
    background: #0f2636;
    color: #ffffff;
}

.pricing-note__inner {
    max-width: 980px;
    text-align: center;
}

.pricing-note .section-eyebrow {
    color: rgba(255, 255, 255, 0.72) !important;
}

.pricing-note h2 {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: clamp(40px, 5.2vw, 86px);
    line-height: 0.96;
    letter-spacing: -0.08em;
    font-weight: 820;
}

.pricing-note p:not(.section-eyebrow) {
    max-width: 760px;
    margin: 28px auto 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(18px, 1.35vw, 22px);
    line-height: 1.75;
}

@media (max-width: 1180px) {
    .pricing-packages__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card--featured,
    .pricing-card--featured:hover {
        transform: none;
    }

    .pricing-card:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 720px) {
    .pricing-hero__inner,
    .pricing-packages__inner,
    .pricing-note__inner {
        width: min(var(--container), calc(100% - 32px));
    }

    .pricing-packages__inner {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        min-height: auto;
    }
}


/* ------------------------------------------------------------
   Website-Pakete – Hero-/Karten-Feinschliff v5
   - Hero-Verlauf an Leistungen-Hero angeglichen
   - Empfehlung-Badge höher/freier gesetzt
   - Mehr Luft vor den Buttons, besonders Business-Karte
------------------------------------------------------------ */
.pricing-hero {
    background:
        radial-gradient(
            circle at 16% 18%,
            rgba(255, 255, 255, 0.34) 0%,
            rgba(255, 255, 255, 0.14) 18%,
            rgba(255, 255, 255, 0.00) 40%
        ),
        radial-gradient(
            circle at 78% 24%,
            rgba(255, 255, 255, 0.10) 0%,
            rgba(255, 255, 255, 0.00) 30%
        ),
        linear-gradient(180deg, #ece1d2 0%, #e6d8c6 54%, #dcc7b6 100%);
}

.pricing-card__badge {
    top: 18px;
    right: 18px;
    z-index: 2;
}


/* ------------------------------------------------------------
   Website-Pakete – Feinschliff v6
   - Kompakt-Text wieder normal breit
   - Empfehlung-Badge höher gesetzt
   - Zusatzleistungen-Sektion ergänzt
------------------------------------------------------------ */
.pricing-card__badge {
    top: 12px;
    right: 18px;
    z-index: 2;
}

.pricing-card--featured .pricing-card__head {
    padding-top: 18px;
    padding-right: 0;
}

.pricing-card__list {
    padding-bottom: clamp(28px, 3vw, 42px);
}

.pricing-addons {
    padding: clamp(76px, 8vw, 128px) 0;
    background:
        radial-gradient(circle at 84% 10%, rgba(15, 38, 54, 0.08), transparent 32%),
        linear-gradient(180deg, #faf9f5 0%, #f4f1ea 100%);
}

.pricing-addons__inner {
    width: min(var(--container), calc(100% - 96px));
    margin: 0 auto;
}

.pricing-addons__head {
    max-width: 860px;
    margin-bottom: clamp(34px, 4.8vw, 64px);
}

.pricing-addons__head h2 {
    margin: 0;
    color: #0f2636;
    font-family: var(--font-sans);
    font-size: clamp(40px, 5.4vw, 82px);
    line-height: 0.96;
    letter-spacing: -0.08em;
    font-weight: 820;
}

.pricing-addons__head p:not(.section-kicker) {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(15, 38, 54, 0.68);
    font-size: clamp(17px, 1.2vw, 20px);
    line-height: 1.72;
}

.pricing-addons__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 1.8vw, 28px);
}

.pricing-addon-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: clamp(26px, 2vw, 34px);
    border: 1px solid rgba(15, 38, 54, 0.11);
    background: rgba(255, 255, 255, 0.70);
    box-shadow: 0 22px 62px rgba(15, 38, 54, 0.055);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.pricing-addon-card:hover {
    transform: translateY(-7px);
    border-color: rgba(15, 38, 54, 0.24);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 34px 84px rgba(15, 38, 54, 0.12);
}

.pricing-addon-card span {
    display: block;
    color: rgba(15, 38, 54, 0.54);
    font-size: 12px;
    font-weight: 760;
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.pricing-addon-card strong {
    display: block;
    margin-top: 30px;
    color: #0f2636;
    font-size: clamp(28px, 2.4vw, 40px);
    line-height: 1;
    letter-spacing: -0.07em;
    font-weight: 820;
}

.pricing-addon-card p {
    margin: auto 0 0;
    padding-top: 28px;
    color: rgba(15, 38, 54, 0.68);
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 1180px) {
    .pricing-addons__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .pricing-addons__inner {
        width: min(var(--container), calc(100% - 32px));
    }

    .pricing-addons__grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------
   CIT Zielgruppen-Designgenerator v1
   Design nicht nach Geschmack. Design nach Zielgruppe.
------------------------------------------------------------ */
.cit-page--targeting .cit-hero--targeting {
    background:
        radial-gradient(circle at 18% 16%, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.12) 22%, rgba(255,255,255,0) 42%),
        radial-gradient(circle at 82% 22%, rgba(15,38,54,0.10) 0%, rgba(15,38,54,0) 34%),
        linear-gradient(180deg, #ece1d2 0%, #e6d8c6 56%, #dcc7b6 100%);
}

.cit-section-head--wide {
    max-width: 1060px;
}

.cit-workspace {
    padding: clamp(70px, 8vw, 124px) 0;
    background: #faf9f5;
}

.cit-targeting-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.82fr) minmax(360px, 1.1fr) minmax(360px, 1.1fr);
    gap: clamp(18px, 1.6vw, 28px);
    align-items: stretch;
    margin-top: clamp(34px, 4vw, 58px);
}

.cit-drawer {
    position: relative;
    min-height: 690px;
    padding: clamp(24px, 2vw, 34px);
    border: 1px solid rgba(15, 38, 54, 0.10);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 70px rgba(15, 38, 54, 0.07);
    overflow: hidden;
}

.cit-drawer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 86% 10%, rgba(15,38,54,0.08), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.84), rgba(244,241,234,0.46));
    opacity: 0.9;
}

.cit-drawer > * {
    position: relative;
    z-index: 1;
}

.cit-drawer--one {
    background: #0f2636;
    color: #ffffff;
}

.cit-drawer--one::before {
    background:
        radial-gradient(circle at 86% 10%, rgba(255,255,255,0.16), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
}

.cit-drawer__head {
    margin-bottom: 26px;
}

.cit-drawer__head span {
    display: block;
    margin-bottom: 9px;
    color: rgba(15, 38, 54, 0.52);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cit-drawer--one .cit-drawer__head span {
    color: rgba(255, 255, 255, 0.58);
}

.cit-drawer__head h3 {
    margin: 0;
    font-family: var(--font-sans);
    font-size: clamp(30px, 2.4vw, 42px);
    line-height: 0.95;
    letter-spacing: -0.07em;
    color: #0f2636;
}

.cit-drawer--one .cit-drawer__head h3 {
    color: #ffffff;
}

.cit-module-card {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    padding: 18px 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.cit-module-card:first-of-type {
    border-top: 0;
}

.cit-module-card span {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.76);
    font-size: 11px;
    font-weight: 780;
}

.cit-module-card strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 760;
    letter-spacing: -0.03em;
}

.cit-module-card em {
    display: block;
    color: rgba(255,255,255,0.62);
    font-size: 13px;
    line-height: 1.45;
    font-style: normal;
}

.cit-module-card.is-active span {
    background: #c75340;
    color: #ffffff;
}

.cit-module-card:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cit-targeting-form {
    display: grid;
    gap: 16px;
}

.cit-targeting-form label {
    display: grid;
    gap: 8px;
}

.cit-targeting-form label > span {
    color: rgba(15, 38, 54, 0.62);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cit-targeting-form select {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(15, 38, 54, 0.12);
    border-radius: 16px;
    background: rgba(255,255,255,0.82);
    color: #0f2636;
    font: inherit;
    font-size: 14px;
    line-height: 1.35;
    padding: 0 42px 0 15px;
    outline: none;
    box-shadow: 0 12px 30px rgba(15, 38, 54, 0.035);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.cit-targeting-form select:focus {
    border-color: rgba(15, 38, 54, 0.34);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 38, 54, 0.08);
}

.cit-generate-button {
    margin-top: 10px;
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    background: #0f2636;
    color: #ffffff;
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 18px 34px rgba(15, 38, 54, 0.16);
    transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.cit-generate-button:hover,
.cit-generate-button:focus-visible {
    transform: translateY(-2px);
    background: #102f44;
    box-shadow: 0 24px 44px rgba(15, 38, 54, 0.22);
}

.cit-result__eyebrow {
    margin: 0 0 14px;
    color: rgba(15, 38, 54, 0.56);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.cit-result h4 {
    margin: 0;
    color: #0f2636;
    font-family: var(--font-sans);
    font-size: clamp(34px, 3vw, 50px);
    line-height: 0.94;
    letter-spacing: -0.075em;
    font-weight: 820;
}

.cit-result > p:not(.cit-result__eyebrow),
.cit-result__block p {
    margin: 20px 0 0;
    color: rgba(15, 38, 54, 0.68);
    font-size: 15px;
    line-height: 1.72;
}

.cit-result__score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 26px 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: #0f2636;
    color: #ffffff;
}

.cit-result__score span {
    color: rgba(255,255,255,0.64);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cit-result__score strong {
    font-size: 15px;
    font-weight: 760;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cit-result__block {
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid rgba(15, 38, 54, 0.10);
}

.cit-result__block h5 {
    margin: 0;
    color: #0f2636;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cit-result__block ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.cit-result__block li {
    position: relative;
    padding-left: 20px;
    color: rgba(15, 38, 54, 0.70);
    font-size: 14px;
    line-height: 1.58;
}

.cit-result__block li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #0f2636;
    transform: translateY(-50%);
}

.cit-result__block--warning {
    padding: 18px;
    border: 1px solid rgba(199, 83, 64, 0.20);
    border-radius: 18px;
    background: rgba(199, 83, 64, 0.055);
}

.cit-method {
    padding: clamp(74px, 8vw, 130px) 0;
    background: #0f2636;
    color: #ffffff;
}

.cit-method__inner {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(34px, 6vw, 92px);
    align-items: start;
}

.cit-method .section-kicker {
    color: rgba(255,255,255,0.64) !important;
}

.cit-method h2 {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: clamp(44px, 5.4vw, 90px);
    line-height: 0.94;
    letter-spacing: -0.08em;
    font-weight: 820;
}

.cit-method p:not(.section-kicker) {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: clamp(18px, 1.35vw, 22px);
    line-height: 1.78;
}

@media (max-width: 1180px) {
    .cit-targeting-grid {
        grid-template-columns: 1fr;
    }

    .cit-drawer {
        min-height: auto;
    }

    .cit-drawer--one {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 12px;
    }

    .cit-drawer--one .cit-drawer__head {
        grid-column: 1 / -1;
    }

    .cit-module-card {
        border-top: 0;
        border: 1px solid rgba(255,255,255,0.16);
        border-radius: 18px;
        padding: 16px;
    }
}

@media (max-width: 820px) {
    .cit-drawer--one {
        grid-template-columns: 1fr;
    }

    .cit-method__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cit-workspace,
    .cit-method {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cit-drawer {
        padding: 24px 20px;
    }

    .cit-targeting-form select {
        font-size: 13px;
    }
}

/* ------------------------------------------------------------
   CIT Cockpit v8
   Einseitiger Modul-Switcher: Design / Aufbau / Texte / SEO
------------------------------------------------------------ */
.cit-module-form {
    display: none;
}

.cit-module-form.is-active {
    display: grid;
}

.cit-module-card:not(.is-active):hover,
.cit-module-card:not(.is-active):focus-visible {
    background: rgba(255, 255, 255, 0.07);
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 18px;
}

.cit-module-card.is-active {
    background: rgba(255, 255, 255, 0.10);
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 18px;
}

.cit-module-card.is-active strong {
    color: #ffffff;
}

.cit-module-card.is-active em {
    color: rgba(255, 255, 255, 0.78);
}

.cit-targeting-form.is-active {
    animation: citModuleFade 180ms ease both;
}

@keyframes citModuleFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.cit-result {
    animation: citModuleFade 180ms ease both;
}

.cit-targeting-form select {
    appearance: auto;
}

@media (max-width: 1180px) {
    .cit-drawer--one {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cit-module-card.is-active,
    .cit-module-card:not(.is-active):hover,
    .cit-module-card:not(.is-active):focus-visible {
        margin-left: 0;
        margin-right: 0;
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 820px) {
    .cit-drawer--one {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------
   CIT – Live-Vorschau berechneter Werte v9
------------------------------------------------------------ */
.cit-calculation-preview {
    padding: clamp(76px, 8vw, 130px) 0;
    background: linear-gradient(180deg, #faf9f5 0%, #f4f1ea 100%);
    color: #0f2636;
}

.cit-preview-board {
    margin-top: clamp(34px, 4vw, 58px);
    padding: clamp(24px, 3vw, 42px);
    border: 1px solid rgba(15, 38, 54, 0.10);
    background:
        radial-gradient(circle at 86% 6%, rgba(15, 38, 54, 0.08), transparent 36%),
        rgba(255, 255, 255, 0.74);
    box-shadow: 0 26px 80px rgba(15, 38, 54, 0.08);
}

.cit-preview-board__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.4vw, 20px);
}

.cit-preview-metric {
    min-height: 132px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(15, 38, 54, 0.10);
    background: rgba(255, 255, 255, 0.76);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.cit-preview-metric span,
.cit-preview-panel__label {
    color: rgba(15, 38, 54, 0.54);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cit-preview-metric strong {
    color: #0f2636;
    font-size: clamp(18px, 1.35vw, 23px);
    line-height: 1.12;
    letter-spacing: -0.045em;
    font-weight: 820;
}

.cit-preview-board__main,
.cit-preview-board__lower {
    display: grid;
    grid-template-columns: minmax(360px, 1.25fr) minmax(320px, 0.75fr);
    gap: clamp(16px, 1.6vw, 24px);
    margin-top: clamp(16px, 1.6vw, 24px);
}

.cit-preview-panel {
    padding: clamp(24px, 2.5vw, 36px);
    border-radius: 28px;
    border: 1px solid rgba(15, 38, 54, 0.10);
    background: rgba(255, 255, 255, 0.72);
}

.cit-preview-panel--large {
    background: #0f2636;
    color: #ffffff;
}

.cit-preview-panel--large .cit-preview-panel__label {
    color: rgba(255, 255, 255, 0.62);
}

.cit-preview-panel h3 {
    margin: 18px 0 0;
    color: inherit;
    font-family: var(--font-sans);
    font-size: clamp(34px, 4vw, 68px);
    line-height: 0.94;
    letter-spacing: -0.08em;
    font-weight: 820;
}

.cit-preview-panel p {
    margin: 18px 0 0;
    color: rgba(15, 38, 54, 0.68);
    font-size: 15px;
    line-height: 1.72;
}

.cit-preview-panel--large p {
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(16px, 1.15vw, 19px);
}

.cit-preview-panel ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.cit-preview-panel li {
    position: relative;
    padding-left: 20px;
    color: rgba(15, 38, 54, 0.70);
    font-size: 14px;
    line-height: 1.58;
}

.cit-preview-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #0f2636;
    transform: translateY(-50%);
}

.cit-preview-panel--warning {
    border-color: rgba(199, 83, 64, 0.20);
    background: rgba(199, 83, 64, 0.055);
}

@media (max-width: 1180px) {
    .cit-preview-board__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cit-preview-board__main,
    .cit-preview-board__lower {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .cit-preview-board__metrics {
        grid-template-columns: 1fr;
    }

    .cit-preview-board {
        padding: 18px;
    }
}


/* ------------------------------------------------------------
   CIT Cockpit v13 – Select-Stabilisierung
   Verhindert, dass native Dropdowns beim Öffnen/Auswählen durch Live-Reflows zappeln.
------------------------------------------------------------ */
.cit-targeting-form.is-active,
.cit-result {
    animation: none !important;
}

.cit-targeting-form select {
    transition: none !important;
}

.cit-drawer--two,
.cit-drawer--three {
    contain: layout paint;
}

/* ------------------------------------------------------------
   CIT – Designrouten statt Live-Vorschau v14
   Drei kundentaugliche Intensitäten: Sicher / Eigenständig / Mutig
------------------------------------------------------------ */
.cit-design-routes {
    padding: clamp(76px, 8vw, 128px) 0;
    background: linear-gradient(180deg, #f7f2ea 0%, #efe2d2 100%);
    color: #0f2636;
}

.cit-route-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 30px);
    margin-top: clamp(34px, 4vw, 58px);
}

.cit-route-card {
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 2.4vw, 42px);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 38, 54, 0.12);
    box-shadow: 0 24px 70px rgba(15, 38, 54, 0.08);
    overflow: hidden;
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.cit-route-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 86% 10%, rgba(15, 38, 54, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.80), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 240ms ease;
}

.cit-route-card:hover {
    transform: translateY(-8px);
    border-color: rgba(15, 38, 54, 0.24);
    box-shadow: 0 34px 92px rgba(15, 38, 54, 0.14);
}

.cit-route-card:hover::before {
    opacity: 1;
}

.cit-route-card--featured {
    background: #0f2636;
    color: #ffffff;
    border-color: #0f2636;
    box-shadow: 0 34px 92px rgba(15, 38, 54, 0.23);
}

.cit-route-card--featured::before {
    background:
        radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
    opacity: 1;
}

.cit-route-card > * {
    position: relative;
    z-index: 1;
}

.cit-route-card__eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 26px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 38, 54, 0.08);
    color: rgba(15, 38, 54, 0.66);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cit-route-card--featured .cit-route-card__eyebrow {
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.76);
}

.cit-route-card h3 {
    margin: 0;
    color: #0f2636;
    font-family: var(--font-sans);
    font-size: clamp(34px, 3.1vw, 54px);
    line-height: 0.94;
    letter-spacing: -0.075em;
    font-weight: 820;
}

.cit-route-card--featured h3 {
    color: #ffffff;
}

.cit-route-card p {
    margin: 24px 0 0;
    color: rgba(15, 38, 54, 0.70);
    font-size: 16px;
    line-height: 1.72;
}

.cit-route-card--featured p {
    color: rgba(255, 255, 255, 0.74);
}

.cit-route-card ul {
    margin: auto 0 0;
    padding: 34px 0 0;
    display: grid;
    gap: 13px;
    list-style: none;
}

.cit-route-card li {
    position: relative;
    padding-left: 22px;
    color: rgba(15, 38, 54, 0.72);
    font-size: 14px;
    line-height: 1.58;
}

.cit-route-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0f2636;
    transform: translateY(-50%);
}

.cit-route-card--featured li {
    color: rgba(255, 255, 255, 0.78);
}

.cit-route-card--featured li::before {
    background: #ffffff;
}

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

    .cit-route-card {
        min-height: auto;
    }
}


/* ------------------------------------------------------------
   CIT – Designrouten als Modul-Zusammenfassung v15
   Jede Route zeigt Design, Aufbau, Texte und SEO untereinander.
------------------------------------------------------------ */
.cit-route-card {
    min-height: 560px;
}

.cit-route-modules {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.cit-route-module {
    padding: 16px 16px 15px;
    border-radius: 20px;
    background: rgba(15, 38, 54, 0.045);
    border: 1px solid rgba(15, 38, 54, 0.08);
}

.cit-route-card--featured .cit-route-module {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.13);
}

.cit-route-module h4 {
    margin: 0 0 7px;
    color: #0f2636;
    font-family: var(--font-sans);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 820;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cit-route-card--featured .cit-route-module h4 {
    color: #ffffff;
}

.cit-route-module p {
    margin: 0;
    color: rgba(15, 38, 54, 0.68);
    font-size: 13px;
    line-height: 1.55;
}

.cit-route-card--featured .cit-route-module p {
    color: rgba(255, 255, 255, 0.72);
}

.cit-route-module:not(.is-complete) {
    opacity: 0.58;
}

@media (max-width: 980px) {
    .cit-route-card {
        min-height: auto;
    }
}

/* ------------------------------------------------------------
   CIT – Grundkonzept-Karten v16
   Vollständige Routen mit Design, Aufbau, Texte und SEO zum Kopieren.
------------------------------------------------------------ */
.cit-route-card {
    min-height: 720px;
}

.cit-route-module--full {
    padding: 18px 18px 17px;
}

.cit-route-module--intro {
    background: rgba(15, 38, 54, 0.075);
}

.cit-route-card--featured .cit-route-module--intro {
    background: rgba(255, 255, 255, 0.12);
}

.cit-route-detail {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(15, 38, 54, 0.075);
}

.cit-route-card--featured .cit-route-detail {
    border-top-color: rgba(255, 255, 255, 0.12);
}

.cit-route-detail:first-of-type {
    margin-top: 10px;
}

.cit-route-detail strong {
    display: block;
    margin: 0 0 6px;
    color: #0f2636;
    font-size: 11px;
    font-weight: 820;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-transform: uppercase;
}

.cit-route-card--featured .cit-route-detail strong {
    color: rgba(255, 255, 255, 0.92);
}

.cit-route-detail p,
.cit-route-detail ul {
    margin: 0;
}

.cit-route-detail ul {
    padding: 0;
    display: grid;
    gap: 7px;
    list-style: none;
}

.cit-route-detail li {
    position: relative;
    padding-left: 18px;
    color: rgba(15, 38, 54, 0.68);
    font-size: 13px;
    line-height: 1.52;
}

.cit-route-detail li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0f2636;
    transform: translateY(-50%);
}

.cit-route-card--featured .cit-route-detail li {
    color: rgba(255, 255, 255, 0.72);
}

.cit-route-card--featured .cit-route-detail li::before {
    background: #ffffff;
}

.cit-route-copy {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid #0f2636;
    background: #0f2636;
    color: #ffffff;
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.cit-route-copy:hover {
    transform: translateY(-2px);
    background: transparent;
    color: #0f2636;
}

.cit-route-card--featured .cit-route-copy {
    border-color: #ffffff;
    background: #ffffff;
    color: #0f2636;
}

.cit-route-card--featured .cit-route-copy:hover {
    background: transparent;
    color: #ffffff;
}

/* ------------------------------------------------------------
   CIT Drawer Cleanup v18
   Entfernt die alten Plus-/Minus-Erweiterungsflächen. CIT arbeitet
   jetzt über Cockpit und Konzeptkarten auf der normalen Seite.
------------------------------------------------------------ */
.contact-drawer.is-mode-cit .cit-drawer__expand-controls,
.contact-drawer.is-mode-cit .cit-drawer__expand-toggle,
.contact-drawer.is-mode-cit .cit-drawer__extension,
.contact-drawer.is-mode-cit .cit-drawer__extension--first,
.contact-drawer.is-mode-cit .cit-drawer__extension--second {
    display: none !important;
}

.contact-drawer.is-mode-cit .contact-drawer__panel {
    width: min(520px, calc(100vw - 32px));
    max-width: 520px;
}

.contact-drawer.is-mode-cit .contact-drawer__view--cit {
    width: 100%;
    min-width: 0;
}

.contact-drawer.is-mode-cit .cit-drawer__main-scroll {
    position: static;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
}


/* ------------------------------------------------------------
   CIT Drawer – visuelle Beruhigung v20
   - gleiche Grundgröße wie Kontakt-Drawer
   - weniger Rot, mehr Beige/Navy
   - Typografie an Seitenstil angeglichen
------------------------------------------------------------- */
.contact-drawer.is-mode-cit .contact-drawer__panel {
    width: min(460px, calc(100vw - 32px));
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 28%),
        radial-gradient(circle at 12% 92%, rgba(223, 173, 149, 0.14) 0%, rgba(223, 173, 149, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 243, 236, 0.97) 100%) !important;
    box-shadow: -28px 0 70px rgba(15, 23, 42, 0.14);
}

.contact-drawer.is-mode-cit .contact-drawer__close {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(20, 28, 40, 0.08);
    color: var(--sg-ink);
}

.contact-drawer.is-mode-cit .cit-drawer__head {
    padding: 0 0 22px;
}

.contact-drawer.is-mode-cit .cit-drawer__kicker {
    color: rgba(15, 38, 54, 0.78);
}

.contact-drawer.is-mode-cit .contact-drawer__title {
    color: var(--sg-ink);
    font-family: var(--font-sans);
    font-size: clamp(34px, 4.2vw, 52px);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.contact-drawer.is-mode-cit .contact-drawer__text {
    color: rgba(15, 38, 54, 0.68);
    font-size: 15px;
    line-height: 1.68;
}

.cit-drawer__preview-card {
    margin-top: 8px;
    padding: 22px;
    border: 1px solid rgba(15, 38, 54, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 18%, rgba(15, 38, 54, 0.06) 0%, rgba(15, 38, 54, 0) 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.96));
    box-shadow: 0 18px 44px rgba(15, 38, 54, 0.08);
}

.cit-drawer__preview-card::before {
    top: 22px;
    right: 22px;
    width: 74px;
    height: 74px;
    border-color: rgba(223, 173, 149, 0.55);
    background: rgba(223, 173, 149, 0.10);
}

.cit-drawer__label {
    background: rgba(223, 173, 149, 0.22);
    color: #9a6248;
}

.cit-drawer__preview-card h3 {
    max-width: 280px;
    color: var(--sg-ink);
    font-family: var(--font-sans);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.cit-drawer__preview-card p {
    color: rgba(15, 38, 54, 0.68);
    font-size: 14px;
    line-height: 1.62;
}

.cit-drawer__primary {
    background: var(--sg-blue);
    box-shadow: 0 14px 28px rgba(15, 38, 54, 0.16);
}

.cit-drawer__primary:hover {
    background: var(--sg-blue-dark);
}

.cit-drawer__quick-grid {
    gap: 10px;
}

.cit-drawer__quick-card {
    min-height: 112px;
    padding: 16px;
    border: 1px solid rgba(15, 38, 54, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 24px rgba(15, 38, 54, 0.04);
}

.cit-drawer__quick-card:hover {
    border-color: rgba(15, 38, 54, 0.18);
    box-shadow: 0 14px 28px rgba(15, 38, 54, 0.08);
}

.cit-drawer__quick-card span {
    margin-bottom: 18px;
    color: rgba(15, 38, 54, 0.54);
}

.cit-drawer__quick-card strong {
    font-family: var(--font-sans);
    font-size: 23px;
    color: var(--sg-ink);
}

.cit-drawer__quick-card em {
    color: rgba(15, 38, 54, 0.62);
}

.cit-drawer__workflow {
    margin-top: 16px;
    padding: 18px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, #123047 0%, #0f2636 100%);
    box-shadow: 0 18px 40px rgba(15, 38, 54, 0.14);
}

.cit-drawer__workflow li {
    color: rgba(255, 255, 255, 0.78);
}


/* ------------------------------------------------------------
   Startseite – Prozesssektion an Leistungen-Hero angepasst v52
   Exakte warme Beige-Farbwelt des Leistungen-Heros.
   Linkes Bild deutlich wärmer getönt, stärker beschnitten und sanfter eingeblendet,
   damit kein heller Block und kein harter Übergang mehr sichtbar ist.
------------------------------------------------------------ */
.home .process-section {
    background:
        radial-gradient(
            circle at 16% 18%,
            rgba(255, 255, 255, 0.34) 0%,
            rgba(255, 255, 255, 0.14) 18%,
            rgba(255, 255, 255, 0.00) 40%
        ),
        radial-gradient(
            circle at 78% 24%,
            rgba(255, 255, 255, 0.10) 0%,
            rgba(255, 255, 255, 0.00) 30%
        ),
        linear-gradient(180deg, #ece1d2 0%, #e6d8c6 54%, #dcc7b6 100%) !important;
    border-top-color: rgba(15, 38, 54, 0.08) !important;
}

.home .process-section__media {
    width: min(31vw, 470px) !important;
    opacity: 1 !important;
    background: #e6d8c6;
    mix-blend-mode: normal !important;
}

.home .process-section__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(236, 225, 210, 0.10) 0%,
            rgba(230, 216, 198, 0.04) 36%,
            rgba(220, 199, 182, 0.16) 100%
        ),
        linear-gradient(
            90deg,
            rgba(220, 199, 182, 0.28) 0%,
            rgba(220, 199, 182, 0.24) 28%,
            rgba(220, 199, 182, 0.32) 46%,
            rgba(220, 199, 182, 0.58) 68%,
            rgba(220, 199, 182, 0.96) 100%
        );
    mix-blend-mode: multiply;
}

.home .process-section__media::after {
    background: linear-gradient(
        90deg,
        rgba(236, 225, 210, 0.00) 0%,
        rgba(230, 216, 198, 0.08) 24%,
        rgba(230, 216, 198, 0.26) 44%,
        rgba(220, 199, 182, 0.60) 66%,
        rgba(220, 199, 182, 1.00) 100%
    ) !important;
}

.home .process-section__media img {
    object-position: 12% center !important;
    filter: sepia(0.14) saturate(0.86) contrast(0.96) brightness(0.98) !important;
    opacity: 0.90;
}

@media (max-width: 1280px) {
    .home .process-section__media {
        width: 34vw !important;
    }
}

@media (max-width: 900px) {
    .home .process-section__media {
        width: 300px !important;
        height: 210px !important;
        opacity: 0.54 !important;
    }
}

/* ------------------------------------------------------------
   Startseite – Prozesssektion harmonischer Bildverlauf v53
   Rechte Seite läuft weich in das linke Bild hinein, statt mit sichtbarem Cut zu enden.
------------------------------------------------------------ */
.home .process-section__media {
    width: min(39vw, 580px) !important;
    background: transparent !important;
    opacity: 1 !important;
}

.home .process-section__media::before {
    background:
        linear-gradient(
            180deg,
            rgba(236, 225, 210, 0.10) 0%,
            rgba(230, 216, 198, 0.04) 38%,
            rgba(220, 199, 182, 0.12) 100%
        ),
        linear-gradient(
            90deg,
            rgba(236, 225, 210, 0.00) 0%,
            rgba(236, 225, 210, 0.00) 34%,
            rgba(230, 216, 198, 0.08) 46%,
            rgba(230, 216, 198, 0.24) 58%,
            rgba(220, 199, 182, 0.50) 72%,
            rgba(220, 199, 182, 0.84) 86%,
            rgba(220, 199, 182, 1.00) 100%
        ) !important;
    mix-blend-mode: normal !important;
}

.home .process-section__media::after {
    background:
        linear-gradient(
            90deg,
            rgba(236, 225, 210, 0.00) 0%,
            rgba(236, 225, 210, 0.00) 40%,
            rgba(230, 216, 198, 0.10) 52%,
            rgba(230, 216, 198, 0.30) 62%,
            rgba(220, 199, 182, 0.64) 74%,
            rgba(220, 199, 182, 0.92) 88%,
            rgba(220, 199, 182, 1.00) 100%
        ) !important;
}

.home .process-section__media img {
    object-position: 8% center !important;
    filter: sepia(0.12) saturate(0.88) contrast(0.97) brightness(0.99) !important;
    opacity: 0.96 !important;
}

@media (max-width: 1280px) {
    .home .process-section__media {
        width: 43vw !important;
    }
}

@media (max-width: 900px) {
    .home .process-section__media {
        width: 300px !important;
        height: 210px !important;
        opacity: 0.58 !important;
    }
}

/* ------------------------------------------------------------
   Startseite – Prozesssektion echter weicher Übergang v54
   Das linke Bild fadet nach rechts transparent aus, damit kein sichtbarer Cut bleibt.
------------------------------------------------------------ */
.home .process-section {
    background:
        radial-gradient(
            circle at 16% 18%,
            rgba(255, 255, 255, 0.28) 0%,
            rgba(255, 255, 255, 0.10) 18%,
            rgba(255, 255, 255, 0.00) 40%
        ),
        radial-gradient(
            circle at 78% 24%,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.00) 30%
        ),
        linear-gradient(180deg, #e9dccb 0%, #e5d5c2 52%, #dcc7b6 100%) !important;
}

.home .process-section__media {
    width: min(44vw, 660px) !important;
    opacity: 1 !important;
    background: transparent !important;
    -webkit-mask-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 54%,
        rgba(0, 0, 0, 0.92) 66%,
        rgba(0, 0, 0, 0.68) 78%,
        rgba(0, 0, 0, 0.34) 88%,
        rgba(0, 0, 0, 0.00) 100%
    );
    mask-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 54%,
        rgba(0, 0, 0, 0.92) 66%,
        rgba(0, 0, 0, 0.68) 78%,
        rgba(0, 0, 0, 0.34) 88%,
        rgba(0, 0, 0, 0.00) 100%
    );
}

.home .process-section__media::before {
    background:
        linear-gradient(
            180deg,
            rgba(236, 225, 210, 0.08) 0%,
            rgba(230, 216, 198, 0.03) 38%,
            rgba(220, 199, 182, 0.10) 100%
        ),
        linear-gradient(
            90deg,
            rgba(236, 225, 210, 0.00) 0%,
            rgba(236, 225, 210, 0.00) 42%,
            rgba(230, 216, 198, 0.06) 54%,
            rgba(230, 216, 198, 0.16) 66%,
            rgba(220, 199, 182, 0.30) 78%,
            rgba(220, 199, 182, 0.52) 90%,
            rgba(220, 199, 182, 0.70) 100%
        ) !important;
    mix-blend-mode: multiply !important;
}

.home .process-section__media::after {
    background: none !important;
}

.home .process-section__media img {
    object-position: 6% center !important;
    filter: sepia(0.10) saturate(0.90) contrast(0.98) brightness(1.00) !important;
    opacity: 0.98 !important;
}

@media (max-width: 1280px) {
    .home .process-section__media {
        width: 47vw !important;
        -webkit-mask-image: linear-gradient(
            90deg,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 52%,
            rgba(0, 0, 0, 0.82) 68%,
            rgba(0, 0, 0, 0.40) 84%,
            rgba(0, 0, 0, 0.00) 100%
        );
        mask-image: linear-gradient(
            90deg,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 52%,
            rgba(0, 0, 0, 0.82) 68%,
            rgba(0, 0, 0, 0.40) 84%,
            rgba(0, 0, 0, 0.00) 100%
        );
    }
}

@media (max-width: 900px) {
    .home .process-section__media {
        width: 320px !important;
        height: 220px !important;
        opacity: 0.62 !important;
        -webkit-mask-image: linear-gradient(
            90deg,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 62%,
            rgba(0, 0, 0, 0.52) 84%,
            rgba(0, 0, 0, 0.00) 100%
        );
        mask-image: linear-gradient(
            90deg,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 62%,
            rgba(0, 0, 0, 0.52) 84%,
            rgba(0, 0, 0, 0.00) 100%
        );
    }
}

/* ------------------------------------------------------------
   Leistungen + Prozess – innere Linie im Herobild entfernen v55
------------------------------------------------------------ */
.services-page .services-page-hero__media::before,
.process-page .process-page-hero__media::before {
    content: none !important;
    display: none !important;
}

/* ------------------------------------------------------------
   FIX: Prozess-Hero Vollbreit-Hintergrundbild sichtbar machen
   Die spätere Beige-Hero-Regel mit !important hatte das ACF-Bild überschrieben.
------------------------------------------------------------ */
.process-page .process-page-hero.process-page-hero--has-bg {
    background:
        linear-gradient(90deg, rgba(15, 38, 54, 0.78) 0%, rgba(15, 38, 54, 0.58) 42%, rgba(15, 38, 54, 0.22) 72%, rgba(15, 38, 54, 0.08) 100%),
        linear-gradient(180deg, rgba(15, 38, 54, 0.24) 0%, rgba(15, 38, 54, 0.02) 46%, rgba(15, 38, 54, 0.30) 100%),
        var(--process-hero-bg-image) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* ------------------------------------------------------------
   FINAL FIX: Prozess-Hero ACF-Vollbildbild als echtes Bild-Layer
   Unabhängig von alten background-Regeln / !important-Konflikten.
------------------------------------------------------------ */
.process-page .process-page-hero {
    isolation: isolate;
}

.process-page .process-page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.process-page .process-page-hero__bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.process-page .process-page-hero.process-page-hero--has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(15, 38, 54, 0.78) 0%, rgba(15, 38, 54, 0.58) 42%, rgba(15, 38, 54, 0.22) 72%, rgba(15, 38, 54, 0.08) 100%),
        linear-gradient(180deg, rgba(15, 38, 54, 0.24) 0%, rgba(15, 38, 54, 0.02) 46%, rgba(15, 38, 54, 0.30) 100%);
}

.process-page .process-page-hero.process-page-hero--has-bg .process-page-hero__inner {
    position: relative;
    z-index: 1;
}

.process-page .process-page-hero.process-page-hero--has-bg .section-kicker,
.process-page .process-page-hero.process-page-hero--has-bg .process-page-title,
.process-page .process-page-hero.process-page-hero--has-bg .process-page-title em,
.process-page .process-page-hero.process-page-hero--has-bg .process-page-hero__text {
    color: #ffffff !important;
}

.process-page .process-page-hero.process-page-hero--has-bg .hero-line {
    background: rgba(255,255,255,.42) !important;
}

.process-page .process-page-hero.process-page-hero--has-bg .primary-button {
    background: #ffffff !important;
    color: #0f2636 !important;
    border-color: rgba(255,255,255,.72) !important;
}


/* ------------------------------------------------------------
   Prozess-Hero Vollbild: Bild farbecht, kein graublauer Overlay-Filter
------------------------------------------------------------ */
.process-page .process-page-hero.process-page-hero--has-bg {
    background: #f4f1ea !important;
}

.process-page .process-page-hero.process-page-hero--has-bg::before,
.process-page .process-page-hero.process-page-hero--has-bg::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.process-page .process-page-hero__bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    overflow: hidden !important;
}

.process-page .process-page-hero__bg img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: none !important;
    opacity: 1 !important;
}

.process-page .process-page-hero.process-page-hero--has-bg .process-page-hero__inner {
    position: relative !important;
    z-index: 2 !important;
}

.process-page .process-page-hero.process-page-hero--has-bg .section-kicker,
.process-page .process-page-hero.process-page-hero--has-bg .process-page-title,
.process-page .process-page-hero.process-page-hero--has-bg .process-page-title em,
.process-page .process-page-hero.process-page-hero--has-bg .process-page-hero__text {
    color: #ffffff !important;
    text-shadow: none !important;
}

/* ------------------------------------------------------------
   FINAL FIX: Prozess-Hero-Höhe an Startseiten-Hero angleichen
   Die Prozess-Hero-Sektion nutzt jetzt dieselbe sichtbare Höhe wie
   die Home-Hero-Sektion: Viewport minus Headerhöhe.
------------------------------------------------------------ */
.process-page .process-page-hero {
    min-height: calc(100vh - var(--header-height)) !important;
    height: calc(100vh - var(--header-height)) !important;
    padding: 0 32px !important;
    display: flex !important;
    align-items: center !important;
}

.process-page .process-page-hero__inner {
    min-height: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.process-page .process-page-hero__copy {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 980px) {
    .process-page .process-page-hero {
        min-height: calc(100vh - var(--header-height)) !important;
        height: auto !important;
        padding: 96px 28px 76px !important;
    }

    .process-page .process-page-hero__inner {
        height: auto !important;
    }
}

@media (max-width: 640px) {
    .process-page .process-page-hero {
        min-height: 620px !important;
        height: auto !important;
        padding: 88px 20px 64px !important;
    }
}

/* ------------------------------------------------------------
   Prozess-Hero Final: ruhigere Typografie über Vollbreitbild
   - kleiner als vorher
   - wieder dunkel/navy-schwarz statt weiß
   - angenehmer Sitz im Hero
------------------------------------------------------------ */
.process-page .process-page-hero.process-page-hero--has-bg .process-page-hero__copy {
    max-width: 680px !important;
}

.process-page .process-page-hero.process-page-hero--has-bg .section-kicker {
    color: #0f2636 !important;
    opacity: 0.82 !important;
}

.process-page .process-page-hero.process-page-hero--has-bg .process-page-title,
.process-page .process-page-hero.process-page-hero--has-bg .process-page-title em {
    color: #0f2636 !important;
    font-size: clamp(3.4rem, 6.15vw, 6.45rem) !important;
    line-height: 0.93 !important;
    letter-spacing: -0.065em !important;
    text-shadow: none !important;
}

.process-page .process-page-hero.process-page-hero--has-bg .process-page-hero__text {
    max-width: 560px !important;
    margin-top: 24px !important;
    margin-bottom: 30px !important;
    color: rgba(15, 38, 54, 0.78) !important;
    font-size: 1rem !important;
    line-height: 1.72 !important;
    text-shadow: none !important;
}

.process-page .process-page-hero.process-page-hero--has-bg .hero-line {
    background: rgba(15, 38, 54, 0.22) !important;
}

.process-page .process-page-hero.process-page-hero--has-bg .primary-button {
    background: #0f2636 !important;
    color: #ffffff !important;
    border-color: #0f2636 !important;
}

@media (max-width: 980px) {
    .process-page .process-page-hero.process-page-hero--has-bg .process-page-title,
    .process-page .process-page-hero.process-page-hero--has-bg .process-page-title em {
        font-size: clamp(3rem, 10vw, 5.2rem) !important;
        line-height: 0.96 !important;
    }
}

@media (max-width: 640px) {
    .process-page .process-page-hero.process-page-hero--has-bg .process-page-title,
    .process-page .process-page-hero.process-page-hero--has-bg .process-page-title em {
        font-size: clamp(2.65rem, 13vw, 4.1rem) !important;
    }

    .process-page .process-page-hero.process-page-hero--has-bg .process-page-hero__text {
        font-size: 0.96rem !important;
    }
}

/* ------------------------------------------------------------
   Vollbreit-Hero für Leistungen, Projekte und Über Grau Solutions
   Gleiche Logik wie Prozess: ACF-Bild als echtes Bild-Layer,
   kleines Hero-Bild entfernt, sichtbare Höhe wie Startseiten-Hero.
------------------------------------------------------------ */
.services-page .services-page-hero,
.projects-page .projects-hero,
.about-page .about-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    min-height: calc(100vh - var(--header-height)) !important;
    height: calc(100vh - var(--header-height)) !important;
    padding: 0 32px !important;
    display: flex !important;
    align-items: center !important;
    background: #f4f1ea !important;
}

.services-page .services-page-hero__bg,
.projects-page .projects-hero__bg,
.about-page .about-hero__bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    overflow: hidden !important;
}

.services-page .services-page-hero__bg img,
.projects-page .projects-hero__bg img,
.about-page .about-hero__bg img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: none !important;
    opacity: 1 !important;
}

.services-page .services-page-hero__inner,
.projects-page .projects-hero__inner,
.about-page .about-hero__inner {
    position: relative !important;
    z-index: 2 !important;
    min-height: 0 !important;
    height: 100% !important;
    width: min(100%, 1240px) !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
}

.services-page .services-page-hero__copy,
.projects-page .projects-hero__copy,
.about-page .about-hero__copy {
    max-width: 680px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.services-page .services-page-hero--has-bg::before,
.services-page .services-page-hero--has-bg::after,
.projects-page .projects-hero--has-bg::before,
.projects-page .projects-hero--has-bg::after,
.about-page .about-hero--has-bg::before,
.about-page .about-hero--has-bg::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.services-page .services-page-hero--has-bg .section-kicker,
.projects-page .projects-hero--has-bg .section-kicker,
.about-page .about-hero--has-bg .section-kicker {
    color: #0f2636 !important;
    opacity: 0.82 !important;
}

.services-page .services-page-hero--has-bg .services-page-title,
.services-page .services-page-hero--has-bg .services-page-title em,
.projects-page .projects-hero--has-bg .projects-title,
.projects-page .projects-hero--has-bg .projects-title em,
.about-page .about-hero--has-bg .about-hero__title,
.about-page .about-hero--has-bg .about-hero__title em {
    color: #0f2636 !important;
    font-size: clamp(3.4rem, 6.15vw, 6.45rem) !important;
    line-height: 0.93 !important;
    letter-spacing: -0.065em !important;
    text-shadow: none !important;
}

.services-page .services-page-hero--has-bg .services-page-hero__text,
.projects-page .projects-hero--has-bg .projects-hero__text,
.about-page .about-hero--has-bg .about-hero__text {
    max-width: 560px !important;
    margin-top: 24px !important;
    margin-bottom: 30px !important;
    color: rgba(15, 38, 54, 0.78) !important;
    font-size: 1rem !important;
    line-height: 1.72 !important;
    text-shadow: none !important;
}

.services-page .services-page-hero--has-bg .hero-line,
.projects-page .projects-hero--has-bg .hero-line,
.about-page .about-hero--has-bg .hero-line {
    background: rgba(15, 38, 54, 0.22) !important;
}

.services-page .services-page-hero--has-bg .primary-button,
.projects-page .projects-hero--has-bg .primary-button,
.about-page .about-hero--has-bg .primary-button {
    background: #0f2636 !important;
    color: #ffffff !important;
    border-color: #0f2636 !important;
}

@media (max-width: 980px) {
    .services-page .services-page-hero,
    .projects-page .projects-hero,
    .about-page .about-hero {
        min-height: calc(100vh - var(--header-height)) !important;
        height: auto !important;
        padding: 96px 28px 76px !important;
    }

    .services-page .services-page-hero__inner,
    .projects-page .projects-hero__inner,
    .about-page .about-hero__inner {
        height: auto !important;
    }

    .services-page .services-page-hero--has-bg .services-page-title,
    .services-page .services-page-hero--has-bg .services-page-title em,
    .projects-page .projects-hero--has-bg .projects-title,
    .projects-page .projects-hero--has-bg .projects-title em,
    .about-page .about-hero--has-bg .about-hero__title,
    .about-page .about-hero--has-bg .about-hero__title em {
        font-size: clamp(3rem, 10vw, 5.2rem) !important;
        line-height: 0.96 !important;
    }
}

@media (max-width: 640px) {
    .services-page .services-page-hero,
    .projects-page .projects-hero,
    .about-page .about-hero {
        min-height: 620px !important;
        height: auto !important;
        padding: 88px 20px 64px !important;
    }

    .services-page .services-page-hero--has-bg .services-page-title,
    .services-page .services-page-hero--has-bg .services-page-title em,
    .projects-page .projects-hero--has-bg .projects-title,
    .projects-page .projects-hero--has-bg .projects-title em,
    .about-page .about-hero--has-bg .about-hero__title,
    .about-page .about-hero--has-bg .about-hero__title em {
        font-size: clamp(2.65rem, 13vw, 4.1rem) !important;
    }

    .services-page .services-page-hero--has-bg .services-page-hero__text,
    .projects-page .projects-hero--has-bg .projects-hero__text,
    .about-page .about-hero--has-bg .about-hero__text {
        font-size: 0.96rem !important;
    }
}

/* ------------------------------------------------------------
   Korrektur v13: Hero-Textposition Leistungen & Projekte
   Vollbreitbild bleibt bestehen, Textblock wieder rechts.
------------------------------------------------------------ */
.services-page .services-page-hero__inner,
.projects-page .projects-hero__inner {
    justify-content: flex-end !important;
}

.services-page .services-page-hero__copy,
.projects-page .projects-hero__copy {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: left !important;
}

@media (max-width: 980px) {
    .services-page .services-page-hero__inner,
    .projects-page .projects-hero__inner {
        justify-content: flex-start !important;
    }

    .services-page .services-page-hero__copy,
    .projects-page .projects-hero__copy {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
}

/* ------------------------------------------------------------
   Farbangleichung Client Portal an HeroGrau-Palette v66
   Kontakt-Drawer bleibt bewusst im ursprünglichen Farbschema.
------------------------------------------------------------ */
:root {
    --sg-hero-sand: #f7d5b1;
    --sg-hero-sand-light: #f9d9b6;
    --sg-hero-sand-mid: #f3d0ac;
    --sg-hero-sand-shadow: #eac6a0;
    --sg-hero-sand-deep: #d5ab80;
    --sg-hero-cream: #fdf6ec;
    --sg-hero-panel: rgba(253, 246, 236, 0.92);
    --sg-hero-panel-strong: rgba(255, 249, 241, 0.96);
    --sg-hero-border: rgba(121, 82, 44, 0.16);
    --sg-hero-shadow: rgba(92, 56, 24, 0.14);
}

/* Nur Client-Portal-Drawer, nicht der Kontakt-Drawer */
.contact-drawer.is-mode-portal .contact-drawer__overlay {
    background: rgba(55, 34, 18, 0.22) !important;
}

.contact-drawer.is-mode-portal .contact-drawer__handle {
    background: linear-gradient(180deg,
        rgba(253, 246, 236, 0.96) 0%,
        rgba(249, 217, 182, 0.88) 56%,
        rgba(234, 198, 160, 0.78) 100%) !important;
    color: var(--sg-blue) !important;
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.66),
        inset -10px 0 22px -24px rgba(92, 56, 24, 0.46),
        0 18px 46px rgba(92, 56, 24, 0.15) !important;
}

.contact-drawer.is-mode-portal .contact-drawer__handle::before {
    background: radial-gradient(90px 130px at 0% 50%, rgba(255,255,255,0.76), rgba(255,255,255,0) 64%) !important;
}

.contact-drawer.is-mode-portal .contact-drawer__panel {
    background:
        radial-gradient(circle at 88% 8%, rgba(253, 246, 236, 0.92) 0%, rgba(253, 246, 236, 0) 34%),
        linear-gradient(180deg, var(--sg-hero-panel-strong) 0%, rgba(249, 217, 182, 0.92) 56%, rgba(243, 208, 172, 0.90) 100%) !important;
    box-shadow: -28px 0 70px rgba(92, 56, 24, 0.18) !important;
}

.contact-drawer.is-mode-portal .contact-drawer__close {
    background: rgba(253, 246, 236, 0.84) !important;
    border-color: var(--sg-hero-border) !important;
    color: var(--sg-blue) !important;
}

.portal-drawer__eyebrow,
.portal-drawer__project span,
.portal-drawer__progress span {
    color: var(--sg-blue) !important;
}

.portal-drawer__status-card h3,
.portal-drawer__project strong,
.portal-drawer__progress strong {
    color: var(--sg-blue-dark) !important;
}

.portal-drawer__hint {
    color: rgba(15, 38, 54, 0.66) !important;
}

.portal-drawer__login-card,
.portal-drawer__status-card {
    background: rgba(253, 246, 236, 0.58) !important;
    border-color: var(--sg-hero-border) !important;
    box-shadow: 0 18px 42px rgba(92, 56, 24, 0.08) !important;
}

.portal-drawer__login-card input[type="text"],
.portal-drawer__login-card input[type="password"] {
    background: rgba(255, 249, 241, 0.86) !important;
    border-color: rgba(121, 82, 44, 0.18) !important;
    color: var(--sg-blue-dark) !important;
}

.portal-drawer__login-card input[type="text"]:focus,
.portal-drawer__login-card input[type="password"]:focus {
    background: rgba(255, 252, 247, 0.96) !important;
    border-color: rgba(15, 38, 54, 0.38) !important;
    box-shadow: 0 0 0 4px rgba(213, 171, 128, 0.28) !important;
}

.portal-drawer__login-card input[type="submit"],
.portal-drawer__button {
    background: var(--sg-blue) !important;
    border-color: var(--sg-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 16px 30px rgba(15, 38, 54, 0.18) !important;
}

.portal-drawer__login-card input[type="submit"]:hover,
.portal-drawer__button:hover {
    background: var(--sg-blue-dark) !important;
    border-color: var(--sg-blue-dark) !important;
}

/* Client Portal Seite */
.client-portal-page {
    background:
        radial-gradient(circle at 72% 14%, rgba(253, 246, 236, 0.78) 0%, rgba(253, 246, 236, 0) 34%),
        linear-gradient(180deg, #f9d9b6 0%, #f7d5b1 46%, #f3d0ac 100%) !important;
}

.client-portal-hero::before {
    background-image:
        linear-gradient(90deg, rgba(249, 217, 182, 0.08), rgba(249, 217, 182, 0.30) 48%, rgba(253, 246, 236, 0.72) 100%),
        var(--client-portal-hero-image) !important;
}

.client-portal-hero::after {
    background:
        radial-gradient(circle at 10% 22%, rgba(253, 246, 236, 0.30), transparent 28%),
        linear-gradient(to bottom, rgba(249, 217, 182, 0.06), rgba(247, 213, 177, 0.58) 56%, #f3d0ac 100%) !important;
}

.client-portal-login-card,
.client-portal-dashboard,
.client-portal-info-card {
    background: rgba(253, 246, 236, 0.76) !important;
    border-color: var(--sg-hero-border) !important;
    box-shadow: 0 24px 68px rgba(92, 56, 24, 0.10) !important;
}

.client-portal-login-form input[type="text"],
.client-portal-login-form input[type="password"] {
    background: rgba(255, 249, 241, 0.86) !important;
    border-color: rgba(121, 82, 44, 0.18) !important;
}

.client-project-card,
.client-project-note,
.client-project-empty {
    background: rgba(255, 249, 241, 0.54) !important;
    border-color: rgba(121, 82, 44, 0.14) !important;
}

.client-portal-side-card__number,
.client-project-progress__bar {
    background: rgba(213, 171, 128, 0.22) !important;
}

.client-project-progress__bar span {
    background: var(--sg-blue) !important;
}

/* ------------------------------------------------------------
   Impressum & Datenschutz – HeroGrau Farbpalette
   Warme Sand-/Apricot-Fläche wie HeroGrau, ohne Kontakt-Drawer zu verändern.
------------------------------------------------------------ */
.legal-page--impressum,
.legal-page--datenschutz {
    --legal-sand-main: #F7D5B1;
    --legal-sand-light: #F9D9B6;
    --legal-sand-mid: #F3D0AC;
    --legal-sand-shadow: #EAC6A0;
    --legal-sand-deep: #D5AB80;
    --legal-cream: #FDF6EC;
    background:
        radial-gradient(circle at 76% 18%, rgba(253, 246, 236, 0.78) 0%, rgba(249, 217, 182, 0.72) 28%, rgba(247, 213, 177, 0.38) 52%, transparent 72%),
        linear-gradient(135deg, #FDF6EC 0%, #F9D9B6 34%, #F7D5B1 68%, #EAC6A0 100%) !important;
    color: #0f2636 !important;
}

.legal-page--impressum .legal-hero,
.legal-page--datenschutz .legal-hero {
    background:
        radial-gradient(circle at 22% 18%, rgba(253, 246, 236, 0.62) 0%, rgba(249, 217, 182, 0.38) 38%, transparent 66%),
        radial-gradient(circle at 82% 62%, rgba(213, 171, 128, 0.24) 0%, rgba(247, 213, 177, 0.22) 40%, transparent 72%),
        linear-gradient(135deg, #FDF6EC 0%, #F9D9B6 42%, #F7D5B1 74%, #EAC6A0 100%) !important;
    border-bottom-color: rgba(15, 38, 54, 0.10) !important;
}

.legal-page--impressum .legal-hero::before,
.legal-page--datenschutz .legal-hero::before {
    background:
        linear-gradient(135deg, rgba(15, 38, 54, 0.90) 0%, rgba(15, 38, 54, 0.90) 28%, transparent 28.5%),
        linear-gradient(35deg, rgba(213, 171, 128, 0.55), rgba(253, 246, 236, 0.30)) !important;
    opacity: 0.13 !important;
}

.legal-page--impressum .legal-hero::after,
.legal-page--datenschutz .legal-hero::after {
    border-color: rgba(15, 38, 54, 0.10) !important;
    background: rgba(253, 246, 236, 0.12) !important;
}

.legal-page--impressum .legal-hero__kicker,
.legal-page--impressum .legal-sidebar__eyebrow,
.legal-page--datenschutz .legal-hero__kicker,
.legal-page--datenschutz .legal-sidebar__eyebrow {
    color: #0f2636 !important;
}

.legal-page--impressum .legal-hero__intro,
.legal-page--datenschutz .legal-hero__intro {
    color: rgba(15, 38, 54, 0.70) !important;
}

.legal-page--impressum .legal-content,
.legal-page--datenschutz .legal-content {
    background:
        linear-gradient(180deg, rgba(247, 213, 177, 0.54) 0%, rgba(253, 246, 236, 0.76) 46%, rgba(249, 217, 182, 0.52) 100%) !important;
}

.legal-page--impressum .legal-card,
.legal-page--datenschutz .legal-card,
.legal-page--impressum .legal-sidebar__card,
.legal-page--datenschutz .legal-sidebar__card {
    background: rgba(253, 246, 236, 0.62) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 28px 80px rgba(15, 38, 54, 0.055) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.legal-page--impressum .legal-block,
.legal-page--datenschutz .legal-block {
    border-bottom-color: rgba(15, 38, 54, 0.12) !important;
}

.legal-page--impressum .legal-block p,
.legal-page--impressum .legal-block li,
.legal-page--datenschutz .legal-block p,
.legal-page--datenschutz .legal-block li,
.legal-page--impressum .legal-sidebar__card p,
.legal-page--datenschutz .legal-sidebar__card p {
    color: rgba(15, 38, 54, 0.78) !important;
}

.legal-page--impressum .legal-block a,
.legal-page--datenschutz .legal-block a {
    color: #0f2636 !important;
    text-decoration-color: rgba(15, 38, 54, 0.38) !important;
}

.legal-page--impressum .legal-note,
.legal-page--datenschutz .legal-note {
    background: rgba(247, 213, 177, 0.48) !important;
    border-left-color: #0f2636 !important;
    color: rgba(15, 38, 54, 0.70) !important;
}

/* ------------------------------------------------------------
   Startseite – Wie wir arbeiten & Über Grau Solutions
   HeroGrau Farbpalette: warmes Sand-/Apricot-Beige.
   Kontakt-Drawer bleibt unberührt.
------------------------------------------------------------ */
.home .process-section {
    background:
        radial-gradient(circle at 18% 20%, rgba(253, 246, 236, 0.72) 0%, rgba(249, 217, 182, 0.44) 34%, transparent 64%),
        radial-gradient(circle at 82% 66%, rgba(213, 171, 128, 0.22) 0%, rgba(247, 213, 177, 0.18) 42%, transparent 74%),
        linear-gradient(135deg, #FDF6EC 0%, #F9D9B6 38%, #F7D5B1 72%, #EAC6A0 100%) !important;
    border-top-color: rgba(15, 38, 54, 0.10) !important;
}

.home .process-section__media::after {
    background: linear-gradient(90deg, rgba(253, 246, 236, 0.06) 0%, rgba(249, 217, 182, 0.18) 34%, rgba(247, 213, 177, 0.88) 100%) !important;
}

.home .process-section__media img {
    filter: saturate(0.9) contrast(0.98) brightness(1.03) !important;
}

.home .process-section .section-eyebrow,
.home .process-title,
.home .process-title em,
.home .process-step__title {
    color: #0f2636 !important;
}

.home .process-step__text {
    color: rgba(15, 38, 54, 0.76) !important;
}

.home .process-step__number {
    color: #0f2636 !important;
    background: rgba(253, 246, 236, 0.56) !important;
    border-color: rgba(15, 38, 54, 0.18) !important;
    box-shadow: 0 16px 38px rgba(92, 56, 24, 0.08) !important;
}

.home .process-step__arrow {
    color: rgba(15, 38, 54, 0.34) !important;
}

.home .about-solutions-section {
    background:
        radial-gradient(circle at 74% 18%, rgba(253, 246, 236, 0.74) 0%, rgba(249, 217, 182, 0.46) 34%, transparent 66%),
        radial-gradient(circle at 18% 80%, rgba(213, 171, 128, 0.24) 0%, rgba(247, 213, 177, 0.18) 42%, transparent 72%),
        linear-gradient(135deg, #FDF6EC 0%, #F9D9B6 35%, #F7D5B1 70%, #EAC6A0 100%) !important;
    border-top-color: rgba(15, 38, 54, 0.10) !important;
}

.home .about-solutions-section .section-eyebrow,
.home .about-solutions-title,
.home .about-solutions-title em,
.home .about-solutions-card h3 {
    color: #0f2636 !important;
}

.home .about-solutions-text,
.home .about-solutions-card p {
    color: rgba(15, 38, 54, 0.76) !important;
}

.home .about-solutions-note {
    background: rgba(15, 38, 54, 0.94) !important;
    color: #FDF6EC !important;
    box-shadow: 0 28px 78px rgba(15, 38, 54, 0.16) !important;
}

.home .about-solutions-note__label {
    color: rgba(253, 246, 236, 0.68) !important;
}

.home .about-solutions-card {
    background: rgba(253, 246, 236, 0.58) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 22px 64px rgba(92, 56, 24, 0.06) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home .about-solutions-card:hover {
    border-color: rgba(15, 38, 54, 0.26) !important;
}

.home .about-solutions-section .section-link {
    color: #0f2636 !important;
}

/* ------------------------------------------------------------
   Leistungen-Seite CTA – HeroGrau-Farbpalette
------------------------------------------------------------ */
.services-page-cta {
    background:
        radial-gradient(circle at 78% 22%, rgba(253, 246, 236, 0.82) 0%, rgba(249, 217, 182, 0.72) 34%, transparent 62%),
        linear-gradient(135deg, #F7D5B1 0%, #F3D0AC 58%, #EAC6A0 100%) !important;
}

.services-page-cta__inner {
    background:
        radial-gradient(circle at 90% 0%, rgba(253, 246, 236, 0.86), transparent 34%),
        linear-gradient(135deg, rgba(255, 250, 247, 0.92) 0%, rgba(249, 217, 182, 0.34) 100%) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 28px 76px rgba(122, 82, 43, 0.16) !important;
}

/* ------------------------------------------------------------
   Prozess-Seite – Prinzipien & CTA HeroGrau-Farbpalette
   Kontakt-Drawer bleibt unberührt.
------------------------------------------------------------ */
.process-page-principles {
    background:
        radial-gradient(circle at 18% 20%, rgba(253, 246, 236, 0.78) 0%, rgba(249, 217, 182, 0.52) 34%, transparent 64%),
        radial-gradient(circle at 84% 68%, rgba(213, 171, 128, 0.24) 0%, rgba(247, 213, 177, 0.20) 42%, transparent 74%),
        linear-gradient(135deg, #FDF6EC 0%, #F9D9B6 38%, #F7D5B1 72%, #EAC6A0 100%) !important;
}

.process-page-principles__head h2,
.process-page-principles .section-eyebrow,
.process-page-principles .process-principle-card h3 {
    color: #0f2636 !important;
}

.process-page-principles .process-principle-card {
    background: rgba(253, 246, 236, 0.62) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 22px 64px rgba(92, 56, 24, 0.07) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.process-page-principles .process-principle-card:hover {
    border-color: rgba(15, 38, 54, 0.26) !important;
    box-shadow: 0 28px 76px rgba(92, 56, 24, 0.10) !important;
}

.process-page-principles .process-principle-card p {
    color: rgba(15, 38, 54, 0.76) !important;
}

.process-page-cta {
    background:
        radial-gradient(circle at 78% 22%, rgba(253, 246, 236, 0.82) 0%, rgba(249, 217, 182, 0.72) 34%, transparent 62%),
        linear-gradient(135deg, #F7D5B1 0%, #F3D0AC 58%, #EAC6A0 100%) !important;
}

.process-page-cta__inner {
    background:
        radial-gradient(circle at 90% 0%, rgba(253, 246, 236, 0.86), transparent 34%),
        linear-gradient(135deg, rgba(255, 250, 247, 0.92) 0%, rgba(249, 217, 182, 0.34) 100%) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 28px 76px rgba(122, 82, 43, 0.16) !important;
}

.process-page-cta__inner h2,
.process-page-cta__inner .section-eyebrow {
    color: #0f2636 !important;
}

.process-page-cta__inner p:not(.section-eyebrow) {
    color: rgba(15, 38, 54, 0.74) !important;
}

/* ------------------------------------------------------------
   Projekte-Seite – Projektkacheln & CTA HeroGrau-Farbpalette
   Kontakt-Drawer bleibt unberührt.
------------------------------------------------------------ */
.projects-page .project-reference-card {
    background: rgba(253, 246, 236, 0.72) !important;
    border-color: rgba(15, 38, 54, 0.11) !important;
    box-shadow: 0 24px 68px rgba(122, 82, 43, 0.12) !important;
}

.projects-page .project-reference-card__content {
    background:
        radial-gradient(circle at 86% 8%, rgba(253, 246, 236, 0.78) 0%, rgba(249, 217, 182, 0.36) 34%, transparent 62%),
        linear-gradient(135deg, rgba(253, 246, 236, 0.96) 0%, rgba(249, 217, 182, 0.54) 52%, rgba(234, 198, 160, 0.34) 100%) !important;
}

.projects-page .project-reference-card__media {
    background: #EAC6A0 !important;
}

.projects-page .project-reference-card__meta {
    border-top-color: rgba(15, 38, 54, 0.14) !important;
}

.projects-page .projects-cta {
    background:
        radial-gradient(circle at 18% 18%, rgba(253, 246, 236, 0.78) 0%, rgba(249, 217, 182, 0.50) 34%, transparent 64%),
        radial-gradient(circle at 82% 72%, rgba(213, 171, 128, 0.24) 0%, rgba(247, 213, 177, 0.20) 42%, transparent 74%),
        linear-gradient(135deg, #FDF6EC 0%, #F9D9B6 38%, #F7D5B1 72%, #EAC6A0 100%) !important;
}

.projects-page .projects-cta__inner {
    background:
        radial-gradient(circle at 90% 0%, rgba(253, 246, 236, 0.88), transparent 34%),
        linear-gradient(135deg, rgba(255, 250, 247, 0.94) 0%, rgba(249, 217, 182, 0.40) 100%) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 28px 76px rgba(122, 82, 43, 0.16) !important;
}

.projects-page .projects-cta__inner h2,
.projects-page .projects-cta__inner .section-eyebrow {
    color: #0f2636 !important;
}

.projects-page .projects-cta__inner p:not(.section-eyebrow) {
    color: rgba(15, 38, 54, 0.74) !important;
}

/* ------------------------------------------------------------
   Über Grau Solutions – Prinzipien & CTA HeroGrau-Farbpalette
   Kontakt-Drawer bleibt unberührt.
------------------------------------------------------------ */
.about-page .about-principles {
    background:
        radial-gradient(circle at 18% 20%, rgba(253, 246, 236, 0.78) 0%, rgba(249, 217, 182, 0.52) 34%, transparent 64%),
        radial-gradient(circle at 84% 68%, rgba(213, 171, 128, 0.24) 0%, rgba(247, 213, 177, 0.20) 42%, transparent 74%),
        linear-gradient(135deg, #FDF6EC 0%, #F9D9B6 38%, #F7D5B1 72%, #EAC6A0 100%) !important;
}

.about-page .about-principles__head h2,
.about-page .about-principles .section-eyebrow,
.about-page .about-principle-card h3,
.about-page .about-principle-card span {
    color: #0f2636 !important;
}

.about-page .about-principle-card {
    background: rgba(253, 246, 236, 0.62) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 22px 64px rgba(92, 56, 24, 0.07) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-page .about-principle-card:hover {
    border-color: rgba(15, 38, 54, 0.26) !important;
    box-shadow: 0 28px 76px rgba(92, 56, 24, 0.10) !important;
}

.about-page .about-principle-card span {
    border-bottom-color: rgba(15, 38, 54, 0.78) !important;
}

.about-page .about-principle-card p {
    color: rgba(15, 38, 54, 0.76) !important;
}

.about-page .about-cta {
    background:
        radial-gradient(circle at 78% 22%, rgba(253, 246, 236, 0.82) 0%, rgba(249, 217, 182, 0.72) 34%, transparent 62%),
        linear-gradient(135deg, #F7D5B1 0%, #F3D0AC 58%, #EAC6A0 100%) !important;
}

.about-page .about-cta__inner {
    background:
        radial-gradient(circle at 90% 0%, rgba(253, 246, 236, 0.86), transparent 34%),
        linear-gradient(135deg, rgba(255, 250, 247, 0.92) 0%, rgba(249, 217, 182, 0.34) 100%) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 28px 76px rgba(122, 82, 43, 0.16) !important;
}

.about-page .about-cta__inner h2,
.about-page .about-cta__inner .section-eyebrow {
    color: #0f2636 !important;
}

.about-page .about-cta__inner p:not(.section-eyebrow) {
    color: rgba(15, 38, 54, 0.74) !important;
}

/* ------------------------------------------------------------
   Client Portal Seite – Hero, Aktuelles Projekt & Was sichtbar wird
   HeroGrau-Farbpalette. Kontakt-Drawer bleibt unberührt.
------------------------------------------------------------ */
.client-portal-page--about-style .client-portal-hero,
.client-portal-page--about-style .client-portal-hero.client-portal-hero--about {
    background:
        radial-gradient(circle at 18% 18%, rgba(253, 246, 236, 0.84) 0%, rgba(249, 217, 182, 0.56) 34%, transparent 64%),
        radial-gradient(circle at 84% 68%, rgba(213, 171, 128, 0.24) 0%, rgba(247, 213, 177, 0.22) 42%, transparent 74%),
        linear-gradient(135deg, #FDF6EC 0%, #F9D9B6 38%, #F7D5B1 72%, #EAC6A0 100%) !important;
}

.client-portal-page--about-style .client-portal-login-card,
.client-portal-page--about-style .client-portal-dashboard {
    background:
        radial-gradient(circle at 90% 0%, rgba(253, 246, 236, 0.92), transparent 34%),
        linear-gradient(135deg, rgba(255, 250, 247, 0.94) 0%, rgba(249, 217, 182, 0.42) 100%) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 32px 84px rgba(122, 82, 43, 0.16) !important;
}

.client-portal-page--about-style .client-project-card {
    background:
        radial-gradient(circle at 86% 8%, rgba(253, 246, 236, 0.80) 0%, rgba(249, 217, 182, 0.38) 34%, transparent 62%),
        linear-gradient(135deg, rgba(253, 246, 236, 0.96) 0%, rgba(249, 217, 182, 0.56) 52%, rgba(234, 198, 160, 0.36) 100%) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 24px 68px rgba(122, 82, 43, 0.12) !important;
}

.client-portal-page--about-style .client-project-note {
    background: rgba(253, 246, 236, 0.62) !important;
    border-color: rgba(15, 38, 54, 0.10) !important;
}

.client-portal-principles {
    background:
        radial-gradient(circle at 18% 20%, rgba(253, 246, 236, 0.78) 0%, rgba(249, 217, 182, 0.52) 34%, transparent 64%),
        radial-gradient(circle at 84% 68%, rgba(213, 171, 128, 0.24) 0%, rgba(247, 213, 177, 0.20) 42%, transparent 74%),
        linear-gradient(135deg, #FDF6EC 0%, #F9D9B6 38%, #F7D5B1 72%, #EAC6A0 100%) !important;
}

.client-portal-principles__head h2,
.client-portal-principles .section-eyebrow,
.client-portal-principle-card h3,
.client-portal-principle-card span {
    color: #0f2636 !important;
}

.client-portal-principle-card {
    background: rgba(253, 246, 236, 0.62) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 22px 64px rgba(92, 56, 24, 0.07) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.client-portal-principle-card:hover {
    border-color: rgba(15, 38, 54, 0.26) !important;
    box-shadow: 0 28px 76px rgba(92, 56, 24, 0.10) !important;
}

.client-portal-principle-card span {
    border-bottom-color: rgba(15, 38, 54, 0.78) !important;
}

.client-portal-principle-card p {
    color: rgba(15, 38, 54, 0.76) !important;
}

/* ------------------------------------------------------------
   FINAL FIX – Leistungen & Prozess CTA mit HeroGrau-Farbpalette
   Kontakt-Drawer bleibt unberührt.
------------------------------------------------------------ */
.services-page .services-page-cta,
body .site-main.services-page .services-page-cta,
body.page-template-page-leistungen .services-page-cta {
    background:
        radial-gradient(circle at 18% 18%, rgba(253, 246, 236, 0.78) 0%, rgba(249, 217, 182, 0.50) 34%, transparent 64%),
        radial-gradient(circle at 82% 72%, rgba(213, 171, 128, 0.24) 0%, rgba(247, 213, 177, 0.20) 42%, transparent 74%),
        linear-gradient(135deg, #FDF6EC 0%, #F9D9B6 38%, #F7D5B1 72%, #EAC6A0 100%) !important;
}

.services-page .services-page-cta__inner,
body .site-main.services-page .services-page-cta__inner,
body.page-template-page-leistungen .services-page-cta__inner {
    background:
        radial-gradient(circle at 90% 0%, rgba(253, 246, 236, 0.88), transparent 34%),
        linear-gradient(135deg, rgba(255, 250, 247, 0.94) 0%, rgba(249, 217, 182, 0.40) 100%) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 28px 76px rgba(122, 82, 43, 0.16) !important;
}

.services-page .services-page-cta__inner h2,
.services-page .services-page-cta__inner .section-eyebrow,
body .site-main.services-page .services-page-cta__inner h2,
body .site-main.services-page .services-page-cta__inner .section-eyebrow,
body.page-template-page-leistungen .services-page-cta__inner h2,
body.page-template-page-leistungen .services-page-cta__inner .section-eyebrow {
    color: #0f2636 !important;
}

.services-page .services-page-cta__inner p:not(.section-eyebrow),
body .site-main.services-page .services-page-cta__inner p:not(.section-eyebrow),
body.page-template-page-leistungen .services-page-cta__inner p:not(.section-eyebrow) {
    color: rgba(15, 38, 54, 0.74) !important;
}

.process-page .process-page-cta,
body .site-main.process-page .process-page-cta,
body.page-template-page-prozess .process-page-cta {
    background:
        radial-gradient(circle at 18% 18%, rgba(253, 246, 236, 0.78) 0%, rgba(249, 217, 182, 0.50) 34%, transparent 64%),
        radial-gradient(circle at 82% 72%, rgba(213, 171, 128, 0.24) 0%, rgba(247, 213, 177, 0.20) 42%, transparent 74%),
        linear-gradient(135deg, #FDF6EC 0%, #F9D9B6 38%, #F7D5B1 72%, #EAC6A0 100%) !important;
}

.process-page .process-page-cta__inner,
body .site-main.process-page .process-page-cta__inner,
body.page-template-page-prozess .process-page-cta__inner {
    background:
        radial-gradient(circle at 90% 0%, rgba(253, 246, 236, 0.88), transparent 34%),
        linear-gradient(135deg, rgba(255, 250, 247, 0.94) 0%, rgba(249, 217, 182, 0.40) 100%) !important;
    border-color: rgba(15, 38, 54, 0.12) !important;
    box-shadow: 0 28px 76px rgba(122, 82, 43, 0.16) !important;
}

.process-page .process-page-cta__inner h2,
.process-page .process-page-cta__inner .section-eyebrow,
body .site-main.process-page .process-page-cta__inner h2,
body .site-main.process-page .process-page-cta__inner .section-eyebrow,
body.page-template-page-prozess .process-page-cta__inner h2,
body.page-template-page-prozess .process-page-cta__inner .section-eyebrow {
    color: #0f2636 !important;
}

.process-page .process-page-cta__inner p:not(.section-eyebrow),
body .site-main.process-page .process-page-cta__inner p:not(.section-eyebrow),
body.page-template-page-prozess .process-page-cta__inner p:not(.section-eyebrow) {
    color: rgba(15, 38, 54, 0.74) !important;
}

/* ------------------------------------------------------------
   FINAL PALETTE UPDATE v67 – helle Grau-Solutions-Hero-Farbpalette
   Ziel: weniger Orange, heller/cremiger, passend zur neuen WEBP-Serie.
   Betroffen: Home Wie wir arbeiten, Home Über Grau Solutions,
   Leistungen CTA, Prozess Prinzipien/CTA, Projekte Kacheln/CTA,
   Über Grau Solutions Prinzipien/CTA, Impressum & Datenschutz.
------------------------------------------------------------ */
:root {
    --sg-hero-cream-light: #F8F0E0;
    --sg-hero-cream: #F5E8DA;
    --sg-hero-sand-soft: #F4E3D0;
    --sg-hero-beige-soft: #F0E0D0;
    --sg-hero-shadow-soft: #E8D8C8;
    --sg-hero-panel-light: rgba(255, 250, 244, 0.92);
    --sg-hero-panel-soft: rgba(248, 240, 224, 0.78);
    --sg-hero-line-soft: rgba(15, 38, 54, 0.12);
    --sg-hero-drop-soft: rgba(70, 48, 28, 0.075);
}

/* Startseite – WIE WIR ARBEITEN */
.home .process-section {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 250, 244, 0.86) 0%, rgba(248, 240, 224, 0.64) 32%, transparent 66%),
        radial-gradient(circle at 86% 74%, rgba(232, 216, 200, 0.30) 0%, rgba(244, 227, 208, 0.22) 42%, transparent 74%),
        linear-gradient(135deg, var(--sg-hero-cream-light) 0%, var(--sg-hero-cream) 44%, var(--sg-hero-sand-soft) 100%) !important;
}

.home .process-section .section-eyebrow,
.home .process-section h2,
.home .process-section h2 em,
.home .process-step h3 {
    color: #0f2636 !important;
}

.home .process-section p,
.home .process-section .process-step p {
    color: rgba(15, 38, 54, 0.72) !important;
}

.home .process-section__media::after {
    background:
        linear-gradient(180deg, rgba(248, 240, 224, 0.0) 0%, rgba(248, 240, 224, 0.34) 100%) !important;
}

/* Startseite – ÜBER GRAU SOLUTIONS */
.home .about-solutions-section {
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 250, 244, 0.88) 0%, rgba(248, 240, 224, 0.64) 34%, transparent 66%),
        radial-gradient(circle at 82% 72%, rgba(232, 216, 200, 0.34) 0%, rgba(244, 227, 208, 0.24) 42%, transparent 74%),
        linear-gradient(135deg, var(--sg-hero-cream-light) 0%, var(--sg-hero-cream) 48%, var(--sg-hero-sand-soft) 100%) !important;
    border-top-color: rgba(15, 38, 54, 0.07) !important;
}

.home .about-solutions-note {
    background:
        radial-gradient(circle at 94% 0%, rgba(255,255,255,0.34), transparent 34%),
        linear-gradient(135deg, #0f2636 0%, #15334a 100%) !important;
    box-shadow: 0 26px 70px rgba(15, 38, 54, 0.12) !important;
}

.home .about-solutions-card {
    background: rgba(255, 250, 244, 0.74) !important;
    border-color: var(--sg-hero-line-soft) !important;
    box-shadow: 0 18px 54px var(--sg-hero-drop-soft) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home .about-solutions-card:hover {
    background: rgba(255, 252, 248, 0.88) !important;
    border-color: rgba(15, 38, 54, 0.23) !important;
    box-shadow: 0 24px 68px rgba(70, 48, 28, 0.095) !important;
}

.home .about-solutions-title,
.home .about-solutions-title em,
.home .about-solutions-card h3,
.home .about-solutions-section .section-eyebrow {
    color: #0f2636 !important;
}

.home .about-solutions-text,
.home .about-solutions-card p {
    color: rgba(15, 38, 54, 0.72) !important;
}

/* Gemeinsame helle CTA-Flächen */
.services-page .services-page-cta,
body .site-main.services-page .services-page-cta,
body.page-template-page-leistungen .services-page-cta,
.process-page .process-page-cta,
body .site-main.process-page .process-page-cta,
body.page-template-page-prozess .process-page-cta,
.projects-page .projects-cta,
.about-page .about-cta {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 250, 244, 0.86) 0%, rgba(248, 240, 224, 0.62) 34%, transparent 66%),
        radial-gradient(circle at 82% 74%, rgba(232, 216, 200, 0.32) 0%, rgba(244, 227, 208, 0.22) 42%, transparent 74%),
        linear-gradient(135deg, var(--sg-hero-cream-light) 0%, var(--sg-hero-cream) 46%, var(--sg-hero-sand-soft) 100%) !important;
}

.services-page .services-page-cta__inner,
body .site-main.services-page .services-page-cta__inner,
body.page-template-page-leistungen .services-page-cta__inner,
.process-page .process-page-cta__inner,
body .site-main.process-page .process-page-cta__inner,
body.page-template-page-prozess .process-page-cta__inner,
.projects-page .projects-cta__inner,
.about-page .about-cta__inner {
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.74), transparent 34%),
        linear-gradient(135deg, rgba(255, 250, 244, 0.96) 0%, rgba(248, 240, 224, 0.58) 100%) !important;
    border-color: var(--sg-hero-line-soft) !important;
    box-shadow: 0 28px 76px var(--sg-hero-drop-soft) !important;
}

.services-page .services-page-cta__inner h2,
.services-page .services-page-cta__inner .section-eyebrow,
.process-page .process-page-cta__inner h2,
.process-page .process-page-cta__inner .section-eyebrow,
.projects-page .projects-cta__inner h2,
.projects-page .projects-cta__inner .section-eyebrow,
.about-page .about-cta__inner h2,
.about-page .about-cta__inner .section-eyebrow {
    color: #0f2636 !important;
}

.services-page .services-page-cta__inner p:not(.section-eyebrow),
.process-page .process-page-cta__inner p:not(.section-eyebrow),
.projects-page .projects-cta__inner p:not(.section-eyebrow),
.about-page .about-cta__inner p:not(.section-eyebrow) {
    color: rgba(15, 38, 54, 0.74) !important;
}

/* Prozess – PRINZIPIEN */
.process-page .process-page-principles {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 250, 244, 0.88) 0%, rgba(248, 240, 224, 0.64) 34%, transparent 66%),
        radial-gradient(circle at 84% 70%, rgba(232, 216, 200, 0.32) 0%, rgba(244, 227, 208, 0.24) 42%, transparent 76%),
        linear-gradient(135deg, var(--sg-hero-cream-light) 0%, var(--sg-hero-cream) 48%, var(--sg-hero-sand-soft) 100%) !important;
}

.process-page .process-principle-card {
    background: rgba(255, 250, 244, 0.74) !important;
    border-color: var(--sg-hero-line-soft) !important;
    box-shadow: 0 22px 64px var(--sg-hero-drop-soft) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.process-page .process-principle-card:hover {
    background: rgba(255, 252, 248, 0.88) !important;
    border-color: rgba(15, 38, 54, 0.23) !important;
    box-shadow: 0 28px 76px rgba(70, 48, 28, 0.095) !important;
}

.process-page .process-page-principles__head h2,
.process-page .process-page-principles .section-eyebrow,
.process-page .process-principle-card h3 {
    color: #0f2636 !important;
}

.process-page .process-principle-card p {
    color: rgba(15, 38, 54, 0.74) !important;
}

/* Projekte – einzelne Kacheln + CTA */
.projects-page .project-reference-card,
.projects-page .project-card,
.home .project-card {
    background: rgba(255, 250, 244, 0.76) !important;
    border-color: var(--sg-hero-line-soft) !important;
    box-shadow: 0 22px 64px var(--sg-hero-drop-soft) !important;
}

.projects-page .project-reference-card:hover,
.projects-page .project-card:hover,
.home .project-card:hover {
    background: rgba(255, 252, 248, 0.90) !important;
    border-color: rgba(15, 38, 54, 0.23) !important;
    box-shadow: 0 28px 76px rgba(70, 48, 28, 0.095) !important;
}

.projects-page .project-reference-card__content {
    background:
        radial-gradient(circle at 92% 8%, rgba(255,255,255,0.60), transparent 34%),
        linear-gradient(135deg, rgba(255, 250, 244, 0.94) 0%, rgba(248, 240, 224, 0.62) 100%) !important;
}

.projects-page .project-reference-card__media,
.projects-page .project-card__image {
    background: var(--sg-hero-beige-soft) !important;
}

.projects-page .project-reference-card__topline,
.projects-page .project-reference-card__content h3,
.projects-page .project-reference-card__meta,
.projects-page .project-card__eyebrow,
.projects-page .project-card__title,
.home .project-card__eyebrow,
.home .project-card__title {
    color: #0f2636 !important;
}

.projects-page .project-reference-card__topline span:first-child {
    border-bottom-color: #0f2636 !important;
}

.projects-page .project-reference-card__content p,
.projects-page .project-card__text,
.home .project-card__text {
    color: rgba(15, 38, 54, 0.72) !important;
}

.projects-page .project-reference-card__meta {
    border-top-color: rgba(15, 38, 54, 0.12) !important;
}

/* Über Grau Solutions – PRINZIPIEN */
.about-page .about-principles {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 250, 244, 0.88) 0%, rgba(248, 240, 224, 0.64) 34%, transparent 66%),
        radial-gradient(circle at 84% 70%, rgba(232, 216, 200, 0.32) 0%, rgba(244, 227, 208, 0.24) 42%, transparent 76%),
        linear-gradient(135deg, var(--sg-hero-cream-light) 0%, var(--sg-hero-cream) 48%, var(--sg-hero-sand-soft) 100%) !important;
}

.about-page .about-principle-card {
    background: rgba(255, 250, 244, 0.74) !important;
    border-color: var(--sg-hero-line-soft) !important;
    box-shadow: 0 22px 64px var(--sg-hero-drop-soft) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.about-page .about-principle-card:hover {
    background: rgba(255, 252, 248, 0.88) !important;
    border-color: rgba(15, 38, 54, 0.23) !important;
    box-shadow: 0 28px 76px rgba(70, 48, 28, 0.095) !important;
}

.about-page .about-principles__head h2,
.about-page .about-principles .section-eyebrow,
.about-page .about-principle-card h3,
.about-page .about-principle-card span {
    color: #0f2636 !important;
}

.about-page .about-principle-card span {
    border-bottom-color: rgba(15, 38, 54, 0.72) !important;
}

.about-page .about-principle-card p {
    color: rgba(15, 38, 54, 0.74) !important;
}

/* Impressum & Datenschutz */
.legal-page--impressum,
.legal-page--datenschutz {
    --legal-sand-main: var(--sg-hero-cream);
    --legal-sand-light: var(--sg-hero-cream-light);
    --legal-sand-mid: var(--sg-hero-sand-soft);
    --legal-sand-shadow: var(--sg-hero-shadow-soft);
    --legal-sand-deep: #D9C5B2;
    --legal-cream: #FFFAF4;
    background: var(--sg-hero-cream-light) !important;
}

.legal-page--impressum .legal-hero,
.legal-page--datenschutz .legal-hero {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 250, 244, 0.88) 0%, rgba(248, 240, 224, 0.66) 34%, transparent 66%),
        radial-gradient(circle at 84% 70%, rgba(232, 216, 200, 0.30) 0%, rgba(244, 227, 208, 0.22) 42%, transparent 76%),
        linear-gradient(135deg, var(--sg-hero-cream-light) 0%, var(--sg-hero-cream) 48%, var(--sg-hero-sand-soft) 100%) !important;
}

.legal-page--impressum .legal-hero::before,
.legal-page--datenschutz .legal-hero::before {
    background: radial-gradient(circle, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0) 68%) !important;
}

.legal-page--impressum .legal-hero::after,
.legal-page--datenschutz .legal-hero::after {
    background: linear-gradient(180deg, transparent 0%, rgba(248, 240, 224, 0.62) 100%) !important;
}

.legal-page--impressum .legal-content,
.legal-page--datenschutz .legal-content {
    background: var(--sg-hero-cream-light) !important;
}

.legal-page--impressum .legal-card,
.legal-page--datenschutz .legal-card,
.legal-page--impressum .legal-sidebar__card,
.legal-page--datenschutz .legal-sidebar__card,
.legal-page--impressum .legal-note,
.legal-page--datenschutz .legal-note {
    background: rgba(255, 250, 244, 0.78) !important;
    border-color: var(--sg-hero-line-soft) !important;
    box-shadow: 0 22px 64px var(--sg-hero-drop-soft) !important;
}

.legal-page--impressum .legal-block,
.legal-page--datenschutz .legal-block {
    border-bottom-color: rgba(15, 38, 54, 0.10) !important;
}

.legal-page--impressum .legal-hero__title,
.legal-page--impressum .legal-block h2,
.legal-page--impressum .legal-sidebar__card p,
.legal-page--datenschutz .legal-hero__title,
.legal-page--datenschutz .legal-block h2,
.legal-page--datenschutz .legal-sidebar__card p {
    color: #0f2636 !important;
}

.legal-page--impressum .legal-hero__intro,
.legal-page--impressum .legal-block p,
.legal-page--impressum .legal-block li,
.legal-page--datenschutz .legal-hero__intro,
.legal-page--datenschutz .legal-block p,
.legal-page--datenschutz .legal-block li {
    color: rgba(15, 38, 54, 0.74) !important;
}

/* ------------------------------------------------------------
   FINAL PALETTE FIX v2 – helle Grau-Solutions Hero-Farbpalette
   Palette aus der helleren Bildserie:
   #F8F0E0, #F5E8DA, #F4E3D0, #F0E0D0, #E8D8C8
------------------------------------------------------------ */
:root {
    --sg-pale-cream: #F8F0E0;
    --sg-warm-ivory: #F5E8DA;
    --sg-soft-sand: #F4E3D0;
    --sg-light-beige: #F0E0D0;
    --sg-muted-beige: #E8D8C8;
    --sg-light-border: rgba(15, 38, 54, 0.105);
    --sg-light-shadow: rgba(15, 38, 54, 0.075);
}

/* Impressum & Datenschutz: komplette Seite, nicht nur Hero */
body:has(.legal-page--impressum),
body:has(.legal-page--datenschutz),
.legal-page--impressum,
.legal-page--datenschutz {
    background:
        radial-gradient(circle at 78% 12%, rgba(255,255,255,0.56) 0%, rgba(248,240,224,0.66) 32%, transparent 68%),
        linear-gradient(135deg, var(--sg-pale-cream) 0%, var(--sg-warm-ivory) 46%, var(--sg-soft-sand) 100%) !important;
    color: var(--sg-blue) !important;
}

.legal-page--impressum .legal-hero,
.legal-page--datenschutz .legal-hero,
.legal-page--impressum .legal-content,
.legal-page--datenschutz .legal-content {
    background: transparent !important;
}

.legal-page--impressum .legal-card,
.legal-page--datenschutz .legal-card,
.legal-page--impressum .legal-sidebar__card,
.legal-page--datenschutz .legal-sidebar__card {
    background: rgba(255, 255, 255, 0.44) !important;
    border-color: var(--sg-light-border) !important;
    box-shadow: 0 24px 68px var(--sg-light-shadow) !important;
}

.legal-page--impressum .legal-note,
.legal-page--datenschutz .legal-note {
    background: rgba(248, 240, 224, 0.72) !important;
    border-left-color: var(--sg-blue) !important;
}

/* Client Portal Drawer: heller, weniger orange */
.contact-drawer.is-mode-portal .contact-drawer__overlay {
    background: rgba(15, 38, 54, 0.18) !important;
}

.contact-drawer.is-mode-portal .contact-drawer__handle {
    background: linear-gradient(180deg,
        rgba(248, 240, 224, 0.98) 0%,
        rgba(245, 232, 218, 0.94) 56%,
        rgba(240, 224, 208, 0.90) 100%) !important;
    color: var(--sg-blue) !important;
}

.contact-drawer.is-mode-portal .contact-drawer__panel {
    background:
        radial-gradient(circle at 88% 8%, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0) 34%),
        linear-gradient(180deg, var(--sg-pale-cream) 0%, var(--sg-warm-ivory) 52%, var(--sg-soft-sand) 100%) !important;
    box-shadow: -28px 0 70px rgba(15, 38, 54, 0.14) !important;
}

.contact-drawer.is-mode-portal .portal-drawer__login-card,
.contact-drawer.is-mode-portal .portal-drawer__status-card,
.portal-drawer__login-card,
.portal-drawer__status-card {
    background: rgba(255, 255, 255, 0.48) !important;
    border-color: var(--sg-light-border) !important;
    box-shadow: 0 20px 52px var(--sg-light-shadow) !important;
}

.contact-drawer.is-mode-portal .portal-drawer__login-card input[type="text"],
.contact-drawer.is-mode-portal .portal-drawer__login-card input[type="password"],
.portal-drawer__login-card input[type="text"],
.portal-drawer__login-card input[type="password"] {
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(15, 38, 54, 0.13) !important;
}

/* Client Portal Seite: Hero + Innenbox Aktuelles Projekt + Was sichtbar wird */
.client-portal-page,
.client-portal-page--about-style {
    background:
        radial-gradient(circle at 76% 12%, rgba(255,255,255,0.58) 0%, rgba(248,240,224,0.60) 34%, transparent 70%),
        linear-gradient(180deg, var(--sg-pale-cream) 0%, var(--sg-warm-ivory) 50%, var(--sg-soft-sand) 100%) !important;
}

.client-portal-page--about-style .client-portal-hero,
.client-portal-page--about-style .client-portal-hero.client-portal-hero--about {
    background:
        radial-gradient(circle at 18% 16%, rgba(255,255,255,0.58) 0%, rgba(248,240,224,0.52) 36%, transparent 68%),
        radial-gradient(circle at 84% 68%, rgba(232,216,200,0.30) 0%, transparent 68%),
        linear-gradient(135deg, var(--sg-pale-cream) 0%, var(--sg-warm-ivory) 48%, var(--sg-soft-sand) 100%) !important;
}

.client-portal-page--about-style .client-portal-hero::before {
    background-image:
        linear-gradient(90deg, rgba(248,240,224,0.10), rgba(248,240,224,0.32) 48%, rgba(255,255,255,0.78) 100%),
        var(--client-portal-hero-image) !important;
}

.client-portal-page--about-style .client-portal-hero::after {
    background:
        radial-gradient(circle at 10% 22%, rgba(255,255,255,0.28), transparent 28%),
        linear-gradient(to bottom, rgba(248,240,224,0.04), rgba(245,232,218,0.44) 58%, var(--sg-warm-ivory) 100%) !important;
}

.client-portal-page--about-style .client-portal-login-card,
.client-portal-page--about-style .client-portal-dashboard {
    background: rgba(255, 255, 255, 0.54) !important;
    border-color: var(--sg-light-border) !important;
    box-shadow: 0 30px 82px var(--sg-light-shadow) !important;
}

.client-portal-page--about-style .client-project-card {
    background:
        radial-gradient(circle at 86% 8%, rgba(255,255,255,0.62) 0%, transparent 42%),
        linear-gradient(135deg, rgba(255,255,255,0.58) 0%, rgba(248,240,224,0.56) 52%, rgba(240,224,208,0.48) 100%) !important;
    border-color: var(--sg-light-border) !important;
    box-shadow: 0 22px 60px var(--sg-light-shadow) !important;
}

.client-portal-page--about-style .client-project-note,
.client-portal-page--about-style .client-project-empty {
    background: rgba(255, 255, 255, 0.50) !important;
    border-color: rgba(15, 38, 54, 0.095) !important;
}

.client-portal-page--about-style .client-project-card__topline {
    border-bottom-color: rgba(15, 38, 54, 0.10) !important;
}

.client-portal-principles {
    background:
        radial-gradient(circle at 18% 20%, rgba(255,255,255,0.56) 0%, rgba(248,240,224,0.50) 36%, transparent 66%),
        radial-gradient(circle at 84% 68%, rgba(232,216,200,0.32) 0%, transparent 70%),
        linear-gradient(135deg, var(--sg-pale-cream) 0%, var(--sg-warm-ivory) 48%, var(--sg-soft-sand) 100%) !important;
}

.client-portal-principle-card {
    background: rgba(255, 255, 255, 0.46) !important;
    border-color: var(--sg-light-border) !important;
    box-shadow: 0 20px 56px var(--sg-light-shadow) !important;
}

.client-portal-principle-card:hover {
    border-color: rgba(15, 38, 54, 0.22) !important;
    box-shadow: 0 26px 70px rgba(15, 38, 54, 0.095) !important;
}

/* ------------------------------------------------------------
   Client Portal – äußere Willkommen/Admin-Boxen weiß
------------------------------------------------------------ */
.client-portal-page--about-style .client-portal-dashboard,
.client-portal-page--about-style .client-portal-login-card,
.contact-drawer.is-mode-portal .portal-drawer__status-card,
.portal-drawer__status-card {
    background: #ffffff !important;
    border-color: rgba(15, 38, 54, 0.10) !important;
    box-shadow: 0 24px 64px rgba(15, 38, 54, 0.10) !important;
}

/* ------------------------------------------------------------
   Client Portal – Login-Kachel weiß, Hintergrund farbig
------------------------------------------------------------ */
.contact-drawer.is-mode-portal .portal-drawer__login-card,
.portal-drawer__login-card,
.client-portal-page--about-style .client-portal-login-card {
    background: #ffffff !important;
    border-color: rgba(15, 38, 54, 0.10) !important;
    box-shadow: 0 24px 64px rgba(15, 38, 54, 0.10) !important;
}


/* ------------------------------------------------------------
   Website-Pakete – Hero an helle Grau-Solutions-Palette angepasst
------------------------------------------------------------ */
.pricing-page {
    background: var(--sg-pale-cream, #F8F0E0) !important;
}

.pricing-hero {
    background:
        radial-gradient(circle at 16% 18%, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0.32) 28%, transparent 58%),
        radial-gradient(circle at 84% 28%, rgba(232,216,200,0.28) 0%, transparent 56%),
        linear-gradient(135deg, var(--sg-pale-cream, #F8F0E0) 0%, var(--sg-warm-ivory, #F5E8DA) 48%, var(--sg-soft-sand, #F4E3D0) 100%) !important;
}

/* ------------------------------------------------------------
   Header – Pakete fest zwischen Hauptmenü und Client Portal
------------------------------------------------------------ */
.header-packages-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 2px;
    color: var(--sg-ink, #0f2636);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 720;
    letter-spacing: 0.055em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease, transform 180ms ease;
}

.header-packages-link:hover,
body.page-template-page-website-pakete .header-packages-link,
body.page-id-website-pakete .header-packages-link {
    color: var(--sg-blue, #1b4784);
    transform: translateY(-1px);
}

.header-action-divider {
    width: 1px;
    height: 34px;
    background: rgba(20, 28, 40, 0.10);
    display: inline-block;
    margin: 0 2px;
}

.mobile-nav__packages {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 14px;
    border-top: 1px solid rgba(20, 28, 40, 0.10);
    border-bottom: 1px solid rgba(20, 28, 40, 0.10);
    color: var(--sg-ink, #0f2636);
    font-weight: 720;
    text-decoration: none;
}

body.page-template-page-website-pakete .mobile-nav__packages,
body.page-id-website-pakete .mobile-nav__packages {
    color: var(--sg-blue, #1b4784);
}

/* ------------------------------------------------------------
   Header – Pakete sauber zwischen den Trennlinien, CIT direkt vor Client Portal
------------------------------------------------------------ */
.header-actions {
    gap: 14px !important;
}

.header-packages-link {
    width: 86px !important;
    padding: 0 !important;
    text-align: center !important;
}

.header-action-divider {
    margin: 0 10px 0 2px !important;
}

.header-cit-link {
    order: 0;
}

/* ------------------------------------------------------------
   Header – Pakete exakt zwischen zwei Linien zentrieren
------------------------------------------------------------ */
.header-actions {
    border-left: 0 !important;
    padding-left: 0 !important;
    margin-left: clamp(18px, 2.4vw, 34px) !important;
    gap: 18px !important;
}

.header-packages-link {
    position: relative !important;
    width: auto !important;
    min-width: 132px !important;
    min-height: 40px !important;
    padding: 0 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.header-packages-link::before,
.header-packages-link::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 1px;
    height: 34px;
    background: rgba(20, 28, 40, 0.10);
    transform: translateY(-50%);
}

.header-packages-link::before {
    left: 0;
}

.header-packages-link::after {
    right: 0;
}

.header-action-divider {
    display: none !important;
}

.header-cit-link {
    margin-left: 2px !important;
}

@media (max-width: 1180px) {
    .header-packages-link {
        min-width: 116px !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
    }
    .header-actions {
        gap: 14px !important;
        margin-left: 18px !important;
    }
}
