/* ============================================
   BRANCHEN.CSS
   Benötigt: common.css (Base, Variablen, Reset)
   ============================================ */

/* Branchen-spezifischer Override */
body {
    line-height: 1.6;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 964px; /* 900px Inhalt + 2x32px Padding */
    margin: 0 auto;
    padding: 2rem;
}

@media (max-width: 600px) {
    .container {
        padding: 1.25rem;
    }
}

/* PAGE NAVIGATION */
.page-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-back:hover {
    color: var(--accent-cyan);
}

.nav-back svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}
/* PAGE HEADER Overrides – werden von common.css geerbt, hier nur Erweiterungen */
/* (base styles wie page-header, page-overline, page-title, page-subtitle sind in common.css definiert) */

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}
.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.section-title svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-cyan);
    fill: none;
    stroke-width: 2;
}
.job-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid transparent;
    border-radius: 0;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.job-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    border-left-color: var(--accent-cyan);
    transform: translateX(6px);
}
.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.job-teaser {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.job-location svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.job-arrow {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-cyan);
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: auto;
}

.job-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform 0.2s;
}

.job-card:hover .job-arrow svg {
    transform: translateX(4px);
}

/* NO JOBS */
.no-jobs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: 0;
    text-align: center;
    color: var(--text-muted);
}

.no-jobs svg {
    width: 48px;
    height: 48px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-jobs p {
    margin-bottom: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .job-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    
.job-arrow {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* ==========================================
   GEMERKTE JOBS
   ========================================== */

/* Gemerkte Jobs Liste */
.gemerkte-liste {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gemerkte-job-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 1rem 1.25rem;
    transition: all 0.2s;
}

.gemerkte-job-card:hover {
    border-color: var(--border-light);
}

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

.gemerkte-job-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gemerkte-job-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.gemerkte-job-link {
    padding: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.gemerkte-job-link:hover {
    color: var(--accent-cyan);
}

.gemerkte-job-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.btn-entfernen {
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    border-radius: 0;
}

.btn-entfernen:hover {
    color: var(--accent-red);
    background: rgba(var(--accent-red-rgb), 0.1);
}

.btn-entfernen svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Empty State */
.merkliste-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: 0;
    margin-bottom: 2rem;
}

.merkliste-empty svg {
    width: 64px;
    height: 64px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.merkliste-empty p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.merkliste-empty-hint {
    color: var(--text-muted);
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gemerkte-job-card {
    animation: slideIn 0.3s ease;
}

/* Swipe Hint Animation (erscheint kurz beim ersten Besuch) */

@keyframes swipeHint {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
}

@media (min-width: 768px) {
}
