/* Grundlayout / Body */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #ffffff;
    background-color: #003366;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

/* Dunkler Overlay über dem Hintergrundbild, damit der Text lesbarer ist */
.mg-bg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

/* Header / Navbar */
.mg-header {
    position: relative;
    z-index: 10;
    background: linear-gradient(90deg, #00264d, #004b99);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.mg-header .navbar-brand span {
    font-size: 1.2rem;
}

.mg-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Links im Header */
.mg-header .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}

.mg-header .nav-link:hover,
.mg-header .nav-link:focus {
    color: #ffdd88 !important;
}

/* Dropdown-Menüs */
.dropdown-menu {
    font-size: 0.9rem;
}

/* Hauptbereich */
.mg-main {
    position: relative;
    z-index: 5;
    min-height: calc(100vh - 70px - 60px); /* Header + Footer grob abziehen */
}

/* Footer */
.mg-footer {
    position: relative;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
}

/* Karten auf der Home-Seite */
.card {
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card h4 {
    color: #003366;
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 500;
}

.btn-primary {
    background-color: #003366;
    border-color: #003366;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #004b99;
    border-color: #004b99;
}

/* Kleinere Helfer */
.text-shadow {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}
