.ncw-webdesign {
    padding-block: clamp(48px, 6vw, 82px);
    border-block: 1px solid var(--ncw-border);
    background: linear-gradient(180deg, var(--ncw-bg), var(--ncw-bg-2));
}

.ncw-home-intro {
    max-width: 65ch;
    margin-bottom: clamp(22px, 3.5vw, 40px);
    font-size: clamp(16px, 1.65vw, 20px);
    color: var(--ncw-text-2);
}

.ncw-pflege-grid {
    display: grid;
    grid-template-columns: minmax(245px, .34fr) minmax(0, .66fr);
    gap: clamp(20px, 3.2vw, 44px);
    align-items: start;
}

.ncw-pflege-grid h3,
.ncw-pflege-service h3 {
    font-size: clamp(21px, 2.2vw, 31px);
    line-height: 1.2;
    letter-spacing: -.025em;
}

.ncw-pflege-areas {
    border: 1px solid var(--ncw-border);
    border-radius: 12px;
    background: var(--ncw-card);
    overflow: hidden;
}

.ncw-pflege-areas h3 {
    padding: 18px 19px;
    font-size: 19px;
    margin: 0;
}

.ncw-pflege-areas ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ncw-pflege-areas li {
    padding: 9px 18px;
    border-top: 1px solid var(--ncw-border);
    line-height: 1.32;
}

.ncw-pflege-areas li > span {
    display: block;
    color: var(--ncw-text-2);
    font-size: 14px;
    margin-top: 2px;
}

.ncw-pflege-areas .ncw-pflege-start {
    background: var(--ncw-bg-2);
    border-left: 3px solid var(--ncw-btn-bg);
    padding-left: 15px;
}

.ncw-pflege-proof > p,
.ncw-pflege-service p {
    margin-top: 8px;
    color: var(--ncw-text-2);
}

.ncw-pflege-steps {
    padding-left: 1.4em;
    margin: 16px 0;
}

.ncw-pflege-steps li {
    padding-left: 4px;
    margin-bottom: 5px;
}

.ncw-pflege-steps li::marker {
    color: var(--ncw-accent-text);
    font-weight: 700;
}

.ncw-pflege-result {
    margin-top: 16px;
    border: 1px solid var(--ncw-border);
    border-radius: 8px;
    background: var(--ncw-card);
}

.ncw-pflege-result summary {
    padding: 11px 15px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ncw-accent-text);
}

.ncw-pflege-result summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

.ncw-pflege-result img {
    display: block;
    width: 100%;
    height: auto;
    border-block: 1px solid var(--ncw-border);
}

.ncw-pflege-result p {
    margin: 10px 15px;
    color: var(--ncw-text-2);
}

.ncw-pflege-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px 24px;
    margin-top: 28px;
    padding: clamp(17px, 3vw, 30px);
    border: 1px solid var(--ncw-border);
    border-left: 3px solid var(--ncw-btn-bg);
    border-radius: 10px;
    background: var(--ncw-card);
}

.ncw-pflege-service a {
    flex-shrink: 0;
}

body.ncw-body .ncw-compact-button {
    width: auto;
    min-height: 42px;
    padding: 8px 14px;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
}

body.ncw-body .ncw-hero-btns {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}

.ncw-home-programs {
    padding-block: clamp(48px, 6vw, 82px);
    background: var(--ncw-bg-2);
}

.ncw-program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.ncw-program-grid:has(.ncw-program-details[open]):has(.ncw-program-details:not([open])) {
    align-items: start;
}

.ncw-program-grid-development {
    grid-template-columns: minmax(0, 1fr);
}

.ncw-program-card {
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 3.2vw, 38px);
    background: var(--ncw-card);
    border: 1px solid var(--ncw-border);
    border-radius: 12px;
    overflow-wrap: anywhere;
}

.ncw-program-grid-development .ncw-program-card {
    border-left: 3px solid var(--ncw-border-2);
}

.ncw-programs-next {
    margin: 30px 0 12px;
    font-size: clamp(20px, 2.2vw, 27px);
}

.ncw-program-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ncw-program-status {
    width: fit-content;
    padding: 3px 10px;
    margin-bottom: 10px;
    border-radius: 16px;
    background: var(--ncw-accent-light);
    color: var(--ncw-text);
    font-size: 13px;
}

.ncw-program-header h3,
.ncw-program-header h4 {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.16;
    letter-spacing: -.03em;
}

.ncw-program-logo-slot {
    display: grid;
    place-items: center;
    container-type: inline-size;
    flex: 0 0 clamp(88px, 12vw, 144px);
    height: clamp(44px, 5.5vw, 66px);
    padding: 6px 9px;
    align-self: flex-start;
    border: 1px solid var(--ncw-border);
    border-radius: 8px;
    background: #e8eeea;
}

.ncw-program-grid-development .ncw-program-logo-slot {
    padding: 4px 5px;
}

.ncw-program-logo-slot img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.ncw-program-wordmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ncw-program-wordmark img {
    flex: 0 0 42%;
    width: 42%;
    height: auto;
}

.ncw-program-wordmark > span {
    margin-inline-start: -.27em;
    margin-top: .46em;
    color: #104c51;
    font-family: system-ui, "Segoe UI", sans-serif;
    font-size: 19px;
    font-size: 23cqi;
    font-weight: 750;
    letter-spacing: -.064em;
    line-height: 1;
}

.ncw-program-summary {
    max-width: 65ch;
    margin-top: 12px;
    color: var(--ncw-text-2);
}

.ncw-program-controls {
    margin-top: auto;
    padding-top: 17px;
}

.ncw-program-details {
    border-block: 1px solid var(--ncw-border);
}

.ncw-program-details summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: fit-content;
    cursor: pointer;
    font-weight: 650;
    color: var(--ncw-accent-text);
}

.ncw-program-details summary::-webkit-details-marker { display: none; }
.ncw-program-details summary::after { content: '+'; padding-inline: 5px; font-size: 20px; line-height: 1; }
.ncw-program-details[open] summary::after { content: '−'; }
.ncw-program-details summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.ncw-program-detail-content {
    max-width: 70ch;
    padding: 3px 0 15px;
    color: var(--ncw-text-2);
}

.ncw-program-detail-content p { margin: 0 0 10px; }
.ncw-program-detail-content .ncw-program-detail-title { font-weight: 700; color: var(--ncw-text); }
.ncw-program-detail-content :is(ol, ul) { padding-left: 1.4em; margin: 0; }
.ncw-program-detail-content li { padding-left: 4px; margin-bottom: 4px; }
.ncw-program-action { margin-top: 18px; }
.ncw-program-action:first-child { margin-top: 0; }

body.ncw-body .ncw-image-modal {
    max-width: min(94vw, 1440px);
    width: fit-content;
}

.ncw-image-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 15px;
    border-bottom: 1px solid var(--ncw-border);
}

.ncw-image-modal-header h2 {
    font-size: clamp(16px, 2.3vw, 22px);
    margin: 0;
}

body.ncw-body .ncw-image-modal-header .ncw-modal-close {
    position: static;
    flex-shrink: 0;
    margin: 0;
}

.ncw-image-modal-body img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: min(76dvh, 1050px);
    object-fit: contain;
    margin-inline: auto;
}

.ncw-journey-collaboration .ncw-journey-steps {
    align-items: stretch;
    gap: 14px;
}

.ncw-journey-collaboration .ncw-journey-steps li {
    display: flex;
    flex-direction: column;
    padding: clamp(17px, 2.7vw, 30px);
    border: 1px solid var(--ncw-border);
    border-radius: 10px;
    background: var(--ncw-card);
}

.ncw-journey-steps li > span {
    background: var(--ncw-accent-light);
    border: 0;
    color: var(--ncw-text);
}

.ncw-journey-steps .ncw-step-outcome {
    margin-top: auto;
    padding-top: 13px;
    color: var(--ncw-accent-text);
    font-size: 14px;
    font-weight: 650;
}

.ncw-journey-about .ncw-journey-about-grid {
    align-items: center;
}

.ncw-journey-about .ncw-about-intro .ncw-section-label {
    color: var(--ncw-accent-text);
}

.ncw-about-support {
    padding: clamp(19px, 4vw, 43px);
    border-radius: 12px;
    border: 1px solid var(--ncw-border);
    background: var(--ncw-bg-2);
}

.ncw-about-support h3 { margin-bottom: 10px; font-size: clamp(19px, 2vw, 24px); }
.ncw-about-support dl { margin: 0; }
.ncw-about-support dl div { padding: 12px 0; border-top: 1px solid var(--ncw-border); }
.ncw-about-support dl div:last-child { padding-bottom: 0; }
.ncw-about-support dt { font-weight: 700; }
.ncw-about-support dd { margin: 4px 0 0; color: var(--ncw-text-2); }

.ncw-pflege-crops { display: none; }
.ncw-card-planned { margin: 12px 0 4px; font-size: .9rem; color: var(--ncw-text); }
.ncw-program-detail-content .ncw-product-gallery { margin-block: 18px 8px; }
.ncw-program-detail-content .ncw-gallery-stage { min-height: 0; }
.ncw-pmodal-contact > .ncw-contact-link { margin-top: 16px; }

@media (max-width: 600px) {
    .ncw-pflege-crops {
        display: grid;
        gap: 8px;
        margin-bottom: 12px;
    }
    .ncw-pflege-crops > div {
        min-width: 0;
        border: 1px solid var(--ncw-border);
        border-radius: 8px;
        overflow: hidden;
    }
    .ncw-pflege-crops p { margin: 0; padding: 6px 10px; font-size: 14px; }
    .ncw-pflege-crop { position: relative; overflow: hidden; background: white; }
    .ncw-pflege-crop img {
        position: absolute;
        width: 1200px;
        height: 584px;
        max-width: none;
    }
    .ncw-pflege-crop-image { height: 72px; }
    .ncw-pflege-crop-image img { top: -382px; left: -12px; }
    .ncw-pflege-crop-text { height: 78px; }
    .ncw-pflege-crop-text img { top: -208px; left: -596px; }
    .ncw-pflege-crop-save { height: 49px; }
    .ncw-pflege-crop-save img { top: -519px; left: -12px; }
    .ncw-pflege-original img { display: none; }
    .ncw-pflege-original { display: block; min-height: 44px; }
}

.ncw-journey-projects .ncw-ref-image-button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.ncw-ref-image-button:focus-visible {
    outline: 3px solid var(--ncw-btn-bg);
    outline-offset: -3px;
}

.ncw-ref-image-button span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px 8px;
    border-radius: 5px;
    background: var(--ncw-card);
    color: var(--ncw-text);
    font-size: 12px;
}

@media (min-width: 1021px) and (max-width: 1100px) {
    body.ncw-body .ncw-nav-menu {
        gap: 13px;
    }

    body.ncw-body .ncw-nav-menu .ncw-nav-contact {
        padding-inline: 12px;
    }
}

@media (max-width: 740px) {
    .ncw-pflege-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ncw-pflege-service {
        align-items: start;
        flex-direction: column;
    }

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