header {
  background-color: #C0392B;
  box-shadow: 0px 4px 21px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.favicon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}


.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
}

.logoimg {
  width: 150px;
  border-radius: 20px;
}

.headerlinks {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.headerlinks li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding: 5px 10px;
  transition: color 0.3s;
}

.headerlinks li a:hover {
  color: white;
}

/* Body & Main */
body {
  margin: 0;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  background-color: #FAFAFA;
}

main {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
  flex: 1;
}

h1,
h2,
h3 {
  margin: 20px 0;
}

.headline {
  background-color: rgb(223, 219, 219);
  border-radius: 32px;
  padding: 40px 20px;
  margin-bottom: 40px;
}

/* Mitglied-Formular */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 40px auto;
  background-color: #F2F2F2;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

form input,
form textarea,
form select {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}

form button {
  padding: 12px;
  background-color: #C0392B;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #922B21;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
  background-color: #C0392B;
  color: white;
  word-wrap: break-word;
  /* Lange WÃ¶rter umbrechen */
  overflow-wrap: break-word;
  /* Modernere Variante */
  white-space: normal;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  main {
    margin: 20px;
  }
}


/* ---------- Responsive Header ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: black;
  border-radius: 3px;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .header-container {
    justify-content: space-between;
    padding: 10px 20px;
  }

  .headerlinks {
    position: absolute;
    top: 70px;
    right: 0;
    background: #C0392B;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    width: 200px;
    display: none;
    /* Standard: ausgeblendet */
    box-shadow: 0px 4px 21px rgba(0, 0, 0, 0.5);
    border-radius: 0 0 10px 10px;
  }

  .headerlinks.active {
    display: flex;
    /* wird durch JS aktiviert */
  }

  .menu-toggle {
    display: flex;
    /* Burger-Icon sichtbar machen */
  }
}

.headline h1 {
  font-size: 2.5rem;
  /* Desktop */
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.headline h2 {
  font-size: 1.3rem;
  font-weight: 400;
  text-align: center;
  color: #555;
  margin-bottom: 1.5rem;
}

/* FÃ¼r kleinere Bildschirme */
@media (max-width: 768px) {
  .headline h1 {
    font-size: 1.8rem;
    /* Tablet */
  }

  .headline h2 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .headline h1 {
    font-size: 1.5rem;
    /* Smartphone */
    line-height: 1.3;
  }

  .headline h2 {
    font-size: 1rem;
    line-height: 1.4;
  }
}


.popup {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background: #27ae60;
  color: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  opacity: 1;
  transition: opacity 0.5s ease;
  z-index: 2000;
}


.cta-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-size: 1.1rem;
}

.cta-box a {
  font-weight: bold;
  color: #e0b84c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cta-box a:hover {
  color: #cfa73e;
  text-decoration: underline;
}

.min-height {
  min-height: 100vh;
  /* Stellt sicher, dass der Body mindestens die volle HÃ¶he des Viewports einnimmt */
  display: flex;
  flex-direction: column;
  height: 100%; /* Stellt sicher, dass html und body die volle HÃ¶he haben */
}

.unterschrift {
  width: 250px;
  margin-top: 10px;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.2));
}

.print-btn {
  background-color: #f5f5f5;
  color: #222;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.print-btn:hover {
  background-color: #d1b464; /* Goldton passend zu MVP */
  color: white;
  border-color: #b49430;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.print-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}


footer {
  background-color: #C0392B;
  color: #fff;
  padding: 20px 15px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.95rem;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-logo img {
  width: 55px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.footer-logo p {
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.footer-links a {
  color: #f8d46a; /* Gold */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  font-size: 0.85rem;
  transition: opacity 0.2s ease;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

/* Mobile Ansicht */
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
