:root {
  --bg: #fff;
  --text: #111;
  --card: #f3f3f3;
}

body.dark {
  --bg: #0f0f0f;
  --text: #f5f5f5;
  --card: #1d1d1d;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 15px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

body.dark nav {
  background: rgba(0,0,0,0.7);
}

nav a {
  color: var(--text);
  text-decoration: none;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px 40px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 140px;
}

/* LOGO ANIMATION */
.logo-intro {
  opacity: 0;
  transform: translateY(-40px) scale(0.8);
  animation: logoFlyIn 1.3s ease-out forwards;
}

@keyframes logoFlyIn {
  0% { opacity: 0; transform: translateY(-40px) scale(0.8); }
  60% { opacity: 1; transform: translateY(10px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* TEXT */
.hero-text {
  max-width: 500px;
}

/* 🔥 FIX: Button über Text → Abstand + Block */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
}

body.dark .btn {
  background: #f5f5f5;
  color: #111;
}

/* PAGE */
.page {
  padding: 120px 20px 40px;
  max-width: 900px;
  margin: auto;
}

/* CARD */
.card {
  background: var(--card);
  padding: 15px;
  border-radius: 10px;
}

/* 🔥 GALLERY OPTIMIERT (mehr Bilder sichtbar) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 6px;
}

.gallery img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
}

/* LIGHTBOX */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
}

.prev, .next {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 20px;
}

.prev { left: 10px; }
.next { right: 10px; }

/* TOGGLE */
.toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  cursor: pointer;
  z-index: 3000;
}