



/* accessibility menu */

    /* --- Grundstile für das Accessibility-Menü --- */


    #accessibilityMenuButton:hover {
        cursor: pointer;
        
        
     }


    #accessibilityMenuButton:hover svg path {
        fill: #ffffff !Important;
     }

    .barrierelink {
      font-size: 0.8rem;
      color: #000;
      font-weight:bold;
    }

    .barrierelink:hover {
      color: #000;
      opacity:0.8;
      filter: brightness(1.2);
    }

   .barrierelink:nth-of-type(1)::after {
     content: "|"; 
     margin: 0 8px; 
     color: #000; 
     display: inline-block;
    }


/* Hover-Effekte für Elemente, die den Kontrast-Override haben, deaktivieren */
.disable-hover:hover,
.disable-hover:active,
.disable-hover:focus {
  color: #ffffff !important;
  filter: brightness(1.0);   
  transition: color 0.3s ease, filter 0.3s ease;
}


/* --- Berücksichtigung der Sticky-Navigation auf der Seite --- */
   #header.small #accessibilityMenuButton {
     margin-top: 5px;
   }

    #accessibilityMenuButton {
      padding: 0.25rem;
    }

    /* Für Screenreader: unsichtbar, aber zugänglich */
    .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;
    }

    /* --- Modal-Overlay --- */
    .modal-overlay {
      display: none; /* standardmäßig versteckt */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 10000;
      justify-content: center;
      align-items: center;
    }
    .modal-overlay.active {
      display: flex;
    }

    /* --- Modal-Inhalt --- */
    .modal-content {
      background: #fff;
      padding: 20px;
      border-radius: 8px;
      max-width: 400px;
      width: 90%;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        color: #00305E;
    }
    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .modal-header h2 {
      margin: 0;
      font-size: 1.2rem;
    }
    .modal-close {
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
    }

    #modalCloseButton {
      color:#000000;
    }

    .accessibilityModalTitle {
      color: #00305E !important;
    }

    .accessibility-options {
      list-style: none;
      padding: 0;
      margin-top: 20px;
    }

    .accessibility-option {
      display: flex;
      align-items: flex-start; /* Statt center: alle Icons/Texte oben bündig */
      padding: 10px;
      margin-bottom: 10px;
      background: #f5f5f5;
      border: 1px solid #ddd;
      border-radius: 4px;
      cursor: pointer;
      width: 100%;            /* Volle Breite im Modal */
      box-sizing: border-box; /* Saubere Größenberechnung */
      color:#000000;
    }

      .accessibility-option:hover .option-text,
      .accessibility-option:hover .option-icon {

        color: #000 !important;
      }
   
    
    .option-icon {
      flex: 0 0 40px; /* Fixierte Breite für das Icon */
      margin-right: 10px;
      color: #00305E    ;
    }

    .option-text {
      display: flex;
      flex-direction: column;
      text-align: left; /* Links ausgerichtet */
      color: #00305E;
    }
    .option-text strong {
      font-size: 1rem;
      margin-bottom: 4px;
    }
    .option-text p {
      font-size: 0.9rem;
      margin: 0;
    }

    /* --- Responsive Anpassung für mobile Geräte --- */
    @media (max-width: 600px) {
      .modal-content {
        width: 95%;
      }
      .accessibility-option {
        flex-direction: column;
        align-items: flex-start;
      }
      .option-icon {
        margin-bottom: 5px;
      }
    }
