.setup-section {
  padding: 2rem 0;
  width: 100%;
  padding-bottom: 120px; /* Platz für sticky Footer */
}

.page-header {
  padding: 3rem 3rem 2rem;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.back-link {
  position: absolute;
  left: 3rem;
  top: 3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-secondary);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--color-primary);
}

.back-link svg {
  width: 24px;
  height: 24px;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg);
  z-index: 100;
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  background: rgba(15, 15, 15, 0.95);
}

/* section-inner, section-header, section-title und section-description sind bereits in style.css definiert */


.loading-container {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-text-muted);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-container {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.error-container h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
}

.error-container p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.setup-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.group-accordion {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.group-accordion:last-child {
  margin-bottom: 0;
}

.group-accordion:hover {
  border-color: var(--color-primary);
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.group-header:hover {
  background: rgba(255, 59, 59, 0.05);
}

.group-header.active {
  background: rgba(255, 59, 59, 0.1);
  border-bottom-color: var(--color-primary);
}

.group-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.group-arrow {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.group-header.active .group-arrow {
  transform: rotate(180deg);
}

.group-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1rem;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.4s ease, 
              padding 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.group-content.open {
  max-height: 5000px;
  opacity: 1;
  padding: 1rem;
}

.category-section {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.6rem;
  transition: all 0.3s ease;
}

.category-section-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
}

.category-section-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.category-icon-small {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 3px;
  padding: 0.2rem;
}

.category-icon-small svg {
  width: 100%;
  height: 100%;
}

.category-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.6rem;
}

.item-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  transition: all 0.3s ease;
}

.item-card:hover {
  border-color: var(--color-secondary);
  background: rgba(0, 212, 255, 0.05);
}

.item-header {
  margin-bottom: 0.4rem;
}

.item-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  flex: 1;
  line-height: 1.3;
}

.item-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.item-description {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.item-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  color: var(--color-text);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.item-link:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.item-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .page-header {
    padding: 2rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .back-link {
    position: static;
    margin-bottom: 0;
    justify-content: flex-start;
  }

  .footer {
    padding: 1rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .setup-container {
    padding: 0 1rem;
  }

  .category-card {
    padding: 1.5rem;
  }

  .category-items {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .item-card {
    padding: 1rem;
  }

  .item-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .item-name {
    font-size: 1rem;
  }

  .item-links {
    flex-direction: column;
  }

  .item-link {
    width: 100%;
    justify-content: center;
  }
}
