html,
body {
    font-family: "Segoe UI", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #F8FAFC;
    color: #1E293B;
}

a,
.btn-link {
    color: #2563EB;
    text-decoration: none;
}

    a:hover,
    .btn-link:hover {
        color: #1D4ED8;
    }

/* Primäre Buttons */

.btn-primary {
    color: #FFFFFF;
    background-color: #2563EB;
    border-color: #2563EB;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .btn-primary:hover {
        background-color: #1D4ED8;
        border-color: #1D4ED8;
    }

    .btn-primary:active,
    .btn-primary:focus {
        background-color: #1E40AF;
        border-color: #1E40AF;
    }

/* Fokus-Effekte */

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    border-color: #93C5FD;
    box-shadow: 0 0 0 0.1rem #FFFFFF, 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.content {
    padding-top: 1.1rem;
}

h1,
h2,
h3,
h4,
h5 {
    color: #0F172A;
    font-weight: 600;
}

    h1:focus {
        outline: none;
    }

/* Validierung */

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #22C55E;
    border-radius: 6px;
}

.invalid {
    outline: 1px solid #EF4444;
    border-radius: 6px;
}

.validation-message {
    color: #DC2626;
    font-size: 0.875rem;
}

/* Fehleranzeige */

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2...) no-repeat 1rem center/1.5rem, #FEF2F2;
    border: 1px solid #FECACA;
    border-left: 5px solid #EF4444;
    border-radius: 12px;
    padding: 1rem 1rem 1rem 3.7rem;
    color: #991B1B;
    margin: 1rem 0;
}

    .blazor-error-boundary::after {
        content: "Ein Fehler ist aufgetreten.";
    }

/* Checkboxen */

.darker-border-checkbox.form-check-input {
    border-color: #94A3B8;
}

.form-check-input:checked {
    background-color: #2563EB;
    border-color: #2563EB;
}

/* Floating Labels */

.form-floating > .form-control,
.form-floating > .form-control-plaintext {
    border-radius: 10px;
    border-color: #CBD5E1;
}

    .form-floating > .form-control:focus {
        border-color: #93C5FD;
    }

    .form-floating > .form-control-plaintext::placeholder,
    .form-floating > .form-control::placeholder {
        color: #94A3B8;
        text-align: end;
    }

    .form-floating > .form-control-plaintext:focus::placeholder,
    .form-floating > .form-control:focus::placeholder {
        text-align: start;
    }

/* Karten / Container */

.card {
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

/* Tabellen */

.table {
    background: #FFFFFF;
}

    .table thead {
        background: #EEF6FF;
        color: #1E293B;
    }


.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
    text-align: center;
    /*background-color: #FFFFFF;*/
}

/* Badge oben */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #1D431F;
    background-color: #F6F9F6;
    border: 1px solid #DCEEDD;
    margin-bottom: 2rem;
}

    .hero-badge .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #5FB8AE;
    }

/* Headline */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1F1F1F;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* Subtext */
.hero-subtitle {
    font-size: 1.1rem;
    color: #4D6A4E;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

/* Actions */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Button (dein Brand + größer wie im Screenshot) */
.hero-btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-radius: 10px;
}

/* Link unter Button */
.hero-link {
    font-size: 0.95rem;
    color: #3A5A40;
    text-decoration: none;
}

.hero-link:hover {
    text-decoration: underline;
}

/* =========================
   FOOTER (sticky bottom)
========================= */

.app-footer {
    margin-top: auto;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #3A5A40;
    border-top: 1px solid #e5e7eb;
    /*background: #ffffff;*/
}

    .app-footer a,
    .app-footer a:visited {
        color: #3A5A40 !important;
        text-decoration: none !important;
    }

        .app-footer a:hover {
            color: #111827;
            text-decoration: underline !important;
        }

.app-topbar a.topbar-link {
    color: #3A5A40 !important;
}

    .app-topbar a.topbar-link[class*="active"] {
        color: #3A5A40 !important;
    }

/* Toast entfernen, wenn leer*/
.e-toast-container:has(.e-toast:empty) {
    display: none !important;
}

/* =========================
   PAGE LAYOUT
========================= */

.page {
    min-height: 100vh;
    display: flex;
}

    .page main {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        flex: 1;
    }


        /* =========================
   CONTENT
========================= */

        .page main .content {
            flex: 1;
        }


/* =========================
   FOOTER
========================= */

.app-footer {
    flex-shrink: 0;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #2563eb;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.app-footer a,
.app-footer a:visited 
{
        color: #2563eb !important;
        text-decoration: none !important;
}

.app-footer a:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}