/* ===================================
   UTILITIES.CSS - Hilfsklassen
   =================================== */

/* Spacing */
.mt-6 {
  margin-top: 4rem !important;
}
.mb-6 {
  margin-bottom: 4rem !important;
}
.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* Display */
.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
.d-flex {
  display: flex !important;
}

/* Text */
.text-center {
  text-align: center !important;
}
.text-start {
  text-align: left !important;
}
.text-end {
  text-align: right !important;
}

.fw-bold {
  font-weight: 700 !important;
}
.fw-semibold {
  font-weight: 600 !important;
}
.fw-normal {
  font-weight: 400 !important;
}

.small {
  font-size: 0.875rem !important;
}
.text-muted {
  color: var(--color-text-light) !important;
}

/* Borders & Shadows */
.rounded {
  border-radius: var(--border-radius) !important;
}
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}
.shadow {
  box-shadow: var(--box-shadow) !important;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
}

@media (min-width: 769px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-block {
    display: block !important;
  }
}

/* Background Utilities */
.bg-white {
  background-color: var(--color-white) !important;
}
.bg-light {
  background-color: var(--color-bg-light) !important;
}
.bg-dark {
  background-color: var(--color-dark) !important;
}

/* Width Utilities */
.w-100 {
  width: 100% !important;
}
.w-auto {
  width: auto !important;
}

/* Height Utilities */
.h-100 {
  height: 100% !important;
}
.min-h-screen {
  min-height: 100vh;
}
