/* ---------- Basis-Schriftgröße für Responsivität ---------- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* ---------- HELIRO Farbdefinitionen ---------- */
:root {
    --heliro-red: #C40000;
    --heliro-white: #ffffff;
    --heliro-dark: #222222;
}

/* ---------- Fokus-Stil für Buttons und Formulare ---------- */
.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 #258cfb;
}

/* ---------- Body-Struktur für Sticky-Footer ---------- */
body {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--heliro-white);
    color: var(--heliro-dark);
}

/* ---------- Hauptinhalt wächst, um Footer unten zu halten ---------- */
main {
    flex: 1 0 auto;
}

    /* ---------- Zentrierter Hauptcontainer ---------- */
    main.container {
        max-width: 960px;
        margin: 0 auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    /* ---------- Hauptüberschriften ---------- */
    main h1 {
        font-size: 2.5rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    main p,
    main .lead {
        font-size: 1.25rem;
        color: #555;
    }

/* ---------- Kopfzeile ---------- */
.heliro-header {
    margin-bottom: 0;
}

/* ---------- Rote Linie unter Header ---------- */
.heliro-underline {
    height: 4px;
    background-color: var(--heliro-red);
    width: 100%;
}

/* ---------- HELIRO-Logo ---------- */
.heliro-logo {
    height: 40px;
    object-fit: contain;
}

/* ---------- Abstand der Navigationspunkte ---------- */
.navbar-nav .nav-item {
    margin-left: 1rem;
}

/* ---------- Logout-Button auffälliger ---------- */
.btn-outline-danger.btn-sm {
    border-width: 1px;
    padding: 0.25rem 0.75rem;
    font-weight: 500;
}

/* ---------- Fußzeile ---------- */
.heliro-footer {
    flex-shrink: 0;
    background-color: var(--heliro-red);
    color: white;
    padding: 1rem 0;
    text-align: center;
}

/* ---------- Links in Fußzeile ---------- */
.heliro-footer a {
     color: #ffffff;
     text-decoration: underline;
}

.heliro-footer a:hover {
    text-decoration: none;
}

/* ---------- Footer-Inhalt zentrieren ---------- */
.heliro-footer .container {
    max-width: 960px;
    margin: 0 auto;
}


.hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
}

/* -------- Stylische App-Kachel -------- */
.dashboard-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa; /* helles Grau */
    border-radius: 1.5rem;
    padding: 2rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    color: var(--heliro-dark);
    text-align: center;
}

.dashboard-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
}

.tile-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.tile-label {
    font-weight: 500;
    font-size: 1.1rem;
}
