:root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #0077cc;
  --header-text: white;
  --footer-bg: #ccc;
}

body.dark-mode {
  --bg: #1e1e1e;
  --text: #eeeeee;
  --accent: #66ccff;
  --header-text: #000;
  --footer-bg: #333;
}

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

header {
  background: var(--accent);
  color: var(--header-text);
  padding: 1rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

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

#theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--header-text);
}

main {
  padding: 2rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: var(--footer-bg);
  color: var(--text);
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 64px;
  height: 64px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.2);
}

@media (max-width: 600px) {
  .logo {
    width: 32px;
    height: 32px;
  }

  .logo-title h1 {
    font-size: 1.2rem;
  }
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
  justify-content: center;
}

.gallery img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Lightbox-Anpassungen */
.lightbox .lb-data .lb-caption {
  font-size: 1.1rem;
  color: #f0f0f0;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.5rem;
  border-radius: 4px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.lb-prev, .lb-next {
  background-size: 48px 48px !important;
  opacity: 0.9 !important;
}

.video-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem;
}

.video-caption {
  margin-top: 0.5rem;
  font-style: italic;
  color: var(--text);
  text-align: center;
}

