﻿
/* --- Sponsor-Grid: Desktop 6 Logos nebeneinander --- */
#sponsor_top {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    gap: 5px;
}

/* --- Alle Logo-Blöcke --- */
#sponsor_top > div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    min-width: 0;
    height: 120px;
    overflow: hidden;
    box-sizing: border-box;
}

/* --- Standard-Logos --- */
#sponsor_top .sponsor-logo {
    max-height: 120px;
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
}

/* --- QSG Logo --- */
#sponsor_top .qsg-logo {
    max-height: 100px;
}

/* --- Taschen-bedrucken Logo --- */
#sponsor_top .taschen-logo {
    max-width: 150px;
    width: 100%;
    height: auto;
}

/* --- Mobile: 2 Logos pro Reihe --- */
@media (max-width: 600px) and (min-width: 350px) {
    #sponsor_top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #sponsor_top .qsg-logo,
    #sponsor_top .taschen-logo {
        max-height: 80px;
        width: auto;
        height: auto;
    }
}

/* --- Sehr kleine Displays: 1 Logo pro Reihe --- */
@media (max-width: 349px) {
    #sponsor_top {
        grid-template-columns: 1fr;
    }

    #sponsor_top > div {
        height: auto;
        min-height: 100px;
    }

    #sponsor_top .qsg-logo,
    #sponsor_top .taschen-logo {
        max-height: 80px;
        width: auto;
        height: auto;
    }
}
/* Heizkraftwerk */
#sponsor_top .fhw-box {
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
}

#sponsor_top .fhw-logo {
    max-height: 95px;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}