/* =========================================================
   TEAM PAGE — Modern, Clean, Consistent
   ========================================================= */

/* ==========================
   TEAM SECTION
========================== */

.team-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* ========== IMAGE ========== */

.team-image img {
    width: 300px;
    max-width: 100%;
    margin-top: 50px;
    border-radius: 16px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

.team-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
}

/* ========== TEXT ========== */

.team-text {
    flex: 1;
    min-width: 300px;
    margin-top: 0px;
}

/* NAME + TITLE */

.team-name-wrapper {
    margin-bottom: 10px;
}

.team-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #1a2332;
}

.team-subtitle {
    font-size: 1.2rem;
    color: #334155;
    font-weight: 600;
    margin-top: 4px;
    padding-bottom: 6px;
    position: relative;
}

.team-subtitle::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #0099ff);
    border-radius: 2px;
}

/* LIST FORMAT */

.team-text h3 {
    margin-top: 24px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #334155;
}

.team-text ul {
    padding-left: 20px;
    margin-top: 12px;
    line-height: 1.7;
}

.team-text li {
    margin-bottom: 6px;
}

/* ==========================
   CORE COMPETENCIES
========================== */

.expertise-highlights {
    margin-top: 80px;
}

.expertise-highlights h2 {
    margin-bottom: 20px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}


/* MORE CERTIFICATES */
.more-certs {
    display: none;
    margin-top: 6px;
    padding-left: 4px;
    font-size: 0.95rem;
    color: var(--gray-800);
}

.more-certs.show {
    display: block;
}

.more-link {
    color: #1a73e8;
    cursor: pointer;
    font-weight: 600;
}

.more-link:hover {
    text-decoration: underline;
}

/* CARDS */

.expertise-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: 0.25s ease;
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.expertise-icon {
    margin-bottom: 12px;
    color: #0066cc;
}

.expertise-icon svg {
    stroke: #0066cc;
    width: 42px;
    height: 42px;
}

.expertise-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.expertise-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* ==========================
   TEAM EXPANSION
========================== */

.team-growth-alt {
    margin-top: 60px;
    text-align: center;
}

.team-growth-alt img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: 0.3s ease;
}

.team-growth-alt img:hover {
    transform: scale(1.02);
}

.team-caption {
    margin-top: 0px;
    padding: 12px 20px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    line-height: 1.4;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 820px) {
    .team-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-text ul {
        text-align: left;
    }

    .team-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 500px) {
    .expertise-card {
        padding: 22px 18px;
    }
}

/* =========================================================
   LINKEDIN BUTTON — Konsistenter Style wie alle Buttons
========================================================= */

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: #0A66C2;
    /* offizielles LinkedIn-Blau */
    color: #ffffff !important;

    padding: 12px 26px;
    border-radius: 12px;
    /* gleiche Rundung wie CTA */
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    box-shadow: var(--shadow-sm);
    transition: 0.25s ease;
}

.linkedin-btn span {
    position: relative;
    top: 2px; /* Anzahl der Pixel, die du nach unten möchtest */
}

.linkedin-btn:hover {
    background: #084c97;
    /* dunkleres Blau */
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.linkedin-btn svg.linkedin-icon {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

/* =========================================================
   CTA BUTTON — Konsistenter Style wie alle Buttons
========================================================= */

.cta-button {
    display: inline-block;
    background: #0066cc;
    color: #ffffff !important;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.cta-button:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.35);
}