:root{
    --primary: #0061a1;
    --secondary: #004b80;
    --bg-light: #f5f8fb;
    --text-dark: #333;
    --danger: #c0392b;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --success: #2ecc71;
    /*DARK MODE COLORS*/
    --dark-main: #1B3C53;

}

html{
    font-family: sans-serif;
    font-size: 14pt;
}

body {
    background-color: white;
    margin: 0;
    padding: 0;
}

.wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.head {
    background-color: #f0f0f0;
    border-bottom: 2px solid #0061a1;
    margin-bottom: 1rem;
    padding: 5px 10px;
}

.header-content {
    display: flex;
    align-items: center;
    margin: 0;
}

.head img {
    height: 55px;
    width: auto;
    display: block;
    flex-shrink: 0;
    margin: 0;
}
.dynamic-main{
    padding-bottom: 100px;
}

.foot{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    background-color: #0061a1;
    display: flex;
    align-items: center; 
    justify-content: center;
}

.footer-nav-list {
    display: flex;
    align-items: center;
    gap: 10px;          /* noch kompakter */
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
}

/* === Error ===*/
/* === Overlay (Hintergrund) === */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.55); /* Abdunklung */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* über allem */
    animation: fadeIn 0.3s ease forwards;
}

/* === Modal selbst === */
.error-modal {
    background: #fff;
    color: #333;
    padding: 2rem 2.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    border-top: 5px solid #d32f2f; /* rot */
    animation: popIn 0.25s ease forwards;
}

.error-modal h2 {
    margin-top: 0;
    color: #d32f2f;
}

.error-modal p {
    font-size: 1.1rem;
    margin: 0.8rem 0 1.5rem;
}

.error-modal button {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.error-modal button:hover {
    background-color: #b71c1c;
}

/* === Animationen === */

.dynamic-main{
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}



