﻿/* 
 * SOZPAED.NET Premium Design System 2026
 * Colors: #1e97cc (Primary), #3bbeec (Secondary), #f8f9fa (Light Grey), #333333 (Dark Grey)
 */

:root {
    --spn26-primary: #1e97cc;
    --spn26-primary-light: #3bbeec;
    --spn26-bg-light: #f8f9fa;
    --spn26-text-dark: #333333;
    --spn26-text-muted: #666666;
    --spn26-white: #ffffff;
    --spn26-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --spn26-shadow-hover: 0 20px 40px rgba(30, 151, 204, 0.15);
    --spn26-border-radius: 16px;
    --spn26-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stats Section - Integrated Look */
.spn26-stats {
    background-color: transparent;
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 5% 2.5rem;
    width: 100%;
    margin: 0;
}

.spn26-stats-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    text-align: center;
}

@media (min-width: 768px) {
    .spn26-stats-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

.spn26-stat-item h3 {
    font-size: 42px;
    font-weight: 800;
    color: var(--spn26-primary);
    margin: 0 0 10px 0;
    line-height: 1;
}

.spn26-stat-item p {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

.spn26-hero-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--spn26-text-dark);
    line-height: 1.6;
    background-color: var(--spn26-white);
    overflow-x: hidden;
}

/* Wird gesetzt, wenn das mobile Menü offen ist – verhindert doppelten Scrollbalken */
html.spn26-menu-open,
body.spn26-menu-open {
    overflow: hidden;
}

/* Header */
.spn26-header {
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Header um ~3mm (10px) höher machen */
    padding: 1.6rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

/* WP Admin Bar Offset (wenn eingeloggt) */
body.admin-bar .spn26-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .spn26-header {
        top: 46px !important;
    }
}

.spn26-logo img {
    height: 60px;
    transition: var(--spn26-transition);
}

.spn26-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.spn26-nav a {
    text-decoration: none;
    color: var(--spn26-text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--spn26-transition);
}

.spn26-nav a:hover {
    color: var(--spn26-primary);
}

.spn26-badge-new {
    background: #28a745;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 5px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
    position: relative;
    /* FÃ¼r vertikale Korrektur */
    top: -4px;
    /* Ca. 3mm/Pixel-GefÃ¼hl nach oben */
}

.spn26-nav-tools {
    display: flex;
    gap: 1.5rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid #ddd;
}

.spn26-nav-tools a {
    text-decoration: none;
    color: var(--spn26-primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--spn26-transition);
}

.spn26-nav-tools a:hover {
    color: var(--spn26-primary-light);
}

.spn26-header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Reset default button styles for the hamburger trigger */
.spn26-mobile-toggle {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}


.spn26-user-nav {
    display: flex;
    gap: 1.5rem;
}

.spn26-user-nav a {
    text-decoration: none;
    color: var(--spn26-text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--spn26-transition);
}

.spn26-user-nav a:hover {
    color: var(--spn26-primary);
}

.spn26-highlight-link {
    color: var(--spn26-primary) !important;
    font-weight: 800 !important;
}

.spn26-btn-post {
    background: var(--spn26-primary);
    color: #ffffff !important;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease-out, background 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(30, 151, 204, 0.2);
    white-space: nowrap;
    will-change: transform;
}

.spn26-btn-post:hover {
    background: var(--spn26-primary-light);
    transform: translateY(-2px);
}

/* Hero Section */
.spn26-hero {
    background: #1e97cc;
    position: relative;
    padding: 165px 20px 30px;
    /* Inhalt weiter nach unten versetzt, etwas mehr Bottom-Abstand */
    margin-top: 0 !important;
    /* Schiebt die Section direkt ganz nach oben, exakt HINTER den Header */
    color: white;
    text-align: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .spn26-hero {
        margin-top: 0 !important;
        padding: 90px 20px 30px;
        /* Mobil: Abstand nach oben um ~1cm reduziert */
    }
}

/* 2026 Vibes: Aurora Gradient Overlay */
.spn26-hero::before,
.spn26-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    animation: drift 20s infinite alternate ease-in-out;
}

.spn26-hero::before {
    top: -30%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: rgba(59, 190, 236, 0.8);
}

.spn26-hero::after {
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.3);
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(10%, 15%) scale(1.1);
    }

    100% {
        transform: translate(-5%, 5%) scale(0.95);
    }
}

.spn26-hero>* {
    position: relative;
    z-index: 2;
}

.spn26-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    /* Etwas leichterer Basistext */
    margin-bottom: 0.5rem;
    /* Kleinerer Abstand */
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease-out;
    line-height: 1.1;
}

.spn26-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spn26-hero h1 span {
    color: #ffffff;
    font-weight: 900;
    /* Maximal fett */
    position: relative;
    display: inline-block;
}

/* Unterstrich entfernt */

/* Subtiler, moderner Unterstrich */
/* Unterstrich-Block entfernt */

/* Search Box */
.spn26-search-container {
    max-width: 800px;
    margin: 3rem auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px;
    border-radius: 16px;
    /* Pill shape for smart search -> now less rounded */
    display: flex;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(255, 255, 255, 0.5);
    border: none;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* AI Glow Focus Effect */
.spn26-search-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, #d8d8d8, #ffffff, #eaeaea, #d8d8d8);
    z-index: -1;
    border-radius: 18px;
    background-size: 400%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.spn26-search-container:focus-within::before {
    opacity: 0.8;
    animation: glow-animation 8s linear infinite;
}

@keyframes glow-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.spn26-search-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.spn26-smart-search-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    position: relative;
    border-radius: 14px;
    background: transparent;
    overflow: hidden;
}

.spn26-smart-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    background: transparent;
    padding: 1rem 1.5rem 1rem 2rem;
    font-size: 1.15rem;
    color: var(--spn26-text-dark);
    font-weight: 500;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
}

.spn26-smart-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent;
}

/* Placeholder animation cursor style */
.spn26-smart-input::placeholder {
    color: #888;
    opacity: 1;
    /* Override default opacity */
    transition: opacity 0.3s ease;
}

.spn26-smart-btn {
    background: var(--spn26-primary);
    color: white;
    border: none;
    padding: 1rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(30, 151, 204, 0.3);
    margin-right: 2px;
}

.spn26-smart-btn:hover {
    background: #177aa6;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(30, 151, 204, 0.4);
}

.spn26-search-input:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(30, 151, 204, 0.2);
    box-shadow: inset 0 0 0 1px rgba(30, 151, 204, 0.1);
}

.spn26-search-btn {
    background: var(--spn26-primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(30, 151, 204, 0.4);
}

.spn26-search-btn:hover {
    background: var(--spn26-primary-light);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(30, 151, 204, 0.5);
}

.spn26-search-types {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
    white-space: nowrap;
}

.spn26-search-type-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--spn26-text-muted);
    cursor: pointer;
}

.spn26-search-type-option input[type="checkbox"] {
    width: 14px;
    height: 14px;
}

/* Job Sections */
.spn26-section {
    padding: 3rem 5%;
    /* Reduced from 4rem */
}

.spn26-stats {
    margin-top: 1.5rem;
    /* Weiter reduziert */
}

.spn26-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1000px;
    /* SchmÃ¤ller */
    margin: 0 auto;
    padding: 1.5rem 0;
    /* Box entfernt */
}

.spn26-stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    /* Dezentere Trennung */
    opacity: 0;
    animation: smoothScaleIn 0.8s ease-out forwards;
}

.spn26-stat-item:nth-child(2) {
    animation-delay: 0.1s;
}

.spn26-stat-item:nth-child(3) {
    animation-delay: 0.2s;
}

.spn26-stat-item:nth-child(4) {
    animation-delay: 0.3s;
}

.spn26-stat-item:last-child {
    border-right: none;
}

.spn26-stat-item h3 {
    font-size: 2.7rem;
    font-weight: 800;
    color: #ffffff;
    /* WeiÃŸer Text */
    margin: 0;
}

.spn26-stat-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    /* WeiÃŸer Text dezent */
    margin-top: 4px;
    font-weight: 500;
}

@keyframes smoothScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(15px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Why Us Section */
.spn26-why-us {
    padding: 60px 5%;
    background: #fdfdfd;
}

.spn26-why-us-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.spn26-why-item {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.spn26-why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.spn26-why-icon {
    width: 64px;
    height: 64px;
    background: rgba(30, 151, 204, 0.08);
    color: var(--spn26-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.spn26-why-item h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--spn26-text-dark);
}

.spn26-why-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 900px) {
    .spn26-why-us-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .spn26-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .spn26-stat-item:nth-child(2) {
        border-right: none;
    }

    .spn26-stat-item h3 {
        font-size: 2rem;
    }

    .spn26-stat-item p {
        font-size: 0.85rem;
    }
}

.spn26-section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: none;
    /* Entfernt nach Kundenwunsch */
    text-align: left;
    max-width: 1400px;
    /* Replaced slider width / container width */
    margin-left: auto;
    margin-right: auto;
}

.spn26-section-title h2 {
    font-size: 2.7rem;
    font-weight: 300;
    /* Normal by default for mixed weights */
    color: var(--spn26-text-dark);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spn26-section-title h2 strong {
    font-weight: 900;
    /* Noch kräftiger für SPOTLIGHT / TOP / NEUE */
}

.spn26-section-title p {
    color: var(--spn26-text-muted);
    font-size: 1.1rem;
    margin: 0;
}

.spn26-btn-order {
    background: #28a745;
    /* KrÃ¤ftiges GrÃ¼n fÃ¼r Call-to-Action */
    color: #fff !important;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--spn26-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border: none;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.spn26-btn-order:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.3);
}

.spn26-job-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .spn26-job-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .spn26-job-grid {
        grid-template-columns: 1fr;
    }
}

.spn26-job-card {
    background: #ffffff;
    padding: 1.8rem;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.spn26-job-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(30, 151, 204, 0.1);
    border-color: transparent;
}

.spn26-job-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
    z-index: 10;
}

.spn26-job-card:hover::after {
    animation: shine 1.2s ease-out;
}

@keyframes shine {
    100% {
        left: 200%;
    }
}

.spn26-company-logo img {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.spn26-job-card:hover .spn26-company-logo img,
.spn26-job-card:hover .spn26-top-logo img {
    transform: scale(1.08);
    /* Sanfter Zoom beim Logo */
}

.spn26-btn-details svg,
.spn26-card-action a svg {
    transition: transform 0.3s ease;
}

.spn26-job-card:hover .spn26-btn-details svg,
.spn26-job-card:hover .spn26-card-action a svg {
    transform: translateX(4px);
}

.spn26-job-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(30, 151, 204, 0.1);
    color: var(--spn26-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.spn26-job-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.15rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    /* Etwas kleiner */
}

.spn26-company {
    color: var(--spn26-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
    /* Einzeilig abschneiden */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* View Switcher Layout */
.spn26-view-switcher {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.spn26-view-btn {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--spn26-text-muted);
    transition: var(--spn26-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    /* Feste Breite fÃ¼r gleiche Optik */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.spn26-view-btn.active {
    background: var(--spn26-primary);
    color: white;
}

/* List View Layout */
.spn26-job-grid.spn26-view-list {
    grid-template-columns: 1fr;
}

.spn26-view-list .spn26-job-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    /* More compact */
    gap: 1.5rem;
}

.spn26-view-list .spn26-job-card h3 {
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

.spn26-view-list .spn26-job-card .spn26-company {
    margin: 0;
    width: 280px;
    font-size: 0.9rem;
}

.spn26-view-list .spn26-job-card p {
    margin: 0;
    width: 150px;
}

/* TOP Jobs Layouts */

/* 1. Kartenansicht (Grid Mode - default or .spn26-view-list is missing) */
#top-jobs-grid:not(.spn26-view-list) .spn26-job-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.5rem !important;
    gap: 0.5rem !important;
    /* Viel kleinere Abstände zwischen den Texten */
}

#top-jobs-grid:not(.spn26-view-list) .spn26-job-card h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 0;
}

#top-jobs-grid:not(.spn26-view-list) .spn26-job-card .spn26-company {
    font-size: 1.05rem;
    /* Größer wie gewünscht */
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    white-space: normal;
    /* Erlaube Zeilenumbrüche falls Firmenname sehr lang ist */
    color: var(--spn26-primary);
}

#top-jobs-grid:not(.spn26-view-list) .spn26-job-card p {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
    color: var(--spn26-text-muted);
}

/* 2. Listenansicht (List Mode) */
#top-jobs-grid.spn26-view-list .spn26-job-card {
    flex-direction: row !important;
    align-items: center !important;
    padding: 0.8rem 1rem !important;
    gap: 1rem !important;
}

#top-jobs-grid.spn26-view-list .spn26-job-card h3 {
    font-size: 1rem;
    margin: 0;
}

#top-jobs-grid.spn26-view-list .spn26-job-card .spn26-company {
    font-size: 0.95rem;
    /* Auch hier etwas größer */
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#top-jobs-grid.spn26-view-list .spn26-job-card p {
    font-size: 0.85rem;
    margin: 0;
}

.spn26-card-action {
    margin-top: 1.5rem;
}

.spn26-view-list .spn26-card-action {
    margin-top: 0 !important;
}

.spn26-view-list .spn26-job-card .spn26-company {
    margin-bottom: 0;
    min-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .spn26-view-list .spn26-job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    /* Mobile Optimierung für TOP-Job-Liste */
    #top-jobs-grid.spn26-view-list .spn26-job-card {
        padding: 0.8rem 0.9rem !important;
    }

    #top-jobs-grid.spn26-view-list .spn26-job-card .spn26-company,
    #top-jobs-grid.spn26-view-list .spn26-job-card h3,
    #top-jobs-grid.spn26-view-list .spn26-job-card p {
        width: 100%;
        max-width: 100%;
    }

    #top-jobs-grid.spn26-view-list .spn26-job-card .spn26-company {
        white-space: normal;
        line-height: 1.25;
        margin-bottom: 0.05rem;
    }

    #top-jobs-grid.spn26-view-list .spn26-job-card h3 {
        line-height: 1.3;
        margin-bottom: 0.05rem;
    }

    #top-jobs-grid.spn26-view-list .spn26-job-card p {
        white-space: normal;
        line-height: 1.25;
    }
}

/* Spotlight Special Branding */
.spn26-spotlight .spn26-job-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* 4 Spalten mit exakt gleicher Breite */
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    align-items: stretch;
    /* Alle Karten gleich hoch machen */
}

.spn26-spotlight .spn26-job-card {
    border: 1px solid #eee;
    background: var(--spn26-white);
    text-align: center;
    padding: 1.8rem;
    /* Mehr Padding fÃ¼r mehr HÃ¶he */
    box-shadow: var(--spn26-shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 420px;
    /* Definierte MindesthÃ¶he fÃ¼r "hÃ¶here" Slider-Karten */
}

.spn26-spotlight .spn26-job-card .spn26-company-logo {
    width: 100%;
    aspect-ratio: 300 / 180;
    height: auto;
    margin: 0 auto 0.5rem;
    /* Weniger Abstand nach unten = Inhalte rÃ¼cken nach oben */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
    border: 1px solid #ccc;
    /* Etwas dunkler */
    border-radius: 8px;
    /* Passend zur Abrundung der Buttons */
}

.spn26-spotlight .spn26-job-card .spn26-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* FÃ¼llt den 300x180 Bereich komplett aus */
}

.spn26-spotlight .spn26-job-card {
    border: 1px solid #eee;
    background: var(--spn26-white);
    padding: 1rem;
    box-shadow: var(--spn26-shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Alles grundlegend zentrieren */
    height: 100%;
    text-align: center;
}

.spn26-spotlight-company {
    font-size: 0.9rem;
    /* GrÃ¶ÃŸer wie gewÃ¼nscht */
    font-weight: 400;
    color: var(--spn26-text-muted);
    margin: 5px 0 4px;
    /* Reduziert fÃ¼r nÃ¤her am Logo */
    width: 100%;
    height: 2.6em;
    /* 2 Zeilen Platz */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Max 2 Zeilen */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.spn26-spotlight-title {
    font-size: 0.95rem;
    /* Etwas besser lesbar */
    font-weight: 600;
    color: var(--spn26-primary);
    margin: 5px 0 10px;
    text-align: left;
    align-self: flex-start;
    width: 100%;
    line-height: 1.2;
    height: 3.8em;
    /* Platz fÃ¼r 3 Zeilen Text */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spn26-spotlight-location {
    font-size: 0.9rem;
    /* GrÃ¶ÃŸer wie gewÃ¼nscht */
    font-weight: 600;
    color: #888;
    margin-bottom: 20px;
    width: 100%;
    height: 1.4em;
    /* Leicht erhÃ¶ht */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spn26-spotlight .spn26-job-card .spn26-btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--spn26-primary);
    color: white !important;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    width: 140px;
    /* Feste Breite fÃ¼r Buttons in einer Linie */
    margin: auto auto 0 auto;
    /* Zentriert und drÃ¼ckt Button nach ganz unten */
    transition: var(--spn26-transition);
}

.spn26-spotlight .spn26-job-card .spn26-btn-details:hover {
    background: var(--spn26-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 151, 204, 0.25);
}

/* Footer */
.spn26-footer {
    background: var(--spn26-text-dark);
    color: white;
    padding: 3rem 5%;
    margin-bottom: 0;
    box-shadow: none;
}

.spn26-footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.spn26-footer-links {
    display: flex;
    gap: 1.5rem;
}

.spn26-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
}

.spn26-footer-links a:hover {
    color: white;
}

/* Accessibility Tool */
.spn26-accessibility {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--spn26-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Responsive */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility: Better Focus States */
:focus-visible {
    outline: 3px solid var(--spn26-primary-light);
    outline-offset: 3px;
}

/* Precise Tablet Breakpoints for Grid */
@media (max-width: 1100px) {
    .spn26-job-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 650px) {
    .spn26-job-grid {
        grid-template-columns: 1fr !important;
    }

    .spn26-section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .spn26-nav {
        display: none;
    }

    .spn26-nav-tools,
    .spn26-header-right {
        display: none;
    }

    .spn26-mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: 30px;
        height: 25px;
        cursor: pointer;
        z-index: 1001;
    }


    .spn26-mobile-toggle span {
        height: 3px;
        width: 100%;
        background: var(--spn26-primary);
        border-radius: 3px;
        transition: 0.3s;
    }

    /* Active Hamburger State Structure */
    .spn26-header.menu-open {
        flex-wrap: wrap;
        height: 100vh !important;
        overflow-y: auto;
        align-items: flex-start;
        align-content: flex-start;
    }

    .spn26-header.menu-open .spn26-logo {
        flex: 1;
        margin-bottom: 2rem;
    }

    .spn26-header.menu-open .spn26-mobile-toggle {
        margin-top: 8px;
        position: relative;
        top: 0;
        right: 0;
    }

    /* Das Mobile-Menü ordentlich im Fluss unterordnen */
    .spn26-header.menu-open .spn26-nav-tools,
    .spn26-header.menu-open .spn26-header-right {
        display: flex;
        flex-direction: column;
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
        text-align: left;
        padding: 0;
    }

    .spn26-header.menu-open .spn26-user-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    /* Im geöffneten Mobile-Menü: CV Builder / Cover Letter wie normale Textlinks darstellen */
    .spn26-header.menu-open .spn26-nav-tools {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        gap: 0;
    }

    .spn26-header.menu-open .spn26-nav-tools a {
        color: var(--spn26-text-dark);
        font-weight: 500;
    }

    .spn26-header.menu-open .spn26-badge-new {
        display: none;
    }

    .spn26-header.menu-open .spn26-mobile-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .spn26-header.menu-open .spn26-mobile-toggle span:nth-child(2) {
        opacity: 0;
    }

    .spn26-header.menu-open .spn26-mobile-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Beide Menügruppen EXAKT identisch formatieren */
    .spn26-header.menu-open .spn26-user-nav a,
    .spn26-header.menu-open .spn26-nav-tools a {
        padding: 0.85rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--spn26-text-dark);
        text-decoration: none;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .spn26-header.menu-open .spn26-btn-post {
        margin-top: 2rem;
        margin-bottom: 3rem;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .spn26-hero h1 {
        font-size: 2.2rem;
    }

    .spn26-search-container {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
        padding: 1rem;
    }

    .spn26-smart-search-wrapper {
        flex-direction: column;
        background: transparent;
    }

    .spn26-smart-input {
        width: 100%;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 12px;
    }

    .spn26-smart-btn {
        width: 100%;
        margin-top: 10px;
        margin-right: 0;
        border-radius: 12px;
        padding: 1rem;
    }

    .spn26-search-fields {
        flex-direction: column;
    }

    .spn26-search-input {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }

    .spn26-search-types {
        margin-left: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .spn26-search-btn {
        width: 100%;
        margin-top: 0.5rem;
        padding: 1.2rem;
    }

    .spn26-section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        text-align: left;
        padding-bottom: 0.5rem;
        margin-bottom: 2rem;
    }

    .spn26-btn-order {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Custom Startseite – Header & Footer ausblenden + eigenes Styling
   ========================================================================== */

/* === Originalen WorkScout Header & Footer NUR auf der Startseite ausblenden === */
body.home .main-header,
body.home #tr-header,
body.home header.site-header,
body.home .header,
body.home .navbar,
body.home .navbar-default,
body.home .tr-header,
body.home footer.site-footer,
body.home #footer,
body.home .main-footer,
body.home .footer,
body.home .new-header #header .left-side,
body.home .header-notifications.user-menu,
body.home .header-notifications,
body.home .user-menu,
body.home .left-side,
body.home .right-side,
body.home .footer-row,
body.home .footer-new-middle-section,
body.home .footer-new-bottom-left,
body.home .footer-new-bottom-right,
body.home .container,
body.home .footer-new-bottom-section,
body.home .fullwidth.sticky.new,
body.home #footer-bottom,
body.home .footer-bottom,
body.home #bottom,
body.home .bottom {
    display: none !important;
}

body.home .spn26-hero-body .container {
    display: block !important;
}

/* Leerraum / Padding / Margin durch versteckten Header entfernen */
body.home .site-content,
body.home #content,
body.home main.site-main,
body.home #wrapper,
body.home .wrapper,
body.home .page-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Optional: Body anpassen (falls Hintergrund/Fonts komisch) */
body,
body.home,
.spn26-hero-body,
#wrapper,
.wrapper,
html {
    background-color: #ffffff !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* === Dein eigener Header Styling (anpassen!) === */
#custom-header {
    background-color: #2c3e50;
    /* dunkles Blau wie viele Job-Themes */
    color: white;
    padding: 1.2rem 0;
    position: relative;
    z-index: 100;
}

#custom-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#custom-header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #18d26e;
    /* grün wie oft in Job-Themes */
    text-decoration: none;
}

#custom-header .main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.8rem;
}

#custom-header .main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

#custom-header .main-navigation a:hover {
    color: #18d26e;
}

/* === Dein eigener Footer Styling (anpassen!) === */
#custom-footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.95rem;
}

#custom-footer a {
    color: #18d26e;
    text-decoration: none;
}

#custom-footer a:hover {
    text-decoration: underline;
}

/* Dein Hauptinhalt – z. B. mehr Abstand oben */
.custom-main-content {
    padding: 3rem 20px;
    min-height: 70vh;
}

/* === Cookie Consent Banner === */
.spn26-cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--spn26-white);
    color: var(--spn26-text-dark);
    padding: 20px 25px;
    border-radius: var(--spn26-border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    width: 340px;
    max-width: calc(100% - 40px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.spn26-cookie-banner.show {
    transform: translateY(0);
}

.spn26-cookie-banner p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.spn26-cookie-banner p a {
    color: var(--spn26-primary);
    text-decoration: underline;
    font-weight: 500;
}

.spn26-cookie-buttons {
    display: flex;
    gap: 10px;
}

.spn26-cookie-btn {
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--spn26-transition);
    flex: 1;
    text-align: center;
}

.spn26-cookie-btn-accept {
    background: var(--spn26-primary);
    color: var(--spn26-white);
}

.spn26-cookie-btn-accept:hover {
    background: var(--spn26-primary-light);
}

.spn26-cookie-btn-decline {
    background: var(--spn26-bg-light);
    color: var(--spn26-text-muted);
}

.spn26-cookie-btn-decline:hover {
    background: #e2e8f0;
}

/* 1. Scroll Reveal Logic Base CSS */
.spn26-reveal-element {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.spn26-reveal-element.spn26-is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* CLEAN PREMIUM SPOTLIGHT CARDS */
.spn26-spotlight .spn26-job-card {
    border: 1px solid rgba(30, 151, 204, 0.15);
    /* Zarter blauer Rand, der es als "Spotlight" hervorhebt */
    display: flex;
    flex-direction: column;
}

/* 1. Sauber eingefasstes Firmenlogo */
.spn26-spotlight .spn26-company-logo {
    width: 65px;
    height: 65px;
    background: #fdfdfd;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.spn26-spotlight .spn26-company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 2. Typografie & Abstände aufgeräumt */
.spn26-spotlight .spn26-spotlight-company {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--spn26-text-muted);
    /* Dunkelgrau statt Blau */
    margin-bottom: 8px;
    line-height: 1.3;
    /* Multiline allowed */
}

.spn26-spotlight .spn26-spotlight-title {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.spn26-spotlight .spn26-spotlight-location {
    font-size: 0.95rem;
    /* Größer für den Ort */
    font-weight: 600;
    color: var(--spn26-text-muted);
    margin-bottom: 24px;
    margin-top: auto;
    /* Zwingt den Ort und den Button absolut ans untere Ende der Karte */
    display: flex;
    align-items: center;
}

.spn26-spotlight .spn26-spotlight-location::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 0;
    background-color: transparent;
    margin-right: 6px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%231e97cc" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Fix for Title Clipping caused by external or generic theme rules */
.spn26-spotlight .spn26-spotlight-title {
    height: auto !important;
    max-height: none !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    display: block !important;
    overflow: visible !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* 3. Ghost Pill Button für den Link */
.spn26-spotlight .spn26-btn-details {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: rgba(30, 151, 204, 0.05);
    /* Sehr zarter blauer Hintergrund */
    color: var(--spn26-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.spn26-spotlight .spn26-btn-details svg {
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.spn26-spotlight .spn26-job-card:hover .spn26-btn-details {
    background: var(--spn26-primary);
    color: #ffffff;
}

.spn26-spotlight .spn26-job-card:hover .spn26-btn-details svg {
    transform: translateX(4px);
}

/* ==========================================================================
   SPOTLIGHT CARDS REDESIGN (Hero Match Edition)
   ========================================================================== */

.spn26-job-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.spn26-premium-card-wrapper {
    perspective: 1000px;
}

.spn26-premium-card {
    position: relative;
    width: 100%;
    min-height: 460px;
    /* Reduced height */
    background: #f0f0f0;
    border-radius: 20px;
    margin: 0 auto;
    padding: 20px 20px 30px;
    /* Reduced bottom padding to move button down */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #333333;
    /* Dark Grey Text */
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.spn26-premium-card:hover {
    transform: none;
}

/* Light Grey progression - slightly darker and more subtle */
.spn26-job-grid>div:nth-child(1) .spn26-premium-card {
    background-color: #e8e8e8;
}

.spn26-job-grid>div:nth-child(2) .spn26-premium-card {
    background-color: #ededed;
}

.spn26-job-grid>div:nth-child(3) .spn26-premium-card {
    background-color: #f2f2f2;
}

.spn26-job-grid>div:nth-child(4) .spn26-premium-card {
    background-color: #f7f7f7;
}

/* Styles for child elements in light theme */
.spn26-card-company {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #666666;
    line-height: 1.3;
    /* Compact line spacing */
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.spn26-card-logo-box {
    width: 100%;
    height: 180px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    /* Reduced margin */
    padding: 10px;
    overflow: hidden;
}

.spn26-card-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Company box removed from main card scope to clean up progression */

.spn26-premium-card h2 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 10px;
    /* Reduced margin */
    line-height: 1.2;
    /* Tightened line height */
    min-height: 2.5em;
    /* More compact height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.spn26-card-content {
    width: 100%;
    flex-grow: 1;
}

.spn26-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spn26-card-content ul li {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spn26-premium-link {
    margin-top: 25px;
    /* Increased top margin */
    background: #1e97cc;
    /* Theme Blue */
    color: #ffffff !important;
    /* White Text */
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(30, 151, 204, 0.2);
    transition: background 0.3s, transform 0.2s;
}

.spn26-premium-link:hover {
    background: #3bbeec;
    /* Theme Blue Light */
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .spn26-job-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .spn26-job-grid {
        grid-template-columns: 1fr;
    }
}