body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background-color: #0d0d0d;
  color: #00ffcc;
}

header {
  background: #1a1a1a;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #00ffcc;
  position: sticky;
  top: 0;
  z-index: 99;
  flex-direction: row;
}

.header-title-logo {
  display: flex;
  align-items: center;
  gap: 14px; /* Abstand zwischen Schrift und Logo */
  width: 90px;
  height: 90px;
}

.header-title-logo h1 {
  margin: 0;
  font-size: 2.1rem;
  font-family: 'Orbitron', sans-serif;
  color: #00ffcc;
  letter-spacing: 0.02em;
}

.header-logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 10px #00ffcc22;
}

.menu-button {
  background: none;
  border: 2px solid #00ffcc;
  color: #00ffcc;
  font-size: 1.8rem;
  padding: .2rem .8rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background .2s, color .2s;
}

.menu-button:active,
.menu-button:focus {
  background: #00ffcc33;
  color: #0d0d0d;
  outline: none;
}

nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #141414;
  flex-direction: column;
  display: none;
  box-shadow: 0 12px 30px #00ffcc20;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), opacity .3s;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  z-index: 9;
}

nav.show {
  display: flex;
  max-height: 80vh;
  opacity: 1;
  overflow-y: auto;
}

nav a {
  color: #00ffcc;
  text-decoration: none;
  padding: 1rem 2rem;
  border-top: 1px solid #222;
  transition: background .3s;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

nav a:hover {
  background: #1f1f1f;
}

/* Hauptbereich */
main {
  padding: 2rem;
  background: linear-gradient(135deg, #0d0d0d 60%, #00ffcc22 100%);
  min-height: 80vh;
}

.logo-wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

.logo {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 0 10px #00ffcc);
}

h2 {
  color: #00ffcc;
}

p {
  font-size: 1.1rem;
}

/* Hintergrund-Glow */
body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 60% 30%, #01468a27 0, transparent 99%);
  pointer-events: none;
}
header::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 60% 30%, #0080ff27 0, transparent 99%);
  pointer-events: none;
}

/* --- Bubble-Design --- */
.bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.25s;
  text-decoration: none;
}

.bubble-circle {
  width: 110px;
  height: 110px;
  background: radial-gradient(circle at 60% 30%, #00ffcc77 60%, #0d0d0d 100%);
  border-radius: 50%;
  box-shadow: 0 0 16px #00ffcc55, 0 8px 22px #000a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 3px solid #00ffcc66;
  overflow: hidden;
  transition: box-shadow 0.22s;
}

.bubble img {
  width: 107px;
  height: 107px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.25s;
}

.bubble-title {
  color: #00ffcc;
  font-weight: bold;
  text-align: center;
  font-size: 1.13em;
  margin-bottom: 2px;
  transition: color 0.22s;
}

.bubble-desc {
  color: #fff;
  font-size: 0.98em;
  opacity: .82;
  text-align: center;
  margin-top: 0;
}

.bubble:hover {
  transform: translateY(-10px) scale(1.06);
}

.bubble:hover .bubble-circle {
  box-shadow: 0 0 24px #00fff8aa, 0 8px 32px #003a, 0 0 30px #00ffcc80;
  border-color: #00fff7;
}

.bubble:hover img {
  transform: scale(1.08) rotate(-2deg);
}

.bubble:hover .bubble-title {
  color: #fff;
}

/* --- Bubble-Grid --- */
.bubble-team-title {
  color: #00ffcc;
  font-size: 1.7em;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  text-shadow: 0 2px 10px #00ffcc22;
}

.bubble-grid-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Mobil: 2 pro Reihe */
  gap: 30px 22px;
  justify-items: center;
  margin: 0 auto 34px auto;
  max-width: 390px;
  width: 100%;
}

@media (min-width: 800px) {
  .bubble-grid-team {
    grid-template-columns: repeat(5, 1fr); /* Desktop: 5 pro Reihe */
    grid-auto-rows: min-content;
    max-width: 1100px;
    gap: 36px 38px;
  }
}

.bubble-grid-team .bubble {
  width: 140px;
  max-width: 100%;
}

@media (max-width: 700px) {
  .bubble-grid-team {
    max-width: 98vw;
  }
  .bubble-grid-team .bubble {
    width: 44vw;
    min-width: 110px;
    max-width: 180px;
  }
}

/* Begrüßungstext-Block */
.welcome-text {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

/* Optional: Logo und H1 auf ganz kleinen Handys kleiner machen */
@media (max-width: 480px) {
  .header-title-logo h1 {
    font-size: 1.3rem;
  }
  .header-logo {
    width: 34px;
    height: 34px;
  }
}
.gallery {
  position: relative;
  max-width: 800px;
  margin: 20px auto;
  border: 2px solid #00ffcc;
  border-radius: 12px;
  overflow: hidden;
}

.slides { position: relative; }
.slide { display: none; }
.slide.active { display: block; }

.slide img { width: 100%; display: block; }

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px;
  color: #00ffcc;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots { text-align: center; padding: 10px; background: rgba(0,0,0,0.3); }
.dot {
  height: 12px; width: 12px;
  margin: 0 4px;
  display: inline-block;
  border-radius: 50%;
  border: 1px solid #00ffcc;
  cursor: pointer;
}
.dot.active { background: #00ffcc; }
.news-ticker {
  background: #111;
  color: #0ff;
  border-top: 2px solid #0ff;
  border-bottom: 2px solid #0ff;
  overflow: hidden;
  white-space: nowrap;
}

.news-ticker p {
  display: inline-block;
  padding-left: 100%;       /* Start rechts außerhalb */
  animation: ticker 20s linear infinite;
  font: 600 14px/40px system-ui, sans-serif;
}

/* Animation für das Laufband */
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
