/* === 🌒 Grundlayout === */
body {
  margin: 0;
  padding: 0;
  background: #0e0b0a; /* tiefes Braun-Schwarz */
  color: #e7e1d8;       /* warmes Altweiß */
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
}

/* === 🌐 Zentrale Hub-Struktur === */
.hub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 4rem 1rem;
  max-width: 900px;
  width: 100%;
}

/* === 🟤 Node-Kreise === */
.node {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #1d1512;
  border: 2px solid #cc5c2f;
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  position: relative;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

/* === ✨ Hover-Effekte für Nodes === */
.node:hover {
  transform: translateY(-5px);
  border-color: #d6a84f;
  box-shadow: 0 0 15px #cc5c2f44;
}

.node:hover .icon {
  filter: brightness(1.2);
}

/* === ✨ Animierter Einstieg === */
.node:nth-child(1) { animation-delay: 0s; }
.node:nth-child(2) { animation-delay: 0.1s; }
.node:nth-child(3) { animation-delay: 0.2s; }
.node:nth-child(4) { animation-delay: 0.3s; }
.node:nth-child(5) { animation-delay: 0.4s; }
.node:nth-child(6) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === 🔘 Inhalt in den Kreisen === */
.icon {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.node h2 {
  font-size: 1rem;
  margin: 0.2rem 0;
  color: #cc5c2f;
}

.node p {
  font-size: 0.75rem;
  margin: 0.2rem 0;
  color: #c6bab0;
}

/* === 🔗 Link-Button im Kreis === */
.node a {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  text-decoration: none;
  background: #cc5c2f;
  color: #0e0b0a;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  transition: background 0.3s, color 0.3s;
}

.node a:hover {
  background: #d6a84f;
  color: #0e0b0a;
}

@media (min-width: 900px) {
  .hub {
    gap: 5rem;
    overflow: visible;
  }

  .node {
    width: 240px;
    height: 240px;
    overflow: visible;
  }

  .node:nth-child(even) {
    align-self: flex-start;
  }

  .node:nth-child(odd) {
    align-self: flex-end;
  }
}

.spine {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%,
    #cc5c2f 3%,
    #cc5c2f 97%,
    transparent 100%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.icon i {
  font-size: 2.2rem;
  color: #cc5c2f;
}

:root {
  --glow-color: #d6a84f;
}

.node {
  border: 2px solid #cc5c2f;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.node:hover {
  border-color: var(--glow-color);
  box-shadow: 0 0 15px var(--glow-color);
}

.node h2 {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.node:hover h2 {
  color: var(--glow-color);
  text-shadow: 0 0 6px var(--glow-color);
}

.icon i {
  color: #cc5c2f;
  transition: color 0.3s ease;
}

.node:hover .icon i {
  color: var(--glow-color);
}

.node a {
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.node:hover a {
  box-shadow: 0 0 10px #d6a84f88;
}

.spine {
  animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0px #d6a84f00;
  }
  50% {
    box-shadow: 0 0 10px #d6a84f55;
  }
}
