

/* MOOD IMG*/

@media only screen and (min-width: 1700px) {
	section.mood-img img {
		width: 100%;
		margin-top: -420px;
	}
}

@media only screen and (min-width: 1400px) {
	#teaser-6 {
		margin-top: 59px !important;
	}
}

@media only screen and (min-width: 960px) and (max-width: 1400px) {
	#teaser-6 {
		margin-top: 126px !important;
	}
}

@media only screen and (max-width: 1300px) {
	section.mood-img img {
		width: 100%;
		margin-top: -280px;
	}
}

@media only screen and (max-width: 1130px) {
	section.mood-img img {
		width: 100%;
		margin-top: -240px;
	}
}

@media only screen and (max-width: 960px) {
    
    #column-2 {
        margin-top: 114px !important;
    }

   #teaser-2 {
        margin-top: 84px;
    }
    
    #teaser-3 {
        margin-top:-2px !important;
    }
    
    #teaser-4 {
        margin-top: 50px;
    }

    #teaser-6 {
        margin-top: 167px !important;
    }

    #column-5 {
        float:right;
        margin-top: -50px;
    }

   #column-6 {
        float:left !important;
    }
}

@media only screen and (max-width: 880px) {
	section.mood-img img {
		width: 100%;
		margin-top: -140px;
	}
}


@media only screen and (max-width: 782px){
    #teaser-2{
        margin-top:170px;
    }
    #column-5{
        margin-top:50px;
    }
}


@media only screen and (min-width: 600px) and (max-width: 700px){
	section.mood-img img {
		width: 100%;
		margin-top: -70px;
	}
}

@media only screen and (max-width: 600px) {
    
    /* TEASER VERHALTEN*/
    
    #column-2, #column-3,  #column-5, #column-7, .news-slider-wrapper {
    margin-top:26px !important;
    margin-bottom:0 !important;
    }
    
    #teaser-1, #teaser-2, #teaser-3, #teaser-6 {
        margin-top:26px !important;
    }
    
    #column-4, .column.col-12.cbg_white.cf_mineshaft1{
    margin-top:0px !important;
    
    }
    
    #teaser-4, #column-6{
    margin-top:0px !important;
    margin-bottom:0 !important;
    }
        
    #column-3 {
	height: auto;
    }

    .home #column-2 {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    #column-5 {
        float: left;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    #column-6 {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .text-teaser {
        width: 93% !important;
        margin: 3% 3% 5% 3% !important;
    }

    .tabs {
        margin-top: 10px;
    }

    .news-slider-wrapper .column {
        margin: 38px 0 70px 0 !important;
    }

    #teaser-2 {
        margin-top: 10px;
    }

    #teaser-6 {
        margin-top: 26px !important;
    }

    .text-teaser p {
        text-align: center;
    }

    .managment-teaser-wrapper .left {
        max-width: 100%;
        padding: 0 5%;
        margin: 0;
    }

    .managment-teaser-wrapper .right {
        display: none;
    }

}

/* ─── Feature Boxes Section ─────────────────────────────────── */
.feature-boxes-inner {
    max-width: 1252px;
    margin: 0 auto;
    text-align: center;
    padding:0 5%;
}

.feature-boxes-headline {
    margin-bottom: 20px;
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semi);
    color: var(--color-text);
    line-height: 44px;
}

.feature-boxes-subline {
    color: var(--color-text);
    font-size: var(--font-size-base);
    line-height: 27px;
    margin-bottom: 64px;
    text-align: center;
}

.feature-boxes-grid {
    display:flex;
    gap: 42px;
    margin-bottom: 177px;
}

.feature-box {
    position: relative;
    background: #F3F3F3;
    border: 2px solid transparent;  /* Platz für Border-Animation */
    border-radius: var(--radius-md);
    text-align: left;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
    flex: 1 1 0px;
}

.feature-box img {
    width:100%;
}

.feature-box-content {
    padding:30px;
}

.icon-hover {
    opacity: 0;
    transition: all 0.35s;
}

/* Hover: nach oben fliegen + weißer Border */
.feature-box:hover {
    text-decoration: none;
    transform: translateY(-8px);
    border-color: #fff;
    box-shadow:-6px -6px 20px 0px #fff, -5px 5px 20px 0px #E974062E, 7px -5px 20px 0px #3EB3E42E, 7px 5px 20px 5px #fff
}

.feature-box:hover .icon-hover {
    opacity: 1;
}

/* ── Icon ── */
.feature-box-icon {
    width: 36px;
    height: 36px;
    color: var(--color-orange, #E97406);
    margin-bottom: 28px;
    display: block;
}



.feature-box-text {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.feature-box p {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    color: var(--color-text);
    line-height: 30px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .feature-boxes-grid {
        flex-direction: column;
    }
}