/* ==========================================================
   PURPLE NETWORK Full Modernized Stylesheet v4.0
   3D Buttons, Animated Sections, Hero & Parallax
   + Login, Downloads, FAQ Accordion, Member Navigation
========================================================== */

/* ==============================
   GLOBAL STYLES
============================== */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(160deg, #1a002a, #0d003f);
  color: #e6f7ff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a { color: #ffffff; text-decoration: none; transition: all 0.25s ease; }
a:hover { color: #bffcff; text-decoration: underline; }

h1,h2,h3 {
  color: #00ffff;
  text-align: center;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}
h1:hover,h2:hover,h3:hover { transform: translateY(-2px); }

p {
  max-width: 800px;
  margin: 10px auto;
  color: #d9f9ff;
  text-align: center;
  transition: transform 0.25s ease;
}
p:hover { transform: translateY(-1px); }

/* ==============================
   HERO & SECTION
============================== */
.hero, .section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 60px 20px;
  color: #fff;
  perspective: 1000px;
}

.bg-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 120%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
  transition: transform 0.3s ease-out, opacity 0.4s ease;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,0,42,0.55);
  z-index: 2;
}

.content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  animation: fadeInUp 0.8s ease forwards;
}

/* ==============================
   FORM STYLE
============================== */
.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.formular {
  flex: 1 1 400px;
  max-width: 500px;
  background: linear-gradient(145deg, rgba(138,43,226,0.15), rgba(0,255,255,0.1));
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.2), 0 4px 6px rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.formular:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 28px rgba(0, 255, 255, 0.35), 0 8px 12px rgba(0,0,0,0.25);
}

label { display: block; margin-top: 12px; color: #bffcff; font-weight: 500; }

input[type="text"], input[type="email"] {
  width: 100%; padding: 12px 14px; border: none; border-radius: 10px;
  background: rgba(255,255,255,0.15); color: #fff; font-size: 1rem;
  margin-top: 8px; outline: none; transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

input[type="text"]:focus, input[type="email"]:focus {
  background: rgba(255,255,255,0.28);
  box-shadow: 0 0 12px rgba(0,255,255,0.35);
  transform: translateY(-1px);
}

/* ==============================
   BUTTON STYLE
============================== */
button, .btn {
  display: block;
  background: linear-gradient(135deg,#8a2be2,#00ffff);
  border: none;
  color: #001a1a;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 20px;
  border-radius: 12px;
  margin-top: 15px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,255,255,0.25),0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease;
}

button:hover, .btn:hover {
  background: linear-gradient(135deg,#b266ff,#33ffff);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 20px rgba(0,255,255,0.35),0 8px 10px rgba(0,0,0,0.25);
}
.social-bar { 
	background-color: rgba(0, 0, 0, 0.7); 
	text-align: center; padding: 15px 0; 
} 
.social-bar a { 
	color: #fff; margin: 0 15px; 
	font-size: 22px; 
	text-decoration: none; 
	transition: color 0.3s ease, transform 0.3s ease; 
} .social-bar a:hover { 
	color: #9b5de5; /* Purple-Akzentfarbe */ 
	transform: scale(1.2); 
}
/* ==============================
   MEMBER NAVIGATION
============================== */
.member-nav { text-align:center; margin:20px 0; font-size:1.1rem; }
.member-nav a { color:#fff; text-decoration:none; margin:0 12px; position:relative; transition: color 0.3s ease, transform 0.2s ease; }
.member-nav a:hover { color:#33ffff; transform:translateY(-2px); text-shadow:0 0 8px #33ffff,0 0 12px #00ffff; }
.member-nav a.active { color:#00ffff; font-weight:700; text-decoration:underline; text-shadow:0 0 10px #00ffff,0 0 15px #33ffff; }

/* ==============================
   DOWNLOAD CARDS
============================== */
.wrap { max-width:1000px; margin:40px auto; color:#fff; padding:0 20px; }
.wrap .card { display:flex; align-items:center; gap:20px; background:rgba(0,0,0,0.35); padding:20px; border-radius:25px; margin-bottom:20px; box-shadow:0 8px 20px rgba(0,0,0,0.4); transition:transform 0.3s, box-shadow 0.3s; }
.wrap .card img { width:80px; height:80px; border-radius:12px; object-fit:cover; flex-shrink:0; }
.wrap .card .card-content { flex:1; display:flex; flex-direction:column; justify-content:center; }
.wrap .card:hover { transform:translateY(-6px); box-shadow:0 18px 40px rgba(0,0,0,0.35); }

@media(max-width:768px){
  .wrap .card { flex-direction:column; align-items:center; text-align:center; }
  .wrap .card img { margin-bottom:12px; }
}

/* ==============================
   FAQ ACCORDION
============================== */
.faq-container {
  max-width: 800px;
  margin: 40px auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.faq-question {
  padding: 15px 20px;
  font-weight: bold;
  color: #00ffff;
}

.faq-answer {
  padding: 15px 20px;
  max-height: 0;
  overflow: hidden;
  display: none; /* komplett ausblenden */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #d9f9ff;
}

.faq-answer.open {
  display: block; /* sichtbar, wenn geöffnet */
  max-height: 500px; /* optional: für sanftes Ausklappen */
}


/* ==============================
   LOGIN BOX
============================== */
.login-wrap { max-width:420px; margin:60px auto; background:rgba(0,0,0,0.4); padding:28px; border-radius:25px; color:#fff; text-align:center; box-shadow:0 8px 24px rgba(0,0,0,0.4); backdrop-filter:blur(5px); }
.login-wrap h2 { margin-bottom:20px; font-size:1.8rem; color:#fff; text-shadow:0 2px 6px rgba(0,0,0,0.6); }
.login-wrap .input { width:100%; padding:12px; margin-bottom:15px; border-radius:12px; border:none; font-family:'Poppins',sans-serif; font-size:1rem; box-sizing:border-box; }
.login-wrap .err { color:#ffb3b3; margin-bottom:12px; font-weight:500; }
.login-wrap .info {
    color: #80ff80; /* Grüner Text für Erfolgsmeldung */
    margin-top: 12px;
    font-weight: 500;
}


/* ==============================
   RESPONSIVE DESIGN
============================== */
@media(max-width:900px){
  .form-wrapper { flex-direction:column; align-items:center; }
  .formular { width:90%; }
}

/* ==============================
   ANIMATION
============================== */
@keyframes fadeInUp { 0%{opacity:0; transform:translateY(15px);} 100%{opacity:1; transform:translateY(0);} }
