/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #1e1e2f, #2b5876);
  color: white;
  scroll-behavior: smooth;
}

/* NAVIGATION */
.nav {
    position: sticky;
    top: 20px;
    margin: 0 auto;          /* zentriert */
    width: fit-content;      /* passt sich Inhalt an */
    display: flex;
    gap: 20px;
    padding: 12px 26px;
    background: rgba(15,23,42,0.8);
    border-radius: 50px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.tab-button {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  cursor: pointer;
}

.tab-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #38bdf8;
  transition: 0.3s;
}

.tab-button:hover {
  color: #38bdf8;
}

.tab-button:hover::after {
  width: 100%;
}
/* HEADER */
.header {
  text-align: center;
  padding: 100px 20px 50px;
}

.header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.profile-pic {
  width: 150px;
  border-radius: 50%;
  border: 4px solid white;
  transition: 0.4s;
}

.profile-pic:hover {
  transform: scale(1.1) rotate(3deg);
}

/* ICONS */
.icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.icons img {
  width: 32px;
  cursor: pointer;
  transition: 0.3s;
}

.icons img:hover {
  transform: scale(1.2) rotate(10deg);
}

/* SECTIONS */
section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* BOX */
.box {
  padding: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* 🔥 SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* OPTIONALE RICHTUNGEN */
.reveal.left {
  transform: translateX(-200px);
}

.reveal.right {
  transform: translateX(100px);
}

.reveal.active.left,
.reveal.active.right {
  transform: translateX(0);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 40px;
  background: rgba(0,0,0,0.5);
}

/* LINKS */
a {
  color: #00d4ff;
}