/* Grundlegende Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(45deg, #D3D3D3, #000000, #000000, #D3D3D3);
    min-height: 100vh; /* Sicherstellen, dass der Hintergrund die gesamte Höhe abdeckt */
    background-size: 300% 300%;
    animation: colorShift 20s ease infinite;
    color: white;
}
@keyframes colorShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
#enterWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 2rem; /* oder mehr bei Bedarf */
}
.enter-label {
  margin-top: 0.8rem;
  font-size: 1.1rem;
  color: #ffffffaa;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: Arial, sans-serif;
}
#enterWrapper:hover .enter-label {
  opacity: 1;
}
/* Optional: animiertes Erscheinen auf Touch-Geräten */
@media (hover: none) and (pointer: coarse) {
  .enter-label {
    opacity: 1;
    animation: fadeHint 2s infinite;
  }

  @keyframes fadeHint {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.3; }
  }
}
.logo-wrapper:hover .enter-label {
  opacity: 1;
}

.logo-border {
  position: relative;
  padding: 12rem;
  border-radius: 5%;
  background: black;
  overflow: hidden;
  animation: breathe 4s ease-in-out infinite;
}

.logo-border::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #ffffff8e,
    #a6a4ad63 30%,
    #2c7889 60%,
    #ffffff8e
  );
  animation: spinRing 12s linear infinite;
  filter: blur(1px);
  z-index: 0;
}

.logo-border::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 20px 20px;
  transform: translate(-50%, -50%) scale(0.5);
  animation: particleDrift 6s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.3;
}

@keyframes spinRing {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

@keyframes particleDrift {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.3; }
  50%  { transform: translate(-50%, -50%) scale(0.55); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.3; }
}
.logo-border img {
  position: relative;
  z-index: 1;
  border-radius: 10%;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: white;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  margin-top: 0.5cm; /* oder z. B. 60px */ 
}

.logo-border {
  padding: 1rem;
  border: 3px solid white;
  border-radius: 100%;
  animation: pulseBorder 2s infinite ease-in-out;
}

.main-logo {
  height: 100px;
  width: auto;
}

@keyframes pulseBorder {
  0%, 100% {
    box-shadow: 0 0 5px white;
  }
  50% {
    box-shadow: 0 0 20px silver;
  }
}

#main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

#main-menu a {
  text-decoration: none;
  font-size: 1.5rem;
  color: white;
  border: 2px solid white;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

#main-menu a:hover {
  background: white;
  color: black;
}
		
/* ——— Active-site bird indicator ——— */
.bird{
  position: fixed;
  top: 22vh;                 /* Start-Höhe (anpassbar) */
  left: -12vw;               /* Start leicht außerhalb */
  width: 56px;               /* Vogelgröße (56–72px gut) */
  height: 28px;
  pointer-events: none;      /* blockiert keine Klicks auf den Kreis */
  z-index: 4;                /* über Hintergrund, unter Modals */
  animation: birdFlight 4s linear infinite;   /* alle 4s */
  opacity: 0;
  filter: drop-shadow(0 2px 6px rgba(255,255,255,.25));
}

.bird-svg .body{
  fill: rgba(255,255,255,.8);
}

.bird-svg .wing{
  fill: rgba(255,255,255,.85);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: flap .55s ease-in-out infinite;
}

/* leichte gegenläufige Flügelbewegung */
.bird-svg .wing-left { animation-delay: .1s; }

/* Flugbahn quer durchs Bild mit sanfter Höhenwelle */
@keyframes birdFlight{
  0%   { transform: translateX(-12vw) translateY(0vh)   scale(1);   opacity: 0; }
  8%   { opacity: .9; }
  45%  { transform: translateX(50vw)  translateY(-3vh)  scale(1.03); }
  92%  { opacity: .9; }
  100% { transform: translateX(112vw) translateY(0vh)   scale(1);   opacity: 0; }
}

/* Flügelschlag */
@keyframes flap{
  0%,100% { transform: rotate(8deg);  }
  50%     { transform: rotate(-8deg); }
}

/* Weniger Ablenkung, wenn Nutzer reduzierte Bewegung wünscht */
@media (prefers-reduced-motion: reduce){
  .bird, .bird-svg .wing{ animation: none !important; opacity: .0; }
}
