
.initiative_hinweis {
    font-size: 95%;
    margin-top: 15px;
}

.gform_wrapper span.gform_drop_instructions {
	margin-bottom: 0;
    margin-top: 8px;
}


/*Bewerbungsrecherche in iframe: header & footer verbergen*/
body.in_iframe header,
body.in_iframe footer,
body.in_iframe #wpadminbar,
body.in_iframe #cookie-notice,
body.in_iframe #sgpb-popup-dialog-main-div-wrapper {
    display: none;
}

.asp_filter_tax.filter_gesetzt legend {
    border: 1px solid red !important;
}

/* ================================================================
 * [catro-jobs-page] – Jobliste, Filter und Kartenansichten
 *
 * Das komplette Layout steckt hier im Stylesheet. Das JavaScript
 * setzt nur noch .catro-view-list bzw. .catro-view-grid auf den
 * Container – es schreibt keine Inline-Styles mehr.
 *
 * Breakpoints (einheitlich, auch im JS nicht mehr dupliziert):
 *   > 1024px   Desktop – Kachelansicht mit Filter-Sidebar
 *   <= 1024px  Tablet  – Filter immer oberhalb der Liste
 *   <=  767px  Mobil   – Suche gestapelt, Kacheln einspaltig
 *   <=  479px  klein   – kompaktere Karten
 * ================================================================ */

.catro-jobs-page {
    background: #f0f0f0 !important;
    padding: 40px 0 60px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

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

/* ---- Kopfbereich ---- */

.catro-jobs-head {
    text-align: center !important;
    padding: 0 24px 36px !important;
}

.catro-jobs-head h1 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin: 0 0 10px !important;
    line-height: 1.2 !important;
}

.catro-jobs-head p {
    font-size: 18px !important;
    color: #666 !important;
    margin: 0 !important;
}

/* ---- Grundlayout ---- */

.catro-layout {
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

.catro-filters {
    max-width: 980px !important;
    margin: 0 auto 32px !important;
}

.catro-main {
    max-width: 980px !important;
    width: 100% !important;
    margin: 0 auto !important;
    transition: opacity 0.25s ease !important;
}

.catro-main.loading {
    opacity: 0.35 !important;
    pointer-events: none !important;
}

/* ---- Filterfelder ---- */

.catro-filters-title {
    display: none;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid #f0f0f0 !important;
}

.catro-filter-fields {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.catro-select-wrap {
    flex: 1 1 160px !important;
    min-width: 0 !important;
    position: relative !important;
}

.catro-field-icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #aaa !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    line-height: 1 !important;
    z-index: 1 !important;
}

.catro-filter-select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 36px 0 42px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M0 0l5.5 7L11 0z' fill='%23aaa'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    font-size: 14px !important;
    color: #444 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: border-color 0.2s !important;
}

.catro-filter-select:focus {
    outline: none !important;
    border-color: #cd162c !important;
    box-shadow: 0 0 0 2px rgba(205, 22, 44, 0.12) !important;
}

/* ---- Suchzeile ---- */

.catro-search-row {
    display: flex !important;
    align-items: stretch !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.catro-search-input-wrap {
    flex: 1 1 auto !important;
    position: relative !important;
    min-width: 0 !important;
}

.catro-search-input-wrap input[type="text"],
.catro-search-input-wrap input[type="text"]:not([class]) {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 44px 0 42px !important;
    border: 1px solid #d8d8d8 !important;
    border-right: none !important;
    border-radius: 8px 0 0 8px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    transition: border-color 0.2s !important;
}

.catro-search-input-wrap input[type="text"]:focus {
    border-color: #cd162c !important;
}

#catro-search-clear {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    font-size: 17px !important;
    line-height: 1 !important;
    color: #aaa !important;
    cursor: pointer !important;
    display: none !important;
    padding: 6px !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: color 0.2s !important;
    z-index: 2 !important;
}

#catro-search-clear.visible {
    display: block !important;
}

#catro-search-clear:hover {
    color: #cd162c !important;
    background: none !important;
}

#catro-search-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    height: 48px !important;
    padding: 0 30px !important;
    background: #cd162c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: background 0.2s !important;
}

#catro-search-btn:hover {
    background: #a5121f !important;
    color: #fff !important;
}

/* ---- Ergebniszeile ---- */

.catro-results-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.catro-jobs-count {
    margin: 0 !important;
    color: #666 !important;
    font-size: 14px !important;
}

.catro-jobs-count strong {
    color: #cd162c !important;
}

.catro-view-switch {
    display: flex !important;
    gap: 6px !important;
}

.catro-view-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #aaa !important;
    border: 2px solid #ddd !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: color 0.2s, border-color 0.2s !important;
}

.catro-view-btn:hover {
    color: #cd162c !important;
    border-color: #cd162c !important;
    background: transparent !important;
}

.catro-view-btn.is-active {
    color: #cd162c !important;
    border-color: #cd162c !important;
}

/* ---- Kartencontainer ---- */

.catro-cards {
    display: block;
}

.catro-view-grid .catro-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* ---- Karte: gemeinsame Basis ---- */

.catro-card {
    background: #fff !important;
    position: relative !important;
}

.catro-view-list .catro-card {
    border-left: 4px solid #cd162c !important;
    padding: 18px 22px 14px !important;
    margin-bottom: 10px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07) !important;
}

.catro-view-grid .catro-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* Welche Bausteine in welcher Ansicht sichtbar sind */
.catro-view-list .catro-card-head,
.catro-view-list .catro-card-location,
.catro-view-list .catro-card-pills,
.catro-view-list .catro-card-foot {
    display: none !important;
}

.catro-view-grid .catro-card-meta,
.catro-view-grid .catro-card-arrow {
    display: none !important;
}

/* ---- Karte: Kopfzeile (Kachelansicht) ---- */

.catro-card-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}

.catro-card-company {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

.catro-card-avatar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    background: #cd162c !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    overflow: hidden !important;
}

.catro-card-avatar--logo {
    background: #fff !important;
    border: 1px solid #eee !important;
}

.catro-card-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.catro-card-company-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #333 !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.catro-card-head-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

.catro-card-badge {
    background: #cd162c !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    padding: 3px 8px !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
}

.catro-card-date {
    font-size: 12px !important;
    color: #aaa !important;
    white-space: nowrap !important;
}

/* ---- Karte: Titel ---- */

.catro-card-titlerow {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
}

a.catro-card-title,
.catro-card-title {
    color: #cd162c !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

a.catro-card-title:hover,
.catro-card-title:hover {
    color: #a5121f !important;
    text-decoration: underline !important;
}

.catro-view-grid .catro-card-title {
    color: #1a1a1a !important;
    display: block !important;
}

.catro-view-grid .catro-card-title:hover {
    color: #cd162c !important;
}

a.catro-card-arrow,
.catro-card-arrow {
    color: #cd162c !important;
    font-size: 15px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 32px !important;
    min-height: 32px !important;
    transition: transform 0.2s !important;
}

a.catro-card-arrow:hover,
.catro-card-arrow:hover {
    color: #a5121f !important;
    transform: translateX(3px) !important;
}

/* ---- Karte: Metazeile (Listenansicht) ---- */

.catro-card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    row-gap: 6px !important;
    column-gap: 14px !important;
    margin-bottom: 6px !important;
    color: #777 !important;
    font-size: 13px !important;
}

.catro-meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
}

/* ---- Karte: Ort (Kachelansicht) ---- */

.catro-card-location {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12.5px !important;
    color: #888 !important;
    margin-bottom: 8px !important;
}

/* ---- Karte: Untertitel ---- */

.catro-card-subtitle {
    margin: 0 !important;
    color: #222 !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

.catro-view-grid .catro-card-subtitle {
    flex: 1 1 auto !important;
    margin-bottom: 12px !important;
    color: #666 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden !important;
}

/* ---- Karte: Pills (Kachelansicht) ---- */

.catro-card-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
}

.catro-pill {
    background: #f0f0f0 !important;
    border-radius: 20px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    color: #555 !important;
}

.catro-pill--gehalt {
    background: #f5f5f5 !important;
    color: #333 !important;
    font-weight: 600 !important;
}

/* ---- Karte: Fußzeile (Kachelansicht) ---- */

.catro-card-foot {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 12px !important;
    border-top: 1px solid #f0f0f0 !important;
}

.catro-card-kenn {
    font-size: 12px !important;
    color: #aaa !important;
}

a.catro-card-apply,
.catro-card-apply {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 6px 14px !important;
    background: #cd162c !important;
    color: #fff !important;
    border: 1.5px solid #cd162c !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background 0.2s !important;
}

a.catro-card-apply:hover,
.catro-card-apply:hover {
    background: #a5121f !important;
    border-color: #a5121f !important;
    color: #fff !important;
}

.catro-no-results {
    text-align: center !important;
    color: #666 !important;
    padding: 50px 0 !important;
    font-size: 15px !important;
}

/* ================================================================
 * Desktop: Kachelansicht bekommt die Filter-Sidebar
 * ================================================================ */

@media (min-width: 1024px) {

    .catro-view-grid .catro-layout {
        display: flex !important;
        align-items: flex-start !important;
        gap: 28px !important;
    }

    .catro-view-grid .catro-filters {
        flex: 0 0 280px !important;
        width: 280px !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 28px 24px 32px !important;
        background: #fff !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        position: sticky !important;
        top: 24px !important;
    }

    .catro-view-grid .catro-filters-title {
        display: block;
    }

    .catro-view-grid .catro-main {
        flex: 1 1 auto !important;
        max-width: none !important;
        margin: 0 !important;
    }

    /* Filter in der Sidebar untereinander */
    .catro-view-grid .catro-filter-fields {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .catro-view-grid .catro-select-wrap {
        flex: 1 1 auto !important;
        width: 100% !important;
    }

    .catro-view-grid .catro-search-row {
        flex-direction: column !important;
    }

    .catro-view-grid .catro-search-input-wrap input[type="text"] {
        border-right: 1px solid #d8d8d8 !important;
        border-bottom: none !important;
        border-radius: 8px 8px 0 0 !important;
    }

    .catro-view-grid #catro-search-btn {
        width: 100% !important;
        border-radius: 0 0 8px 8px !important;
    }
}

/* ================================================================
 * Mobil
 * ================================================================ */

@media (max-width: 767px) {

    .catro-jobs-page {
        padding: 28px 0 40px !important;
    }

    .catro-jobs-head {
        padding: 0 16px 24px !important;
    }

    .catro-jobs-head h1 {
        font-size: 26px !important;
    }

    .catro-jobs-head p {
        font-size: 15px !important;
    }

    .catro-layout {
        padding: 0 16px !important;
    }

    /* Zwei Filter pro Zeile */
    .catro-select-wrap {
        flex: 1 1 calc(50% - 5px) !important;
    }

    /* Suchfeld und Button gestapelt */
    .catro-search-row {
        flex-direction: column !important;
    }

    .catro-search-input-wrap input[type="text"],
    .catro-search-input-wrap input[type="text"]:not([class]) {
        border-right: 1px solid #d8d8d8 !important;
        border-bottom: none !important;
        border-radius: 8px 8px 0 0 !important;
    }

    #catro-search-btn {
        width: 100% !important;
        border-radius: 0 0 8px 8px !important;
    }

    /* Kacheln einspaltig */
    .catro-view-grid .catro-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 479px) {

    .catro-select-wrap {
        flex: 1 1 100% !important;
    }

    .catro-view-list .catro-card {
        padding: 14px 16px 12px !important;
    }

    .catro-card-title {
        font-size: 15.5px !important;
    }

    .catro-card-meta {
        font-size: 12.5px !important;
        column-gap: 10px !important;
    }

    /* Untertitel bleibt sichtbar, wird aber auf zwei Zeilen begrenzt */
    .catro-card-subtitle {
        font-size: 13.5px !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden !important;
    }

    .catro-results-bar {
        gap: 8px !important;
    }
}

/* ================================
 * Jobliste Card Redesign — Kopfzeile + Meta-Icons
 * ================================ */
.jobliste .jobcard-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.jobliste .jobcard-head .jobtitle {
    font-weight: bold;
}

.jobliste .kennnr-badge {
    background: #fbe7e9;
    color: #96182a;
    font-size: 11px;
    font-weight: normal;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.jobliste .jobcard-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #747474;
}

.jobliste .jobcard-meta .jobicon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.jobliste .jobcard-meta .jobicon::before {
    content: "";
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.jobliste .jobcard-meta .jobicon-pin::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0'/%3E%3Cpath d='M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z'/%3E%3C/svg%3E");
}

.jobliste .jobcard-meta .jobicon-briefcase::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z'/%3E%3Cpath d='M8 7v-2a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M3 13a20 20 0 0 0 18 0'/%3E%3C/svg%3E");
}

.jobliste .jobcard-meta .jobicon-home::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l-2 0l9 -9l9 9l-2 0'/%3E%3Cpath d='M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7'/%3E%3Cpath d='M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6'/%3E%3C/svg%3E");
}

.jobliste .jobcard-meta .jobicon-calendar::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z'/%3E%3Cpath d='M16 3v4'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M4 11h16'/%3E%3C/svg%3E");
}
