/* ==================================================
   HELIX ULTIMATE – CUSTOM CSS (FINAL)
   Schrift: Carrois Gothic
   Farbkonzept: Rot / Orange
   ================================================== */

/* ==================================================
   BASIS / TYPOGRAFIE
   ================================================== */

body {
    font-family: "Carrois Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    background-color: #ffffff;
}

p,
li,
td,
th {
    font-size: 1rem;
    line-height: 1.65;
}

/* ==================================================
   ÜBERSCHRIFTEN
   ================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: "Carrois Gothic", sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #e93213;
    margin-bottom: 0.6em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

/* ==================================================
   LINKS
   ================================================== */

a {
    color: #e93213;
}
a:hover {
    color: #e93213;
}

/* ==================================================
   HEADER / MAIN MENU
   ================================================== */

.sp-header {
    background-color: #f8f8f8;
    color: #666666;
    
}

.sp-megamenu-parent > li > a,
.offcanvas-menu .menu > li > a {
    font-family: "Carrois Gothic", sans-serif;
    font-size: 1.0rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #e93213;
}

.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li.active > a {
    color: #e93213;
}

/* Dropdown */
.sp-megamenu-parent .sp-dropdown-inner {
    background: #f8f8f8;
    padding: 15px;
}

.sp-megamenu-parent .sp-dropdown li > a {
    padding: 6px 10px;
    color: #e93213;
}

.sp-megamenu-parent .sp-dropdown li > a:hover {
    color: #e93213;
}



/* ==================================================
   MODERNER PFEIL LINKS VOR MENÜTEXT – KEIN FONT AWESOME
   ================================================== */
.sp-header {
    background-color: #666;
}



.sp-module ul > li > a {
    position: relative;  /* wichtig, falls später weitere Effekte */
    padding-left: 0;     /* Text bleibt unverändert */
}

/* Pfeil links vor dem Text */
.sp-module ul > li > a:before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;   /* benutzt die bestehende Textfarbe */
    border-right: 2px solid currentColor;
    transform: rotate(45deg);             /* Pfeil zeigt nach rechts */
    margin-right: 6px;                    /* Abstand zum Text */
    vertical-align: middle;               /* schön mittig */
    opacity: 0.6;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hover Effekt – Pfeil bewegt sich leicht nach rechts */
.sp-module ul > li > a:hover:before {
    transform: rotate(45deg) translateX(3px);
    opacity: 1;
}



/* ==================================================
   OFFCANVAS MENU – MODERN & CLEAN
   ================================================== */

.offcanvas-menu,
.offcanvas-menu .offcanvas-inner {
    background: #eb9383;
    color: #ffffff;
}

/* Menüliste */
.offcanvas-menu .menu {
    padding: 30px 20px;
}

/* Menülinks */
.offcanvas-menu .menu > li > a {
    display: block;
    padding: 14px 10px;
    font-family: "Carrois Gothic", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    transition: all 0.3s ease;
}

/* Hover / Aktiv */
.offcanvas-menu .menu > li > a:hover,
.offcanvas-menu .menu > li.active > a {
    background-color: rgba(255,255,255,0.15);
    padding-left: 18px;
}

/* Submenu */
.offcanvas-menu .menu li ul {
    margin-top: 5px;
}

.offcanvas-menu .menu li ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    opacity: 0.9;
    padding-left: 22px;
}

/* Offcanvas Close Button */
.offcanvas-menu .close-offcanvas {
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.offcanvas-menu .close-offcanvas:hover {
    opacity: 1;
    transform: rotate(90deg);
}


/* ==================================================
   BUTTONS
   ================================================== */

.btn-primary,
.sppb-btn-primary {
    background-color: #e93213;
    border-color: #e93213;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.sppb-btn-primary:hover {
    background-color: #eb9383;
    border-color: #e93213;
}




/* ==================================================
   ACCORDION – MODERN + MOBILE
   ================================================== */

.accordion-item {
    border: none;
    margin-bottom: 0.75rem;
}

/* Button Basis */
.accordion-button {
    font-family: "Carrois Gothic", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.2rem 1.4rem;
    color: #333;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

/* Hover */
.accordion-button:hover {
    color: #e93213;
    background-color: rgba(233, 50, 19, 0.08);
}

/* Aktiv */
.accordion-button:not(.collapsed) {
    color: #e93213 !important;
    background-color: rgba(233, 50, 19, 0.18) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Pfeil */
.accordion-button::after {
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: brightness(0) saturate(100%) invert(20%) sepia(80%) saturate(600%) hue-rotate(350deg);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

/* Content */
.accordion-body {
    padding: 1.2rem 1.4rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==================================================
   BORDERS ENTFERNEN (GLOBAL)
   ================================================== */

.article,
.card,
.card-header,
.card-body,
.card-footer,
.sp-module,
.sp-module-content,
.article-item,
.blog-item,
.list-group-item,
table,
table th,
table td,
.pagination .page-link {
    border: none !important;
    box-shadow: none !important;
}

/* ==================================================
   BADGES
   ================================================== */

span.badge.bg-danger.featured-article-badge {
    display: none;
}

/* ==================================================
   MOBILE OPTIMIERUNG
   ================================================== */

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    .accordion-button {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .accordion-body {
        padding: 1rem 1.2rem;
    }
}


.MultiCarousel { float: left; overflow: hidden; padding: 15px; width: 100%; position:relative; }
    .MultiCarousel .MultiCarousel-inner { transition: 1s ease all; float: left; }
        .MultiCarousel .MultiCarousel-inner .item { float: left;}
        .MultiCarousel .MultiCarousel-inner .item > div { text-align: center; padding:10px; margin:10px; color:#666;}
    .MultiCarousel .leftLst, .MultiCarousel .rightLst { position:absolute; border-radius:50%;top:calc(50% - 20px); }
    .MultiCarousel .leftLst { left:0; }
    .MultiCarousel .rightLst { right:0; }
    
    .MultiCarousel .leftLst.over, .MultiCarousel .rightLst.over {
        pointer-events: none;
        background: #eb9383;
    }