body {
  font-family: Arial, sans-serif;
  background-color: white;
}

.masthead {
  background: url('DSC_0140.jpg') no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.masthead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Dunkelt den Hintergrund ab */
  z-index: 1;
  /* Hinter den Text */
}

.masthead h1,
.masthead p {
  color: #fff;
  /* Weiße Schrift */
  z-index: 2;
  /* Über dem Pseudo-Element */
  position: relative;
}

.masthead h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  /* hinzugefügt */
}

.masthead p {
  font-size: 1.2rem;
  font-weight: 500;
  /* hinzugefügt */
}


section {
  padding: 50px 0;
}

.board-member {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
}


.board-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  /* Verhindert Verzerrung */
  border: 4px solid #ddd;
  /* Optionaler Rahmen */
}


.board-member:hover {
  transform: scale(1.05);
}

.board-member h4 {
  color: #343a40;
  margin-bottom: 15px;
}

.board-member p {
  margin: 5px 0;
  font-size: 1rem;
  color: #555;
}

.container {
  max-width: 1200px;
}

.header-title {
  margin-bottom: 50px;
  text-align: center;
  font-size: 2.5rem;
  color: #343a40;
}

.footer {
  background: #002708;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

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

/* NAVIGATION BAR DESIGN START */
.navbar {
  /* Verwenden wir eine unserer Grüntöne */
  background-color: #0b2e13 !important; /* Grüner Hintergrund */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Subtiler Schatten für Tiefe */
  transition: background-color 0.3s ease;
}

.navbar-brand {
  /* Macht den Markennamen prominenter */
  font-family: 'Anton', sans-serif; 
  font-size: 1.5rem;
  color: #fff !important;
}

.navbar-nav .nav-item {
  margin-left: 20px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important; /* Leichter Weißton */
  padding: 10px 15px;
}

.nav-link:hover {
  color: #ffffff !important; /* Reines Weiß beim Hover */
  background-color: rgba(23, 99, 40, 0.2); /* Sehr dezenter grüner Hintergrund */
  border-radius: 4px;
}
/* NAVIGATION BAR DESIGN END */

/* Header-Styles */
header.black {

  color: #fff;
  padding: 5rem 0;
  /* Dickere Header-Abstände */
}

/* Sportliche und dickere Schrift für den Header */
header h1 {
  font-family: 'Anton', sans-serif;
  font-weight: bold;
  font-size: 3.5rem;
  /* größere Schriftgröße */
}
/* Hervorhebung der AKTUELLEN Seite in der Navigation */
.nav-link.active-page {
  /* Macht den Link fett */
  font-weight: bold !important;
  /* Gibt ihm die reinweiße Farbe, damit er sich auf dem dunklen Hintergrund abhebt */
  color: #ffffff !important;
  /* Fügt einen klaren weißen Strich unten hinzu */
  border-bottom: 2px solid #ffffff;
  /* Stellt sicher, dass der Border-Bottom nicht direkt am Text klebt */
  padding-bottom: 8px;
}
/* ========================================= */
/* ÜBERSCHREIBT DEN ALLGEMEINEN HOVER-EFFEKT FÜR DEN AKTIVEN LINK */
/* ========================================= */
.nav-link.active-page:hover {
  /* Setzt den Hintergrund auf Transparent (entfernt das leichte grüne Rechteck) */
  background-color: transparent !important; 
  
  /* Entfernt die Rundung */
  border-radius: 0 !important; 
  
  /* Stellt sicher, dass die Farbe Weiß bleibt und nicht vom normalen Hover überschrieben wird */
  color: #ffffff !important; 
}
/* ========================================= */
/* MOBILE OPTIMIERUNG FÜR HEADER (unter 767px) */
/* ========================================= */
@media (max-width: 767px) {
    
    /* 1. Logo ausblenden, um Platz zu sparen */
    .header-logo-absolute {
        display: none; 
    }

    /* 2. Suchleiste aus absoluter Positionierung nehmen und unter den Titel setzen */
    .table-card-toolbar {
        position: static; 
        margin-top: 20px; 
        max-width: 100%; 
        transform: none; 
    }
    
    /* 3. Container-Inhalt stapeln (Überschrift über Suche) */
    .header-with-search {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        justify-content: center;
        text-align: center;
    }
    
    /* 4. Schriftgröße für kleine Bildschirme anpassen */
    .header-with-search h1 {
        font-size: 2rem;
    }
}
