@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Grundlegendes */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Roboto', sans-serif; background: #07335f #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* Header */
header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),  center/cover no-repeat;
    color: #fff;
    text-align: center;
    position: relative;
}
header h1 { font-size: 2.5rem; margin-bottom: 10px; text-shadow: 2px 2px 6px rgba(0,0,0,0.5); }
nav { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
nav a {
    color: #fff; font-weight: 700; padding: 8px 15px;
    border-radius: 5px; transition: 0.3s;
}
nav a:hover { background-color: #ffcc00; color: #000; }

/* Main Content Layout */

main { padding: 30px 0; background-color: #07335f;}

.container-flex { display: flex; gap: 20px; flex-wrap: wrap; }
.main-content { flex: 3; min-width: 300px; }
.sidebar { flex: 1; min-width: 180px; }

/* Aktuelle Begegnung */
.current-match {
    background: #1a73e8; color: #fff;
    padding: 25px; border-radius: 12px;
    text-align: center; font-size: 1.3rem;
    margin-bottom: 25px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* News & Karten */
.news article, .member-card, .event-card {
    background: #fff; padding: 20px; border-radius: 12px;
    box-shadow: 0 4px 10px rgba(151, 137, 137, 0.1);
    margin-bottom: 20px; transition: transform 0.3s, box-shadow 0.3s;
}
.news article:hover, .member-card:hover, .event-card:hover {
    transform: translateY(-5px); box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

/* Member Cards */
.member-card img, .event-card img { width: 100%; border-radius: 12px; margin-bottom: 10px; }

/* Sidebar Sections */
.sidebar section { background: #fff; padding: 15px; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);}
.sidebar h2 { color: #1a73e8; margin-bottom: 15px; }

/* Tabellen */
table { width: 70%; border-collapse: collapse; }
th, td { padding: 8px; border: 1px solid #ddd; text-align: center; }
th { background: #1a73e8; color: #fff; }

/* Buttons */
button, .btn {
    background: #1a73e8; color: #fff; border: none;
    padding: 10px 20px; border-radius: 8px;
    cursor: pointer; font-weight: 700; transition: 0.3s;
}
button:hover, .btn:hover { background: #ffcc00; color: #000; }

/* Footer */
footer {
    background: #1a1a1a; color: #fff; padding: 25px 0;
    text-align: center; margin-top: 30px;
}
footer h2 { color: #ffcc00; margin-bottom: 10px; }

/* Forms */
form input, form textarea, form select, form button {
    width: 100%; padding: 12px; margin-bottom: 10px;
    border-radius: 8px; border: 1px solid #ccc; font-size: 16px;
}
form button { font-weight: 700; }

/* Responsive */
@media(max-width: 1024px) { .container-flex { flex-direction: column; } }
@media(max-width: 768px) {
    nav { flex-direction: column; gap: 10px; }
    .main-content, .sidebar { width: 100%; }
}

/* ===== Gezielte Schriftfarben ===== */
.news > h2 { color: #ffffff; }

.impressum-content,
.impressum-content h1,
.impressum-content h2,
.impressum-content h3,
.impressum-content h4,
.impressum-content p,
.impressum-content li,
.impressum-content strong,
.impressum-content span {
    color: #ffffff;
}

.privacy-content,
.privacy-content h1,
.privacy-content h2,
.privacy-content h3,
.privacy-content h4,
.privacy-content p,
.privacy-content li,
.privacy-content strong,
.privacy-content span {
    color: #ffffff;
}

.privacy-content a,
.impressum-content a {
    color: #9fd3ff;
}