.nm-careers {
    --nm-ink: #202428;
    --nm-muted: #5f6974;
    --nm-line: #dce3e7;
    --nm-red: #b51625;
    --nm-red-dark: #8f0f1c;
    --nm-green: #0f6f4f;
    --nm-cream: #f7f4ee;
    --nm-blue: #24445f;
    color: var(--nm-ink);
    font-family: inherit;
    margin: 0 auto;
    max-width: 1180px;
}

.nm-careers * {
    box-sizing: border-box;
}

.nm-careers__hero {
    align-items: stretch;
    background: linear-gradient(120deg, rgba(36, 68, 95, .95), rgba(32, 36, 40, .84)), url("https://www.neumeyer-abzeichen.de/wp-content/uploads/2024/10/involved-happy-young-businesswoman-sitting-table-office-working-while-using-tablet-reading-documents-1024x657.jpg") center/cover;
    color: #fff;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 310px;
    margin: 0 0 34px;
    min-height: 430px;
    padding: clamp(32px, 5vw, 64px);
}

.nm-careers__hero-copy {
    align-self: end;
    max-width: 760px;
}

.nm-careers__eyebrow,
.nm-job__type {
    color: var(--nm-red);
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.nm-careers__hero .nm-careers__eyebrow,
.nm-careers__hero .nm-job__type {
    color: #ffd8dc;
}

.nm-careers h1 {
    color: inherit;
    font-size: clamp(42px, 6vw, 72px);
    line-height: .98;
    margin: 0 0 18px;
}

.nm-careers h2 {
    color: inherit;
    font-size: 28px;
    line-height: 1.15;
    margin: 0 0 12px;
}

.nm-careers p {
    color: inherit;
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
}

.nm-careers__hero-copy p {
    color: rgba(255, 255, 255, .9);
    max-width: 650px;
}

.nm-careers__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.nm-careers__facts span {
    border: 1px solid rgba(255, 255, 255, .34);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 12px;
}

.nm-careers__hero-panel {
    align-self: end;
    background: #fff;
    color: var(--nm-ink);
    padding: 24px;
}

.nm-careers__hero-panel strong,
.nm-careers__hero-panel a {
    display: block;
}

.nm-careers__hero-panel strong {
    margin-bottom: 12px;
}

.nm-careers__hero-panel a {
    color: var(--nm-blue);
    font-weight: 700;
    margin-top: 8px;
    text-decoration: none;
}

.nm-careers__notice {
    border-left: 5px solid;
    border-radius: 8px;
    font-weight: 700;
    margin: 0 0 24px;
    padding: 18px 20px;
    scroll-margin-top: 90px;
}

.nm-careers__notice strong {
    display: block;
    font-size: 17px;
    line-height: 1.4;
}

.nm-careers__notice span {
    display: block;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 4px;
    opacity: .9;
}

.nm-careers__notice:focus {
    outline: none;
}

.nm-careers__notice--success {
    background: #edf8f2;
    border-color: var(--nm-green);
    color: #0b573d;
}

.nm-careers__notice--error {
    background: #fff1f2;
    border-color: var(--nm-red);
    color: var(--nm-red-dark);
}

.nm-careers__layout {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
}

.nm-careers__jobs {
    display: grid;
    gap: 18px;
}

.nm-job {
    border: 1px solid var(--nm-line);
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 240px;
    padding: 26px;
}

.nm-job p,
.nm-application-form p {
    color: var(--nm-muted);
}

.nm-job ul {
    color: var(--nm-muted);
    margin: 0;
    padding-left: 20px;
}

.nm-job li + li {
    margin-top: 8px;
}

.nm-job__apply {
    background: var(--nm-red);
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    margin-top: 24px;
    padding: 12px 16px;
    text-decoration: none;
}

.nm-job__details {
    border-top: 1px solid var(--nm-line);
    grid-column: 1 / -1;
    padding-top: 16px;
}

.nm-job__details summary {
    align-items: center;
    background: #f4f7f9;
    border: 1px solid #d9e1e6;
    color: var(--nm-blue);
    cursor: pointer;
    display: flex !important;
    font-size: 14px;
    font-weight: 800;
    justify-content: space-between;
    list-style: none;
    min-height: 44px;
    padding: 10px 14px;
}

.nm-job__details summary::-webkit-details-marker {
    display: none;
}

.nm-job__details summary::after {
    content: "+";
    font-size: 20px;
    line-height: 1;
}

.nm-job__details[open] summary::after {
    content: "-";
}

.nm-job__details[open] summary {
    background: #eaf1f4;
    border-color: #b9cbd5;
}

.nm-job__details p {
    margin-top: 14px;
    max-width: 760px;
}

.nm-careers__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.nm-careers__cta a {
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    align-items: center;
    padding: 12px 22px;
    text-decoration: none;
}

.nm-careers__cta-primary {
    background: var(--nm-red);
    color: #fff;
}

.nm-careers__cta-primary:hover {
    background: var(--nm-red-dark);
    color: #fff;
}

.nm-careers__cta-ghost {
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
}

.nm-careers__cta-ghost:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.nm-job__facts {
    border-top: 1px solid var(--nm-line);
    display: grid;
    gap: 12px 24px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin: 0;
    padding-top: 16px;
}

.nm-job__facts dt {
    color: var(--nm-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nm-job__facts dd {
    color: var(--nm-muted);
    margin: 4px 0 0;
}

.nm-job__details h3 {
    color: var(--nm-blue);
    font-size: 15px;
    margin: 18px 0 8px;
}

.nm-job__details ul {
    max-width: 760px;
}

.nm-job__apply:hover,
.nm-application-form button:hover {
    background: var(--nm-red-dark);
    color: #fff;
}

.nm-application-form {
    background: var(--nm-cream);
    display: grid;
    gap: 16px;
    padding: 28px;
    position: sticky;
    top: 24px;
}

.nm-application-form__header {
    margin-bottom: 6px;
}

.nm-application-form label {
    color: var(--nm-ink);
    display: grid;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
}

.nm-application-form__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

.nm-application-form input,
.nm-application-form select,
.nm-application-form textarea {
    background: #fff;
    border: 1px solid #cfd8de;
    color: var(--nm-ink);
    font: inherit;
    font-weight: 500;
    min-height: 48px;
    padding: 12px 13px;
    width: 100%;
}

.nm-application-form textarea {
    resize: vertical;
}

.nm-application-form input:focus,
.nm-application-form select:focus,
.nm-application-form textarea:focus {
    border-color: var(--nm-blue);
    box-shadow: 0 0 0 3px rgba(36, 68, 95, .16);
    outline: none;
}

.nm-application-form__uploads {
    align-items: stretch;
}

.nm-file {
    background: #fff;
    border: 1px solid #d9e1e6;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 198px;
    padding: 17px;
    position: relative;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.nm-file:hover,
.nm-file:focus-within,
.nm-file.is-dragover {
    background: #f8fbfc;
    border-color: var(--nm-blue);
    box-shadow: 0 0 0 3px rgba(36, 68, 95, .12);
}

.nm-file input {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.nm-file__title {
    color: var(--nm-ink);
    display: flex;
    font-size: 15px;
    font-weight: 800;
    justify-content: space-between;
    margin-bottom: 12px;
}

.nm-file__title em {
    color: var(--nm-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.nm-file__dropzone {
    align-items: center;
    background: #f5f8fa;
    border: 1px dashed #b6c4ce;
    color: var(--nm-muted);
    display: flex !important;
    flex: 1;
    flex-direction: column;
    font-size: 13px;
    justify-content: center;
    min-height: 112px;
    padding: 13px;
    text-align: center;
}

.nm-file__dropzone strong {
    background: var(--nm-blue);
    color: #fff;
    font-size: 13px;
    margin: 8px 0 5px;
    padding: 8px 12px;
}

.nm-file__dropzone small {
    color: var(--nm-muted);
    font-size: 12px;
    font-weight: 600;
}

.nm-file__icon {
    align-items: center;
    background: #e0ebf0;
    border-radius: 50%;
    color: var(--nm-blue);
    display: inline-flex !important;
    font-size: 21px;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    line-height: 1;
    width: 34px;
}

.nm-file__hint {
    color: var(--nm-muted);
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.nm-file__list {
    color: var(--nm-ink);
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 10px;
}

.nm-file__list:not(:empty) {
    border-top: 1px solid var(--nm-line);
    padding-top: 10px;
}

.nm-application-form__privacy {
    align-items: start;
    display: grid;
    gap: 10px;
    grid-template-columns: 18px 1fr;
}

.nm-application-form__privacy input {
    min-height: 18px;
    margin-top: 3px;
}

.nm-application-form__website {
    left: -9999px;
    position: absolute;
}

.nm-application-form button {
    background: var(--nm-red);
    border: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    min-height: 52px;
    padding: 14px 18px;
}

@media (max-width: 980px) {
    .nm-careers__hero,
    .nm-careers__layout,
    .nm-job {
        grid-template-columns: 1fr;
    }

    .nm-careers__hero-panel,
    .nm-application-form {
        position: static;
    }
}

@media (max-width: 640px) {
    .nm-careers__hero {
        margin-left: -16px;
        margin-right: -16px;
        min-height: 520px;
        padding: 28px 18px;
    }

    .nm-careers h1 {
        font-size: 44px;
    }

    .nm-application-form,
    .nm-job {
        padding: 20px;
    }

    .nm-application-form__grid {
        grid-template-columns: 1fr;
    }
}
