/* ===== FIXED SITE HEADER - Blumer Lehmann ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid #007a3d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  gap: 20px;
}

.site-header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header-logo {
  height: 55px;
  width: auto;
  flex-shrink: 0;
}

.site-header-info {
  display: flex;
  gap: 40px;
}

.site-header-address,
.site-header-contact {
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #333;
}

.site-header-address strong {
  color: #007a3d;
}

.site-header-contact a {
  color: #333;
  text-decoration: none;
}

.site-header-contact a:hover {
  color: #007a3d;
  text-decoration: underline;
}

/* Mitte: Anlagen-Dropdown */
.site-header-center {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.site-header-dropdown {
  padding: 8px 15px;
  font-size: 13px;
  border: 2px solid #007a3d;
  border-radius: 4px;
  background-color: white;
  color: #333;
  cursor: pointer;
  min-width: 200px;
  max-width: 300px;
}

.site-header-dropdown:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 61, 0.2);
}

.site-header-dropdown:hover {
  border-color: #005a2d;
}

/* Rechte Seite: Navigation */
.site-header-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.site-header-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0;
  padding-right: 15px;
  border-right: 1px solid #ddd;
}

.site-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header-email {
  font-size: 12px;
  color: #555;
  font-weight: 500;
}

.site-header-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.2s, transform 0.1s;
  white-space: nowrap;
}

.site-header-btn:hover {
  transform: translateY(-1px);
}

.site-header-btn:active {
  transform: translateY(0);
}

.site-header-btn.primary {
  background-color: #007a3d;
  color: white;
}

.site-header-btn.primary:hover {
  background-color: #006030;
}

.site-header-btn.secondary {
  background-color: #6c757d;
  color: white;
}

.site-header-btn.secondary:hover {
  background-color: #5a6268;
}

.site-header-btn.logout {
  background-color: #dc3545;
  color: white;
}

.site-header-btn.logout:hover {
  background-color: #c82333;
}

/* Responsive Anpassungen */
@media (max-width: 1100px) {
  .site-header {
    padding: 10px 15px;
    gap: 15px;
  }
  
  .site-header-left {
    gap: 20px;
  }
  
  .site-header-info {
    gap: 25px;
  }
  
  .site-header-address,
  .site-header-contact {
    font-size: 11px;
  }
  
  .site-header-logo {
    height: 45px;
  }
  
  .site-header-title {
    font-size: 14px;
    padding-right: 10px;
  }
  
  .site-header-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .site-header-email {
    font-size: 11px;
  }
  
  .site-header-nav {
    gap: 10px;
  }
  
  .site-header-user {
    gap: 8px;
  }
  
  .site-header-dropdown {
    font-size: 12px;
    padding: 6px 10px;
    min-width: 150px;
  }
  
  .site-header-center {
    padding: 0 10px;
  }
}

@media (max-width: 850px) {
  .site-header {
    flex-wrap: wrap;
    padding: 10px 15px;
  }
  
  .site-header-left {
    flex: 1;
  }
  
  .site-header-center {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding: 8px 0 0 0;
    border-top: 1px solid #eee;
    margin-top: 8px;
  }
  
  .site-header-dropdown {
    width: 100%;
    max-width: none;
  }
  
  .site-header-nav {
    flex-shrink: 0;
  }
  
  .site-header-title {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 650px) {
  .site-header-left {
    width: 100%;
  }
  
  .site-header-nav {
    width: 100%;
    justify-content: flex-end;
    order: 2;
    padding-top: 8px;
    border-top: 1px solid #eee;
    margin-top: 8px;
  }
  
  .site-header-center {
    order: 3;
    border-top: none;
    margin-top: 0;
    padding-top: 8px;
  }
}

@media (max-width: 550px) {
  .site-header-left {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .site-header-logo {
    height: 40px;
  }
  
  .site-header-info {
    width: 100%;
    gap: 15px;
  }
  
  .site-header-address,
  .site-header-contact {
    font-size: 10px;
  }
  
  .site-header-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .site-header-title {
    width: 100%;
    text-align: center;
    font-size: 14px;
    padding-bottom: 5px;
  }
  
  .site-header-user {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .site-header-email {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }
}
