* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100vw;
  height: 100vh;
  background-color: black;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.4s ease;
  font-family: 'Jost', sans-serif;
  overflow: hidden;
}

.title {
  position: absolute;
  top: 1%;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: clamp(0.4rem, 1.49vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: white;
  z-index: 10;
  pointer-events: none;
}

canvas#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  background: transparent;
  touch-action: none;
}

#bg-media {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: black;
}

#bg-media img,
#bg-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: black;
}

.contact-link {
  position: fixed;
  top: 0.2rem;
  left: 1.5rem;
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.4rem, 1.49vw, 1.2rem);
  font-weight: 600;
  color: white;
  text-decoration: none;
  z-index: 30;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.contact-link:hover {
  opacity: 0.7;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
  .title {
    top: 1rem;
    font-size: 0.9rem;
  }
  .contact-link {
    top: 1rem;
    left: 1rem;
    font-size: 0.9rem;
  }
}

.hover-tooltip {
  position: fixed;
  pointer-events: none;
  z-index: 100;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: white;
  background: rgba(0,0,0,0.7);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  transform: translate(-50%, 10px);
}
.hover-tooltip.visible {
  opacity: 1;
}