/* ==========================================================================
   Netz Neon – dark neon-blue / cyberpunk site template
   ========================================================================== */

:root {
  --nn-bg: #050a14;
  --nn-bg-deep: #02050a;
  --nn-bg-elevated: #0a1220;
  --nn-bg-panel: #0b1424;
  --nn-bg-hover: #101c32;
  --nn-border: rgba(0, 242, 255, 0.12);
  --nn-border-strong: rgba(0, 242, 255, 0.35);

  --nn-neon: #00f2ff;
  --nn-neon-blue: #0066ff;
  --nn-neon-purple: #a020f0;
  --nn-neon-soft: rgba(0, 242, 255, 0.18);

  --nn-text: #f4f7fb;
  --nn-text-main: #f4f7fb;
  --nn-text-muted: #9aa7b8;
  --nn-text-dim: #6d7b8f;
  --text-main: var(--nn-text-main);

  /* Bootstrap / Tom Select – heller Hover-Hintergrund überschreiben */
  --bs-tertiary-bg: #101c32;
  --bs-secondary-bg: #0b1424;
  --bs-body-bg: #050a14;
  --bs-body-color: #f4f7fb;
  --bs-dropdown-link-hover-bg: rgba(0, 102, 255, 0.4);
  --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-link-active-bg: rgba(0, 102, 255, 0.45);
  --bs-dropdown-link-active-color: #fff;

  --nn-sidebar-width: 280px;
  --nn-sidebar-collapsed: 76px;
  --nn-topbar-pad-y: 0.65rem;
  --nn-logo-h: clamp(118px, 15vw, 168px);
  /* Fallback ≈ Logo-Header inkl. 1px Border; JS setzt den exakten Wert */
  --nn-topbar-offset: calc(var(--nn-topbar-pad-y) * 2 + var(--nn-logo-h) + 1px);
  --nn-header-glow-x: calc(var(--nn-sidebar-width) + 5.5rem);
  --nn-header-glow-x2: calc(var(--nn-sidebar-width) + 10rem);
  /*
   * Gemeinsamer Header-Strip (Sidebar + Top-Bar, background-attachment: fixed).
   * Logo-Zone ≈ #07111f – links etwas dunkler, rechts etwas heller, gleichmäßige Mitte.
   */
  --nn-header-strip-bg:
    radial-gradient(ellipse 720px 200px at var(--nn-header-glow-x) 48%, rgba(0, 242, 255, 0.1) 0%, rgba(0, 102, 255, 0.045) 45%, transparent 78%),
    radial-gradient(ellipse 540px 160px at var(--nn-header-glow-x2) 55%, rgba(160, 32, 240, 0.05) 0%, transparent 74%),
    linear-gradient(
      90deg,
      #060d16 0%,
      #07111f 18%,
      #08141f 36%,
      #0a1524 55%,
      #0b1728 75%,
      #0c1a2c 100%
    );
  --nn-logo-edge: #07111f;
  --nn-logo-glow: #0a1528;
  /* Header-Linie: dunkel → Peak unter Logo (~25%) → rechts sanft auslaufen */
  --nn-header-rule-gradient: linear-gradient(
    to right,
    rgba(0, 210, 255, 0.05) 0%,
    rgba(0, 210, 255, 1) 25%,
    rgba(0, 210, 255, 0.1) 100%
  );
  --nn-radius: 12px;
  --nn-radius-sm: 8px;
  --nn-transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);

  --nn-glow: 0 0 10px rgba(0, 242, 255, 0.35), 0 0 24px rgba(0, 102, 255, 0.2);
  --nn-glow-strong: 0 0 12px rgba(0, 242, 255, 0.55), 0 0 32px rgba(0, 102, 255, 0.35);
  --nn-font: "Segoe UI", "Eurostile", "Trebuchet MS", "Helvetica Neue", sans-serif;
  --nn-font-display: "Segoe UI Semibold", "Segoe UI", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body.site.netzneon,
body.error.netzneon,
body.offline.netzneon,
body.contentpane.netzneon {
  margin: 0;
  min-height: 100%;
  font-family: var(--nn-font);
  color: var(--nn-text);
  color-scheme: dark;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 102, 255, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(160, 32, 240, 0.12), transparent 50%),
    linear-gradient(180deg, var(--nn-bg) 0%, var(--nn-bg-deep) 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--nn-neon);
  text-decoration: none;
  transition: color var(--nn-transition), text-shadow var(--nn-transition);
}

a:hover,
a:focus-visible {
  color: #7dffff;
  text-shadow: 0 0 10px rgba(0, 242, 255, 0.45);
}

img {
  max-width: 100%;
  height: auto;
}

.nn-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--nn-neon-blue);
  color: #fff;
}

.nn-skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* --------------------------------------------------------------------------
   Layout – top bar + sidebar/content under it
   -------------------------------------------------------------------------- */

.nn-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/*
 * EIN gemeinsamer Header-Wrapper-Strip (.nn-page::before):
 * Hintergrund + Glow + durchgehende Cyan-Linie – volle 100vw.
 * Top-Bar und Fake-Header sind transparent und stylen KEINE eigene Fläche.
 */
.nn-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: var(--nn-topbar-offset);
  /* Über Content, unter interaktiver Top-Bar (Logo/Sprache) */
  z-index: 900;
  pointer-events: none;
  border: none;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(
      to right,
      rgba(0, 210, 255, 0.05) 0%,
      rgba(0, 210, 255, 1) 25%,
      rgba(0, 210, 255, 0.1) 100%
    )
    1;
  background: var(--nn-header-strip-bg);
  background-attachment: fixed;
  box-sizing: border-box;
}

.nn-page::after {
  content: none;
  display: none;
}

.top-bar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center; /* Logo + Sprachmodul auf einer Mittellinie */
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: var(--nn-topbar-pad-y) clamp(1.1rem, 3vw, 2.25rem);
  overflow: hidden;
  /* Nackt – Strip kommt nur von .nn-page::before */
  background: transparent;
  background-color: transparent;
  background-image: none;
  border: none;
  border-bottom: none;
  box-shadow: none;
  z-index: 1000;
}

.top-bar::before {
  content: none;
  display: none;
}

.top-bar__start,
.top-bar__end {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  align-self: center;
}

.top-bar__start {
  justify-content: flex-start;
  min-width: 0;
  flex: 1 1 auto;
}

.top-bar__end {
  justify-content: flex-end;
  flex: 0 0 auto;
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
}

.top-bar .nn-logo,
.top-bar .logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: min(720px, 100%);
  transition: filter var(--nn-transition), transform var(--nn-transition);
}

.top-bar .nn-logo:hover,
.top-bar .logo:hover {
  filter: drop-shadow(0 0 16px rgba(0, 242, 255, 0.4));
  transform: translateY(-1px);
}

.top-bar .nn-logo-img,
.top-bar .nn-logo img,
.top-bar .logo img,
.top-bar img {
  display: block;
  width: auto !important;
  /* Keep visual size; PNG is now tightly cropped so bar height follows logo */
  height: var(--nn-logo-h) !important;
  max-width: min(920px, 100%) !important;
  max-height: none !important;
  object-fit: contain;
  object-position: left center;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Language switcher (top-bar right) – neon text codes, no flags
   -------------------------------------------------------------------------- */

.nn-lang-switch,
.top-bar .nn-lang-switch {
  display: flex;
  align-items: center;
  align-self: center;
}

.top-bar .nn-lang-switch .nn-module,
.top-bar .nn-lang-switch .jmoddiv,
.top-bar__end .nn-module,
.top-bar__end .jmoddiv {
  display: flex;
  align-items: center;
  align-self: center;
  margin: 0;
}

.nn-lang-switch .mod-languages,
.nn-lang-switch .mod-languages__content,
.nn-lang-switch .mod-languages__list {
  margin: 0;
  padding: 0;
}

.nn-lang-switch ul,
.nn-lang-switch .lang-inline,
.nn-lang-switch .mod-languages ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.nn-lang-switch li,
.nn-lang-switch .lang-inline > li,
.nn-lang-switch .mod-languages li {
  display: inline-flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Hide flags / images completely */
.nn-lang-switch img,
.nn-lang-switch .lang-image,
.nn-lang-switch .mod-languages img,
.nn-lang-switch span.image {
  display: none !important;
}

.nn-lang-switch a:not(.nn-module-edit):not(.jmodedit):not(.btn-edit),
.nn-lang-switch .mod-languages a,
.nn-lang-switch .nn-lang-active,
.nn-lang-switch button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(0, 242, 255, 0.28);
  background: rgba(15, 23, 42, 0.85);
  color: var(--nn-text-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  text-shadow: none !important;
  line-height: 1;
  transition:
    color var(--nn-transition),
    border-color var(--nn-transition),
    background var(--nn-transition),
    box-shadow var(--nn-transition);
}

.nn-lang-switch a:not(.nn-module-edit):not(.jmodedit):not(.btn-edit):hover,
.nn-lang-switch a:not(.nn-module-edit):not(.jmodedit):not(.btn-edit):focus-visible,
.nn-lang-switch .mod-languages a:hover,
.nn-lang-switch .mod-languages a:focus-visible {
  color: #fff !important;
  border-color: rgba(0, 242, 255, 0.55);
  background: rgba(0, 242, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.28);
}

/* Active language: nur Rahmen/Glow, kein Gradient-/Muster-Hintergrund */
.nn-lang-switch .mod-languages ul li.lang-active,
.nn-lang-switch .mod-languages li.lang-active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.nn-lang-switch .lang-active > a,
.nn-lang-switch .lang-active > .nn-lang-active,
.nn-lang-switch li.lang-active > a,
.nn-lang-switch li.lang-active > .nn-lang-active,
.nn-lang-switch .mod-languages .lang-active > a,
.nn-lang-switch a.active,
.nn-lang-switch li.active > a {
  color: #fff !important;
  border: 1px solid #00d2ff !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  filter: none !important;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
}

/* Dropdown variant (if used) */
.nn-lang-switch .dropdown-menu,
.nn-lang-switch .mod-languages .dropdown-menu {
  background: #0b1220 !important;
  border: 1px solid rgba(0, 242, 255, 0.28) !important;
  box-shadow: var(--nn-glow);
}

.nn-lang-switch .dropdown-menu .dropdown-item,
.nn-lang-switch .mod-languages .dropdown-item {
  color: var(--nn-text-muted) !important;
}

.nn-lang-switch .dropdown-menu .dropdown-item:hover,
.nn-lang-switch .dropdown-menu .dropdown-item.active {
  background: rgba(0, 242, 255, 0.12) !important;
  color: #fff !important;
}

.nn-logo-text {
  font-family: var(--nn-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nn-text);
}

.nn-layout {
  position: relative;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  padding-left: var(--nn-sidebar-width);
  transition: padding-left var(--nn-transition);
}

.nn-layout.is-collapsed {
  padding-left: var(--nn-sidebar-collapsed);
  --nn-header-glow-x: calc(var(--nn-sidebar-collapsed) + 5.5rem);
  --nn-header-glow-x2: calc(var(--nn-sidebar-collapsed) + 10rem);
}

.nn-main-area {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  width: 100%;
  background: transparent;
  border-left: none !important;
}

.nn-breadcrumbs {
  padding: 0.65rem clamp(1rem, 2.5vw, 2.5rem) 0;
  background: transparent;
}

.nn-content {
  flex: 1;
  padding: 1.75rem clamp(1rem, 2.5vw, 2.5rem) 2.5rem;
}

.nn-content--boxed {
  max-width: 1200px;
  width: 100%;
  margin-inline: auto;
}

.nn-content--fluid {
  width: 100%;
}

.nn-component,
.nn-messages,
.nn-component-modules,
.nn-top,
.nn-bottom {
  width: 100%;
}

.nn-footer {
  padding: 1rem 1.75rem 1.5rem;
  border-top: 1px solid var(--nn-border);
  color: var(--nn-text-muted);
  background: rgba(2, 5, 10, 0.45);
}

/* --------------------------------------------------------------------------
   Sidebar – full viewport height (no cut under header)
   -------------------------------------------------------------------------- */

.nn-sidebar,
aside.nn-sidebar,
#nn-sidebar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: var(--nn-sidebar-width) !important;
  max-width: var(--nn-sidebar-width) !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-width: 0;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  /* Transparent oben → .nn-page::before-Strip scheint durch (kein zweiter Verlauf) */
  background: transparent !important;
  border: none !important;
  border-right: none !important;
  box-shadow: none;
  z-index: 250;
  transition: width var(--nn-transition);
}

/* Vertikale Sidebar-Kante erst UNTER dem Header-Strip (+1px = keine Kante in der Header-Zone) */
.nn-sidebar::after {
  content: "";
  position: absolute;
  top: calc(var(--nn-topbar-offset) + 1px);
  right: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 242, 255, 0.1);
  pointer-events: none;
  z-index: 4;
}

.nn-layout.is-collapsed .nn-sidebar,
.nn-layout.is-collapsed #nn-sidebar {
  width: var(--nn-sidebar-collapsed) !important;
  max-width: var(--nn-sidebar-collapsed) !important;
}

/*
 * Fake-Header: Höhe setzt template.js anhand der gemessenen Top-Bar.
 * Keine festen height/box-sizing-Overrides hier.
 */
.nn-sidebar__topbar {
  flex: 0 0 auto;
  width: 100%;
  height: var(--nn-topbar-offset);
  min-height: 0;
  max-height: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* Nackt – Strip kommt nur von .nn-page::before */
  background: transparent;
  background-color: transparent;
  background-image: none;
  border: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
  pointer-events: none;
}

.nn-sidebar__topbar::before,
.nn-sidebar__topbar::after {
  content: none;
  display: none;
}

/* Linie liegt an .nn-page::after – hier nichts zeichnen */
.nn-layout::after {
  content: none;
  display: none;
}

.nn-sidebar__inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-width: 100%;
  min-width: 0;
  padding: 0.85rem 0.85rem 0.85rem;
  gap: 0.75rem;
  box-sizing: border-box;
  /* Sidebar-Fläche erst UNTER dem Header-Strip */
  background:
    linear-gradient(180deg, #02050a 0%, var(--nn-bg-panel) 18%, var(--nn-bg-deep) 100%);
  box-shadow: 8px 0 28px rgba(0, 0, 0, 0.35);
}

.nn-sidebar__nav {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 255, 0.35) transparent;
}

.nn-sidebar__footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--nn-border);
}

/* --------------------------------------------------------------------------
   Navigation (mod_menu / generic lists)
   -------------------------------------------------------------------------- */

.nn-sidebar__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nn-sidebar__nav li {
  margin: 0.2rem 0;
}

.nn-sidebar__nav a,
.nn-sidebar__nav .mod-menu__link,
.nn-sidebar__nav .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--nn-radius-sm);
  color: var(--nn-text-muted);
  border: 1px solid transparent;
  background: transparent;
  overflow: hidden;
  white-space: nowrap;
  transition:
    color var(--nn-transition),
    background var(--nn-transition),
    border-color var(--nn-transition),
    box-shadow var(--nn-transition),
    padding var(--nn-transition);
}

.nn-sidebar__nav a::before,
.nn-sidebar__nav .mod-menu__link::before,
.nn-sidebar__nav .nav-link::before {
  content: "";
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--nn-neon) 0 35%, transparent 40%),
    linear-gradient(135deg, rgba(0, 242, 255, 0.35), rgba(0, 102, 255, 0.15));
  box-shadow: 0 0 8px rgba(0, 242, 255, 0.35);
  opacity: 0.75;
}

/* Prefer Font Awesome / menu icons when present */
.nn-sidebar__nav a:has(> .icon, > .fa, > .fas, > .far, > .fab, > img, > .menu-image)::before,
.nn-sidebar__nav .mod-menu__link:has(> .icon, > .fa, > .fas, > .far, > .fab, > img, > .menu-image)::before {
  display: none;
}

.nn-sidebar__nav a > .icon,
.nn-sidebar__nav a > .fa,
.nn-sidebar__nav a > .fas,
.nn-sidebar__nav a > .far,
.nn-sidebar__nav a > .fab,
.nn-sidebar__nav a > img,
.nn-sidebar__nav a > .menu-image {
  flex: 0 0 1.15rem;
  width: 1.15rem;
  text-align: center;
  font-size: 1rem;
  color: var(--nn-neon);
  filter: drop-shadow(0 0 6px rgba(0, 242, 255, 0.45));
}

.nn-sidebar__nav a:hover,
.nn-sidebar__nav a:focus-visible,
.nn-sidebar__nav .mod-menu__link:hover,
.nn-sidebar__nav .nav-link:hover {
  color: var(--nn-text);
  background: var(--nn-bg-hover);
  border-color: var(--nn-border-strong);
  box-shadow: var(--nn-glow);
}

.nn-sidebar__nav .active > a,
.nn-sidebar__nav a.active,
.nn-sidebar__nav .current > a,
.nn-sidebar__nav li.active > a,
.nn-sidebar__nav .nav-item.active > .nav-link {
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 242, 255, 0.16), rgba(0, 102, 255, 0.08));
  border-color: rgba(0, 242, 255, 0.45);
  box-shadow: var(--nn-glow);
}

.nn-sidebar__nav .active > a::before,
.nn-sidebar__nav a.active::before,
.nn-sidebar__nav .current > a::before {
  opacity: 1;
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.75);
}

/* Submenus / Dropdowns – gleiches Neon-Popup wie User-Menü */
.nn-sidebar__nav .nn-sidebar__menu,
.nn-sidebar__nav .mod-menu,
.nn-sidebar__nav .nav {
  width: 100%;
}

.nn-sidebar__nav li.deeper,
.nn-sidebar__nav li.parent,
.nn-sidebar__nav .nav-item.dropdown,
.nn-sidebar__nav li:has(> ul) {
  position: relative;
}

.nn-sidebar__nav li.deeper > ul,
.nn-sidebar__nav li.parent > ul,
.nn-sidebar__nav .mod-menu__sub,
.nn-sidebar__nav .dropdown-menu,
.nn-sidebar__nav li:has(> ul) > ul {
  position: absolute;
  left: calc(100% + 0.45rem);
  top: 0;
  right: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 220px;
  width: max-content;
  max-width: min(280px, 70vw);
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  border-radius: var(--nn-radius-sm);
  border: 1px solid var(--nn-border-strong);
  background: #07111e;
  box-shadow: var(--nn-glow), 0 12px 30px rgba(0, 0, 0, 0.45);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.nn-sidebar__nav li.deeper:hover > ul,
.nn-sidebar__nav li.deeper:focus-within > ul,
.nn-sidebar__nav li.parent:hover > ul,
.nn-sidebar__nav li.parent:focus-within > ul,
.nn-sidebar__nav .nav-item.dropdown:hover > .dropdown-menu,
.nn-sidebar__nav .nav-item.dropdown:focus-within > .dropdown-menu,
.nn-sidebar__nav li:has(> ul):hover > ul,
.nn-sidebar__nav li:has(> ul):focus-within > ul {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.nn-sidebar__nav li.deeper > ul a,
.nn-sidebar__nav li.parent > ul a,
.nn-sidebar__nav .mod-menu__sub a,
.nn-sidebar__nav .dropdown-menu a,
.nn-sidebar__nav li:has(> ul) > ul a {
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
}

.nn-sidebar:has(.nn-sidebar__nav li.deeper:hover),
.nn-sidebar:has(.nn-sidebar__nav li.deeper:focus-within),
.nn-sidebar:has(.nn-sidebar__nav li.parent:hover),
.nn-sidebar:has(.nn-sidebar__nav li.parent:focus-within),
.nn-sidebar:has(.nn-sidebar__nav li:has(> ul):hover),
.nn-sidebar:has(.nn-sidebar__nav li:has(> ul):focus-within),
aside.nn-sidebar:has(.nn-sidebar__nav li.deeper:hover),
#nn-sidebar:has(.nn-sidebar__nav li.deeper:hover) {
  overflow: visible !important;
}

.nn-sidebar:has(.nn-sidebar__nav li.deeper:hover) .nn-sidebar__nav,
.nn-sidebar:has(.nn-sidebar__nav li.parent:hover) .nn-sidebar__nav,
.nn-sidebar:has(.nn-sidebar__nav li:has(> ul):hover) .nn-sidebar__nav,
.nn-sidebar:has(.nn-sidebar__nav li.deeper:focus-within) .nn-sidebar__nav {
  overflow: visible !important;
}

/* --------------------------------------------------------------------------
   Collapsed sidebar
   -------------------------------------------------------------------------- */

.nn-layout.is-collapsed .nn-btn__label,
.nn-layout.is-collapsed .nn-collapse-btn__label,
.nn-layout.is-collapsed .nn-user-trigger__meta,
.nn-layout.is-collapsed .nn-user-trigger__caret {
  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;
}

/* Hide menu link text, keep icons/markers visible */
.nn-layout.is-collapsed .nn-sidebar__nav a,
.nn-layout.is-collapsed .nn-sidebar__nav .mod-menu__link,
.nn-layout.is-collapsed .nn-sidebar__nav .nav-link {
  font-size: 0;
  letter-spacing: 0;
  justify-content: center;
  padding-inline: 0.65rem;
  gap: 0;
}

.nn-layout.is-collapsed .nn-sidebar__nav a::before,
.nn-layout.is-collapsed .nn-sidebar__nav .mod-menu__link::before,
.nn-layout.is-collapsed .nn-sidebar__nav .nav-link::before {
  margin: 0;
}

.nn-layout.is-collapsed .nn-sidebar__nav a > .icon,
.nn-layout.is-collapsed .nn-sidebar__nav a > .fa,
.nn-layout.is-collapsed .nn-sidebar__nav a > .fas,
.nn-layout.is-collapsed .nn-sidebar__nav a > .far,
.nn-layout.is-collapsed .nn-sidebar__nav a > .fab,
.nn-layout.is-collapsed .nn-sidebar__nav a > span.icon,
.nn-layout.is-collapsed .nn-sidebar__nav a > img,
.nn-layout.is-collapsed .nn-sidebar__nav a > .menu-image,
.nn-layout.is-collapsed .nn-sidebar__nav a > svg {
  font-size: 1.1rem;
}

.nn-layout.is-collapsed .nn-btn,
.nn-layout.is-collapsed .nn-collapse-btn,
.nn-layout.is-collapsed .nn-user-trigger {
  justify-content: center;
  padding-inline: 0.65rem;
  gap: 0;
}

.nn-layout.is-collapsed .nn-btn__icon,
.nn-layout.is-collapsed .nn-collapse-btn__icon {
  font-size: 1.1rem;
}

.nn-layout.is-collapsed .nn-user-dropdown {
  left: calc(100% + 0.6rem);
  right: auto;
  bottom: 0;
  min-width: 200px;
}

/* Tooltip on collapsed interactive items */
.nn-layout.is-collapsed [data-nn-tooltip] {
  position: relative;
}

.nn-layout.is-collapsed [data-nn-tooltip]::after {
  content: attr(data-nn-tooltip);
  position: absolute;
  left: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  background: #07101d;
  color: var(--nn-text);
  border: 1px solid var(--nn-border-strong);
  box-shadow: var(--nn-glow);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nn-layout.is-collapsed [data-nn-tooltip]:hover::after,
.nn-layout.is-collapsed [data-nn-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* --------------------------------------------------------------------------
   Buttons & user panel
   -------------------------------------------------------------------------- */

.nn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: var(--nn-radius-sm);
  border: 1px solid var(--nn-border-strong);
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.12), rgba(0, 102, 255, 0.18));
  color: var(--nn-text);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: box-shadow var(--nn-transition), transform var(--nn-transition), border-color var(--nn-transition), background var(--nn-transition);
}

.nn-btn__icon {
  color: var(--nn-neon);
  filter: drop-shadow(0 0 6px rgba(0, 242, 255, 0.55));
}

.nn-btn--neon:hover,
.nn-btn--neon:focus-visible {
  transform: translateY(-1px);
  border-color: var(--nn-neon);
  box-shadow: var(--nn-glow-strong);
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.22), rgba(0, 102, 255, 0.28));
  color: #fff;
}

.nn-user-panel {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.nn-user-menu {
  position: relative;
  z-index: 1;
}

.nn-user-menu.is-open {
  z-index: 99999;
}

.nn-user-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 52px;
  padding: 0.55rem 0.7rem;
  border-radius: var(--nn-radius-sm);
  border: 1px solid var(--nn-border);
  background: rgba(0, 242, 255, 0.05);
  color: var(--nn-text);
  font: inherit;
  cursor: pointer;
  transition: border-color var(--nn-transition), box-shadow var(--nn-transition), background var(--nn-transition);
}

.nn-user-trigger:hover,
.nn-user-menu.is-open .nn-user-trigger {
  border-color: var(--nn-border-strong);
  box-shadow: var(--nn-glow);
  background: rgba(0, 242, 255, 0.1);
}

.nn-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.1rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.35), rgba(0, 102, 255, 0.55));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.35);
  overflow: hidden;
}

.nn-avatar img,
.nn-avatar--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nn-user-trigger__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.nn-user-trigger__name {
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nn-user-trigger__hint {
  font-size: 0.72rem;
  color: var(--nn-text-dim);
}

.nn-user-trigger__caret {
  color: var(--nn-neon);
  font-size: 0.75rem;
}

.nn-user-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 0.45rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.45rem;
  border-radius: var(--nn-radius-sm);
  border: 1px solid var(--nn-border-strong);
  background: #07111e;
  box-shadow: var(--nn-glow), 0 12px 30px rgba(0, 0, 0, 0.45);
  z-index: 99999;
}

/* Sidebar darf das User-Popup nicht abschneiden */
.nn-sidebar:has(.nn-user-menu.is-open),
aside.nn-sidebar:has(.nn-user-menu.is-open),
#nn-sidebar:has(.nn-user-menu.is-open) {
  overflow: visible !important;
}

.nn-sidebar:has(.nn-user-menu.is-open) .nn-sidebar__footer,
.nn-sidebar:has(.nn-user-menu.is-open) .nn-user-panel {
  overflow: visible !important;
  position: relative;
  z-index: 99999;
}

/* Eingeklappt: Menü rechts neben der schmalen Sidebar öffnen */
.nn-layout.is-collapsed .nn-user-dropdown {
  left: calc(100% + 0.45rem);
  right: auto;
  bottom: 0;
  width: max-content;
  min-width: 220px;
}

.nn-user-dropdown[hidden] {
  display: none !important;
}

.nn-user-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  color: var(--nn-text-muted);
}

.nn-user-dropdown__item i {
  width: 1rem;
  color: var(--nn-neon);
}

.nn-user-dropdown__item:hover,
.nn-user-dropdown__item:focus-visible {
  background: rgba(0, 242, 255, 0.1);
  color: #fff;
  text-shadow: none;
}

.nn-user-dropdown__item--danger:hover,
.nn-user-dropdown__item--danger:focus-visible {
  background: rgba(255, 64, 96, 0.12);
  color: #ff8da3;
}

.nn-user-dropdown__item--danger:hover i,
.nn-user-dropdown__item--danger:focus-visible i {
  color: #ff8da3;
}

.nn-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 1px solid transparent;
  border-radius: var(--nn-radius-sm);
  background: transparent;
  color: var(--nn-text-muted);
  font: inherit;
  cursor: pointer;
  transition: color var(--nn-transition), border-color var(--nn-transition), box-shadow var(--nn-transition), background var(--nn-transition);
}

.nn-collapse-btn:hover,
.nn-collapse-btn:focus-visible {
  color: var(--nn-text);
  border-color: var(--nn-border-strong);
  background: rgba(0, 242, 255, 0.06);
  box-shadow: var(--nn-glow);
}

.nn-collapse-btn__icon {
  color: var(--nn-neon);
  transition: transform var(--nn-transition);
}

.nn-layout.is-collapsed .nn-collapse-btn__icon {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Content chrome (articles, cards, forms)
   -------------------------------------------------------------------------- */

.nn-component .page-header,
.nn-component h1,
.nn-component .blog-heading {
  color: var(--nn-text);
  letter-spacing: 0.01em;
}

/* Article meta (author, category, date) */
.nn-component .article-info,
.nn-component dl.article-info,
.nn-component .com-content-article__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
  margin: 0.35rem 0 1.25rem;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid var(--nn-border);
  list-style: none;
  background: transparent;
  color: var(--nn-text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.nn-component .item-page .nn-article-header,
.nn-component .item-page .nn-article-header h1,
.nn-component .item-page .nn-article-header h2,
.nn-component .item-page [itemprop="headline"],
.nn-component .item-page [itemprop="name"] {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.nn-component .article-info > dt,
.nn-component .article-info > dd,
.nn-component dl.article-info > dt,
.nn-component dl.article-info > dd {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
  max-width: none;
}

.nn-component .article-info-term,
.nn-component .article-info > dt,
.nn-component dl.article-info > dt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nn-component .article-info > dd,
.nn-component dl.article-info > dd,
.nn-component .article-info dd {
  color: var(--nn-text-muted);
}

.nn-component .article-info a,
.nn-component dl.article-info a {
  color: #8eb4d4;
  text-shadow: none;
}

.nn-component .article-info a:hover,
.nn-component .article-info a:focus-visible,
.nn-component dl.article-info a:hover,
.nn-component dl.article-info a:focus-visible {
  color: var(--nn-neon);
  text-shadow: 0 0 8px rgba(0, 242, 255, 0.35);
}

.nn-component .article-info .icon-user,
.nn-component .article-info .icon-calendar,
.nn-component .article-info .icon-folder-open,
.nn-component .article-info .icon-eye,
.nn-component .article-info .icon-hits,
.nn-component .article-info [class^="icon-"],
.nn-component .article-info [class*=" icon-"],
.nn-component dl.article-info .icon-user,
.nn-component dl.article-info .icon-calendar,
.nn-component dl.article-info .icon-folder-open,
.nn-component dl.article-info [class^="icon-"],
.nn-component dl.article-info [class*=" icon-"] {
  margin-right: 0.15rem;
  color: var(--nn-neon);
  filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.4));
  font-size: 0.95em;
  vertical-align: -0.05em;
}

.nn-component .com-content-article,
.nn-component .items-leading,
.nn-component .blog,
.nn-component .categories-list,
.nn-component .table {
  color: var(--nn-text);
}

.nn-component .card,
.nn-component .alert,
.nn-component .table {
  background: rgba(10, 18, 32, 0.72);
  border: 1px solid var(--nn-border);
  border-radius: var(--nn-radius);
}

/* Blog / category article cards – nur die Items, nicht die Wrapper (sonst Doppelrahmen) */
.nn-component .blog .items-leading > div,
.nn-component .blog .item,
.nn-component .blog .items-row .item,
.nn-component .blog-item,
.nn-component .items-leading > div,
.nn-component .items-row .item,
.nn-component .category-list .cat-list-row0,
.nn-component .category-list .cat-list-row1,
.nn-component .com-content-category-blog__item,
.nn-component .com-content-article.item-page,
.nn-component .item-page {
  display: block;
  background: #111827;
  border: 1px solid rgba(0, 242, 255, 0.16);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

/* Äußere Blog-Container: transparent, kein eigener Rahmen */
.nn-component .blog .items-leading,
.nn-component .blog .items-row,
.nn-component .blog .items-row > div:has(> .item),
.nn-component .blog .items-row > div:has(> .blog-item) {
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0 0 0;
  gap: 0;
}

.nn-component .blog-item .page-header,
.nn-component .blog .item .page-header,
.nn-component .blog .items-leading .page-header,
.nn-component .blog-item h2,
.nn-component .item .page-header,
.nn-component .com-content-category-blog__item .page-header {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.nn-component .blog-item .page-header a,
.nn-component .blog .item .page-header a,
.nn-component .item .page-header a,
.nn-component .com-content-category-blog__item h2 a {
  color: var(--nn-text);
  text-shadow: none;
}

.nn-component .blog-item .page-header a:hover,
.nn-component .blog .item .page-header a:hover,
.nn-component .item .page-header a:hover,
.nn-component .com-content-category-blog__item h2 a:hover {
  color: var(--nn-neon);
  text-shadow: 0 0 10px rgba(0, 242, 255, 0.35);
}

/* Meta under title: small, grey/cyan */
.nn-component .blog .item .article-info,
.nn-component .blog .items-leading .article-info,
.nn-component .blog-item .article-info,
.nn-component .blog .item dl.article-info,
.nn-component .com-content-category-blog__item .article-info {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  font-size: 0.8rem;
  color: var(--nn-text-dim);
}

.nn-component .blog .item .article-info dd,
.nn-component .blog .items-leading .article-info dd,
.nn-component .blog-item .article-info dd,
.nn-component .blog .item .article-info a,
.nn-component .blog-item .article-info a {
  color: #8eb4d4;
  font-size: 0.8rem;
}

.nn-component .blog .item .article-info [class^="icon-"],
.nn-component .blog .item .article-info [class*=" icon-"],
.nn-component .blog-item .article-info [class^="icon-"] {
  color: var(--nn-neon);
  font-size: 0.85em;
}

.nn-component .blog-item .readmore,
.nn-component .blog .item .readmore,
.nn-component .item .readmore,
.nn-component .com-content-category-blog__item .readmore {
  margin-top: 1rem;
}

/* Global button spacing & padding (nicht Edit-Stifte / Frontend-Edit) */
body.netzneon .btn:not(.nn-module-edit):not(.nn-article-edit):not(.jmodedit):not(.btn-edit),
body.netzneon button.btn:not(.nn-module-edit):not(.jmodedit):not(.btn-edit),
body.netzneon a.btn:not(.nn-module-edit):not(.nn-article-edit):not(.jmodedit):not(.btn-edit),
body.netzneon .button:not(.nn-module-edit):not(.jmodedit):not(.btn-edit),
.nn-component .btn:not(.nn-module-edit):not(.nn-article-edit):not(.jmodedit):not(.btn-edit),
.nn-component button.btn:not(.nn-module-edit):not(.jmodedit):not(.btn-edit),
.nn-component a.btn:not(.nn-module-edit):not(.nn-article-edit):not(.jmodedit):not(.btn-edit),
.nn-component .button:not(.nn-module-edit):not(.jmodedit):not(.btn-edit) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px !important;
  margin: 5px;
  min-height: 38px;
  border-radius: var(--nn-radius-sm);
  border: 1px solid var(--nn-border-strong);
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.12), rgba(0, 102, 255, 0.2));
  color: var(--nn-text);
  box-shadow: none;
  line-height: 1.3;
  white-space: nowrap;
  transition: box-shadow var(--nn-transition), transform var(--nn-transition), background var(--nn-transition), border-color var(--nn-transition);
}

body.netzneon .btn span[class^="icon-"],
body.netzneon .btn span[class*=" icon-"],
body.netzneon .btn .icon,
body.netzneon a.btn span[class^="icon-"],
body.netzneon a.btn span[class*=" icon-"],
.nn-component .btn span[class^="icon-"],
.nn-component .btn span[class*=" icon-"],
.nn-component .btn .icon {
  margin-right: 0;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

body.netzneon .btn-primary,
.nn-component .btn-primary {
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.22), rgba(0, 102, 255, 0.4));
  border-color: rgba(0, 242, 255, 0.55);
  color: #fff;
}

body.netzneon .btn-danger,
.nn-component .btn-danger {
  background: linear-gradient(135deg, rgba(255, 64, 96, 0.2), rgba(160, 32, 80, 0.35));
  border-color: rgba(255, 100, 130, 0.45);
  color: #ffd6de;
}

body.netzneon .btn:hover,
body.netzneon button.btn:hover,
body.netzneon a.btn:hover,
.nn-component .btn:hover,
.nn-component button.btn:hover,
.nn-component .button:hover {
  transform: translateY(-1px);
  box-shadow: var(--nn-glow);
  color: #fff;
}

/* Kein Browser-Fokusrahmen nach Klick */
body.netzneon .btn:focus,
body.netzneon .btn:active:focus,
body.netzneon .btn:focus-visible,
body.netzneon button.btn:focus,
body.netzneon button.btn:active:focus,
body.netzneon a.btn:focus,
body.netzneon a.btn:active:focus,
.nn-component .btn:focus,
.nn-component .btn:active:focus,
.nn-component .btn:focus-visible,
.nn-component button.btn:focus,
.nn-component button.btn:active:focus {
  outline: none !important;
  box-shadow: none !important;
}

body.netzneon .btn-group.btn-group-yesno .btn:focus,
body.netzneon .btn-group.btn-group-yesno .btn:active:focus,
body.netzneon .btn-group.btn-group-yesno .btn:focus-visible,
body.netzneon .btn-group-yesno > .btn:focus,
body.netzneon .btn-group-yesno > .btn:active:focus,
body.netzneon .btn-group > .btn:focus,
body.netzneon .btn-group > .btn:active:focus,
body.netzneon .radio.btn-group > .btn:focus,
body.netzneon .radio.btn-group > label:focus,
.nn-component .btn-group.btn-group-yesno .btn:focus,
.nn-component .btn-group.btn-group-yesno .btn:active:focus,
.nn-component .btn-group-yesno > .btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Dezenter Klick-Feedback nur beim Drücken */
body.netzneon .btn:active,
.nn-component .btn:active {
  transform: none;
  background-color: rgba(0, 242, 255, 0.12);
  transition: background-color 0.15s ease;
}

/* Joomla radio / toggle – StartCaptain-style pill switches */
body.netzneon .btn-group.btn-group-yesno,
body.netzneon .btn-group-yesno,
body.netzneon .radio.btn-group.btn-group-yesno,
.nn-component .btn-group.btn-group-yesno,
.nn-component .btn-group-yesno {
  display: inline-flex !important;
  align-items: stretch;
  gap: 2px;
  margin: 5px 0;
  padding: 4px;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 242, 255, 0.28);
  background: #1f2937 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(0, 242, 255, 0.1);
  overflow: hidden;
}

body.netzneon .btn-group,
body.netzneon .radio.btn-group,
.nn-component .btn-group,
.nn-component .radio.btn-group {
  display: inline-flex;
  align-items: stretch;
  gap: 2px;
  margin: 5px 0;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(0, 242, 255, 0.28);
  background: #1f2937;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

body.netzneon .btn-group.btn-group-yesno > .btn,
body.netzneon .btn-group-yesno > .btn,
body.netzneon .btn-group > .btn,
body.netzneon .radio.btn-group > label,
body.netzneon .radio.btn-group > .btn,
.nn-component .btn-group.btn-group-yesno > .btn,
.nn-component .btn-group-yesno > .btn,
.nn-component .btn-group > .btn,
.nn-component .radio.btn-group > label {
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #9ca3af !important;
  box-shadow: none !important;
  min-width: 4.75rem;
  min-height: 34px;
  padding: 6px 16px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body.netzneon .btn-group > .btn:hover,
body.netzneon .btn-group-yesno > .btn:hover,
.nn-component .btn-group > .btn:hover {
  background: rgba(0, 242, 255, 0.08) !important;
  color: var(--nn-text) !important;
  transform: none;
  box-shadow: none !important;
}

body.netzneon .btn-group > .btn.active,
body.netzneon .btn-group > .btn:checked,
body.netzneon .btn-group > .btn[aria-pressed="true"],
body.netzneon .btn-group-yesno > .btn.active,
body.netzneon .radio.btn-group > .btn.active,
body.netzneon .radio.btn-group > label.active,
.nn-component .btn-group > .btn.active,
.nn-component .btn-group-yesno > .btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.28), rgba(0, 102, 255, 0.45)) !important;
  border-color: rgba(0, 242, 255, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 0 14px rgba(0, 242, 255, 0.45), inset 0 0 12px rgba(0, 242, 255, 0.12) !important;
}

body.netzneon .btn-group > .btn.btn-success.active,
body.netzneon .btn-group > .btn-success,
body.netzneon .btn-group-yesno > .btn.btn-success.active,
.nn-component .btn-group > .btn.btn-success.active {
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.3), rgba(16, 185, 129, 0.4)) !important;
  border-color: rgba(0, 242, 255, 0.55) !important;
  color: #fff !important;
  box-shadow: 0 0 14px rgba(0, 242, 255, 0.4), 0 0 18px rgba(16, 185, 129, 0.25) !important;
}

body.netzneon .btn-group > .btn.btn-danger.active,
body.netzneon .btn-group > .btn-danger,
body.netzneon .btn-group-yesno > .btn.btn-danger.active,
.nn-component .btn-group > .btn.btn-danger.active {
  background: linear-gradient(135deg, rgba(255, 64, 96, 0.38), rgba(160, 32, 80, 0.48)) !important;
  border-color: rgba(255, 100, 130, 0.55) !important;
  color: #fff !important;
  box-shadow: 0 0 14px rgba(255, 64, 96, 0.4) !important;
}

body.netzneon .radio.btn-group input,
body.netzneon .btn-group input[type="radio"],
.nn-component .radio.btn-group input,
.nn-component .btn-group input[type="radio"] {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Joomla An/Aus Switcher – iOS-style pill (Bild 3/4)
   -------------------------------------------------------------------------- */

body.netzneon .switcher,
.nn-component .switcher,
body.netzneon fieldset.switcher {
  position: relative;
  width: auto !important;
  min-width: 12rem;
  height: 28px !important;
  min-height: 28px !important;
  margin: 0.25rem 0;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.netzneon .switcher input,
.nn-component .switcher input {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  z-index: 2;
  width: 52px !important;
  height: 28px !important;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

body.netzneon .switcher input:checked {
  z-index: 1;
}

body.netzneon .switcher input:checked + label {
  z-index: 0;
  opacity: 1;
  color: #e2e8f0 !important;
}

body.netzneon .switcher input:not(:checked) + label {
  z-index: 3;
  opacity: 0;
}

body.netzneon .switcher label,
.nn-component .switcher label {
  position: absolute;
  inset-inline-start: 0;
  display: inline-block;
  width: auto;
  min-width: 5.5rem;
  height: 100%;
  margin: 0 0 0 62px !important;
  padding: 0 !important;
  line-height: 28px;
  color: #9aa7b8 !important;
  font-weight: 500;
  background: transparent !important;
  border: 0 !important;
}

/* Track OFF = muted red */
body.netzneon .switcher .toggle-outside,
.nn-component .switcher .toggle-outside {
  position: absolute;
  inset-inline-start: 0;
  box-sizing: border-box;
  width: 52px !important;
  height: 28px !important;
  overflow: hidden;
  background: #5a2430 !important;
  border: 1px solid rgba(255, 100, 130, 0.35) !important;
  border-radius: 999px !important;
  transition: 0.25s ease all;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Track ON = neon blue */
body.netzneon .switcher input ~ input:checked ~ .toggle-outside,
.nn-component .switcher input ~ input:checked ~ .toggle-outside {
  background: linear-gradient(135deg, #00b4d8 0%, #0066ff 100%) !important;
  border-color: rgba(0, 242, 255, 0.55) !important;
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* White knob */
body.netzneon .switcher .toggle-inside,
.nn-component .switcher .toggle-inside {
  position: absolute;
  top: 3px !important;
  left: 3px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: 0.3s ease all;
}

body.netzneon .switcher input ~ input:checked ~ .toggle-outside .toggle-inside,
.nn-component .switcher input ~ input:checked ~ .toggle-outside .toggle-inside {
  left: 27px !important;
}

/* Kein eckiger Fokus-Rahmen – nur dezenten Glow der Pill-Form (Tastatur) */
body.netzneon .switcher input:focus,
body.netzneon .switcher input:active:focus,
.nn-component .switcher input:focus {
  outline: none !important;
  box-shadow: none !important;
}

body.netzneon .switcher input:focus ~ .toggle-outside,
.nn-component .switcher input:focus ~ .toggle-outside {
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

body.netzneon .switcher input ~ input:checked:focus ~ .toggle-outside,
.nn-component .switcher input ~ input:checked:focus ~ .toggle-outside {
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

body.netzneon .switcher input:focus-visible ~ .toggle-outside,
.nn-component .switcher input:focus-visible ~ .toggle-outside {
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.35) !important;
}

/* --------------------------------------------------------------------------
   Forms, fieldsets, choices & Tom Select (dark / neon)
   -------------------------------------------------------------------------- */

.nn-component fieldset,
body.netzneon fieldset {
  margin: 0 0 1.25rem;
  padding: 1rem 0 0;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  min-inline-size: 0;
  background: transparent;
}

.nn-component fieldset:first-of-type,
body.netzneon form > fieldset:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.nn-component legend:not(.visually-hidden):not(.sr-only):not(.hidden),
body.netzneon legend:not(.visually-hidden):not(.sr-only):not(.hidden) {
  float: none;
  width: auto;
  margin-bottom: 0.75rem;
  padding: 0 0.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--nn-text);
  background: transparent;
}

/* Versteckte Legends (Joomla) niemals wieder sichtbar machen */
body.netzneon legend.visually-hidden,
body.netzneon legend.sr-only,
body.netzneon legend.hidden,
.nn-component legend.visually-hidden,
.nn-component legend.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;
  font-size: 0 !important;
  line-height: 0 !important;
}

.nn-component .control-group,
.nn-component .form-group,
body.netzneon .control-group {
  margin-bottom: 1rem;
}

.nn-component label,
.nn-component .form-label,
.nn-component .control-label,
body.netzneon label,
body.netzneon .form-label {
  color: var(--nn-text-muted);
  font-weight: 500;
}

.nn-component .form-control,
.nn-component .form-select,
.nn-component input[type="text"],
.nn-component input[type="email"],
.nn-component input[type="password"],
.nn-component input[type="search"],
.nn-component input[type="number"],
.nn-component input[type="tel"],
.nn-component input[type="url"],
.nn-component input[type="date"],
.nn-component input[type="datetime-local"],
.nn-component input[type="time"],
.nn-component textarea,
.nn-component select,
body.netzneon .form-control,
body.netzneon .form-select,
body.netzneon input[type="text"],
body.netzneon input[type="email"],
body.netzneon input[type="password"],
body.netzneon input[type="search"],
body.netzneon input[type="number"],
body.netzneon input[type="tel"],
body.netzneon input[type="url"],
body.netzneon textarea,
body.netzneon select {
  background-color: #111827 !important;
  background-image: none !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  color: var(--nn-text) !important;
  border-radius: var(--nn-radius-sm);
  box-shadow: none;
  caret-color: var(--nn-neon);
  box-sizing: border-box !important;
}

/* Einheitliche Höhe – Text/Passwort/E-Mail (textarea ausgenommen) */
body.netzneon .form-control:not(textarea),
body.netzneon .form-select,
body.netzneon input[type="text"],
body.netzneon input[type="email"],
body.netzneon input[type="password"],
body.netzneon input[type="search"],
body.netzneon input[type="number"],
body.netzneon input[type="tel"],
body.netzneon input[type="url"],
body.netzneon input[type="date"],
body.netzneon input[type="datetime-local"],
body.netzneon input[type="time"],
body.netzneon select:not([multiple]),
.nn-component .form-control:not(textarea),
.nn-component .form-select,
.nn-component input[type="text"],
.nn-component input[type="email"],
.nn-component input[type="password"],
.nn-component input[type="search"],
.nn-component input[type="number"],
.nn-component input[type="tel"],
.nn-component input[type="url"],
.nn-component select:not([multiple]) {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 4px 10px !important;
  line-height: 1.25 !important;
}

body.netzneon textarea.form-control,
body.netzneon textarea,
.nn-component textarea.form-control,
.nn-component textarea {
  height: auto !important;
  min-height: 110px !important;
  max-height: none !important;
  padding: 0.75rem 0.85rem !important;
  line-height: 1.5 !important;
}

.nn-component .form-control:focus,
.nn-component .form-select:focus,
.nn-component input:focus,
.nn-component textarea:focus,
.nn-component select:focus,
body.netzneon .form-control:focus,
body.netzneon .form-select:focus,
body.netzneon input:focus,
body.netzneon textarea:focus,
body.netzneon select:focus {
  border-color: var(--nn-neon) !important;
  box-shadow: 0 0 0 1px var(--nn-neon), 0 0 14px rgba(0, 242, 255, 0.45) !important;
  outline: none;
  background-color: #111827 !important;
  color: #fff !important;
}

/* Geschlossener Neon-Rahmen um Input + Icons (Auge/Generator) */
body.netzneon .input-group,
body.netzneon .password-group,
body.netzneon .input-password-group,
.nn-component .input-group,
.nn-component .password-group {
  overflow: visible !important;
  position: relative;
  gap: 0 !important;
}

body.netzneon .controls,
body.netzneon .control-group,
body.netzneon .nn-profile-fields,
.nn-component .controls,
.nn-component .control-group {
  overflow: visible !important;
}

body.netzneon .nn-input-frame,
.nn-component .nn-input-frame {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: var(--nn-radius-sm) !important;
  background: #111827 !important;
  overflow: hidden !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.netzneon .nn-input-frame:focus-within,
.nn-component .nn-input-frame:focus-within {
  border-color: var(--nn-neon) !important;
  box-shadow: 0 0 0 1px var(--nn-neon), 0 0 16px rgba(0, 242, 255, 0.45) !important;
}

/*
 * Passwort/Input-Group: Leuchteffekt NUR am Container (:focus-within),
 * nie am einzelnen input:focus – sonst bricht der Rahmen am Auge-Icon ab.
 */
body.netzneon .input-group:has(> input[type="password"]):has(> .btn, > button, > .input-group-text):not(:has(> .nn-input-frame)),
body.netzneon .password-group:has(> input[type="password"]):has(> .btn, > button):not(:has(> .nn-input-frame)),
.nn-component .input-group:has(> input[type="password"]):has(> .btn, > button):not(:has(> .nn-input-frame)) {
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: var(--nn-radius-sm) !important;
  background: #111827 !important;
  overflow: hidden !important;
}

body.netzneon .input-group:has(> input[type="password"]):has(> .btn, > button, > .input-group-text):not(:has(> .nn-input-frame)):focus-within,
body.netzneon .password-group:has(> input[type="password"]):has(> .btn, > button):not(:has(> .nn-input-frame)):focus-within,
.nn-component .input-group:has(> input[type="password"]):has(> .btn, > button):not(:has(> .nn-input-frame)):focus-within {
  border-color: var(--nn-neon) !important;
  box-shadow: 0 0 0 1px var(--nn-neon), 0 0 16px rgba(0, 242, 255, 0.45) !important;
}

body.netzneon .nn-input-frame > .form-control,
body.netzneon .nn-input-frame > input,
body.netzneon .nn-input-frame > .form-control:focus,
body.netzneon .nn-input-frame > input:focus,
body.netzneon .nn-input-frame > input.invalid,
body.netzneon .nn-input-frame > input:invalid,
body.netzneon .input-group:has(> input[type="password"]) > input:focus,
body.netzneon .input-group:has(> input[type="password"]) > .form-control:focus,
body.netzneon .input-group:has(> input[type="password"]) > input.invalid,
body.netzneon .password-group:has(> input[type="password"]) > input:focus,
body.netzneon .password-group:has(> input[type="password"]) > .form-control:focus,
.nn-component .nn-input-frame > .form-control,
.nn-component .nn-input-frame > input,
.nn-component .nn-input-frame > .form-control:focus,
.nn-component .nn-input-frame > input:focus,
.nn-component .input-group:has(> input[type="password"]) > input:focus {
  flex: 1 1 auto !important;
  width: 1% !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  z-index: 1 !important;
}

body.netzneon .input-group:has(> input[type="password"]):not(:has(> .nn-input-frame)) > input,
body.netzneon .input-group:has(> input[type="password"]):not(:has(> .nn-input-frame)) > .form-control,
body.netzneon .input-group:has(> input[type="password"]):not(:has(> .nn-input-frame)) > .btn,
body.netzneon .input-group:has(> input[type="password"]):not(:has(> .nn-input-frame)) > button,
body.netzneon .input-group:has(> input[type="password"]):not(:has(> .nn-input-frame)) > .input-group-text,
body.netzneon .password-group:has(> input[type="password"]):not(:has(> .nn-input-frame)) > input,
body.netzneon .password-group:has(> input[type="password"]):not(:has(> .nn-input-frame)) > .btn,
body.netzneon .password-group:has(> input[type="password"]):not(:has(> .nn-input-frame)) > button {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 !important;
}

body.netzneon .input-group:has(> input[type="password"]):not(:has(> .nn-input-frame)) > .btn,
body.netzneon .input-group:has(> input[type="password"]):not(:has(> .nn-input-frame)) > button,
body.netzneon .input-group:has(> input[type="password"]):not(:has(> .nn-input-frame)) > .input-group-text {
  border-left: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 0 !important;
  background: rgba(0, 242, 255, 0.06) !important;
}

body.netzneon .nn-input-frame > .btn,
body.netzneon .nn-input-frame > button,
body.netzneon .nn-input-frame > .input-group-text,
.nn-component .nn-input-frame > .btn,
.nn-component .nn-input-frame > button,
.nn-component .nn-input-frame > .input-group-text {
  flex: 0 0 auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-left: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: rgba(0, 242, 255, 0.06) !important;
  z-index: 1 !important;
}

body.netzneon .nn-input-frame:focus-within > .btn,
body.netzneon .nn-input-frame:focus-within > button,
body.netzneon .nn-input-frame:focus-within > .input-group-text,
.nn-component .nn-input-frame:focus-within > .btn,
.nn-component .nn-input-frame:focus-within > button {
  border-left-color: rgba(0, 242, 255, 0.35) !important;
}

.nn-component .form-control::placeholder,
body.netzneon .form-control::placeholder,
body.netzneon input::placeholder,
body.netzneon textarea::placeholder {
  color: var(--nn-text-dim);
  opacity: 1;
}

.nn-component .form-control:disabled,
.nn-component .form-select:disabled,
.nn-component input:disabled,
.nn-component input[readonly],
.nn-component .form-control[readonly],
.nn-component select:disabled,
.nn-component textarea:disabled,
.nn-component textarea[readonly],
body.netzneon .form-control:disabled,
body.netzneon .form-select:disabled,
body.netzneon .form-control[readonly],
body.netzneon input:disabled,
body.netzneon input[readonly],
body.netzneon select:disabled,
body.netzneon textarea:disabled,
body.netzneon textarea[readonly] {
  background-color: #040810 !important;
  background-image: none !important;
  color: var(--nn-text-dim) !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

body.netzneon input:disabled:focus,
body.netzneon input[readonly]:focus,
body.netzneon .form-control:disabled:focus,
body.netzneon .form-control[readonly]:focus,
body.netzneon input:disabled:hover,
body.netzneon input[readonly]:hover,
body.netzneon .form-control:disabled:hover,
body.netzneon .form-control[readonly]:hover,
.nn-component input:disabled:focus,
.nn-component input[readonly]:focus,
.nn-component .form-control:disabled:focus,
.nn-component .form-control[readonly]:focus {
  border-color: rgba(148, 163, 184, 0.15) !important;
  box-shadow: none !important;
  outline: none !important;
  background-color: #040810 !important;
  transform: none !important;
}

.nn-component .form-check-input,
body.netzneon .form-check-input {
  background-color: #111827;
  border-color: rgba(148, 163, 184, 0.4);
}

.nn-component .form-check-input:checked,
body.netzneon .form-check-input:checked {
  background-color: var(--nn-neon-blue);
  border-color: var(--nn-neon);
}

.nn-component .input-group-text,
body.netzneon .input-group-text {
  background: #0b1220;
  border-color: rgba(148, 163, 184, 0.28);
  color: var(--nn-text-muted);
}

.nn-component .card,
.nn-component .well,
.nn-component .options-form,
body.netzneon .card,
body.netzneon .well {
  background: rgba(10, 18, 32, 0.72) !important;
  border: 1px solid var(--nn-border) !important;
  color: var(--nn-text);
}

/* Choices.js (legacy) */
body.netzneon .choices,
body.netzneon .choices__inner {
  background-color: #111827 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: var(--nn-text) !important;
}

body.netzneon .choices__list--dropdown,
body.netzneon .choices__list[aria-expanded] {
  background: #111827 !important;
  border-color: var(--nn-border-strong) !important;
  z-index: 1050;
}

/* (Dropdown Hover/Selected: siehe Detail-Baustellen unten) */

/* Tom Select – kill white boxes / "Remove item" */
body.netzneon .tom-select,
body.netzneon .ts-wrapper,
body.netzneon .ts-wrapper.single,
body.netzneon .ts-wrapper.multi,
body.netzneon .ts-wrapper.plugin-clear_button,
body.netzneon .ts-wrapper.plugin-remove_button {
  color: var(--nn-text) !important;
  background: transparent !important;
}

body.netzneon .ts-wrapper .ts-control,
body.netzneon .ts-control,
body.netzneon .ts-wrapper.single .ts-control,
body.netzneon .ts-wrapper.multi .ts-control {
  position: relative !important;
  background-color: #111827 !important;
  background-image: none !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: var(--nn-radius-sm) !important;
  color: var(--nn-text) !important;
  box-shadow: none !important;
  padding: 0.45rem 2rem 0.45rem 0.65rem !important;
}

body.netzneon .ts-wrapper.focus .ts-control,
body.netzneon .ts-wrapper.dropdown-active .ts-control,
body.netzneon .ts-control:focus {
  border-color: var(--nn-neon) !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 242, 255, 0.15), var(--nn-glow) !important;
}

body.netzneon .ts-wrapper .ts-control > input,
body.netzneon .ts-control input,
body.netzneon .ts-wrapper .ts-control > div {
  color: var(--nn-text) !important;
  background: transparent !important;
}

body.netzneon .ts-wrapper .ts-control > input::placeholder,
body.netzneon .ts-control input::placeholder {
  color: var(--nn-text-dim) !important;
}

body.netzneon .ts-wrapper.multi .ts-control > div.item,
body.netzneon .ts-control .item {
  background: rgba(0, 102, 255, 0.28) !important;
  border: 1px solid rgba(0, 242, 255, 0.35) !important;
  color: #fff !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

/* Fancy Select Remove – Joomla nutzt choices__button_joomla (nicht choices__button) */
joomla-field-fancy-select .choices__button_joomla,
joomla-field-fancy-select .choices__button,
joomla-field-fancy-select .choices__list--multiple .choices__button,
body.netzneon .choices__button_joomla,
body.netzneon .choices__list--multiple .choices__button_joomla,
body.netzneon joomla-field-fancy-select .choices__button_joomla,
.nn-component .choices__button_joomla,
joomla-field-fancy-select .ts-control .item .remove,
joomla-field-fancy-select button.remove,
joomla-field-fancy-select a.remove {
  position: relative !important;
  display: inline-block !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
  min-width: 1.5rem !important;
  margin: 0 0 0 0.35rem !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  appearance: none !important;
}

/* Neon-X (wie Atum: ::before mit ×) */
joomla-field-fancy-select .choices__button_joomla::before,
joomla-field-fancy-select .choices__button::before,
body.netzneon .choices__button_joomla::before,
.nn-component .choices__button_joomla::before,
joomla-field-fancy-select .ts-control .item .remove::before,
joomla-field-fancy-select button.remove::before,
joomla-field-fancy-select a.remove::before {
  content: "\00d7" !important;
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  color: #00f0ff !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-indent: 0 !important;
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.45) !important;
  pointer-events: none !important;
}

joomla-field-fancy-select .choices__button_joomla:hover::before,
joomla-field-fancy-select .choices__button_joomla:focus::before,
body.netzneon .choices__button_joomla:hover::before,
body.netzneon .choices__button_joomla:focus::before,
.nn-component .choices__button_joomla:hover::before,
joomla-field-fancy-select .ts-control .item .remove:hover::before {
  color: #ffffff !important;
  text-shadow: 0 0 10px #00f0ff !important;
}

/* Alte ::after-Tricks entfernen / neutralisieren */
joomla-field-fancy-select .choices__button_joomla::after,
body.netzneon .choices__button_joomla::after {
  content: none !important;
  display: none !important;
}
body.netzneon .ts-dropdown,
body.netzneon .ts-dropdown.single,
body.netzneon .ts-dropdown.multi {
  background: #111827 !important;
  border: 1px solid var(--nn-border-strong) !important;
  color: var(--nn-text) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), var(--nn-glow);
  z-index: 1060;
}

body.netzneon .ts-dropdown .ts-dropdown-content {
  background: #111827 !important;
}

body.netzneon .ts-dropdown .option,
body.netzneon .ts-dropdown .optgroup-header,
body.netzneon .ts-dropdown .no-results,
body.netzneon .ts-dropdown [data-selectable] {
  color: var(--nn-text-muted) !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Tom Select states – Details in user.css (lädt nach Vendor-CSS) */
body.netzneon .ts-dropdown,
body.netzneon .ts-wrapper,
.nn-component .ts-dropdown {
  color-scheme: dark;
  --bs-tertiary-bg: #0047cc;
  --bs-tertiary-bg-rgb: 0, 71, 204;
  --bs-dropdown-link-hover-bg: #00c4d9;
  --bs-dropdown-link-hover-color: #041018;
  --bs-dropdown-link-active-bg: #0047cc;
  --bs-dropdown-link-active-color: #fff;
}

body.netzneon .ts-dropdown .create {
  color: var(--nn-neon) !important;
}

body.netzneon .ts-wrapper .dropdown-input,
body.netzneon .ts-dropdown .dropdown-input {
  background: #0b1220 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: var(--nn-text) !important;
}

/* Profile tabs */
.nn-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.nn-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid var(--nn-border);
  border-radius: var(--nn-radius);
  background: rgba(8, 14, 26, 0.85);
}

.nn-tabs__btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--nn-text-muted);
  border-radius: var(--nn-radius-sm);
  padding: 0.6rem 0.95rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--nn-transition), background var(--nn-transition), border-color var(--nn-transition), box-shadow var(--nn-transition);
}

.nn-tabs__btn:hover,
.nn-tabs__btn:focus-visible {
  color: var(--nn-text);
  border-color: var(--nn-border-strong);
  background: rgba(0, 242, 255, 0.06);
  outline: none;
}

.nn-tabs__btn.is-active,
.nn-tabs__btn[aria-selected="true"] {
  color: #fff;
  border-color: rgba(0, 242, 255, 0.45);
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.16), rgba(0, 102, 255, 0.22));
  box-shadow: var(--nn-glow);
  cursor: default;
}

.nn-tabs__panel {
  padding: 1.15rem 1.2rem 0.35rem;
  border: 1px solid var(--nn-border);
  border-radius: var(--nn-radius);
  background: rgba(10, 18, 32, 0.55);
}

.nn-tabs__panel[hidden] {
  display: none !important;
}

.nn-tabs__desc {
  margin: 0 0 1rem;
  color: var(--nn-text-muted);
  font-size: 0.92rem;
}

.nn-profile-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--nn-border);
}

.nn-profile-actions .controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* System messages – dark neon alerts */
#system-message-container .alert,
#system-message-container joomla-alert,
.alert,
joomla-alert {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  border-radius: 12px !important;
  border: 0 !important;
  background: rgba(8, 14, 28, 0.88) !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.4) !important;
  padding: 1rem 1.25rem !important;
  --bs-alert-bg: transparent;
  --bs-alert-border-color: transparent;
  --bs-danger-bg-subtle: transparent;
  --bs-danger-border-subtle: transparent;
  --bs-danger-text-subtle: #ffc2d0;
}

#system-message-container .alert .alert-message,
#system-message-container .alert p,
#system-message-container joomla-alert .alert-message,
.alert .alert-message,
.alert p {
  color: #ffffff !important;
  margin: 0 !important;
}

#system-message-container .alert-danger,
#system-message-container joomla-alert[type="danger"],
#system-message-container joomla-alert.alert-danger,
.alert-danger,
joomla-alert[type="danger"] {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 1rem 3.25rem 1rem 3.4rem !important;
  border: 1px solid rgba(255, 0, 85, 0.55) !important;
  outline: none !important;
  background: rgba(15, 20, 30, 0.95) !important;
  background-color: rgba(15, 20, 30, 0.95) !important;
  background-image: none !important;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.6) !important;
  color: #ffd0dc !important;
}

/* Standard-Joomla-/Bootstrap-X und Hintergrund-Icons entfernen */
#system-message-container .alert-danger,
#system-message-container joomla-alert[type="danger"],
.alert-danger,
joomla-alert[type="danger"],
#system-message-container .alert-danger *,
#system-message-container joomla-alert[type="danger"] *,
.alert-danger * {
  background-image: none !important;
}

#system-message-container .alert-danger .alert-heading,
#system-message-container joomla-alert[type="danger"] .alert-heading,
.alert-danger .alert-heading,
joomla-alert[type="danger"] .alert-heading,
.nn-alert-icon-heading,
#system-message-container .alert-danger .alert-heading::before,
#system-message-container .alert-danger .alert-heading::after,
#system-message-container .alert-danger [class^="icon-"],
#system-message-container .alert-danger [class*=" icon-"],
#system-message-container .alert-danger .fa-times,
#system-message-container .alert-danger .icon-times,
.alert-danger .alert-heading i {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
}

/* Modernes Warn-Dreieck links (Font Awesome) */
#system-message-container .alert-danger::before,
#system-message-container joomla-alert[type="danger"]::before,
.alert-danger::before,
joomla-alert[type="danger"]::before {
  content: "\f071" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 1.65rem !important;
  line-height: 1 !important;
  color: #ff3355 !important;
  text-shadow: 0 0 12px rgba(255, 0, 85, 0.55);
  position: absolute !important;
  left: 1.05rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: block !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  background-image: none !important;
  speak: none;
}

#system-message-container .alert-danger .alert-wrapper,
#system-message-container joomla-alert[type="danger"] .alert-wrapper,
.alert-danger .alert-wrapper {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
}

#system-message-container .alert-danger .alert-message,
#system-message-container .alert-danger p,
#system-message-container joomla-alert[type="danger"] .alert-message,
.alert-danger .alert-message,
.alert-danger p {
  color: #ffe0e8 !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  background: none !important;
  background-image: none !important;
}

/* Schließen-X: absolut rechts, Neon-Blau */
#system-message-container .alert-danger .joomla-alert--close,
#system-message-container joomla-alert[type="danger"] .joomla-alert--close,
#system-message-container .alert-danger .btn-close,
#system-message-container .alert-danger button.close,
.alert-danger .joomla-alert--close,
.alert-danger .btn-close,
joomla-alert[type="danger"] .joomla-alert--close,
joomla-alert[type="danger"] .btn-close {
  position: absolute !important;
  right: 15px !important;
  top: 50% !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  padding: 0.25rem !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  color: #00d2ff !important;
  text-shadow: 0 0 8px #00d2ff !important;
  z-index: 5 !important;
}

#system-message-container .alert-success,
.alert-success {
  border: 1px solid #39ff14 !important;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.25) !important;
  color: #39ff14 !important;
}

#system-message-container .alert-success .alert-heading,
#system-message-container .alert-success .alert-message,
#system-message-container .alert-success p,
#system-message-container .alert-success [class*="icon"],
#system-message-container .alert-success svg,
.alert-success .alert-heading,
.alert-success .alert-message,
.alert-success p,
.alert-success [class*="icon"],
.alert-success svg {
  color: #39ff14 !important;
  fill: #39ff14 !important;
}

#system-message-container .alert-info,
.alert-info {
  border: 1px solid #00f2ff !important;
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.25) !important;
  color: #00f2ff !important;
}

#system-message-container .alert-info .alert-heading,
#system-message-container .alert-info .alert-message,
#system-message-container .alert-info p,
#system-message-container .alert-info [class*="icon"],
#system-message-container .alert-info svg,
.alert-info .alert-heading,
.alert-info .alert-message,
.alert-info p,
.alert-info [class*="icon"],
.alert-info svg {
  color: #00f2ff !important;
  fill: #00f2ff !important;
}

#system-message-container .alert-warning,
.alert-warning {
  border: 1px solid #ffcc00 !important;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.25) !important;
  color: #ffcc00 !important;
}

/* Hide Dark Mode / Website language in frontend profile (CSS fallback) */
.nn-profile-edit #jform_params_theme,
.nn-profile-edit #jform_params_theme-lbl,
.nn-profile-edit #jform_params_language,
.nn-profile-edit #jform_params_language-lbl,
.nn-profile-edit .control-group:has(#jform_params_theme),
.nn-profile-edit .control-group:has(#jform_params_language),
.nn-profile-edit .control-group:has([name="jform[params][theme]"]),
.nn-profile-edit .control-group:has([name="jform[params][language]"]),
.nn-profile-edit .control-group:has([name="jform[language]"]) {
  display: none !important;
}

.nn-profile-edit .nn-profile-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nn-profile-edit .nn-profile-fields .control-group {
  display: block;
  margin-bottom: 0;
  padding: 0.35rem 0;
}

.nn-profile-edit .nn-tabs__panel {
  padding: 1.25rem 1.35rem 1rem;
}

/* --------------------------------------------------------------------------
   Profil-Formular: max 600px am Wrapper – Input-Group-Flex bleibt intakt
   -------------------------------------------------------------------------- */

/* 1) Wrapper / freistehende Felder begrenzen (nicht Inputs IN .input-group) */
body.netzneon .nn-profile-edit .controls,
body.netzneon .nn-profile-edit .nn-profile-fields .control-group > .controls,
body.netzneon #member-profile .controls,
body.netzneon .com-users-profile__edit .controls {
  max-width: 600px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.netzneon .nn-profile-edit .input-group,
body.netzneon .nn-profile-edit .password-group,
body.netzneon .nn-profile-edit .input-password-group,
body.netzneon .nn-profile-edit .control-group:has(input[type="password"]) .controls,
body.netzneon .nn-profile-edit .control-group:has(input[type="password"]) .input-group,
body.netzneon #member-profile .input-group,
body.netzneon #member-profile .password-group,
body.netzneon #member-profile .control-group:has(input[type="password"]) .controls,
body.netzneon .com-users-profile__edit .input-group {
  max-width: 600px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 3) Kompakte Ja/Nein-Selects (nicht Fancy Select) */
body.netzneon .nn-profile-edit .form-select:not(.choices__input),
body.netzneon .nn-profile-edit select.form-select,
body.netzneon .nn-profile-edit .controls > select,
body.netzneon #member-profile .form-select:not(.choices__input),
body.netzneon #member-profile select.form-select,
body.netzneon .com-users-profile__edit .form-select:not(.choices__input) {
  max-width: 300px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Select, das bereits von Choices ersetzt wurde, ausnehmen */
body.netzneon .nn-profile-edit .choices + select,
body.netzneon .nn-profile-edit .choices select,
body.netzneon .nn-profile-edit joomla-field-fancy-select select,
body.netzneon #member-profile joomla-field-fancy-select select {
  max-width: none !important;
}

/* Freistehende Controls (ohne Input-Group): ebenfalls max 600px */
body.netzneon .nn-profile-edit .controls > .form-control:not(.input-group .form-control),
body.netzneon .nn-profile-edit .controls > input.form-control,
body.netzneon .nn-profile-edit .controls > textarea.form-control,
body.netzneon .nn-profile-edit .nn-profile-fields .control-group > input.form-control,
body.netzneon .nn-profile-edit .nn-profile-fields .control-group > .form-control,
body.netzneon #member-profile .controls > .form-control,
body.netzneon #member-profile .controls > .form-select {
  max-width: 600px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 2) Input-Groups / Passwort-Auge: Flex intakt, Felder füllen den 600px-Wrapper */
body.netzneon .nn-profile-edit .input-group,
body.netzneon .nn-profile-edit .password-group,
body.netzneon .nn-profile-edit .input-password-group,
body.netzneon #member-profile .input-group,
body.netzneon #member-profile .password-group,
body.netzneon .com-users-profile__edit .input-group {
  display: flex !important;
  flex-wrap: wrap !important; /* Meter darf in neue Zeile */
  align-items: stretch !important;
  gap: 0 !important;
  overflow: visible !important;
}

body.netzneon .nn-profile-edit .input-group > .form-control,
body.netzneon .nn-profile-edit .input-group > input,
body.netzneon .nn-profile-edit .password-group > .form-control,
body.netzneon .nn-profile-edit .password-group > input,
body.netzneon #member-profile .input-group > .form-control,
body.netzneon #member-profile .input-group > input {
  flex: 1 1 auto !important;
  width: 1% !important;
  min-width: 0 !important;
  max-width: none !important; /* Breite kommt vom Wrapper, nicht vom Input */
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

body.netzneon .nn-profile-edit .input-group > .btn,
body.netzneon .nn-profile-edit .input-group > button,
body.netzneon .nn-profile-edit .input-group > .input-group-text,
body.netzneon .nn-profile-edit .password-group > .btn,
body.netzneon .nn-profile-edit .password-group > button,
body.netzneon .nn-profile-edit .password-group > .input-group-text,
body.netzneon #member-profile .input-group > .btn,
body.netzneon #member-profile .input-group > button,
body.netzneon #member-profile .input-group > .input-group-text {
  flex: 0 0 auto !important;
  margin: 0 !important;
  margin-inline-start: -1px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  z-index: 1;
}

/* Passwort-Meter: zwingend neue Zeile unter dem Feld (auch wenn in der Group) */
body.netzneon .nn-profile-edit .password-group > meter,
body.netzneon .nn-profile-edit .password-group > .progress,
body.netzneon .nn-profile-edit .password-group > joomla-field-password-strength,
body.netzneon .nn-profile-edit .password-group > [class*="password-meter"],
body.netzneon .nn-profile-edit .password-group > [class*="meter"],
body.netzneon .nn-profile-edit .input-group > meter,
body.netzneon .nn-profile-edit .input-group > .progress,
body.netzneon .nn-profile-edit .input-group > joomla-field-password-strength,
body.netzneon .nn-profile-edit .input-group > [class*="password-meter"],
body.netzneon .nn-profile-edit .input-group > [class*="meter"],
body.netzneon .nn-profile-edit .password-group + .progress,
body.netzneon .nn-profile-edit .input-group + .progress,
body.netzneon .nn-profile-edit .controls .progress,
body.netzneon .nn-profile-edit .control-group .progress,
body.netzneon .nn-profile-edit meter,
body.netzneon .nn-profile-edit joomla-field-password-strength,
body.netzneon .nn-profile-edit [id*="password"][id*="meter"],
body.netzneon .nn-profile-edit .password-strength,
body.netzneon .nn-profile-edit .password-meter,
body.netzneon #member-profile .input-group > meter,
body.netzneon #member-profile .input-group > .progress,
body.netzneon #member-profile .input-group > joomla-field-password-strength,
body.netzneon #member-profile meter,
body.netzneon #member-profile .progress {
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 600px !important;
  order: 99 !important;
  clear: both !important;
  margin-top: 8px !important;
  margin-inline-start: 0 !important;
  position: static !important;
  float: none !important;
  box-sizing: border-box !important;
}

/* Auge/Button bleiben in Zeile 1 */
body.netzneon .nn-profile-edit .input-group > .form-control,
body.netzneon .nn-profile-edit .input-group > input,
body.netzneon .nn-profile-edit .input-group > .btn,
body.netzneon .nn-profile-edit .input-group > button,
body.netzneon .nn-profile-edit .input-group > .input-group-text,
body.netzneon .nn-profile-edit .password-group > .form-control,
body.netzneon .nn-profile-edit .password-group > input,
body.netzneon .nn-profile-edit .password-group > .btn,
body.netzneon .nn-profile-edit .password-group > button,
body.netzneon .nn-profile-edit .password-group > .input-group-text {
  order: 1 !important;
}

/* Tags / Mehrfachauswahl (Ereignisse): volle Inhaltsbreite */
body.netzneon .nn-profile-edit .control-group:has(select[multiple]) .controls,
body.netzneon .nn-profile-edit .control-group:has(.choices__list--multiple) .controls,
body.netzneon .nn-profile-edit .control-group:has(joomla-field-fancy-select) .controls:has(.choices__list--multiple),
body.netzneon #member-profile .control-group:has(select[multiple]) .controls,
body.netzneon #member-profile .control-group:has(.choices__list--multiple) .controls {
  max-width: 100% !important;
  width: 100% !important;
}

body.netzneon .nn-profile-edit .control-group:has(select[multiple]) .choices,
body.netzneon .nn-profile-edit .control-group:has(select[multiple]) .choices__inner,
body.netzneon .nn-profile-edit .control-group:has(select[multiple]) joomla-field-fancy-select,
body.netzneon .nn-profile-edit .control-group:has(.choices__list--multiple) .choices,
body.netzneon .nn-profile-edit .control-group:has(.choices__list--multiple) .choices__inner,
body.netzneon .nn-profile-edit .control-group:has(.choices__list--multiple) joomla-field-fancy-select,
body.netzneon #member-profile .control-group:has(select[multiple]) .choices,
body.netzneon #member-profile .control-group:has(.choices__list--multiple) .choices,
body.netzneon #member-profile .control-group:has(.choices__list--multiple) .choices__inner {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Fancy Select Standard: volle Breite im 600px-Wrapper */
body.netzneon .nn-profile-edit .choices,
body.netzneon .nn-profile-edit .choices__inner,
body.netzneon .nn-profile-edit joomla-field-fancy-select,
body.netzneon #member-profile .choices,
body.netzneon #member-profile .choices__inner,
body.netzneon #member-profile joomla-field-fancy-select {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Basiseinstellungen Ja/Nein / Tours: max. 320px, inline-block */
body.netzneon .nn-profile-edit .control-group:has(#jform_params_tours) .controls,
body.netzneon .nn-profile-edit .control-group:has([name="jform[params][tours]"]) .controls,
body.netzneon #member-profile .control-group:has(#jform_params_tours) .controls {
  display: inline-block !important;
  max-width: 320px !important;
  width: auto !important;
}

body.netzneon .nn-profile-edit .control-group:has(select:not([multiple]):not(:has(option:nth-of-type(4)))) .choices,
body.netzneon .nn-profile-edit .control-group:has(select:not([multiple]):not(:has(option:nth-of-type(4)))) .choices__inner,
body.netzneon .nn-profile-edit .control-group:has(select:not([multiple]):not(:has(option:nth-of-type(4)))) joomla-field-fancy-select,
body.netzneon .nn-profile-edit select.form-select:not([multiple]):not(:has(option:nth-of-type(4))),
body.netzneon .nn-profile-edit #jform_params_tours,
body.netzneon .nn-profile-edit .control-group:has(#jform_params_tours) .choices,
body.netzneon .nn-profile-edit .control-group:has(#jform_params_tours) .choices__inner,
body.netzneon .nn-profile-edit .control-group:has(#jform_params_tours) joomla-field-fancy-select,
body.netzneon .nn-profile-edit .control-group:has([name="jform[params][tours]"]) .choices,
body.netzneon .nn-profile-edit .control-group:has([name="jform[params][tours]"]) .choices__inner,
body.netzneon #member-profile .control-group:has(select:not([multiple]):not(:has(option:nth-of-type(4)))) .choices,
body.netzneon #member-profile .control-group:has(select:not([multiple]):not(:has(option:nth-of-type(4)))) .choices__inner,
body.netzneon #member-profile .control-group:has(#jform_params_tours) .choices,
body.netzneon #member-profile #jform_params_tours {
  display: inline-block !important;
  width: auto !important;
  max-width: 320px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.netzneon .nn-profile-edit .choices__list--dropdown,
body.netzneon #member-profile .choices__list--dropdown {
  width: 100% !important;
  max-width: 100% !important;
}

/* Invalid / Passwort-Mismatch – Neon-Rot */
body.netzneon .nn-profile-edit input.invalid,
body.netzneon .nn-profile-edit .form-control.invalid,
body.netzneon .nn-profile-edit input:invalid,
body.netzneon .nn-profile-edit .form-control:invalid,
body.netzneon .nn-profile-edit .form-control.is-invalid,
body.netzneon .nn-profile-edit .is-invalid,
body.netzneon #member-profile input.invalid,
body.netzneon #member-profile .form-control.invalid,
body.netzneon #member-profile input:invalid,
body.netzneon #member-profile .form-control.is-invalid,
body.netzneon .nn-component input.invalid,
body.netzneon .nn-component .form-control.invalid,
body.netzneon .nn-component .form-control.is-invalid {
  border-color: #ff0055 !important;
  box-shadow: 0 0 8px rgba(255, 0, 85, 0.6) !important;
  outline: none !important;
}

body.netzneon .nn-profile-edit input.invalid:focus,
body.netzneon .nn-profile-edit .form-control.invalid:focus,
body.netzneon .nn-profile-edit input:invalid:focus,
body.netzneon .nn-profile-edit .form-control.is-invalid:focus,
body.netzneon #member-profile .form-control.is-invalid:focus {
  border-color: #ff0055 !important;
  box-shadow: 0 0 0 0.15rem rgba(255, 0, 85, 0.25), 0 0 10px rgba(255, 0, 85, 0.55) !important;
}

body.netzneon .nn-profile-edit .choices__input,
body.netzneon .nn-profile-edit .choices__input--cloned,
body.netzneon #member-profile .choices__input,
body.netzneon #member-profile .choices__input--cloned {
  min-width: 250px !important;
  width: auto !important;
  max-width: none !important;
  flex: 1 1 250px !important;
}

/* 4) API-Token: Ausnahme – volle verfügbare Breite */
body.netzneon .nn-profile-edit .controls:has(input[id*="token"]),
body.netzneon .nn-profile-edit .controls:has(input[name*="token"]),
body.netzneon .nn-profile-edit .control-group:has(input[id*="token"]) > .controls,
body.netzneon .nn-profile-edit .input-group:has(input[id*="token"]),
body.netzneon .nn-profile-edit .input-group:has(input[name*="token"]),
body.netzneon .nn-profile-edit #jform_apitoken,
body.netzneon .nn-profile-edit #jform_api_token,
body.netzneon .nn-profile-edit input[id*="token"],
body.netzneon .nn-profile-edit input[name*="token"],
body.netzneon #member-profile .controls:has(input[id*="token"]),
body.netzneon #member-profile .input-group:has(input[id*="token"]),
body.netzneon #member-profile input[id*="token"] {
  max-width: 100% !important;
  width: 100% !important;
}

body.netzneon .nn-profile-edit .input-group:has(input[id*="token"]) > input,
body.netzneon .nn-profile-edit .input-group:has(input[name*="token"]) > input,
body.netzneon #member-profile .input-group:has(input[id*="token"]) > input {
  width: 1% !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace !important;
  font-size: 0.85rem !important;
}

@media (max-width: 600px) {
  body.netzneon .nn-profile-edit .controls,
  body.netzneon .nn-profile-edit .input-group,
  body.netzneon .nn-profile-edit .password-group,
  body.netzneon .nn-profile-edit .choices,
  body.netzneon .nn-profile-edit joomla-field-fancy-select,
  body.netzneon .nn-profile-edit .form-select,
  body.netzneon .nn-profile-edit .controls .progress,
  body.netzneon #member-profile .controls,
  body.netzneon #member-profile .input-group,
  body.netzneon #member-profile .choices,
  body.netzneon #member-profile .form-select {
    max-width: 100% !important;
  }
}

/* Compact copy button (API token etc.) */
body.netzneon .input-group {
  display: flex;
  align-items: stretch;
  gap: 0;
}

body.netzneon .input-group .form-control,
body.netzneon .input-group input {
  flex: 1 1 auto;
  min-width: 0;
}

body.netzneon .input-group .btn,
body.netzneon .input-group button.btn,
body.netzneon .nn-copy-btn,
.nn-component .nn-copy-btn {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 0 8px 8px 0 !important;
  font-size: 0;
  line-height: 1;
  gap: 0;
}

/* Copy-Button etwas absetzen, Passwort-Auge bleibt bündig */
body.netzneon .input-group:has(.nn-copy-btn) {
  gap: 0.4rem;
}

body.netzneon .input-group:has(.nn-copy-btn) > .form-control,
body.netzneon .input-group:has(.nn-copy-btn) > input {
  border-radius: var(--nn-radius-sm) !important;
}

body.netzneon .input-group .nn-copy-btn,
.nn-component .input-group .nn-copy-btn {
  border-radius: 8px !important;
  margin-inline-start: 0 !important;
}

body.netzneon .input-group .btn .fa,
body.netzneon .input-group .btn .fa-solid,
body.netzneon .nn-copy-btn .fa,
body.netzneon .nn-copy-btn .fa-solid,
.nn-component .nn-copy-btn .fa,
.nn-component .nn-copy-btn .fa-solid {
  font-size: 1rem !important;
  color: var(--nn-neon);
  margin: 0 !important;
}

body.netzneon .input-group .btn span[class^="icon-"],
body.netzneon .input-group .btn span[class*=" icon-"] {
  font-size: 1rem !important;
  margin: 0 !important;
  color: var(--nn-neon);
}

/* --------------------------------------------------------------------------
   Breadcrumbs – flat, no outer frame
   -------------------------------------------------------------------------- */

.nn-breadcrumbs .mod-breadcrumbs,
.nn-breadcrumbs .mod-breadcrumbs__wrapper,
.nn-breadcrumbs .pagenavigation,
body.netzneon .mod-breadcrumbs,
body.netzneon .mod-breadcrumbs__wrapper,
body.netzneon .mod-breadcrumbs__here,
body.netzneon ol.breadcrumb,
body.netzneon ul.breadcrumb,
.nn-component ol.breadcrumb,
.nn-component ul.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.netzneon .mod-breadcrumbs__here,
body.netzneon .mod-breadcrumbs .mod-breadcrumbs__here {
  color: var(--nn-text-dim);
  font-size: 0.85rem;
  margin-right: 0.15rem;
}

body.netzneon .breadcrumb .breadcrumb-item,
body.netzneon .mod-breadcrumbs .breadcrumb-item,
body.netzneon ul.breadcrumb > li,
body.netzneon ol.breadcrumb > li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--nn-text-muted);
  font-size: 0.9rem;
  background: transparent !important;
  border: 0 !important;
  padding: 0;
}

body.netzneon .breadcrumb .breadcrumb-item + .breadcrumb-item::before,
body.netzneon .mod-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.netzneon .breadcrumb a,
body.netzneon .mod-breadcrumbs a,
body.netzneon ul.breadcrumb a {
  color: #00d2ff;
  text-shadow: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

body.netzneon .breadcrumb a:hover,
body.netzneon .mod-breadcrumbs a:hover,
body.netzneon ul.breadcrumb a:hover {
  color: #00ff66;
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.45);
}

body.netzneon .breadcrumb .breadcrumb-item.active,
body.netzneon .mod-breadcrumbs .breadcrumb-item.active,
body.netzneon ul.breadcrumb > li.active {
  color: var(--nn-text);
}

/* --------------------------------------------------------------------------
   Pagination – horizontal neon controls
   -------------------------------------------------------------------------- */

body.netzneon .pagination,
body.netzneon ul.pagination,
body.netzneon nav.pagination ul,
.nn-component .pagination,
.nn-component ul.pagination,
.nn-component .com-content-category-blog__navigation,
.nn-component .w-100 .pagination {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  list-style: none !important;
  margin: 1.25rem 0 0;
  padding: 0 !important;
  background: transparent;
  border: 0;
}

body.netzneon .pagination::before,
body.netzneon .pagination::after,
body.netzneon ul.pagination::before,
body.netzneon ul.pagination::after {
  display: none !important;
  content: none !important;
}

body.netzneon .pagination .page-item,
body.netzneon ul.pagination > li,
.nn-component .pagination .page-item,
.nn-component ul.pagination > li {
  display: inline-flex;
  list-style: none !important;
  margin: 0;
  padding: 0;
}

body.netzneon .pagination .page-item::marker,
body.netzneon ul.pagination > li::marker {
  content: "" !important;
  display: none;
}

body.netzneon .pagination .page-link,
body.netzneon ul.pagination > li > a,
body.netzneon ul.pagination > li > span,
.nn-component .pagination .page-link,
.nn-component ul.pagination > li > a,
.nn-component ul.pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 242, 255, 0.22);
  background: #111827;
  color: var(--nn-text-muted) !important;
  text-shadow: none;
  line-height: 1;
}

body.netzneon .pagination .page-item.active .page-link,
body.netzneon ul.pagination > li.active > a,
body.netzneon ul.pagination > li.active > span,
.nn-component .pagination .page-item.active .page-link {
  color: #fff !important;
  border-color: rgba(0, 242, 255, 0.55);
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.22), rgba(0, 102, 255, 0.35));
  box-shadow: var(--nn-glow);
}

body.netzneon .pagination .page-link:hover,
body.netzneon ul.pagination > li > a:hover,
.nn-component .pagination .page-link:hover {
  color: #fff !important;
  border-color: var(--nn-neon);
  box-shadow: var(--nn-glow);
}

body.netzneon .pagination-wrapper,
body.netzneon .com-content-category__pagination,
.nn-component .pagination-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

body.netzneon .counter,
.nn-component .counter {
  color: var(--nn-text-muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Error / offline
   -------------------------------------------------------------------------- */

.nn-error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.nn-error__card {
  width: min(560px, 100%);
  padding: 2rem;
  border-radius: var(--nn-radius);
  border: 1px solid var(--nn-border-strong);
  background: rgba(8, 14, 26, 0.92);
  box-shadow: var(--nn-glow);
  text-align: center;
}

.nn-error__code {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--nn-neon);
  text-shadow: 0 0 18px rgba(0, 242, 255, 0.55);
}

.nn-error__title {
  margin: 0.35rem 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.nn-error__debug {
  margin-top: 1.5rem;
  text-align: left;
  font-size: 0.85rem;
  color: var(--nn-text-muted);
  overflow: auto;
}

.nn-offline-form {
  margin-top: 1.25rem;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .nn-layout,
  .nn-layout.is-collapsed {
    padding-left: var(--nn-sidebar-collapsed);
  }

  .nn-sidebar,
  .nn-layout.is-collapsed .nn-sidebar,
  .nn-layout.is-collapsed #nn-sidebar {
    width: var(--nn-sidebar-collapsed) !important;
    max-width: var(--nn-sidebar-collapsed) !important;
  }

  .top-bar {
    --nn-topbar-pad-y: 0.5rem;
    padding: var(--nn-topbar-pad-y) 1rem;
  }

  :root {
    --nn-logo-h: 120px;
  }

  .nn-content {
    padding: 1.25rem 1rem 2rem;
  }

  .nn-tabs__nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}

@media (max-width: 600px) {
  :root {
    --nn-sidebar-collapsed: 64px;
    --nn-logo-h: 96px;
  }

  .top-bar {
    --nn-topbar-pad-y: 0.45rem;
    padding: var(--nn-topbar-pad-y) 0.85rem;
  }
}

/* ==========================================================================
   Dark Mode Umschalter ausblenden (params.colorScheme)
   ========================================================================== */

body.netzneon #jform_params_colorScheme,
body.netzneon [name="jform[params][colorScheme]"],
body.netzneon .control-group:has(#jform_params_colorScheme),
body.netzneon .control-group:has([name="jform[params][colorScheme]"]),
body.netzneon .nn-profile-edit .control-group:has([id*="colorScheme"]),
.nn-component .control-group:has(#jform_params_colorScheme) {
  display: none !important;
}

/* ==========================================================================
   Frontend-Formulare: helle Tab-/Card-Container → Neon Dark
   ========================================================================== */

body.netzneon .nn-component .nav-tabs,
body.netzneon .com-content-form .nav-tabs,
body.netzneon ul.nav.nav-tabs,
.nn-component ul.nav-tabs {
  background: #0b1424 !important;
  border: 1px solid rgba(0, 242, 255, 0.22) !important;
  border-radius: 10px 10px 0 0 !important;
  border-bottom: 1px solid rgba(0, 242, 255, 0.28) !important;
  padding: 0.35rem 0.5rem 0 !important;
  gap: 0.15rem;
}

body.netzneon .nn-component .nav-tabs .nav-link,
body.netzneon .com-content-form .nav-tabs .nav-link,
body.netzneon ul.nav.nav-tabs .nav-link {
  color: #9aa7b8 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 8px 8px 0 0 !important;
  margin-bottom: -1px !important;
  padding: 0.65rem 1rem !important;
}

body.netzneon .nn-component .nav-tabs .nav-link:hover,
body.netzneon ul.nav.nav-tabs .nav-link:hover {
  color: #e2e8f0 !important;
  background: rgba(0, 242, 255, 0.06) !important;
}

body.netzneon .nn-component .nav-tabs .nav-link.active,
body.netzneon .nn-component .nav-tabs .nav-item.show .nav-link,
body.netzneon ul.nav.nav-tabs .nav-link.active {
  color: #f4f7fb !important;
  background: rgba(0, 102, 255, 0.12) !important;
  border-bottom-color: #00f2ff !important;
  box-shadow: 0 2px 12px rgba(0, 242, 255, 0.2);
}

body.netzneon .nn-component .tab-content,
body.netzneon .com-content-form .tab-content,
body.netzneon .tab-content,
.nn-component .tab-pane,
body.netzneon .tab-pane {
  background: #0a1220 !important;
  border: 1px solid rgba(0, 242, 255, 0.18) !important;
  border-top: 0 !important;
  border-radius: 0 0 10px 10px !important;
  color: #e2e8f0 !important;
  padding: 1.1rem 1.25rem !important;
}

body.netzneon .nn-component .tab-content > .active,
body.netzneon .tab-pane.active {
  background: #0a1220 !important;
}

body.netzneon .nn-component fieldset,
body.netzneon .nn-component .options-form,
body.netzneon .com-content-form,
body.netzneon .edit.item-page,
body.netzneon .com-content-article-edit,
.nn-component .card-body {
  background: transparent !important;
  color: var(--nn-text) !important;
}

body.netzneon .nn-component legend,
body.netzneon .tab-pane legend,
body.netzneon .tab-pane h3,
body.netzneon .tab-pane .control-label,
body.netzneon .tab-pane label {
  color: #e2e8f0 !important;
}

body.netzneon .nn-component .form-control,
body.netzneon .tab-pane .form-control {
  background-color: #111827 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #f4f7fb !important;
}

body.netzneon .tab-pane .form-control:not(textarea),
body.netzneon .nn-component .tab-pane .form-control:not(textarea) {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 4px 10px !important;
}

body.netzneon .tab-pane textarea.form-control {
  background-color: #111827 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #f4f7fb !important;
  height: auto !important;
  max-height: none !important;
}

/* ==========================================================================
   TinyMCE (tox) – Neon Dark Chrome
   ========================================================================== */

body.netzneon .tox,
body.netzneon .tox-tinymce,
.nn-component .tox,
.nn-component .tox-tinymce {
  border: 1px solid rgba(0, 242, 255, 0.35) !important;
  border-radius: 10px !important;
  box-shadow: 0 0 18px rgba(0, 242, 255, 0.12) !important;
  background: #0b1424 !important;
  color: #e2e8f0 !important;
}

body.netzneon .tox .tox-editor-header,
body.netzneon .tox .tox-toolbar-overlord,
body.netzneon .tox .tox-toolbar,
body.netzneon .tox .tox-toolbar__primary,
body.netzneon .tox .tox-toolbar__overflow,
body.netzneon .tox .tox-menubar,
.nn-component .tox .tox-editor-header,
.nn-component .tox .tox-toolbar,
.nn-component .tox .tox-menubar {
  background: #0b1424 !important;
  background-color: #0b1424 !important;
  background-image: none !important;
  border-color: rgba(0, 242, 255, 0.15) !important;
  box-shadow: none !important;
}

body.netzneon .tox .tox-menubar + .tox-toolbar-overlord,
body.netzneon .tox .tox-toolbar-overlord + .tox-toolbar-overlord,
body.netzneon .tox .tox-toolbar__group {
  border-color: rgba(0, 242, 255, 0.12) !important;
}

/* Menü-Einträge (Bearbeiten, Einfügen, …) */
body.netzneon .tox .tox-mbtn,
body.netzneon .tox .tox-mbtn__select-label,
.nn-component .tox .tox-mbtn {
  color: #c5d0dc !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.netzneon .tox .tox-mbtn:focus,
body.netzneon .tox .tox-mbtn:focus-visible,
body.netzneon .tox .tox-mbtn:active,
body.netzneon .tox .tox-mbtn--active,
body.netzneon .tox .tox-mbtn:focus:not(:disabled):not(.tox-mbtn--disabled),
.nn-component .tox .tox-mbtn:focus,
.nn-component .tox .tox-mbtn--active {
  outline: none !important;
  box-shadow: none !important;
  background: rgba(0, 102, 255, 0.22) !important;
  color: #ffffff !important;
}

body.netzneon .tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--disabled),
.nn-component .tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--disabled) {
  background: rgba(0, 102, 255, 0.28) !important;
  color: #00f0ff !important;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.55) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Toolbar-Buttons & Selects */
body.netzneon .tox .tox-tbtn,
body.netzneon .tox .tox-tbtn--select,
body.netzneon .tox .tox-split-button,
body.netzneon .tox .tox-listboxfield .tox-listbox,
.nn-component .tox .tox-tbtn {
  color: #d7e0ea !important;
  background: transparent !important;
  border-radius: 6px !important;
}

body.netzneon .tox .tox-tbtn:hover,
body.netzneon .tox .tox-tbtn:focus,
body.netzneon .tox .tox-tbtn--enabled,
body.netzneon .tox .tox-tbtn--active,
body.netzneon .tox .tox-split-button:hover,
body.netzneon .tox .tox-listboxfield .tox-listbox:hover {
  background: rgba(0, 102, 255, 0.28) !important;
  color: #ffffff !important;
  border-color: rgba(0, 242, 255, 0.35) !important;
}

body.netzneon .tox .tox-tbtn svg,
body.netzneon .tox .tox-tbtn__select-chevron svg,
body.netzneon .tox .tox-split-button svg {
  fill: #c5d0dc !important;
}

body.netzneon .tox .tox-tbtn:hover svg,
body.netzneon .tox .tox-tbtn--enabled svg,
body.netzneon .tox .tox-tbtn--active svg {
  fill: #00f2ff !important;
}

body.netzneon .tox .tox-tbtn--bespoke .tox-tbtn__select-label,
body.netzneon .tox .tox-listbox__select-label {
  color: #e2e8f0 !important;
}

/* Edit-Area / Statusbar */
body.netzneon .tox .tox-sidebar-wrap,
body.netzneon .tox .tox-edit-area,
body.netzneon .tox .tox-edit-area__iframe,
.nn-component .tox .tox-edit-area {
  background: #040a14 !important;
}

body.netzneon .tox .tox-statusbar,
.nn-component .tox .tox-statusbar {
  background: #0b1424 !important;
  border-top: 1px solid rgba(0, 242, 255, 0.18) !important;
  color: #9aa7b8 !important;
}

body.netzneon .tox .tox-statusbar__text-container,
body.netzneon .tox .tox-statusbar__path-item,
body.netzneon .tox .tox-statusbar__wordcount,
body.netzneon .tox .tox-statusbar a,
body.netzneon .tox .tox-statusbar button {
  color: #9aa7b8 !important;
}

body.netzneon .tox .tox-statusbar a:hover,
body.netzneon .tox .tox-statusbar button:hover {
  color: #00f2ff !important;
}

/* Dropdown-Menüs / Dialoge von TinyMCE */
body.netzneon .tox .tox-menu,
body.netzneon .tox .tox-collection--list,
body.netzneon .tox .tox-collection__group,
body.netzneon .tox.tox-tinymce-aux .tox-menu,
body.netzneon .tox-tinymce-aux .tox-menu,
body.netzneon .tox-tinymce-aux .tox-dialog,
body.netzneon .tox .tox-dialog,
body.netzneon .tox .tox-dialog__header,
body.netzneon .tox .tox-dialog__footer,
body.netzneon .tox .tox-dialog__body {
  background: #0f1a2e !important;
  background-color: #0f1a2e !important;
  color: #e2e8f0 !important;
  border-color: rgba(0, 242, 255, 0.28) !important;
}

body.netzneon .tox .tox-collection__item,
body.netzneon .tox-tinymce-aux .tox-collection__item {
  color: #d7e0ea !important;
}

body.netzneon .tox .tox-collection__item:hover:not(.tox-collection__item--enabled),
body.netzneon .tox-tinymce-aux .tox-collection__item:hover:not(.tox-collection__item--enabled) {
  background: rgba(0, 102, 255, 0.35) !important;
  color: #ffffff !important;
}

body.netzneon .tox .tox-insert-table-picker,
body.netzneon .tox .tox-swatches,
body.netzneon .tox .tox-selected-menu {
  background: #0f1a2e !important;
}

body.netzneon .tox .tox-dialog__title,
body.netzneon .tox .tox-label,
body.netzneon .tox .tox-checkbox__label {
  color: #e2e8f0 !important;
}

body.netzneon .tox .tox-textfield,
body.netzneon .tox .tox-textarea,
body.netzneon .tox .tox-selectfield select,
body.netzneon .tox .tox-listboxfield .tox-listbox--select {
  background: #111827 !important;
  color: #f4f7fb !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
}

body.netzneon .tox .tox-button--secondary,
body.netzneon .tox .tox-button {
  border-radius: 8px !important;
}

body.netzneon .tox .tox-button:not(.tox-button--secondary):not(.tox-button--naked) {
  background: linear-gradient(135deg, #0099cc, #0066ff) !important;
  border-color: rgba(0, 242, 255, 0.45) !important;
  color: #fff !important;
}

body.netzneon .tox .tox-button--secondary {
  background: #152238 !important;
  border-color: rgba(0, 242, 255, 0.3) !important;
  color: #e2e8f0 !important;
}

/* Toggle "Editor an/aus" */
body.netzneon .js-tiny-toggler-container,
body.netzneon .toggle-editor,
body.netzneon .btn.button-toggle-editor {
  color: #c5d0dc !important;
}


/* ==========================================================================
   Detail-Baustellen 1–4 (Fancy Select, Feldhöhen, TinyMCE, Modals)
   ========================================================================== */

/* 1) Nur ausgewählte Tags oben: 3D Neon (NICHT die Dropdown-Liste) */
body.netzneon .choices__list--multiple .choices__item,
.nn-component .choices__list--multiple .choices__item {
  background: linear-gradient(180deg, #1a6cff 0%, #0047cc 55%, #003399 100%) !important;
  background-color: #0047cc !important;
  border: 1px solid rgba(120, 190, 255, 0.55) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 70, 200, 0.45),
    0 0 12px rgba(0, 242, 255, 0.25) !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  /* Weniger rechts: X wirkt zentrierter zum Text */
  padding: 0.3rem 0.2rem 0.3rem 0.65rem !important;
  margin: 3px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.15rem !important;
}

/* Dropdown-Liste: flach im Ruhezustand */
body.netzneon .choices__list--dropdown .choices__item,
body.netzneon .choices__list[aria-expanded] .choices__item,
.nn-component .choices__list--dropdown .choices__item {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: #c5d0dc !important;
  font-weight: 400 !important;
  padding: 0.45rem 0.75rem !important;
  margin: 2px 4px !important;
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

/* Bereits aktiv in der Liste: blau, aber zurückgenommen / eingedrückt */
body.netzneon .choices__list--dropdown .choices__item.is-selected,
body.netzneon .choices__list--dropdown .choices__item--selectable.is-selected,
.nn-component .choices__list--dropdown .choices__item.is-selected {
  background: linear-gradient(180deg, #1a6cff 0%, #0047cc 55%, #003399 100%) !important;
  background-color: #0047cc !important;
  background-image: linear-gradient(180deg, #1a6cff 0%, #0047cc 55%, #003399 100%) !important;
  border: 1px solid rgba(120, 190, 255, 0.4) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  opacity: 0.6 !important;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.7) !important;
  text-shadow: none !important;
  font-weight: 600 !important;
}

/* Hover: untergeordnet, flach, dezent – KEIN 3D-Button */
body.netzneon .choices__list--dropdown .choices__item.is-highlighted,
body.netzneon .choices__list--dropdown .choices__item--selectable.is-highlighted,
body.netzneon .choices__list--dropdown .choices__item:hover,
body.netzneon .choices__list--dropdown .choices__item--selectable:hover,
body.netzneon .choices__list[aria-expanded] .choices__item--selectable.is-highlighted,
.nn-component .choices__list--dropdown .choices__item.is-highlighted,
.nn-component .choices__list--dropdown .choices__item--selectable.is-highlighted,
.nn-component .choices__list--dropdown .choices__item:hover,
.nn-component .choices__list--dropdown .choices__item--selectable:hover {
  background: #0a1220 !important;
  background-color: #0a1220 !important;
  background-image: none !important;
  border: 1px solid rgba(0, 240, 255, 0.45) !important;
  border-radius: 6px !important;
  color: #e2e8f0 !important;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.22) !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}

/* Hover auf bereits aktivem Eintrag: bleibt eingedrückt, etwas sichtbarer */
body.netzneon .choices__list--dropdown .choices__item.is-selected.is-highlighted,
body.netzneon .choices__list--dropdown .choices__item.is-selected:hover,
.nn-component .choices__list--dropdown .choices__item.is-selected.is-highlighted,
.nn-component .choices__list--dropdown .choices__item.is-selected:hover {
  background: linear-gradient(180deg, #1a6cff 0%, #0047cc 55%, #003399 100%) !important;
  background-image: linear-gradient(180deg, #1a6cff 0%, #0047cc 55%, #003399 100%) !important;
  border: 1px solid rgba(0, 240, 255, 0.45) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  opacity: 0.75 !important;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.7) !important;
  text-shadow: none !important;
  font-weight: 600 !important;
}

/* X auf Tag: hell für Kontrast auf blauem 3D-Tag */
body.netzneon .choices__list--multiple .choices__button_joomla,
.nn-component .choices__list--multiple .choices__button_joomla {
  margin: 0 0.1rem 0 0.15rem !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  min-width: 1.25rem !important;
}

body.netzneon .choices__list--multiple .choices__button_joomla::before,
.nn-component .choices__list--multiple .choices__button_joomla::before {
  color: #ffffff !important;
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.65) !important;
}

body.netzneon .choices__list--multiple .choices__button_joomla:hover::before,
.nn-component .choices__list--multiple .choices__button_joomla:hover::before {
  color: #00f0ff !important;
  text-shadow: 0 0 10px #00f0ff !important;
}

/* Placeholder-Feld breit genug */
body.netzneon joomla-field-fancy-select .choices__input,
body.netzneon joomla-field-fancy-select .choices__input--cloned,
body.netzneon .choices__inner .choices__input,
body.netzneon .choices__input,
body.netzneon .choices__input--cloned,
.nn-component .choices__input,
.nn-component .choices__input--cloned {
  margin-left: 8px !important;
  margin-top: 2px !important;
  padding-left: 0.35rem !important;
  min-width: 250px !important;
  width: auto !important;
  flex: 1 1 250px !important;
  background: transparent !important;
  color: var(--nn-text) !important;
}

body.netzneon joomla-field-fancy-select .choices__inner,
body.netzneon .choices__inner,
.nn-component .choices__inner {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 2px !important;
  min-height: 32px !important;
  padding: 0.25rem 0.45rem !important;
}

/* 2) Passwort-/Input-Gruppen: einheitliche 32px-Höhe */
body.netzneon .password-group,
body.netzneon .input-group,
body.netzneon .input-password-group,
.nn-component .password-group,
.nn-component .input-group {
  align-items: center !important;
  min-height: 32px !important;
}

body.netzneon .password-group .form-control,
body.netzneon .password-group input[type="password"],
body.netzneon .input-group > .form-control:not(textarea),
body.netzneon .input-group > input:not([type="checkbox"]):not([type="radio"]),
.nn-component .password-group .form-control,
.nn-component .input-group > .form-control:not(textarea) {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 4px 10px !important;
}

body.netzneon .password-group .btn,
body.netzneon .input-password .btn,
body.netzneon .input-group .input-group-text {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  box-sizing: border-box !important;
}

/* 3) TinyMCE Menü – Fokusrahmen weg, Neon-Hover (Zusatzabsicherung) */
body.netzneon .tox .tox-mbtn:focus,
body.netzneon .tox .tox-mbtn:focus-visible,
body.netzneon .tox .tox-mbtn:active,
body.netzneon .tox .tox-mbtn--active,
body.netzneon .tox .tox-mbtn:focus:not(:disabled) {
  outline: none !important;
  box-shadow: none !important;
}

body.netzneon .tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--disabled) {
  background: rgba(0, 102, 255, 0.3) !important;
  color: #00f0ff !important;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.55) !important;
}

/* 4) Modale Fenster – einheitlich rund, Neon-Rahmen, Glow */
body.netzneon .modal-content,
body.netzneon .modal-dialog .modal-content,
body.netzneon .joomla-modal .modal-content,
body.netzneon .tox .tox-dialog,
body.netzneon .tox-tinymce-aux .tox-dialog,
body.netzneon .tox-dialog,
.nn-component .modal-content {
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid #00f0ff !important;
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.15),
    0 0 24px rgba(0, 240, 255, 0.35),
    0 16px 40px rgba(0, 0, 0, 0.55) !important;
  background: #0b1424 !important;
  color: #e2e8f0 !important;
}

body.netzneon .modal-header,
body.netzneon .modal-footer,
body.netzneon .tox .tox-dialog__header,
body.netzneon .tox .tox-dialog__footer,
body.netzneon .tox-tinymce-aux .tox-dialog__header,
body.netzneon .tox-tinymce-aux .tox-dialog__footer {
  background: #0f1a2e !important;
  border-color: rgba(0, 242, 255, 0.22) !important;
  color: #f4f7fb !important;
}

body.netzneon .modal-body,
body.netzneon .tox .tox-dialog__body,
body.netzneon .tox-tinymce-aux .tox-dialog__body {
  background: #0a1220 !important;
  color: #e2e8f0 !important;
}

body.netzneon .modal-content .modal-header,
body.netzneon .modal-content .modal-body,
body.netzneon .modal-content .modal-footer {
  border-radius: 0 !important;
}

/* Dropdowns im Modal – 3D-Hover wie Profil */
body.netzneon .modal .form-select:hover,
body.netzneon .modal select:hover,
body.netzneon .modal-content .form-select:hover,
body.netzneon .modal-content select:hover,
body.netzneon .tox-dialog .tox-listboxfield .tox-listbox:hover,
body.netzneon .tox-dialog .tox-selectfield select:hover,
body.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:hover,
body.netzneon .tox-tinymce-aux .tox-selectfield select:hover,
body.netzneon .tox-dialog .tox-collection__item:hover:not(.tox-collection__item--enabled),
body.netzneon .tox-tinymce-aux .tox-collection__item:hover:not(.tox-collection__item--enabled) {
  background: linear-gradient(180deg, #3defff 0%, #00c4d9 45%, #0090aa 100%) !important;
  background-color: #00c4d9 !important;
  color: #041018 !important;
  border-color: rgba(180, 255, 255, 0.7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 5px rgba(0, 40, 60, 0.35),
    0 0 14px rgba(0, 242, 255, 0.55) !important;
  transform: translateY(-1px);
}

body.netzneon .modal .form-select,
body.netzneon .modal-content .form-select,
body.netzneon .modal select {
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease !important;
}


/* ==========================================================================
   Native <select> / <option> – dunkles Netz-Neon Theme
   (Browser-Support für option:hover ist begrenzt; Grundfarbe greift zuverlässig)
   ========================================================================== */

body.netzneon select,
body.netzneon .form-select,
.nn-component select,
.nn-component .form-select {
  color-scheme: dark !important;
  background-color: #111827 !important;
  color: #ffffff !important;
}

body.netzneon select option,
body.netzneon .form-select option,
.nn-component select option,
.nn-component .form-select option,
body.netzneon optgroup,
body.netzneon select optgroup {
  background-color: #050a14 !important;
  background: #050a14 !important;
  color: #ffffff !important;
}

body.netzneon select option:hover,
body.netzneon select option:focus,
body.netzneon select option:checked,
body.netzneon select option:active,
body.netzneon .form-select option:hover,
body.netzneon .form-select option:focus,
body.netzneon .form-select option:checked,
body.netzneon .form-select option:active,
.nn-component select option:hover,
.nn-component select option:focus,
.nn-component select option:checked,
.nn-component .form-select option:hover,
.nn-component .form-select option:focus,
.nn-component .form-select option:checked {
  background-color: #0a1220 !important;
  background: linear-gradient(#0a1220, #0a1220) !important;
  color: #00f0ff !important;
}

/* Firefox: ausgewählte Option */
body.netzneon select option:checked,
body.netzneon .form-select option:checked {
  background-color: #0a1220 !important;
  color: #00f0ff !important;
}

/* ========================================================================
   1.6.112 – Overflow-Trenner, Tooltip-Sperre, Sprachmenü, Zeichenkasten, X
   ======================================================================== */

html body.site.netzneon .tox .tox-toolbar__overflow {
  border-top: 1px solid rgba(0, 210, 255, 0.28) !important;
  padding-top: 6px !important;
  margin-top: 4px !important;
}

/* Sprach-Dropdown im Dialog liegt über dem Vollflächen-Dialog-Wrap */
html body.site.netzneon .tox-silver-sink,
html body.site.netzneon .tox.tox-tinymce-aux,
html body.site.netzneon .tox-tinymce-aux {
  z-index: 2147483647 !important;
}

html body.site.netzneon .tox-dialog-wrap {
  z-index: 10 !important;
}

html body.site.netzneon .tox-tinymce-aux .tox-menu,
html body.site.netzneon .tox-silver-sink .tox-menu,
html body.site.netzneon .tox-tinymce-aux .tox-collection--list,
html body.site.netzneon .tox-silver-sink .tox-collection--list {
  z-index: 2147483647 !important;
  pointer-events: auto !important;
}

html body.site.netzneon .tox-dialog__body:has(.tox-dialog__body-nav) {
  align-items: stretch !important;
}

html body.site.netzneon .tox-dialog__body-content:has(.tox-collection--grid) {
  display: flex !important;
  flex-direction: column !important;
  padding: 12px 12px 12px 8px !important;
  box-sizing: border-box !important;
}

html body.site.netzneon .tox-dialog__body-content:has(.tox-collection--grid) .tox-form,
html body.site.netzneon .tox-dialog__body-content:has(.tox-collection--grid) .tox-form__group--collection {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

html body.site.netzneon .tox-dialog__body-content .tox-collection--grid {
  background: rgba(6, 12, 24, 0.75) !important;
  border: 1px solid rgba(0, 210, 255, 0.28) !important;
  border-radius: 10px !important;
  padding: 10px !important;
  flex: 1 1 auto !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: auto !important;
  box-sizing: border-box !important;
}

html body.site.netzneon .tox .tox-dialog__header .tox-button,
html body.site.netzneon .tox .tox-dialog__header .tox-button:hover,
html body.site.netzneon .tox .tox-dialog__header .tox-button:focus,
html body.site.netzneon .tox .tox-dialog__header .tox-button:focus-visible,
html body.site.netzneon .tox .tox-dialog__header .tox-button:active,
html body.site.netzneon .tox .tox-dialog__header .tox-button::before,
html body.site.netzneon .tox .tox-dialog__header .tox-button::after,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button:hover,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button:focus,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button:focus-visible,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button::after {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

html body.site.netzneon .tox .tox-dialog__header .tox-button:hover svg,
html body.site.netzneon .tox .tox-dialog__header .tox-button:focus svg,
html body.site.netzneon .tox .tox-dialog__header .tox-button:active svg,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button:hover svg,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button:focus svg,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button:active svg {
  fill: #00d2ff !important;
}

/* ========================================================================
   1.6.114 – Dialog-X, Zeichenkasten fuellt die rechte Spalte
   ======================================================================== */

html body.site.netzneon .tox .tox-dialog__header .tox-button--icon,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:hover,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:focus,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:focus-visible,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:active,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon .tox-icon,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:hover .tox-icon,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:focus .tox-icon,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button--icon,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button--icon:hover,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button--icon:focus,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button--icon .tox-icon {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  outline-width: 0 !important;
  filter: none !important;
  transform: none !important;
}

html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:hover,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:focus,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:hover .tox-icon,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:focus .tox-icon,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:hover svg,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:focus svg,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:hover svg *,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:focus svg *,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button--icon:hover svg,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button--icon:focus svg,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button--icon:hover svg * {
  color: #00d2ff !important;
  fill: #00d2ff !important;
  stroke: #00d2ff !important;
}

html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:hover svg,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:focus svg,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button--icon:hover svg,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button--icon:focus svg {
  filter: drop-shadow(0 0 4px rgba(0, 210, 255, 0.4)) !important;
}

html body.site.netzneon .tox-dialog__body-content:has(.tox-collection--grid) {
  display: flex !important;
  flex-direction: column !important;
}

html body.site.netzneon .tox-dialog__body-content .tox-collection--grid {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  min-height: 100% !important;
  max-height: none !important;
  overflow: hidden !important;
}

html body.site.netzneon .tox .tox-collection--grid .tox-collection__group,
html body.site.netzneon .tox-tinymce-aux .tox-collection--grid .tox-collection__group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-content: flex-start !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  overflow: auto !important;
}

/* 1.6.115 – siehe custom.css, gleiche Korrekturen auch hier */
html body.site.netzneon .tox-pop,
html body.site.netzneon .tox-tinymce-aux .tox-pop {
  max-height: none !important;
  overflow: visible !important;
}

html body.site.netzneon .tox .tox-promotion {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.site.netzneon.com_content.view-form .tox .tox-editor-header {
  padding-top: 0 !important;
}

html body.site.netzneon.com_content.view-form .tox .tox-toolbar__overflow--closed {
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

/* 1.6.119 – Tooltip über jedem Seiten-Overlay; Quickbar-Hinweis sitzt oberhalb der Markierung */
html body.site.netzneon .tox-tinymce-aux .tox-tooltip,
html body.site.netzneon .tox .tox-tooltip,
html body.site.netzneon .tox-silver-sink .tox-tooltip {
  z-index: 2147483647 !important;
}

html body.site.netzneon .tox-silver-sink .tox-tooltip {
  z-index: 2147483647 !important;
}

/* 1.6.120 – ein weißes X, Hover nur weicher Cyan-Schein */
.modal-header .btn-close,
.modal-header .close,
.joomla-modal .btn-close,
.iziModal-button-close,
joomla-dialog .btn-close,
joomla-dialog .button-close,
.joomla-dialog-header .btn-close,
.joomla-dialog-header .button-close,
.tox .tox-dialog__header .tox-button--icon,
.tox .tox-dialog__header .tox-button--icon:hover,
.tox .tox-dialog__header .tox-button--icon:focus,
.tox .tox-dialog__header .tox-button--icon:active,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon:hover,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon:focus,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon:active {
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.modal-header .btn-close svg,
.modal-header .close svg,
joomla-dialog .btn-close svg,
joomla-dialog .button-close svg,
.joomla-dialog-header .btn-close svg,
.tox .tox-dialog__header .tox-button--icon svg,
.tox .tox-dialog__header .tox-button--icon:focus:not(:hover) svg,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon svg,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon:focus:not(:hover) svg {
  width: 15px !important;
  height: 15px !important;
  color: #e2e8f0 !important;
  fill: none !important;
  stroke: #e2e8f0 !important;
  filter: none !important;
  transition: filter 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

.modal-header .btn-close:hover svg,
.modal-header .close:hover svg,
joomla-dialog .btn-close:hover svg,
joomla-dialog .button-close:hover svg,
.joomla-dialog-header .btn-close:hover svg,
.tox .tox-dialog__header .tox-button--icon:hover svg,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon:hover svg {
  color: #ffffff !important;
  fill: none !important;
  stroke: #ffffff !important;
  filter: drop-shadow(0 0 4px rgba(0, 210, 255, 0.85)) drop-shadow(0 0 9px rgba(0, 210, 255, 0.55)) !important;
}

/* ==========================================================================
   SYSTEMWEITER CLOSE-BUTTON (X) FIX - KEIN ZUCKEN, KEIN HINTERGRUND
   ========================================================================== */
.modal-header .btn-close,
.modal-header .btn-close:hover,
.modal-header .btn-close:focus,
.modal-header .btn-close:focus-visible,
.modal-header .btn-close:active,
.joomla-modal .btn-close,
.joomla-modal .btn-close:hover,
joomla-dialog .btn-close,
joomla-dialog .btn-close:hover,
joomla-dialog .btn-close:focus,
joomla-dialog .btn-close:focus-visible,
joomla-dialog .btn-close:active,
joomla-dialog .button-close,
joomla-dialog .button-close:hover,
joomla-dialog .button-close:focus,
joomla-dialog .button-close:active,
.joomla-dialog-header .btn-close,
.joomla-dialog-header .btn-close:hover,
.joomla-dialog-header .button-close,
.joomla-dialog-header .button-close:hover,
.tox .tox-dialog__header .tox-button--icon,
.tox .tox-dialog__header .tox-button--icon:hover,
.tox .tox-dialog__header .tox-button--icon:focus,
.tox .tox-dialog__header .tox-button--icon:active,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon:hover,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon:focus,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon:active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
}

.modal-header .btn-close *,
.modal-header .btn-close::before,
.modal-header .btn-close::after,
joomla-dialog .btn-close *,
joomla-dialog .btn-close::before,
joomla-dialog .btn-close::after,
joomla-dialog .button-close *,
joomla-dialog .button-close::before,
joomla-dialog .button-close::after,
.tox .tox-dialog__header .tox-button--icon *,
.tox .tox-dialog__header .tox-button--icon::before,
.tox .tox-dialog__header .tox-button--icon::after,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon *,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon::before,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon::after {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.modal-header .btn-close svg,
joomla-dialog .btn-close svg,
joomla-dialog .button-close svg,
.tox .tox-dialog__header .tox-button--icon svg,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon svg {
    width: 15px !important;
    height: 15px !important;
    stroke: #e2e8f0 !important;
    fill: none !important;
    filter: none !important;
    transition: filter 0.15s ease, stroke 0.15s ease, fill 0.15s ease !important;
}

.modal-header .btn-close:hover svg,
joomla-dialog .btn-close:hover svg,
joomla-dialog .button-close:hover svg,
.tox .tox-dialog__header .tox-button--icon:hover svg,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon:hover svg {
    stroke: #67f3ff !important;
    fill: none !important;
    filter: none !important;
}

.modal-header .btn-close svg path,
joomla-dialog .btn-close svg path,
joomla-dialog .button-close svg path,
.tox .tox-dialog__header .tox-button--icon svg path,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon svg path {
    fill: none !important;
    filter: none !important;
    transform: none !important;
}

.modal-header .btn-close:hover svg path,
joomla-dialog .btn-close:hover svg path,
joomla-dialog .button-close:hover svg path,
.tox .tox-dialog__header .tox-button--icon:hover svg path,
.tox-tinymce-aux .tox-dialog__header .tox-button--icon:hover svg path {
    stroke: #67f3ff !important;
    fill: none !important;
    filter: drop-shadow(0 0 0.45px rgba(120, 250, 255, 0.95)) !important;
    transform: none !important;
}

/* 1.6.124 – Quickbar-Pfeil sichtbar, Tooltip bleibt an TinyMCEs Platz */
html body.site.netzneon .tox-pop,
html body.site.netzneon .tox-tinymce-aux .tox-pop {
  overflow: visible !important;
}

html body.site.netzneon .tox .tox-pop__arrow,
html body.site.netzneon .tox-tinymce-aux .tox-pop__arrow {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

html body.site.netzneon .tox-pop.tox-pop--bottom .tox-pop__arrow::before,
html body.site.netzneon .tox-pop.tox-pop--bottom .tox-pop__arrow::after,
html body.site.netzneon .tox-tinymce-aux .tox-pop.tox-pop--bottom .tox-pop__arrow::before,
html body.site.netzneon .tox-tinymce-aux .tox-pop.tox-pop--bottom .tox-pop__arrow::after,
html body.site.netzneon .tox-pop.tox-pop--bottom::before,
html body.site.netzneon .tox-pop.tox-pop--bottom::after {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  border-color: #00d2ff transparent transparent transparent !important;
}

html body.site.netzneon .tox-pop.tox-pop--top .tox-pop__arrow::before,
html body.site.netzneon .tox-pop.tox-pop--top .tox-pop__arrow::after,
html body.site.netzneon .tox-tinymce-aux .tox-pop.tox-pop--top .tox-pop__arrow::before,
html body.site.netzneon .tox-tinymce-aux .tox-pop.tox-pop--top .tox-pop__arrow::after,
html body.site.netzneon .tox-pop.tox-pop--top::before,
html body.site.netzneon .tox-pop.tox-pop--top::after {
  content: "" !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  border-color: transparent transparent #00d2ff transparent !important;
}

.tox-silver-sink .tox-tooltip,
html body.site.netzneon .tox-silver-sink .tox-tooltip {
  z-index: 2147483647 !important;
}

/* Enabled-Buttons: Hover bleibt in der Gruen-Familie (hell/dunkel), kein Cyan */
html body.site.netzneon.com_content.view-form .tox .tox-tbtn.tox-tbtn--enabled:not(:hover),
html body.site.netzneon .tox .tox-tbtn.tox-tbtn--enabled:not(:hover) {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.75) !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

html body.site.netzneon.com_content.view-form .tox .tox-tbtn.tox-tbtn--enabled:hover,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn.tox-tbtn--enabled:focus:hover,
html body.site.netzneon .tox .tox-tbtn.tox-tbtn--enabled:hover,
html body.site.netzneon .tox .tox-tbtn.tox-tbtn--enabled:focus:hover {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border: 1px solid #4dff78 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 0 #064018,
    0 4px 8px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(57, 255, 20, 0.5) !important;
  color: #ffffff !important;
  transform: none !important;
}

html body.site.netzneon.com_content.view-form .tox .tox-tbtn.tox-tbtn--enabled:hover svg,
html body.site.netzneon .tox .tox-tbtn.tox-tbtn--enabled:hover svg {
  fill: #ffffff !important;
}

/* Select/Bespoke (Überschrift, Schriftart, Größe): Aktiv = Grün + weiße Schrift */
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select.tox-tbtn--enabled,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke.tox-tbtn--enabled,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select.tox-tbtn--enabled:focus,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke.tox-tbtn--enabled:focus,
html body.site.netzneon .tox .tox-tbtn--select.tox-tbtn--enabled,
html body.site.netzneon .tox .tox-tbtn--bespoke.tox-tbtn--enabled {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.75) !important;
  color: #ffffff !important;
}

html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select.tox-tbtn--enabled .tox-tbtn__select-label,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke.tox-tbtn--enabled .tox-tbtn__select-label,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select.tox-tbtn--enabled .tox-tbtn__select-chevron,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke.tox-tbtn--enabled .tox-tbtn__select-chevron,
html body.site.netzneon .tox .tox-tbtn--select.tox-tbtn--enabled .tox-tbtn__select-label,
html body.site.netzneon .tox .tox-tbtn--bespoke.tox-tbtn--enabled .tox-tbtn__select-label {
  color: #ffffff !important;
}

html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select.tox-tbtn--enabled svg,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke.tox-tbtn--enabled svg,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select.tox-tbtn--enabled .tox-tbtn__select-chevron svg,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke.tox-tbtn--enabled .tox-tbtn__select-chevron svg,
html body.site.netzneon .tox .tox-tbtn--select.tox-tbtn--enabled svg,
html body.site.netzneon .tox .tox-tbtn--bespoke.tox-tbtn--enabled svg {
  fill: #ffffff !important;
}

/* Aktiv + Hover: gleiches Grün-Glow wie aktiver Fett-Button */
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select.tox-tbtn--enabled:hover,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke.tox-tbtn--enabled:hover,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select.tox-tbtn--enabled:focus:hover,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke.tox-tbtn--enabled:focus:hover,
html body.site.netzneon .tox .tox-tbtn--select.tox-tbtn--enabled:hover,
html body.site.netzneon .tox .tox-tbtn--bespoke.tox-tbtn--enabled:hover {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border: 1px solid #4dff78 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 0 #064018,
    0 4px 8px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(57, 255, 20, 0.5) !important;
  color: #ffffff !important;
  transform: none !important;
}

html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select.tox-tbtn--enabled:hover .tox-tbtn__select-label,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke.tox-tbtn--enabled:hover .tox-tbtn__select-label,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select.tox-tbtn--enabled:hover svg,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke.tox-tbtn--enabled:hover svg,
html body.site.netzneon .tox .tox-tbtn--select.tox-tbtn--enabled:hover .tox-tbtn__select-label,
html body.site.netzneon .tox .tox-tbtn--bespoke.tox-tbtn--enabled:hover .tox-tbtn__select-label {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* ==========================================================================
   TINYMCE KONTEXTMENÜ - TEXT & ICONS SYNCHRON (GRAU ZU WEISS)
   ========================================================================== */

/* 1. Grundzustand: Text und Icons in Grau (passend zu inaktiven Toolbar-Buttons) */
.tox-tinymce-aux .tox-menu .tox-collection__item .tox-collection__item-label,
.tox-tinymce-aux .tox-menu .tox-collection__item .tox-collection__item-icon svg,
.tox-tinymce-aux .tox-menu .tox-collection__item .tox-collection__item-icon svg * {
    color: #a0aec0 !important;
    fill: #a0aec0 !important;
    transition: color 0.15s ease, fill 0.15s ease !important;
}

/* 2. Hover-Zustand: Maus ist exakt über dem Eintrag -> Beides wird strahlend Weiß */
.tox-tinymce-aux .tox-menu .tox-collection__item:hover .tox-collection__item-label,
.tox-tinymce-aux .tox-menu .tox-collection__item:hover .tox-collection__item-icon svg,
.tox-tinymce-aux .tox-menu .tox-collection__item:hover .tox-collection__item-icon svg * {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* 3. Hard-Reset gegen TinyMCE-Bugs: Zwingt alles zurück zu Grau, sobald die Maus weg ist! */
/* Ausgewählte Einträge (aria-checked) bleiben weiß – siehe Korrektur-Block unten */
.tox-tinymce-aux .tox-menu .tox-collection__item:not(:hover):not([aria-checked="true"]) .tox-collection__item-label,
.tox-tinymce-aux .tox-menu .tox-collection__item:not(:hover):not([aria-checked="true"]) .tox-collection__item-icon svg,
.tox-tinymce-aux .tox-menu .tox-collection__item:not(:hover):not([aria-checked="true"]) .tox-collection__item-icon svg * {
    color: #a0aec0 !important;
    fill: #a0aec0 !important;
}

/* ==========================================================================
   TINYMCE DROPDOWN-MENÜS (.tox-menu) - KORREKTUR & 3D-RETTUNG
   ========================================================================== */

/* 1. Grundzustand = exakt tox-tbtn--enabled:not(:hover) (B-Button) */
.tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"] {
    background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
    background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
    border: 1px solid rgba(80, 255, 120, 0.75) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: #ffffff !important;
    outline: none !important;
    transform: none !important;
}

/* 2. Hover = exakt tox-tbtn--enabled:hover (B-Button) */
.tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"]:hover,
.tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"].tox-collection__item--active {
    background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
    background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
    border: 1px solid #4dff78 !important;
    border-radius: 6px !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      0 2px 0 #064018,
      0 4px 8px rgba(0, 0, 0, 0.45),
      0 0 12px rgba(57, 255, 20, 0.5) !important;
    color: #ffffff !important;
    outline: none !important;
    transform: none !important;
}

/* Schrift und Icon bleiben zwingend weiß */
.tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"] .tox-collection__item-label,
.tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"] .tox-collection__item-checkmark svg,
.tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"]:hover .tox-collection__item-label,
.tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"]:hover .tox-collection__item-checkmark svg,
.tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"].tox-collection__item--active .tox-collection__item-label,
.tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"].tox-collection__item--active .tox-collection__item-checkmark svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    background: transparent !important;
}

/* 3. Format-Vorschau: schwarze/dunkle Label-Hintergründe (z. B. Blockzitat/blockquote) entfernen */
/* Nur Label + innere Textknoten – nicht das Menü-Item selbst (3D-Rahmen bleibt) */
.tox-tinymce-aux .tox-menu .tox-collection__item-label,
.tox-tinymce-aux .tox-menu .tox-collection__item-label :is(span, code, p, div, pre, blockquote, strong, em, b, i, u, s, sub, sup, a, h1, h2, h3, h4, h5, h6) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* 4. Interne System-Tags weiterhin unsichtbar machen */
.tox-tinymce-aux .tox-menu .tox-collection__item[title="body.mce-content-body"],
.tox-tinymce-aux .tox-menu .tox-collection__item[aria-label="body.mce-content-body"],
.tox-tinymce-aux .tox-menu .tox-collection__item[title="Container"],
.tox-tinymce-aux .tox-menu .tox-collection__item[aria-label="Container"] {
    display: none !important;
    pointer-events: none !important;
}


/* ==========================================================================
   1.6.163 – TinyMCE Fokus/Grün/Buttons/Checkbox/Grid (Spiegel zu custom.css)
   ========================================================================== */
.tox-tinymce-aux .tox-button:focus,
.tox-tinymce-aux .tox-tbtn:focus,
.tox-tinymce-aux .tox-dialog__body-nav-item:focus,
.tox-tinymce-aux .tox-lock:focus,
.tox-tinymce-aux .tox-button--icon:focus,
.tox .tox-button:focus,
.tox .tox-tbtn:focus {
  outline: none !important;
  box-shadow: none !important;
}

.tox-tinymce-aux .tox-pop__dialog .tox-tbtn--enabled:not(:hover),
.tox-tinymce-aux .tox-collection--grid .tox-collection__item--active:not(:hover),
.tox-tinymce-aux .tox-dialog .tox-collection__item[aria-checked="true"]:not(:hover) {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.75) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
}

.tox-tinymce-aux .tox-pop__dialog .tox-tbtn--enabled:hover,
.tox-tinymce-aux .tox-collection--grid .tox-collection__item--active:hover,
.tox-tinymce-aux .tox-dialog .tox-collection__item[aria-checked="true"]:hover {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border: 1px solid #4dff78 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 0 #064018,
    0 4px 8px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(57, 255, 20, 0.5) !important;
  color: #ffffff !important;
}

.tox-tinymce-aux .tox-dialog .tox-button:not(.tox-button--secondary):not(.tox-button--naked) {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.75) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
}
.tox-tinymce-aux .tox-dialog .tox-button:not(.tox-button--secondary):not(.tox-button--naked):hover {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border: 1px solid #4dff78 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 0 #064018,
    0 4px 8px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(57, 255, 20, 0.5) !important;
}
.tox-tinymce-aux .tox-dialog .tox-button--secondary:not(.tox-button--naked) {
  background: linear-gradient(180deg, #1a3a55 0%, #0a1628 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.45) !important;
  border-radius: 6px !important;
  color: #e2e8f0 !important;
}
.tox-tinymce-aux .tox-dialog .tox-button--secondary:not(.tox-button--naked):hover {
  background: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.8) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 2px 0 #04243f,
    0 4px 8px rgba(0, 0, 0, 0.45),
    0 0 10px rgba(0, 210, 255, 0.35) !important;
  color: #ffffff !important;
}

.tox-tinymce-aux .tox-checkbox__icons {
  width: 18px !important;
  height: 18px !important;
  border-radius: 4px !important;
  background: linear-gradient(180deg, #1a2438 0%, #0a101c 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.45) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.55) !important;
}
.tox-tinymce-aux .tox-checkbox input:checked + .tox-checkbox__icons {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.85) !important;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.45) !important;
}
.tox-tinymce-aux .tox-checkbox__icons svg { fill: #ffffff !important; }

.tox-tinymce-aux .tox-collection--grid .tox-collection__item {
  background: linear-gradient(180deg, #1a2438 0%, #0a101c 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.28) !important;
  border-radius: 6px !important;
}
.tox-tinymce-aux .tox-collection--grid .tox-collection__item:hover {
  background: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.8) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 2px 0 #04243f,
    0 4px 8px rgba(0, 0, 0, 0.45),
    0 0 10px rgba(0, 210, 255, 0.35) !important;
}

/* ==========================================================================
   TINYMCE DIALOG-BUTTONS (NEON 3D-DESIGN WIEDERHERSTELLEN)
   ========================================================================== */

/* 1. Primärer Button (z.B. "Suchen", "Speichern") -> 3D Cyan (wie Joomla Haupt-Button) */
.tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary) {
    background: linear-gradient(to bottom, #00d2ff, #0099cc) !important;
    border: 1px solid #0077b3 !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    color: #000000 !important; /* Dunkle Schrift auf hellem Cyan */
    font-weight: 600 !important;
    border-radius: 4px !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
}

/* Hover für Primären Button -> Helles Aufleuchten */
.tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):hover {
    background: linear-gradient(to bottom, #33dcff, #00aaff) !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 12px rgba(0, 210, 255, 0.8) !important;
}

/* 2. Sekundärer Button (z.B. "Ersetzen", "Abbrechen") -> 3D Dark Blue */
.tox-tinymce-aux .tox-button--secondary {
    background: linear-gradient(to bottom, #1e293b, #0f172a) !important;
    border: 1px solid #334155 !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important; /* Helle Schrift auf dunklem Grund */
    font-weight: 400 !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

/* Hover für Sekundären Button -> Subtiler Cyan-Glow */
.tox-tinymce-aux .tox-button--secondary:hover {
    background: linear-gradient(to bottom, #334155, #1e293b) !important;
    border: 1px solid #475569 !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 8px rgba(0, 212, 255, 0.3) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   NEON 3D-GRÜN FÜR ALLE PRIMÄREN AKTIONS-BUTTONS (TINYMCE & JOOMLA)
   ========================================================================== */

/* 1. Grundzustand: Plastisches 3D-Grün (identisch zum B-Button) */
.tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary),
#toolbar-apply .btn, 
#toolbar-save .btn, 
#toolbar-save2copy .btn,
.btn-primary,
.btn-success {
    background: linear-gradient(to bottom, #3dce62, #0c6b30) !important;
    border: 1px solid rgba(80, 255, 120, 0.75) !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important; 
    font-weight: 600 !important;
    border-radius: 4px !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3) !important;
}

/* 2. Hover-Zustand: Strahlender Neon-Glow */
.tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):hover,
#toolbar-apply .btn:hover, 
#toolbar-save .btn:hover, 
#toolbar-save2copy .btn:hover,
.btn-primary:hover,
.btn-success:hover {
    background: linear-gradient(to bottom, #6dff94, #14a848) !important;
    border: 1px solid #4dff78 !important;
    /* Hier entsteht der strahlende Neon-Effekt nach außen: */
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 15px rgba(40, 167, 69, 0.9) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   1.6.167 – Button-Feinschliff: Neon-Glow, Schrift, fehlende Buttons, Fokus, Doppel-X
   ========================================================================== */

button:focus, .btn:focus, .tox-button:focus, a:focus,
button:active, .btn:active, .tox-button:active, a:active,
button:focus-visible, .btn:focus-visible, .tox-button:focus-visible {
    outline: none !important;
}

.tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary),
#toolbar-apply .btn,
#toolbar-save .btn,
#toolbar-save2copy .btn,
.btn-primary,
.btn-success {
    background: linear-gradient(to bottom, #3dce62, #0c6b30) !important;
    border: 1px solid rgba(80, 255, 120, 0.75) !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
}

.tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):hover,
.tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):focus,
#toolbar-apply .btn:hover,
#toolbar-save .btn:hover,
#toolbar-save2copy .btn:hover,
.btn-primary:hover,
.btn-success:hover {
    background: linear-gradient(to bottom, #6dff94, #14a848) !important;
    border: 1px solid #4dff78 !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 15px rgba(61, 206, 98, 0.8) !important;
    color: #ffffff !important;
}

.tox-tinymce-aux .tox-button--secondary,
.btn-info,
#toolbar-versions .btn,
.toggle-editor .btn,
.js-tiny-toggler-button,
button.button-toggle-editor {
    background: linear-gradient(to bottom, #1e293b, #0f172a) !important;
    border: 1px solid #334155 !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    color: #e2e8f0 !important;
    border-radius: 4px !important;
}

.tox-tinymce-aux .tox-button--secondary:hover,
.btn-info:hover,
#toolbar-versions .btn:hover,
.toggle-editor .btn:hover,
.js-tiny-toggler-button:hover,
button.button-toggle-editor:hover {
    background: linear-gradient(to bottom, #334155, #1e293b) !important;
    border: 1px solid #475569 !important;
    box-shadow: 0 0 18px rgba(148, 163, 184, 0.45), inset 0 1px 1px rgba(255,255,255,0.2) !important; border-color: rgba(148, 163, 184, 0.8) !important;
    color: #ffffff !important;
}

.btn-danger,
#toolbar-cancel .btn,
.tox-tinymce-aux .tox-button[title*="Abbrechen" i],
.tox-tinymce-aux .tox-button[title*="Cancel" i] {
    background: linear-gradient(to bottom, #e3342f, #9f1915) !important;
    border: 1px solid #ff5a54 !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    color: #e2e8f0 !important;
    border-radius: 4px !important;
}

.btn-danger:hover,
#toolbar-cancel .btn:hover,
.tox-tinymce-aux .tox-button[title*="Abbrechen" i]:hover,
.tox-tinymce-aux .tox-button[title*="Cancel" i]:hover {
    background: linear-gradient(to bottom, #ff4742, #cc1f1a) !important;
    border: 1px solid #ff7a76 !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 0 15px rgba(220, 53, 69, 0.8) !important;
    color: #ffffff !important;
}

joomla-dialog:has(.joomla-dialog-header .button-close) .modal-header .btn-close,
joomla-dialog:has(.joomla-dialog-header .btn-close) .modal-header .btn-close,
joomla-dialog:has(.joomla-dialog-header .buttons-holder button) .joomla-dialog-body .modal-header .btn-close,
.modal-header .btn-close + .btn-close,
.joomla-dialog-header .button-close + .btn-close {
    display: none !important;
}

/* ==========================================================================
   1.6.168 – Sidebar Z-Index, Gradients erzwingen, Grün einschränken, Cancel-Icon
   ========================================================================== */

.tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary),
#toolbar-apply .btn,
#toolbar-save .btn,
#toolbar-save2copy .btn {
    background-color: #0c6b30 !important;
    background-image: linear-gradient(to bottom, #3dce62, #0c6b30) !important;
    border: 1px solid rgba(80, 255, 120, 0.75) !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    color: #e2e8f0 !important;
}

.tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):hover,
#toolbar-apply .btn:hover,
#toolbar-save .btn:hover,
#toolbar-save2copy .btn:hover {
    background-image: linear-gradient(to bottom, #6dff94, #14a848) !important;
    border: 1px solid #4dff78 !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 15px rgba(61, 206, 98, 0.8) !important;
    color: #ffffff !important;
}

.tox-tinymce-aux .tox-button--secondary,
#toolbar-versions .btn,
#toggle-editor,
.btn-info {
    background-color: #0f172a !important;
    background-image: linear-gradient(to bottom, #1e293b, #0f172a) !important;
    border: 1px solid #334155 !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    color: #e2e8f0 !important;
}

.tox-tinymce-aux .tox-button--secondary:hover,
#toolbar-versions .btn:hover,
#toggle-editor:hover,
.btn-info:hover {
    background-image: linear-gradient(to bottom, #334155, #1e293b) !important;
    box-shadow: 0 0 18px rgba(148, 163, 184, 0.45), inset 0 1px 1px rgba(255,255,255,0.2) !important; border-color: rgba(148, 163, 184, 0.8) !important;
    color: #ffffff !important;
}

#toolbar-cancel .btn span.icon-cancel {
    display: none !important;
}

/* ==========================================================================
   1.6.169 – BOOTSTRAP-FOKUS KILLEN + NEON 3D-BUTTONS
   (Sidebar-Z-Index-Override entfernt – Notfall-Rollback 1.6.173)
   ========================================================================== */

/* ==========================================================================
   2. GLOBALE BOOTSTRAP-FOKUS-RINGE KILLEN
   ========================================================================== */
html body .btn,
html body .tox-button {
    --bs-btn-focus-box-shadow: none !important;
    outline: none !important;
}
html body .btn:focus, html body .btn:active,
html body .tox-button:focus, html body .tox-button:active {
    outline: none !important;
}

/* ==========================================================================
   3. NEON 3D-BUTTONS (MIT ABSOLUTER PRIORITÄT)
   ========================================================================== */

/* --- A) PRIMÄRE BUTTONS (GRÜN - Speichern, Suchen) --- */
html body #toolbar-save .btn,
html body #toolbar-apply .btn,
html body #toolbar-save2copy .btn,
html body .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary) {
    background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
    background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
    border: 1px solid #4dff78 !important;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), 0 2px 4px rgba(0,0,0,0.5) !important;
    color: #e2e8f0 !important;
}
html body #toolbar-save .btn:hover, html body #toolbar-save .btn:focus,
html body #toolbar-apply .btn:hover, html body #toolbar-apply .btn:focus,
html body #toolbar-save2copy .btn:hover, html body #toolbar-save2copy .btn:focus,
html body .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):hover,
html body .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):focus {
    background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
    background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
    box-shadow: 0 0 15px rgba(61, 206, 98, 0.9), inset 0 1px 2px rgba(255,255,255,0.6) !important;
    color: #ffffff !important;
}

/* --- B) ABBRECHEN / GEFAHR (ROT) --- */
html body #toolbar-cancel .btn,
html body .btn-danger {
    background: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
    background-image: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
    border: 1px solid #ff7b89 !important;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.5) !important;
    color: #e2e8f0 !important;
}
html body #toolbar-cancel .btn:hover, html body #toolbar-cancel .btn:focus,
html body .btn-danger:hover, html body .btn-danger:focus {
    background: linear-gradient(180deg, #ff7b89 0%, #dc3545 100%) !important;
    background-image: linear-gradient(180deg, #ff7b89 0%, #dc3545 100%) !important;
    border: 1px solid #ff9aa6 !important;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.9), inset 0 1px 2px rgba(255,255,255,0.5) !important;
    color: #ffffff !important;
}

/* --- C) SEKUNDÄR / VERSIONEN (DUNKELBLAU) --- */
html body #toolbar-versions .btn,
html body #toggle-editor,
html body .btn-info,
html body .tox-tinymce-aux .tox-button--secondary {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    border: 1px solid #334155 !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 2px 4px rgba(0,0,0,0.5) !important;
    color: #e2e8f0 !important;
}
/* ==========================================================================
   SEKUNDÄRE BUTTONS HOVER - GRAUER/SILBERNER GLOW (KEIN BLAU MEHR)
   Gilt für: Versionen, Editor an/aus, Suchen-Dialog (Ersetzen) & System-Buttons
   ========================================================================== */
html body #toolbar-versions .btn:hover, html body #toolbar-versions .btn:focus,
html body #toggle-editor:hover, html body #toggle-editor:focus,
html body .btn-info:hover, html body .btn-info:focus,
html body .btn-secondary:hover, html body .btn-secondary:focus,
html body .btn-dark:hover, html body .btn-dark:focus,
html body .btn-light:hover, html body .btn-light:focus,
html body .tox-tinymce-aux .tox-button--secondary:hover, html body .tox-tinymce-aux .tox-button--secondary:focus {
    color: #ffffff !important;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
    /* Weicher, silber/grauer Glow passend zur Button-Farbe */
    box-shadow: 0 0 18px rgba(148, 163, 184, 0.45), inset 0 1px 1px rgba(255,255,255,0.2) !important;
    border-color: rgba(148, 163, 184, 0.8) !important;
}

/* ==========================================================================
   RADIKALER FOKUS-KILLER (GLOBAL FÜR ALLE ELEMENTE)
   ========================================================================== */

/* 1. Globale Bootstrap-Variablen für Fokus-Ringe auf Null setzen */
:root {
    --bs-btn-focus-box-shadow: none !important;
    --bs-focus-ring-box-shadow: none !important;
    --bs-focus-ring-color: transparent !important;
    --bs-focus-ring-width: 0 !important;
}

/* 2. Jegliche Outlines (Rahmen) vom Browser oder TinyMCE global blockieren */
/* Betrifft Buttons, Links, Eingabefelder und jegliche Menü-Einträge */
html body *,
html body *:focus,
html body *:active,
html body *:focus-visible,
html body *:focus-within {
    outline: none !important;
    outline-color: transparent !important;
    outline-width: 0px !important;
    outline-offset: 0px !important;
}

/* 3. Spezifische TinyMCE "Ghost"-Schatten bei normalen Toolbar-Buttons/Listen killen */
/* (Wir killen hier nur die Schatten der Standard-Elemente, nicht unsere eigenen 3D-Buttons) */
html body .tox-tbtn:focus,
html body .tox-tbtn:focus-visible,
html body .tox-collection__item:focus,
html body .tox-collection__item:focus-visible,
html body .tox-button--icon:focus,
html body .tox-button--icon:focus-visible,
html body .tox-button--naked:focus,
html body .btn-close:focus {
    box-shadow: none !important;
}

/* Verhindert das doppelte X im Joomla-Modal (falls beide gerendert werden) */
html body .modal-header .btn-close {
    box-shadow: none !important;
    outline: none !important;
}


/* ==========================================================================
   1.6.174 – Sidebar klickbar (ohne Z-Index-Chaos) + Action-Buttons wie Collapse
   ========================================================================== */

/* --- Sidebar-Klick: TinyMCE-Aux/Sink fängt Klicks ab – Container durchlässig --- */
html body.site.netzneon .tox-tinymce-aux,
html body.site.netzneon .tox-silver-sink,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux,
html body.site.netzneon.com_content.view-form .tox-silver-sink {
  pointer-events: none !important;
}

html body.site.netzneon .tox-tinymce-aux .tox-menu,
html body.site.netzneon .tox-tinymce-aux .tox-dialog,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-wrap,
html body.site.netzneon .tox-tinymce-aux .tox-pop,
html body.site.netzneon .tox-tinymce-aux .tox-collection,
html body.site.netzneon .tox-tinymce-aux .tox-tooltip,
html body.site.netzneon .tox-silver-sink .tox-menu,
html body.site.netzneon .tox-silver-sink .tox-dialog,
html body.site.netzneon .tox-silver-sink .tox-dialog-wrap,
html body.site.netzneon .tox-silver-sink .tox-pop,
html body.site.netzneon .tox-silver-sink .tox-collection,
html body.site.netzneon .tox-silver-sink .tox-tooltip {
  pointer-events: auto !important;
}

/* Collapse-Button bleibt immer klickbar */
html body.site.netzneon #nn-sidebar,
html body.site.netzneon .nn-sidebar,
html body.site.netzneon #nn-sidebar-toggle,
html body.site.netzneon .nn-collapse-btn {
  pointer-events: auto !important;
}

/* --- Action-Buttons: gleicher Typografie-/Glow-Rhythmus wie .nn-collapse-btn --- */
/* Rest: abgedunkelte Schrift (#9aa7b8); Hover: #ffffff + farbiger Neon-Glow */

/* A) GRÜN – Speichern / Apply / TinyMCE-Primär (Suchen) */
html body #toolbar-save .btn,
html body #toolbar-apply .btn,
html body #toolbar-save2copy .btn,
html body .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary) {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.55) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  color: #9aa7b8 !important;
  -webkit-text-fill-color: #9aa7b8 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: color 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}
html body #toolbar-save .btn:hover,
html body #toolbar-save .btn:focus-visible,
html body #toolbar-apply .btn:hover,
html body #toolbar-apply .btn:focus-visible,
html body #toolbar-save2copy .btn:hover,
html body #toolbar-save2copy .btn:focus-visible,
html body .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):hover,
html body .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):focus-visible {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border: 1px solid #4dff78 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 10px rgba(61, 206, 98, 0.45),
    0 0 24px rgba(20, 168, 72, 0.3) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 8px rgba(61, 206, 98, 0.35) !important;
}

/* B) ROT – Abbrechen / Danger */
html body #toolbar-cancel .btn,
html body .btn-danger {
  background: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  background-image: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  border: 1px solid rgba(255, 123, 137, 0.55) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  color: #9aa7b8 !important;
  -webkit-text-fill-color: #9aa7b8 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: color 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}
html body #toolbar-cancel .btn:hover,
html body #toolbar-cancel .btn:focus-visible,
html body .btn-danger:hover,
html body .btn-danger:focus-visible {
  background: linear-gradient(180deg, #ff7b89 0%, #dc3545 100%) !important;
  background-image: linear-gradient(180deg, #ff7b89 0%, #dc3545 100%) !important;
  border: 1px solid #ff9aa6 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 10px rgba(220, 53, 69, 0.45),
    0 0 24px rgba(189, 33, 48, 0.3) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 8px rgba(220, 53, 69, 0.35) !important;
}

/* C) BLAU-GRAU – Ersetzen / Versionen / Secondary / Editor an-aus (wie Collapse-Rhythmus, eigene Farbe) */
html body #toolbar-versions .btn,
html body #toggle-editor,
html body .toggle-editor .btn,
html body .js-tiny-toggler-button,
html body button.button-toggle-editor,
html body .btn-info,
html body .tox-tinymce-aux .tox-button--secondary {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: #9aa7b8 !important;
  -webkit-text-fill-color: #9aa7b8 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: color 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}
html body #toolbar-versions .btn:hover,
html body #toolbar-versions .btn:focus-visible,
html body #toggle-editor:hover,
html body #toggle-editor:focus-visible,
html body .toggle-editor .btn:hover,
html body .js-tiny-toggler-button:hover,
html body button.button-toggle-editor:hover,
html body .btn-info:hover,
html body .btn-info:focus-visible,
html body .tox-tinymce-aux .tox-button--secondary:hover,
html body .tox-tinymce-aux .tox-button--secondary:focus-visible {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  background-image: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  border: 1px solid rgba(0, 242, 255, 0.55) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 10px rgba(0, 242, 255, 0.35),
    0 0 24px rgba(0, 102, 255, 0.2) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.35) !important;
}

/* Icons in Action-Buttons: Rest muted, Hover weiß (wie Collapse) */
html body #toolbar-save .btn .icon-*,
html body #toolbar-apply .btn .icon-*,
html body #toolbar-save2copy .btn .icon-*,
html body #toolbar-cancel .btn .icon-*,
html body #toolbar-versions .btn .icon-*,
html body .tox-tinymce-aux .tox-button:not(.tox-button--naked) svg {
  color: inherit !important;
  fill: currentColor !important;
}

/* 1.6.174b – Ersetzen = Versionen (gleiche Blau-Grau-Neon-Sprache) + Dialog-Wrap durchlässig */
html body.site.netzneon .tox-dialog-wrap,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-wrap {
  pointer-events: none !important;
}
html body.site.netzneon .tox-dialog-wrap .tox-dialog,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-wrap .tox-dialog,
html body.site.netzneon .tox-dialog-wrap__backdrop {
  pointer-events: auto !important;
}

html body.site.netzneon #toolbar-versions .btn,
html body.site.netzneon .tox-tinymce-aux .tox-button--secondary,
html body.site.netzneon .tox .tox-button--secondary,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button[title*="Ersetzen" i],
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button[title*="Replace" i],
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button[aria-label*="Ersetzen" i],
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button[aria-label*="Replace" i],
html body.site.netzneon .tox .tox-dialog .tox-button[title*="Ersetzen" i],
html body.site.netzneon .tox .tox-dialog .tox-button[aria-label*="Ersetzen" i] {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: #9aa7b8 !important;
  -webkit-text-fill-color: #9aa7b8 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}

html body.site.netzneon #toolbar-versions .btn:hover,
html body.site.netzneon #toolbar-versions .btn:focus-visible,
html body.site.netzneon .tox-tinymce-aux .tox-button--secondary:hover,
html body.site.netzneon .tox .tox-button--secondary:hover,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button[title*="Ersetzen" i]:hover,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button[title*="Replace" i]:hover,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button[aria-label*="Ersetzen" i]:hover,
html body.site.netzneon .tox .tox-dialog .tox-button[title*="Ersetzen" i]:hover {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  background-image: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  border: 1px solid rgba(0, 242, 255, 0.55) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 10px rgba(0, 242, 255, 0.35),
    0 0 24px rgba(0, 102, 255, 0.2) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.35) !important;
}

/* Sidebar-Footer über Editor-Overlays (ohne 999999) */
html body.site.netzneon.com_content.view-form #nn-sidebar,
html body.site.netzneon.com_content.view-form .nn-sidebar {
  z-index: 400 !important;
}
html body.site.netzneon.com_content.view-form #nn-sidebar-toggle,
html body.site.netzneon.com_content.view-form .nn-collapse-btn,
html body.site.netzneon.com_content.view-form .nn-sidebar__footer {
  position: relative !important;
  z-index: 401 !important;
  pointer-events: auto !important;
}

/* ==========================================================================
   1.6.175 – Live-Fix: Vollbild retten, Sidebar-Stifte weg, Collapse ohne Z-Chaos
   ========================================================================== */

/* 174b-Schaden rückgängig: Sidebar darf Vollbild NICHT überdecken */
html body.site.netzneon.com_content.view-form #nn-sidebar,
html body.site.netzneon.com_content.view-form .nn-sidebar,
html body.site.netzneon.com_content.view-form #nn-sidebar-toggle,
html body.site.netzneon.com_content.view-form .nn-collapse-btn,
html body.site.netzneon.com_content.view-form .nn-sidebar__footer {
  z-index: auto !important;
}
html body.site.netzneon.com_content.view-form #nn-sidebar,
html body.site.netzneon.com_content.view-form .nn-sidebar {
  z-index: 250 !important;
}

/* Dialog-Wrap wieder normal (174b pointer-events:none war riskant) */
html body.site.netzneon .tox-dialog-wrap,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-wrap {
  pointer-events: auto !important;
}

/* Sink darf Klicks nicht schlucken – Menüs/Dialoge bleiben aktiv */
html body.site.netzneon .tox-tinymce-aux,
html body.site.netzneon .tox-silver-sink,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux,
html body.site.netzneon.com_content.view-form .tox-silver-sink {
  pointer-events: none !important;
}
html body.site.netzneon .tox-tinymce-aux .tox-menu,
html body.site.netzneon .tox-tinymce-aux .tox-dialog,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-wrap,
html body.site.netzneon .tox-tinymce-aux .tox-pop,
html body.site.netzneon .tox-tinymce-aux .tox-collection,
html body.site.netzneon .tox-silver-sink .tox-menu,
html body.site.netzneon .tox-silver-sink .tox-dialog,
html body.site.netzneon .tox-silver-sink .tox-dialog-wrap,
html body.site.netzneon .tox-silver-sink .tox-pop,
html body.site.netzneon .tox-silver-sink .tox-collection {
  pointer-events: auto !important;
}

/* Modul-Stifte in der Sidebar (Fake-Header / leeres Menü) ausblenden */
html body.site.netzneon #nn-sidebar a.nn-module-edit,
html body.site.netzneon #nn-sidebar a.jmodedit,
html body.site.netzneon #nn-sidebar a.btn-edit,
html body.site.netzneon #nn-sidebar .jmoddiv > a.btn,
html body.site.netzneon #nn-sidebar joomla-front-end-edit > a,
html body.site.netzneon .nn-sidebar a.nn-module-edit,
html body.site.netzneon .nn-sidebar a.jmodedit,
html body.site.netzneon .nn-sidebar__menu a.nn-module-edit,
html body.site.netzneon .nn-sidebar__menu a.jmodedit,
html body.site.netzneon .nn-sidebar__menu .jmoddiv > a.btn,
html body.site.netzneon .nn-sidebar__topbar a.nn-module-edit,
html body.site.netzneon .nn-sidebar__topbar a.jmodedit,
html body.site.netzneon .nn-sidebar__topbar .jmoddiv > a.btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Vollbild: Sidebar/Header wirklich weg (höhere Spezifität als #nn-sidebar) */
html body.site.netzneon.tox-fullscreen #nn-sidebar,
html body.site.netzneon.tox-fullscreen .nn-sidebar,
html body.site.netzneon.tox-fullscreen .top-bar,
html body.site.netzneon.tox-fullscreen .nn-page::before,
html body.site.netzneon.tox-fullscreen .nn-breadcrumbs,
html body.site.netzneon.tox-fullscreen .nn-scroll-top,
html body.site.netzneon.tox-fullscreen .nn-sidebar__footer,
html body.site.netzneon.tox-fullscreen #nn-sidebar-toggle {
  z-index: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html body.site.netzneon .tox-tinymce.tox-fullscreen,
html body.site.netzneon.com_content.view-form .tox-tinymce.tox-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  z-index: 2147483000 !important;
}

/* Action-Buttons: Collapse-Rhythmus (muted → weiß + farbiger Neon-Glow) */
html body.site.netzneon #toolbar-save .btn,
html body.site.netzneon #toolbar-apply .btn,
html body.site.netzneon #toolbar-save2copy .btn,
html body.site.netzneon button.button-save,
html body.site.netzneon button.button-apply,
html body.site.netzneon .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked) {
  color: #9aa7b8 !important;
  -webkit-text-fill-color: #9aa7b8 !important;
}
html body.site.netzneon #toolbar-save .btn:hover,
html body.site.netzneon #toolbar-save .btn:focus-visible,
html body.site.netzneon #toolbar-apply .btn:hover,
html body.site.netzneon #toolbar-apply .btn:focus-visible,
html body.site.netzneon #toolbar-save2copy .btn:hover,
html body.site.netzneon #toolbar-save2copy .btn:focus-visible,
html body.site.netzneon .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):hover,
html body.site.netzneon .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 8px rgba(61, 206, 98, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 10px rgba(61, 206, 98, 0.45),
    0 0 24px rgba(20, 168, 72, 0.3) !important;
}

html body.site.netzneon #toolbar-cancel .btn,
html body.site.netzneon button.button-cancel,
html body.site.netzneon .btn-danger {
  color: #9aa7b8 !important;
  -webkit-text-fill-color: #9aa7b8 !important;
}
html body.site.netzneon #toolbar-cancel .btn:hover,
html body.site.netzneon #toolbar-cancel .btn:focus-visible,
html body.site.netzneon .btn-danger:hover,
html body.site.netzneon .btn-danger:focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 8px rgba(220, 53, 69, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 10px rgba(220, 53, 69, 0.45),
    0 0 24px rgba(189, 33, 48, 0.3) !important;
}

html body.site.netzneon #toolbar-versions .btn,
html body.site.netzneon #toggle-editor,
html body.site.netzneon .toggle-editor .btn,
html body.site.netzneon .js-tiny-toggler-button,
html body.site.netzneon button.button-toggle-editor,
html body.site.netzneon .btn-info,
html body.site.netzneon .tox-tinymce-aux .tox-button--secondary,
html body.site.netzneon .tox .tox-button--secondary,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button[title*="Ersetzen" i],
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button[aria-label*="Ersetzen" i] {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.28) !important;
  color: #9aa7b8 !important;
  -webkit-text-fill-color: #9aa7b8 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
html body.site.netzneon #toolbar-versions .btn:hover,
html body.site.netzneon #toolbar-versions .btn:focus-visible,
html body.site.netzneon #toggle-editor:hover,
html body.site.netzneon #toggle-editor:focus-visible,
html body.site.netzneon .js-tiny-toggler-button:hover,
html body.site.netzneon button.button-toggle-editor:hover,
html body.site.netzneon .btn-info:hover,
html body.site.netzneon .tox-tinymce-aux .tox-button--secondary:hover,
html body.site.netzneon .tox .tox-button--secondary:hover,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button[title*="Ersetzen" i]:hover {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  background-image: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  border: 1px solid rgba(0, 242, 255, 0.55) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 10px rgba(0, 242, 255, 0.35),
    0 0 24px rgba(0, 102, 255, 0.2) !important;
}

/* ==========================================================================
   1.6.175b – Frontend-Form Buttons treffen (.btn-primary / .btn-danger / toggler)
   ========================================================================== */

html body.site.netzneon.com_content.view-form button.btn-primary,
html body.site.netzneon.com_content.view-form .btn.btn-primary,
html body.site.netzneon.com_content.view-form button.button-save,
html body.site.netzneon.com_content.view-form button.button-apply,
html body.site.netzneon.com_content.view-form button.button-save-new,
html body.site.netzneon.com_content.view-form button.button-save-copy {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.55) !important;
  color: #9aa7b8 !important;
  -webkit-text-fill-color: #9aa7b8 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  transition: color 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}
html body.site.netzneon.com_content.view-form button.btn-primary:hover,
html body.site.netzneon.com_content.view-form button.btn-primary:focus-visible,
html body.site.netzneon.com_content.view-form .btn.btn-primary:hover,
html body.site.netzneon.com_content.view-form .btn.btn-primary:focus-visible {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border: 1px solid #4dff78 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 8px rgba(61, 206, 98, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 10px rgba(61, 206, 98, 0.45),
    0 0 24px rgba(20, 168, 72, 0.3) !important;
}

html body.site.netzneon.com_content.view-form button.btn-danger,
html body.site.netzneon.com_content.view-form .btn.btn-danger,
html body.site.netzneon.com_content.view-form button.button-cancel {
  background: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  background-image: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  border: 1px solid rgba(255, 123, 137, 0.55) !important;
  color: #9aa7b8 !important;
  -webkit-text-fill-color: #9aa7b8 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  transition: color 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}
html body.site.netzneon.com_content.view-form button.btn-danger:hover,
html body.site.netzneon.com_content.view-form button.btn-danger:focus-visible,
html body.site.netzneon.com_content.view-form .btn.btn-danger:hover,
html body.site.netzneon.com_content.view-form .btn.btn-danger:focus-visible {
  background: linear-gradient(180deg, #ff7b89 0%, #dc3545 100%) !important;
  background-image: linear-gradient(180deg, #ff7b89 0%, #dc3545 100%) !important;
  border: 1px solid #ff9aa6 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 8px rgba(220, 53, 69, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 10px rgba(220, 53, 69, 0.45),
    0 0 24px rgba(189, 33, 48, 0.3) !important;
}

html body.site.netzneon.com_content.view-form .js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form button.button-toggle-editor,
html body.site.netzneon.com_content.view-form #toggle-editor,
html body.site.netzneon.com_content.view-form button.btn-secondary.js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form #toolbar-versions .btn,
html body.site.netzneon.com_content.view-form button.button-versions {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.28) !important;
  color: #9aa7b8 !important;
  -webkit-text-fill-color: #9aa7b8 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: color 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}
html body.site.netzneon.com_content.view-form .js-tiny-toggler-button:hover,
html body.site.netzneon.com_content.view-form .js-tiny-toggler-button:focus-visible,
html body.site.netzneon.com_content.view-form button.button-toggle-editor:hover,
html body.site.netzneon.com_content.view-form #toggle-editor:hover,
html body.site.netzneon.com_content.view-form #toolbar-versions .btn:hover,
html body.site.netzneon.com_content.view-form button.button-versions:hover {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  background-image: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  border: 1px solid rgba(0, 242, 255, 0.55) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 10px rgba(0, 242, 255, 0.35),
    0 0 24px rgba(0, 102, 255, 0.2) !important;
}

/* ==========================================================================
   1.6.176 – Button-Kontrast, farbiger Hover-Glow, Secondary-3D, Sidebar-Klick
   ========================================================================== */

/* Sink: Klicks durchlassen (Sidebar bleibt bedienbar) */
html body.site.netzneon .tox-tinymce-aux,
html body.site.netzneon .tox-silver-sink {
  pointer-events: none !important;
}
html body.site.netzneon .tox-tinymce-aux .tox-menu,
html body.site.netzneon .tox-tinymce-aux .tox-dialog,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-wrap,
html body.site.netzneon .tox-tinymce-aux .tox-pop,
html body.site.netzneon .tox-tinymce-aux .tox-collection,
html body.site.netzneon .tox-silver-sink .tox-menu,
html body.site.netzneon .tox-silver-sink .tox-dialog,
html body.site.netzneon .tox-silver-sink .tox-dialog-wrap,
html body.site.netzneon .tox-silver-sink .tox-pop,
html body.site.netzneon .tox-silver-sink .tox-collection {
  pointer-events: auto !important;
}

/* Sidebar stabil – kein 400/999999; Vollbild blendet sie aus */
html body.site.netzneon.com_content.view-form #nn-sidebar,
html body.site.netzneon.com_content.view-form .nn-sidebar {
  z-index: 250 !important;
  pointer-events: auto !important;
}
html body.site.netzneon.com_content.view-form #nn-sidebar-toggle,
html body.site.netzneon.com_content.view-form .nn-collapse-btn,
html body.site.netzneon.com_content.view-form .nn-sidebar__footer {
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}
html body.site.netzneon.tox-fullscreen #nn-sidebar,
html body.site.netzneon.tox-fullscreen .nn-sidebar,
html body.site.netzneon.tox-fullscreen .top-bar,
html body.site.netzneon.tox-fullscreen .nn-breadcrumbs,
html body.site.netzneon.tox-fullscreen .nn-page::before {
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* --- GRÜN: dunkle Schrift (Kontrast), dunkelgrüner Hover-Rand, grüner Glow --- */
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary,
html body.site.netzneon.com_content.view-form.nn-article-form .btn.btn-primary,
html body.site.netzneon.com_content.view-form button.btn.btn-primary,
html body.site.netzneon.com_content.view-form button.btn-primary,
html body.site.netzneon.com_content.view-form button.button-save,
html body.site.netzneon.com_content.view-form button.button-apply,
html body.site.netzneon.com_content.view-form button.button-save-new,
html body.site.netzneon.com_content.view-form button.button-save-copy,
html body.site.netzneon #toolbar-save .btn,
html body.site.netzneon #toolbar-apply .btn,
html body.site.netzneon #toolbar-save2copy .btn {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid #1a7a38 !important;
  border-color: #1a7a38 !important;
  color: #062010 !important;
  -webkit-text-fill-color: #062010 !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 2px 0 #053a18,
    0 3px 6px rgba(0, 0, 0, 0.4) !important;
}
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary:focus-visible,
html body.site.netzneon.com_content.view-form button.btn.btn-primary:hover,
html body.site.netzneon.com_content.view-form button.btn-primary:hover,
html body.site.netzneon.com_content.view-form button.btn-primary:focus-visible,
html body.site.netzneon.com_content.view-form button.button-save:hover,
html body.site.netzneon.com_content.view-form button.button-apply:hover,
html body.site.netzneon #toolbar-save .btn:hover,
html body.site.netzneon #toolbar-apply .btn:hover,
html body.site.netzneon #toolbar-save2copy .btn:hover {
  background: linear-gradient(180deg, #55e878 0%, #0f7d38 100%) !important;
  background-image: linear-gradient(180deg, #55e878 0%, #0f7d38 100%) !important;
  border: 1px solid #064e22 !important;
  border-color: #064e22 !important;
  color: #04150c !important;
  -webkit-text-fill-color: #04150c !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 2px 0 #053a18,
    0 0 10px rgba(61, 206, 98, 0.55),
    0 0 22px rgba(20, 168, 72, 0.35) !important;
}

/* --- ROT: dunkle Schrift, dunkelroter Hover-Rand, roter Glow (kein Cyan!) --- */
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger,
html body.site.netzneon.com_content.view-form.nn-article-form .btn.btn-danger,
html body.site.netzneon.com_content.view-form button.btn.btn-danger,
html body.site.netzneon.com_content.view-form button.btn-danger,
html body.site.netzneon.com_content.view-form button.button-cancel,
html body.site.netzneon #toolbar-cancel .btn {
  background: linear-gradient(180deg, #e35d6a 0%, #9f1915 100%) !important;
  background-image: linear-gradient(180deg, #e35d6a 0%, #9f1915 100%) !important;
  border: 1px solid #8a1c22 !important;
  border-color: #8a1c22 !important;
  color: #1a0608 !important;
  -webkit-text-fill-color: #1a0608 !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 0 #4a0c0a,
    0 3px 6px rgba(0, 0, 0, 0.4) !important;
}
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger:focus-visible,
html body.site.netzneon.com_content.view-form button.btn.btn-danger:hover,
html body.site.netzneon.com_content.view-form button.btn-danger:hover,
html body.site.netzneon.com_content.view-form button.btn-danger:focus-visible,
html body.site.netzneon.com_content.view-form button.button-cancel:hover,
html body.site.netzneon #toolbar-cancel .btn:hover {
  background: linear-gradient(180deg, #f0707a 0%, #b01e24 100%) !important;
  background-image: linear-gradient(180deg, #f0707a 0%, #b01e24 100%) !important;
  border: 1px solid #6e1016 !important;
  border-color: #6e1016 !important;
  color: #140406 !important;
  -webkit-text-fill-color: #140406 !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 2px 0 #4a0c0a,
    0 0 10px rgba(220, 53, 69, 0.55),
    0 0 22px rgba(189, 33, 48, 0.35) !important;
}

/* --- Versionen + Editor an/aus = Ersetzen-Secondary-3D --- */
html body.site.netzneon.com_content.view-form .js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form button.btn-secondary.js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form .toggle-editor .btn,
html body.site.netzneon.com_content.view-form .toggle-editor button,
html body.site.netzneon.com_content.view-form button.button-toggle-editor,
html body.site.netzneon.com_content.view-form #toggle-editor,
html body.site.netzneon.com_content.view-form .btn-group:has(.js-tiny-toggler-button) > .btn,
html body.site.netzneon.com_content.view-form #toolbar-versions .btn,
html body.site.netzneon.com_content.view-form button.button-versions,
html body.site.netzneon #toolbar-versions .btn {
  background: linear-gradient(to bottom, #1e293b, #0f172a) !important;
  background-image: linear-gradient(to bottom, #1e293b, #0f172a) !important;
  border: 1px solid #334155 !important;
  border-color: #334155 !important;
  border-radius: 6px !important;
  color: #c8d4e0 !important;
  -webkit-text-fill-color: #c8d4e0 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.5) !important;
}
html body.site.netzneon.com_content.view-form .js-tiny-toggler-button:hover,
html body.site.netzneon.com_content.view-form .js-tiny-toggler-button:focus-visible,
html body.site.netzneon.com_content.view-form .toggle-editor .btn:hover,
html body.site.netzneon.com_content.view-form button.button-toggle-editor:hover,
html body.site.netzneon.com_content.view-form #toggle-editor:hover,
html body.site.netzneon.com_content.view-form #toolbar-versions .btn:hover,
html body.site.netzneon.com_content.view-form button.button-versions:hover,
html body.site.netzneon #toolbar-versions .btn:hover {
  background: linear-gradient(to bottom, #334155, #1e293b) !important;
  background-image: linear-gradient(to bottom, #334155, #1e293b) !important;
  border: 1px solid #475569 !important;
  border-color: #475569 !important;
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
  filter: none !important;
  text-shadow: none !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.55),
    0 0 8px rgba(0, 212, 255, 0.3) !important;
}

/* ==========================================================================
   1.6.177 – Button-Feinschliff (helles Grau / weicher Glow) + Sidebar klickbar
   ========================================================================== */

/* Globale Variablen-Korrektur gegen falsche Bootstrap-Fokusringe */
html body .btn,
html body .tox-button,
html body.site.netzneon .btn,
html body.site.netzneon .tox-button {
  --bs-btn-focus-box-shadow: none !important;
  --bs-btn-active-box-shadow: none !important;
  outline: none !important;
}

/* 1. Primäre Buttons (Grün) – inkl. Frontend-Form .btn-primary */
html body #toolbar-save .btn,
html body #toolbar-apply .btn,
html body #toolbar-save2copy .btn,
html body .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary),
html body.site.netzneon.com_content.view-form button.btn.btn-primary,
html body.site.netzneon.com_content.view-form .btn.btn-primary,
html body.site.netzneon.com_content.view-form button.button-save,
html body.site.netzneon.com_content.view-form button.button-apply {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.6) !important;
  border-color: rgba(80, 255, 120, 0.6) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  text-shadow: none !important;
  filter: none !important;
}
html body #toolbar-save .btn:hover,
html body #toolbar-apply .btn:hover,
html body #toolbar-save2copy .btn:hover,
html body .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):hover,
html body.site.netzneon.com_content.view-form button.btn.btn-primary:hover,
html body.site.netzneon.com_content.view-form button.btn.btn-primary:focus-visible,
html body.site.netzneon.com_content.view-form .btn.btn-primary:hover,
html body.site.netzneon.com_content.view-form button.button-save:hover,
html body.site.netzneon.com_content.view-form button.button-apply:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 18px rgba(61, 206, 98, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(77, 255, 120, 0.8) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}

/* 2. Abbrechen (Rot) */
html body #toolbar-cancel .btn,
html body .btn-danger,
html body.site.netzneon.com_content.view-form button.btn.btn-danger,
html body.site.netzneon.com_content.view-form .btn.btn-danger,
html body.site.netzneon.com_content.view-form button.button-cancel {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  background: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  background-image: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  border: 1px solid rgba(255, 123, 137, 0.6) !important;
  border-color: rgba(255, 123, 137, 0.6) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  text-shadow: none !important;
  filter: none !important;
}
html body #toolbar-cancel .btn:hover,
html body .btn-danger:hover,
html body.site.netzneon.com_content.view-form button.btn.btn-danger:hover,
html body.site.netzneon.com_content.view-form button.btn.btn-danger:focus-visible,
html body.site.netzneon.com_content.view-form .btn.btn-danger:hover,
html body.site.netzneon.com_content.view-form button.button-cancel:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 18px rgba(220, 53, 69, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(255, 123, 137, 0.8) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}

/* 3. Sekundär – Versionen + Editor an/aus + Ersetzen */
html body #toolbar-versions .btn,
html body #toggle-editor,
html body .btn-info,
html body .tox-tinymce-aux .tox-button--secondary,
html body.site.netzneon.com_content.view-form .js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form button.btn-secondary.js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form .toggle-editor .btn,
html body.site.netzneon.com_content.view-form button.button-toggle-editor,
html body.site.netzneon.com_content.view-form button.button-versions {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid #334155 !important;
  border-color: #334155 !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  text-shadow: none !important;
  filter: none !important;
}
html body #toolbar-versions .btn:hover,
html body #toggle-editor:hover,
html body .btn-info:hover,
html body .tox-tinymce-aux .tox-button--secondary:hover,
html body.site.netzneon.com_content.view-form .js-tiny-toggler-button:hover,
html body.site.netzneon.com_content.view-form .js-tiny-toggler-button:focus-visible,
html body.site.netzneon.com_content.view-form .toggle-editor .btn:hover,
html body.site.netzneon.com_content.view-form button.button-versions:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(71, 85, 105, 0.8) !important;
  filter: none !important;
  outline: none !important;
}

/* Sidebar über Form-Content, unter TinyMCE-Vollbild */
html body.site.netzneon.com_content.view-form #nn-sidebar,
html body.site.netzneon.com_content.view-form .nn-sidebar {
  z-index: 250 !important;
  pointer-events: auto !important;
}
html body.site.netzneon.com_content.view-form #nn-sidebar-toggle,
html body.site.netzneon.com_content.view-form .nn-collapse-btn,
html body.site.netzneon.com_content.view-form #nn-user-trigger,
html body.site.netzneon.com_content.view-form .nn-sidebar__footer,
html body.site.netzneon.com_content.view-form .nn-user-menu {
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
}
html body.site.netzneon.com_content.view-form #nn-main,
html body.site.netzneon.com_content.view-form main.nn-content,
html body.site.netzneon.com_content.view-form .nn-main-area {
  pointer-events: auto !important;
}
html body.site.netzneon .tox-tinymce-aux,
html body.site.netzneon .tox-silver-sink {
  pointer-events: none !important;
}
html body.site.netzneon .tox-tinymce-aux .tox-menu,
html body.site.netzneon .tox-tinymce-aux .tox-dialog,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-wrap,
html body.site.netzneon .tox-tinymce-aux .tox-pop,
html body.site.netzneon .tox-tinymce-aux .tox-collection,
html body.site.netzneon .tox-silver-sink .tox-menu,
html body.site.netzneon .tox-silver-sink .tox-dialog,
html body.site.netzneon .tox-silver-sink .tox-dialog-wrap,
html body.site.netzneon .tox-silver-sink .tox-pop,
html body.site.netzneon .tox-silver-sink .tox-collection {
  pointer-events: auto !important;
}
html body.site.netzneon.tox-fullscreen #nn-sidebar,
html body.site.netzneon.tox-fullscreen .nn-sidebar,
html body.site.netzneon.tox-fullscreen .top-bar {
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* 1.6.177b – Spezifität gegen .nn-article-form Dark-Text-Regeln aus 176 */
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary,
html body.site.netzneon.com_content.view-form.nn-article-form .btn.btn-primary,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-save,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-apply {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.6) !important;
  border-color: rgba(80, 255, 120, 0.6) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  text-shadow: none !important;
  filter: none !important;
}
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary:focus-visible,
html body.site.netzneon.com_content.view-form.nn-article-form .btn.btn-primary:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 18px rgba(61, 206, 98, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(77, 255, 120, 0.8) !important;
  filter: none !important;
  outline: none !important;
}
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger,
html body.site.netzneon.com_content.view-form.nn-article-form .btn.btn-danger,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-cancel {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  background: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  background-image: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  border: 1px solid rgba(255, 123, 137, 0.6) !important;
  border-color: rgba(255, 123, 137, 0.6) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  text-shadow: none !important;
  filter: none !important;
}
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger:focus-visible,
html body.site.netzneon.com_content.view-form.nn-article-form .btn.btn-danger:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 18px rgba(220, 53, 69, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(255, 123, 137, 0.8) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}
html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn-secondary.js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form.nn-article-form .toggle-editor .btn,
html body.site.netzneon.com_content.view-form.nn-article-form #toolbar-versions .btn,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-versions {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid #334155 !important;
  border-color: #334155 !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  text-shadow: none !important;
  filter: none !important;
}
html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button:hover,
html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button:focus-visible,
html body.site.netzneon.com_content.view-form.nn-article-form #toolbar-versions .btn:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(71, 85, 105, 0.8) !important;
  filter: none !important;
}

/* ==========================================================================
   1.6.178 – Einheitlicher Suchen-Glow, #cbd5e1 Ruhe, Versionen/Toggle, Close-X
   ========================================================================== */

/* Doppeltes Modal-X: ::before aus, wenn SVG.nn-close-x vorhanden */
html body.site.netzneon joomla-dialog .btn-close:has(svg.nn-close-x)::before,
html body.site.netzneon joomla-dialog .button-close:has(svg.nn-close-x)::before,
html body.site.netzneon joomla-dialog .btn-close:has(svg.nn-close-x):empty::before,
html body.site.netzneon joomla-dialog .btn-close:has(svg.nn-close-x):not(:empty)::before,
html body.site.netzneon joomla-dialog .button-close:has(svg.nn-close-x):not(:empty)::before,
html body.site.netzneon .joomla-dialog-header .btn-close:has(svg.nn-close-x)::before,
html body.site.netzneon .joomla-dialog-header .button-close:has(svg.nn-close-x)::before,
html body.site.netzneon .modal-header .btn-close:has(svg.nn-close-x)::before,
html body.site.netzneon .modal-header .close:has(svg.nn-close-x)::before,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:has(svg.nn-close-x)::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button--icon:has(svg.nn-close-x)::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

html body.site.netzneon joomla-dialog .btn-close svg.nn-close-x,
html body.site.netzneon joomla-dialog .button-close svg.nn-close-x,
html body.site.netzneon .joomla-dialog-header .btn-close svg.nn-close-x,
html body.site.netzneon .modal-header .btn-close svg.nn-close-x {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
  color: inherit !important;
}

/* Ruhe-Schrift #cbd5e1 – Grün / Rot / Secondary */
html body #toolbar-save .btn,
html body #toolbar-apply .btn,
html body #toolbar-save2copy .btn,
html body #toolbar-cancel .btn,
html body #toolbar-versions .btn,
html body #toggle-editor,
html body .btn-danger,
html body .btn-info,
html body .btn-primary,
html body .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary),
html body .tox-tinymce-aux .tox-button--secondary,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-secondary,
html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn-secondary[data-joomla-dialog],
html body.site.netzneon.com_content.view-form.nn-article-form button.button-save,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-apply,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-cancel {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

/* Grün Hover = exakt Suchen-Dialog Glow */
html body #toolbar-save .btn:hover,
html body #toolbar-apply .btn:hover,
html body #toolbar-save2copy .btn:hover,
html body #toolbar-save .btn:focus-visible,
html body #toolbar-apply .btn:focus-visible,
html body .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary:focus-visible,
html body.site.netzneon.com_content.view-form.nn-article-form .btn.btn-primary:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-save:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-apply:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border: 1px solid #4dff78 !important;
  border-color: #4dff78 !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 15px rgba(61, 206, 98, 0.8) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}

/* Rot Hover – weicher Glow, weiß */
html body #toolbar-cancel .btn:hover,
html body .btn-danger:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger:focus-visible,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-cancel:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 15px rgba(220, 53, 69, 0.8) !important;
  border-color: rgba(255, 123, 137, 0.85) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}

/* Versionen + Editor an/aus = Ersetzen Secondary 3D (stark) */
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-secondary.js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-secondary[data-joomla-dialog],
html body.site.netzneon.com_content.view-form.nn-article-form button.btn-secondary[data-joomla-dialog],
html body.site.netzneon.com_content.view-form.nn-article-form #toolbar-versions .btn,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-versions,
html body.site.netzneon.com_content.view-form.nn-article-form .toggle-editor .btn,
html body #toolbar-versions .btn,
html body #toggle-editor,
html body .btn-info,
html body .tox-tinymce-aux .tox-button--secondary {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid #334155 !important;
  border-color: #334155 !important;
  border-radius: 6px !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  font-weight: 600 !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  text-shadow: none !important;
  filter: none !important;
}
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-secondary.js-tiny-toggler-button:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-secondary.js-tiny-toggler-button:focus-visible,
html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button:hover,
html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button:focus-visible,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-secondary[data-joomla-dialog]:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-secondary[data-joomla-dialog]:focus-visible,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn-secondary[data-joomla-dialog]:hover,
html body.site.netzneon.com_content.view-form.nn-article-form #toolbar-versions .btn:hover,
html body #toolbar-versions .btn:hover,
html body #toggle-editor:hover,
html body .btn-info:hover,
html body .tox-tinymce-aux .tox-button--secondary:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  background-image: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  /* Weicher, silber/grauer Glow passend zur Button-Farbe */
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.45), inset 0 1px 1px rgba(255,255,255,0.2) !important;
  border-color: rgba(148, 163, 184, 0.8) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}

/* ==========================================================================
   1.6.179 – SYSTEMWEITE Button-Neon-Sprache (alle Views)
   ========================================================================== */

html body.site.netzneon .btn,
html body.site.netzneon .tox-button,
html body .btn,
html body .tox-button {
  --bs-btn-focus-box-shadow: none !important;
  --bs-btn-active-box-shadow: none !important;
  outline: none !important;
}

/* --- PRIMÄR / GRÜN (.btn-primary, .btn-success) --- */
html body.site.netzneon .btn-primary,
html body.site.netzneon a.btn-primary,
html body.site.netzneon button.btn-primary,
html body.site.netzneon .btn-success,
html body.site.netzneon a.btn-success,
html body.site.netzneon button.btn-success,
html body.site.netzneon button.button-save,
html body.site.netzneon button.button-apply,
html body.site.netzneon #toolbar-save .btn,
html body.site.netzneon #toolbar-apply .btn,
html body.site.netzneon #toolbar-save2copy .btn,
html body.site.netzneon .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked),
html body.site.netzneon .tox .tox-dialog .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked) {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.6) !important;
  border-color: rgba(80, 255, 120, 0.6) !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

html body.site.netzneon .btn-primary:hover,
html body.site.netzneon .btn-primary:focus,
html body.site.netzneon .btn-primary:focus-visible,
html body.site.netzneon a.btn-primary:hover,
html body.site.netzneon button.btn-primary:hover,
html body.site.netzneon .btn-success:hover,
html body.site.netzneon .btn-success:focus-visible,
html body.site.netzneon button.button-save:hover,
html body.site.netzneon button.button-apply:hover,
html body.site.netzneon #toolbar-save .btn:hover,
html body.site.netzneon #toolbar-apply .btn:hover,
html body.site.netzneon #toolbar-save2copy .btn:hover,
html body.site.netzneon .tox-tinymce-aux .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):hover,
html body.site.netzneon .tox .tox-dialog .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border: 1px solid #4dff78 !important;
  border-color: #4dff78 !important;
  /* Exakt Suchen-Dialog Glow */
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 15px rgba(61, 206, 98, 0.8) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}

/* --- GEFAHR / ROT (.btn-danger, .btn-warning) --- */
html body.site.netzneon .btn-danger,
html body.site.netzneon a.btn-danger,
html body.site.netzneon button.btn-danger,
html body.site.netzneon .btn-warning,
html body.site.netzneon a.btn-warning,
html body.site.netzneon button.btn-warning,
html body.site.netzneon button.button-cancel,
html body.site.netzneon #toolbar-cancel .btn {
  background: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  background-image: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  border: 1px solid rgba(255, 123, 137, 0.6) !important;
  border-color: rgba(255, 123, 137, 0.6) !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

html body.site.netzneon .btn-danger:hover,
html body.site.netzneon .btn-danger:focus,
html body.site.netzneon .btn-danger:focus-visible,
html body.site.netzneon a.btn-danger:hover,
html body.site.netzneon button.btn-danger:hover,
html body.site.netzneon .btn-warning:hover,
html body.site.netzneon .btn-warning:focus-visible,
html body.site.netzneon button.button-cancel:hover,
html body.site.netzneon #toolbar-cancel .btn:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(180deg, #f0707a 0%, #c82333 100%) !important;
  background-image: linear-gradient(180deg, #f0707a 0%, #c82333 100%) !important;
  border: 1px solid rgba(255, 123, 137, 0.85) !important;
  border-color: rgba(255, 123, 137, 0.85) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.55), 0 0 18px rgba(220, 53, 69, 0.5) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}

/* --- SEKUNDÄR / DUNKELBLAU (.btn-secondary, .btn-info, .btn-dark, .btn-light) --- */
html body.site.netzneon .btn-secondary,
html body.site.netzneon a.btn-secondary,
html body.site.netzneon button.btn-secondary,
html body.site.netzneon .btn-info,
html body.site.netzneon a.btn-info,
html body.site.netzneon button.btn-info,
html body.site.netzneon .btn-dark,
html body.site.netzneon a.btn-dark,
html body.site.netzneon button.btn-dark,
html body.site.netzneon .btn-light,
html body.site.netzneon a.btn-light,
html body.site.netzneon button.btn-light,
html body.site.netzneon #toolbar-versions .btn,
html body.site.netzneon #toggle-editor,
html body.site.netzneon .js-tiny-toggler-button,
html body.site.netzneon button.button-toggle-editor,
html body.site.netzneon button.button-versions,
html body.site.netzneon .toggle-editor .btn,
html body.site.netzneon .tox-tinymce-aux .tox-button--secondary,
html body.site.netzneon .tox .tox-button--secondary {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid #334155 !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

html body.site.netzneon .btn-secondary:hover,
html body.site.netzneon .btn-secondary:focus,
html body.site.netzneon .btn-secondary:focus-visible,
html body.site.netzneon a.btn-secondary:hover,
html body.site.netzneon button.btn-secondary:hover,
html body.site.netzneon .btn-info:hover,
html body.site.netzneon .btn-info:focus-visible,
html body.site.netzneon .btn-dark:hover,
html body.site.netzneon .btn-dark:focus-visible,
html body.site.netzneon .btn-light:hover,
html body.site.netzneon .btn-light:focus-visible,
html body.site.netzneon #toolbar-versions .btn:hover,
html body.site.netzneon #toolbar-versions .btn:focus-visible,
html body.site.netzneon #toggle-editor:hover,
html body.site.netzneon #toggle-editor:focus-visible,
html body.site.netzneon .js-tiny-toggler-button:hover,
html body.site.netzneon .js-tiny-toggler-button:focus-visible,
html body.site.netzneon button.button-toggle-editor:hover,
html body.site.netzneon button.button-versions:hover,
html body.site.netzneon .toggle-editor .btn:hover,
html body.site.netzneon .tox-tinymce-aux .tox-button--secondary:hover,
html body.site.netzneon .tox .tox-button--secondary:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  background-image: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  /* Weicher, silber/grauer Glow passend zur Button-Farbe */
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.45), inset 0 1px 1px rgba(255,255,255,0.2) !important;
  border-color: rgba(148, 163, 184, 0.8) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}

/* Doppel-X: Bootstrap-Maske + ::before weg, SVG bleibt */
html body.site.netzneon joomla-dialog .btn-close,
html body.site.netzneon joomla-dialog .button-close,
html body.site.netzneon .joomla-dialog-header .btn-close,
html body.site.netzneon .joomla-dialog-header .button-close,
html body.site.netzneon .modal-header .btn-close,
html body.site.netzneon .modal-header .close {
  background-image: none !important;
  background: transparent !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
html body.site.netzneon joomla-dialog .btn-close:has(svg.nn-close-x)::before,
html body.site.netzneon joomla-dialog .button-close:has(svg.nn-close-x)::before,
html body.site.netzneon joomla-dialog .btn-close:has(svg.nn-close-x):not(:empty)::before,
html body.site.netzneon joomla-dialog .button-close:has(svg.nn-close-x):not(:empty)::before,
html body.site.netzneon .joomla-dialog-header .btn-close:has(svg.nn-close-x)::before,
html body.site.netzneon .joomla-dialog-header .button-close:has(svg.nn-close-x)::before,
html body.site.netzneon .modal-header .btn-close:has(svg.nn-close-x)::before,
html body.site.netzneon .modal-header .close:has(svg.nn-close-x)::before,
html body.site.netzneon .tox .tox-dialog__header .tox-button--icon:has(svg.nn-close-x)::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button--icon:has(svg.nn-close-x)::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
html body.site.netzneon joomla-dialog .btn-close svg.nn-close-x,
html body.site.netzneon joomla-dialog .button-close svg.nn-close-x,
html body.site.netzneon .modal-header .btn-close svg.nn-close-x {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
}

/* ==========================================================================
   1.6.179b – Max-Spezifität: View-Form + Systemweit (schlägt 175–178)
   ========================================================================== */

/* Primär/Grün – Ruhe #cbd5e1 + weicher Suchen-Glow */
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary,
html body.site.netzneon.com_content.view-form.nn-article-form .btn.btn-primary,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-save,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-apply,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-save-new,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-save-copy,
html body.site.netzneon.com_content.view-form button.btn.btn-primary,
html body.site.netzneon.com_content.view-form .btn.btn-primary,
html body.site.netzneon button.btn.btn-primary,
html body.site.netzneon a.btn.btn-primary,
html body.site.netzneon .btn.btn-primary,
html body.site.netzneon button.btn.btn-success,
html body.site.netzneon a.btn.btn-success,
html body.site.netzneon .btn.btn-success {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.6) !important;
  border-color: rgba(80, 255, 120, 0.6) !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary:focus,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-primary:focus-visible,
html body.site.netzneon.com_content.view-form.nn-article-form .btn.btn-primary:hover,
html body.site.netzneon.com_content.view-form button.btn.btn-primary:hover,
html body.site.netzneon.com_content.view-form .btn.btn-primary:hover,
html body.site.netzneon button.btn.btn-primary:hover,
html body.site.netzneon button.btn.btn-primary:focus-visible,
html body.site.netzneon a.btn.btn-primary:hover,
html body.site.netzneon .btn.btn-primary:hover,
html body.site.netzneon .btn.btn-success:hover,
html body.site.netzneon .btn.btn-success:focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border: 1px solid #4dff78 !important;
  border-color: #4dff78 !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 15px rgba(61, 206, 98, 0.8) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}

/* Gefahr/Rot – weicher roter Glow, kein Blau */
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger,
html body.site.netzneon.com_content.view-form.nn-article-form .btn.btn-danger,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-cancel,
html body.site.netzneon.com_content.view-form button.btn.btn-danger,
html body.site.netzneon button.btn.btn-danger,
html body.site.netzneon a.btn.btn-danger,
html body.site.netzneon .btn.btn-danger,
html body.site.netzneon .btn.btn-warning {
  background: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  background-image: linear-gradient(180deg, #e35d6a 0%, #bd2130 100%) !important;
  border: 1px solid rgba(255, 123, 137, 0.6) !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-danger:focus-visible,
html body.site.netzneon.com_content.view-form.nn-article-form .btn.btn-danger:hover,
html body.site.netzneon button.btn.btn-danger:hover,
html body.site.netzneon .btn.btn-danger:hover,
html body.site.netzneon .btn.btn-danger:focus-visible,
html body.site.netzneon .btn.btn-warning:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(255, 123, 137, 0.85) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.55), 0 0 18px rgba(220, 53, 69, 0.5) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}

/* Sekundär – Editor an/aus + Versionen + btn-info/dark/light */
html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn-secondary.js-tiny-toggler-button,
html body.site.netzneon.com_content.view-form.nn-article-form .toggle-editor .btn,
html body.site.netzneon.com_content.view-form.nn-article-form #toolbar-versions .btn,
html body.site.netzneon.com_content.view-form.nn-article-form button.button-versions,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-secondary,
html body.site.netzneon button.btn.btn-secondary,
html body.site.netzneon a.btn.btn-secondary,
html body.site.netzneon .btn.btn-secondary,
html body.site.netzneon .btn.btn-info,
html body.site.netzneon .btn.btn-dark,
html body.site.netzneon .btn.btn-light,
html body.site.netzneon #toggle-editor,
html body.site.netzneon .js-tiny-toggler-button,
html body.site.netzneon #toolbar-versions .btn {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid #334155 !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button:hover,
html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button:focus-visible,
html body.site.netzneon.com_content.view-form.nn-article-form #toolbar-versions .btn:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-secondary:hover,
html body.site.netzneon .js-tiny-toggler-button:hover,
html body.site.netzneon .js-tiny-toggler-button:focus-visible,
html body.site.netzneon #toggle-editor:hover,
html body.site.netzneon #toolbar-versions .btn:hover,
html body.site.netzneon button.btn.btn-secondary:hover,
html body.site.netzneon .btn.btn-secondary:hover,
html body.site.netzneon .btn.btn-info:hover,
html body.site.netzneon .btn.btn-dark:hover,
html body.site.netzneon .btn.btn-light:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  background-image: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  /* Weicher, silber/grauer Glow passend zur Button-Farbe */
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.45), inset 0 1px 1px rgba(255,255,255,0.2) !important;
  border-color: rgba(148, 163, 184, 0.8) !important;
  filter: none !important;
  outline: none !important;
  --bs-btn-focus-box-shadow: none !important;
}

/* Doppel-X: Bootstrap-Standard-SVG + Maske weg, nur nn-close-x */
html body.site.netzneon joomla-dialog .btn-close > svg:not(.nn-close-x),
html body.site.netzneon joomla-dialog .button-close > svg:not(.nn-close-x),
html body.site.netzneon .modal-header .btn-close > svg:not(.nn-close-x),
html body.site.netzneon .joomla-dialog-header .btn-close > svg:not(.nn-close-x) {
  display: none !important;
}
html body.site.netzneon joomla-dialog .btn-close,
html body.site.netzneon joomla-dialog .button-close,
html body.site.netzneon .modal-header .btn-close {
  background-image: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background-color: transparent !important;
}

/* ==========================================================================
   SEKUNDÄRE BUTTONS HOVER - GRAUER/SILBERNER GLOW (KEIN BLAU MEHR)
   Gilt für: Versionen, Editor an/aus, Suchen-Dialog (Ersetzen) & System-Buttons
   ========================================================================== */
html body #toolbar-versions .btn:hover, html body #toolbar-versions .btn:focus,
html body #toggle-editor:hover, html body #toggle-editor:focus,
html body .btn-info:hover, html body .btn-info:focus,
html body .btn-secondary:hover, html body .btn-secondary:focus,
html body .btn-dark:hover, html body .btn-dark:focus,
html body .btn-light:hover, html body .btn-light:focus,
html body .tox-tinymce-aux .tox-button--secondary:hover, html body .tox-tinymce-aux .tox-button--secondary:focus,
html body.site.netzneon .btn-secondary:hover, html body.site.netzneon .btn-secondary:focus,
html body.site.netzneon .btn-info:hover, html body.site.netzneon .btn-info:focus,
html body.site.netzneon .btn-dark:hover, html body.site.netzneon .btn-dark:focus,
html body.site.netzneon .btn-light:hover, html body.site.netzneon .btn-light:focus,
html body.site.netzneon #toolbar-versions .btn:hover, html body.site.netzneon #toolbar-versions .btn:focus,
html body.site.netzneon #toggle-editor:hover, html body.site.netzneon #toggle-editor:focus,
html body.site.netzneon .js-tiny-toggler-button:hover, html body.site.netzneon .js-tiny-toggler-button:focus,
html body.site.netzneon .tox-tinymce-aux .tox-button--secondary:hover, html body.site.netzneon .tox-tinymce-aux .tox-button--secondary:focus,
html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button:hover,
html body.site.netzneon.com_content.view-form.nn-article-form #toolbar-versions .btn:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-secondary:hover {
    color: #ffffff !important;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
    /* Weicher, silber/grauer Glow passend zur Button-Farbe */
    box-shadow: 0 0 18px rgba(148, 163, 184, 0.45), inset 0 1px 1px rgba(255,255,255,0.2) !important;
    border-color: rgba(148, 163, 184, 0.8) !important;
}

/* ==========================================================================
   1.6.180 – Sekundär-Hover: KEIN blauer Rand (schlägt user.css Cyan-Hover)
   ========================================================================== */
html body.site.netzneon .btn.btn-secondary:hover,
html body.site.netzneon .btn.btn-secondary:focus,
html body.site.netzneon .btn.btn-secondary:focus-visible,
html body.site.netzneon button.btn.btn-secondary:hover,
html body.site.netzneon button.btn.btn-secondary:focus,
html body.site.netzneon a.btn.btn-secondary:hover,
html body.site.netzneon .btn.btn-info:hover,
html body.site.netzneon .btn.btn-info:focus,
html body.site.netzneon .btn.btn-dark:hover,
html body.site.netzneon .btn.btn-light:hover,
html body.site.netzneon #toolbar-versions .btn:hover,
html body.site.netzneon #toolbar-versions .btn:focus,
html body.site.netzneon #toggle-editor:hover,
html body.site.netzneon #toggle-editor:focus,
html body.site.netzneon .js-tiny-toggler-button:hover,
html body.site.netzneon .js-tiny-toggler-button:focus,
html body.site.netzneon .js-tiny-toggler-button:focus-visible,
html body.site.netzneon button.btn-secondary.js-tiny-toggler-button:hover,
html body.site.netzneon button.btn.btn-secondary[data-joomla-dialog]:hover,
html body.site.netzneon.com_content.view-form.nn-article-form button.btn.btn-secondary:hover,
html body.site.netzneon.com_content.view-form.nn-article-form .js-tiny-toggler-button:hover,
html body.site.netzneon.com_content.view-form.nn-article-form #toolbar-versions .btn:hover,
html body.site.netzneon .tox-tinymce-aux .tox-button--secondary:hover,
html body.site.netzneon .tox-tinymce-aux .tox-button--secondary:focus {
  border: 1px solid rgba(148, 163, 184, 0.8) !important;
  border-color: rgba(148, 163, 184, 0.8) !important;
  border-top-color: rgba(148, 163, 184, 0.8) !important;
  border-right-color: rgba(148, 163, 184, 0.8) !important;
  border-bottom-color: rgba(148, 163, 184, 0.8) !important;
  border-left-color: rgba(148, 163, 184, 0.8) !important;
  outline: none !important;
  outline-color: transparent !important;
  --bs-btn-hover-border-color: rgba(148, 163, 184, 0.8) !important;
  --bs-btn-focus-shadow-rgb: 148, 163, 184 !important;
  --bs-btn-focus-box-shadow: none !important;
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  background-image: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  filter: none !important;
}

/* ==========================================================================
   GLOBALE MAUSZEIGER-KORREKTUR FÜR ALLE BUTTONS
   ========================================================================== */
html body .btn, 
html body .tox-button,
html body button,
html body .btn-primary,
html body .btn-secondary,
html body .btn-success,
html body .btn-danger,
html body .btn-info,
html body .btn-warning,
html body .btn-dark,
html body .btn-light {
    cursor: pointer !important;
}

/* ==========================================================================
   1.6.182 – Speichern Split-Dropdown (Frontend-Editor)
   Kein Pill-.btn-group-Look, overflow sichtbar, Menü fixed an body
   ========================================================================== */
html body.site.netzneon .nn-save-split,
html body.site.netzneon .nn-save-split.btn-group,
html body.site.netzneon .nn-component .nn-save-split,
html body.site.netzneon .nn-component .nn-save-split.btn-group {
  display: inline-flex !important;
  position: relative !important;
  vertical-align: middle !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 0.35rem 0.35rem 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  z-index: 5 !important;
}

html body.site.netzneon .nn-save-split > .nn-save-split__main.btn,
html body.site.netzneon .nn-save-split > .nn-save-split__main.btn-primary {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
}

html body.site.netzneon .nn-save-split > .nn-save-split__toggle.btn,
html body.site.netzneon .nn-save-split > .nn-save-split__toggle.btn-primary {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  margin: 0 !important;
  width: 2.35rem !important;
  min-width: 2.35rem !important;
  padding-left: 0.35rem !important;
  padding-right: 0.35rem !important;
  flex: 0 0 auto !important;
  border-left: 1px solid rgba(0, 0, 0, 0.28) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

html body.site.netzneon .nn-save-split__caret {
  display: inline-block !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 5px solid transparent !important;
  border-right: 5px solid transparent !important;
  border-top: 6px solid #cbd5e1 !important;
  transition: border-top-color 0.15s ease !important;
}

html body.site.netzneon .nn-save-split__toggle:hover .nn-save-split__caret,
html body.site.netzneon .nn-save-split.is-open .nn-save-split__caret {
  border-top-color: #ffffff !important;
}

html body.site.netzneon .nn-save-split__menu,
html body.site.netzneon #nn-save-split-menu.nn-save-split__menu {
  position: fixed !important;
  min-width: 14rem !important;
  width: max-content !important;
  padding: 0.4rem !important;
  margin: 0 !important;
  list-style: none !important;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%) !important;
  border: 1px solid rgba(61, 206, 98, 0.45) !important;
  border-radius: 10px !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(61, 206, 98, 0.22) !important;
  z-index: 10050 !important;
}

html body.site.netzneon .nn-save-split__menu[hidden],
html body.site.netzneon #nn-save-split-menu.nn-save-split__menu[hidden] {
  display: none !important;
}

html body.site.netzneon #nn-save-split-menu.nn-save-split__menu.is-open {
  display: block !important;
}

html body.site.netzneon .nn-save-split > .btn.btn-primary,
html body.site.netzneon .nn-save-split > .nn-save-split__main,
html body.site.netzneon .nn-save-split > .nn-save-split__toggle {
  min-width: 0 !important;
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.6) !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  transform: none !important;
}
html body.site.netzneon .nn-save-split > .nn-save-split__main {
  border-radius: 8px 0 0 8px !important;
}
html body.site.netzneon .nn-save-split > .nn-save-split__toggle {
  border-radius: 0 8px 8px 0 !important;
}

html body.site.netzneon .nn-save-split__item-wrap {
  display: block !important;
  margin: 0 !important;
}

html body.site.netzneon .nn-save-split__menu button.btn,
html body.site.netzneon .nn-save-split__menu button.btn-primary,
html body.site.netzneon .nn-save-split__menu button.nn-save-split__item {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0.55rem 0.75rem !important;
  text-align: left !important;
  justify-content: flex-start !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
  font-weight: 600 !important;
  filter: none !important;
  cursor: pointer !important;
}

html body.site.netzneon .nn-save-split__menu button.btn:hover,
html body.site.netzneon .nn-save-split__menu button.btn-primary:hover,
html body.site.netzneon .nn-save-split__menu button.nn-save-split__item:hover,
html body.site.netzneon .nn-save-split__menu button.btn:focus-visible {
  background: rgba(61, 206, 98, 0.2) !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(61, 206, 98, 0.35), 0 0 12px rgba(61, 206, 98, 0.2) !important;
  border: none !important;
  outline: none !important;
  filter: none !important;
}

/* ==========================================================================
   1.6.183 – Split-Button + Dropdown: flaches Menü, verschmolzene Kanten
   ========================================================================== */
html body .btn-group > .btn:first-child {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
margin-right: 0 !important;
}

html body .btn-group > .dropdown-toggle {
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
}

html body .dropdown-menu {
background-color: #0f172a !important;
border: 1px solid #334155 !important;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 10px rgba(61, 206, 98, 0.15) !important;
padding: 8px !important;
border-radius: 8px !important;
margin-top: 5px !important;
}

html body .dropdown-menu .btn,
html body .dropdown-menu .dropdown-item,
html body .dropdown-menu button {
background: transparent !important;
border: none !important;
box-shadow: none !important;
color: #cbd5e1 !important;
padding: 10px 15px !important;
width: 100% !important;
text-align: left !important;
border-radius: 4px !important;
font-weight: normal !important;
margin-bottom: 2px !important;
}

html body .dropdown-menu .btn:hover,
html body .dropdown-menu .dropdown-item:hover,
html body .dropdown-menu button:hover {
background-color: #1e293b !important;
color: #ffffff !important;
box-shadow: none !important;
}

/* NetzNeon Split (ohne Pill-.btn-group): gleiche Optik */
html body.site.netzneon .nn-save-split {
  gap: 0 !important;
}
html body.site.netzneon .nn-save-split > .nn-save-split__main.btn,
html body.site.netzneon .nn-save-split > .nn-save-split__main.btn-primary {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  margin-right: 0 !important;
}
html body.site.netzneon .nn-save-split > .nn-save-split__toggle.btn,
html body.site.netzneon .nn-save-split > .nn-save-split__toggle.btn-primary,
html body.site.netzneon .nn-save-split > .dropdown-toggle {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
  margin-left: 0 !important;
}

html body.site.netzneon #nn-save-split-menu.nn-save-split__menu,
html body.site.netzneon #nn-save-split-menu.dropdown-menu,
html body.site.netzneon .nn-save-split__menu.dropdown-menu {
  background-color: #0f172a !important;
  background-image: none !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 10px rgba(61, 206, 98, 0.15) !important;
  padding: 8px !important;
  border-radius: 8px !important;
}

html body.site.netzneon #nn-save-split-menu .btn,
html body.site.netzneon #nn-save-split-menu .btn-primary,
html body.site.netzneon #nn-save-split-menu .dropdown-item,
html body.site.netzneon #nn-save-split-menu button,
html body.site.netzneon .nn-save-split__menu .btn,
html body.site.netzneon .nn-save-split__menu .btn-primary,
html body.site.netzneon .nn-save-split__menu button {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  padding: 10px 15px !important;
  width: 100% !important;
  text-align: left !important;
  justify-content: flex-start !important;
  border-radius: 4px !important;
  font-weight: normal !important;
  margin: 0 0 2px 0 !important;
  filter: none !important;
  text-shadow: none !important;
}

html body.site.netzneon #nn-save-split-menu .btn:hover,
html body.site.netzneon #nn-save-split-menu .btn-primary:hover,
html body.site.netzneon #nn-save-split-menu .dropdown-item:hover,
html body.site.netzneon #nn-save-split-menu button:hover,
html body.site.netzneon .nn-save-split__menu .btn:hover,
html body.site.netzneon .nn-save-split__menu .btn-primary:hover,
html body.site.netzneon .nn-save-split__menu button:hover {
  background: #1e293b !important;
  background-color: #1e293b !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: none !important;
  border: none !important;
  filter: none !important;
  outline: none !important;
}

/* ==========================================================================
   1.6.184 – Split-Button lückenlos + flache Dropdown-Einträge
   ========================================================================== */
html body .btn-group {
display: inline-flex !important;
}

html body .btn-group > .btn:first-child {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
margin-right: 0 !important;
}

html body .btn-group > .dropdown-toggle {
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
margin-left: 0 !important;
border-left: 1px solid rgba(0, 0, 0, 0.4) !important;
padding-left: 12px !important;
padding-right: 12px !important;
}

html body .dropdown-menu {
background-color: #0f172a !important;
border: 1px solid #334155 !important;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(61, 206, 98, 0.15) !important;
border-radius: 8px !important;
padding: 8px 0 !important;
margin-top: 5px !important;
}

html body .dropdown-menu .btn,
html body .dropdown-menu .dropdown-item {
background: transparent !important;
border: none !important;
box-shadow: none !important;
color: #cbd5e1 !important;
padding: 10px 20px !important;
width: 100% !important;
text-align: left !important;
border-radius: 0 !important;
margin: 0 !important;
display: block !important;
}

html body .dropdown-menu .btn:hover,
html body .dropdown-menu .dropdown-item:hover {
background-color: #1e293b !important;
color: #ffffff !important;
box-shadow: inset 2px 0 0 #3dce62 !important;
}

/* Speichern-Split: Pill-.btn-group killen, lückenlos verschmelzen */
html body.site.netzneon .nn-save-split.btn-group,
html body.site.netzneon .nn-component .nn-save-split.btn-group,
html body.site.netzneon .nn-save-split {
  display: inline-flex !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 0.35rem 0.35rem 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body.site.netzneon .nn-save-split > .btn:first-child,
html body.site.netzneon .nn-save-split > .nn-save-split__main {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  margin: 0 !important;
  margin-right: 0 !important;
}

html body.site.netzneon .nn-save-split > .dropdown-toggle,
html body.site.netzneon .nn-save-split > .nn-save-split__toggle {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  margin: 0 !important;
  margin-left: -1px !important;
  border-left: 1px solid rgba(0, 0, 0, 0.4) !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

/* Dropdown-Einträge: flach, kein globales 3D/Neon */
html body.site.netzneon #nn-save-split-menu.dropdown-menu,
html body.site.netzneon #nn-save-split-menu.nn-save-split__menu,
html body.site.netzneon .nn-save-split__menu.dropdown-menu {
  background-color: #0f172a !important;
  background-image: none !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(61, 206, 98, 0.15) !important;
  border-radius: 8px !important;
  padding: 8px 0 !important;
}

html body.site.netzneon #nn-save-split-menu .btn,
html body.site.netzneon #nn-save-split-menu .btn.btn-primary,
html body.site.netzneon #nn-save-split-menu .btn-primary,
html body.site.netzneon #nn-save-split-menu .dropdown-item,
html body.site.netzneon #nn-save-split-menu button,
html body.site.netzneon #nn-save-split-menu button.btn.btn-primary,
html body.site.netzneon .nn-save-split__menu .btn,
html body.site.netzneon .nn-save-split__menu .btn.btn-primary,
html body.site.netzneon .nn-save-split__menu button.btn.btn-primary {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-width: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  padding: 10px 20px !important;
  width: 100% !important;
  text-align: left !important;
  justify-content: flex-start !important;
  border-radius: 0 !important;
  margin: 0 !important;
  display: block !important;
  font-weight: 500 !important;
  transform: none !important;
}

html body.site.netzneon #nn-save-split-menu .btn:hover,
html body.site.netzneon #nn-save-split-menu .btn.btn-primary:hover,
html body.site.netzneon #nn-save-split-menu .btn-primary:hover,
html body.site.netzneon #nn-save-split-menu .dropdown-item:hover,
html body.site.netzneon #nn-save-split-menu button:hover,
html body.site.netzneon #nn-save-split-menu button.btn.btn-primary:hover,
html body.site.netzneon .nn-save-split__menu .btn:hover,
html body.site.netzneon .nn-save-split__menu .btn.btn-primary:hover,
html body.site.netzneon .nn-save-split__menu button.btn.btn-primary:hover {
  background: #1e293b !important;
  background-color: #1e293b !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: inset 2px 0 0 #3dce62 !important;
  border: none !important;
  filter: none !important;
  outline: none !important;
  text-shadow: none !important;
  transform: none !important;
}

/* ==========================================================================
   1.6.185 – Split-Button als EINE Fläche (#id schlägt view-form Spezifität)
   ========================================================================== */
html body.site.netzneon #nn-save-split,
html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split,
html body.site.netzneon #nn-save-split.btn-group {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 5px !important;
  border: 1px solid rgba(80, 255, 120, 0.6) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden !important;
  vertical-align: middle !important;
}

html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split > button.btn.btn-primary,
html body.site.netzneon #nn-save-split > button.btn.btn-primary,
html body.site.netzneon #nn-save-split > .nn-save-split__main,
html body.site.netzneon #nn-save-split > .nn-save-split__toggle {
  border: 0 none transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  background-image: none !important;
  filter: none !important;
  transform: none !important;
  min-height: 38px !important;
}

html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split > button.btn.btn-primary.nn-save-split__main,
html body.site.netzneon #nn-save-split > button.btn.btn-primary.nn-save-split__main {
  flex: 1 1 auto !important;
  padding: 8px 16px !important;
}

html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split > button.btn.btn-primary.nn-save-split__toggle,
html body.site.netzneon #nn-save-split > button.btn.btn-primary.nn-save-split__toggle {
  flex: 0 0 auto !important;
  min-width: 2.5rem !important;
  padding: 8px 12px !important;
  border-left: 1px solid rgba(0, 0, 0, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body.site.netzneon #nn-save-split:hover,
html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split:hover {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border-color: #4dff78 !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 15px rgba(61, 206, 98, 0.8) !important;
}

html body.site.netzneon #nn-save-split:hover > button.btn.btn-primary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.site.netzneon #nn-save-split .nn-save-split__caret {
  border-top-color: #cbd5e1 !important;
}
html body.site.netzneon #nn-save-split:hover .nn-save-split__caret,
html body.site.netzneon #nn-save-split.is-open .nn-save-split__caret {
  border-top-color: #ffffff !important;
}

/* ==========================================================================
   1.6.186 – Split-Trennlinie hell, Hover-Glow, Dropdown-Pfeil drehen
   ========================================================================== */
html body .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
}

html body .btn-group .btn-primary:hover,
html body .btn-group .btn-success:hover {
box-shadow: 0 0 18px rgba(61, 206, 98, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
color: #ffffff !important;
}

html body .dropdown-toggle::after {
transition: transform 0.2s ease-in-out !important;
}

html body .dropdown-toggle.show::after,
html body .dropdown-toggle[aria-expanded="true"]::after {
transform: rotate(180deg) !important;
}

/* Speichern-Split: helle Trennlinie statt Schwarz */
html body.site.netzneon #nn-save-split > .nn-save-split__main,
html body.site.netzneon #nn-save-split > button.btn.btn-primary.nn-save-split__main,
html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split > button.btn.btn-primary.nn-save-split__main {
  border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
}
html body.site.netzneon #nn-save-split > .nn-save-split__toggle,
html body.site.netzneon #nn-save-split > button.btn.btn-primary.nn-save-split__toggle,
html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split > button.btn.btn-primary.nn-save-split__toggle {
  border-left: none !important;
}

/* Hover-Glow auf der EINEN Fläche (Wrapper) */
html body.site.netzneon #nn-save-split:hover,
html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split:hover,
html body.site.netzneon #nn-save-split.btn-group:hover {
  box-shadow: 0 0 18px rgba(61, 206, 98, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border-color: rgba(80, 255, 120, 0.75) !important;
}
html body.site.netzneon #nn-save-split:hover > button.btn.btn-primary,
html body.site.netzneon #nn-save-split:hover > .nn-save-split__main,
html body.site.netzneon #nn-save-split:hover > .nn-save-split__toggle {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Eigenes Caret-Dreieck (kein Bootstrap ::after) weich umklappen */
html body.site.netzneon #nn-save-split .nn-save-split__caret,
html body.site.netzneon .nn-save-split__caret {
  display: inline-block !important;
  transition: transform 0.2s ease-in-out !important;
  transform-origin: center 35% !important;
}
html body.site.netzneon #nn-save-split.is-open .nn-save-split__caret,
html body.site.netzneon #nn-save-split .nn-save-split__toggle[aria-expanded="true"] .nn-save-split__caret,
html body.site.netzneon #nn-save-split .nn-save-split__toggle.show .nn-save-split__caret {
  transform: rotate(180deg) !important;
}

/* Systemweite Dropdown-Trigger (User-Menü etc.) */
html body.site.netzneon .dropdown-toggle::after,
html body.site.netzneon [data-bs-toggle="dropdown"]::after,
html body.site.netzneon [data-nn-user-menu] [aria-expanded]::after,
html body.site.netzneon .nn-user-trigger::after,
html body.site.netzneon #nn-user-trigger::after {
  transition: transform 0.2s ease-in-out !important;
}
html body.site.netzneon .dropdown-toggle.show::after,
html body.site.netzneon .dropdown-toggle[aria-expanded="true"]::after,
html body.site.netzneon [data-bs-toggle="dropdown"][aria-expanded="true"]::after,
html body.site.netzneon [data-nn-user-menu].is-open [aria-expanded="true"]::after,
html body.site.netzneon #nn-user-trigger[aria-expanded="true"]::after,
html body.site.netzneon .nn-user-trigger[aria-expanded="true"]::after {
  transform: rotate(180deg) !important;
}

/* ==========================================================================
   1.6.187 – Dropdowns vereinheitlichen, Icons, Pfeil, Split-Hover
   ========================================================================== */

/* Aufgabe 4: Split-Hover erzwingen */
html body .btn-group > .btn-primary:hover,
html body .btn-group > .btn-success:hover {
box-shadow: 0 0 18px rgba(61, 206, 98, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
color: #ffffff !important;
}

html body.site.netzneon #nn-save-split:hover,
html body.site.netzneon #nn-save-split.btn-group:hover,
html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split:hover,
html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split.btn-group:hover {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border-color: #4dff78 !important;
  box-shadow: 0 0 18px rgba(61, 206, 98, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
}
html body.site.netzneon #nn-save-split:hover > .btn-primary,
html body.site.netzneon #nn-save-split:hover > button.btn.btn-primary,
html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split:hover > button.btn.btn-primary {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Aufgabe 1+3: Profil-Dropdown Text/Hover + Pfeil unten → oben */
html body.site.netzneon .nn-user-dropdown {
  background: #0f172a !important;
  border: 1px solid rgba(0, 210, 255, 0.35) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 14px rgba(0, 210, 255, 0.18) !important;
}
html body.site.netzneon .nn-user-dropdown__item {
  color: #94a3b8 !important;
  padding: 0.7rem 0.85rem !important;
}
html body.site.netzneon .nn-user-dropdown__item i {
  color: #00d2ff !important;
}
html body.site.netzneon .nn-user-dropdown__item:hover,
html body.site.netzneon .nn-user-dropdown__item:focus-visible {
  background: #1e293b !important;
  color: #ffffff !important;
  box-shadow: inset 2px 0 0 #00d2ff !important;
}
html body.site.netzneon .nn-user-dropdown__item:hover i,
html body.site.netzneon .nn-user-dropdown__item:focus-visible i {
  color: #ffffff !important;
}

html body.site.netzneon .nn-user-trigger__caret,
html body.site.netzneon .nn-user-trigger__caret i {
  display: inline-block !important;
  transition: transform 0.2s ease-in-out !important;
  transform: none !important;
}
html body.site.netzneon #nn-user-trigger[aria-expanded="true"] .nn-user-trigger__caret,
html body.site.netzneon #nn-user-trigger[aria-expanded="true"] .nn-user-trigger__caret i,
html body.site.netzneon .nn-user-menu.is-open .nn-user-trigger__caret,
html body.site.netzneon .nn-user-menu.is-open .nn-user-trigger__caret i {
  transform: rotate(180deg) !important;
}

/* Bootstrap ::after Pfeile: Ruhe unten, offen oben */
html body .dropdown-toggle::after {
  transition: transform 0.2s ease-in-out !important;
  transform: none !important;
}
html body .dropdown-toggle.show::after,
html body .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg) !important;
}

/* Aufgabe 1+2: Speichern-Dropdown = Profil-Look (grün) */
html body.site.netzneon #nn-save-split-menu.dropdown-menu,
html body.site.netzneon #nn-save-split-menu.nn-save-split__menu,
html body.site.netzneon .nn-save-split__menu.dropdown-menu {
  background: #0f172a !important;
  background-color: #0f172a !important;
  background-image: none !important;
  border: 1px solid rgba(61, 206, 98, 0.4) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 14px rgba(61, 206, 98, 0.2) !important;
  border-radius: 8px !important;
  padding: 0.45rem !important;
}

html body.site.netzneon #nn-save-split-menu .btn,
html body.site.netzneon #nn-save-split-menu .btn.btn-primary,
html body.site.netzneon #nn-save-split-menu button,
html body.site.netzneon #nn-save-split-menu .dropdown-item,
html body.site.netzneon #nn-save-split-menu .nn-save-split__item {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  padding: 0.75rem 0.9rem !important;
  width: 100% !important;
  text-align: left !important;
  justify-content: flex-start !important;
  border-radius: 6px !important;
  margin: 0 !important;
  font-weight: 500 !important;
  filter: none !important;
  text-shadow: none !important;
}

html body.site.netzneon #nn-save-split-menu .nn-save-split__icon,
html body.site.netzneon #nn-save-split-menu i {
  color: #00d2ff !important;
  width: 1rem !important;
  text-align: center !important;
}

html body.site.netzneon #nn-save-split-menu .btn:hover,
html body.site.netzneon #nn-save-split-menu .btn.btn-primary:hover,
html body.site.netzneon #nn-save-split-menu button:hover,
html body.site.netzneon #nn-save-split-menu .dropdown-item:hover,
html body.site.netzneon #nn-save-split-menu .nn-save-split__item:hover {
  background: #1e293b !important;
  background-color: #1e293b !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: inset 2px 0 0 #3dce62 !important;
  border: none !important;
  filter: none !important;
}

html body.site.netzneon #nn-save-split-menu .btn:hover .nn-save-split__icon,
html body.site.netzneon #nn-save-split-menu .btn:hover i,
html body.site.netzneon #nn-save-split-menu button:hover .nn-save-split__icon,
html body.site.netzneon #nn-save-split-menu button:hover i {
  color: #ffffff !important;
}

/* ==========================================================================
   1.6.188 – Dropdown-Feinschliff (Abrundung, Icons, Pfeil, Abmelden)
   ========================================================================== */
html body .dropdown-menu .btn,
html body .dropdown-menu .dropdown-item {
border-radius: 6px !important;
color: #94a3b8 !important;
}
html body .dropdown-menu .btn:hover,
html body .dropdown-menu .dropdown-item:hover {
color: #ffffff !important;
box-shadow: inset 3px 0 0 #3dce62 !important;
background-color: #1e293b !important;
}

html body .dropdown-menu .btn i,
html body .dropdown-menu .dropdown-item i,
html body .dropdown-menu .btn span.icon,
html body .dropdown-menu .dropdown-item span.icon {
margin-left: -4px !important;
margin-right: 12px !important;
color: #3dce62 !important;
}

html body .dropdown.show .dropdown-toggle::after,
html body .btn-group.show .dropdown-toggle::after,
html body .dropdown-toggle[aria-expanded="true"]::after {
transform: rotate(180deg) !important;
}

html body .dropdown-menu a[href*="logout"] {
background-color: rgba(220, 53, 69, 0.1) !important;
color: #ff4d4d !important;
}
html body .dropdown-menu a[href*="logout"] i,
html body .dropdown-menu a[href*="logout"] span.icon {
color: #ff4d4d !important;
}
html body .dropdown-menu a[href*="logout"]:hover {
background-color: #dc3545 !important;
color: #ffffff !important;
box-shadow: inset 3px 0 0 #ffb3b8 !important;
}
html body .dropdown-menu a[href*="logout"]:hover i,
html body .dropdown-menu a[href*="logout"]:hover span.icon {
color: #ffffff !important;
}

/* Speichern-Menü: gleiche Abrundung/Text/Icons (höhere Spezifität) */
html body.site.netzneon #nn-save-split-menu.dropdown-menu .btn,
html body.site.netzneon #nn-save-split-menu.dropdown-menu .btn.btn-primary,
html body.site.netzneon #nn-save-split-menu.dropdown-menu button,
html body.site.netzneon #nn-save-split-menu .nn-save-split__item {
  border-radius: 6px !important;
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  padding: 0.75rem 0.9rem !important;
}
html body.site.netzneon #nn-save-split-menu.dropdown-menu .btn:hover,
html body.site.netzneon #nn-save-split-menu.dropdown-menu .btn.btn-primary:hover,
html body.site.netzneon #nn-save-split-menu.dropdown-menu button:hover,
html body.site.netzneon #nn-save-split-menu .nn-save-split__item:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: inset 3px 0 0 #3dce62 !important;
  background-color: #1e293b !important;
  background-image: none !important;
  border-radius: 6px !important;
}
html body.site.netzneon #nn-save-split-menu .btn i,
html body.site.netzneon #nn-save-split-menu .nn-save-split__icon,
html body.site.netzneon #nn-save-split-menu button i {
  margin-left: -4px !important;
  margin-right: 12px !important;
  color: #3dce62 !important;
  width: 1.1rem !important;
  text-align: center !important;
  flex: 0 0 auto !important;
}
html body.site.netzneon #nn-save-split-menu .btn:hover i,
html body.site.netzneon #nn-save-split-menu .btn:hover .nn-save-split__icon,
html body.site.netzneon #nn-save-split-menu button:hover i {
  color: #ffffff !important;
}

/* Profilmenü: Abmelden rot (echte Klasse + href) */
html body.site.netzneon .nn-user-dropdown a[href*="logout"],
html body.site.netzneon .nn-user-dropdown .nn-user-dropdown__item--danger,
html body.site.netzneon #nn-user-dropdown a[href*="logout"],
html body.site.netzneon #nn-user-dropdown .nn-user-dropdown__item--danger {
  background-color: rgba(220, 53, 69, 0.1) !important;
  color: #ff4d4d !important;
  border-radius: 6px !important;
}
html body.site.netzneon .nn-user-dropdown a[href*="logout"] i,
html body.site.netzneon .nn-user-dropdown .nn-user-dropdown__item--danger i,
html body.site.netzneon #nn-user-dropdown a[href*="logout"] i,
html body.site.netzneon #nn-user-dropdown .nn-user-dropdown__item--danger i {
  color: #ff4d4d !important;
}
html body.site.netzneon .nn-user-dropdown a[href*="logout"]:hover,
html body.site.netzneon .nn-user-dropdown .nn-user-dropdown__item--danger:hover,
html body.site.netzneon #nn-user-dropdown a[href*="logout"]:hover,
html body.site.netzneon #nn-user-dropdown .nn-user-dropdown__item--danger:hover,
html body.site.netzneon .nn-user-dropdown a[href*="logout"]:focus-visible,
html body.site.netzneon .nn-user-dropdown .nn-user-dropdown__item--danger:focus-visible {
  background-color: #dc3545 !important;
  color: #ffffff !important;
  box-shadow: inset 3px 0 0 #ffb3b8 !important;
}
html body.site.netzneon .nn-user-dropdown a[href*="logout"]:hover i,
html body.site.netzneon .nn-user-dropdown .nn-user-dropdown__item--danger:hover i,
html body.site.netzneon #nn-user-dropdown a[href*="logout"]:hover i,
html body.site.netzneon #nn-user-dropdown .nn-user-dropdown__item--danger:hover i {
  color: #ffffff !important;
}

/* User-Pfeil: keine CSS-Rotation mehr erzwingen (Icon-Swap via JS) */
html body.site.netzneon .nn-user-trigger__caret,
html body.site.netzneon .nn-user-trigger__caret i,
html body.site.netzneon #nn-user-trigger[aria-expanded="true"] .nn-user-trigger__caret,
html body.site.netzneon #nn-user-trigger[aria-expanded="true"] .nn-user-trigger__caret i,
html body.site.netzneon .nn-user-menu.is-open .nn-user-trigger__caret,
html body.site.netzneon .nn-user-menu.is-open .nn-user-trigger__caret i {
  transform: none !important;
}

/* ==========================================================================
   1.6.189 – Speichern-Dropdown Icons (SVG-Disketten) + Abstand wie Profil
   ========================================================================== */
html body.site.netzneon #nn-save-split-menu.dropdown-menu .btn,
html body.site.netzneon #nn-save-split-menu.dropdown-menu .btn.btn-primary,
html body.site.netzneon #nn-save-split-menu.dropdown-menu button,
html body.site.netzneon #nn-save-split-menu .nn-save-split__item {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

html body.site.netzneon #nn-save-split-menu .nn-save-split__icon-wrap,
html body.site.netzneon #nn-save-split-menu .nn-save-split__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  color: #3dce62 !important;
  fill: currentColor !important;
}

html body.site.netzneon #nn-save-split-menu .nn-save-split__icon svg,
html body.site.netzneon #nn-save-split-menu svg.nn-save-split__icon {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  color: inherit !important;
  fill: currentColor !important;
}

html body.site.netzneon #nn-save-split-menu .btn i,
html body.site.netzneon #nn-save-split-menu .dropdown-item i,
html body.site.netzneon #nn-save-split-menu .btn span.icon,
html body.site.netzneon #nn-save-split-menu .dropdown-item span.icon {
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: #3dce62 !important;
  width: 16px !important;
  font-size: 16px !important;
  text-align: center !important;
}

html body.site.netzneon #nn-save-split-menu .btn:hover,
html body.site.netzneon #nn-save-split-menu .btn.btn-primary:hover,
html body.site.netzneon #nn-save-split-menu button:hover,
html body.site.netzneon #nn-save-split-menu .nn-save-split__item:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.site.netzneon #nn-save-split-menu .btn:hover .nn-save-split__icon-wrap,
html body.site.netzneon #nn-save-split-menu .btn:hover .nn-save-split__icon,
html body.site.netzneon #nn-save-split-menu button:hover .nn-save-split__icon-wrap,
html body.site.netzneon #nn-save-split-menu button:hover .nn-save-split__icon,
html body.site.netzneon #nn-save-split-menu .btn:hover i,
html body.site.netzneon #nn-save-split-menu button:hover i {
  color: #ffffff !important;
  fill: currentColor !important;
}

/* ==========================================================================
   1.6.190 – Split-Button Höhe = Abbrechen/Versionen (38px)
   ========================================================================== */
html body.site.netzneon #nn-save-split,
html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split,
html body.site.netzneon #nn-save-split.btn-group {
  box-sizing: border-box !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  align-items: stretch !important;
  margin: 5px !important;
  vertical-align: middle !important;
}

html body.site.netzneon.com_content.view-form.nn-article-form #nn-save-split > button.btn.btn-primary,
html body.site.netzneon #nn-save-split > button.btn.btn-primary,
html body.site.netzneon #nn-save-split > .nn-save-split__main,
html body.site.netzneon #nn-save-split > .nn-save-split__toggle {
  box-sizing: border-box !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* ==========================================================================
   1.6.192 – Suchen/Ersetzen: nur CSS (TinyMCE-Logik), Fokus weg, Drag
   ========================================================================== */
html body .tox-dialog .btn[disabled],
html body .tox-dialog .tox-button[disabled],
html body .tox-dialog .tox-button--icon[disabled],
html body.site.netzneon .tox-dialog .btn[disabled],
html body.site.netzneon .tox-dialog .tox-button[disabled],
html body.site.netzneon .tox-dialog .tox-button--icon[disabled],
html body.site.netzneon .tox-tinymce-aux .tox-dialog .btn[disabled],
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button[disabled],
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon[disabled] {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: grayscale(80%) !important;
  box-shadow: none !important;
}

/* Nur Outline killen – box-shadow bleibt Hover überlassen (siehe 1.6.193) */
html body .tox-dialog .btn:focus,
html body .tox-dialog .btn:active,
html body .tox-dialog .tox-button:focus,
html body .tox-dialog .tox-button:active,
html body .tox-dialog .tox-button--icon:focus,
html body .tox-dialog .tox-button--icon:active,
html body.site.netzneon .tox-dialog .btn:focus,
html body.site.netzneon .tox-dialog .btn:active,
html body.site.netzneon .tox-dialog .tox-button:focus,
html body.site.netzneon .tox-dialog .tox-button:active,
html body.site.netzneon .tox-dialog .tox-button--icon:focus,
html body.site.netzneon .tox-dialog .tox-button--icon:active,
html body.site.netzneon .tox .tox-dialog .tox-button:focus,
html body.site.netzneon .tox .tox-dialog .tox-button:active,
html body.site.netzneon .tox .tox-dialog .tox-button:focus-visible,
html body.site.netzneon .tox .tox-dialog .tox-button--icon:focus,
html body.site.netzneon .tox .tox-dialog .tox-button--icon:active,
html body.site.netzneon .tox .tox-dialog .tox-button--icon:focus-visible,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus-visible,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
}

html body .tox-dialog__header,
html body.site.netzneon .tox-dialog__header,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header,
html body.site.netzneon .tox-dialog__draghandle,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__draghandle {
  cursor: grab !important;
  pointer-events: auto !important;
}

html body .tox-dialog__header:active,
html body.site.netzneon .tox-dialog__header:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header:active,
html body.site.netzneon .tox-dialog__draghandle:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__draghandle:active {
  cursor: grabbing !important;
}

html body.site.netzneon .tox-dialog__header .tox-button,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button {
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Inline-Dialog: nur der Dialog fängt Events (Alloy-Parent bleibt pe:none – siehe 1.6.193) */
html body.site.netzneon .tox-tinymce-aux .tox-dialog,
html body.site.netzneon .tox-silver-sink .tox-dialog,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-inline,
html body.site.netzneon .tox-silver-sink .tox-dialog-inline {
  pointer-events: auto !important;
}

/* ==========================================================================
   1.6.193 – Dialog: Fokus ≠ Hover-Glow; Drag wie TinyMCE (Alloy pe:none)
   ========================================================================== */

/* Fokus/Active im Dialog: KEIN Hover-Neon-Rahmen. Hover-Regeln bleiben unangetastet. */
html body.site.netzneon .tox-dialog .tox-button:focus:not(:hover),
html body.site.netzneon .tox-dialog .tox-button:focus-visible:not(:hover),
html body.site.netzneon .tox-dialog .tox-button:active:not(:hover),
html body.site.netzneon .tox-dialog .tox-button--icon:focus:not(:hover),
html body.site.netzneon .tox-dialog .tox-button--icon:focus-visible:not(:hover),
html body.site.netzneon .tox-dialog .tox-button--icon:active:not(:hover),
html body.site.netzneon .tox-dialog .tox-tbtn:focus:not(:hover),
html body.site.netzneon .tox-dialog .tox-tbtn:focus-visible:not(:hover),
html body.site.netzneon .tox-dialog .tox-tbtn:active:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus-visible:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:active:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus-visible:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:active:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:focus-visible:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:active:not(:hover) {
  outline: none !important;
  outline-offset: 0 !important;
}

/* Primär (Suchen): Fokus = Ruhezustand, nicht Hover-Glow */
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):focus-visible:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):active:not(:hover),
html body.site.netzneon .tox .tox-dialog .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):focus:not(:hover),
html body.site.netzneon .tox .tox-dialog .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):active:not(:hover) {
  background: linear-gradient(to bottom, #3dce62, #0c6b30) !important;
  background-image: linear-gradient(to bottom, #3dce62, #0c6b30) !important;
  border: 1px solid rgba(80, 255, 120, 0.75) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
  transform: none !important;
}

/* Sekundär (Ersetzen): Fokus = Ruhezustand */
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--secondary:not(.tox-button--naked):focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--secondary:not(.tox-button--naked):focus-visible:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--secondary:not(.tox-button--naked):active:not(:hover),
html body.site.netzneon .tox .tox-dialog .tox-button--secondary:not(.tox-button--naked):focus:not(:hover),
html body.site.netzneon .tox .tox-dialog .tox-button--secondary:not(.tox-button--naked):active:not(:hover) {
  background: linear-gradient(to bottom, #1e293b, #0f172a) !important;
  background-image: linear-gradient(to bottom, #1e293b, #0f172a) !important;
  border: 1px solid #334155 !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
  transform: none !important;
}

/* Icon-/Naked-Buttons (Pfeile, X): Fokus ohne extra Rahmen/Glow */
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus-visible:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:active:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--naked:focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--naked:active:not(:hover),
html body.site.netzneon .tox .tox-dialog .tox-button--icon:focus:not(:hover),
html body.site.netzneon .tox .tox-dialog .tox-button--icon:active:not(:hover) {
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Einstellungen (tox-tbtn) im Dialog */
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:focus-visible:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:active:not(:hover) {
  box-shadow: none !important;
  outline: none !important;
}

/* WICHTIG: NIEMALS [data-alloy-placement]{pointer-events:none} –
   TinyMCE-Menüs (Absatz/Überschrift) tragen dasselbe Attribut und wären tot. */
html body.site.netzneon .tox-tinymce-aux .tox-dialog,
html body.site.netzneon .tox-silver-sink .tox-dialog,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-inline,
html body.site.netzneon .tox-silver-sink .tox-dialog-inline,
html body.site.netzneon .tox-tinymce-aux .tox-menu,
html body.site.netzneon .tox-silver-sink .tox-menu,
html body.site.netzneon .tox-tinymce-aux .tox-collection,
html body.site.netzneon .tox-silver-sink .tox-collection,
html body.site.netzneon .tox-tinymce-aux .tox-pop,
html body.site.netzneon .tox-silver-sink .tox-pop,
html body.site.netzneon .tox-tinymce-aux .tox-tiered-menu,
html body.site.netzneon .tox-silver-sink .tox-tiered-menu {
  pointer-events: auto !important;
}

html body.site.netzneon .tox-dialog__header,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header,
html body.site.netzneon .tox-dialog__draghandle,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__draghandle {
  cursor: grab !important;
  pointer-events: auto !important;
}

html body.site.netzneon .tox-dialog__header:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header:active,
html body.site.netzneon .tox-dialog__draghandle:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__draghandle:active {
  cursor: grabbing !important;
}

/* Titel darf den Draghandle nicht abfangen */
html body.site.netzneon .tox-dialog__title,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__title {
  pointer-events: none !important;
  cursor: grab !important;
}

html body.site.netzneon .tox-dialog__header .tox-button,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__header .tox-button {
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* ==========================================================================
   1.6.194 – Dialog-Fokus endgültig tot (TinyMCE #0060ce) + Drag-Cursor
   ========================================================================== */

/* TinyMCE Focus-Variablen im Dialog/Sink neutralisieren */
html body.site.netzneon .tox-dialog,
html body.site.netzneon .tox-tinymce-aux,
html body.site.netzneon .tox-silver-sink,
html body.site.netzneon .tox {
  --tox-private-button-focus-border-color: transparent !important;
  --tox-private-button-primary-focus-border-color: transparent !important;
  --tox-private-button-secondary-focus-border-color: transparent !important;
  --tox-private-button-naked-focus-border-color: transparent !important;
  --tox-private-button-focus-box-shadow: none !important;
  --tox-private-button-primary-focus-box-shadow: none !important;
  --tox-private-button-secondary-focus-box-shadow: none !important;
  --tox-private-button-naked-focus-box-shadow: none !important;
}

/* Jeder Dialog-Button: Fokus/Active ohne Rahmen (Hover unverändert) */
html body.site.netzneon .tox-dialog .tox-button:focus,
html body.site.netzneon .tox-dialog .tox-button:focus-visible,
html body.site.netzneon .tox-dialog .tox-button:active,
html body.site.netzneon .tox-dialog .tox-button--icon:focus,
html body.site.netzneon .tox-dialog .tox-button--icon:focus-visible,
html body.site.netzneon .tox-dialog .tox-button--icon:active,
html body.site.netzneon .tox-dialog .tox-button--naked:focus,
html body.site.netzneon .tox-dialog .tox-button--naked:focus-visible,
html body.site.netzneon .tox-dialog .tox-button--naked:active,
html body.site.netzneon .tox-dialog .tox-tbtn:focus,
html body.site.netzneon .tox-dialog .tox-tbtn:focus-visible,
html body.site.netzneon .tox-dialog .tox-tbtn:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus-visible,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus-visible,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--naked:focus,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--naked:focus-visible,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--naked:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:focus,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:focus-visible,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:active,
html body.site.netzneon .tox .tox-dialog .tox-button:focus:not(:disabled),
html body.site.netzneon .tox .tox-dialog .tox-button--naked:focus:not(:disabled),
html body.site.netzneon .tox .tox-dialog .tox-button--icon:focus:not(:disabled) {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* Naked/Icon-Pfeile: Fokus darf keinen Border/Hintergrund setzen */
html body.site.netzneon .tox-dialog .tox-button--icon:focus,
html body.site.netzneon .tox-dialog .tox-button--icon:focus-visible,
html body.site.netzneon .tox-dialog .tox-button--icon:active,
html body.site.netzneon .tox-dialog .tox-button--naked:focus,
html body.site.netzneon .tox-dialog .tox-button--naked:focus-visible,
html body.site.netzneon .tox-dialog .tox-button--naked:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus-visible,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--naked:focus,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--naked:focus-visible,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--naked:active,
html body.site.netzneon .tox .tox-dialog .tox-button--naked:focus:not(:disabled),
html body.site.netzneon .tox .tox-dialog .tox-button--icon:focus:not(:disabled) {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid transparent !important;
  border-color: transparent !important;
  filter: none !important;
  transform: none !important;
}

/* Primär/Sekundär Fokus ohne Hover = Ruhe (kein Neon-Rahmen) */
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):focus-visible:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked):active:not(:hover) {
  background: linear-gradient(to bottom, #3dce62, #0c6b30) !important;
  background-image: linear-gradient(to bottom, #3dce62, #0c6b30) !important;
  border: 1px solid rgba(80, 255, 120, 0.75) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
}

html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--secondary:not(.tox-button--naked):focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--secondary:not(.tox-button--naked):focus-visible:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--secondary:not(.tox-button--naked):active:not(:hover) {
  background: linear-gradient(to bottom, #1e293b, #0f172a) !important;
  background-image: linear-gradient(to bottom, #1e293b, #0f172a) !important;
  border: 1px solid #334155 !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
}

body.nn-tox-dialog-dragging,
body.nn-tox-dialog-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
}

/* ==========================================================================
   1.6.195 – Dropdowns wieder klickbar (kein pe:none auf Alloy-Placement)
   ========================================================================== */

/* ==========================================================================
   1.6.196 – TinyMCE Fokus-Ring ist ::before (weiß+blau), nicht outline
   ========================================================================== */
html body.site.netzneon .tox-dialog .tox-button:focus::before,
html body.site.netzneon .tox-dialog .tox-button:focus-visible::before,
html body.site.netzneon .tox-dialog .tox-button:active::before,
html body.site.netzneon .tox-dialog .tox-button--icon:focus::before,
html body.site.netzneon .tox-dialog .tox-button--icon:focus-visible::before,
html body.site.netzneon .tox-dialog .tox-button--icon:active::before,
html body.site.netzneon .tox-dialog .tox-button--naked:focus::before,
html body.site.netzneon .tox-dialog .tox-button--naked:focus-visible::before,
html body.site.netzneon .tox-dialog .tox-button--naked:active::before,
html body.site.netzneon .tox-dialog .tox-tbtn:focus::before,
html body.site.netzneon .tox-dialog .tox-tbtn:focus-visible::before,
html body.site.netzneon .tox-dialog .tox-tbtn:active::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus-visible::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:active::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:focus-visible::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon:active::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--naked:focus::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--naked:focus-visible::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--naked:active::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:focus::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:focus-visible::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-tbtn:active::before,
html body.site.netzneon .tox .tox-dialog .tox-button:focus:not(:disabled)::before,
html body.site.netzneon .tox .tox-dialog .tox-button--naked:focus:not(:disabled)::before,
html body.site.netzneon .tox .tox-dialog .tox-button--icon:focus:not(:disabled)::before,
html body.site.netzneon .tox-dialog .tox-button:focus::after,
html body.site.netzneon .tox-dialog .tox-button:focus-visible::after,
html body.site.netzneon .tox-dialog .tox-button:active::after,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus::after,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus-visible::after,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:active::after {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: 0 none transparent !important;
  outline: none !important;
  background: transparent !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  inset: auto !important;
}

/* Fokus-Outline kommt von TinyMCE-Var --tox-private-button-focus-outline am ::before */
html body.site.netzneon .tox-dialog,
html body.site.netzneon .tox-tinymce-aux .tox-dialog,
html body.site.netzneon .tox.tox-tinymce-aux {
  --tox-private-button-focus-outline: none !important;
}

html body.site.netzneon .tox-dialog .tox-button::before,
html body.site.netzneon .tox-dialog .tox-button:focus::before,
html body.site.netzneon .tox-dialog .tox-button:focus-visible::before,
html body.site.netzneon .tox-dialog .tox-button:active::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:focus-visible::before,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button:active::before,
html body.site.netzneon .tox .tox-dialog .tox-button::before,
html body.site.netzneon .tox .tox-dialog .tox-button:focus::before,
html body.site.netzneon .tox .tox-dialog .tox-button:focus:not(:disabled)::before {
  opacity: 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: 0 none transparent !important;
  outline: none !important;
}

/* ==========================================================================
   1.6.198 – Dropdown-Menü-Basis + Tooltips
   ========================================================================== */
html body .tox .tox-menu,
html body.site.netzneon .tox .tox-menu,
html body.site.netzneon .tox-tinymce-aux .tox-menu,
html body.site.netzneon .tox-silver-sink .tox-menu {
  background-color: #0f172a !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 10px rgba(61, 206, 98, 0.1) !important;
  border-radius: 8px !important;
}

html body .tox-tooltip,
html body.site.netzneon .tox-tooltip,
html body.site.netzneon .tox .tox-tooltip,
html body.site.netzneon .tox-tinymce-aux .tox-tooltip,
html body.site.netzneon:not(.nn-tip-suppress) .tox-tooltip,
html body.site.netzneon:not(.nn-tip-suppress) .tox-tinymce-aux .tox-tooltip {
  z-index: 9999999 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==========================================================================
   1.6.200 – Menüs: kein klebender --active-Grünfokus;
             ausgewählter Punkt [aria-checked="true"]/--enabled halbtransparent
             grün + klare weiße Icons/Schrift; 10x10 Tabellen-Picker + Tabellen
   ========================================================================== */

/* A) Klebenden TinyMCE-Fokus (--active/:focus OHNE :hover) in ALLEN Menüs neutralisieren */
html body.site.netzneon .tox .tox-collection__item--active:not(:hover):not([aria-checked="true"]):not(.tox-collection__item--enabled),
html body.site.netzneon .tox .tox-collection__item:focus:not(:hover):not([aria-checked="true"]):not(.tox-collection__item--enabled),
html body.site.netzneon .tox-tinymce-aux .tox-collection__item--active:not(:hover):not([aria-checked="true"]):not(.tox-collection__item--enabled),
html body.site.netzneon .tox-tinymce-aux .tox-collection__item:focus:not(:hover):not([aria-checked="true"]):not(.tox-collection__item--enabled),
html body.site.netzneon.com_content.view-form .tox .tox-collection__item--active:not(:hover):not([aria-checked="true"]):not(.tox-collection__item--enabled),
html body.site.netzneon.com_content.view-form .tox .tox-collection__item:focus:not(:hover):not([aria-checked="true"]):not(.tox-collection__item--enabled),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection__item--active:not(:hover):not([aria-checked="true"]):not(.tox-collection__item--enabled),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection__item:focus:not(:hover):not([aria-checked="true"]):not(.tox-collection__item--enabled),
html body.site.netzneon .tox .tox-collection--toolbar .tox-collection__item--active:not(:hover):not([aria-checked="true"]):not(.tox-collection__item--enabled),
html body.site.netzneon .tox-tinymce-aux .tox-collection--toolbar .tox-collection__item--active:not(:hover):not([aria-checked="true"]):not(.tox-collection__item--enabled),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection--toolbar .tox-collection__item--active:not(:hover):not([aria-checked="true"]):not(.tox-collection__item--enabled) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* B) Ausgewählter Punkt (Punkt 1: aria-checked="true" / --enabled):
      halbtransparent grün wie gewünscht + klare weiße Schrift/Icons */
html body.site.netzneon .tox .tox-collection__item[aria-checked="true"],
html body.site.netzneon .tox .tox-collection__item--enabled,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item[aria-checked="true"],
html body.site.netzneon .tox-tinymce-aux .tox-collection__item--enabled,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"],
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item--enabled,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"]:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"].tox-collection__item--active:not(:hover),
html body.site.netzneon.com_content.view-form .tox .tox-collection__item[aria-checked="true"],
html body.site.netzneon.com_content.view-form .tox .tox-collection__item--enabled,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection__item[aria-checked="true"],
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection__item--enabled,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"],
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"].tox-collection__item--active:not(:hover) {
  background: rgba(61, 206, 98, 0.2) !important;
  background-color: rgba(61, 206, 98, 0.2) !important;
  background-image: none !important;
  border: 1px solid rgba(61, 206, 98, 0.55) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  outline: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Hover auf ausgewähltem Punkt: etwas kräftiger halbtransparent grün */
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"]:hover,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item--enabled:hover,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"]:hover,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item--enabled:hover {
  background: rgba(61, 206, 98, 0.32) !important;
  background-color: rgba(61, 206, 98, 0.32) !important;
  background-image: none !important;
  border: 1px solid rgba(77, 255, 120, 0.8) !important;
  border-radius: 6px !important;
  box-shadow: 0 0 10px rgba(61, 206, 98, 0.28) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Icons + Text im ausgewählten Punkt klar weiß (auch SVG-Pfade/Fills mit Opacity) */
html body.site.netzneon .tox .tox-collection__item[aria-checked="true"] *,
html body.site.netzneon .tox .tox-collection__item--enabled *,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item[aria-checked="true"] *,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item--enabled *,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection__item[aria-checked="true"] *,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection__item--enabled * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.site.netzneon .tox .tox-collection__item[aria-checked="true"] svg,
html body.site.netzneon .tox .tox-collection__item[aria-checked="true"] svg *,
html body.site.netzneon .tox .tox-collection__item--enabled svg,
html body.site.netzneon .tox .tox-collection__item--enabled svg *,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item[aria-checked="true"] svg,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item[aria-checked="true"] svg *,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item--enabled svg,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item--enabled svg * {
  fill: #ffffff !important;
  fill-opacity: 0.95 !important;
  opacity: 1 !important;
}

/* C) Echter Maus-Hover auf normalen (nicht ausgewählten) Punkten im Listen-Toolbar-Menü */
html body.site.netzneon .tox-tinymce-aux .tox-collection--toolbar .tox-collection__item:hover:not([aria-checked="true"]):not(.tox-collection__item--enabled),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection--toolbar .tox-collection__item:hover:not([aria-checked="true"]):not(.tox-collection__item--enabled) {
  background: rgba(30, 41, 59, 0.85) !important;
  background-color: rgba(30, 41, 59, 0.85) !important;
  background-image: none !important;
  border: 1px solid rgba(148, 163, 184, 0.55) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

html body.site.netzneon .tox-tinymce-aux .tox-collection--toolbar .tox-collection__item:hover svg,
html body.site.netzneon .tox-tinymce-aux .tox-collection--toolbar .tox-collection__item:hover svg * {
  fill: #ffffff !important;
  fill-opacity: 0.95 !important;
}

/* Kein blauer/weißer Fokusring in Collection-Items */
html body.site.netzneon .tox .tox-collection__item::before,
html body.site.netzneon .tox .tox-collection__item::after,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item::before,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item::after {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
  outline: none !important;
  border: 0 !important;
  opacity: 0 !important;
}

/* D) Tabellen-Picker 10×10 exakt + 3D-Tasten */
html body.site.netzneon .tox .tox-insert-table-picker,
html body.site.netzneon .tox-tinymce-aux .tox-insert-table-picker {
  width: 190px !important;
  padding: 6px 10px 8px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: wrap !important;
  background: #0f172a !important;
}

html body.site.netzneon .tox .tox-insert-table-picker > div[role="button"],
html body.site.netzneon .tox-tinymce-aux .tox-insert-table-picker > div[role="button"],
html body.site.netzneon .tox-insert-table-picker .tox-insert-table-picker__unselected {
  width: 17px !important;
  height: 17px !important;
  flex: 0 0 17px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  background-clip: padding-box !important;
  border: 1.5px solid #0f172a !important;
  border-radius: 3px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55) !important;
  outline: none !important;
}

html body.site.netzneon .tox .tox-insert-table-picker > div.tox-insert-table-picker__selected,
html body.site.netzneon .tox-tinymce-aux .tox-insert-table-picker > div.tox-insert-table-picker__selected,
html body.site.netzneon .tox-insert-table-picker .tox-insert-table-picker__selected {
  width: 17px !important;
  height: 17px !important;
  flex: 0 0 17px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-clip: padding-box !important;
  border: 1.5px solid #091220 !important;
  border-radius: 3px !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px rgba(0, 0, 0, 0.5),
    0 0 4px rgba(61, 206, 98, 0.45) !important;
  outline: none !important;
}

html body.site.netzneon .tox .tox-insert-table-picker .tox-insert-table-picker__label,
html body.site.netzneon .tox-tinymce-aux .tox-insert-table-picker .tox-insert-table-picker__label {
  width: 100% !important;
  flex: 0 0 100% !important;
  margin: 8px 0 2px !important;
  text-align: center !important;
  color: #f1f5f9 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

/* E) Modernes Standarddesign für Tabellen im Frontend / Beitrags-Content */
html body.site.netzneon main table:not(.calendar):not(.table-borderless),
html body.site.netzneon .com-content-article table,
html body.site.netzneon .item-page table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(0, 210, 255, 0.32) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 12px rgba(0, 210, 255, 0.08) !important;
  color: #e2e8f0 !important;
  margin: 1rem 0 !important;
}

html body.site.netzneon main table:not(.calendar) th,
html body.site.netzneon .com-content-article table th,
html body.site.netzneon .item-page table th {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  color: #f8fafc !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  border-bottom: 1px solid rgba(0, 210, 255, 0.35) !important;
  border-right: 1px solid rgba(51, 65, 85, 0.65) !important;
}

html body.site.netzneon main table:not(.calendar) td,
html body.site.netzneon .com-content-article table td,
html body.site.netzneon .item-page table td {
  padding: 9px 14px !important;
  border-bottom: 1px solid rgba(51, 65, 85, 0.55) !important;
  border-right: 1px solid rgba(51, 65, 85, 0.45) !important;
  color: #e2e8f0 !important;
  background: rgba(10, 19, 36, 0.55) !important;
}

html body.site.netzneon main table:not(.calendar) tr:nth-child(even) td,
html body.site.netzneon .com-content-article table tr:nth-child(even) td,
html body.site.netzneon .item-page table tr:nth-child(even) td {
  background: rgba(30, 41, 59, 0.42) !important;
}

html body.site.netzneon main table:not(.calendar) tr:hover td,
html body.site.netzneon .com-content-article table tr:hover td,
html body.site.netzneon .item-page table tr:hover td {
  background: rgba(0, 210, 255, 0.08) !important;
}

html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"] .tox-collection__item-icon svg,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"] .tox-collection__item-icon svg *,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item--enabled .tox-collection__item-icon svg,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item--enabled .tox-collection__item-icon svg *,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"] .tox-collection__item-icon svg,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-checked="true"] .tox-collection__item-icon svg *,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item--enabled .tox-collection__item-icon svg,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item--enabled .tox-collection__item-icon svg *,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item:hover .tox-collection__item-icon svg,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item:hover .tox-collection__item-icon svg *,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item:hover .tox-collection__item-icon svg,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item:hover .tox-collection__item-icon svg * {
  fill: #ffffff !important;
  color: #ffffff !important;
  fill-opacity: 0.96 !important;
  opacity: 1 !important;
}

/* ==========================================================================
   1.6.201 – Split-Button: Pfeil daneben mitgrün wenn Hauptbutton aktiv;
             Untermenü-Elterneintrag (aria-expanded="true") behält blauen Hover
   ========================================================================== */

/* 1) Bild 1: Haupt-Splitbutton aktiv (.tox-tbtn--enabled / aria-pressed="true")
      → direkt folgender Chevron-Button (.tox-split-button__chevron) bekommt dasselbe Grün + weißes Icon */
html body.site.netzneon .tox .tox-tbtn.tox-tbtn--enabled + .tox-split-button__chevron,
html body.site.netzneon .tox .tox-tbtn[aria-pressed="true"] + .tox-split-button__chevron,
html body.site.netzneon .tox .tox-split-button:has(.tox-tbtn--enabled) > .tox-split-button__chevron,
html body.site.netzneon .tox .tox-split-button:has(.tox-tbtn[aria-pressed="true"]) > .tox-split-button__chevron,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn.tox-tbtn--enabled + .tox-split-button__chevron,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn[aria-pressed="true"] + .tox-split-button__chevron,
html body.site.netzneon.com_content.view-form .tox .tox-split-button:has(.tox-tbtn--enabled) > .tox-split-button__chevron,
html body.site.netzneon.com_content.view-form .tox .tox-split-button:has(.tox-tbtn[aria-pressed="true"]) > .tox-split-button__chevron {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.75) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Hover auf aktivem Split-Paar: beide Hälften leuchten hellgrün */
html body.site.netzneon .tox .tox-tbtn.tox-tbtn--enabled:hover + .tox-split-button__chevron,
html body.site.netzneon .tox .tox-tbtn.tox-tbtn--enabled + .tox-split-button__chevron:hover,
html body.site.netzneon .tox .tox-tbtn[aria-pressed="true"]:hover + .tox-split-button__chevron,
html body.site.netzneon .tox .tox-tbtn[aria-pressed="true"] + .tox-split-button__chevron:hover,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn.tox-tbtn--enabled:hover + .tox-split-button__chevron,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn.tox-tbtn--enabled + .tox-split-button__chevron:hover,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn[aria-pressed="true"]:hover + .tox-split-button__chevron,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn[aria-pressed="true"] + .tox-split-button__chevron:hover {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border: 1px solid #4dff78 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

html body.site.netzneon .tox .tox-tbtn.tox-tbtn--enabled + .tox-split-button__chevron svg,
html body.site.netzneon .tox .tox-tbtn.tox-tbtn--enabled + .tox-split-button__chevron svg *,
html body.site.netzneon .tox .tox-tbtn[aria-pressed="true"] + .tox-split-button__chevron svg,
html body.site.netzneon .tox .tox-tbtn[aria-pressed="true"] + .tox-split-button__chevron svg *,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn.tox-tbtn--enabled + .tox-split-button__chevron svg,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn.tox-tbtn--enabled + .tox-split-button__chevron svg *,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn[aria-pressed="true"] + .tox-split-button__chevron svg,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn[aria-pressed="true"] + .tox-split-button__chevron svg * {
  fill: #ffffff !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* 2) Bild 2 & 3: Menüpunkt mit geöffnetem Untermenü (z. B. „Tabelle“, aria-expanded="true")
      behält den blauen Neon-Hover-Effekt von Bild 3, solange man im Untermenü ist */
html body.site.netzneon .tox .tox-menu .tox-collection__item[aria-expanded="true"],
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"],
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"].tox-collection__item--active:not(:hover),
html body.site.netzneon.com_content.view-form .tox .tox-menu .tox-collection__item[aria-expanded="true"],
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"],
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"].tox-collection__item--active:not(:hover) {
  background: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  background-image: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.8) !important;
  border-radius: 6px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 2px 0 #04243f,
    0 4px 8px rgba(0, 0, 0, 0.45),
    0 0 10px rgba(0, 210, 255, 0.35) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  outline: none !important;
}

html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"] *,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"] svg,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"] svg *,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"] *,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"] svg,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"] svg * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  fill: #ffffff !important;
}

/* ==========================================================================
   1.6.202 – Dropdown-Einträge: Abstand, stabiler Border, weißes Häkchen
   ========================================================================== */

/* 1) Vertikaler Zwischenraum zwischen Menüeinträgen */
html body .tox-collection__item,
html body.site.netzneon .tox-collection__item,
html body.site.netzneon .tox .tox-collection__item,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item {
  margin-bottom: 3px !important;
}

html body .tox-collection__item:last-child,
html body.site.netzneon .tox-collection__item:last-child,
html body.site.netzneon .tox .tox-collection__item:last-child,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item:last-child {
  margin-bottom: 0 !important;
}

/* 2) Immer 1px Border (transparent im Ruhezustand) – kein Layout-Sprung */
html body .tox-collection__item,
html body.site.netzneon .tox-collection__item,
html body.site.netzneon .tox .tox-collection__item,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item {
  border: 1px solid transparent !important;
  box-sizing: border-box !important;
}

html body .tox .tox-collection__item--active,
html body .tox .tox-collection__item:focus,
html body .tox .tox-collection__item:hover,
html body.site.netzneon .tox .tox-collection__item--active,
html body.site.netzneon .tox .tox-collection__item:focus,
html body.site.netzneon .tox .tox-collection__item:hover,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item--active,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item:focus,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item:hover {
  border: 1px solid rgba(61, 206, 98, 0.5) !important;
}

/* Geöffneter Untermenü-Parent (aria-expanded) behält Cyan-Border von Bild 3 */
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"],
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-expanded="true"] {
  border: 1px solid rgba(0, 210, 255, 0.8) !important;
}

/* 3) Checkmark / Icon bei aktiven Einträgen weiß */
html body .tox .tox-collection__item--active .tox-icon svg,
html body.site.netzneon .tox .tox-collection__item--active .tox-icon svg,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item--active .tox-icon svg,
html body.site.netzneon .tox .tox-collection__item--active .tox-collection__item-checkmark svg,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item--active .tox-collection__item-checkmark svg,
html body.site.netzneon .tox .tox-collection__item[aria-checked="true"] .tox-collection__item-checkmark svg,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item[aria-checked="true"] .tox-collection__item-checkmark svg,
html body.site.netzneon .tox .tox-collection__item--enabled .tox-collection__item-checkmark svg,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item--enabled .tox-collection__item-checkmark svg {
  fill: #ffffff !important;
}

/* ==========================================================================
   1.6.203 – Horizontale Menü-Abstände, Disabled-Zustand, Pointer-Cursor
   ========================================================================== */

/* 1) Horizontaler Zwischenraum bei nebeneinanderliegenden Menüeinträgen
   (Listen-Styles nutzen tox-collection--toolbar, nicht nur --horizontal) */
html body .tox-collection--horizontal .tox-collection__item,
html body .tox-collection--toolbar .tox-collection__item,
html body.site.netzneon .tox-collection--horizontal .tox-collection__item,
html body.site.netzneon .tox-collection--toolbar .tox-collection__item,
html body.site.netzneon .tox-tinymce-aux .tox-collection--horizontal .tox-collection__item,
html body.site.netzneon .tox-tinymce-aux .tox-collection--toolbar .tox-collection__item {
  margin-right: 3px !important;
}
html body .tox-collection--horizontal .tox-collection__item:last-child,
html body .tox-collection--toolbar .tox-collection__item:last-child,
html body.site.netzneon .tox-collection--horizontal .tox-collection__item:last-child,
html body.site.netzneon .tox-collection--toolbar .tox-collection__item:last-child,
html body.site.netzneon .tox-tinymce-aux .tox-collection--horizontal .tox-collection__item:last-child,
html body.site.netzneon .tox-tinymce-aux .tox-collection--toolbar .tox-collection__item:last-child {
  margin-right: 0 !important;
}

/* 2) Disabled: abdunkeln, kein not-allowed-Cursor
   (höhere Spezifität gegen bestehende filter:none auf .tox-tbtn) */
html body .tox .tox-tbtn--disabled,
html body .tox .tox-tbtn--disabled:hover,
html body .tox .tox-collection__item--state-disabled,
html body .tox .tox-tbtn[aria-disabled="true"],
html body .tox .tox-collection__item[aria-disabled="true"],
html body.site.netzneon .tox .tox-tbtn--disabled,
html body.site.netzneon .tox .tox-tbtn--disabled:hover,
html body.site.netzneon .tox .tox-collection__item--state-disabled,
html body.site.netzneon .tox .tox-tbtn[aria-disabled="true"],
html body.site.netzneon .tox .tox-collection__item[aria-disabled="true"],
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--disabled,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--disabled:hover,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn[aria-disabled="true"],
html body.site.netzneon.com_content.view-form .tox .tox-collection__item--state-disabled,
html body.site.netzneon.com_content.view-form .tox .tox-collection__item[aria-disabled="true"],
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection__item--state-disabled,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection__item[aria-disabled="true"] {
  opacity: 0.3 !important;
  filter: grayscale(100%) !important;
  cursor: default !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
  pointer-events: none !important;
}

/* TinyMCE setzt not-allowed auch auf das Label – mitüberschreiben */
html body .tox .tox-tbtn--disabled .tox-tbtn__select-label,
html body .tox .tox-tbtn[aria-disabled="true"] .tox-tbtn__select-label,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--disabled .tox-tbtn__select-label,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn[aria-disabled="true"] .tox-tbtn__select-label {
  cursor: default !important;
}

/* 3) Einheitlicher Handcursor für klickbare Toolbar-/Menü-Elemente */
html body .tox .tox-tbtn:not(.tox-tbtn--disabled):not([aria-disabled="true"]),
html body .tox .tox-collection__item:not(.tox-collection__item--state-disabled):not([aria-disabled="true"]),
html body .tox .tox-mbtn,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn:not(.tox-tbtn--disabled):not([aria-disabled="true"]),
html body.site.netzneon.com_content.view-form .tox .tox-mbtn,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection__item:not(.tox-collection__item--state-disabled):not([aria-disabled="true"]) {
  cursor: pointer !important;
}

/* ==========================================================================
   1.6.204 – Toolbar responsiv: keine Gruppen-Trenner, saubere Wrap-Gaps
   ========================================================================== */

/* 1) Vertikale Trennlinien / Borders / Pseudos entfernen */
html body .tox .tox-toolbar__group,
html body.site.netzneon .tox .tox-toolbar__group,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__group,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__overflow .tox-toolbar__group {
  border: none !important;
  border-left: none !important;
  border-right: none !important;
}

html body .tox .tox-toolbar__group + .tox-toolbar__group,
html body.site.netzneon .tox .tox-toolbar__group + .tox-toolbar__group,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__group + .tox-toolbar__group,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__overflow .tox-toolbar__group + .tox-toolbar__group {
  border: none !important;
  border-left: none !important;
  border-right: none !important;
}

html body .tox .tox-toolbar__group::before,
html body .tox .tox-toolbar__group::after,
html body.site.netzneon .tox .tox-toolbar__group::before,
html body.site.netzneon .tox .tox-toolbar__group::after,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__group::before,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__group::after {
  display: none !important;
  content: none !important;
}

/* 2) Abstände beim Zeilenumbruch */
html body .tox .tox-toolbar,
html body .tox .tox-toolbar__primary,
html body.site.netzneon .tox .tox-toolbar,
html body.site.netzneon .tox .tox-toolbar__primary,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__primary,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__overflow {
  row-gap: 8px !important;
  column-gap: 4px !important;
  padding-bottom: 4px !important;
}

html body .tox .tox-toolbar__group,
html body.site.netzneon .tox .tox-toolbar__group,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__group,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__overflow .tox-toolbar__group {
  margin-bottom: 4px !important;
  padding: 0 4px !important;
}

/* ==========================================================================
   1.6.205 – Pointer flächendeckend auf Children
   ========================================================================== */

/* 1) Handcursor für Button/Menü inkl. aller Kind-Elemente */
html body .tox .tox-tbtn:not(.tox-tbtn--disabled),
html body .tox .tox-tbtn:not(.tox-tbtn--disabled) *,
html body .tox .tox-collection__item:not(.tox-collection__item--state-disabled),
html body .tox .tox-collection__item:not(.tox-collection__item--state-disabled) *,
html body .tox .tox-mbtn,
html body .tox .tox-mbtn *,
html body.site.netzneon .tox .tox-tbtn:not(.tox-tbtn--disabled),
html body.site.netzneon .tox .tox-tbtn:not(.tox-tbtn--disabled) *,
html body.site.netzneon .tox .tox-collection__item:not(.tox-collection__item--state-disabled),
html body.site.netzneon .tox .tox-collection__item:not(.tox-collection__item--state-disabled) *,
html body.site.netzneon .tox .tox-mbtn,
html body.site.netzneon .tox .tox-mbtn *,
html body.site.netzneon .tox-tinymce-aux .tox-collection__item:not(.tox-collection__item--state-disabled),
html body.site.netzneon .tox-tinymce-aux .tox-collection__item:not(.tox-collection__item--state-disabled) *,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn:not(.tox-tbtn--disabled),
html body.site.netzneon.com_content.view-form .tox .tox-tbtn:not(.tox-tbtn--disabled) *,
html body.site.netzneon.com_content.view-form .tox .tox-mbtn,
html body.site.netzneon.com_content.view-form .tox .tox-mbtn *,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection__item:not(.tox-collection__item--state-disabled),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection__item:not(.tox-collection__item--state-disabled) * {
  cursor: pointer !important;
}

/* Disabled bleibt Standard-Pfeil auch auf Children */
html body .tox .tox-tbtn--disabled,
html body .tox .tox-tbtn--disabled *,
html body .tox .tox-tbtn[aria-disabled="true"],
html body .tox .tox-tbtn[aria-disabled="true"] *,
html body .tox .tox-collection__item--state-disabled,
html body .tox .tox-collection__item--state-disabled *,
html body .tox .tox-collection__item[aria-disabled="true"],
html body .tox .tox-collection__item[aria-disabled="true"] *,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--disabled,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--disabled *,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn[aria-disabled="true"],
html body.site.netzneon.com_content.view-form .tox .tox-tbtn[aria-disabled="true"] * {
  cursor: default !important;
}

/* ==========================================================================
   1.6.206 – Menü-Trennlinien wiederherstellen; Toolbar-Horizontallinien weg
   ========================================================================== */

/* 1) Trennlinien IN Dropdown-Menüs (sichtbar, dunkles Theme) */
html body .tox .tox-menu hr,
html body.site.netzneon .tox .tox-menu hr,
html body.site.netzneon .tox-tinymce-aux .tox-menu hr,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu hr {
  display: block !important;
  border: none !important;
  border-top: 1px solid #334155 !important;
  margin: 4px 0 !important;
  height: auto !important;
  content: normal !important;
}

html body .tox .tox-menu .tox-collection__group,
html body.site.netzneon .tox .tox-menu .tox-collection__group,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__group,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__group {
  border-bottom: 1px solid #334155 !important;
  border-top: none !important;
}

html body .tox .tox-menu .tox-collection__group:last-child,
html body.site.netzneon .tox .tox-menu .tox-collection__group:last-child,
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__group:last-child,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__group:last-child {
  border-bottom: none !important;
}

/* 2) Horizontale Linien ZWISCHEN Toolbars / Menüleiste entfernen
   (Editor-Header-Abschlusskante bewusst ausgenommen – siehe 1.6.207) */
html body .tox .tox-menubar,
html body .tox .tox-toolbar,
html body .tox .tox-toolbar__primary,
html body.site.netzneon .tox .tox-menubar,
html body.site.netzneon .tox .tox-toolbar,
html body.site.netzneon .tox .tox-toolbar__primary,
html body.site.netzneon.com_content.view-form .tox .tox-menubar,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__primary,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__overflow,
html body.site.netzneon.com_content.view-form .tox .tox-toolbar__overflow:not(.tox-toolbar__overflow--closed) {
  border-bottom: none !important;
  border-top: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   1.6.207 – Editor-Header: untere Abschlusskante + Tiefe wiederherstellen
   ========================================================================== */
html body .tox .tox-editor-header,
html body.site.netzneon .tox .tox-editor-header,
html body.site.netzneon.com_content.view-form .tox .tox-editor-header {
  border-bottom: 1px solid rgba(0, 210, 255, 0.4) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
  padding-bottom: 4px !important;
}

/* ==========================================================================
   1.6.208 – Fix: Tooltips dürfen nach Dialog-Schließen / Editor-Klicks
             nicht durch klebendes .nn-no-close-tip oder :focus verschwinden
   ========================================================================== */
html body.site.netzneon.nn-no-close-tip:not(:has(.tox-dialog__header .tox-button--icon:hover)) .tox-tooltip:not(:empty):not(:has(.tox-tooltip__body:empty)),
html body.site.netzneon:not(:has(.tox-dialog__header .tox-button--icon:hover)):not(.nn-tip-suppress) .tox-tooltip:not(:empty):not(:has(.tox-tooltip__body:empty)),
html body.site.netzneon:not(:has(.tox-dialog__header .tox-button--icon:hover)):not(.nn-tip-suppress) .tox-tinymce-aux .tox-tooltip:not(:empty):not(:has(.tox-tooltip__body:empty)) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   1.6.210 – TinyMCE-Dialoge Komplett-Fix:
   1) Button-Reihenfolge (Speichern links, Abbrechen rechts) NUR in modalen
      Dialogen – Suchen/Ersetzen (.tox-dialog-inline) behält Original-Reihenfolge
   2) Dropdown-Felder (.tox-listbox / .tox-selectfield) exakt wie Editor-Dropdowns
      (Gold/Bronze 3D + goldener Pfeil #c4b48a, Hover #fff8df) + Menüs über Dialog
   3) Fixierter Backdrop ohne margin:auto-Bug (Sonderzeichen/Medien volle Höhe)
   4) Emojis/Sonderzeichen: kein Button-Kasten auf Symbolen, gleiche Kastenhöhe
      links/rechts + Neon-blaue Scrollleiste
   ========================================================================== */

/* 1) Footer-Layout: Suchen/Ersetzen (.tox-dialog-inline) original lassen;
      nur in modalen Dialogen (.tox-dialog-wrap) Speichern links & Abbrechen rechts */
html body .tox-dialog__footer,
html body.site.netzneon .tox .tox-dialog__footer,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__footer {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
}

html body .tox-dialog-wrap .tox-dialog:not(.tox-dialog-inline) .tox-dialog__footer-end,
html body.site.netzneon .tox .tox-dialog-wrap .tox-dialog:not(.tox-dialog-inline) .tox-dialog__footer-end,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-wrap .tox-dialog:not(.tox-dialog-inline) .tox-dialog__footer-end {
  display: flex !important;
  flex-direction: row-reverse !important;
  gap: 12px !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

html body .tox-dialog.tox-dialog-inline .tox-dialog__footer-start,
html body .tox-dialog.tox-dialog-inline .tox-dialog__footer-end,
html body.site.netzneon .tox-tinymce-aux .tox-dialog.tox-dialog-inline .tox-dialog__footer-start,
html body.site.netzneon .tox-tinymce-aux .tox-dialog.tox-dialog-inline .tox-dialog__footer-end {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  align-items: center !important;
}

html body .tox-dialog__footer .tox-button,
html body.site.netzneon .tox .tox-dialog__footer .tox-button,
html body.site.netzneon .tox-tinymce-aux .tox-dialog__footer .tox-button,
html body.site.netzneon.com_content.view-form .tox .tox-dialog__footer .tox-button,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog__footer .tox-button,
html body.site.netzneon.com_content.view-form.nn-article-form .tox-tinymce-aux .tox-dialog .tox-dialog__footer .tox-button:not(.tox-button--icon):not(.tox-button--naked),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-dialog__footer .tox-button:not(.tox-button--icon):not(.tox-button--secondary):not(.tox-button--naked),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-dialog__footer .tox-button--secondary:not(.tox-button--naked) {
  margin: 0 !important;
  border-radius: 6px !important;
}

/* 2) Dialog-Dropdowns (.tox-listbox / .tox-selectfield) exakt wie Editor-Dropdowns (Absatz/Format)
      WICHTIG: :focus:not(:hover) bleibt dunkel (kein klebender heller Fokus nach Auswahl!) */
html body .tox .tox-listboxfield .tox-listbox,
html body .tox .tox-listboxfield .tox-listbox:focus:not(:hover),
html body .tox .tox-listboxfield .tox-listbox:focus-visible:not(:hover),
html body .tox .tox-listboxfield .tox-listbox:active:not(:hover),
html body .tox .tox-selectfield select,
html body .tox .tox-selectfield select:focus:not(:hover),
html body.site.netzneon .tox .tox-listboxfield .tox-listbox,
html body.site.netzneon .tox .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):focus:not(:hover),
html body.site.netzneon .tox .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):focus-visible:not(:hover),
html body.site.netzneon .tox .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):active:not(:hover),
html body.site.netzneon .tox .tox-selectfield select,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):focus-visible:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):active:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-selectfield select,
html body.site.netzneon.com_content.view-form .tox .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled),
html body.site.netzneon.com_content.view-form .tox .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):focus:not(:hover),
html body.site.netzneon.com_content.view-form .tox .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):focus-visible:not(:hover),
html body.site.netzneon.com_content.view-form .tox .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):active:not(:hover),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-listboxfield .tox-listbox,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):focus:not(:hover),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):focus-visible:not(:hover),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):active:not(:hover),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-selectfield select,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-selectfield select:focus:not(:hover) {
  background: linear-gradient(180deg, rgba(92, 70, 18, 0.55) 0%, rgba(32, 22, 4, 0.82) 100%) !important;
  background-image: linear-gradient(180deg, rgba(92, 70, 18, 0.55) 0%, rgba(32, 22, 4, 0.82) 100%) !important;
  border: 1px solid rgba(180, 140, 40, 0.32) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #c4b48a !important;
  -webkit-text-fill-color: #c4b48a !important;
  outline: none !important;
  cursor: pointer !important;
}

html body .tox .tox-listboxfield .tox-listbox .tox-listbox__select-label,
html body .tox .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-label,
html body.site.netzneon .tox .tox-listboxfield .tox-listbox .tox-listbox__select-label,
html body.site.netzneon .tox .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-label,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox .tox-listbox__select-label,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-label,
html body.site.netzneon.com_content.view-form .tox .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-label,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-label {
  color: #c4b48a !important;
  -webkit-text-fill-color: #c4b48a !important;
  cursor: pointer !important;
}

html body .tox .tox-selectfield svg,
html body .tox .tox-listbox__select-chevron svg,
html body .tox .tox-selectfield svg *,
html body .tox .tox-listbox__select-chevron svg *,
html body.site.netzneon .tox .tox-selectfield svg,
html body.site.netzneon .tox .tox-listbox__select-chevron svg,
html body.site.netzneon .tox .tox-selectfield svg *,
html body.site.netzneon .tox .tox-listbox__select-chevron svg *,
html body.site.netzneon .tox-tinymce-aux .tox-selectfield svg,
html body.site.netzneon .tox-tinymce-aux .tox-listbox__select-chevron svg,
html body.site.netzneon .tox-tinymce-aux .tox-selectfield svg *,
html body.site.netzneon .tox-tinymce-aux .tox-listbox__select-chevron svg *,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-chevron svg,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-chevron svg * {
  fill: #c4b48a !important;
  color: #c4b48a !important;
}

html body .tox .tox-listboxfield .tox-listbox:hover,
html body .tox .tox-selectfield select:hover,
html body.site.netzneon .tox .tox-listboxfield .tox-listbox:hover,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:hover,
html body.site.netzneon.com_content.view-form .tox .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):hover,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-listboxfield .tox-listbox:not(.tox-tbtn--enabled):hover,
html body.site.netzneon .tox-tinymce-aux .tox-selectfield select:hover {
  background: linear-gradient(180deg, #e2b43a 0%, #8a6208 100%) !important;
  background-image: linear-gradient(180deg, #e2b43a 0%, #8a6208 100%) !important;
  border: 1px solid rgba(255, 210, 90, 0.85) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 170, 0.45),
    0 2px 0 #3a2800,
    0 3px 6px rgba(0, 0, 0, 0.45),
    0 0 8px rgba(255, 190, 40, 0.28) !important;
  color: #fff8df !important;
  -webkit-text-fill-color: #fff8df !important;
}

html body .tox .tox-listboxfield .tox-listbox:hover .tox-listbox__select-label,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:hover .tox-listbox__select-label {
  color: #fff8df !important;
  -webkit-text-fill-color: #fff8df !important;
}

html body .tox .tox-listboxfield .tox-listbox:hover .tox-listbox__select-chevron svg,
html body .tox .tox-listboxfield .tox-listbox:hover .tox-listbox__select-chevron svg *,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:hover .tox-listbox__select-chevron svg,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:hover .tox-listbox__select-chevron svg * {
  fill: #fff1c2 !important;
  color: #fff1c2 !important;
}

/* Geöffnete Dropdown-Menüs (.tox-menu / .tox-tiered-menu) MÜSSEN über .tox-dialog-wrap liegen! */
html body .tox-tinymce-aux .tox-menu,
html body .tox-silver-sink .tox-menu,
html body .tox-tinymce-aux .tox-tiered-menu,
html body .tox-silver-sink .tox-tiered-menu,
html body.site.netzneon .tox-tinymce-aux .tox-menu,
html body.site.netzneon .tox-silver-sink .tox-menu,
html body.site.netzneon .tox-tinymce-aux .tox-tiered-menu,
html body.site.netzneon .tox-silver-sink .tox-tiered-menu,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-collection,
html body.site.netzneon.com_content.view-form .tox-silver-sink .tox-menu {
  z-index: 1000010 !important;
  pointer-events: auto !important;
}

/* Ausgewählter Eintrag in Dialog-Dropdowns (aria-selected="true" / --enabled.--active)
   exakt wie im Editor-Dropdown ("Überschrift 1 ✓"): halbtransparentes Dunkelgrün */
html body .tox-tinymce-aux .tox-menu .tox-collection__item[aria-selected="true"]:not(:hover),
html body .tox-tinymce-aux .tox-menu .tox-collection__item--enabled.tox-collection__item--active:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item[aria-selected="true"]:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-menu .tox-collection__item--enabled.tox-collection__item--active:not(:hover),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item[aria-selected="true"]:not(:hover),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu .tox-collection__item--enabled.tox-collection__item--active:not(:hover) {
  background: rgba(61, 206, 98, 0.2) !important;
  background-color: rgba(61, 206, 98, 0.2) !important;
  background-image: none !important;
  border: 1px solid rgba(61, 206, 98, 0.55) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 3) Fixierte Position des Dialog-Wrappers & Backdrops (OHNE margin:auto auf .tox-dialog,
      da margin:auto TinyMCEs SmartTabHeight bei Sonderzeichen/Medien auf 25px kollabieren lässt) */
html body .tox-dialog-wrap,
html body.site.netzneon .tox .tox-dialog-wrap,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-wrap {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999990 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body .tox-dialog-wrap__backdrop,
html body.site.netzneon .tox .tox-dialog-wrap__backdrop,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-wrap__backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(15, 23, 42, 0.8) !important;
  background-color: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 1 !important;
}

html body .tox-dialog-wrap .tox-dialog,
html body.site.netzneon .tox .tox-dialog-wrap .tox-dialog,
html body.site.netzneon .tox-tinymce-aux .tox-dialog-wrap .tox-dialog {
  position: relative !important;
  margin: 0 !important;
  z-index: 2 !important;
}

/* Modale Dialoge & iFrame-Fenster nicht verschiebbar (Standard-Cursor statt grab) */
html body .tox-dialog-wrap .tox-dialog__header,
html body .tox-dialog-wrap .tox-dialog__title,
html body .tox-dialog:has(iframe) .tox-dialog__header,
html body .tox-dialog:has(iframe) .tox-dialog__title,
html body joomla-dialog .joomla-dialog-header,
html body .joomla-modal .modal-header {
  cursor: default !important;
}

/* 4) Emojis & Sonderzeichen: kein innerer Hintergrund hinter den Smileys
      (.tox-collection__group hatte #0f1a2e, Items hatten Button-Gradient),
      linker & rechter Kasten exakt bündig + Neon-blaue Scrollleiste */
html body .tox .tox-dialog .tox-collection--grid .tox-collection__group,
html body .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__group,
html body.site.netzneon .tox .tox-dialog .tox-collection--grid .tox-collection__group,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__group,
html body.site.netzneon.com_content.view-form .tox .tox-dialog .tox-collection--grid .tox-collection__group,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__group,
html body .tox .tox-dialog .tox-collection--grid .tox-collection__item,
html body .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__item,
html body.site.netzneon .tox .tox-dialog .tox-collection--grid .tox-collection__item,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__item,
html body.site.netzneon.com_content.view-form .tox .tox-dialog .tox-collection--grid .tox-collection__item,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__item,
html body.site.netzneon .tox .tox-dialog .tox-collection--grid .tox-collection__item:focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__item:focus:not(:hover),
html body.site.netzneon .tox .tox-dialog .tox-collection--grid .tox-collection__item--active:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__item--active:not(:hover),
html body .tox .tox-dialog .tox-collection--grid .tox-collection__item-icon,
html body .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__item-icon,
html body.site.netzneon .tox .tox-dialog .tox-collection--grid .tox-collection__item-icon,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__item-icon {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: #e2e8f0 !important;
  margin: 0 !important;
}

html body .tox .tox-dialog .tox-collection--grid .tox-collection__item:hover,
html body .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__item:hover,
html body.site.netzneon .tox .tox-dialog .tox-collection--grid .tox-collection__item:hover,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection--grid .tox-collection__item:hover {
  background: rgba(0, 210, 255, 0.14) !important;
  background-image: none !important;
  border: 1px solid rgba(0, 210, 255, 0.55) !important;
  border-radius: 6px !important;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Linker Nav-Kasten und rechter Inhalt/Grid exakt bündig oben & unten */
html body.site.netzneon .tox-dialog__body-content:has(.tox-collection--grid) {
  padding: 12px 12px 12px 8px !important;
  box-sizing: border-box !important;
}

html body.site.netzneon .tox-dialog__body-content:has(.tox-collection--grid) .tox-form__group--collection {
  margin-bottom: 0 !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

/* Neon-blaue Scrollleiste in Dialog-Grids & Dialog-Listen */
html body.site.netzneon .tox-dialog .tox-collection__group,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection__group,
html body.site.netzneon .tox-dialog .tox-dialog__body-content,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-dialog__body-content {
  scrollbar-width: thin !important;
  scrollbar-color: #00d2ff rgba(7, 13, 25, 0.85) !important;
}

html body.site.netzneon .tox-dialog .tox-collection__group::-webkit-scrollbar,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection__group::-webkit-scrollbar,
html body.site.netzneon .tox-dialog .tox-dialog__body-content::-webkit-scrollbar,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-dialog__body-content::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
}

html body.site.netzneon .tox-dialog .tox-collection__group::-webkit-scrollbar-track,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection__group::-webkit-scrollbar-track,
html body.site.netzneon .tox-dialog .tox-dialog__body-content::-webkit-scrollbar-track,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection__body-content::-webkit-scrollbar-track {
  background: rgba(7, 13, 25, 0.85) !important;
  border-radius: 6px !important;
}

html body.site.netzneon .tox-dialog .tox-collection__group::-webkit-scrollbar-thumb,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection__group::-webkit-scrollbar-thumb,
html body.site.netzneon .tox-dialog .tox-dialog__body-content::-webkit-scrollbar-thumb,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-dialog__body-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00e5ff 0%, #0088cc 100%) !important;
  border-radius: 6px !important;
  border: 1px solid rgba(0, 210, 255, 0.6) !important;
  box-shadow: 0 0 6px rgba(0, 210, 255, 0.5) !important;
}

html body.site.netzneon .tox-dialog .tox-collection__group::-webkit-scrollbar-thumb:hover,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-collection__group::-webkit-scrollbar-thumb:hover,
html body.site.netzneon .tox-dialog .tox-dialog__body-content::-webkit-scrollbar-thumb:hover,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-dialog__body-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5cefff 0%, #00aaff 100%) !important;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.8) !important;
}

/* ==========================================================================
   1.6.212 – Feinschliff Dialoge, URL-3D-Button, Linkpicker/Medien-Modal,
             iFrame-Dropdowns wie Profil bearbeiten, Neon-Scrollbar, Bild 3 Grid
   ========================================================================== */

/* 1A) Dialog-Labels dürfen KEIN vorzeitiges :hover auf dem verknüpften
       Dropdown (.tox-listbox) auslösen – Hover erst ab der oberen Kante
       des Dropdown-Menüs (wo der Hand-Cursor beginnt)! */
html body .tox .tox-dialog .tox-label,
html body .tox-tinymce-aux .tox-dialog .tox-label,
html body.site.netzneon .tox .tox-dialog .tox-label,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-label {
  pointer-events: none !important;
  cursor: default !important;
}

/* 1B) URL-Browse-Button (.tox-browse-url bei Link / Bild / Medien):
       Plastisches 3D-Design + 3D-Ordner-Icon, und sofortiger Reset nach
       Schließen des Auswahlfensters (:focus:not(:hover) = Ruhezustand!) */
html body .tox .tox-dialog .tox-browse-url,
html body .tox-tinymce-aux .tox-dialog .tox-browse-url,
html body.site.netzneon .tox .tox-dialog .tox-button.tox-browse-url,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url,
html body.site.netzneon .tox .tox-dialog .tox-button.tox-browse-url:focus:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:focus:not(:hover),
html body.site.netzneon .tox .tox-dialog .tox-button.tox-browse-url:focus-visible:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:focus-visible:not(:hover),
html body.site.netzneon .tox .tox-dialog .tox-button.tox-browse-url:active:not(:hover),
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:active:not(:hover),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:focus:not(:hover),
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:active:not(:hover) {
  background: linear-gradient(180deg, #1a3a55 0%, #0a1628 100%) !important;
  background-image: linear-gradient(180deg, #1a3a55 0%, #0a1628 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.55) !important;
  border-radius: 6px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.5) !important;
  color: #e2e8f0 !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  margin: 0 0 0 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  outline: none !important;
  transform: none !important;
  cursor: pointer !important;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

html body .tox .tox-dialog .tox-browse-url:hover,
html body .tox-tinymce-aux .tox-dialog .tox-browse-url:hover,
html body.site.netzneon .tox .tox-dialog .tox-button.tox-browse-url:hover,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:hover,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:hover {
  background: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  background-image: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  border: 1px solid #00f0ff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 0 #04243f,
    0 4px 8px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(0, 210, 255, 0.55) !important;
  color: #ffffff !important;
}

html body .tox-dialog .tox-browse-url svg.nn-browse-3d-icon {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55)) !important;
  transition: transform 0.18s ease, filter 0.18s ease !important;
}

html body .tox-dialog .tox-browse-url:hover svg.nn-browse-3d-icon {
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.75)) !important;
  transform: scale(1.06) !important;
}

/* 2) Bild 3: Horizontale Trennlinie im Nummerierte-Liste- / Aufzählung-Grid entfernen */
html body .tox .tox-menu.tox-collection--toolbar .tox-collection__group,
html body .tox .tox-menu.tox-collection--grid .tox-collection__group,
html body.site.netzneon .tox .tox-menu.tox-collection--toolbar .tox-collection__group,
html body.site.netzneon .tox .tox-menu.tox-collection--grid .tox-collection__group,
html body.site.netzneon .tox-tinymce-aux .tox-menu.tox-collection--toolbar .tox-collection__group,
html body.site.netzneon .tox-tinymce-aux .tox-menu.tox-collection--grid .tox-collection__group,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu.tox-collection--toolbar .tox-collection__group,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-menu.tox-collection--grid .tox-collection__group {
  border-bottom: none !important;
  border-top: none !important;
}

/* 3) Bild 2: joomla-dialog (Link einfügen / Medien auswählen)
      a) Über TinyMCE-Dialog legen, Header kompakt, X-Button sichtbar & klickbar */
html body joomla-dialog,
html body.site.netzneon joomla-dialog {
  z-index: 2147483647 !important;
}

html body joomla-dialog .joomla-dialog-header,
html body.site.netzneon joomla-dialog .joomla-dialog-header,
html body.site.netzneon .joomla-dialog-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 16px 6px 16px !important;
  min-height: 44px !important;
  max-height: 48px !important;
  height: auto !important;
  background: #0a1324 !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

html body joomla-dialog .joomla-dialog-header h3,
html body.site.netzneon joomla-dialog .joomla-dialog-header h3,
html body.site.netzneon .joomla-dialog-header h3 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Versteckte Header-Buttons (z.B. "Auswählen" im Beitrag/Kontakt/Menü-Tab) strikt ausblenden! */
html body joomla-dialog .joomla-dialog-header button[hidden],
html body.site.netzneon joomla-dialog .joomla-dialog-header button[hidden],
html body.site.netzneon .joomla-dialog-header button[hidden],
html body.site.netzneon joomla-dialog .joomla-dialog-header .js-link-picker-select[hidden],
html body.site.netzneon joomla-dialog .joomla-dialog-header button[hidden]:not(.btn-close):not(.button-close):not([data-button-close]):not(.close),
html body.site.netzneon.com_content.view-form joomla-dialog .joomla-dialog-header button[hidden]:not(.btn-close):not(.button-close):not([data-button-close]):not(.close) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Sichtbarer "Auswählen"-Button (z.B. im Medien-Tab): sauberer 3D-Grün-Button ohne falsches × */
html body.site.netzneon joomla-dialog .joomla-dialog-header button:not(.btn-close):not(.button-close):not([data-button-close]):not(.close):not([hidden]) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 96px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.75) !important;
  border-radius: 6px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.45) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

html body.site.netzneon joomla-dialog .joomla-dialog-header button:not(.btn-close):not(.button-close):not([data-button-close]):not(.close):not([hidden]):hover {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border-color: #4dff78 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 12px rgba(61, 206, 98, 0.55) !important;
}

html body.site.netzneon joomla-dialog .joomla-dialog-header button:not(.btn-close):not(.button-close):not([data-button-close]):not(.close)::before {
  content: none !important;
  display: none !important;
}

/* Schließen-X im joomla-dialog Header: IMMER sichtbar & anklickbar
   (überschreibt das fehlerhafte .button-close:nth-of-type(n+2) { display:none }!) */
html body joomla-dialog .joomla-dialog-header .buttons-holder .btn-close,
html body joomla-dialog .joomla-dialog-header .buttons-holder .button-close,
html body.site.netzneon joomla-dialog .joomla-dialog-header .buttons-holder .btn-close,
html body.site.netzneon joomla-dialog .joomla-dialog-header .buttons-holder .button-close,
html body.site.netzneon .joomla-dialog-header .buttons-holder .btn-close:nth-of-type(n+2),
html body.site.netzneon .joomla-dialog-header .buttons-holder .button-close:nth-of-type(n+2) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #e2e8f0 !important;
  cursor: pointer !important;
}

html body.site.netzneon joomla-dialog .joomla-dialog-header .buttons-holder .btn-close > svg.nn-close-x,
html body.site.netzneon joomla-dialog .joomla-dialog-header .buttons-holder .button-close > svg.nn-close-x {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 16px !important;
  height: 16px !important;
  color: #e2e8f0 !important;
  stroke: #e2e8f0 !important;
  pointer-events: none !important;
}

html body.site.netzneon joomla-dialog .joomla-dialog-header .buttons-holder .btn-close:hover > svg.nn-close-x,
html body.site.netzneon joomla-dialog .joomla-dialog-header .buttons-holder .button-close:hover > svg.nn-close-x {
  color: #ffffff !important;
  stroke: #ffffff !important;
  filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.85)) !important;
}

/* 3B) Linkpicker-Body & linke Navigation (+ Beitrag, Kontakt, Menü, Medien):
       Geschlossener Neon-Kasten wie bei Sonderzeichen/Emojis, keine harten Trennlinien,
       echte Neon-3D-Buttons für Aktiv & Hover! */
html body joomla-dialog .editor-link-picker,
html body.site.netzneon joomla-dialog .editor-link-picker {
  background: #0a1324 !important;
  border: none !important;
  display: flex !important;
  align-items: stretch !important;
}

html body joomla-dialog .editor-link-picker-nav,
html body.site.netzneon joomla-dialog .editor-link-picker-nav {
  background: rgba(6, 12, 24, 0.78) !important;
  border: 1px solid rgba(0, 210, 255, 0.28) !important;
  border-radius: 10px !important;
  padding: 10px !important;
  margin: 12px 0 12px 12px !important;
  width: 190px !important;
  min-width: 190px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  box-sizing: border-box !important;
}

html body joomla-dialog .editor-link-picker-item,
html body.site.netzneon joomla-dialog .editor-link-picker-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 9px 14px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: all 0.16s ease !important;
  box-sizing: border-box !important;
}

html body joomla-dialog .editor-link-picker-item span[class*="icon-"],
html body.site.netzneon joomla-dialog .editor-link-picker-item span[class*="icon-"] {
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
  font-size: 15px !important;
  transition: color 0.16s ease, transform 0.16s ease !important;
}

html body joomla-dialog .editor-link-picker-item:hover:not(.active),
html body.site.netzneon joomla-dialog .editor-link-picker-item:hover:not(.active) {
  background: rgba(6, 15, 30, 0.92) !important;
  background-image: none !important;
  border: 1px solid rgba(0, 210, 255, 0.65) !important;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.25) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body joomla-dialog .editor-link-picker-item:hover:not(.active) span[class*="icon-"],
html body.site.netzneon joomla-dialog .editor-link-picker-item:hover:not(.active) span[class*="icon-"] {
  color: #00f0ff !important;
  -webkit-text-fill-color: #00f0ff !important;
}

html body joomla-dialog .editor-link-picker-item.active,
html body joomla-dialog .editor-link-picker-item.active:hover,
html body.site.netzneon joomla-dialog .editor-link-picker-item.active,
html body.site.netzneon joomla-dialog .editor-link-picker-item.active:hover {
  background: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  background-image: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.85) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 2px 0 #04243f,
    0 4px 8px rgba(0, 0, 0, 0.45),
    0 0 10px rgba(0, 210, 255, 0.35) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 600 !important;
}

html body joomla-dialog .editor-link-picker-item.active span[class*="icon-"],
html body.site.netzneon joomla-dialog .editor-link-picker-item.active span[class*="icon-"] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body joomla-dialog .editor-link-picker-frame,
html body.site.netzneon joomla-dialog .editor-link-picker-frame {
  border: none !important;
  background: #0a0e17 !important;
  padding: 12px !important;
  box-sizing: border-box !important;
}

/* 4) Modal-iFrame (body.contentpane):
      - Keine harten weißen/türkisen Trennlinien über der Tabelle
      - Filter-Dropdowns (.choices) exakt im Design von "Profil bearbeiten"
      - Filter-Buttons ("Filter-Optionen", "Zurücksetzen") im Neon-3D-Design
      - Neon-blaue Scrollleiste überall im iFrame
      - Medien-Tab (com_media) komplett abgedunkelt */
html:has(> body.contentpane),
body.contentpane.netzneon,
body.contentpane.netzneon .choices__list--dropdown .choices__list,
body.contentpane.netzneon .media-browser,
body.contentpane.netzneon .media-sidebar {
  scrollbar-width: thin !important;
  scrollbar-color: #00d2ff rgba(7, 13, 25, 0.85) !important;
}

html:has(> body.contentpane)::-webkit-scrollbar,
body.contentpane.netzneon::-webkit-scrollbar,
body.contentpane.netzneon *::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
}

html:has(> body.contentpane)::-webkit-scrollbar-track,
body.contentpane.netzneon::-webkit-scrollbar-track,
body.contentpane.netzneon *::-webkit-scrollbar-track {
  background: rgba(7, 13, 25, 0.85) !important;
  border-radius: 6px !important;
}

html:has(> body.contentpane)::-webkit-scrollbar-thumb,
body.contentpane.netzneon::-webkit-scrollbar-thumb,
body.contentpane.netzneon *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00e5ff 0%, #0088cc 100%) !important;
  border-radius: 6px !important;
  border: 1px solid rgba(0, 210, 255, 0.6) !important;
  box-shadow: 0 0 6px rgba(0, 210, 255, 0.5) !important;
}

/* Tabellen-Kopflinie dezent statt grell */
body.contentpane.netzneon table.table > thead > tr > th,
body.contentpane.netzneon .table > thead > tr > th,
body.contentpane.netzneon table.table > thead > tr > td {
  border-top: none !important;
  border-bottom: 1px solid rgba(0, 210, 255, 0.22) !important;
}

/* Filter-Dropdowns im Modal-iFrame exakt wie in "Profil bearbeiten" */
body.contentpane.netzneon .js-stools .choices__inner,
body.contentpane.netzneon .choices__inner {
  background-color: #111827 !important;
  background-image: none !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 6px !important;
  color: #f4f7fb !important;
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 34px 0 12px !important;
  box-shadow: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease !important;
}

body.contentpane.netzneon .js-stools .choices:hover .choices__inner,
body.contentpane.netzneon .js-stools .choices.is-open .choices__inner,
body.contentpane.netzneon .js-stools .choices.is-focused .choices__inner,
body.contentpane.netzneon .choices:hover .choices__inner,
body.contentpane.netzneon .choices.is-open .choices__inner,
body.contentpane.netzneon .choices.is-focused .choices__inner {
  background-color: #111827 !important;
  border-color: #00f2ff !important;
  box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.35), 0 0 12px rgba(0, 242, 255, 0.3) !important;
}

/* Geöffnete Dropdown-Liste im Modal-iFrame wie in "Profil bearbeiten" */
body.contentpane.netzneon .js-stools .choices__list--dropdown,
body.contentpane.netzneon .choices__list--dropdown {
  background: #151822 !important;
  border: 1px solid rgba(0, 210, 255, 0.45) !important;
  border-radius: 8px !important;
  padding: 6px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 14px rgba(0, 210, 255, 0.2) !important;
}

body.contentpane.netzneon .js-stools .choices__list--dropdown .choices__item,
body.contentpane.netzneon .choices__list--dropdown .choices__item {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  color: #c5d0dc !important;
  padding: 0.45rem 1.4rem 0.45rem 0.75rem !important;
  margin: 2px 4px !important;
  box-shadow: none !important;
}

body.contentpane.netzneon .js-stools .choices__list--dropdown .choices__item.is-selected,
body.contentpane.netzneon .choices__list--dropdown .choices__item.is-selected {
  background: linear-gradient(180deg, #1a6cff 0%, #0047cc 55%, #003399 100%) !important;
  background-color: #0047cc !important;
  background-image: linear-gradient(180deg, #1a6cff 0%, #0047cc 55%, #003399 100%) !important;
  border: 1px solid rgba(120, 190, 255, 0.4) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  opacity: 0.75 !important;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.7) !important;
  font-weight: 600 !important;
}

body.contentpane.netzneon .js-stools .choices__list--dropdown .choices__item.is-highlighted:not(.is-selected),
body.contentpane.netzneon .js-stools .choices__list--dropdown .choices__item:hover:not(.is-selected),
body.contentpane.netzneon .choices__list--dropdown .choices__item.is-highlighted:not(.is-selected),
body.contentpane.netzneon .choices__list--dropdown .choices__item:hover:not(.is-selected) {
  background: #0a1220 !important;
  background-color: #0a1220 !important;
  background-image: none !important;
  border: 1px solid rgba(0, 240, 255, 0.45) !important;
  border-radius: 6px !important;
  color: #e2e8f0 !important;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.22) !important;
}

/* Filter-Optionen & Zurücksetzen im Modal-iFrame als 3D-Sekundär-Buttons */
body.contentpane.netzneon .js-stools .js-stools-btn-filter,
body.contentpane.netzneon .js-stools .js-stools-btn-clear,
body.contentpane.netzneon .js-stools .btn:not(.js-stools-btn-search):not(.input-group .btn) {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid #334155 !important;
  border-radius: 6px !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  color: #cbd5e1 !important;
}

body.contentpane.netzneon .js-stools .js-stools-btn-filter:hover,
body.contentpane.netzneon .js-stools .js-stools-btn-clear:hover,
body.contentpane.netzneon .js-stools .btn:not(.js-stools-btn-search):not(.input-group .btn):hover {
  background: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  background-image: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  border-color: rgba(0, 210, 255, 0.8) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 10px rgba(0, 210, 255, 0.35) !important;
  color: #ffffff !important;
}

/* Medien-Reiter (com_media) im Modal-iFrame komplett dunkel */
body.contentpane.netzneon #com-media,
body.contentpane.netzneon .com-media,
body.contentpane.netzneon .media-container,
body.contentpane.netzneon .media-main,
body.contentpane.netzneon .media-sidebar,
body.contentpane.netzneon .media-drive,
body.contentpane.netzneon .media-toolbar,
body.contentpane.netzneon .media-breadcrumb,
body.contentpane.netzneon .media-breadcrumb-item,
body.contentpane.netzneon .media-browser,
body.contentpane.netzneon .media-infobar {
  background: #0a0e17 !important;
  background-color: #0a0e17 !important;
  color: #e2e8f0 !important;
  border-color: rgba(0, 210, 255, 0.22) !important;
}

body.contentpane.netzneon .media-browser-image .image-background,
body.contentpane.netzneon .media-browser-item .image-background,
body.contentpane.netzneon .image-background,
body.contentpane.netzneon .media-browser-item-preview {
  background: #0f172a !important;
  background-color: #0f172a !important;
  border-radius: 8px !important;
}

body.contentpane.netzneon .media-browser-item-info,
body.contentpane.netzneon .media-tree-item,
body.contentpane.netzneon .media-tree-item a,
body.contentpane.netzneon .media-breadcrumb-item a,
body.contentpane.netzneon .media-drive-name {
  color: #e2e8f0 !important;
}

/* ==========================================================================
   1.6.213 – Komplett-Umbau Bild 1 bis Bild 11
   ========================================================================== */

html body .tox .tox-dialog .tox-browse-url,
html body .tox-tinymce-aux .tox-dialog .tox-browse-url,
html body.site.netzneon .tox .tox-dialog .tox-button.tox-browse-url,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url,
html body.site.netzneon .tox .tox-dialog .tox-button.tox-browse-url:hover,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:hover,
html body.site.netzneon .tox .tox-dialog .tox-button.tox-browse-url:focus,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:focus,
html body.site.netzneon .tox .tox-dialog .tox-button.tox-browse-url:active,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:active,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:hover,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:focus,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button.tox-browse-url:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  margin: 0 0 0 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.nn-3d-folder-pair {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.nn-3d-folder-pair svg.nn-folder-closed,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url:not(:hover) .nn-3d-folder-pair svg.nn-folder-closed,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url:not(:hover) .nn-3d-folder-pair svg.nn-folder-closed {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 4px rgba(0, 210, 255, 0.25)) !important;
  transition: transform 0.18s ease, filter 0.18s ease !important;
}

.nn-3d-folder-pair svg.nn-folder-open,
html body .tox-dialog .tox-browse-url:not(:hover) .nn-3d-folder-pair svg.nn-folder-open,
html body.site.netzneon .tox .tox-dialog .tox-button--icon.tox-browse-url:not(:hover) .nn-3d-folder-pair svg.nn-folder-open,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url:not(:hover) .nn-3d-folder-pair svg.nn-folder-open,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url:not(:hover) .nn-3d-folder-pair svg.nn-folder-open {
  display: none !important;
  width: 26px !important;
  height: 26px !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 8px rgba(0, 229, 255, 0.7)) !important;
}

html body .tox-dialog .tox-browse-url:hover .nn-3d-folder-pair svg.nn-folder-closed,
html body.site.netzneon .tox .tox-dialog .tox-button--icon.tox-browse-url:hover .nn-3d-folder-pair svg.nn-folder-closed,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url:hover .nn-3d-folder-pair svg.nn-folder-closed,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url:hover .nn-3d-folder-pair svg.nn-folder-closed,
.media-browser-item:hover .nn-3d-folder-pair svg.nn-folder-closed,
.media-tree-item > a:hover .nn-3d-folder-pair svg.nn-folder-closed {
  display: none !important;
}

html body .tox-dialog .tox-browse-url:hover .nn-3d-folder-pair svg.nn-folder-open,
html body.site.netzneon .tox .tox-dialog .tox-button--icon.tox-browse-url:hover .nn-3d-folder-pair svg.nn-folder-open,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url:hover .nn-3d-folder-pair svg.nn-folder-open,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url:hover .nn-3d-folder-pair svg.nn-folder-open,
.media-browser-item:hover .nn-3d-folder-pair svg.nn-folder-open,
.media-tree-item > a:hover .nn-3d-folder-pair svg.nn-folder-open {
  display: block !important;
  transform: scale(1.08) !important;
}

html body .tox .tox-listboxfield .tox-listbox,
html body .tox .tox-listboxfield .tox-listbox .tox-listbox__select-label,
html body .tox .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-label,
html body .tox .tox-listboxfield .tox-listbox:hover .tox-listbox__select-label,
html body .tox .tox-selectfield select,
html body.site.netzneon .tox .tox-listboxfield .tox-listbox,
html body.site.netzneon .tox .tox-listboxfield .tox-listbox .tox-listbox__select-label,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox .tox-listbox__select-label,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-label,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select:not(.tox-tbtn--enabled),
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke:not(.tox-tbtn--enabled),
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select:not(.tox-tbtn--enabled) .tox-tbtn__select-label,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke:not(.tox-tbtn--enabled) .tox-tbtn__select-label,
html body.site.netzneon.com_content.view-form .tox .tox-listboxfield .tox-listbox .tox-listbox__select-label,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-listboxfield .tox-listbox .tox-listbox__select-label,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-label {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body .tox .tox-selectfield svg,
html body .tox .tox-listbox__select-chevron svg,
html body .tox .tox-selectfield svg *,
html body .tox .tox-listbox__select-chevron svg *,
html body.site.netzneon .tox .tox-selectfield svg,
html body.site.netzneon .tox .tox-listbox__select-chevron svg,
html body.site.netzneon .tox-tinymce-aux .tox-selectfield svg,
html body.site.netzneon .tox-tinymce-aux .tox-listbox__select-chevron svg,
html body.site.netzneon .tox-tinymce-aux .tox-selectfield svg *,
html body.site.netzneon .tox-tinymce-aux .tox-listbox__select-chevron svg *,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-chevron svg,
html body.site.netzneon .tox-tinymce-aux .tox-listboxfield .tox-listbox:focus:not(:hover) .tox-listbox__select-chevron svg *,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--select:not(.tox-tbtn--enabled) svg,
html body.site.netzneon.com_content.view-form .tox .tox-tbtn--bespoke:not(.tox-tbtn--enabled) svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

html body.site.netzneon .choices__list--dropdown .choices__item,
html body.site.netzneon .choices__list--dropdown .choices__item--selectable,
html body.site.netzneon .choices__list--dropdown .choices__item.is-highlighted:not(.is-selected),
html body.site.netzneon .choices__list--dropdown .choices__item--selectable.is-highlighted:not(.is-selected),
html body.site.netzneon .choices__list--dropdown .choices__item:hover:not(.is-selected),
html body.site.netzneon .choices__list--dropdown .choices__item--selectable:hover:not(.is-selected),
body.contentpane.netzneon .js-stools .choices__list--dropdown .choices__item,
body.contentpane.netzneon .js-stools .choices__list--dropdown .choices__item.is-highlighted:not(.is-selected),
body.contentpane.netzneon .js-stools .choices__list--dropdown .choices__item:hover:not(.is-selected),
body.contentpane.netzneon .choices__list--dropdown .choices__item,
body.contentpane.netzneon .choices__list--dropdown .choices__item.is-highlighted:not(.is-selected),
body.contentpane.netzneon .choices__list--dropdown .choices__item:hover:not(.is-selected) {
  font-weight: 400 !important;
  border-width: 1px !important;
  box-sizing: border-box !important;
  transform: none !important;
}

html body.site.netzneon .choices__list--dropdown .choices__item.is-selected,
html body.site.netzneon .choices__list--dropdown .choices__item.is-selected.is-highlighted,
html body.site.netzneon .choices__list--dropdown .choices__item.is-selected:hover,
body.contentpane.netzneon .choices__list--dropdown .choices__item.is-selected,
body.contentpane.netzneon .choices__list--dropdown .choices__item.is-selected.is-highlighted,
body.contentpane.netzneon .choices__list--dropdown .choices__item.is-selected:hover {
  font-weight: 600 !important;
  border-width: 1px !important;
  box-sizing: border-box !important;
  transform: none !important;
}

html body.site.netzneon .choices__list--dropdown .choices__item--selectable::after,
body.contentpane.netzneon .choices__list--dropdown .choices__item--selectable::after,
.choices__list--dropdown .choices__item--selectable::after {
  content: none !important;
  display: none !important;
}

html body.site.netzneon .choices[data-type*="select-one"] .choices__list--dropdown .choices__item[data-value=""],
html body.site.netzneon .choices[data-type*="select-one"] .choices__list--dropdown .choices__item.choices__placeholder,
body.contentpane.netzneon .choices[data-type*="select-one"] .choices__list--dropdown .choices__item[data-value=""],
body.contentpane.netzneon .choices[data-type*="select-one"] .choices__list--dropdown .choices__item.choices__placeholder {
  display: none !important;
}

html body.site.netzneon .choices[data-type*="select-one"] .choices__list--single .choices__item:not(.nn-empty-choice) .nn-single-clear-btn,
body.contentpane.netzneon .choices[data-type*="select-one"] .choices__list--single .choices__item:not(.nn-empty-choice) .nn-single-clear-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  right: 28px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  color: #00d2ff !important;
  cursor: pointer !important;
  opacity: 0.85 !important;
  z-index: 5 !important;
}

html body.site.netzneon .choices[data-type*="select-one"] .choices__list--single .choices__item:not(.nn-empty-choice) .nn-single-clear-btn:hover,
body.contentpane.netzneon .choices[data-type*="select-one"] .choices__list--single .choices__item:not(.nn-empty-choice) .nn-single-clear-btn:hover {
  color: #ff4d6d !important;
  opacity: 1 !important;
}

body.contentpane.netzneon .js-stools .choices[data-type*="select-multiple"] .choices__inner,
body.contentpane.netzneon .choices[data-type*="select-multiple"] .choices__inner {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 38px !important;
  height: auto !important;
  padding: 4px 32px 4px 10px !important;
  box-sizing: border-box !important;
}

body.contentpane.netzneon .js-stools .choices__inner .choices__input,
body.contentpane.netzneon .js-stools .choices__inner input.choices__input,
body.contentpane.netzneon .choices__inner .choices__input,
body.contentpane.netzneon .choices__inner input.choices__input,
html body.site.netzneon .js-stools .choices__inner .choices__input {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 !important;
  padding: 0 2px !important;
  height: 26px !important;
  min-height: 26px !important;
  line-height: 26px !important;
  min-width: 145px !important;
  width: auto !important;
  color: #ffffff !important;
}

body.contentpane.netzneon .choices__list--multiple {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.contentpane.netzneon .choices__list--multiple .choices__item {
  margin: 0 !important;
  padding: 3px 8px 3px 10px !important;
  height: 26px !important;
  min-height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  line-height: 1 !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.75) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 3px rgba(0, 0, 0, 0.45) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 12.5px !important;
}

html body joomla-dialog .editor-link-picker,
html body.site.netzneon joomla-dialog .editor-link-picker {
  background: #0a1324 !important;
  padding: 0 !important;
  gap: 0 !important;
}

html body joomla-dialog .editor-link-picker-frame,
html body.site.netzneon joomla-dialog .editor-link-picker-frame {
  background: rgba(6, 12, 24, 0.78) !important;
  border: 1px solid rgba(0, 210, 255, 0.28) !important;
  border-radius: 10px !important;
  margin: 12px 12px 12px 10px !important;
  padding: 0 !important;
  overflow: hidden !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

html body joomla-dialog .editor-link-picker-frame iframe,
html body.site.netzneon joomla-dialog .editor-link-picker-frame iframe {
  background: transparent !important;
  border: none !important;
  border-radius: 10px !important;
  width: 100% !important;
  height: 100% !important;
  flex: 1 1 auto !important;
}

body.contentpane.netzneon,
body.contentpane.nn-in-iframe {
  background: transparent !important;
  background-color: transparent !important;
  padding: 14px 16px !important;
  box-sizing: border-box !important;
}

body.contentpane.netzneon table.table tbody td .icon-publish,
body.contentpane.netzneon table.table tbody td .icon-check,
body.contentpane.netzneon table.table tbody td .fa-check {
  color: #3dce62 !important;
  -webkit-text-fill-color: #3dce62 !important;
  text-shadow: 0 0 8px rgba(61, 206, 98, 0.65) !important;
  font-size: 16px !important;
}

body.contentpane.netzneon table.table tbody td .icon-unpublish,
body.contentpane.netzneon table.table tbody td .icon-times,
body.contentpane.netzneon table.table tbody td .icon-trash,
body.contentpane.netzneon table.table tbody td .fa-times {
  color: #ff4d6d !important;
  -webkit-text-fill-color: #ff4d6d !important;
  text-shadow: 0 0 8px rgba(255, 77, 109, 0.65) !important;
  font-size: 16px !important;
}

body.contentpane.netzneon table.table thead th a span[class*="icon-"],
body.contentpane.netzneon table.table thead th [class*="icon-sort"],
body.contentpane.netzneon table.table thead th [class*="icon-caret"],
body.contentpane.netzneon table.table thead th [class*="fa-sort"] {
  color: #00d2ff !important;
  -webkit-text-fill-color: #00d2ff !important;
  filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.6)) !important;
}

body.contentpane.netzneon table.table thead th.title,
body.contentpane.netzneon table.table tbody tr > th[scope="row"],
body.contentpane.netzneon table.table tbody tr > td:nth-child(2) {
  min-width: 240px !important;
  width: 40% !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  padding-left: 12px !important;
}

html body.site.netzneon .btn-secondary,
html body.site.netzneon a.btn-secondary,
html body.site.netzneon button.btn-secondary,
html body.site.netzneon .btn-info,
html body.site.netzneon a.btn-info,
html body.site.netzneon button.btn-info,
html body.site.netzneon .btn-dark,
html body.site.netzneon .btn-light,
html body.site.netzneon #toolbar-versions .btn,
html body.site.netzneon .js-tiny-toggler-button,
body.contentpane.netzneon .btn-secondary,
body.contentpane.netzneon .btn-info,
body.contentpane.netzneon .js-stools .js-stools-btn-filter,
body.contentpane.netzneon .js-stools .js-stools-btn-clear {
  border-radius: 8px !important;
  min-height: 38px !important;
  padding: 6px 16px !important;
  box-sizing: border-box !important;
}

html body.site.netzneon joomla-dialog .joomla-dialog-header button.js-link-picker-select:not([hidden]),
html body.site.netzneon.com_content.view-form joomla-dialog .joomla-dialog-header button.js-link-picker-select:not([hidden]),
html body.site.netzneon joomla-dialog .joomla-dialog-header button:not(.btn-close):not(.button-close):not([data-button-close]):not(.close):not([hidden]) {
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-image: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.75) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35) !important;
}

html body.site.netzneon joomla-dialog .joomla-dialog-header button.js-link-picker-select:not([hidden]):hover,
html body.site.netzneon.com_content.view-form joomla-dialog .joomla-dialog-header button.js-link-picker-select:not([hidden]):hover,
html body.site.netzneon joomla-dialog .joomla-dialog-header button:not(.btn-close):not(.button-close):not([data-button-close]):not(.close):not([hidden]):hover {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  background-image: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border: 1px solid #4dff78 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 12px rgba(61, 206, 98, 0.6) !important;
  color: #04150c !important;
  -webkit-text-fill-color: #04150c !important;
  text-shadow: none !important;
}

html body.site.netzneon input[type="checkbox"]:not(.nn-logout-switch):not(.form-check-input[role="switch"]),
body.contentpane.netzneon input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  border-radius: 5px !important;
  background: linear-gradient(180deg, #1a2438 0%, #0a101c 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.45) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.4) !important;
  outline: none !important;
  cursor: pointer !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
}

html body.site.netzneon input[type="checkbox"]:not(.nn-logout-switch):checked,
body.contentpane.netzneon input[type="checkbox"]:checked {
  background-color: #14a848 !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.3l3.1 3.1 6.5-6.5'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center, center !important;
  background-size: 13px 13px, 100% 100% !important;
  border: 1px solid #4dff78 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 10px rgba(61, 206, 98, 0.45) !important;
}

html body.site.netzneon input[type="checkbox"]:not(.nn-logout-switch)::before,
html body.site.netzneon input[type="checkbox"]:not(.nn-logout-switch)::after,
html body.site.netzneon input[type="checkbox"]:not(.nn-logout-switch):checked::before,
html body.site.netzneon input[type="checkbox"]:not(.nn-logout-switch):checked::after,
body.contentpane.netzneon input[type="checkbox"]::before,
body.contentpane.netzneon input[type="checkbox"]::after,
body.contentpane.netzneon input[type="checkbox"]:checked::before,
body.contentpane.netzneon input[type="checkbox"]:checked::after {
  content: none !important;
  display: none !important;
  border: none !important;
}

body.contentpane.netzneon .media-toolbar {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  margin: 8px 0 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(0, 210, 255, 0.25) !important;
  border-radius: 8px !important;
}

body.contentpane.netzneon .media-breadcrumb-item::before,
body.contentpane.netzneon .media-breadcrumb-item::after {
  content: none !important;
  display: none !important;
  border: none !important;
}

body.contentpane.netzneon .media-breadcrumb-item a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  background: rgba(0, 210, 255, 0.12) !important;
  border: 1px solid rgba(0, 210, 255, 0.35) !important;
  color: #00d2ff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.contentpane.netzneon button.media-toolbar-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid #334155 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.45) !important;
  color: #38bdf8 !important;
  cursor: pointer !important;
}

body.contentpane.netzneon button.media-toolbar-icon span {
  color: #38bdf8 !important;
}

body.contentpane.netzneon button.media-toolbar-icon:hover,
body.contentpane.netzneon button.media-toolbar-icon.active {
  background: linear-gradient(180deg, #1a8ad4 0%, #06345c 100%) !important;
  border-color: rgba(0, 210, 255, 0.85) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 10px rgba(0, 210, 255, 0.35) !important;
  color: #ffffff !important;
}

body.contentpane.netzneon button.media-toolbar-icon:hover span,
body.contentpane.netzneon button.media-toolbar-icon.active span {
  color: #ffffff !important;
}

body.contentpane.netzneon .media-browser-item-directory,
body.contentpane.netzneon .media-browser-image,
body.contentpane.netzneon .media-browser-item > div {
  position: relative !important;
  background: rgba(15, 23, 42, 0.55) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(0, 210, 255, 0.25) !important;
  border-radius: 10px !important;
  padding: 10px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  cursor: pointer !important;
}

body.contentpane.netzneon .media-browser-item-directory:hover,
body.contentpane.netzneon .media-browser-image:hover,
body.contentpane.netzneon .media-browser-item.selected > div {
  background: rgba(20, 35, 62, 0.75) !important;
  border-color: rgba(0, 210, 255, 0.8) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 14px rgba(0, 210, 255, 0.28) !important;
}

body.contentpane.netzneon .media-browser-item-preview,
body.contentpane.netzneon .file-background,
body.contentpane.netzneon .image-background {
  background: rgba(6, 12, 24, 0.48) !important;
  border-radius: 8px !important;
  height: 92px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

body.contentpane.netzneon .media-browser-item .folder-icon .nn-3d-folder-pair svg {
  width: 54px !important;
  height: 54px !important;
}

body.contentpane.netzneon .media-tree .item-icon .nn-3d-folder-pair svg {
  width: 18px !important;
  height: 18px !important;
  margin-right: 6px !important;
}

body.contentpane.netzneon table.media-browser-table thead th button.btn,
body.contentpane.netzneon table.media-browser-table thead th button.btn-link {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  color: #00d2ff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.contentpane.netzneon .media-infobar {
  background: rgba(10, 18, 32, 0.96) !important;
  border: 1px solid rgba(0, 210, 255, 0.4) !important;
  border-radius: 10px !important;
  padding: 16px !important;
  margin: 8px 0 8px 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 210, 255, 0.18) !important;
  color: #e2e8f0 !important;
}

body.contentpane.netzneon .media-container input.hidden,
body.contentpane.netzneon input[type="file"].hidden,
html body.site.netzneon .hidden {
  display: none !important;
}

/* ==========================================================================
   1.6.214 – Nachschärfung Bild 1 bis Bild 5
   ========================================================================== */

.nn-3d-folder-pair svg.nn-folder-closed,
.nn-3d-folder-pair svg.nn-folder-open,
html body .tox-dialog .tox-browse-url .nn-3d-folder-pair svg.nn-folder-closed,
html body .tox-dialog .tox-browse-url:hover .nn-3d-folder-pair svg.nn-folder-open,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url .nn-3d-folder-pair svg.nn-folder-closed,
html body.site.netzneon .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url:hover .nn-3d-folder-pair svg.nn-folder-open,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url .nn-3d-folder-pair svg.nn-folder-closed,
html body.site.netzneon.com_content.view-form .tox-tinymce-aux .tox-dialog .tox-button--icon.tox-browse-url:hover .nn-3d-folder-pair svg.nn-folder-open {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  transform: none !important;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)) !important;
}

html body.site.netzneon .js-stools .js-stools-field-list .choices__button_joomla,
html body.site.netzneon .js-stools .js-stools-field-list .nn-single-clear-btn,
body.contentpane.netzneon .js-stools .js-stools-field-list .choices__button_joomla,
body.contentpane.netzneon .js-stools .js-stools-field-list .nn-single-clear-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html body joomla-dialog .editor-link-picker-nav,
html body.site.netzneon joomla-dialog .editor-link-picker-nav,
html body joomla-dialog .editor-link-picker-frame,
html body.site.netzneon joomla-dialog .editor-link-picker-frame {
  background: #081120 !important;
  background-color: #081120 !important;
  border: 1px solid rgba(0, 210, 255, 0.28) !important;
  border-radius: 10px !important;
}

html:has(> body.contentpane),
body.contentpane.netzneon,
body.contentpane.nn-in-iframe,
body.contentpane.netzneon #com-media,
body.contentpane.netzneon .com-media,
body.contentpane.netzneon .media-container,
body.contentpane.netzneon .media-main,
body.contentpane.netzneon .media-sidebar,
body.contentpane.netzneon .media-drive,
body.contentpane.netzneon .media-browser {
  background: transparent !important;
  background-color: transparent !important;
}

body.contentpane.netzneon,
body.contentpane.nn-in-iframe {
  padding: 16px 24px 16px 16px !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

body.contentpane.netzneon table.table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
  box-sizing: border-box !important;
}

body.contentpane.netzneon table.table thead th,
body.contentpane.netzneon table.table tbody td,
body.contentpane.netzneon table.table tbody th {
  padding: 10px 8px !important;
}

body.contentpane.netzneon table.table thead th.title,
body.contentpane.netzneon table.table tbody tr > th[scope="row"],
body.contentpane.netzneon table.table tbody tr > td:nth-child(2) {
  min-width: 170px !important;
  width: auto !important;
  padding-left: 12px !important;
}

body.contentpane.netzneon table.table thead tr > *:last-child,
body.contentpane.netzneon table.table tbody tr > *:last-child {
  padding-right: 12px !important;
}

body.contentpane.netzneon button.btn-success,
body.contentpane.netzneon button.btn-info,
body.contentpane.netzneon button.btn-danger,
body.contentpane.netzneon #mediaDelete {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  line-height: 1 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

body.contentpane.netzneon button.btn-info .nn-3d-folder-pair svg,
body.contentpane.netzneon button.btn-info .nn-3d-folder-pair svg.nn-folder-closed,
body.contentpane.netzneon button.btn-info .nn-3d-folder-pair svg.nn-folder-open {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
}

html body.site.netzneon input[type="checkbox"]:not(.nn-logout-switch):not(.form-check-input[role="switch"]),
body.contentpane.netzneon input[type="checkbox"],
body.contentpane.netzneon input[type="checkbox"].media-toolbar-icon,
body.contentpane.netzneon input[type="checkbox"].media-toolbar-select-all {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  flex: 0 0 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 4px !important;
  background-color: #111a2e !important;
  background-image: linear-gradient(180deg, #1a2438 0%, #0a101c 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.5) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.65) !important;
  cursor: pointer !important;
  position: relative !important;
  display: inline-block !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

html body.site.netzneon input[type="checkbox"]:not(.nn-logout-switch)::before,
html body.site.netzneon input[type="checkbox"]:not(.nn-logout-switch)::after,
body.contentpane.netzneon input[type="checkbox"]::before,
body.contentpane.netzneon input[type="checkbox"]::after {
  content: none !important;
  display: none !important;
}

html body.site.netzneon input[type="checkbox"]:not(.nn-logout-switch):checked,
body.contentpane.netzneon input[type="checkbox"]:checked,
body.contentpane.netzneon input[type="checkbox"].media-toolbar-select-all:checked {
  background-color: #14a848 !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.3l3.1 3.1 6.5-6.5'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center, center !important;
  background-size: 13px 13px, 100% 100% !important;
  border: 1px solid #4dff78 !important;
  box-shadow: 0 0 8px rgba(61, 206, 98, 0.45) !important;
}

body.contentpane.netzneon .media-toolbar {
  min-height: 44px !important;
  height: auto !important;
  padding: 6px 12px !important;
  align-items: center !important;
}

body.contentpane.netzneon .media-breadcrumb,
body.contentpane.netzneon .media-breadcrumb ol,
body.contentpane.netzneon .media-breadcrumb-item {
  height: auto !important;
  min-height: 0 !important;
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.contentpane.netzneon .media-breadcrumb-item a {
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  padding: 0 10px !important;
  line-height: 24px !important;
  font-size: 12.5px !important;
  border-radius: 5px !important;
  box-sizing: border-box !important;
}

body.contentpane.netzneon .media-browser-select ~ .media-browser-select {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.contentpane.netzneon .media-browser-item .media-browser-select,
body.contentpane.netzneon .media-browser-item .media-browser-select.has-neon-tooltip,
body.contentpane.netzneon .media-browser-item .media-browser-select[data-custom-tooltip] {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 5px !important;
  background: rgba(10, 18, 32, 0.85) !important;
  border: 1px solid rgba(0, 210, 255, 0.5) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  opacity: 1 !important;
  z-index: 4 !important;
}

body.contentpane.netzneon .media-browser-item .media-browser-select::before {
  content: none !important;
  display: none !important;
}

body.contentpane.netzneon .media-browser-item .media-browser-select::after {
  position: static !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  font-size: 11px !important;
  color: transparent !important;
  opacity: 0 !important;
}

body.contentpane.netzneon .media-browser-item.selected .media-browser-select,
body.contentpane.netzneon .media-browser-item.selected .media-browser-select.has-neon-tooltip {
  background-color: #14a848 !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.3l3.1 3.1 6.5-6.5'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center, center !important;
  background-size: 13px 13px, 100% 100% !important;
  border-color: #4dff78 !important;
  box-shadow: 0 0 8px rgba(61, 206, 98, 0.55) !important;
}

body.contentpane.netzneon .media-tree {
  list-style: none !important;
  padding-left: 14px !important;
  margin: 4px 0 !important;
}

body.contentpane.netzneon .media-tree-item::before,
body.contentpane.netzneon .media-tree-item::after {
  background-color: rgba(0, 210, 255, 0.25) !important;
}

body.contentpane.netzneon .media-tree-item > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  max-width: max-content !important;
  padding: 3px 10px !important;
  margin: 2px 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  outline: none !important;
}

body.contentpane.netzneon .media-tree-item > a:hover,
body.contentpane.netzneon .media-tree-item > a:focus,
body.contentpane.netzneon .media-tree-item > a:focus-visible {
  background: rgba(0, 210, 255, 0.14) !important;
  background-color: rgba(0, 210, 255, 0.14) !important;
  border: 1px solid rgba(0, 210, 255, 0.5) !important;
  color: #ffffff !important;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.2) !important;
}

body.contentpane.netzneon .media-tree-item.active > a,
body.contentpane.netzneon .media-tree-item.active > a:hover,
body.contentpane.netzneon .media-tree-item.active > a:focus-visible {
  background: linear-gradient(180deg, rgba(26, 138, 212, 0.38) 0%, rgba(6, 52, 92, 0.65) 100%) !important;
  background-color: rgba(26, 138, 212, 0.38) !important;
  border: 1px solid rgba(0, 210, 255, 0.7) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.25) !important;
}

body.contentpane.netzneon .media-tree-item .item-name {
  color: inherit !important;
}

/* 1.6.215 – Medien-Manager Plus/Minus-Zoom (sm/md/lg/xl) */
body.contentpane.netzneon .media-browser-items.media-browser-items-sm {
  grid-template-columns: repeat(auto-fill, minmax(13%, 1fr)) !important;
  gap: 8px !important;
}

body.contentpane.netzneon .media-browser-items.media-browser-items-md {
  grid-template-columns: repeat(auto-fill, minmax(18%, 1fr)) !important;
  gap: 12px !important;
}

body.contentpane.netzneon .media-browser-items.media-browser-items-lg {
  grid-template-columns: repeat(auto-fill, minmax(26%, 1fr)) !important;
  gap: 14px !important;
}

body.contentpane.netzneon .media-browser-items.media-browser-items-xl {
  grid-template-columns: repeat(auto-fill, minmax(40%, 1fr)) !important;
  gap: 16px !important;
}

body.contentpane.netzneon .media-browser-items-sm .media-browser-item-preview,
body.contentpane.netzneon .media-browser-items-sm .file-background,
body.contentpane.netzneon .media-browser-items-sm .image-background {
  height: 56px !important;
}

body.contentpane.netzneon .media-browser-items-sm .media-browser-item .folder-icon .nn-3d-folder-pair svg {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
}

body.contentpane.netzneon .media-browser-items-md .media-browser-item-preview,
body.contentpane.netzneon .media-browser-items-md .file-background,
body.contentpane.netzneon .media-browser-items-md .image-background {
  height: 78px !important;
}

body.contentpane.netzneon .media-browser-items-md .media-browser-item .folder-icon .nn-3d-folder-pair svg {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
}

body.contentpane.netzneon .media-browser-items-lg .media-browser-item-preview,
body.contentpane.netzneon .media-browser-items-lg .file-background,
body.contentpane.netzneon .media-browser-items-lg .image-background {
  height: 110px !important;
}

body.contentpane.netzneon .media-browser-items-lg .media-browser-item .folder-icon .nn-3d-folder-pair svg {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
}

body.contentpane.netzneon .media-browser-items-xl .media-browser-item-preview,
body.contentpane.netzneon .media-browser-items-xl .file-background,
body.contentpane.netzneon .media-browser-items-xl .image-background {
  height: 168px !important;
}

body.contentpane.netzneon .media-browser-items-xl .media-browser-item .folder-icon .nn-3d-folder-pair svg {
  width: 82px !important;
  height: 82px !important;
  min-width: 82px !important;
  min-height: 82px !important;
}

body.contentpane.netzneon button.media-toolbar-icon:disabled,
body.contentpane.netzneon button.media-toolbar-icon.disabled {
  opacity: 0.38 !important;
  cursor: default !important;
  filter: grayscale(0.4) !important;
  background: linear-gradient(180deg, #151c28 0%, #0b111c 100%) !important;
  border-color: #2a3444 !important;
  box-shadow: none !important;
  color: #64748b !important;
}

body.contentpane.netzneon button.media-toolbar-icon:disabled:hover,
body.contentpane.netzneon button.media-toolbar-icon.disabled:hover {
  background: linear-gradient(180deg, #151c28 0%, #0b111c 100%) !important;
  border-color: #2a3444 !important;
  box-shadow: none !important;
  color: #64748b !important;
}

/* ==========================================================================
   1.6.218 – Link einfügen / Medien (com_media) – 8 gezielte Korrekturen
   Nur hochspezifisch für Medien-Modal / Linkpicker. Keine TinyMCE-/Global-Änderungen.
   ========================================================================== */

/* Aufgabe 1: Rechter Medien-Kasten = gleiche Farbe wie linke Linkpicker-Nav (#081120) */
html body.site.netzneon joomla-dialog .editor-link-picker-nav,
html body.site.netzneon joomla-dialog .editor-link-picker-frame {
  background: #081120 !important;
  background-color: #081120 !important;
}

html body.contentpane.netzneon.component:has(#com-media),
html body.contentpane.netzneon.component.nn-in-iframe:has(#com-media),
html body.contentpane.site.netzneon:has(#com-media),
body.contentpane.netzneon:has(#com-media),
body.contentpane.netzneon:has(#com-media) #com-media,
body.contentpane.netzneon:has(#com-media) .media-container,
body.contentpane.netzneon:has(#com-media) .media-main,
body.contentpane.netzneon:has(#com-media) .media-browser,
body.contentpane.netzneon:has(#com-media) .media-sidebar,
body.contentpane.netzneon:has(#com-media) .subhead {
  background: #081120 !important;
  background-color: #081120 !important;
  background-image: none !important;
}

/* Aufgabe 2–4: Button-Reihenfolge (Hochladen | Löschen … Auswählen / darunter Verzeichnis) */
body.contentpane.netzneon:has(#com-media) #toolbar.btn-toolbar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  row-gap: 10px !important;
}

body.contentpane.netzneon:has(#com-media) #toolbar.btn-toolbar > joomla-toolbar-button:has(> button.btn-success:not(.nn-media-select-proxy)) {
  order: 1 !important;
}

body.contentpane.netzneon:has(#com-media) #toolbar.btn-toolbar > joomla-toolbar-button:has(> #mediaDelete),
body.contentpane.netzneon:has(#com-media) #toolbar.btn-toolbar > joomla-toolbar-button:has(> button.btn-danger) {
  order: 2 !important;
  margin-left: 0 !important;
}

body.contentpane.netzneon:has(#com-media) #toolbar.btn-toolbar > .nn-media-select-host,
body.contentpane.netzneon:has(#com-media) #toolbar.btn-toolbar > button.nn-media-select-proxy {
  order: 3 !important;
  margin-left: auto !important;
}

body.contentpane.netzneon:has(#com-media) #toolbar.btn-toolbar > joomla-toolbar-button:has(> button.btn-info) {
  order: 10 !important;
  flex: 0 0 100% !important;
  width: max-content !important;
  max-width: 100% !important;
}

body.contentpane.netzneon:has(#com-media) #mediaDelete .nn-trash-icon,
body.contentpane.netzneon:has(#com-media) button.btn-danger .nn-trash-icon {
  width: 15px !important;
  height: 15px !important;
  display: inline-block !important;
  v/* Nur FontAwesome-X ausblenden – SVG-Papierkorb im Span bleibt sichtbar */
body.contentpane.netzneon:has(#com-media) #mediaDelete .icon-times::before,
body.contentpane.netzneon:has(#com-media) #mediaDelete .nn-trash-holder::before,
body.contentpane.netzneon:has(#com-media) #mediaDelete .icon-trash::before {
  display: none !important;
  content: none !important;
  font-size: 0 !important;
}

body.contentpane.netzneon:has(#com-media) #mediaDelete .nn-trash-holder,
body.contentpane.netzneon:has(#com-media) #mediaDelete .icon-trash.nn-trash-holder {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 15px !important;
  height: 15px !important;
  margin-right: 6px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}one !important;
  content: none !important;
  font-size: 0 !important;
}

body.contentpane.netzneon:has(#com-media) button.nn-media-select-proxy,
body.contentpane.netzneon:has(#com-media) .nn-media-select-host > button.nn-media-select-proxy {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  background: linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  border: 1px solid rgba(80, 255, 120, 0.75) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 0 #064018, 0 3px 6px rgba(0, 0, 0, 0.4) !important;
}

body.contentpane.netzneon:has(#com-media) button.nn-media-select-proxy:hover:not(:disabled):not(.nn-media-action-disabled) {
  background: linear-gradient(180deg, #6dff94 0%, #14a848 100%) !important;
  border-color: #4dff78 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 0 #064018, 0 4px 8px rgba(0, 0, 0, 0.45), 0 0 12px rgba(57, 255, 20, 0.45) !important;
  color: #fff !important;
}

body.contentpane.netzneon:has(#com-media) button.nn-media-select-proxy .nn-select-check {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
}

/* Header-Auswählen nur im Medien-Tab verstecken (liegt jetzt in der Toolbar) */
html body.site.netzneon joomla-dialog:has(iframe[src*="com_media"]) .joomla-dialog-header .js-link-picker-select {
  display: none !important;
}

/* Aufgabe 5: Disabled-Look für Löschen + Auswählen */
body.contentpane.netzneon:has(#com-media) #mediaDelete:disabled,
body.contentpane.netzneon:has(#com-media) #mediaDelete.nn-media-action-disabled,
body.contentpane.netzneon:has(#com-media) button.btn-danger.nn-media-action-disabled,
body.contentpane.netzneon:has(#com-media) button.nn-media-select-proxy:disabled,
body.contentpane.netzneon:has(#com-media) button.nn-media-select-proxy.nn-media-action-disabled {
  opacity: 0.4 !important;
  filter: grayscale(80%) !important;
  cursor: default !important;
  pointer-events: none !important;
  box-shadow: none !important;
}

/* Aufgabe 6: Haken in „Alles auswählen“-Checkbox sichtbar */
body.contentpane.netzneon:has(#com-media) input[type="checkbox"].media-toolbar-select-all,
body.contentpane.netzneon:has(#com-media) input.media-toolbar-icon.media-toolbar-select-all {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 4px !important;
  background-color: #111a2e !important;
  background-image: linear-gradient(180deg, #1a2438 0%, #0a101c 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.5) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.65) !important;
  position: relative !important;
  display: inline-block !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  flex: 0 0 18px !important;
}

body.contentpane.netzneon:has(#com-media) input[type="checkbox"].media-toolbar-select-all:checked,
body.contentpane.netzneon:has(#com-media) input.media-toolbar-icon.media-toolbar-select-all:checked {
  background-color: #14a848 !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M3.1 8.2l3.2 3.2 6.6-6.6'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #3dce62 0%, #0c6b30 100%) !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center, center !important;
  background-size: 12px 12px, 100% 100% !important;
  border: 1px solid #4dff78 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 8px rgba(61, 206, 98, 0.45) !important;
}

body.contentpane.netzneon:has(#com-media) input[type="checkbox"].media-toolbar-select-all:checked::after,
body.contentpane.netzneon:has(#com-media) input.media-toolbar-icon.media-toolbar-select-all:checked::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23b8ffd0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M3.1 8.2l3.2 3.2 6.6-6.6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px 12px !important;
  pointer-events: none !important;
  box-shadow: none !important;
}

/* Aufgabe 7: Such-/Filterleiste Abstand zum äußeren Rahmen */
body.contentpane.netzneon:has(#com-media) .media-main > .media-toolbar,
body.contentpane.netzneon:has(#com-media) .media-toolbar[role="toolbar"] {
  margin-left: 12px !important;
  margin-right: 12px !important;
  width: auto !important;
  max-width: calc(100% - 24px) !important;
  box-sizing: border-box !important;
}

/* Aufgabe 8: Dunkle Kästen hinter Vorschaubildern + 3-Punkte transparent */
body.contentpane.netzneon:has(#com-media) .media-browser-item-preview,
body.contentpane.netzneon:has(#com-media) .media-browser-item-preview:hover,
body.contentpane.netzneon:has(#com-media) .media-browser-item-preview:focus,
body.contentpane.netzneon:has(#com-media) .file-background,
body.contentpane.netzneon:has(#com-media) .file-background:hover,
body.contentpane.netzneon:has(#com-media) .image-background,
body.contentpane.netzneon:has(#com-media) .image-background:hover,
body.contentpane.netzneon:has(#com-media) .media-browser-image .image-background,
body.contentpane.netzneon:has(#com-media) .media-browser-image .image-background:hover,
body.contentpane.netzneon:has(#com-media) .media-browser-items-sm .media-browser-item-preview,
body.contentpane.netzneon:has(#com-media) .media-browser-items-md .media-browser-item-preview,
body.contentpane.netzneon:has(#com-media) .media-browser-items-lg .media-browser-item-preview,
body.contentpane.netzneon:has(#com-media) .media-browser-items-xl .media-browser-item-preview,
body.contentpane.netzneon:has(#com-media) .media-browser-items-sm .file-background,
body.contentpane.netzneon:has(#com-media) .media-browser-items-md .file-background,
body.contentpane.netzneon:has(#com-media) .media-browser-items-lg .file-background,
body.contentpane.netzneon:has(#com-media) .media-browser-items-xl .file-background,
body.contentpane.netzneon:has(#com-media) .media-browser-items-sm .image-background,
body.contentpane.netzneon:has(#com-media) .media-browser-items-md .image-background,
body.contentpane.netzneon:has(#com-media) .media-browser-items-lg .image-background,
body.contentpane.netzneon:has(#com-media) .media-browser-items-xl .image-background {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.contentpane.netzneon:has(#com-media) .media-browser-item .action-toggle,
body.contentpane.netzneon:has(#com-media) .media-browser-item .action-toggle:hover,
body.contentpane.netzneon:has(#com-media) .media-browser-item .action-toggle:focus,
body.contentpane.netzneon:has(#com-media) .media-browser-item .action-toggle:active,
body.contentpane.netzneon:has(#com-media) .media-browser-actions .action-toggle,
body.contentpane.netzneon:has(#com-media) .media-browser-actions .action-toggle:hover,
body.contentpane.netzneon:has(#com-media) button.action-toggle,
body.contentpane.netzneon:has(#com-media) button.action-toggle:hover {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* 1.6.218b – Header-Auswählen im Medien-Tab hart ausblenden */
html body.site.netzneon joomla-dialog:has(iframe[src*="com_media"]) .joomla-dialog-header button.js-link-picker-select,
html body.site.netzneon joomla-dialog:has(iframe[src*="com_media"]) .joomla-dialog-header button.js-link-picker-select:not([hidden]),
html body.site.netzneon.com_content.view-form joomla-dialog:has(iframe[src*="com_media"]) .joomla-dialog-header button.js-link-picker-select:not([hidden]),
html body.site.netzneon joomla-dialog:has(iframe[src*="option=com_media"]) .joomla-dialog-header .js-link-picker-select {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

body.contentpane.netzneon:has(#com-media) #mediaDelete .nn-trash-icon {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: currentColor !important;
}

body.contentpane.netzneon:has(#com-media) button.nn-media-select-proxy span {
  display: inline !important;
  color: inherit !important;
}

/* ==========================================================================
   1.6.221 – Link einfügen: 5 gezielte Korrekturen (alle Reiter + Media UX)
   Hochspezifisch; keine globalen TinyMCE-/Site-Stile entfernen.
   ========================================================================== */

/* Aufgabe 1: Einheitliche Hintergrundfarbe #081120 für ALLE Linkpicker-iFrames */
html body.site.netzneon joomla-dialog .editor-link-picker,
html body.site.netzneon joomla-dialog .editor-link-picker-nav,
html body.site.netzneon joomla-dialog .editor-link-picker-frame,
html body.site.netzneon joomla-dialog.editor-link-picker-dialog .joomla-dialog-body {
  background: #081120 !important;
  background-color: #081120 !important;
}

html body.contentpane.netzneon.component.nn-in-iframe,
html body.contentpane.site.netzneon.component.nn-in-iframe,
html body.contentpane.netzneon.component,
html body.contentpane.site.netzneon.component,
body.contentpane.netzneon.component.nn-in-iframe,
body.contentpane.site.netzneon.component.nn-in-iframe,
body.contentpane.netzneon.component,
body.contentpane.site.netzneon.component {
  background: #081120 !important;
  background-color: #081120 !important;
  background-image: none !important;
}

/* Aufgabe 2: Aktiver Linker-Reiter nicht erneut klickbar */
html body.site.netzneon joomla-dialog .editor-link-picker-item.active,
html body.site.netzneon joomla-dialog .editor-link-picker-item.active:hover,
html body.site.netzneon joomla-dialog .editor-link-picker-item[aria-selected="true"],
html body.site.netzneon joomla-dialog .editor-link-picker-item.selected {
  cursor: default !important;
  pointer-events: none !important;
}

/* Aufgabe 3: „Neues Verzeichnis“-Modal sichtbar über Backdrop (Vue setzt oft kein .show) */
body.contentpane.netzneon:has(#com-media) .modal:has(#createFolderTitle),
body.contentpane.netzneon:has(#com-media) .modal:has([aria-labelledby="createFolderTitle"]),
body.contentpane.netzneon:has(#com-media) .modal.nn-media-create-open,
body.contentpane.netzneon:has(#com-media) .modal[style*="display: flex"],
body.contentpane.netzneon:has(#com-media) .modal[style*="display:flex"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 1060 !important;
  background: rgba(2, 6, 14, 0.72) !important;
}

body.contentpane.netzneon:has(#com-media) .modal-backdrop,
body.contentpane.netzneon:has(#com-media) .modal-backdrop.show {
  z-index: 1040 !important;
  opacity: 0.65 !important;
}

body.contentpane.netzneon:has(#com-media) .modal:has(#createFolderTitle) .modal-dialog,
body.contentpane.netzneon:has(#com-media) .modal.nn-media-create-open .modal-dialog,
body.contentpane.netzneon:has(#com-media) .modal[style*="display: flex"] .modal-dialog,
body.contentpane.netzneon:has(#com-media) .modal[style*="display:flex"] .modal-dialog {
  width: min(92vw, 420px) !important;
  max-width: 92vw !important;
  min-width: 0 !important;
  margin: 16px auto !important;
  position: relative !important;
  z-index: 1061 !important;
}

body.contentpane.netzneon:has(#com-media) .modal:has(#createFolderTitle) .modal-content,
body.contentpane.netzneon:has(#com-media) .modal.nn-media-create-open .modal-content,
body.contentpane.netzneon:has(#com-media) .modal[style*="display: flex"] .modal-content,
body.contentpane.netzneon:has(#com-media) .modal[style*="display:flex"] .modal-content {
  background: linear-gradient(180deg, #122033 0%, #081120 100%) !important;
  border: 1px solid rgba(0, 210, 255, 0.55) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75), 0 0 18px rgba(0, 210, 255, 0.2) !important;
  color: #e2e8f0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.contentpane.netzneon:has(#com-media) .modal:has(#createFolderTitle) .modal-header,
body.contentpane.netzneon:has(#com-media) .modal.nn-media-create-open .modal-header,
body.contentpane.netzneon:has(#com-media) .modal[style*="display: flex"] .modal-header,
body.contentpane.netzneon:has(#com-media) .modal[style*="display:flex"] .modal-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(0, 210, 255, 0.25) !important;
  color: #f8fafc !important;
}

body.contentpane.netzneon:has(#com-media) .modal:has(#createFolderTitle) .modal-body,
body.contentpane.netzneon:has(#com-media) .modal.nn-media-create-open .modal-body,
body.contentpane.netzneon:has(#com-media) .modal[style*="display: flex"] .modal-body,
body.contentpane.netzneon:has(#com-media) .modal[style*="display:flex"] .modal-body,
body.contentpane.netzneon:has(#com-media) .modal:has(#createFolderTitle) .modal-footer,
body.contentpane.netzneon:has(#com-media) .modal.nn-media-create-open .modal-footer,
body.contentpane.netzneon:has(#com-media) .modal[style*="display: flex"] .modal-footer,
body.contentpane.netzneon:has(#com-media) .modal[style*="display:flex"] .modal-footer {
  background: transparent !important;
  border-color: rgba(0, 210, 255, 0.2) !important;
}

body.contentpane.netzneon:has(#com-media) .modal:has(#createFolderTitle) input,
body.contentpane.netzneon:has(#com-media) .modal.nn-media-create-open input,
body.contentpane.netzneon:has(#com-media) .modal[style*="display: flex"] input,
body.contentpane.netzneon:has(#com-media) .modal[style*="display:flex"] input {
  background: #111a2e !important;
  color: #f8fafc !important;
  border: 1px solid rgba(0, 210, 255, 0.45) !important;
  border-radius: 6px !important;
}

/* Aufgabe 4: Dunkle Overlay-Kästen / ::after auf Kachel-Vorschau entfernen */
body.contentpane.netzneon:has(#com-media) .media-browser-item-preview,
body.contentpane.netzneon:has(#com-media) .media-browser-item-preview:hover,
body.contentpane.netzneon:has(#com-media) .media-browser-item-preview:focus,
body.contentpane.netzneon:has(#com-media) .media-browser-item:hover .media-browser-item-preview,
body.contentpane.netzneon:has(#com-media) .file-background,
body.contentpane.netzneon:has(#com-media) .file-background:hover,
body.contentpane.netzneon:has(#com-media) .image-background,
body.contentpane.netzneon:has(#com-media) .image-background:hover,
body.contentpane.netzneon:has(#com-media) .image-cropped,
body.contentpane.netzneon:has(#com-media) .image-cropped:hover,
body.contentpane.netzneon:has(#com-media) .media-browser-item-directory .media-browser-item-preview,
body.contentpane.netzneon:has(#com-media) .media-browser-item-directory:hover .media-browser-item-preview {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.contentpane.netzneon:has(#com-media) .media-browser-item-preview::before,
body.contentpane.netzneon:has(#com-media) .media-browser-item-preview::after,
body.contentpane.netzneon:has(#com-media) .media-browser-item-preview:hover::before,
body.contentpane.netzneon:has(#com-media) .media-browser-item-preview:hover::after,
body.contentpane.netzneon:has(#com-media) .file-background::before,
body.contentpane.netzneon:has(#com-media) .file-background::after,
body.contentpane.netzneon:has(#com-media) .image-background::before,
body.contentpane.netzneon:has(#com-media) .image-background::after,
body.contentpane.netzneon:has(#com-media) .image-cropped::before,
body.contentpane.netzneon:has(#com-media) .image-cropped::after,
body.contentpane.netzneon:has(#com-media) .folder-icon::before,
body.contentpane.netzneon:has(#com-media) .folder-icon::after {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  opacity: 0 !important;
}

body.contentpane.netzneon:has(#com-media) .media-browser-item .action-toggle,
body.contentpane.netzneon:has(#com-media) .media-browser-item .action-toggle:hover,
body.contentpane.netzneon:has(#com-media) .media-browser-item .action-toggle:focus,
body.contentpane.netzneon:has(#com-media) .media-browser-actions .action-toggle,
body.contentpane.netzneon:has(#com-media) .media-browser-actions .action-toggle:hover,
body.contentpane.netzneon:has(#com-media) button.action-toggle,
body.contentpane.netzneon:has(#com-media) button.action-toggle:hover {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Aufgabe 5: 3-Punkte-Kontextmenü als schwebendes Pop-up */
body.contentpane.netzneon:has(#com-media) .media-browser-item,
body.contentpane.netzneon:has(#com-media) .media-browser-item-preview,
body.contentpane.netzneon:has(#com-media) .media-browser-item-directory,
body.contentpane.netzneon:has(#com-media) .media-browser-actions {
  overflow: visible !important;
}

body.contentpane.netzneon:has(#com-media) .media-browser-actions {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  z-index: 20 !important;
}

body.contentpane.netzneon:has(#com-media) .media-browser-actions-list,
body.contentpane.netzneon:has(#com-media) .media-browser-actions .media-browser-actions-list,
body.contentpane.netzneon:has(#com-media) .media-browser-actions > ul,
body.contentpane.netzneon:has(#com-media) .media-browser-actions .dropdown-menu,
body.contentpane.netzneon:has(#com-media) .media-browser-item .media-browser-actions-list {
  position: absolute !important;
  top: 36px !important;
  right: 6px !important;
  left: auto !important;
  z-index: 9999 !important;
  min-width: 150px !important;
  width: max-content !important;
  max-width: min(240px, 70vw) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  background-color: #0f172a !important;
  border: 1px solid #00d2ff !important;
  border-radius: 8px !important;
  padding: 6px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.85) !important;
  overflow: visible !important;
}

body.contentpane.netzneon:has(#com-media) .media-browser-actions-list li,
body.contentpane.netzneon:has(#com-media) .media-browser-actions-list > *,
body.contentpane.netzneon:has(#com-media) .media-browser-actions-list button,
body.contentpane.netzneon:has(#com-media) .media-browser-actions-list a,
body.contentpane.netzneon:has(#com-media) .media-browser-actions-list .action,
body.contentpane.netzneon:has(#com-media) .media-browser-actions .media-browser-actions-list button {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 6px 10px !important;
  margin: 0 !important;
  color: #f8fafc !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  text-align: left !important;
  cursor: pointer !important;
}

body.contentpane.netzneon:has(#com-media) .media-browser-actions-list button:hover,
body.contentpane.netzneon:has(#com-media) .media-browser-actions-list a:hover,
body.contentpane.netzneon:has(#com-media) .media-browser-actions-list .action:hover,
body.contentpane.netzneon:has(#com-media) .media-browser-actions .media-browser-actions-list button:hover {
  background: rgba(0, 210, 255, 0.16) !important;
  background-color: rgba(0, 210, 255, 0.16) !important;
  color: #ffffff !important;
}

body.contentpane.netzneon:has(#com-media) .media-browser-actions-list span[class*="icon-"],
body.contentpane.netzneon:has(#com-media) .media-browser-actions-list .image-browser-action,
body.contentpane.netzneon:has(#com-media) .media-browser-actions-list svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  font-size: 14px !important;
  line-height: 16px !important;
  flex-shrink: 0 !important;
}
