/* Grundlegende Stile für die Seite */
body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  background-image: url('../Bilder/jwst1.jpg');
  background-color: #000;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  font-family: 'Helvetica Neue Light', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header-Styling */
header {
  padding: 5px;
  background-color: #000;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  margin-top: 10px;
}

.logo-image {
  max-width: 50px;
  height: auto;
  margin: 0 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  pointer-events: auto;
}

.nav-menu a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 5px 0;
}

.lang-select {
  color: #fff;
  background-color: #000;
  border: 1px solid #fff;
  font-family: 'Helvetica Neue Light', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
  font-size: 1em;
  margin-left: 10px;
  padding: 2px;
}

.lang-select option {
  color: #000;
  background-color: #fff;
}

/* Hamburger-Menü */
.menu-toggle {
  display: none;
  font-size: 1.5em;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 5px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  pointer-events: auto;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
  transition: all 0.3s ease;
}

.nav-menu.active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  background-color: #000;
  padding: 10px 0;
  z-index: 15;
}

.nav-menu.active a {
  margin: 10px 0;
  font-size: 1.2em;
}

.nav-menu.active .lang-select {
  margin: 10px 0;
  font-size: 1.2em;
  width: 100%;
}

/* Hauptinhalt */
main {
  padding: 20px;
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

h1 {
  font-size: 2em;
  margin: 0 0 15px 0;
  color: #fff;
  text-align: center;
}

h1 span:nth-child(2), h1 span:nth-child(3) {
  color: #fff;
}

p {
  font-size: 1em;
  margin: 0 0 15px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.5;
}

.hero-image {
  width: 100%;
  max-width: calc(100% - 50px);
  max-height: 50vh;
  height: auto;
  object-fit: contain;
  margin: 5px auto;
  pointer-events: auto;
}

.link-buttons {
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px auto;
  text-align: center;
}

.angel-link {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 140px; /* Extra Platz für Text */
  text-decoration: none;
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.angel-link:hover, .angel-link:active {
  transform: scale(1.1);
}

.angel-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.angel-link span {
  color: #fff;
  font-size: 0.9em;
  margin-top: 5px;
  text-align: center;
}

@keyframes pulse {
  0% { box-shadow: 0 0 5px #00B7EB; }
  50% { box-shadow: 0 0 15px #00B7EB; }
  100% { box-shadow: 0 0 5px #00B7EB; }
}

/* Footer */
footer {
  padding: 5px;
  background-color: #000;
  text-align: center;
}

footer p {
  display: block;
  font-size: 0.9em;
  margin: 5px auto;
  text-align: center;
  color: #fff;
}

footer a {
  color: #fff;
  text-decoration: none;
  display: inline;
}

footer a:visited {
  color: #fff;
}

footer a:hover {
  color: #00B7EB;
}

.ssl-seal {
  display: block;
  margin: 10px auto;
  text-align: center;
}

.ssl-seal a {
  font-size: 0.8em;
  color: #fff;
  text-decoration: none;
}

/* Responsive Anpassungen für Tablets */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
  }
  header {
    flex-direction: column;
    align-items: center;
  }
  .logo-image {
    max-width: 40px;
    height: auto;
  }
  main {
    padding: 10px;
  }
  h1 {
    font-size: 1.5em;
    margin: 5px 0 10px 0;
  }
  p {
    font-size: 0.9em;
    margin: 5px 0 10px 0;
  }
  .hero-image {
    max-width: calc(100% - 20px);
    max-height: 40vh;
  }
  .link-buttons {
    gap: 8px;
  }
  .angel-link {
    width: 70px;
    height: 90px; /* Extra Platz für Text */
  }
  .angel-image {
    width: 70px;
    height: 70px;
  }
  .angel-link span {
    font-size: 0.8em;
  }
  footer p {
    font-size: 0.8em;
    margin: 3px auto;
  }
  .nav-menu a {
    font-size: 1em;
    padding: 5px;
  }
  .lang-select {
    font-size: 1em;
    width: 100%;
    margin: 5px 0;
  }
}

/* Responsive Anpassungen für Smartphones */
@media (max-width: 480px) {
  h1 {
    font-size: 1.2em;
  }
  p {
    font-size: 0.8em;
  }
  .hero-image {
    max-height: 30vh;
  }
  .nav-menu.active a {
    font-size: 1em;
  }
}

/* Media Query für Querformat auf Mobilgeräten */
@media (max-width: 768px) and (orientation: landscape) {
  body {
    background-position: center top;
  }
  .hero-image {
    max-height: 50vh;
    width: auto;
    object-fit: contain;
  }
}