/* Grundlegendes Styling für den Body */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/* Farben für Lightmode und Darkmode */
:root {
  --bg-color-light: #ffffff;
  --bg-color-dark: #121212;
  --text-color-light: #000000;
  --text-color-dark: #ffffff;
}

body.light-mode {
  --bg-color: var(--bg-color-light);
  --text-color: var(--text-color-light);
}

body.dark-mode {
  --bg-color: var(--bg-color-dark);
  --text-color: var(--text-color-dark);
}

/* Zusätzliche Stile für die anderen Elemente */
header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-color);
  border-bottom: 1px solid #ddd;
}

.change-theme-button {
  cursor: pointer;
  font-size: 1.5rem;
}

.home-link {
  font-size: 18px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: color 0.3s;
  text-align: left;
}

.home-link:hover {
  color: #28c23e; /* Grüne Farbe beim Hover */
  cursor: pointer; /* Hand-Cursor */
}

.change-theme {
  font-size: 20px;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  font-weight: bold;
}

.change-theme:hover {
  color: #28c23e;
}

  
  /* Main Styling */
  .impressum-container {
    padding: 20px;
    margin-top: 40px;
  }
  
  .impressum-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: green; /* Setzt die gewünschte Farbe */
  }
  
  .impressum-text {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
  }
  
  /* Anpassungen für kleine Bildschirme */
  @media (max-width: 768px) {
    .impressum-container {
      padding: 10px;
    }
  
    .home-link {
      font-size: 16px;
    }
  
    .impressum-title {
      font-size: 1.5rem;
    }
  }
  

  /* Standardfarbe des Impressum-Links */
.impressum-link {
    color: #333; /* Dunkelgrau als Standardfarbe */
    text-decoration: none; /* Entfernt die Unterstreichung */
}

/* Farbe ändern, wenn der Benutzer mit der Maus über den Link fährt */
.impressum-link:hover {
    color: green; /* Setzt die Farbe auf Grün, wenn die Maus über den Link geht */
}