/* Team6 — Hover Card Styles */

.team6-card {
    position: relative;
    overflow: hidden;
    display: inline-block;
    border-radius: 4px;
    width: 320px;
    max-width: 100%;
    background: #f0f0f0;
}

/* Bild */
.team6-image-wrap {
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.team6-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ── Balken ─────────────────────────────────────────────────
   Ruhezustand: nur Name + Position sichtbar (kleiner Balken)
   Hover:       Balken fährt hoch → Link wird sichtbar
   ────────────────────────────────────────────────────────── */
.team6-card .team6-bar {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: rgba(169, 27, 27, 0.85);
    height: 78px !important;
    transition: height 0.38s cubic-bezier(0.33, 1, 0.68, 1) !important;
    display: flex !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.team6-card:hover .team6-bar,
.team6-card:focus-within .team6-bar {
    height: 130px !important;
}

.elementor-editor-active .team6-card .team6-bar {
    height: 130px !important;
}

.team6-bar-inner {
    padding: 16px 20px;
    width: 100%;
}

.team6-name {
    margin: 0 0 4px 0;
    padding: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.2;
}

.team6-title {
    margin: 0 0 12px 0;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    color: #fff !important;
    opacity: 0.9;
}

.team6-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease 0.15s, transform 0.25s ease 0.15s, gap 0.2s ease;
}

.team6-card:hover .team6-link,
.team6-card:focus-within .team6-link {
    opacity: 1;
    transform: translateY(0);
}

.team6-link:hover {
    gap: 9px;
    color: #fff !important;
    text-decoration: none;
}
