/* Ladebildschirm */
.boot {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background-color: var(--bg);
    background-image: var(--bg-image, none);
    opacity: 1;
    transition: opacity 300ms var(--ease);
    pointer-events: none;
}

/* Ladebildschirm beim Ausblenden */
.boot.is-hiding {
    opacity: 0;
}

/* Ladebildschirm, wenn der Aufbau scheitert */
.boot.is-failed {
    pointer-events: auto;
}

/* Flächen des Ladebildschirms */
.boot__bg {
    z-index: 1;
}

/* Text des Ladebildschirms */
.boot__text {
    position: relative;
    z-index: 2;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--muted);
    text-align: center;
    max-width: 36ch;
    padding: 0 16px;
}

/* Meldung nach acht Sekunden */
.boot__error {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

/* Knopf „Erneut versuchen“ */
.boot__retry {
    appearance: none;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text);
    background: none;
    border: 1px solid var(--line-strong, rgba(43, 38, 34, 0.38));
    border-radius: 999px;
    padding: 8px 18px;
    cursor: pointer;
    transition: border-color 160ms var(--ease), color 160ms var(--ease);
}

/* Knopf bei Zeigerkontakt und im Tastaturfokus */
.boot__retry:hover,
.boot__retry:focus-visible {
    border-color: var(--line-strong);
    color: var(--text);
}

/* Knopf im Tastaturfokus */
.boot__retry:focus-visible {
    outline: 2px solid var(--line-strong);
    outline-offset: 2px;
}

/* beim Drucken */
@media print {
    .boot {
        display: none !important;
    }
}
