/* Dream Wraps – Global Theme */
:root{
  --bg:#0a0a0a; --text:#efeff5; --muted:#a7a3b7;
  --purple:#8b5cf6; --purple-2:#a78bfa;
  --border: rgba(139,92,246,.28);
  --glow: 0 0 18px rgba(139,92,246,.55), 0 0 36px rgba(139,92,246,.25);
  --radius:16px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0; font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial,sans-serif;
  background:var(--bg); color:var(--text); line-height:1.6;}
.container{min-height:calc(100vh - 120px);}

.dw-header{position:sticky; top:0; z-index:1000; backdrop-filter: blur(8px);
  background: rgba(10,10,14,.55); border-bottom:1px solid var(--border);}
.dw-bar{max-width:1200px; margin:0 auto; padding:10px 16px; display:flex; align-items:center; justify-content:space-between;}
.logo{color:#fff; text-decoration:none; font-weight:700; letter-spacing:.3px; text-shadow:var(--glow)}
.nav a{color:var(--muted); text-decoration:none; margin-left:14px; padding:8px 10px; border-radius:10px}
.nav a:hover{color:#fff; text-shadow:var(--glow)}
.nav a.active{color:#fff; text-shadow:var(--glow)}

footer{border-top:1px solid var(--border); margin-top:24px; background:#0f0f13}
.footer-inner{max-width:1200px; margin:0 auto; padding:16px; display:flex; gap:16px; justify-content:center}
.footer-inner a{color:#dcdcf8; text-decoration:none}
.footer-inner a:hover{text-decoration:underline}

.card-glow{border:1px solid var(--border); border-radius:16px; background:#0f0f13; box-shadow:0 0 18px rgba(139,92,246,.18)}

.btn-primary{display:inline-block; padding:10px 14px; border-radius:12px; background:var(--purple); color:#fff; text-decoration:none; box-shadow:var(--glow); border:none; cursor:pointer}
.btn-primary:hover{filter:brightness(1.05)}
.btn-secondary{display:inline-block; padding:10px 14px; border-radius:12px; background:rgba(139,92,246,.18); color:#fff; text-decoration:none; border:1px solid var(--border)}
.btn-secondary:hover{filter:brightness(1.05)}
.gallery-page {
  width: 100%;
  display: block;
  text-align: center;
  padding: 100px 0 60px 0;
  margin: 0 auto;
  color: #fff;
}

.gallery-page .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.gallery-item img {
  width: 320px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.7);
}

.no-images {
  text-align: center;
  color: #ccc;
  font-size: 1.2rem;
  margin-top: 40px;
}

/* --- Burger Button --- */
.dw-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 999; /* Damit es über dem Menü liegt */
}

.dw-burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff; /* oder deine Akzentfarbe */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Mobile Navigation --- */
@media (max-width: 768px) {
  nav .nav {
    position: absolute;
    top: 70px; /* Höhe deines Headers */
    right: 0;
    background: #000; /* oder deine Hintergrundfarbe */
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    transition: max-height 0.3s ease;
  }

  nav .nav a {
    display: block;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    color: white;
    text-decoration: none;
  }

  .dw-burger {
    display: flex;
  }

  /* Wenn aktiv (geöffnet) */
  nav .nav.active {
    max-height: 400px; /* genug Platz für alle Links */
  }

  /* Animation für das X */
  .dw-burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
  }
  .dw-burger.active span:nth-child(2) {
    opacity: 0;
  }
  .dw-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
  }
}
.flyer-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 9999;
  animation: flyerIn 0.4s ease forwards;
}
.flyer-widget img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}
.flyer-content h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.flyer-content p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  opacity: 0.8;
}
.flyer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  margin-left: auto;
  cursor: pointer;
  opacity: 0.6;
}
.flyer-close:hover {
  opacity: 1;
}
@keyframes flyerIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
