﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
 * BSH Jobs â€“ Styles
 *
 * 4 Sektionen: Stellenangebote (weiÃŸ) | Arbeiten + Formular (Dot-BG) | Text/Bild (weiÃŸ) | Newsletter
 * BSH-Designsystem (--orange, --blue, --blue-dark, organic shapes)
 *
 * Autor: Luca Petersen | Com&Sons  |  https://comandsons.com
 * â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ shared / global â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.bsh-jobs {
    --orange:    #eb6a05;
    --blue:      #4283c4;
    --blue-dark: #1b3a61;
    --dark:      #0f1720;
    --light-bg:  #f4f7fb;
    --gray-bg:   #ececec;
    --radius-a:  50px 0 50px 0;
    --radius-b:  0 50px 0 50px;
    font-family: inherit;
    color: var(--dark);
}

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

.bsh-jobs a:focus-visible,
.bsh-jobs button:focus-visible,
.bsh-jobs input:focus-visible,
.bsh-jobs select:focus-visible,
.bsh-jobs textarea:focus-visible,
.bsh-jobs [type="checkbox"]:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .bsh-jobs, .bsh-jobs * { transition-duration: 0.01ms !important; }
}

.bsh-jobs__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 32px;
}

.bsh-jobs__kicker {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--orange);
    margin-bottom: 10px;
}

.bsh-jobs__heading {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 18px;
    color: var(--dark);
}

.bsh-jobs__text {
    font-size: 16px;
    line-height: 1.65;
    color: #444;
    margin: 0 0 24px;
}

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.bsh-jobs__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: border-radius .35s ease, background .25s ease, color .25s ease;
    text-decoration: none;
    text-align: center;
    background: var(--orange);
    color: #fff;
    border-radius: var(--radius-a);
    font-family: inherit;
}

.bsh-jobs__btn:hover,
.bsh-jobs__btn:focus-visible {
    border-radius: var(--radius-b);
    background: var(--blue-dark);
    color: #fff;
}

.bsh-jobs__btn--ghost {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
}

.bsh-jobs__btn--ghost:hover,
.bsh-jobs__btn--ghost:focus-visible {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    border-radius: var(--radius-b);
}

.bsh-jobs__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    cursor: pointer;
    margin-bottom: 20px;
}

.bsh-jobs__consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--orange);
}

.bsh-jobs__consent a {
    color: var(--orange);
    text-decoration: underline;
}

/* ===================================================
 * 1. Stellenangebote (weiÃŸ)
 * =================================================== */

.bsh-jobs-s1 {
    background: #f4f7fb;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
}
.bsh-jobs-s1__bg { position: absolute; inset: 0; z-index: 0; background-size: 20%; background-repeat: no-repeat; background-position: right -60px bottom -60px; opacity: .04; pointer-events: none; }
.bsh-jobs-s1 .bsh-jobs__container { position: relative; z-index: 2; width: 100%; }

.bsh-jobs-s1__empty {
    font-size: 17px;
    color: #666;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 0;
    text-align: center;
    margin-top: 24px;
}

.bsh-jobs-s1__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

/* -- Single job accordion item ----------------------- */

.bsh-jobs-s1__item {
    background: var(--light-bg);
    border-radius: 0;
    border: 1px solid rgba(15, 27, 45, .06);
    overflow: hidden;
}

.bsh-jobs-s1__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 32px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.bsh-jobs-s1__summary::-webkit-details-marker { display: none; }

.bsh-jobs-s1__summary:hover {
    background: rgba(66, 131, 196, .03);
}

.bsh-jobs-s1__summary-info {
    flex: 1;
    min-width: 0;
}

.bsh-jobs-s1__job-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px;
    line-height: 1.3;
}

.bsh-jobs-s1__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.bsh-jobs-s1__badge {
    background: rgba(235, 106, 5, .1);
    color: var(--orange);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 4px 12px;
    border-radius: 0;
}

.bsh-jobs-s1__location,
.bsh-jobs-s1__start {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bsh-jobs-s1__chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--dark);
    transition: transform .3s ease, background .2s ease;
}

.bsh-jobs-s1__item[open] .bsh-jobs-s1__chevron {
    transform: rotate(180deg);
    background: var(--orange);
    color: #fff;
}

.bsh-jobs-s1__detail {
    padding: 0 32px 32px;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    position: relative;
    overflow: hidden;
}

.bsh-jobs-s1__detail-bg {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 280px;
    height: 280px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .04;
    pointer-events: none;
}

.bsh-jobs-s1__detail p {
    margin: 0 0 14px;
}

.bsh-jobs-s1__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(15, 27, 45, .08);
}

/* ===================================================
 * 2. Arbeiten + Bewerbungsformular (Dot-BG)
 * =================================================== */

.bsh-jobs-s2 {
    background: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Dot pattern overlay */
.bsh-jobs-s2__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgb(66 131 196 / 71%) 1px, transparent 1px);
    background-size: 9px 9px;
    opacity: .45;
    pointer-events: none;
}

/* -- Intro text ------------------------------------- */

.bsh-jobs-s2__intro {
    max-width: 800px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.bsh-jobs-s2__body {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
}

.bsh-jobs-s2__body p {
    margin: 0 0 16px;
}

/* -- Form card -------------------------------------- */

.bsh-jobs-s2__card {
    background: var(--light-bg);
    border-radius: 50px 0 50px 0;
    padding: 48px;
    position: relative;
    z-index: 1;
    color: var(--dark);
}

.bsh-jobs-s2__form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px;
}

.bsh-jobs-s2__form-text {
    font-size: 15px;
    color: #555;
    margin: 0 0 32px;
    line-height: 1.6;
}

/* -- Progress indicator ------------------------------ */

.bsh-jobs-s2__progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.bsh-jobs-s2__step {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: .4;
    transition: opacity .3s ease;
}

.bsh-jobs-s2__step--active,
.bsh-jobs-s2__step--done {
    opacity: 1;
}

.bsh-jobs-s2__step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d0d5dd;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background .3s ease;
}

.bsh-jobs-s2__step--active .bsh-jobs-s2__step-num {
    background: var(--orange);
}

.bsh-jobs-s2__step--done .bsh-jobs-s2__step-num {
    background: var(--blue);
}

.bsh-jobs-s2__step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.bsh-jobs-s2__step-line {
    width: 60px;
    height: 2px;
    background: #d0d5dd;
    margin: 0 16px;
    transition: background .3s ease;
}

.bsh-jobs-s2__step-line--done {
    background: var(--blue);
}

/* -- Fieldsets --------------------------------------- */

.bsh-jobs-s2__fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: none;
}

.bsh-jobs-s2__fieldset--active {
    display: block;
    animation: bshJobsFadeIn .35s ease;
}

@keyframes bshJobsFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bsh-jobs-s2__legend {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.bsh-jobs-s2__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.bsh-jobs-s2__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.bsh-jobs-s2__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.bsh-jobs-s2__input,
.bsh-jobs-s2__select,
.bsh-jobs-s2__textarea {
    padding: 13px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 1.5px solid #d0d5dd;
    border-radius: 0;
    background: #fff;
    color: var(--dark);
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}

.bsh-jobs-s2__input:focus,
.bsh-jobs-s2__select:focus,
.bsh-jobs-s2__textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(235, 106, 5, .12);
}

.bsh-jobs-s2__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230f1720' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.bsh-jobs-s2__textarea {
    resize: vertical;
    min-height: 120px;
}

.bsh-jobs-s2__file {
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1.5px dashed #d0d5dd;
    border-radius: 0;
    background: #fff;
    color: var(--dark);
    cursor: pointer;
    transition: border-color .2s ease;
    width: 100%;
}

.bsh-jobs-s2__file:hover {
    border-color: var(--orange);
}

/* -- Form navigation --------------------------------- */

.bsh-jobs-s2__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(15, 27, 45, .08);
}

/* -- Success ----------------------------------------- */

.bsh-jobs-s2__success {
    text-align: center;
    padding: 48px 24px;
}

.bsh-jobs-s2__success p {
    font-size: 18px;
    color: var(--dark);
    font-weight: 600;
    margin-top: 20px;
}

/* ===================================================
 * 3. Text / Bild (weiÃŸ)
 * =================================================== */

.bsh-jobs-s3 {
    background: #1b3a61;
    padding: 100px 0; position: relative; overflow: hidden;}
.bsh-jobs-s3 .bsh-jobs__container { position: relative; z-index: 2; }
.bsh-jobs-s3 .bsh-jobs__heading { color: #fff; }
.bsh-jobs-s3 .bsh-jobs__kicker { color: var(--orange); }

.bsh-jobs-s3__tree {
    position: absolute; right: -40px; bottom: -40px;
    width: 320px; height: 320px;
    background-size: contain; background-repeat: no-repeat; background-position: center;
    filter: brightness(0) invert(1); opacity: .1;
    pointer-events: none; z-index: 0;
}


.bsh-jobs-s3__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bsh-jobs-s3__text {
    display: flex;
    flex-direction: column;
}

.bsh-jobs-s3__text .bsh-jobs__btn {
    align-self: flex-start;
}

.bsh-jobs-s3__body {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
}

.bsh-jobs-s3__body p {
    margin: 0 0 16px;
}

.bsh-jobs-s3__image {
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    overflow: hidden;
    height: 450px;
}

.bsh-jobs-s3__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================================
 * 4. Newsletter
 * =================================================== */

.bsh-jobs-s4 {
    background: var(--light-bg, #f4f7fb);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.bsh-jobs-s4__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right -60px bottom -60px;
    opacity: .04;
    pointer-events: none;
}

.bsh-jobs-s4__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #fff;
    border-radius: 0;
    padding: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bsh-jobs-s4__row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.bsh-jobs-s4__input {
    flex: 1;
    padding: 13px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 1.5px solid #d0d5dd;
    border-radius: 0;
    background: #fafbfc;
    color: var(--dark);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bsh-jobs-s4__input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(235, 106, 5, .12);
}

.bsh-jobs-s4__btn {
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: var(--orange);
    color: #fff;
    border-radius: var(--radius-a);
    transition: border-radius .35s ease, background .25s ease;
    white-space: nowrap;
    font-family: inherit;
}

.bsh-jobs-s4__btn:hover,
.bsh-jobs-s4__btn:focus-visible {
    border-radius: var(--radius-b);
    background: var(--blue-dark);
}

/* ===================================================
 * Responsive
 * =================================================== */

@media (max-width: 900px) {
    .bsh-jobs-s3__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bsh-jobs-s3__image {
        order: -1;
    }

    .bsh-jobs-s4__wrap {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 32px;
    }

    .bsh-jobs-s1,
    .bsh-jobs-s2,
    .bsh-jobs-s3,
    .bsh-jobs-s4 {
        padding: 64px 0;
    }

    .bsh-jobs-s2__card {
        padding: 32px 24px;
    border-radius: 50px 0 50px 0;
}

    .bsh-jobs-s2__row {
        grid-template-columns: 1fr;
    }

    .bsh-jobs-s2__step-label {
        display: none;
    }

    .bsh-jobs-s2__step-line {
        width: 40px;
        margin: 0 8px;
    }

    .bsh-jobs-s1__summary {
        padding: 20px 24px;
    }

    .bsh-jobs-s1__detail {
        padding: 0 24px 24px;
    }

    .bsh-jobs-s1__actions {
        flex-direction: column;
    }

    .bsh-jobs-s1__actions .bsh-jobs__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .bsh-jobs__container {
        padding: 0 18px;
    }

    .bsh-jobs__heading {
        font-size: clamp(22px, 5vw, 32px);
    }

    .bsh-jobs-s4__row {
        flex-direction: column;
    }

    .bsh-jobs-s4__btn {
        width: 100%;
    }

    .bsh-jobs-s1__summary {
        padding: 16px 18px;
    }

    .bsh-jobs-s1__detail {
        padding: 0 18px 18px;
    }

    .bsh-jobs-s1__job-title {
        font-size: 16px;
    }

    .bsh-jobs-s1__meta {
        gap: 8px;
    }

    .bsh-jobs-s2__card {
        padding: 24px 16px;
    border-radius: 50px 0 50px 0;
}

    .bsh-jobs-s2__nav {
        flex-direction: column;
        gap: 12px;
    }

    .bsh-jobs-s2__nav .bsh-jobs__btn {
        width: 100%;
        justify-content: center;
    }

    .bsh-jobs-s3__body {
        font-size: 15px;
    }
}


/* Dark-section text overrides */
.bsh-jobs-s3 .bsh-jobs-s3__body { color: rgba(255,255,255,.85); }
.bsh-jobs-s3 .bsh-jobs-s3__body a { color: #fff; text-decoration: underline; }
.bsh-jobs-s3 .bsh-jobs-s3__body a:hover { color: var(--orange); }