/* Suchfunktion Styles */
.search-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.search-box {
  display: flex;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.search-input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  font-size: 18px;
  outline: none;
}

.search-button {
  background: #2c3e50;
  color: white;
  border: none;
  padding: 0 25px;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.3s;
}

.search-button:hover {
  background: #1a252f;
}

.search-results {
  margin-top: 20px;
}

.result-count {
  margin-bottom: 20px;
  color: #666;
  font-style: italic;
}

.service-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  margin-top: 0;
  color: #2c3e50;
}

.service-card p {
  margin-bottom: 15px;
  color: #555;
}

.service-link {
  display: inline-block;
  background: #000;
  color: white;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.service-link:hover {
  background: #fff;
  color: #000;
}

.no-results {
  text-align: center;
  padding: 40px;
  color: #666;
}

.highlight {
  background-color: #fffacd;
  padding: 2px 4px;
  border-radius: 3px;
}

.search-tips {
  margin-top: 30px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 14px;
}

.search-tips h4 {
  margin-top: 0;
  color: #2c3e50;
}

/* Refresh Button Styles */
.refresh-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  border-radius: 5px;
  border-color: #000;
  border-style: solid;
  border-width: 1px;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.refresh-button:hover:not(:disabled) {
  color: #fff;
  background: #b30000;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.refresh-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.refresh-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.refresh-button.secondary {
  background: transparent;
  color: #bdc3c7;
  border: 1px solid #bdc3c7;
}

.refresh-button.secondary:hover:not(:disabled) {
  background: #34495e;
  color: white;
  border-color: #34495e;
}

.refresh-button.loading svg {
  animation: spin 1s linear infinite;
}

/* Basis Styles */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header {
  background: transparent;
  color: white;
  padding: 20px 0;
}

.site-header h1 {
  margin: 0;
  text-align: center;
  flex: 1;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
}

.site-footer {
  background: #34495e;
  color: white;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

.footer-actions {
  margin-top: 15px;
}

/* Kategorie Styles */
.service-category {
  display: inline-block;
  background: #e74c3c;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}

.service-card[data-category="Entwicklung"] .service-category {
  background: #3498db;
}

.service-card[data-category="Marketing"] .service-category {
  background: #9b59b6;
}

.service-card[data-category="E-Commerce"] .service-category {
  background: #e67e22;
}

.service-card[data-category="Pakete"] .service-category {
  background: #f39c12;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .site-header h1 {
    order: -1;
  }

  .search-box {
    flex-direction: column;
  }

  .search-input {
    border-radius: 8px 8px 0 0;
  }

  .search-button {
    border-radius: 0 0 8px 8px;
    padding: 12px;
  }
}
