/* Basis-Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background-color: #0d0d0d;
  color: #ccc;
  margin-top: 70px; /* wegen fixer Nav */
}

/* Fixe Navigationsleiste */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0f0f0f;
  border-bottom: 1px solid #222;
  z-index: 1000;
}

.nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
  margin: 0;
  list-style: none;
}

.nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ccc;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #66ccff;
}

.nav a.active {
  color: #66ccff;
  font-weight: 600;
}

.nav .icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-bottom: 0.2rem;
}

main {
  max-width: 800px;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

h1 {
  font-weight: 700;
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: #bbb;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  transition: transform 0.2s ease, background 0.3s ease, color 0.3s ease;
}

.links a:hover,
.links a:focus {
  background: #fff;
  color: #000;
  transform: scale(1.05);
  outline: none;
}

.links svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Footer */
footer {
  border-top: 1px solid #ddd;
  margin-top: 4rem;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

footer a {
  color: #777;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }

  .links a {
    display: block;
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
  }
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.icon {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
  vertical-align: middle;
}
