/* Reset und Basis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100%;
}

.section {
  scroll-snap-align: start;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0f0f, #1e1e1e);
  background-size: 600% 600%;
  animation: bgMorph 30s ease infinite;
  color: #f0f0f0;
  overflow-x: hidden;
}

/* Morphender, dunkler Hintergrund */
@keyframes bgMorph {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Abschnitts-Layout */
.section {
  height: 100vh;
  width: 100%;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s ease;
  z-index: 1;
}

.section.active {
  opacity: 1;
  transform: translateY(0);
}

h1, h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #00eaff, #ff6ec4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.7;
  color: #ccc;
}

/* Scroll-Hinweis */
.scroll-hint {
  margin-top: 2rem;
  font-size: 1rem;
  color: #888;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Buttons und interaktive Elemente */
button, .cta-button {
  padding: 12px 24px;
  margin: 10px;
  background: #1f1f1f;
  border: 1px solid #444;
  border-radius: 8px;
  color: #f0f0f0;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}

button:hover, .cta-button:hover {
  background: #333;
  transform: scale(1.05);
}

.cta-button {
  text-decoration: none;
  display: inline-block;
}

/* Hover-Boxen */
.hover-area {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: center;
}

.hover-box {
  background: #222;
  padding: 1rem 2rem;
  border: 1px solid #444;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hover-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

/* Click-Bereich */
.click-area {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Profilbereich */
#interest-stats {
  margin-top: 2rem;
  font-size: 1rem;
  color: #aaa;
  font-style: italic;
}

/* Datenübertragungs-Bereich */
.data-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.data-flow div {
  background: #1a1a1a;
  border: 1px solid #444;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
}

/* Übergangsfarben für Abschnitte (optional visual break) */
.intro { background: transparent; }
.basics { background: transparent; }
.tracking { background: transparent; }
.clicks { background: transparent; }
.profile { background: transparent; }
.sharing { background: transparent; }
.end { background: transparent; }

/* Responsives Verhalten */
@media (max-width: 768px) {
  h1, h2 {
    font-size: 2rem;
  }

  .hover-area, .click-area, .data-flow {
    flex-direction: column;
    align-items: center;
  }

  button, .cta-button {
    width: 80%;
  }
}
