*,
*::before,
*::after {
box-sizing: border-box;
}

body {
    margin: 0;
    background: radial-gradient(circle at center, #101820, #05080d);
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
    color: #ffffff;
}

.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;
}

.section-divider {
  width: 60%;
  height: 1px;
  margin: 80px auto;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 140, 255, 0.7),
    transparent
  );
  box-shadow: 0 0 12px rgba(0, 140, 255, 0.5);
}
/*================================================================================*/


h1{
    align-items: center;
    padding-top: 120px;
}


/*================================================================================*/

.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;
}
}