
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif !important;
}

.main-header {
  background-image: linear-gradient(180deg, #F24040, rgba(13, 89, 161, 0));
  background-color: transparent;
  transition: background-color 0.3s ease-in, transform 0.6s linear;
}

.main-header.scrolled {
  background: white !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-header .nav-link {
    color: white;
    font-weight: 700;
    padding: 0.5rem 1rem;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.main-header.scrolled .nav-link {
  color: #002B5B;
}

.nav-container {
  max-width: 1400px;
  padding: 0.5rem 2rem;
}

.logo img {
  height: 120px;
  transition: height 0.3s ease-in-out;
}

.main-header.scrolled .logo img {
  height: 82px;
}

@media (max-width: 900px) {
  .logo img {
    height: 70px !important;
  }

  .main-header.scrolled .logo img {
    height: 30px; /* bleibt klein beim Scrollen */
  }
}


.nav-container {
  max-width: 1400px;
  margin: auto;
    padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav.left {
  flex: 1;
  justify-content: flex-start;
}

.nav.right {
  flex: 1;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0;
  position: relative;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10%;
}

.logo img {
  height: 120px;
}

/* Dropdowns */
.dropdown {
  position: relative;
}

.dropdown-menu {
  list-style: none;
  display: none;
  position: absolute;
  top: 2.5rem;
  left: 0;
  background: white;
  padding: 0.5rem 0;
  border-radius: 6px;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #002B5B;
  white-space: nowrap;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: #f0f0f0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}


.site-footer {
  background: #0a1930;
  color: #fff;
  padding: 3rem 1.5rem;
  font-family: 'Nunito Sans', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-col p, .footer-col a, .footer-col li {
  font-size: 0.95rem;
  color: #dddddd;
  line-height: 1.6;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Sponsor Grid */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 0.8rem;
}

.sponsor-grid img {
  width: 100%;
  max-height: 60px;
  object-fit: contain;
  background: white;
  border-radius: 6px;
  padding: 0.5rem;
}

button.navbar-toggler {
    background: white;
}
