/* Allgemein */
body {
    font-family: Tahoma, sans-serif;
    margin: 0;
    background: #f5f5f5;
}

/* Hintergrund-Logo */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images/Logo.png') center center no-repeat;
    background-size: 70%; /* Größe anpassen */
    opacity: 0.05; /* Schwache Sichtbarkeit */
    z-index: -1; /* Hinter allem */
    pointer-events: none; /* Klicks nicht blockieren */
}

/* Smooth Scroll + Offset für Sticky Header */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Header Layout */
header {
    background: linear-gradient(135deg, #009688, #00695c);
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    min-height: 90px;
}

.header-left img {
    width: 60px;
    height: auto;
}

.header-center {
    text-align: center;
}

.header-center h1 {
    margin: 0;
    font-size: 1.6rem;
}

.header-right {
    text-align: right;
}

/* Hamburger Icon */
.hamburger {
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* Vollbild-Menü */
#mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 150, 136, 0.95), /* Blaugrün mit 80% Deckkraft */
        rgba(0, 105, 92, 0.95)   /* Dunkler Blaugrün mit 80% Deckkraft */
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    z-index: 9999; /* hoch genug über Header */
}

#mobile-menu.open {
    left: 0;
}

#mobile-menu a {
    color: white;
    font-size: 24px;
    margin: 15px 0;
    text-decoration: none;
}

#menu-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 36px;
    color: white;
    cursor: pointer;
}

footer {
    background-color: #00695c;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
}

/* Mannschaftsfoto Container */
.team-photo {
    text-align: center;
    margin-bottom: 2rem;
}

/* Bild-Styling */
.team-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Anfangszustand mit Zoom-Out */
.team-photo.fade-section {
    opacity: 0;
    transform: scale(0.9);
}

/* Sichtbar-Zustand */
.team-photo.fade-section.show {
    opacity: 1;
    transform: scale(1);
}

/* Sections */
section {
    padding: 2rem;
    max-width: 900px;
    margin: auto;
}

/* Fade-In für Sections */
.fade-section {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-section.show {
    opacity: 1;
    transform: translateY(0);
}

/* Karten-Layout */
.team, .dates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

/* Karten Zoom-In Animation */
.card.fade-section {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.fade-section.show {
    opacity: 1;
    transform: scale(1);
}

#links ul, #downloads ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#links li, #downloads li {
    margin-bottom: 0.5rem;
}

a {
    color: #007f7f; /* blaugrün Vereinsfarbe */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #00cccc;
}

.link-gruppe {
    margin-bottom: 1.5rem;
}

.link-gruppe h3 {
    color: #004f4f; /* dunkler Blaugrün-Ton */
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.link-gruppe ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-gruppe li {
    margin-bottom: 0.4rem;
}

.link-gruppe a {
    color: #007f7f;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.link-gruppe a:hover {
    color: #00cccc;
}

.social-icons {
    display: flex;
    justify-content: left;
    gap: 30px;
}

.social-icons a svg {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover svg {
    transform: scale(1.15);
    opacity: 0.85;
}