html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: #000;
  padding-left: 4vh;
  padding-right: 4vw;
  margin-top: 6vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 20vh;
}

header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

header img {
  height: 15vh; /* Logo-Größe anpassen */
}

h1 {
  color: #FFC93C;
  font-size: 2.2em;
  margin: 0;
}

.site-footer {
  background: #111;
  padding-top: 5vh;
  padding-bottom: 0.5vh;
  color: #aaa;
  font-size: 0.9rem;
  text-align: center;
  margin-top: auto; /* ✅ Schiebt Footer nach unten */
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: #FFC93C;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

#globeViz {
  flex: 1;
  width: 100vw;
  height: auto;
  overflow: visible;
  position: relative;
}

.karte {
  position: relative;
  max-width: 100%;
  margin: 2rem auto;
}

.karte img {
  width: 100%;
  height: auto;
  display: block;
}

.map-point {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.tooltip {
  display: none;
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0,0,0,0.85);
  color: white;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: pre-line;
  font-size: 0.9rem;
  max-width: 200px;
  text-align: center;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-point:hover .tooltip {
  display: block;
  opacity: 1;
}

nav {
  margin-right: 80px;
}

nav a {
  color: #FFC93C;
  margin-left: 80px;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 10px;
}

.underline {
  text-decoration: underline;
  text-underline-offset: 10px;
}

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

p {
  margin-bottom: 4em;
}

a {
  text-decoration: none;
  color: #aaa;
}

a:hover {
  color: #FFC93C;
}

blockquote {
  border-left: 4px solid #FFC93C;
  padding-left: 20px;
  font-style: italic;
  color: #ddd;
  margin-top: 40px;
}

@keyframes marquee-loop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

h3 {
  margin: 2em;
}

.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  width: 100%;
  background: rgba(0,0,0,0.7);
  height: 40px;
  flex-shrink: 0; /* verhindert, dass Flex ihn zusammendrückt */
  position: relative; /* bleibt im Layoutfluss */
}

.marquee-text {
  margin: 0;
  display: inline-block;
  white-space: nowrap;
  animation: marquee-loop 180s linear infinite;
}

.marquee-text span {
  display: inline-block;
  padding-right: 2rem;
  font-weight: bold;
}

.card {
  margin: 4em;
}

.cloud-btn {
  position: absolute;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cloud-btn:hover {
  transform: scale(1.1);
}

#cloudGood {
  top: 20%;
  left: 10%;
  width: 20vw;
}

#cloudBad {
  top: 20%;
  right: 10%;
  width: 20vw;
}


@media only screen and (max-width: 600px){
  #globeViz {
    flex: 1;
    width: 10vw;
    height: auto;
    overflow: visible;
    position: relative;
  }

  
}