* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0e0e0e;
  color: #ffffff;
  line-height: 1.6;
  padding-bottom: 4rem;
    overflow-x: hidden;

}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid #222;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  flex-wrap: wrap;
}

.logo img {
  height: 70px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem;
}

.nav-links a:hover {
  color: #a855f7;
}

/* Icons */
.search-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icons i {
  color: #ffffff;
  margin-left: 10px;
  cursor: pointer;
  font-size: 1.2rem;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #ccc;
  font-size: 0.9rem;
}

nav a:hover {
  color: #a855f7;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}




.hero {
  text-align: center;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: transparent;
  background-image: linear-gradient(to right, #a855f7, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero .highlight {
  font-weight: bold;
}

.card-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  display: block;
}

.card-title {
  text-align: center;
  padding: 1rem;
  font-weight: bold;
  color: #eee;
}



.skewed-section {
  transform: skewY(2deg); /* Weniger stark als vorher */
  width: 100vw;
  overflow: hidden;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

}

.skewed-inner {
  transform: skewY(-2deg); /* Gleicher Gegeneffekt wie äußere Schräge */
  padding: 5rem 2rem; /* Optional: Padding auch etwas dezenter */
  width: 100%;

}

:root {
  --skew-angle: 2deg;
}



.skewed-inner {
  transform: skewY(calc(var(--skew-angle) * -1));
}


.city-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.city-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.city-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.city-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
}






.hero.bg-hero {
  background-image: url('/img/index/fw.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  width: 100vw;
  height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 0;
  overflow: hidden;
  z-index: 1;
}

.hero.bg-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay */
  z-index: 0; /* <- WICHTIG! Muss unterhalb vom Button sein */
}


.hero.bg-hero h1,
.hero.bg-hero p {
  z-index: 2;
  color: #fff;
  margin-top: 0;
  position: relative;
}



.hero.bg-hero h1 {
  font-size: 3rem;
  font-weight: bold;
}

.hero.bg-hero p {
  font-size: 1.3rem;
  max-width: 600px;
}

.server-status-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.5rem;
  font-size: 1.2rem;
  z-index: 2;
  position: relative;
}

.status-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.status-text {
  font-weight: bold;
}

/* Statusfarben */
.online {
  background-color: #22c55e; /* Grün */
  box-shadow: 0 0 10px #22c55e;
}

.offline {
  background-color: #ef4444; /* Rot */
  box-shadow: 0 0 10px #ef4444;
}

.aufbau {
  background-color: #eab308; /* Gelb */
  box-shadow: 0 0 10px #eab308;
}

.wartung {
  background-color: #3b82f6; /* Blau */
  box-shadow: 0 0 10px #3b82f6;
}

/* Animation für Status-Punkt */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.join-button {
  background-color: #7289da;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: inline-block;
  z-index: 2;
  position: relative;
}

.join-button:hover {
  transform: scale(1.05);
  background-color: #5b6eae;
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.9);
  }
}



.skewed-section {
  overflow: hidden;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 5;
}



.skewed-inner {
  transform: skewY(-2deg); /* Gleicher Gegeneffekt wie äußere Schräge */
  padding: 5rem 2rem; /* Optional: Padding auch etwas dezenter */
  width: 100%;
}

:root {
  --skew-angle: 2deg;
}

.skewed-section {
  transform: skewY(var(--skew-angle));
}

.skewed-inner {
  transform: skewY(calc(var(--skew-angle) * -1));
}


.city-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.city-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.city-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.city-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
}

.city-image {
  max-width: 500px;
  height: auto;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

/* Overlay-Stil */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  cursor: grab;
}

/* Schließen-Button */
.modal .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

/* Bild in der Modal */
.modal-content img {
  position: absolute;
  max-width: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.2s;
}

.modal-controls {
  position: absolute;
  top: 20px;
  right: 80px; /* Abstand zur Schließen-Schaltfläche */
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  z-index: 9999;
  max-width: 200px;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animated {
  opacity: 0;
  animation-fill-mode: forwards;
}

.features-fullbg {
  background-image: url('/img/index/rk.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  width: 100vw;
  height: 100vh;
  /* Schräge obere Kante */
  z-index: 0;
}

.content {
  text-align: center;
  max-width: 800px;
}


.features-fullbg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
  z-index: 0;
}

.features-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  text-align: center;
  color: white;
}

.features-content h2 {
  font-size: 3rem;
  margin-bottom: 60px;
  font-weight: bold;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-box {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-8px);
}

.feature-box i {
  font-size: 2.5rem;
  color: #00ffcc;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 1rem;
  color: #e0e0e0;
}

.footer {
  background-color: #111;
  color: #ccc;
  padding: 40px 20px 20px 20px;
  font-size: 0.9rem;
  border-top: 1px solid #222;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-about h3 {
  color: #a855f7;
  margin-bottom: 15px;
}

.footer-about p {
  line-height: 1.6;
  color: #bbb;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: #a855f7;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #a855f7;
}

.footer-contact p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-contact a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #a855f7;
}

.footer-social .social-icons a {
  color: #ccc;
  font-size: 1.8rem;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #a855f7;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 15px;
  margin-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

.footer-bottom a {
  color: #a855f7;
  text-decoration: none;
  margin: 0 8px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}


.creator-program {
  color: #fff;
  padding: 4rem 2rem;
}

.creator-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
}

.creator-text {
  flex: 1;
  min-width: 300px;
}

.creator-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.creator-box {
  margin-top: 1.5rem;
  background: #1c1c1c;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
}

.creator-box h3 {
  color: #f2b632;
  margin-bottom: 0.5rem;
}

.creator-box ul {
  list-style: none;
  padding-left: 0;
}

.creator-box li {
  margin-bottom: 0.5rem;
}

.creator-note {
  margin-top: 2rem;
  font-style: italic;
  color: #f2b632;
}

.creator-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  margin-top: 8rem; /* <<< Bild wird nach unten verschoben */
}

.creator-image img {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}



.section-title {
  text-align: center;
  font-size: 2.5em;
  margin: 60px 0 40px 0;
  color: #ffffff;
  font-weight: bold;
}

.vehicle-skins {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 0 20px;
}

.skin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.skin-row:nth-child(even) {
  flex-direction: row-reverse;
}

.skin-text {
  flex: 1;
  color: #ffffff;
}

.skin-text h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.skin-text p {
  font-size: 1.1em;
  line-height: 1.6;
}

.skin-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.skin-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.partner-section {
  background-color: #0e0e0e;
  padding: 60px 40px; /* statt 20px */
  color: #fff;
  text-align: center;

}
a.partner-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.partner-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.partner-a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.partner-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.partner-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}


.partner-card img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 25px;
  filter: brightness(0.9);
}

.partner-card p {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin: 0;
}

.partner-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.partner-card:nth-child(2) {
  animation-delay: 0.2s;
}
.partner-card:nth-child(3) {
  animation-delay: 0.4s;
}
/* usw. */

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-section {
  background-image: url('/img/index/rd.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  width: 100vw;
  height: 100vh;
  /* Schräge obere Kante */
  z-index: 0;
}

.faq-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(18, 18, 18, 0.9); /* dunkle Overlay für bessere Lesbarkeit */
  z-index: 1;
}

.faq-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
}


h2 {
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  color: #3a79d8; /* Blau */
  text-shadow: 0 0 6px #3a79d8aa;
}

.faq-item {
  margin-bottom: 22px;
  border-bottom: 1px solid #2a2a2a; /* dunkleres Grau */
  padding-bottom: 12px;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: #f0f4ff; /* weiß/blau */
  font-size: 1.3rem;
  padding: 18px 0;
  cursor: pointer;
  outline: none;
  position: relative;
  font-weight: 600;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.faq-question:hover,
.faq-question.active {
  color: #3a79d8; /* Blau beim Hover/Aktiv */
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 700;
  color: #3a79d8; /* blau */
  transition: transform 0.3s ease;
  user-select: none;
}

.faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  color: #cfd9ff; /* helles Blau für Antworttext */
  padding-left: 10px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.faq-answer p {
  margin: 10px 0 0 0;
}



@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .search-icons {
    display: none;
  }

  .nav-links.active + .search-icons,
  .nav-links.active ~ .search-icons {
    display: block;
  }
  
  .nav-links {
    width: 100%;
    flex-direction: column;
    display: none;
    margin-top: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .search-icons {
    margin-left: auto;
  }

  .card {
    width: 90%;
  }

  .skewed-section,
  .skewed-inner {
    transform: none;
    padding: 2rem 1rem;
  }

  .hero.bg-hero h1 {
    font-size: 2rem;
  }

  .hero.bg-hero p {
    font-size: 1rem;
  }

  .modal-content img {
    max-width: 100%;
    height: auto;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-social {
    flex: 1 1 100%;
    min-width: auto;
  }

  .features-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  .feature-box {
    flex: 0 0 250px;
  }
}

@media (max-width: 480px) {
  nav a {
    display: block;
    margin: 5px 0;
  }

  .hero.bg-hero h1 {
    font-size: 1.6rem;
  }

  .hero.bg-hero p {
    font-size: 0.9rem;
  }
}
