.logo {
  pointer-events: none;
}

.logo a {
  pointer-events: auto;
  display: inline-block;
}

.logo a {
background-image: url(/files/cto_layout/img/logo.svg);
}

@media only screen and (max-width: 767px) {
    .logo a {
        background-image: url(/files/cto_layout/img/logo_sticky_2fb2.svg);
        width: 150px;
        height: 70px;
    }
}

/* =============================================================================
 * Logo Unterseiten
 * ========================================================================== */
@media only screen and (min-width: 768px) {
  body.content_page .header.original .logo a {
    background-image: url(/files/cto_layout/img/logo_sticky_2fb.svg);
    display: block;
    width: 240px;
    height: 115px;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

/* =============================================================================
 * Sticky
 * ========================================================================== */
 
.stickyheader .logo a {
background-image: url(/files/cto_layout/img/logo_sticky_2fb2.svg);
}

@media only screen and (max-width: 767px) {
	.stickyheader .logo a {
	background-image: url(/files/cto_layout/img/logo_sticky_2fb2.svg);
	width: 150px;
    height: 70px;
  }
}

/* =============================================================================
 * sidebar left
 * ========================================================================== */

body.sidebar.left #main {
   flex: 78%;
   border-left: none;
   order: 2;
}

body.sidebar.left #left {
   flex: 22%;
   order: 1;
}

body.sidebar.left #main > .inside {
   padding-left: 40px;
}

body.sidebar.left #left > .inside {
   margin-right: 40px;
}

#left .submenu_v1 {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 2px 2px rgba(0,0,0,0.05);
  padding: 0; /* Kein Innenabstand – der Hover geht bis zum Rand */
  overflow: hidden; /* Damit abgerundete Ecken sauber sind */
}

/* =============================================================================
 * MENÜ sidebar left
 * ========================================================================== */

#left .submenu_v1 ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#left .submenu_v1 li a {
  display: block;
  padding: 10px 20px; /* Text nach innen rücken */
  color: #6ab23e;
  text-decoration: none;
}

#left .submenu_v1 li a:hover {
  background: rgba(0, 0, 0, 0.05); /* Hover-Farbe */
}

/* ✅ Aktiver Menüpunkt */
#left .submenu_v1 li a.active,
#left .submenu_v1 li a:focus,
#left .submenu_v1 li.active > a {
  font-weight: bold;
  color: #53821D;
  background: rgba(0, 0, 0, 0.05); /* optional: gleiche Hintergrundfarbe wie Hover */
}


/* =============================================================================
 * FAncy Devider Header Rechteck SEiten Sportarten
 * ========================================================================== */

.ce_fancy_divider.versionTUS {
  width: 100%;
  height: 110px;
  display: block;
  background-color: #53821D; /* fester Grünton */
}

/* Falls Contao trotzdem ein SVG ausgibt, blenden wir es aus */
.ce_fancy_divider.versionTUS svg {
  display: none;
}

/* =============================================================================
 * Breadcrub
 * ========================================================================== */
 
.mod_breadcrumb {
	border-bottom: none; /* Linie unten entfernen */
	border-top: none; /* Linie oben entfernen */
}

.mod_breadcrumb_inside ul {
	position: relative;
}

.mod_breadcrumb_inside ul::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: -100vw; /* nach rechts überlaufend */
	height: 1px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#breadcrumb .mod_breadcrumb_inside ul li:first-child a::before {
  font-family: "FontAwesome";
  content: "\f015";
  margin-right: 5px;
}

/* =============================================================================
 * Seite Sportarten, Übersicht
 * ========================================================================== */

/* Auf Smartphones: Hintergrundfarbe entfernen */
@media only screen and (max-width: 767px) {
  #grauespalte {
    background-color: transparent !important;
  }
}

/* Auf Smartphones: Rahmen entfernen */
@media only screen and (max-width: 767px) {
  #rahmen_sportarten.ce_wrap.shadow-1 {
    box-shadow: none !important;
  }
}

/* Bildgrößen Sportarten*/

#bild_sportarten img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

@media only screen and (max-width: 767px) {
  #bild_sportarten img {
    height: 200px !important;
    object-fit: cover;
  }
}

/* =============================================================================
 * Buttons
 * ========================================================================== */

:root {
  --hyperlink-small-padding-right: 0px;
}

.ce_hyperlink.btn-black-outline a.hyperlink_txt {
  font-weight: 100;
}

.ce_hyperlink.has-icon[class*="outline"] a i {
    box-shadow: none !important;
    border: none !important;
}

.ce_hyperlink.btn-black-outline a {
	border-color: #8d8b8b;
	color: #8d8b8b;
	background: transparent;
	border-width: 1px;
}

/* =============================================================================
 * Textlink Style 3 TUS
 * ========================================================================== */

.ce_textlink[data-style="style3"] {
  position: relative;
  text-decoration: none;
  color: #646363;
  line-height: 1.1;
  padding: 10px 0; /* 8px oben & unten */
}

.ce_textlink[data-style="style3"] a {
  display: inline-block;
  position: relative;
  color: inherit;
  text-decoration: none;
}

.ce_textlink[data-style="style3"] a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #646363;
  transform-origin: left;
  transform: scaleX(0); /* Linie ist zunächst unsichtbar */
}

.ce_textlink[data-style="style3"] a:hover::after {
  animation: growLine 0.9s cubic-bezier(.25, 1, .33, 1) forwards;
}

@keyframes growLine {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  100% {
    transform-origin: left;
    transform: scaleX(1);
  }
}

/* =============================================================================
 * Anpassungen Nachrichtenleser und Liste Sportarten
 * ========================================================================== */

.mod_portfoliolist_v7 .comments {
    display:none;
}

.newsreader .info {
    display:none;
}

.mod_portfoliolist_v7.portfolio-col3 .item { height: 436px;}
.mod_portfoliolist_v7.portfolio-col3 .item:hover { height: auto;}


/* =============================================================================
 * Sportarten Kategorie unten
 * ========================================================================== */

.tt-teaser {
  position: relative;
  min-height: 320px;        /* je nach Design */
  background-size: cover;
  background-position: center;
  overflow: hidden;         /* optional, falls Radius o.ä. */
}

.tt-teaser .tt-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;                /* sitzt unten auf */
}

/* =============================================================================
 * Abstand Sportarten mobil
 * ========================================================================== */

@media only screen and (max-width: 767px) {
    .mod_article:not(.fullwidth) > .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}  


/* =============================================================================
 * Portfoliolist runde Ecken
 * ========================================================================== */


.mod_portfoliolist_v7 .image {
		border-radius: 12px;
}

.mod_portfoliolist_v7 .item {
		border-radius: 12px!important;
}

.mod_portfoliolist_v7 .item:hover {
	border-radius: 12px!important;
	box-shadow: 0 10px 10px rgba(0,0,0,.2);
    border-color: rgb(255,255,255);
    z-index: 100;
}

.mod_portfoliolist_v7 .item-bottom {
    padding: 5px!important;
}

p.empty {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  text-align: center;
  color: #555;
  font-style: italic;
  padding: 1.5rem 0;
  position: relative;
  z-index: 10;
}

/* =============================================================================
 * Formular Checkbox ohne Rand
 * ========================================================================== */

.ohnerand {
        border: none;
}

.ohneabstand {
    margin-bottom: none;
    padding-bottom:none;
    padding-top:none;
}


form div.widget.ohneabstand {
    margin-bottom: 0px;
}

/* =============================================================================
 * Teambox
 * ========================================================================== */
 
 .ce_teambox .email a {
  color: var(--accentColor);
  text-decoration: none;
  position: relative;
}

/* Originaltext ausblenden */
.ce_teambox .email a::before {
  content: "E-Mail";
}

.ce_teambox .email a {
  font-size: 0; /* blendet den Originaltext unsichtbar aus */
}

.ce_teambox .email a::before {
  font-size: 16px; /* gewünschte Schriftgröße für "E-Mail" */
}

.ce_teambox .socials {
  display:none; }
  
  /* =============================================================================
 * Produktbox Runde Ecken
 * ========================================================================== */
  
.ce_productbox.version1 {
    border: 1px solid rgb(230, 230, 230);
    border-bottom: 3px solid rgb(230, 230, 230);
    border-radius: 10px;
}

.ce_productbox.version1 .ce_productbox_inside {
    background: rgb(255, 255, 255);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

  /* =============================================================================
 * TAB-Menü links
 * ========================================================================== */
.ce_tabs .tabs.horizontal {
    text-align: initial;
}

  /* =============================================================================
 * Sidebar left Untermenü eingerückt und mit Punkten
 * ========================================================================== */

/* #left .submenu_v1 ul ul {
    margin-left: 20px;
    } 
    */
    
#left .submenu_v1 ul ul li {
    position: relative;
    padding-left: 18px; /* Gesamter Einzug */
}

#left .submenu_v1 ul ul li::before {
    content: "•";
    position: absolute;
    left: 20px;           /* Punkt näher am Text */
    top: 50%;
    transform: translateY(-50%);
    color: #6ab23e;
    font-size: 20px;
}

  /* =============================================================================
 * Pfeil hinter Level1, wenn Level2 vorhanden
 * ========================================================================== */

#left .submenu_v1 .level_1 > li.submenu > a {
    position: relative;
    padding-right: 18px;  /* Platz für Pfeil schaffen */
}

#left .submenu_v1 .level_1 > li.submenu > a::after {
    content: "›";
    position: absolute;
    font-size: 25px;
    right: 5px;           /* Pfeil ganz rechts */
    top: 50%;
    transform: translateY(-50%);
    color: #6ab23e;
}

/* Wenn Level-2 geöffnet oder aktiv → Pfeil nach unten */
#left .submenu_v1 .level_1 > li.submenu.active > a::after,
#left .submenu_v1 .level_1 > li.submenu.trail > a::after {
    transform: translateY(-50%) rotate(90deg); /* nach unten */
}

  /* =============================================================================
 * Grid Spalte mit Schatten und runden Ecken
 * ========================================================================== */

.schatten .attributes {
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.05);
    padding: 20px 10px 20px 10px!important;
    border-radius:10px;
}


  /* =============================================================================
 * Bottom Hover-Farbe Weiß
 * ========================================================================== */
 
 
#bottom .inside a:hover {
    color: #ffffff;
    
}

  /* =============================================================================
 * Bildunterschriften
 * ========================================================================== */
 

.image_container .caption {
    background: none;
    color: black;
    padding: 8px 12px;
    font-size: 0.8667rem;
    border-radius: 3px;
    line-height: 1.3;
    display: inline-block;
    margin-top: 5px;
}


/* ===============================
   Wartungsseite – page_97
   =============================== */

/* Header & Top-Link grundsätzlich ausblenden */
body.page_97 header#header,
body.page_97 #top_link {
    visibility: hidden;
}

/* Weißer Streifen / Header-Hintergrund entfernen */
body.page_97 #top-wrapper,
body.page_97 #fix-wrapper,
body.page_97 #header {
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Header-Inhalt vollständig ausblenden */
body.page_97 #header .inside,
body.page_97 #header .clear {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

/* Breadcrumb ausblenden */
body.page_97 .mod_breadcrumb,
body.page_97 #breadcrumb,
body.page_97 .breadcrumb {
    display: none !important;
}

/* ===============================
   Sticky Header KOMPLETT deaktivieren
   =============================== */

/* Alle fixierten / gestickten Header killen */
body.page_97 header,
body.page_97 [class*="sticky"],
body.page_97 [class*="fixed"],
body.page_97 [class*="clone"],
body.page_97 [id*="sticky"],
body.page_97 [id*="fixed"] {
    position: static !important;
    top: auto !important;
    display: none !important;
    visibility: hidden !important;
}

/* ===============================
   Logo wieder einblenden
   =============================== */

/* Logo sichtbar machen (trotz hidden-Header) */
body.page_97 header#header .logo,
body.page_97 header#header .mod_logo,
body.page_97 header#header #logo {
    visibility: visible !important;
    display: block !important;
}
