.partner-panel{
    max-width: 1200px;
    margin: 20px auto;
    overflow: visible;
    position: relative;
}

/* Body: KEINE feste Mindesthöhe */
.partner-panel-body{
    background: #2B2C36;
    padding: 18px 12px 18px;
    /* min-height: 90px;  <-- raus! */
}

/* Head ohne Hintergrund, leicht runter */
.partner-panel--noheadbg .partner-panel-head{
    background: transparent;
    color: #F5EEDC;
    font-size: 22px;
    font-family: 'Croissant One', sans-serif;
    letter-spacing: 3px;
    padding: 0 12px;
    margin-bottom: -8px;
    position: relative;
    top: 8px;
    z-index: 2;
}

/* Grid */
.affiliates-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, max-content));
    gap: 6px;
    justify-content: start;
    align-items: center;
    margin-top: 5px;
}

/* Button-Look + Overlay-Container */
.affiliates-grid a{
    display: inline-block;
    width: fit-content;
    background: #353747;
    border: 1px solid #4A4C5D;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    padding: 3px;
    transition: transform .15s ease, opacity .15s ease;

    position: relative;
    overflow: hidden;
}

/* leichtes Overlay, das das Bild verblasst */
.affiliates-grid a::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(43,44,54,0.35);
    opacity: 1;
    transition: opacity .2s ease;
    pointer-events: none;
}

/* beim Hover verschwindet das Overlay */
.affiliates-grid a:hover::after{
    opacity: 0;
}

.affiliates-grid img{
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

/* Hover */
.affiliates-grid a:hover{
    transform: translateY(-2px);
    opacity: .95;
    border-color: #8B73B0;
    box-shadow: 0 0 8px rgba(139,115,176,0.35);
}