.topstrip_container
{
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 4px clamp(0.5rem, 2vw, 1.5rem) 4px 4px;
    background: #a9c308;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
}

.topstrip_spacer
{
    flex: 1;
}

.topstrip_button
{
    display: flex;
    align-items: center;
    gap: 5px;
    flex: none;
    white-space: nowrap;
    text-shadow: 0 0 2px black;
}

.topstrip_button[link="1"]
{
    margin-left: clamp(0.75rem, 2vw, 1.75rem);
    cursor: pointer;
    transition: color 0.15s ease, text-shadow 0.15s ease, opacity 0.15s ease;
}

.topstrip_button[link="1"]:active
{
    transition: none;
    opacity: 0.6;
}

.topstrip_button img
{
    display: block;
    width: 22px;
    height: 22px;
}

/* Social-Media: Icon hängt nach unten über die Leiste hinaus */
.topstrip_button[link="0"]
{
    position: relative;
    width: 40px;
    align-self: stretch;
}

.topstrip_button[link="0"] + .topstrip_button[link="0"]
{
    margin-left: 4px;
}

.topstrip_button img[socialmedia="1"]
{
    position: absolute;
    top: -2px;
    left: 0;
    z-index: 1;
    width: 40px;
    height: 40px;
    cursor: pointer;
    filter: drop-shadow(1px 1px 2px rgb(0 0 0 / 0.75));
    transition: filter 0.15s linear, transform 0.15s linear;
}

.topstrip_button img[socialmedia="1"]:active
{
    transform: scale(0.92);
}

@media (hover: hover)
{
    .topstrip_button[link="1"]:hover
    {
        color: #1e3876;
        text-shadow: none;
    }

    .topstrip_button img[socialmedia="1"]:hover
    {
        filter: brightness(120%) drop-shadow(1px 1px 2px rgb(0 0 0 / 0.75));
    }
}

/* Text nur optisch ausblenden, für Screenreader bleibt er erhalten */
@media (width < 1000px)
{
    .topstrip_container > .topstrip_button:last-child > div:nth-child(2)
    {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

/* Mobil: nur Symbole, gleichmäßig verteilt, keine überhängenden Icons */
@media (width < 700px)
{
    .topstrip_container
    {
        justify-content: space-around;
        padding: 0 0.25rem;
    }

    .topstrip_spacer
    {
        display: none;
    }

    .topstrip_button,
    .topstrip_button[link="1"],
    .topstrip_button[link="0"] + .topstrip_button[link="0"]
    {
        justify-content: center;
        gap: 0;
        min-width: 44px;
        min-height: 40px;
        margin-left: 0;
    }

    .topstrip_button[link="0"]
    {
        width: auto;
        align-self: center;
    }

    .topstrip_button img
    {
        width: 24px;
        height: 24px;
    }

    .topstrip_button img[socialmedia="1"]
    {
        position: static;
        width: 28px;
        height: 28px;
    }

    .topstrip_button > div:nth-child(2)
    {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}