/* =================================================================
   ACCESSIBILITY CSS - SPIELMANNSZUG RHEDE 2025
   Skip-Navigation und Barrierefreiheit
   ================================================================= */

/* === SKIP NAVIGATION === */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--color-white);
    transition: all var(--transition-fast);
  }
  
  .skip-link:focus {
    top: 6px;
    outline: none;
    transform: scale(1.05);
  }
  
  /* === SCREEN READER ONLY === */
  .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  
  /* === BREADCRUMB NAVIGATION === */
  .breadcrumb {
    margin-bottom: var(--space-6);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-gray-200);
  }
  
  .breadcrumb__list {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: var(--text-sm);
  }
  
  .breadcrumb__item {
    display: flex;
    align-items: center;
  }
  
  .breadcrumb__item:not(:last-child)::after {
    content: '›';
    color: var(--color-gray-400);
    margin-left: var(--space-2);
    font-size: var(--text-base);
  }
  
  .breadcrumb__item a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
  }
  
  .breadcrumb__item a:hover {
    text-decoration: underline;
    color: var(--color-primary-dark);
  }
  
  .breadcrumb__item span[aria-current="page"] {
    color: var(--color-gray-600);
    font-weight: var(--font-medium);
  }
  
  /* === FOCUS STYLES === */
  .btn:focus-visible,
  .bottom-nav__item:focus-visible,
  .desktop-nav__item:focus-visible {
    outline: 3px solid rgba(52, 98, 63, 0.5);
    outline-offset: 2px;
  }
  
  /* === PROGRESS INDICATOR (für lange Seiten) === */
  .page-progress {
    position: sticky;
    top: var(--header-height-mobile);
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    z-index: var(--z-sticky);
    padding: var(--space-2) 0;
    margin-bottom: var(--space-6);
  }
  
  .progress-steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    gap: var(--space-2);
  }
  
  .progress-steps li {
    flex-shrink: 0;
  }
  
  .progress-steps a {
    display: block;
    padding: var(--space-2) var(--space-3);
    background: var(--color-gray-100);
    color: var(--color-gray-600);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    transition: all var(--transition-fast);
    white-space: nowrap;
  }
  
  .progress-steps a:hover,
  .progress-steps a:focus {
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
  }
  
  @media (min-width: 768px) {
    .page-progress {
      top: var(--header-height-desktop);
    }
  }
  
  /* === HIGH CONTRAST MODE === */
  @media (prefers-contrast: high) {
    .skip-link {
      background: #000000;
      color: #ffffff;
      border-color: #ffffff;
    }
    
    .btn--primary {
      background: #1a3d26;
      border-color: #1a3d26;
    }
    
    .text-gray-600 {
      color: #374151;
    }
  }
  
  /* === REDUCED MOTION === */
  @media (prefers-reduced-motion: reduce) {
    .skip-link {
      transition: none;
    }
    
    .progress-steps a {
      transition: none;
    }
  }