/* TOP BAR */
.topbar {
  background: var(--green);
  color: #fff;
  font-size: 0.92rem;
  padding: 0.5rem 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
}
.topbar a:hover {
  text-decoration: underline;
  opacity: 1;
}

.topbar-left {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.sep {
  opacity: 0.85;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-icon {
  font-weight: 700;
}

/* NAV */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 9999;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  flex: 0 0 auto;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand span {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.05rem;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #334155;
  font-size: 0.96rem;
  padding: 0.25rem 0.1rem;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--green);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--green);
}
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-cta {
  text-decoration: none;
  font-weight: 800;
  background: var(--blue);
  color: #fff;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-cta:hover {
  filter: brightness(0.95);
}

/* ===== Dropdown (Dienstleistungen) ===== */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0;
  min-width: 260px;
  display: none;
  z-index: 99999;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: #334155;
  text-decoration: none;
  font-size: 0.95rem;
}

.dropdown-menu a:hover {
  background: #f3f7ff;
  color: var(--green);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* active submenu */
.dropdown-menu a.active {
  color: var(--green);
  font-weight: 900;
}


/* FOOTER */
.pro-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 4rem 0 2.5rem;
  margin-top: 4rem;
  border-top: 3px solid #5bbf47;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-col h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-col a {
  color: #5bbf47;
  text-decoration: none;
  font-weight: 800;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-map {
  width: 100%;
  max-width: 180px;
  opacity: 0.7;
}

.footer-bottom {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.65;
}

/* scroll buttons */
.scroll-btn {
  position: fixed;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: #5bbf47;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.scroll-up {
  bottom: 4.3rem;
}

.scroll-down {
  bottom: 1.5rem;
}

/* responsive */
@media (max-width: 900px) {
  .nav-inner {
    align-items: flex-start;
  }
}
