/* ========================================
   KARRIERE-SEITE SPEZIFISCHE STYLES
   ======================================== */

/* === KARRIERE-SPEZIFISCHE CONTENT-STYLES === */

.approach-section {
    padding: 60px 20px;
    text-align: center;
}

.approach-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.approach-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.approach-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px var(--shadow-medium);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent; /* Einheitlicher transparenter Rand */
}

/* Entferne alle spezifischen Hervorhebungen */
.approach-card:nth-child(2),
.approach-card.featured,
.approach-card.highlighted {
    border: 2px solid transparent; /* Alle gleich */
    background: var(--white); /* Alle gleich */
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary); /* Nur beim Hover orangener Rand */
}

.approach-card img {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
}

.approach-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.approach-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: var(--medium-gray);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.about-text h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Projects Sections */
.projects-explanation,
.projects-contact {
    padding: 60px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.projects-explanation h2,
.projects-contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.projects-explanation p,
.projects-contact p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.projects-explanation ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px;
}

.projects-explanation li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.projects-contact {
    background: var(--medium-gray);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .approach-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .approach-section h2,
    .projects-explanation h2,
    .projects-contact h2 {
        font-size: 1.8rem;
    }
    
    .projects-explanation,
    .projects-contact {
        padding: 40px 20px;
    }
}

/* TQ #7421: Textbreite baendigen — itsce-chrome.php macht .entry-content full-width,
   dadurch laufen die per-Seite max-width Regeln ins Leere. Hier mit hoher
   Spezifitaet + !important die Lese-Spalten wiederherstellen. */
body.itsce-front .karriere-intro p,
body.itsce-front .projects-explanation,
body.itsce-front .projects-contact {
    max-width: 820px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.itsce-front .projects-explanation ul,
body.itsce-front .projects-explanation li {
    max-width: 820px !important;
}
/* TQ #7421: 'Wer passt zu uns' hatte einen grauen Section-Hintergrund, der durch
   die max-width zum schwebenden Kasten wurde -> transparent, Text auf Weiss. */
body.itsce-front .projects-explanation {
    background: transparent !important;
}
/* TQ #7421: Karten einheitlich wie Ueber-uns (.card): kein Border (war 2px). */
body.itsce-front .approach-card {
    border: none !important;
}
/* TQ #7421: oranger Top-Akzent beim Hover wie Ueber-uns .card::before */
body.itsce-front .approach-card {
    position: relative;
    overflow: hidden;
}
body.itsce-front .approach-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--primary, #FE4F00);
    transform: translateX(-50%);
    transition: width 0.5s;
    z-index: 10;
}
body.itsce-front .approach-card:hover::before {
    width: 100%;
}
