/* =====================================================
   GRUNDLAGEN (NUR JOBLIST)
===================================================== */

.joblist-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.joblist-wrapper input,
.joblist-wrapper select,
.joblist-wrapper textarea,
.joblist-wrapper table,
.joblist-wrapper td {
    box-sizing: border-box;
}

.joblist-wrapper input,
.joblist-wrapper select,
.joblist-wrapper textarea {
    max-width: 100%;
}


/* =====================================================
   LAYOUT: NAV LINKS / INHALT RECHTS
===================================================== */

.joblist {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* Grid-Zuordnung festnageln */
.joblist .tab {
    grid-column: 1;
}

.joblist .tabcontent {
    grid-column: 2;
}


/* =====================================================
   NAVIGATION (LINKS)
===================================================== */

.joblist .tab {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 20px;
    border-right: 1px solid rgba(0,0,0,0.12);
}

.joblist .tab button {
    width: 100%;
    height: 42px;
    background: var(--hell);
    color: #eeecee;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.joblist .tab button:hover {
    background-color: var(--mittel);
}

.joblist .tab button.active {
    background: var(--mittel);
    border-color: rgba(0,0,0,0.25);
    font-weight: 600;
}


/* =====================================================
   CONTENTBEREICH
===================================================== */

.joblist .tabcontent {
    background: rgba(255,255,255,0.35);
    padding: 25px 30px;
    border-radius: 12px;
    min-width: 0;
    overflow-x: hidden;
}

.joblist .tabcontent table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
}

.joblist .tabcontent td,
.joblist .tabcontent th {
    max-width: 100%;
    word-break: break-word;
}


/* =====================================================
   INFOTEXT
===================================================== */

.joblist_infotext {
    margin: 10px 0 25px;
    text-align: justify;
    font-size: 13px;
}


/* =====================================================
   JOBKARTEN (MAGAZIN-STIL)
===================================================== */

.joblist_job_desc {
    position: relative;
    padding: 30px;
    background: rgba(255,255,255,0.45);
    border-radius: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Bildkopf */
.joblist_job_desc img.job-image {
    display: block;
    margin: -30px -30px 20px;
    width: calc(100% + 60px);
    height: 180px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
}


/* =====================================================
   JOB HEADER
===================================================== */

.joblist_job_top {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.joblist_job_top strong,
.joblist_job_top b {
    display: block;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 4px;
}

.joblist_job_top span,
.joblist_job_top small {
    font-size: 13px;
    opacity: 0.7;
}


/* =====================================================
   MITARBEITER
===================================================== */

.joblist_job_staff_top {
    margin-top: 25px;
    font-weight: 600;
    opacity: 0.85;
}

.joblist_job_staff {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.1);
    max-height: 120px;
    overflow: auto;
}

.joblist_staff {
    padding: 2px 5px;
}

.joblist_staff::before {
    content: "» ";
    padding-right: 4px;
}


/* =====================================================
   FORMULARBEREICHE
===================================================== */

.joblist .tabcontent form {
    background: rgba(255,255,255,0.55);
    padding: 25px 30px;
    border-radius: 14px;
    margin: 20px 0 35px;
}

.joblist .tabcontent form input,
.joblist .tabcontent form select,
.joblist .tabcontent form textarea {
    width: 100%;
    max-width: 100%;
    background: rgba(255,255,255,0.85);
    box-sizing: border-box;
}


/* =====================================================
   SONSTIGES
===================================================== */

.joblist_otherinfos {
    padding: 10px 20px;
}
