:root {
    /* Font-Familien und Schriftgrößen */
    --font-family: 'Roboto', Helvetica, Arial, sans-serif;
    /* Farben */
    --primary-color: #7D9DB9; /* Primärfarbe für BG etc. */
    --secondary-color: rgba(58, 141, 255, 0.87); /* Sekundärfarbe - Mittelblau, modern und frisch */
    /* Weitere Akzentfarben */
    --accent-color-1: #ffc107; /* Akzentfarbe 1 (Gelb) */
    --accent-color-2: #7D9DB9; /* Akzentfarbe 2 - Helleres, modernes Blau */
    /* Hintergrund- und Textfarben */
    --container-color: #F3F4F6;
    --container-border: var(--secondary-color);
    --background-color: var(--primary-color); /* Hintergrundfarbe Primär */

    --button-color: var(--secondary-color); /* Modernes Mittelblau für den Button */
    --button-color-hover: #2A7DF5; /* Sattes Blau beim Hover */
    --button-color-click: #1A6DED; /* Kräftiges Blau beim Klick */
    --button-color-focus: #4FA3FF; /* Helleres Blau nach dem Klick */

    --text-color: #F0F8FF; /* Standard Textfarbe */
    --text-color-hover: #ffd60a;
    --heading-color: var(--secondary-color); /* Überschrift Farbe */
    --error-color: #960513;
    --color-shadow: rgba(0, 0, 0, 0.1);
}
@font-face {
    font-family: var(--font-family);
    font-weight: normal;
}

.headline {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}

a, .btn-link {
    color: #006bb7;
}


a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

    a:hover {
        color: var(--accent-color-1);
    }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--secondary-color);
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


/* Text Styling (über dem Spinner) */
.loading-text {
    margin-bottom: 40px; /* Abstand zwischen Text und Spinner */
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color-2);
    text-align: center; /* Text wird zentriert */
}

/* Lade-Spinner */
.loading-spinner {
    width: 6px; /* Kleinere Größe für den Spinner */
    height: 6px;
    margin: auto; /* Horizontales Zentrieren */
    display: block;
    border-radius: 50%; /* Rundes Element */
    animation: mulShdSpin 1.3s infinite linear;
    color: var(--accent-color-2);
    margin-bottom: 30px; /* Abstand zwischen Text und Spinner */
}

@keyframes mulShdSpin {
    0%, 100% {
        box-shadow: 0 -1em 0 0.075em, 0.75em -0.75em 0 0em, 1em 0 0 -0.375em, 0.75em 0.75em 0 -0.375em, 0 1em 0 -0.375em, -0.75em 0.75em 0 -0.375em, -1em 0 0 -0.375em, -0.75em -0.75em 0 0;
    }

    12.5% {
        box-shadow: 0 -1em 0 0, 0.75em -0.75em 0 0.075em, 1em 0 0 0, 0.75em 0.75em 0 -0.375em, 0 1em 0 -0.375em, -0.75em 0.75em 0 -0.375em, -1em 0 0 -0.375em, -0.75em -0.75em 0 -0.375em;
    }

    25% {
        box-shadow: 0 -1em 0 -0.2em, 0.75em -0.75em 0 0, 1em 0 0 0.075em, 0.75em 0.75em 0 0, 0 1em 0 -0.375em, -0.75em 0.75em 0 -0.375em, -1em 0 0 -0.375em, -0.75em -0.75em 0 -0.375em;
    }

    37.5% {
        box-shadow: 0 -1em 0 -0.375em, 0.75em -0.75em 0 -0.375em, 1em 0 0 0, 0.75em 0.75em 0 0.075em, 0 1em 0 0, -0.75em 0.75em 0 -0.375em, -1em 0 0 -0.375em, -0.75em -0.75em 0 -0.375em;
    }

    50% {
        box-shadow: 0 -1em 0 -0.375em, 0.75em -0.75em 0 -0.375em, 1em 0 0 -0.375em, 0.75em 0.75em 0 0, 0 1em 0 0.075em, -0.75em 0.75em 0 0, -1em 0 0 -0.375em, -0.75em -0.75em 0 -0.375em;
    }

    62.5% {
        box-shadow: 0 -1em 0 -0.375em, 0.75em -0.75em 0 -0.375em, 1em 0 0 -0.375em, 0.75em 0.75em 0 -0.375em, 0 1em 0 0, -0.75em 0.75em 0 0.075em, -1em 0 0 0, -0.75em -0.75em 0 -0.375em;
    }

    75% {
        box-shadow: 0 -1em 0 -0.375em, 0.75em -0.75em 0 -0.375em, 1em 0 0 -0.375em, 0.75em 0.75em 0 -0.375em, 0 1em 0 -0.375em, -0.75em 0.75em 0 0, -1em 0 0 0.075em, -0.75em -0.75em 0 0;
    }

    87.5% {
        box-shadow: 0 -1em 0 0, 0.75em -0.75em 0 -0.375em, 1em 0 0 -0.375em, 0.75em 0.75em 0 -0.375em, 0 1em 0 -0.375em, -0.75em 0.75em 0 0, -1em 0 0 0, -0.75em -0.75em 0 0.075em;
    }
}
