/* =========================
   LAYOUT
========================= */

.joblist-wrapper {
    display: flex;
    width: 100%;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 40px;
    gap: 40px;
    box-sizing: border-box;
}

/* =========================
   SIDEBAR
========================= */

.joblist-sidebar {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.joblist-sidebar .tablinks {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.15);
    background: var(--glass-white-light);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font);
    color: var(--text-main);
}

.joblist-sidebar .tablinks:hover {
    background: rgba(255,255,255,0.25);
}

.joblist-sidebar .tablinks.active {
    background: var(--mittel);
    border: 1px solid rgba(0,0,0,0.25);
}
/* Hauptseite dauerhaft hervorgehoben */

.joblist-sidebar .tablinks.tab-home {
    background: var(--mittel);
    border: 1px solid var(--dunkel);
    color: var(--schrift);
}

.joblist-sidebar .tablinks.tab-home:hover {
    background: var(--mittel);
    color: #fff;
}
/* =========================
   CONTENT
========================= */

.joblist-content {
    flex: 1;
    min-width: 0;
}

.tabcontent {
    display: none;
}

.tabcontent.active {
    display: block;
}

/* =========================
   INTRO TEXT
========================= */

.joblist-intro {
    margin-bottom: 60px;
    line-height: 1.7;
    color: var(--text);
}

/* =========================
   JOB CARD
========================= */

.job-card {
    background: var(--glass-white-light);
    border-radius: 22px;
    padding: 45px;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.job-card h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 600;
    font-family: var(--up);
    color: var(--text-main);
}

.job-card-address {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.job-card-actions {
    font-size: 12px;
    color: var(--text-muted);
}

/* =========================
   TEXTBLOCK 
========================= */

.job-card-description {
    background: rgba(255,255,255,0.45);
    padding: 35px 40px;
    border-radius: 18px;
    margin-bottom: 55px;
    line-height: 1.9;
    text-align: justify;
    color: #444;
}

.job-card-staff-title {
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-top: 25px;
    border-top: 1px solid rgba(0,0,0,0.08);
    color: var(--text-muted);
}

.job-card-staff {
    line-height: 1.7;
    color: var(--text-main);
}

.joblist_staff::before {
    content: "– ";
    margin-right: 6px;
    color: var(--akzent);
}

/* =========================
   FORM CARD
========================= */

.job-form {
    background: var(--glass-white-light);
    border-radius: 22px;
    padding: 40px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.job-form h3 {
    margin: 0 0 35px 0;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--up);
    color: var(--text-main);
}

/* =========================
   FORM GRID
========================= */

.job-form-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 30px;
}

.job-form-grid.two {
    grid-template-columns: 1fr 1fr;
}

.job-form-grid.three {
    grid-template-columns: 1fr 1fr 1fr;
}

/* =========================
   FORM ELEMENTS
========================= */

.job-form input,
.job-form select,
.job-form textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(131, 144, 134, 0.10);
    color: var(--text-main);
    font-size: 14px;
    font-family: var(--font);
}

.job-form textarea {
    min-height: 120px;
    resize: vertical;
}

.job-form select {
    max-width: 100%;
}

/* =========================
   BUTTONS
========================= */

.job-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: var(--hell);
    color: var(--schrift);
    cursor: pointer;
    transition: 0.2s ease;
    font-family: var(--font);
}

.job-form button:hover {
    background: var(--mittel);
    color: #fff;
}