/* ADLIONS — Einheitlicher Header (Desktop + Mobile) */

.topbar {
  background: rgba(21, 19, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 212, 154, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 4px 24px rgba(212, 175, 55, 0.08);
}

.topbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 64px;
  height: 64px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
}

.topbar a.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 42px;
  margin: 0 !important;
  text-decoration: none;
  line-height: 0;
}

.topbar a.logo img {
  display: block;
  height: 42px;
  width: auto;
  max-height: 42px;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}

.topbar-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  background: #15130f;
  cursor: pointer;
  flex: 0 0 auto;
}

.topbar-menu-icon,
.topbar-menu-icon::before,
.topbar-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #e8d49a;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.topbar-menu-icon {
  position: relative;
}

.topbar-menu-icon::before,
.topbar-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.topbar-menu-icon::before {
  top: -5px;
}

.topbar-menu-icon::after {
  top: 5px;
}

.topbar.is-open .topbar-menu-icon {
  background: transparent;
}

.topbar.is-open .topbar-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.topbar.is-open .topbar-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-main {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.75rem;
  min-width: 0;
  height: 36px;
}

.nav-main a {
  color: #e6dfcf;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 0 0.7rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  box-sizing: border-box;
}

.nav-main a:hover {
  background: rgba(26, 23, 18, 0.85);
  color: #d4af37;
}

.nav-main a[aria-current="page"] {
  color: #e8d49a;
  font-weight: 600;
}

.topbar > .topbar-inner > .topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 36px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 0 1rem;
  border-radius: 999px;
  white-space: nowrap;
  color: #0b0a08;
  background: linear-gradient(135deg, #e8d49a 0%, #d4af37 45%, #b6902a 100%);
  box-shadow: 0 2px 16px rgba(212, 175, 55, 0.45), 0 0 24px rgba(232, 212, 154, 0.35);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  line-height: 1;
}

.topbar > .topbar-inner > .topbar-cta:hover {
  filter: brightness(1.06);
  color: #0b0a08;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.55), 0 0 32px rgba(232, 212, 154, 0.4);
}

/* Mobile-CTA im Nav: auf Desktop immer versteckt */
.topbar .topbar-cta--mobile,
.nav-main .topbar-cta--mobile {
  display: none !important;
}

/* Tablet: Navigation enger */
@media (max-width: 1100px) and (min-width: 992px) {
  .nav-main {
    gap: 0.1rem 0.4rem;
  }

  .nav-main a {
    font-size: 14px;
    padding: 0 0.5rem;
  }

  .topbar > .topbar-inner > .topbar-cta {
    font-size: 13px;
    padding: 0 0.85rem;
  }
}

/* Mobile: Hamburger — Logo + Menü eine Zeile, gleiche Höhe */
@media (max-width: 991px) {
  .topbar-inner {
    height: auto;
    min-height: 52px;
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
    gap: 0;
  }

  .topbar a.logo {
    order: 1;
    margin-right: auto;
  }

  .topbar-menu-btn {
    display: inline-flex;
    order: 2;
  }

  .topbar > .topbar-inner > .topbar-cta {
    display: none !important;
  }

  .nav-main {
    order: 3;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    width: 100%;
    height: auto;
    margin-top: 0.65rem;
    padding: 0.65rem 0 0.25rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
  }

  .topbar.is-open .nav-main {
    display: flex;
  }

  .nav-main a {
    width: 100%;
    height: auto;
    min-height: 44px;
    box-sizing: border-box;
    font-size: 16px;
    padding: 0.75rem 0.85rem;
    white-space: normal;
    text-align: left;
    justify-content: flex-start;
  }

  .topbar.is-open .nav-main .topbar-cta--mobile {
    display: inline-flex !important;
    width: 100%;
    height: auto;
    min-height: 44px;
    margin-top: 0.5rem;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    padding: 0.85rem 1rem;
    white-space: nowrap;
    color: #0b0a08;
    background: linear-gradient(135deg, #e8d49a 0%, #d4af37 45%, #b6902a 100%);
    box-shadow: 0 2px 16px rgba(212, 175, 55, 0.45);
    border-radius: 999px;
  }

  body.topbar-nav-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .topbar a.logo {
    height: 36px;
  }

  .topbar a.logo img {
    height: 36px;
    max-height: 36px;
    max-width: 170px;
  }
}

/* —— Site-Footer (Karriere-Stil, alle Seiten) —— */
footer.adlions-site-footer {
  background: #070605;
  color: #a49c8b;
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  border: 0;
}

footer.adlions-site-footer nav {
  display: block;
}

footer.adlions-site-footer a {
  color: #efe0a8;
  text-decoration: none;
  font-weight: 500;
}

footer.adlions-site-footer a:hover {
  text-decoration: underline;
  color: #f0e2b6;
}
