.ladehinweis {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    color: var(--color-text, #2c2f31);
    padding: 16px;
}

.ladehinweis-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 2px solid currentColor;
    border-radius: 16px;
    background: transparent;
    padding: 24px 40px;
    max-width: 100%;
    text-align: center;
}

.ladehinweis-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    animation: ladehinweis-puls 1.4s ease-in-out infinite;
}

.ladehinweis.ladehinweis-dunkel {
    color: #f4f6f5;
}

.ladehinweis.ladehinweis-dunkel .ladehinweis-logo {
    filter: invert(1);
}

.ladehinweis-text {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.ladehinweis-punkte {
    display: inline-block;
    width: 1.2em;
    text-align: left;
}

.ladehinweis-punkte::after {
    content: "";
    animation: ladehinweis-punkte 1.4s steps(1, end) infinite;
}

.ladehinweis-abbrechen {
    font: inherit;
    cursor: pointer;
    border: 2px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    padding: 8px 22px;
    min-height: 44px;
}

.ladehinweis-abbrechen:hover,
.ladehinweis-abbrechen:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 2px;
}

.ladehinweis-meldung {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 100001;
    background: var(--color-header, #292b2c);
    color: #fff;
    border-radius: 8px;
    padding: 10px 18px;
}

@keyframes ladehinweis-puls {
    0%, 100% { opacity: 0.2; transform: scale(0.94); }
    50% { opacity: 1; transform: scale(1.04); }
}

@keyframes ladehinweis-punkte {
    0% { content: ""; }
    25% { content: "."; }
    50% { content: ".."; }
    75% { content: "..."; }
}

@keyframes ladehinweis-puls-ruhig {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .ladehinweis-logo {
        animation-name: ladehinweis-puls-ruhig;
    }
}
