/* Zentrales Design - Heimatverein Dedensen */
:root {
    --brand-red: #8b0000;
    --brand-red-light: #a52a2a;
    --bg-warm: #fdfaf5;
    --text-main: #2c1e1e;
}

body {
    font-family: 'Georgia', serif; /* Klassischerer Look */
    background-color: #f4ece1;
    color: var(--text-main);
    margin: 0;
    padding: 0;
}

#page-wrapper {
    max-width: 980px;
    margin: 30px auto;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 10px solid var(--brand-red);
}

header {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-warm);
}

header h1 {
    margin: 0;
    font-size: 2.8em;
    color: var(--brand-red);
    letter-spacing: 1px;
}

/* Navigation - Ohne JS */
nav {
    background: var(--brand-red);
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    display: block;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

nav ul li a:hover, nav ul li a.active {
    background: var(--brand-red-light);
    text-decoration: underline;
}

/* Inhaltsbereich */
main {
    padding: 50px;
    min-height: 400px;
}

h2 {
    color: var(--brand-red);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* Speziell für Vorstand (Kacheln) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    border: 1px solid #ddd;
    padding: 20px;
    background: #fcfcfc;
}

.card strong { color: var(--brand-red); }

footer {
    background: #333;
    color: #ccc;
    text-align: center;
    padding: 20px;
    font-size: 0.85em;
}

footer a { color: #fff; text-decoration: none; }

/* --- Styles für die Startseite --- */

.intro-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    line-height: 1.8;
    font-size: 1.1em;
}

.intro-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.veranstaltungs-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--brand-red);
    text-align: center;
}

.veranstaltungs-bild {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Styles für die Download-Seite --- */

.download-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    background: #f9f9f9;
    transition: background 0.3s;
}

.download-item:hover {
    background: #fdfaf5;
    border-color: var(--brand-red);
}

.download-info {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: bold;
    color: var(--brand-red);
    text-decoration: none;
}

.file-meta {
    font-size: 0.85em;
    color: #666;
}

.download-button {
    background: var(--brand-red);
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: bold;
}

.download-button:hover {
    background: var(--brand-red-light);
}
