/* ==============================
   GLOBAL STYLES
   ============================== */
body, h1, h2, h3, h4, h5, h6, p, a, li {
    font-family: 'Open Sans', sans-serif;
}

/* ==============================
   OFFCANVAS MENU
   ============================== */
.offcanvas-menu .offcanvas-inner .sp-module ul > li a {
    text-transform: uppercase;
}

/* ==============================
   MODAL
   ============================== */
.modal {
    z-index: 1050 !important;
}

.modal-backdrop {
    display: none;
    z-index: 1040 !important;
}

/* ==============================
   MEGAMENU
   ============================== */
.sp-megamenu-wrapper {
    margin-left: auto; /* nach rechts verschieben */
}

.sp-megamenu-parent {
    justify-content: flex-end; /* Menüeinträge rechts */
}

.sp-megamenu-parent > li > a {
    font-family: 'Open Sans', sans-serif;
    display: inline-block;
    padding: 0 15px;
    line-height: 90px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgb(33, 37, 41);
    margin: 0;
}


/* ==================================================
   MODERNER PFEIL LINKS VOR MENÜTEXT – KEIN FONT AWESOME
   ================================================== */
.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;
}



/* ==============================
   HEADER & LOGO
   ============================== */
.mve_logo {
    display: flex;     
    justify-content: center; 
}

.mve_header {
    box-shadow: 5px 5px 15px 5px #000000;
}

/* ==============================
   BUTTONS (FOOTER & BLACK)
   ============================== */
.mve_button_footer,
.mve_button_black {
    background-color: transparent;
    border-radius: 0;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    float: right;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 5px;
    outline: none;
    overflow: visible;
    padding: 1.25em 2em;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    transition: all 0.3s ease-in-out;
    user-select: none;
    font-size: 14px;
}

.mve_button_footer {
    border: 2px solid #d1c9c9;
    color: #fff;
}

.mve_button_black {
    border: 2px solid #212529;
    color: #212529;
}

.mve_button_footer .text,
.mve_button_black .text {
    font-size: 1.125em;
    line-height: 1.33333em;
    padding-left: 2em;
    display: block;
    text-align: left;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.mve_button_footer a,
.mve_button_black a {
    color: inherit !important;
}

.mve_button_footer::before,
.mve_button_black::before {
    content: "";
    width: 1.5625rem;
    height: 2px;
    top: 50%;
    left: 1.5em;
    position: absolute;
    transform: translateY(-50%);
    transition: background 0.3s linear, width 0.3s linear;
}

.mve_button_footer::before {
    background: #d1c9c9;
}

.mve_button_black::before {
    background: #212529;
}

.mve_button_footer .top-key,
.mve_button_black .top-key,
.mve_button_footer .bottom-key-1,
.mve_button_black .bottom-key-1,
.mve_button_footer .bottom-key-2,
.mve_button_black .bottom-key-2 {
    position: absolute;
    height: 2px;
    background: currentColor;
    transition: width 0.5s ease-out, left 0.3s ease-out, right 0.3s ease-out;
}

/* Hover Effects */
.mve_button_footer:hover {
    background: #f83807;
}

.mve_button_footer:hover .text {
    color: white;
    padding-left: 1.5em;
}

.mve_button_black:hover {
    background: #fa9880;
}

.mve_button_black:hover .text {
    color: white;
    padding-left: 1.5em;
}

/*==================================
        TIMELINE
    ==================================*/
    
    h15 {
        color: #3D4351;
        margin-top: 0;
    }
    
    
    .container-fluid {
        display: flex;
        justify-content: center;
    
        .row {
            padding: 0 0 4em 0;
            &:nth-child(even) {
                background: #F1F4F5;
            }
        }
    }
    
    
    
        /*-- GENERAL STYLES
        ------------------------------*/
        .timeline {
            line-height: 1.4em;
            list-style: none;
            margin: 0;
            padding: 0;
            width: 100%;
            h1, h2, h3, h4, h5, h6 {
                line-height: inherit;
            }
        }
    
        /*----- TIMELINE ITEM -----*/
    
        .timeline-item {
            padding-left: 40px;
            position: relative;
            &:last-child {
                padding-bottom: 0;
            }
        }
    
        /*----- TIMELINE INFO -----*/
    
        .timeline-info {
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 3px;
            margin: 0 0 .5em 0;
            text-transform: uppercase;
            white-space: nowrap;
        }
        /*----- TIMELINE MARKER -----*/
    
        .timeline-marker {
            position: absolute;
            top: 0; bottom: 0; left: 0;
            width: 15px;
            &:before {
                background: #f83807;
                border: 3px solid transparent;
                border-radius: 100%;
                content: "";
                display: block;
                height: 15px;
                position: absolute;
                top: 4px; left: 0;
                width: 15px;
                transition: background 0.3s ease-in-out,
                        border 0.3s ease-in-out;
            }
            &:after {
                content: "";
                width: 3px;
                background: #CCD5DB;
                display: block;
                position: absolute;
                top: 24px; bottom: 0; left: 6px;
            }
            .timeline-item:last-child &:after {
                content: none;
            }
        }
        .timeline-item:not(.period):hover .timeline-marker:before {
            background: transparent;
            border: 3px solid #f83807;
        }
    
        /*----- TIMELINE CONTENT -----*/
    
        .timeline-content {
            padding-bottom: 40px;
            p:last-child {
                margin-bottom: 0;
            }
        }
    
        /*----- TIMELINE PERIOD -----*/
        
        .period {
            padding: 0;
            .timeline-info {
                display: none;
            }
            .timeline-marker {
                &:before {
                    background: transparent;
                    content: "";
                    width: 15px;
                    height: auto;
                    border: none;
                    border-radius: 0;
                    top: 0;
                    bottom: 30px;
                    position: absolute;
                    border-top: 3px solid #CCD5DB;
                    border-bottom: 3px solid #CCD5DB;
                }
                &:after {
                    content: "";
                    height: 32px;
                    top: auto;
                }
            }
            .timeline-content {
                padding: 40px 0 70px;
            }
            .timeline-title {
                margin: 0;
            }
        }
    
        /*----------------------------------------------
            MOD: TIMELINE SPLIT
        ----------------------------------------------*/
    
            .timeline-split {
                @media (min-width: 768px) {
                    .timeline {
                        display: table;
                    }
                    .timeline-item {
                        display: table-row;
                        padding: 0;
                    }
                    .timeline-info,
                    .timeline-marker,
                    .timeline-content,
                    .period .timeline-info {
                        display: table-cell;
                        vertical-align: top;
                    }
                    .timeline-marker {
                        position: relative;
                    }
                    .timeline-content {
                        padding-left: 30px;
                    }
                    .timeline-info {
                        padding-right: 30px;
                    }
                    .period .timeline-title {
                        position: relative;
                        left: -45px;
                    }
                }
            }
    
        /*----------------------------------------------
            MOD: TIMELINE CENTERED
        ----------------------------------------------*/
    
            .timeline-centered {
                @extend .timeline-split;
                @media (min-width: 992px) {
                    &,
                    .timeline-item,
                    .timeline-info,
                    .timeline-marker,
                    .timeline-content {
                        display: block;
                        margin: 0;
                        padding: 0;
                    }
                    .timeline-item {
                        padding-bottom: 40px;
                        overflow: hidden;
                    }
                    .timeline-marker {
                        position: absolute;
                        left: 50%;
                        margin-left: -7.5px;
                    }
                    .timeline-info,
                    .timeline-content {
                        width: 50%;
                    }
                    > .timeline-item:nth-child(odd) .timeline-info {
                        float: left;
                        text-align: right;
                        padding-right: 30px;
                    }
                    > .timeline-item:nth-child(odd) .timeline-content {
                        float: right;
                        text-align: left;
                        padding-left: 30px;
                    }    
                    > .timeline-item:nth-child(even) .timeline-info {
                        float: right;
                        text-align: left;
                        padding-left: 30px;
                    }
                    > .timeline-item:nth-child(even) .timeline-content {
                        float: left;
                        text-align: right;
                        padding-right: 30px;
                    }
                    > .timeline-item.period .timeline-content {
                        float: none;
                        padding: 0;
                        width: 100%;
                        text-align: center;
                    }
                    .timeline-item.period {
                        padding: 50px 0 90px;
                    }
                    .period .timeline-marker:after {
                        height: 30px;
                        bottom: 0;
                        top: auto;
                    }
                    .period .timeline-title {
                        left: auto;
                    }
                }
            }
    
        /*----------------------------------------------
            MOD: MARKER OUTLINE
        ----------------------------------------------*/
            
            .marker-outline {
                .timeline-marker {
                    &:before {
                        background: transparent;
                        border-color: #f83807;
                    }
                }
                .timeline-item:hover .timeline-marker:before {
                    background: #f83807;
                }
            }

.period .timeline-content {
    padding: 40px 0 70px;
}

.neueTermine {
    text-align: center;
}
