/* Allgemein */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  background: linear-gradient(180deg, #9de697, #53a04b);
  color: #000;
  line-height: 1.6;
  padding-bottom: 3rem;
  min-height: 100vh;
}

/* Hauptüberschrift */
h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}

/* Rangüberschriften */
h2 {
  text-align: center;
  color: #fff;
  background-color: #175a11;
  border: 2px solid #0f400d;
  border-radius: 0.4rem;
  padding: 0.5rem 0;
  margin: 1.5rem auto 0.5rem;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

h2:hover {
  color: #5ab951;
  transform: translateY(-2px);
}
/* Mitgliedernamen */
p {
  font-size: 1.1rem;
  text-align: center;
  color: #111;
  margin: 0.2rem 0;
  transition: color 0.3s ease, transform 0.3s ease;
}



/* Link am Ende */
.Beitrittsjahre a {
  display: block;
  text-align: center;
  margin: 2rem auto;
  color: #fff;
  background: #175a11;
  width: fit-content;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;
}

.Beitrittsjahre a:hover {
  background: #0f400d;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 800px) {
  h1 {
    font-size: 2rem;
    margin-top: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
    max-width: 80%;
  }

  p {
    font-size: 1rem;
  }
}

@media (max-width: 500px) {
  body {
    line-height: 1.4;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  p {
    font-size: 0.95rem;
  }

  a {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

