



.custom-nav li,
.flyoutnav-tv-welle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  width: 105px;
  height: 100px;
  border: 3px solid #c90c0f;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 10px 3px;
  box-sizing: border-box;
  background: #fff;
 
  transition: transform 0.2s ease;
}
.flyoutnav-tv-welle div.uael-nav-menu-icon {padding:0 !important;}
.flyoutnav-tv-welle .uael-nav-menu__toggle {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.flyoutnav-tv-welle {
  transition: all 0.3s ease;
 }

.custom-nav {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
    position: relative;

}

.custom-nav li:hover {
  transform: translateY(-4px);
}
.custom-nav > li::before {
  content: "";
  display: block;
  width: 70px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.nav-inner {font-weight:300;}
@media (max-width: 768px) {
  .custom-nav li,
  .flyoutnav-tv-welle {

    width: 45px;
    height: 45px;
    padding: 2px;
  }

  .custom-nav > li::before {
    width: 30px;
    height: 30px;
  }
  .nav-inner {display:none;}
  .custom-nav li a, .uael-flyout-trigger > span {display:none}
}

/* Icon for .kurse */
.custom-nav li.trainingszeiten::before {
  background-image: url('/wp-content/uploads/2025/04/icon-kurse.svg');
}

/* Icon for .sportangebot */
.custom-nav li.sportangebot::before {
  background-image: url('/wp-content/uploads/2025/04/icon-sportangebot.svg');
}

/* Icon for .verein */
.custom-nav li.verein::before {
  background-image: url('/wp-content/uploads/2025/04/icon-verein.svg');
}

.custom-nav li a, .uael-flyout-trigger > span {
  font-size: 15px;
  font-family: "Ropa Sans";
  font-weight: light;
  text-decoration: none;
  color: #c90c0f !important;
  line-height: 1.2;
  word-break: break-word;
  white-space: normal;
  width: 100%;
  margin-top: auto;
}

/* Hover effect */
.custom-nav li a:hover {
  background: transparent;
  color: #b3100b;
}

/* --- Dropdown submenu --- */


.custom-nav li .submenu {
  display: none;
   left: 0;
  min-width: 160px;
  background: #fff;
 
  list-style: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 999;
   top: calc(100% - 15px); /* oder -2px */
}


.custom-nav li .submenu li {
  display: block;
  padding: 0;
  text-align: left;
  border: none;
  width: 100%;
  height: auto;
  line-height: 1.4;
  background: none;
  box-shadow: none;
}

.custom-nav li .submenu li a {
  font-size: 15px;
  color: #333;
  font-weight: normal;
  text-decoration: none;
  display: block;
  padding: 6px 12px;
  line-height: 1.3;
}

.custom-nav li .submenu li a:hover {
  color: #c90c0f;
  background-color: #f5f5f5;
}

/* --- Dropdown submenu --- */
/* --- Basis-Submenü (erste Submenü-Ebene = Mega-Menü horizontal) --- */
.custom-nav > li > .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;  /* oder so breit wie der Container */
  min-width: 800px;
  max-width: 100vw;
  background: #fff;
  padding: 20px 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 999;
  border-radius: 0 0 12px 12px;
}


/* Spalten im Mega-Menü */
.custom-nav > li > .submenu > li {
  min-width: 200px;
  margin-bottom: 0;
}

/* Titel der Spalte */
.custom-nav > li > .submenu > li > a {
  font-weight: bold;
  font-size: 16px;
  padding: 6px 12px;
  display: block;
  color: #222;
  border-bottom: 1px solid #eee;
  margin-bottom: 6px;
  background: none;
}

/* Dritte Ebene als vertikale Liste */
.custom-nav > li > .submenu > li > .submenu {
  display: block;
  position: static;
  padding: 0;
  list-style: none;
  background: none;
  box-shadow: none;
  margin: 0;
}

/* Dritte Ebene Links */
.custom-nav > li > .submenu > li > .submenu > li > a {
  font-size: 14px;
  padding: 4px 12px;
  display: block;
  color: #555;
  text-decoration: none;
  background: none;
}

.custom-nav > li > .submenu > li > .submenu > li > a:hover {
  color: #c90c0f;
  background-color: transparent;
}

.mega-float {
  position: fixed !important;
  top: 200px !important;     /* Höhe des Menüs anpassen! */
  left: 0px;
  width: 100vw !important;   /* Oder passend zum Menü */
  max-width:1400px;
  display: flex !important;
  z-index: 99999 !important;
  background:#fff;
  border-style:solid;
  border-color: #eee;
  border-width: 0px 1px 1px 1px;
  margin:0 auto;

}

.mega-float {
  position: fixed !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: row;
  background: #fff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
  border-radius: 0 0 12px 12px !important;
  border: 3px solid #c90c0f !important;
  padding: 18px 10px 18px 15px !important;  /* weniger Padding */
  margin: 0 !important;
  list-style: none !important;
  
  box-sizing: border-box;
}
.mega-float > li {
  min-width: 190px;
  max-width: 230px;
  padding: 0 8px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
}
.mega-float > li > a {
   font-family: 'Ropa Sans';
  font-weight: bold;
  font-size: 20px;
  padding: 4px 0 2px 8px;   /* weniger Einzug nach links */
  margin-bottom: 4px;
  color: #000;
  border-bottom: 1px solid #eee;
  background: none;
  display: block;
}
.mega-float > li > ul.submenu {
  display: block;
  position: static;
  padding: 0 0 0 10px;   /* geringer Einzug für dritte Ebene */
  margin: 0;
  list-style: none;
  background: none;
  box-shadow: none;
}
.mega-float > li > ul.submenu > li {
  padding: 0;
  margin: 0;
  list-style-type: none;          /* entfernt Bulletpoints auch in Submenüs */
}
.mega-float > li > ul.submenu > li {
  padding: 0;
  margin: 0;
}
.mega-float > li > ul.submenu > li > a {
  font-size: 16px;
  padding: 3px 0 3px 5px;    /* enger, dezenter Einzug */
  color: #000;
  text-decoration: none;
  background: none;
  border: none;
  display: block;
}
.mega-float > li > ul.submenu > li > a:hover {
  color: #c90c0f;
  background-color: #f7f7f7;
}

a.Trainer, a.Vorstand, a.Sponsoren {
    font-weight: bold;
    color: #d4af37; /* edles Gold */
    position: relative;
    text-decoration: none;
}

a.Trainer::before,
a.Trainer::after {
    content: "❤️";
    font-size: 1em;
    margin: 0 0.1em;
    vertical-align: middle;
}





a.Vorstand::before,
a.Vorstand::after {
    content: "★";
    color: #d4af37; /* goldener Stern */
    font-size: 0.9em;
    margin: 0;
    opacity: 0.9;
    vertical-align: middle;
}


