/* style_dark.css */


.hero, .hero h1, .gallery {
  transition: transform 0.5s ease;
}


#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1e1e1e; /* Fallback-Hintergrund */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
  transition: opacity 1s ease, transform 1s ease;
}

#intro-content video {
  width: 100vw;
  height: 100vh;
  object-fit: contain; /* oder 'cover', je nach Effekt */
  display: block;
}

#intro.hide {
  opacity: 0;
  transform: translateY(-100px);
  pointer-events: none;
}


/* Grund-Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
	
  font-family: 'Montserrat', sans-serif;
  background: #1e1e1e;
  color: #ddd;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 1s, color 1s;
}

body.fade-in {
  animation: fadeIn 1s ease;
}

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

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(30, 30, 30, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #5a00ff;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #ddd;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #5a00ff;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  justify-content: space-between;
}

.burger div {
  width: 100%;
  height: 3px;
  background-color: #ddd;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.burger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active div:nth-child(2) {
  opacity: 0;
}

.burger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero, .portfolio, .kontakt {
  flex: 1;
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1, .portfolio h1, .kontakt h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero p, .kontakt p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #bbb;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  background: #5a00ff;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #4000cc;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 4px 10px rgba(255,255,255,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(90, 0, 255, 0.5);
}

.kontaktformular {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto 0;
}

.kontaktformular input,
.kontaktformular textarea {
  padding: 0.8rem;
  border: 1px solid #555;
  background: #2c2c2c;
  color: #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.kontaktformular button {
  margin-top: 1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  background: #2c2c2c;
  color: #aaa;
  margin-top: auto;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: rgba(30,30,30,0.95);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 1rem;
    border-radius: 10px;
  }

  nav.active {
    display: flex;
  }

  .burger {
    display: flex;
  }
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, #5a00ff 0%, #1e1e1e 100%);
  animation: waveBackground 30s ease-in-out infinite;
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

@keyframes waveBackground {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-5%, -5%); }
  100% { transform: translate(0, 0); }
}


