/* Allgemeine Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #7200a7;
  --secondary-color: #d1346e;
  --bg-color: #000;
  --text-color: #fff;
  --accent-color: #1c1c1c;
  --border-radius: 4px;
  --font-family: Arial, sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 15px 20px;
  background-color: var(--bg-color);
  position: relative;
  z-index: 2;
}

.logo img {
  width: 75px;
  height: auto;
  cursor: pointer;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin-left: 18px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  padding: 10px;
  transition: background-color 0.3s, transform 0.3s;
}

nav ul li a:hover,
nav ul li.active a {
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  transform: scale(1.05);
}

/* Burger-Menü */
#menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  color: var(--text-color);
  text-align: center;
  padding: 200px 20px;
  overflow: hidden;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: grayscale(0%) blur(5px);
}

.hero h1 {
  font-size: 48px;
  margin: 0;
}

.hero p {
  font-size: 24px;
  margin: 20px 0;
}

/* Gallery Section */
.gallery {
  padding: 50px 20px;
  text-align: center;
}

.gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gallery .grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery .grid-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery .grid-item:hover .overlay {
  opacity: 1;
}

/* Hover Image Effekt */
.image-hover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.image-hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  transition: opacity 0.4s ease-in-out;
}

.default-img {
  opacity: 1;
  z-index: 1;
}

.hover-img {
  opacity: 0;
  z-index: 2;
}

.image-hover:hover .hover-img {
  opacity: 1;
}

.image-hover:hover .default-img {
  opacity: 0;
}

/* Footer */
footer {
  background-color: var(--bg-color);
  text-align: center;
  padding: 15px 0;
}

footer .social-media {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .social-media a {
  color: var(--text-color);
  font-size: 22px;
  transition: color 0.3s;
}

footer .social-media a:hover {
  color: var(--primary-color);
}

footer .social-media li {
  display: inline-block;
}

footer .impressum {
  margin-top: 10px;
}

footer .impressum a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
}

footer .impressum a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    justify-content: space-between;
  }

  .content h3 {
    font-size: 1.8em;
  }

  .content p {
    font-size: 1em;
  }

  #menu-button {
    display: block;
  }

  nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    display: none;
    flex-direction: column;
    padding: 10px 0;
    overflow: hidden;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 12px;
    font-size: 16px;
  }

  .hero {
    padding: 100px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .gallery .grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
