/* Language Switcher — speech bubble dropdown */
.iac-lang-switcher-box {
    position: absolute;
    right: 0;
    top: calc(100% + 25px);

    align-items: center;
    justify-content: center;

    background-color: white;
    border-radius: 10px;
    padding: 10px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;

    /* verhindert Umbruch von EN | DE */
    width: max-content;
    white-space: nowrap;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);
    transform-origin: top right;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

/* Speech bubble arrow */
.iac-lang-switcher-box::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 24px;

    width: 16px;
    height: 16px;

    background-color: white;

    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);

    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.03);
}

.iac-lang-switcher-box.is-open {
    opacity: 1;
    visibility: visible;
    display: flex;

    transform: translateY(0);
}

.iac-lang-switcher-box .globe-icon {
    font-size: 24px;
    margin-right: 10px;
}

.iac-lang-switcher-box .iac-lang-option {
    font-size: 1rem;
    cursor: pointer;
    margin: 0 5px;
}

.iac-lang-switcher-box .iac-lang-option:hover {
    text-decoration: underline;
}

.iac-lang-switcher-box .iac-lang-option.active {
    font-weight: bold;
    color: #047bcb;
}