*,
*::before,
*::after {
box-sizing: border-box;
}


body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: radial-gradient(circle at center, #101820, #05080d);
    color: white;
}

/* ================= HEADER ================= */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 20px;
    background: rgba(5, 8, 13, 0.85);
    backdrop-filter: blur(8px);
    z-index: 5;
    box-sizing: border-box;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    overflow: visible;
}
.header .logo {
    height: clamp(1rem, 5vw, 7rem); /* Höhe anpassen */
    width: auto;  /* Breite passt sich automatisch an */
    display: block;
}

/* Buttons */
header nav a {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #0a1f44;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid #1f4fff;
    transition: all 0.3s ease;
    font-size: clamp(1rem, 1vw, 5rem);
    font-weight: bold;
}

/* Hover */
header nav a:hover {
    background-color: #8b0000;
    border: 1px solid #ff1a1a;
    transform: translateY(-3px);
}


/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;

}

/* Dropdown Inhalt (untergeordnete Links) */
.dropdown-content {
  display: none; /* unsichtbar standardmäßig */
  position: absolute;
  top: 100%; /* direkt unter dem Hauptlink */
  left: 0;
  background-color: #0a1f44;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  border-radius: 8px;
  z-index: 10;
  flex-direction: column;
}

/* Dropdown Links */
.dropdown-content a {
  display: block;
  padding: 1rem 1.5rem;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s;
  font-size: clamp(1rem, 1vw, 5rem);
}

/* Hover auf Dropdown Links */
.dropdown-content a:hover {
    background-color: #8b0000;
    border: 1px solid #ff1a1a;
}

/* Zeigen, wenn hover auf Container */
.dropdown:hover .dropdown-content {
  display: flex; /* sichtbar */
  flex-direction: column;
}

/* Optional: kleiner Pfeil beim Hauptlink */
.dropdown > a {
  display: inline-block;
  position: relative;
}

/* ================= HERO ================= */
.coming-soon {
  padding: 120px 20px; /* Abstand wegen Navbar */
  text-align: center;
  color: white;
}

.coming-container {
  max-width: 600px;
  margin: auto;
  animation: fadeIn 1.2s ease forwards;
}

.coming-soon h1 {
  font-size: clamp(1rem, 12vw, 6rem);
}

.coming-soon p {
  font-size: clamp(1rem, 1vw, 6rem);
  opacity: 0.8;
  margin: 20px 0;
}

.glow-line {
  width: 60%;
  height: 2px;
  margin: 20px auto;
  background: linear-gradient(to right, transparent, #00c3ff, transparent);
  box-shadow: 0 0 10px #00c3ff;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #00c3ff;
  border-radius: 8px;
  text-decoration: none;
  color: white;
}

.btn:hover {
  background: #00c3ff;
  color: black;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.market-hero {
    padding-top: 180px;
    text-align: center;
    margin-bottom: 80px;
}

.market-hero h1 {
    font-size: clamp(1rem, 2vw, 5rem);
    margin-bottom: 20px;
}

.market-hero p {
    font-size: clamp(1rem, 1vw, 5rem);
    color: #b8c6db;
}

/* ================= MARKET SECTION ================= */


.category-cards {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5% 120px 5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;

}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(10, 31, 68, 0.6);
    border: 1px solid rgba(0, 120, 255, 0.3);
    border-radius: 16px;
    padding: 40px 20px;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}


.category-card h2 {
    font-size: clamp(1rem, 1.8vw, 5rem);
    margin-bottom: 15px;
}

.category-card p {
    font-size: clamp(1rem, 0.9vw, 5rem);
    margin-bottom: 25px;
    color: #d0d8e5;
}

.category-card .cta {
    font-weight: 600;
    color: #00b7ff;
}

/* Hover Effekt */
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(0, 183, 255, 0.6);
    background: rgba(10, 31, 68, 0.8);
}


.site-footer {
  background-color: #0b0f1a; /* dunkler Hintergrund */
  color: #ffffff;            /* weiße Schrift */
  padding: 30px 20px;
  text-align: center;
  font-family: Arial, sans-serif;

  /* Startzustand für Einflug */
  opacity: 0;
  transform: translateY(100px);

  /* Einflug Animation */
  animation: footerSlideIn 1s ease-out forwards;
}

.site-footer .footer-content {
  max-width: 1200px;
  margin: auto;
}

.site-footer .footer-logo {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.site-footer .footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.site-footer .footer-links a:hover {
  color: #f03c3c; /* optional: roter Hover-Effekt */
}

.site-footer .footer-copy {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #bbbbbb;
}

/* Animation von unten nach oben */
@keyframes footerSlideIn {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




@media (max-width: 900px){
.header .logo {
    height: clamp(1rem, 18vw, 7rem);
    width: auto;  
    display: block;
}


.hamburger{
display:flex;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


header nav{
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: rgba(5,8,13,0.95);
flex-direction: column;
align-items: stretch;

max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease;
}

header nav a{
width:100%;
text-align:center;
}

header nav.open{
max-height: 600px;
}

.dropdown-content {
  display: none;
  position: static;
  flex-direction: column;
}

.dropdown.open .dropdown-content {
  display: flex;
}
}