/* assets/css/navigation.css */

/* -- Top Bar -- */
.ctls-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  color: #fff;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.ctls-top-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  margin-left: 1.5rem;
}

.ctls-top-left,
.ctls-top-right {
  display: flex;
  align-items: center;
}

.ctls-top-left > * + * {
  margin-left: 0.75rem;
}

.ctls-phone-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* Responsive: Top-Bar auf Mobilgeräte umbrechen */
@media (max-width: 600px) {
  .ctls-top-nav {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 0.5rem;
  }
  .ctls-top-right a {
    margin-left: 0.75rem;
  }
}


/* 2) Header & Hauptnavigation */
.ctls-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  position: relative;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
.ctls-header.sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.ctls-logo img {
  max-height: 40px;
}
.ctls-hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.ctls-main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ctls-main-menu li + li {
  margin-left: 2rem;
}

/* 3) Subnavigation */
.ctls-sub-nav {
  background: #e9e9e9;
  padding: 0.5rem 1rem;
}
.ctls-sub-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ctls-sub-menu li + li {
  margin-left: 1.5rem;
}

/* 4) Footer */
.ctls-footer {
  background: #333;
  color: #fff;
  padding: 2rem 1rem;
}
.ctls-footer-widgets {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.ctls-footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

/* 5) Responsive Mobile */
@media (max-width: 768px) {
  .ctls-hamburger {
    display: block;
  }
  .ctls-main-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
  }
  .ctls-main-menu.open {
    display: flex;
  }
  .ctls-main-menu li + li {
    margin-left: 0;
    margin-top: 1rem;
  }
}
