/* Grundkonfiguration */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fcfcfc;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: linear-gradient(135deg, #0033a0 0%, #002266 100%); /* Tiefes Mongolisch-Blau */
    color: #fff;
    padding: 40px 0;
    text-align: center;
    border-bottom: 5px solid #da291c; /* Signalrot */
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

header p {
    font-size: 1.1rem;
    color: #ffc72c; /* Gold/Gelb */
}

/* Navigation */
nav {
    background-color: #222;
    sticky: top;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

nav ul li a:hover, nav ul li a.active {
    background-color: #0033a0;
    color: #fff;
    border-bottom: 3px solid #ffc72c;
}

/* Hauptbereich & Sektionen */
main {
    padding: 40px 0;
}

section {
    margin-bottom: 50px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

h2, h3 {
    color: #0033a0;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Grids und Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.card {
    background: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #0033a0;
    border-radius: 4px;
}

.card h4 {
    margin-bottom: 10px;
    color: #222;
}

.card h4 a {
    color: #0033a0;
    text-decoration: none;
}

.card h4 a:hover {
    text-decoration: underline;
}

.card ul {
    list-style-type: square;
    margin-left: 20px;
}

.card ul li {
    margin-bottom: 8px;
}

.card ul li a {
    color: #333;
    text-decoration: none;
}

.card ul li a:hover {
    color: #da291c;
    text-decoration: underline;
}

/* Jahresarchiv Links */
.archive-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.archive-links a {
    background: #0033a0;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.archive-links a:hover {
    background: #da291c;
}

/* Footer */
footer {
    background-color: #111;
    color: #aaa;
    padding: 30px 0;
    font-size: 0.9rem;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

footer ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

footer ul li a {
    color: #aaa;
    text-decoration: none;
}

footer ul li a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}