/* V111: Kontaktbox und Theme-Control – gezielte visuelle Korrektur. */
html body .kn-contact-aside,
html body .kn-contact-form {
  border-radius: 0 !important;
}
/* Flacher, präziser Segment-Schalter statt schwebender dunkler Kapsel. */
html body .kn-theme-switch,
html body .kn-subpage-theme-switch {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 3px !important;
  border: 1px solid #39424a !important;
  border-radius: 0 !important;
  background: #20242b !important;
  box-shadow: 0 5px 16px rgba(0,0,0,.14) !important;
  overflow: hidden !important;
  right: 20px !important;
  bottom: 20px !important;
}
html body .kn-theme-switch a,
html body .kn-theme-switch button,
html body .kn-subpage-theme-switch a,
html body .kn-subpage-theme-switch button {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-width: 68px !important;
  padding: 10px 14px !important;
  font: 700 12px/1.2 Arial,Helvetica,sans-serif !important;
  text-align: center !important;
  color: #f5f5f5 !important;
  background: transparent !important;
  background-image: none !important;
  transition: background-color .18s ease,color .18s ease !important;
}
html body .kn-theme-switch a[aria-current="page"],
html body .kn-subpage-theme-switch button[aria-pressed="true"] {
  background: #f7931e !important;
  background-image: none !important;
  color: #171b21 !important;
}
html body .kn-theme-switch a:not([aria-current="page"]):hover,
html body .kn-subpage-theme-switch button:not([aria-pressed="true"]):hover {
  background: #343a43 !important;
}
html body .kn-theme-switch :is(a,button):focus-visible,
html body .kn-subpage-theme-switch :is(a,button):focus-visible {
  outline: 2px solid #6ad0f0 !important;
  outline-offset: -2px !important;
}
@media(max-width:480px) {
  html body .kn-theme-switch,html body .kn-subpage-theme-switch {
    right: 12px !important;bottom: 12px !important;
  }
  html body .kn-theme-switch :is(a,button),
  html body .kn-subpage-theme-switch :is(a,button) {
    min-width: 60px !important;padding: 9px 11px !important;
  }
}
