/* Grundlegende Stile */
body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  background-image: url('../Bilder/mondfinsternis.jpg');
  background-color: #000;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed !important;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  font-family: 'Helvetica Neue Light', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
  padding: 10px;
  background-color: #000;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo-image {
  max-width: 60px;
  height: auto;
  margin: 0 15px;
  object-fit: contain;
}

.shop-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  padding: 10px;
  transition: color 0.3s ease;
}

.shop-link:hover {
  color: #00B7EB;
}

.lang-select {
  color: #fff;
  background-color: #000;
  border: 1px solid #fff;
  font-size: 1.3rem;
  padding: 10px;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.lang-select:hover {
  border-color: #00B7EB;
}

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

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

section {
  padding: 40px 0.8cm;
  max-width: 800px;
  margin: 0 auto;
}

.content-item {
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 8px;
  margin: 10px 0;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
  animation: fadeIn 1.2s ease-in;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

h1.content-item, h2.content-item {
  text-align: center;
}

h1.content-item {
  font-size: 2.8rem;
  font-weight: 300;
}

h2.content-item {
  font-size: 2rem;
}

p.content-item {
  font-size: 1.3rem;
  line-height: 1.6;
}

p.content-item.highlight {
  font-weight: bold;
  text-align: center;
}

.hero-image, .section-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  max-height: 600px;
  object-fit: contain;
  margin: 20px 0;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image {
  margin-top: 10px;
}

.hero-image:hover, .section-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 183, 235, 0.7);
}

.spacer {
  margin-top: 40px;
}

.canvas-container {
  max-width: 800px;
  margin: 20px auto;
  position: relative;
}

#visualizer {
  width: 100vw;
  max-width: 100%;
  height: 400px;
  border: 2px solid #ff0;
  background-color: rgba(0, 0, 0, 1);
}

.start-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 40px;
  font-size: 1.5rem;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
  border: 2px solid #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.start-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: #00B7EB;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.gallery-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  max-height: 600px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 183, 235, 0.7);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 20px 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.profile {
  text-align: center;
  margin: 20px 0;
}

.image-frame {
  max-width: 300px;
  margin: 0 auto;
}

.profile-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 183, 235, 0.7);
}

.highlight-link {
  font-weight: bold;
  color: #00B7EB;
  text-decoration: underline;
  transition: transform 0.3s ease;
}

.highlight-link:hover {
  transform: scale(1.1);
}

a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #00B7EB;
}

.footer-link {
  color: #fff;
  text-decoration: none;
}

.footer-link:hover {
  color: #00B7EB;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

footer {
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
}

footer p {
  font-size: 1rem;
  margin: 10px auto;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  body {
    background-attachment: fixed !important;
    background-position: center center;
    background-size: contain;
    overflow-x: hidden;
  }
  header {
    padding: 10px;
    background-color: #000;
  }
  .logo-image {
    max-width: 50px;
  }
  .shop-link {
    font-size: 1.1rem;
    padding: 8px;
  }
  .lang-select {
    font-size: 1.1rem;
    padding: 8px;
  }
  main {
    padding: 0;
  }
  section {
    padding: 20px 0;
    margin: 0;
  }
  .content-item {
    margin: 10px 0;
    margin-left: 0;
    margin-right: 0;
  }
  h1.content-item {
    font-size: 2.3rem;
  }
  h2.content-item {
    font-size: 1.7rem;
  }
  p.content-item {
    font-size: 1.1rem;
  }
  .hero-image, .section-image {
    max-height: 400px;
    width: 100vw;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .gallery-image {
    max-height: 400px;
    width: 100vw;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  #visualizer {
    width: 100vw;
    max-width: 100%;
    height: 200px;
    margin: 0;
  }
  .start-button {
    padding: 15px 30px;
    font-size: 1.2rem;
  }
  .profile-image {
    max-width: 200px;
  }
  footer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  body {
    background-attachment: fixed !important;
    background-position: center center;
    background-size: contain;
    overflow-x: hidden;
  }
  main {
    padding: 0;
  }
  section {
    padding: 20px 0;
    margin: 0;
  }
  .content-item {
    margin: 10px 0;
    margin-left: 0;
    margin-right: 0;
  }
  h1.content-item {
    font-size: 1.8rem;
  }
  h2.content-item {
    font-size: 1.4rem;
  }
  p.content-item {
    font-size: 1rem;
  }
  .hero-image, .section-image {
    max-height: 300px;
    width: 100vw;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .gallery-image {
    max-height: 300px;
    width: 100vw;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  #visualizer {
    width: 100vw;
    max-width: 100%;
    height: 180px;
    margin: 0;
    border: 2px solid #ff0;
    background-color: rgba(0, 0, 0, 1);
  }
  .start-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
  .profile-image {
    max-width: 150px;
  }
  footer p {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  body {
    background-position: center center;
    background-size: contain;
  }
  #visualizer {
    width: 100vw;
    max-width: 100%;
    height: 200px;
  }
}