/* Globale Einstellungen */

    :root {
      --primary-color: #ffcc00;
      --secondary-color: #00aaff;
      --bg-color: #1a1a1a;
      --card-bg: #2a2a2a;
      --border-color: #444;
      --text-color: #e0e0e0;
      --description-color: #bbbbbb;
      --button-bg: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    }
    


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a{
text-decoration: none;
}

body {
  font-family: 'Orbitron', sans-serif;
  background: #1a1a1a;
  color: #ddd;
}

ul li a{
	font-family: 'Rajdhani', sans-serif;
}

header h1 {
      font-size: 3em;
      font-family: 'Press Start 2P', cursive;
      color: #ffcc00;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
      text-align: center;
      margin-top: 40px;
      margin-bottom: 40px;
}

header h2 {
      font-size: 2em;
      font-family: 'Press Start 2P', cursive;
      color: #ffcc00;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
      text-align: center;
      margin-top: 40px;
      margin-bottom: 40px;
}

header p {
      font-size: 1.2em;
      color: #ccc;
      margin-top: 10px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
padding-top: 50px;
padding-bottom: 150px;
}

/* Header & Navigation */
.site-header {
    background: #222;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px;
margin: auto;
width: 90%;
}
.logo{
    width: max-content;
}

.logo span {
  color: #00bcd4;
  font-size: 32px;
  font-weight: 700;
}

/* Neue Container für Navigation und Sprachwahl */
.nav-lang-container {
  display: flex;
  align-items: center;
}

/* Hauptmenü */
nav ul.menu {
  list-style: none;
  display: flex;
}
nav ul.menu > li.menu-item {
  position: relative;
  margin-right: 30px;
}
nav ul.menu > li.menu-item > a {
  text-decoration: none;
  color: #ddd;
  padding: 10px 15px;
  transition: color 0.3s, transform 0.3s;
  border-radius: 4px;
  position: relative;
  font-size: 18px;
  z-index: 2;
}

/* Eleganter Unterstrich-Hover-Effekt */
nav ul.menu > li.menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #00bcd4;
  transition: width 0.3s;
  border-radius: 2px;
  z-index: 3;
}
nav ul.menu > li.menu-item > a:hover::after {
  width: 100%;
}
nav ul.menu > li.menu-item > a:hover {
  transform: translateY(-3px);
  color: #fff;
}

/* Mega-Menü */
.mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  background: #292929;
  padding: 20px;
  display: none;
  width: 600px;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  z-index: 999;
}
nav ul.menu > li.menu-item:hover > .mega-menu {
  display: flex;
  justify-content: space-between;
}
.mega-menu-column {
  width: 30%;
}
.mega-menu-column h3 {
  color: #00bcd4;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}
.mega-menu-column ul {
  list-style: none;
}
.mega-menu-column ul li a {
  text-decoration: none;
  color: #ddd;
  padding: 5px 0;
  display: block;
  transition: color 0.3s, background 0.3s;
  border-radius: 4px;
width: max-content;
}
.mega-menu-column ul li a:hover {
  background: #333;
  color: #fff;
}

/* Einfaches Dropdown */
.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  background: #292929;
  padding: 10px;
  display: none;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  z-index: 1;
}
nav ul.menu > li.menu-item:hover > .dropdown {
  display: block;
}
.dropdown li {
  list-style: none;
}
.dropdown li a {
  text-decoration: none;
  color: #ddd;
  display: block;
  padding: 8px 12px;
  transition: background 0.3s, color 0.3s;
  border-radius: 4px;
width: max-content;
}
.dropdown li a:hover {
  background: #333;
  color: #fff;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #fff;
}
.hero p {
  font-size: 20px;
  color: #ccc;
}

/* Produkte Section */
.products {
  padding: 60px 0;
}
.products h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.product-card {
  background: #333;
  padding: 20px;
  border-radius: 4px;
  text-align: center;
  transition: transform 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-card img {
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 15px;
}
.product-card h3 {
  font-size: 20px;
  color: #fff;
}

/* News Section */
.news {
  padding: 60px 0;
  background: #1a1a1a;
  color: #fff;
}
.news h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #fff;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.news-card {
  background: #333;
  padding: 20px;
  border-radius: 4px;
  transition: transform 0.3s;
}
.news-card:hover {
  transform: translateY(-5px);
}
.news-card img {
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 15px;
}
.news-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}
.news-card p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 15px;
}

/* "Mehr"-Button in der News-Box */
.news-more {
  display: inline-block;
  padding: 8px 16px;
  background: #00bcd4;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s, transform 0.3s;
  float: right;
}
.news-more:hover {
  background: #0097a7;
  transform: translateY(-2px);
}

/* Neuer Footer mit 4 Spalten */
.footer-container {
  padding: 40px 0;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
  justify-content: center;
}
.footer-column {
  flex: 1;
  min-width: 200px;
}
.footer-column h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 5px;
}
.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #00bcd4;
}
.footer-column ul {
  list-style: none;
}
.footer-column ul li {
  margin-bottom: 8px;
}
.footer-column ul li a {
  text-decoration: none;
  color: #bbb;
  transition: color 0.3s, transform 0.3s;
}
.footer-column ul li a:hover {
  color: #fff;
  transform: translateX(5px);
}
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-logos img {
  max-height: 64px;
}
.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #777;
  border-top: 1px solid #333;
  padding-top: 20px;
}

/* Sprachwahl Dropdown */
.language-selector {
  position: relative;
  margin-left: 20px;
}
.lang-btn {
  background: #222;
  color: #ddd;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
}
.lang-btn img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.lang-options {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #292929;
  border-radius: 4px;
  padding: 5px 0;
  margin-top: 5px;
  display: none;
  min-width: 120px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  z-index: 10;
}
.lang-options a {
	color:white;
	text-decoration:none; 
}
.lang-options li {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.lang-options li img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.lang-options li:hover {
  background: #333;
}
.language-selector.active .lang-options {
  display: block;
}

/* Back-to-Top Button */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #00bcd4;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover {
  background: #0097a7;
}
