/* ==========================================================
   Accessibility fixes for profi-moderatorin.de
   Stand: 2026-05-13
   Zweck: Kontrast, Link-Erkennbarkeit, Fokuszustände und
   Touchflächen verbessern, ohne die Grundoptik stark zu verändern.
   ========================================================== */

/* Header-Zitat: Kontrast erhöhen */
html body .text-quote-quote,
html body .text-quote-quote span,
html body #sidebar-header .widget blockquote,
html body #sidebar-header .widget blockquote span {
  color: #585555 !important;
}

html body .text-quote-author,
html body #sidebar-header .widget cite,
html body #sidebar-header .widget .text-quote-author {
  color: #3f3f3f !important;
}

/* Hauptmenü: Kontrast erhöhen, ohne Menülinks zu unterstreichen */
html body #header div.menu > ul > li > a,
html body #header div.menu > ul > li > a span,
html body #nav > li > a,
html body #nav > li > a span {
  color: #4f4f4f !important;
  text-decoration: none !important;
}

html body #header div.menu > ul > li > a:hover,
html body #header div.menu > ul > li > a:focus,
html body #nav > li > a:hover,
html body #nav > li > a:focus {
  color: #244455 !important;
  text-decoration: none !important;
}

html body #header div.menu > ul > li > a:focus-visible,
html body #nav > li > a:focus-visible {
  outline: 1px dotted currentColor;
  outline-offset: 3px;
}

/* Fließtextlinks: dezent, sichtbar, nicht nur über Farbe erkennbar */
html body #content-home a:not(.btn),
html body #news-home .text a.read-more,
html body .box-sections a:not(.btn),
html body .sidebar a:not(.btn),
html body a.subtle-text-link,
html body a.auto-style33[href],
html body a.auto-style29[href] {
  color: #6f4a1f !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.17em !important;
  text-decoration-color: rgba(111, 74, 31, 0.55) !important;
}

html body #content-home a:not(.btn):hover,
html body #content-home a:not(.btn):focus,
html body #news-home .text a.read-more:hover,
html body #news-home .text a.read-more:focus,
html body .box-sections a:not(.btn):hover,
html body .box-sections a:not(.btn):focus,
html body .sidebar a:not(.btn):hover,
html body .sidebar a:not(.btn):focus,
html body a.subtle-text-link:hover,
html body a.subtle-text-link:focus,
html body a.auto-style33[href]:hover,
html body a.auto-style33[href]:focus,
html body a.auto-style29[href]:hover,
html body a.auto-style29[href]:focus {
  color: #3f2b16 !important;
  text-decoration-color: currentColor !important;
}

html body #content-home a:not(.btn):focus-visible,
html body #news-home .text a.read-more:focus-visible,
html body .box-sections a:not(.btn):focus-visible,
html body .sidebar a:not(.btn):focus-visible,
html body a.subtle-text-link:focus-visible,
html body a.auto-style33[href]:focus-visible,
html body a.auto-style29[href]:focus-visible {
  outline: 1px dotted currentColor;
  outline-offset: 2px;
}

/* Buttons bleiben Buttons: keine Textlink-Unterstreichung */
html body a.btn,
html body a.btn:hover,
html body a.btn:focus,
html body .btn,
html body .btn:hover,
html body .btn:focus {
  text-decoration: none !important;
}

/* Footer / Copyright: Kontrast erhöhen, helle Niedrigkontrast-Töne überschreiben */
html body #copyright,
html body #copyright .inner,
html body #copyright .left,
html body #copyright .left span,
html body #copyright .auto-style19,
html body #copyright .grounding-facts-link {
  color: #585555 !important;
}

html body #copyright .left a,
html body #copyright .grounding-facts-link a {
  color: #6f4a1f !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.17em !important;
  text-decoration-color: rgba(111, 74, 31, 0.55) !important;
}

html body #copyright .left a:hover,
html body #copyright .left a:focus,
html body #copyright .grounding-facts-link a:hover,
html body #copyright .grounding-facts-link a:focus {
  color: #3f2b16 !important;
  text-decoration-color: currentColor !important;
}

html body #copyright .left a:focus-visible,
html body #copyright .grounding-facts-link a:focus-visible {
  outline: 1px dotted currentColor;
  outline-offset: 2px;
}

/* Slider-Steuerung: Touchflächen vergrößern, soweit das alte Plugin dies zulässt */
html body #layerslider_1 .ls-nav-prev,
html body #layerslider_1 .ls-nav-next,
html body #layerslider_1 .ls-nav-start,
html body #layerslider_1 .ls-nav-stop {
  min-width: 44px !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
}

html body #layerslider_1 .ls-bottom-slidebuttons a {
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 8px !important;
  margin: 0 4px !important;
  box-sizing: border-box !important;
}
