    .team-section {
        padding: 0;
        margin-top: 0 !important;
        width: 100%;
        min-height: 600px;
        display: flex;
        flex-direction: column;
        overflow: visible !important;
        position: relative;
        z-index: 1;
    }
    .team-container {
        background: rgba(0,0,0,0.5);
        border: 2px solid #ffff00;
        border-radius: 10px;
        box-shadow: 3px 4px 9px rgba(120,100,0,0.5);
        padding: 0.5rem;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .team-header {
        text-align: center;
        margin-bottom: 1rem;
        color: #ffec64;
        flex-shrink: 0;
    }
    .team-header h1 { font-size: 2.2rem; margin: 0; }
    .team-header p { margin: 0.5rem 0 0; font-size: 1.1rem; }
    .nav-tabs {
        border: none;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }
    .nav-tabs .nav-link {
        background: transparent;
        border: 2px solid #ffff00;
        color: white;
        border-radius: 20px;
        padding: 0.5rem 1.8rem;
        font-weight: bold;
        font-size: 1rem;
        transition: all 0.3s ease;
        box-shadow: inset 3px 2px 16px -2px #fff6af;
    }
    .nav-tabs .nav-link:hover {
        background: #FFEE00;
        color: #333;
        transform: translateY(-2px);
    }
    .nav-tabs .nav-link.active {
        background: #00E500;
        color: white;
        border-color: #00E500;
    }
    .tab-content {
        flex-grow: 1;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .tab-pane {
        height: 100%;
        overflow: hidden;
    }
    .team-grid {
        display: grid;
        gap: 1.5rem;
        height: 100%;
        overflow-y: auto;
        padding: 0.5rem;
        border-radius: 8px;
        grid-template-columns: repeat(1, 1fr);
    }
    .team-card {
        background: rgba(255,255,255,0.1);
        border-radius: 15px;
        overflow: hidden;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 500px !important;
        max-height: 500px !important;
    }
    .team-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(255,255,0,0.3);
    }
    .team-avatar {
        height: 60%;
        padding: 0.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,0.3);
        position: relative;
        flex-shrink: 0;
    }
    .team-avatar img {
        max-width: 95%;
        max-height: 95%;
        width: 75%;
        height: auto;
        object-fit: contain;
        position: relative;
        top: 15%;
    }
    .divider {
        width: 80%;
        height: 3px;
        margin: 0.5rem auto 0;
    }
    .team-info {
        padding: 0.2rem 0.4rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        font-size: 0.95rem;
        line-height: 1.2;
        min-height: 0;
    }
    .team-info h5 {
        margin: 0 0 0.1rem;
        font-weight: bold;
        color: #fff;
        font-size: 1.1rem;
    }
    .firstname {
        color: #ffec64 !important;
        font-size: 0.95rem;
        margin: 0 0 0.15rem;
        font-weight: bold;
    }
    .info-lines {
        margin: 0.1rem 0;
        flex-grow: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    .info-lines .line {
        margin: 0.08rem 0;
        font-size: 0.95rem;
        line-height: 1.2;
        display: block;
        flex: 1;
    }
    .info-lines .line span {
        color: #ffec64;
        font-weight: bold;
    }
    .text-block {
        width: 100%;
        text-align: left;
        display: block;
        padding: 0;
        margin: 0;
    }
    .aufgabe, .genre {
        min-height: 3.6em !important;
        line-height: 1.2em;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        text-align: left;
    }
    .placeholder-line {
        display: block;
        height: 1.2em;
        flex: 1;
    }
    .genre { color: #ffec64 !important; font-style: italic; }
    .ttp {
        margin-top: 0.1rem;
        margin-bottom: 0.6rem;
        margin-left: 0.8rem;
        margin-right: 0.8rem;
        position: relative;
        flex-shrink: 0;
    }
    .btn-tooltip {
        background: #28a745;
        color: white;
        border: none;
        padding: 0.3rem 0.7rem;
        border-radius: 18px;
        font-size: 0.65rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
        text-align: center;
    }
    .btn-tooltip:hover {
        background: #218838;
    }
    /* SCROLLBAR */
    .team-grid::-webkit-scrollbar {
        width: 8px;
    }
    .team-grid::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.3);
        border-radius: 8px;
    }
    .team-grid::-webkit-scrollbar-thumb {
        background: #ffec64;
        border-radius: 8px;
    }
    /* === MODAL – Basis === */
    .sendungen-modal {
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100dvh;
        background: rgba(0,0,0,0.8);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        box-sizing: border-box;
    }
    .modal-inner {
        background: rgba(0,0,0,0.9);
        border: 2px solid #ffff00;
        border-radius: 10px;
        width: 600px;
        height: 500px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1rem;
        border-bottom: 1px solid #ffec64;
        flex-shrink: 0;
    }
    .modal-header h5 {
        margin: 0;
        color: #ffec64;
        font-size: 1.1rem;
    }
    .modal-close {
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }
    .modal-body {
        padding: 1rem;
        overflow-y: auto;
        flex-grow: 1;
        font-size: 0.9rem;
    }
    .sendung-row {
        display: flex;
        justify-content: space-between;
        padding: 0.4rem 0;
        border-bottom: 1px solid rgba(255,255,0,0.2);
        font-size: 0.9rem;
    }
    .sendung-time, .sendung-title, .sendung-live {
        flex: 1;
        padding: 0 0.5rem;
    }
    .sendung-live {
        color: red;
        font-weight: bold;
        text-align: right;
    }
    .no-sendungen {
        text-align: center;
        color: #ccc;
        font-style: italic;
    }
    /* ========================================
       1. DESKTOP: Große Monitore (mind. 1200px Breite + 700px Höhe)
       ======================================== */
    @media only screen and (min-width: 1200px) and (min-height: 700px) {
        #teamcontent {
            margin-top: 0%;
            width: 100%;
        }
        .team-section {
            height: 830px;
            margin-top: 29%;
            width: 100%;
        }
        .team-grid {
            grid-template-columns: repeat(4, 1fr);
            max-height: 630px;
            overflow-y: auto;
        }
        .team-avatar img {
            width: 75%;
            top: 15%;
        }
        .modal-inner {
            width: 600px;
            height: 500px;
        }
        .modal-header h5 { font-size: 1.1rem; }
        .modal-body { font-size: 0.9rem; padding: 1rem; }
    }
    /* ========================================
       2. KLEINE LAPTOPS: 1200–1600px Breite, ABER nur 641px Höhe
       ======================================== */
    @media only screen and (min-width: 1200px) and (max-width: 1600px) and (max-height: 700px) {
        #teamcontent {
            margin-top: 0% !important;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
        }
        .team-section {
            height: 825px !important;
            margin-top: 1% !important;
            min-height: auto;
            display: flex;
            flex-direction: column;
            overflow: hidden !important;
        }
        .team-container {
            padding: 0.8rem;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        .team-header h1 {
            font-size: 1.8rem;
        }
        .team-header p {
            font-size: 0.95rem;
        }
        .nav-tabs {
            gap: 0.4rem;
            margin-bottom: 0.8rem;
        }
        .nav-tabs .nav-link {
            font-size: 0.75rem;
            padding: 0.35rem 1rem;
            border-radius: 16px;
        }
        .team-grid {
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 1rem;
            max-height: 625px;
            overflow-y: auto !important;
            overflow-x: hidden;
            padding-right: 24px !important;
            margin-right: -24px !important;
            box-sizing: content-box !important;
            -webkit-overflow-scrolling: touch;
            flex: 1 !important;
            min-height: 0 !important;
        }
        .team-card {
            min-height: 360px !important;
            max-height: 360px !important;
        }
        .team-avatar {
            height: 55%;
            padding: 0.6rem;
        }
        .team-avatar img {
            width: 60% !important;
            top: 22% !important;
        }
        .team-info {
            padding: 0.1rem 0.3rem;
            font-size: 0.82rem;
        }
        .team-info h5 {
            font-size: 0.95rem;
        }
        .firstname {
            font-size: 0.8rem;
        }
        .info-lines .line {
            font-size: 0.78rem;
            line-height: 1.1;
        }
        .aufgabe, .genre {
            min-height: 3em !important;
            line-height: 1.1em;
        }
        .btn-tooltip {
            font-size: 0.6rem;
            padding: 0.2rem 0.4rem;
            border-radius: 14px;
        }
        .modal-inner {
            width: 92%;
            max-width: 480px;
            height: 400px;
        }
        .modal-header {
            padding: 0.6rem 0.8rem;
        }
        .modal-header h5 {
            font-size: 0.95rem;
        }
        .modal-body {
            padding: 0.7rem;
            font-size: 0.78rem;
        }
        .sendung-row {
            flex-direction: column;
            font-size: 0.74rem;
            padding: 0.25rem 0;
        }
    }
    /* ========================================
       3. MOBILE & TABLET: max-width 1199px
       ======================================== */
    @media only screen and (max-width: 1199px) {
        #teamcontent {
            margin-top: -47%;
            width: 93%;
        }
        .team-section {
            height: 600px !important;
            margin-top: 0;
            width: 100%;
            padding: 0 1rem;
        }
        .team-grid {
            grid-template-columns: repeat(1, 1fr);
            max-height: 400px;
            overflow-y: auto;
            gap: 1rem;
        }
        .team-card {
            min-height: 470px !important;
            max-height: 470px !important;
        }
        .team-avatar img {
            width: 67%;
            top: 19%;
        }
        .nav-tabs {
            gap: 0.5rem;
        }
        .nav-tabs .nav-link {
            font-size: 0.8rem;
            padding: 0.4rem 1.2rem;
        }
        .btn-tooltip {
            font-size: 0.7rem;
            padding: 0.25rem 0.6rem;
        }
        .modal-inner {
            width: 90%;
            max-width: 500px;
            height: 450px;
        }
        .modal-header h5 {
            font-size: 1rem;
        }
        .modal-body {
            font-size: 0.85rem;
            padding: 0.8rem;
        }
        .sendung-row {
            flex-direction: column;
            font-size: 0.8rem;
        }
    }
    /* ========================================
       4. MOBILE: max-width 767px
       ======================================== */
    @media only screen and (max-width: 767px) {
        #teamcontent {
            margin-top: -78%;
            width: 95%;
        }
        .team-section {
            height: 600px !important;
            margin-top: 0;
            width: 100%;
            padding: 0 1rem;
        }
        .team-grid {
            grid-template-columns: repeat(1, 1fr);
            max-height: 400px;
            overflow-y: scroll !important;
            gap: 1rem;
        }
        .team-card {
            min-height: 470px !important;
            max-height: 470px !important;
        }
        .team-avatar img {
            width: 67%;
            top: 19%;
        }
        .nav-tabs {
            gap: 0.5rem;
        }
        .nav-tabs .nav-link {
            font-size: 0.8rem;
            padding: 0.4rem 1.2rem;
        }
        .btn-tooltip {
            font-size: 0.7rem;
            padding: 0.25rem 0.6rem;
        }
        .modal-inner {
            width: 90%;
            max-width: 500px;
            height: 450px;
        }
        .modal-header h5 {
            font-size: 1rem;
        }
        .modal-body {
            font-size: 0.85rem;
            padding: 0.8rem;
        }
        .sendung-row {
            flex-direction: column;
            font-size: 0.8rem;
        }
    }
/* === ULTRAWIDE: 3395×1285 – EXKLUSIV, KEIN KONFLIKT MIT DESKTOP! === */
@media only screen and (min-width: 3000px) and (min-height: 1200px) and (max-height: 1400px) {
    #teamcontent {
        margin-top: -2% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .team-section {
        height: 800px !important;
        margin-top: 2% !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    .team-container {
        padding: 1.2rem !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
    }
    .team-header h1 {
        font-size: 2.4rem !important;
    }
    .team-header p {
        font-size: 1.3rem !important;
    }
    .nav-tabs {
        gap: 1rem !important;
        margin-bottom: 1.2rem !important;
    }
    .nav-tabs .nav-link {
        font-size: 1.1rem !important;
        padding: 0.6rem 2rem !important;
        border-radius: 24px !important;
    }
    .team-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 1.5rem !important;
        max-height: 880px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-right: 28px !important;
        margin-right: -28px !important;
        box-sizing: content-box !important;
        -webkit-overflow-scrolling: touch !important;
        flex: 1 !important;
        min-height: 0 !important;
    }
    .team-card {
        min-height: 570px !important;
        max-height: 570px !important;
    }
    .team-avatar {
        height: 58% !important;
        padding: 0.8rem !important;
    }
    .team-avatar img {
        width: 75% !important;
        top: 15% !important;
    }
    .team-info {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.95rem !important;
    }
    .team-info h5 {
        font-size: 1.1rem !important;
    }
    .firstname {
        font-size: 0.9rem !important;
    }
    .info-lines .line {
        font-size: 0.88rem !important;
        line-height: 1.2 !important;
    }
    .aufgabe, .genre {
        min-height: 3.4em !important;
        line-height: 1.2em !important;
    }
    .btn-tooltip {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.6rem !important;
        border-radius: 18px !important;
    }
    .modal-inner {
        width: 90% !important;
        max-width: 700px !important;
        height: 520px !important;
    }
    .modal-header h5 {
        font-size: 1.2rem !important;
    }
    .modal-body {
        font-size: 0.95rem !important;
        padding: 1.1rem !important;
    }
}
/* === SCROLLBAR IM .team-grid – IMMER SICHTBAR & FUNKTIONAL === */
.team-grid {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-right: 10px !important;
    margin-right: 0px !important;
    box-sizing: content-box !important;
    flex: 1 !important;
    min-height: 0 !important;
}
.team-grid::-webkit-scrollbar {
    width: 16px !important;
    display: block !important;
}
.team-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.7) !important;
    border-radius: 10px;
    border: 1px solid #ffec64 !important;
}
.team-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #ffec64, #ffd700) !important;
    border-radius: 10px;
    border: 3px solid #000 !important;
    min-height: 70px !important;
}
.team-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #ffd700, #ffec64) !important;
    box-shadow: 0 0 16px rgba(255, 236, 100, 1);
}
/* Firefox */
.team-grid {
    scrollbar-width: thin !important;
    scrollbar-color: #ffec64 rgba(0, 0, 0, 0.7) !important;
}

/* === SENDUNG-ROW: BESSERER PLATZ FÜR TIME & TITLE === */
.sendung-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,0,0.2);
    font-size: 0.9rem;
    gap: 0.5rem;
}
.sendung-time {
	text-align: left;
    flex: 0 0 40%;     /* 40% Breite */
    font-weight: bold;
    color: #ffec64;
}
.sendung-title {
	text-align: left;
    flex: 0 0 50%;     /* 50% Breite */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sendung-live {
    flex: 0 0 8%;     /* nur 10% */
    color: #ff0000;
    font-weight: bold;
    font-size: 0.8rem;
    text-align: right;
}