body {
  font-family: Tahoma, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}
header, footer {
  background: #e0f0ff;
  padding: 1rem 2rem;
  text-align: center;
  position: relative;
}
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
nav a {
  color: #2a84a0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, transform 0.3s;
}
nav a:hover {
  color: #155d76;
  transform: scale(1.05);
}
.hero {
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
  min-height: 2rem; 
}
}
.hero h1 {
  font-size: 1.35rem;
  margin: 0;
color: white;
  text-shadow: 1px 1px 4px #333;
}
.hero p {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;               /* ÄNDERUNG: Setzt alle Außenabstände auf 0, damit der Text perfekt mittig fließt */
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
main:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
/* Aktiviert Blocksatz für alle normalen Textabschnitte auf allen Seiten */
main p {
  text-align: justify;
  hyphens: auto; /* Aktiviert die automatische Silbentrennung, damit im Blocksatz keine riesigen Lücken zwischen den Wörtern entstehen */
}
.site-title {
    /* Kopiert das Standard-Verhalten einer H1-Überschrift */
    display: block; 
    font-size: 1rem;         /* Ändern Sie dies, falls Ihre H1 eine spezielle Größe hatte */
    font-weight: bold;      /* Macht den Text fett */
    margin-top: 0.67em;     /* Standard-Abstand nach oben */
    margin-bottom: 0.67em;  /* Standard-Abstand nach unten */
    color: #2a84a0;
    }

h1 {
  color: #2a84a0;
  font-size: 1.15rem;
}

/* NEU & OPTIMIERT: h2 und h3 sind jetzt exakt so groß wie der normale Text */
h2, h3 {
  color: #2a84a0;
  font-size: 1rem;       /* Setzt die Größe auf die normale Textgröße */
  margin: 2rem 0 0.5rem 0; 
}
.menu-toggle {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #2a84a0;
}
@media (max-width: 600px) {
  nav {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  nav.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  
}

