/* Grundlayout: Footer immer unten */
html, body {
  height: 100%;
  margin: 0;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Basis */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #111;
  color: #eee;
  line-height: 1.6;
}
a {
  color: #28a745;
  text-decoration: none;
}
h1, h2, h3 {
  margin-bottom: 0.5rem;
}
main {
  padding: 2rem;
  flex: 1;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-img {
  width: 32px;
  height: 32px;
}
nav {
  display: flex;
  gap: 1rem;
}
nav a {
  color: #ccc;
}
.hamburger {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  display: none;
  z-index: 110;
}

/* Hero */
.hero {
  background: url("background.jpg") center/cover no-repeat;
  padding: 6rem 2rem;
  text-align: center;
}
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #28a745;
  color: white;
  border-radius: 5px;
}

/* Grids */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.feature {
  background: #222;
  padding: 1.5rem;
  border-radius: 8px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.team-card img {
  border-radius: 8px;
  width: 100px;
  height: 100px;
  background: #333;
  margin-bottom: 0.5rem;
}
/* Animation Team-Skins */
.team-card {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideIn 0.6s ease-out forwards;
}
/* Verzögerung je nach Position */
.team-card:nth-child(1) {
  animation-delay: 0.1s;
}
.team-card:nth-child(2) {
  animation-delay: 0.3s;
}
.team-card:nth-child(3) {
  animation-delay: 0.5s;
}
/* Keyframes */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Footer */
footer {
  background: #081a2d;
  color: #b3e5fc;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Responsive Menü */
@media (max-width: 768px) {
nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 1rem;
    background: #1a1a1a;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 101;
    width: auto;
  }
  nav.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}
