body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0a0f0a;
  color: #e0ffe0;
  scroll-behavior: smooth;
}

.logo {
  justify-self: start;
  width: 50px;
  height: 50px;
  margin-right: 40px;
  margin-left: 40px;
}


/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 40px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(23, 107, 78, 0.3);
  box-shadow: 0 0 20px rgba(23, 107, 78, 0.2);
  z-index: 1000;
}

/* LOGO */
.logo a {
  color: #176B4E;
  font-weight: bold;
  font-size: 1.5em;
  text-decoration: none;
}

/* NAV */
.nav {
  display: flex;
  gap: 30px;
  
}

/* BURGER BUTTON */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #176B4E;
  line-height: 1;
}

.menu-toggle span {
  height: 3px;
  background: #176B4E;
  border-radius: 2px;
}

/* MOBILE */
@media (max-width: 900px) {

  .menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    flex-direction: column;
    padding: 80px 20px;
    transition: 0.3s;
  }

  /* OPEN STATE */
  .nav.active {
    right: 0;
  }

  .nav a {
    padding: 10px 0;
 font-family: 'Poppins', sans-serif; /* moderner */
  font-size: 0.95em;
  font-weight: 500;
  letter-spacing: 0.5px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

}

/* ITEMS */
.nav-item {
  color: #176B4E;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
   font-family: 'Poppins', sans-serif; /* moderner */
}

/* UNDERLINE */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #1f8a65;
  transition: 0.3s;
}

.nav-item:hover::after {
  width: 100%;
}

/* GLOW */
.nav-item:hover {
  color: #1f8a65;
  text-shadow: 0 0 10px rgba(23, 107, 78, 0.6);
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

/* MENU */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0,0,0,0.9);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(23, 107, 78, 0.3);
  border: 1px solid rgba(23, 107, 78, 0.2);
  pointer-events: none;
}

/* LINKS */
.dropdown-menu a {
  padding: 10px 20px;
  color: #176B4E;
  text-decoration: none;
  transition: 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(23, 107, 78, 0.1);
  color: #1f8a65;
  text-shadow: 0 0 10px rgba(23, 107, 78, 0.6);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}


/* CTA SECTION */
.cta {
  display: flex;
  justify-content: center;
  padding: 100px 20px;
}

/* CONTAINER */
.cta-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* PLAY BUTTON */
.cta-play {
  background: #176B4E;
  color: white;
  padding: 25px 40px;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}

.cta-play:hover {
  background: #1f8a65;
  transform: translateY(-3px);
}

/* IP BOX */
.cta-ip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #176B4E;
  padding: 20px 30px;
  min-width: 320px;
  cursor: pointer;
  transition: 0.3s;
}

.cta-ip:hover {
  box-shadow: 0 0 15px rgba(23,107,78,0.5);
}

/* TEXT */
.cta-text span {
  font-size: 12px;
  opacity: 0.6;
}

.cta-text h2 {
  margin: 0;
  color: #176B4E;
}

/* COPY ICON */
.cta-copy {
  background: #176B4E;
  padding: 10px;
  margin-left: 20px;
}
/* FOOTER */
.footer {
  background: rgba(0,0,0,0.9);
  padding: 60px 40px 20px;
  margin-top: 80px;
}

/* CONTAINER */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

/* BOX */
.footer-box h2,
.footer-box h3 {
  color: #176B4E;
  margin-bottom: 15px;
}

.footer-box p {
  opacity: 0.7;
}

/* LINKS */
.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box a {
  color: white;
  text-decoration: none;
  opacity: 0.7;
  transition: 0.3s;
}

.footer-box a:hover {
  color: #176B4E;
  opacity: 1;
}

/* BUTTON */
.footer-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background: #176B4E;
  border: none;
  color: white;
  cursor: pointer;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  opacity: 0.5;
}

/* GALLERY */
.gallery {
  display: flex;
  overflow-x: auto;
  gap: 20px;
}

.gallery img {
  height: 200px;
  border-radius: 10px;
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px #00ff88;
}

/* TEAM SECTION */
.team-section {
  padding: 120px 40px;
  text-align: center;
}

.team-section h1 {
  font-size: 2.5em;
  color: #176B4E;
}

.subtitle {
  opacity: 0.6;
  margin-bottom: 50px;
}

/* GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

/* CARD */
.team-card {
  background: rgba(0,0,0,0.6);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(23,107,78,0.3);
  box-shadow: 0 0 20px rgba(23,107,78,0.2);
  transition: 0.3s;
}

/* HOVER */
.team-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 30px rgba(23,107,78,0.5);
}

/* SKIN */
.skin img {
  width: 120px;
  margin-bottom: 15px;
  transition: 0.3s;
}

.team-card:hover .skin img {
  transform: scale(1.1);
}

/* NAME */
.team-card h3 {
  margin: 10px 0;
}

/* ROLE BADGES */
.role {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8em;
  margin-top: 5px;
}

/* COLORS */
.role.owner {
  background: #176B4E;
  color: white;
}

.role.admin {
  background: #176B4E;
  color: white;
}

.role.builder {
  background: #1f8a65;
  color: white;
}

.role.support {
  background: rgba(23,107,78,0.3);
}

/* RULES SECTION */
.rules {
  padding: 120px 40px;
  text-align: center;
}

.rules h1 {
  font-size: 2.5em;
  color: #176B4E;
}

.subtitle {
  opacity: 0.6;
  margin-bottom: 50px;
}

/* CONTAINER */
.rules-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

/* BOX */
.rule-box {
  background: rgba(0,0,0,0.6);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(23,107,78,0.3);
  box-shadow: 0 0 20px rgba(23,107,78,0.2);
  text-align: left;
  transition: 0.3s;
}

/* HOVER */
.rule-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(23,107,78,0.5);
}

/* TITLE */
.rule-box h2 {
  color: #176B4E;
  margin-bottom: 15px;
}

/* LIST */
.rule-box ul {
  padding-left: 20px;
}

.rule-box li {
  margin-bottom: 10px;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  background: url('/assets/images/hero.png') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* DARK OVERLAY */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

/* TITLE */
.hero h1 {
  font-size: 3.5em;
  color: #176B4E;
  text-shadow: 0 0 15px rgba(23,107,78,0.6);
}

/* TEXT */
.hero p {
  font-size: 1.2em;
  margin: 20px 0;
  opacity: 0.8;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* PRIMARY */
.btn {
  padding: 15px 30px;
  background: #176B4E;
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #1f8a65;
  box-shadow: 0 0 15px rgba(23,107,78,0.6);
}

/* OUTLINE */
.btn-outline {
  padding: 15px 30px;
  border: 2px solid #176B4E;
  color: #176B4E;
  background: transparent;
  cursor: pointer;
  transition: 0.3s;
}

.btn-outline:hover {
  background: rgba(23,107,78,0.2);
}

#typing {
  font-size: 1.3em;
  color: white;
  margin-top: 15px;
  letter-spacing: 1px;
}

/* Cursor */
#typing::after {
  content: "|";
  margin-left: 5px;
  color: #176B4E;
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ===== SCROLLBAR (Chrome, Edge, Safari) ===== */
::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  background: #0a0f0a;
}

::-webkit-scrollbar-thumb {
  background: #176B4E;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1f8a65;
}

/* ===== FIREFOX ===== */
* {
  scrollbar-width: thin;
  scrollbar-color: #176B4E #0a0f0a;
}

/* FEATURES SECTION */
.features {
  margin-top: -60px; 
  padding: 0 40px 100px;
}

/* GRID FIX */
.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 🔥 FIX: immer 3 pro Reihe */
  gap: 30px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-container {
    grid-template-columns: 1fr;
  }
}

/* CARD */
.feature-card {
  background: rgba(0,0,0,0.75);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(23,107,78,0.3);
  box-shadow: 0 0 20px rgba(23,107,78,0.15);
  backdrop-filter: blur(10px);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

/*  GLOW BORDER EFFEKT */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid transparent;

  background: linear-gradient(120deg, transparent, #176B4E, transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: 0.3s;
}

/* HOVER */
.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 30px rgba(23,107,78,0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

/* ICON */
.feature-card .icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(23,107,78,0.15);
  color: #176B4E;
  font-size: 22px;
  margin-bottom: 15px;
}

/* TITLE */
.feature-card h3 {
  color: #176B4E;
  margin-bottom: 10px;
}

/* TEXT */
.feature-card p {
  opacity: 0.7;
  font-size: 0.95em;
}

/* FAQ SECTION */
.faq {
  padding: 100px 40px;
  max-width: 800px;
  margin: auto;
}

.faq h2 {
  text-align: center;
  color: #176B4E;
  margin-bottom: 40px;
}

/* ITEM */
.faq-item {
  border-bottom: 1px solid rgba(23,107,78,0.3);
  padding: 20px 0;
  cursor: pointer;
}

/* QUESTION */
.faq-question {
  font-weight: bold;
  position: relative;
}

/* ICON */
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  color: #176B4E;
  transition: 0.3s;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  margin-top: 10px;
}

/* ACTIVE */
.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
}

.faq-item.active .faq-question::after {
  content: "-";
}

/* WIKI LAYOUT */
.wiki-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  padding: 120px 40px;
}

/* SIDEBAR */
.wiki-sidebar {
  background: rgba(0,0,0,0.7);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(23,107,78,0.3);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.wiki-sidebar h3 {
  color: #176B4E;
  margin-bottom: 15px;
}

/* LINKS */
.wiki-sidebar a {
  display: block;
  padding: 10px;
  margin-bottom: 5px;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  transition: 0.3s;
}

/* HOVER */
.wiki-sidebar a:hover {
  background: rgba(23,107,78,0.2);
}

/* ACTIVE */
.wiki-sidebar a.active {
  background: #176B4E;
  color: white;
}

/* CONTENT */
.wiki-main h1 {
  color: #176B4E;
}

.subtitle {
  opacity: 0.6;
  margin-bottom: 30px;
}

/* BOX */
.wiki-box {
  background: rgba(0,0,0,0.8);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(23,107,78,0.3);
  margin-bottom: 20px;
  transition: 0.3s;
}

.wiki-box:hover {
  box-shadow: 0 0 20px rgba(23,107,78,0.4);
}

@media (max-width: 900px) {
  .wiki-layout {
    grid-template-columns: 1fr;
  }

  .wiki-sidebar {
    position: static;
  }
}

.showcase {
  padding: 120px 0;
  overflow: hidden;
}

/* CONTAINER */
.slider {
  position: relative;
  width: 100%;
}

/* FLEX CENTER */
.slides {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  will-change: transform;
}

/* CARD */
.slide {
  width: 260px;
  height: 420px;

  border-radius: 20px;
  overflow: hidden;
  position: relative;
  opacity: 0.3;
  transform: scale(0.85);
  transition: all 0.4s ease;
}

.slide.active {
  width: 420px;
  height: 500px;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 40px rgba(23,107,78,0.5);
  z-index: 2;
}

/* IMAGE */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

/* TAG */
.tag {
  background: rgba(23,107,78,0.25);
  color: #176B4E;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7em;
}

/* ARROWS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23,107,78,0.2);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 rgba(23,107,78,0.4); }
  50% { box-shadow: 0 0 20px rgba(23,107,78,0.6); }
  100% { box-shadow: 0 0 0 rgba(23,107,78,0.4); }
}

.left { left: 40px; }
.right { right: 40px; }

.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;
  z-index: 9999;
}

/* AKTIV */
.fullscreen.active {
  opacity: 1;
  visibility: visible;
}

/* BILD */
.fullscreen img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;

  transition: opacity 0.3s ease;
}
.fullscreen img.fade {
  opacity: 0;
}

/* ARROWS */
.fs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #176B4E;
  cursor: pointer;
  padding: 10px;
  background: rgba(23,107,78,0.2);
  border-radius: 50%;
}

.fs-arrow.left { left: 40px; }
.fs-arrow.right { right: 40px; }

/* CLOSE BUTTON */
.close {
  position: absolute;
  top: 30px;
  right: 40px;

  font-size: 30px;
  color: #176B4E;
  cursor: pointer;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

/* HAUPT TITEL */
.section-title h2 {
  font-size: 2.5em;
  color: #176B4E;
  position: relative;
  display: inline-block;
}

/* LINIE UNTER TITEL */
.section-title h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  margin: 10px auto 0;

  background: linear-gradient(90deg, #176B4E, #1f8a65);
  border-radius: 10px;
}

/* SUBTEXT */
.section-title p {
  margin-top: 10px;
  opacity: 0.6;
  font-size: 0.9em;
}
/* PAGE */
.fraktion-page {
  padding: 120px 40px;
  max-width: 1400px;
  margin: auto;
}

/* HERO */
.fraktion-hero {
  margin-bottom: 60px;
}

.fraktion-hero h1 {
  font-size: 3em;
  color: #176B4E;
  margin-bottom: 10px;
}

.fraktion-hero p {
  opacity: 0.7;
  max-width: 600px;
}

/* FEATURES */
.fraktion-features {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.f-box {
  background: rgba(23,107,78,0.1);
  border: 1px solid rgba(23,107,78,0.3);
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 0.9em;
  transition: 0.3s;
}

.f-box:hover {
  background: rgba(23,107,78,0.2);
}

/* MEMBERS HEADER */
.members-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.members-header h2 {
  color: #176B4E;
}

.members-header span {
  font-size: 0.9em;
  opacity: 0.6;
}

/* GRID */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* MEMBER CARD */
.member-card {
  background: rgba(0,0,0,0.85);
  border-radius: 18px;
  padding: 25px;

  border: 1px solid rgba(23,107,78,0.3);
  box-shadow: 0 0 15px rgba(23,107,78,0.15);

  text-align: center;
  position: relative;

  transition: 0.3s;
}

/* HOVER */
.member-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 25px rgba(23,107,78,0.4);
}

/* GLOW TOP LINE */
.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;

  background: linear-gradient(90deg, #176B4E, #1f8a65);
  border-radius: 18px 18px 0 0;
}

/* AVATAR */
.member-card img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  margin-bottom: 12px;

  border: 2px solid rgba(23,107,78,0.4);
}

/* NAME */
.member-card h4 {
  margin: 5px 0;
}

/* RANK */
.rank {
  display: inline-block;
  margin-top: 5px;
  padding: 4px 10px;
  font-size: 0.75em;
  border-radius: 10px;
  background: rgba(23,107,78,0.2);
  color: #176B4E;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: gold;
  color: black;
  font-size: 0.7em;
  padding: 3px 6px;
  border-radius: 5px;
}