body{
    hyphens: auto;
    hyphenate-limit-chars: 7 4 5;

}

:root {
    --bs-primary-rgb: 69, 75, 106;
    --bs-primary:#454b6a;
    --bs-secondary:#b19c5d;
    --bs-secondary-rgb: 177, 156, 93;
    --bs-light:#f4f4f3;
    --bs-light-rgb: 244, 244, 243;
    --bs-body-color: #000;
    --bs-body-color-rgb: 0, 0, 0;

    /* Typography */
    --bs-body-font-family: "Lato", sans-serif;

}

.container-sm{
    max-width: 780px;
}

/* Button Styles */
.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-color:white;
    --bs-btn-border-color:var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-color: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-secondary);
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-color: var(--bs-primary);
}

/* Link-Styles */

a{
    color: var(--bs-body-color);
    text-decoration: none;
}

.whitelink a{
    color: white;
    text-decoration: none;
}

a:hover{
    color: var(--bs-primary);
}

.whitelink a:hover{
    color: white;
    text-decoration: underline;
}

h1, h2, h3{
    font-weight: 700;
}
h3, h2{
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;

}

h3:before, h2:before {
    position: absolute;
    left: 0px;
    top: 3px;
    width: 3px; 
    height: 17px;
    background-color: #b19c5d;
    content: "";
}

p, ul, h1, h3, a{
    margin-bottom: 0rem;
}

/* Listen-Styles */
ul{
    list-style: none;
    padding-left: 0rem;
}

ul li{
    position: relative;
    padding-left: 1.5rem;
}

li:before {
    position: absolute;
    top: 9px;
    left: 0px;
    content: "";
    height: 8px;
    width: 8px;
    border-radius: 5px;
    border: 1px solid #aaa; 
} 	

/* Custom Styles*/
.mt-custom{
    margin-top: 100px;
}

.icon {
    width: 38px;
}

.iconbox p{
    font-size: 11px;
}

/* Desktop Vorteile */
.jobbenefitflex { 
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.jobbenefit { 
    position: relative;
    display: flex;
    flex: 1 1 0;
    justify-content: center;
    align-items: center;
    margin: 0 0;
    height: 135px;
    background: #f4f4f3;
    transition: transform 0.2s ease;
    border-radius: 20px;
    min-width: 0px; 
    cursor: pointer;
    
}

.jobbenefit:hover, .jobbenefit_info {
    z-index: 10;
}

/* AB 6 ELEMENTEN */
.jobbenefitflex:has(.jobbenefit:nth-child(6)) {
  flex-wrap: wrap;
}

.jobbenefitflex:has(.jobbenefit:nth-child(6)) .jobbenefit {
  flex: 0 0 calc((100% - 40px) / 3);
}

.jobbenefit:hover { 
    transform: translateY(-3px); 
}

.benefit-icon { 
    width: 50px; 
    height: 50px; 
    object-fit: contain; 
 }

.jobbenefit_info {
    position: absolute; 
    top: -25px; 
    left: -20px; 
    min-height: 200px;
    background: #454b6a; 
    border-radius: 20px; 
    padding: 15px; 
    color: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: start;
    opacity: 0; 
    pointer-events: none; 
    z-index: 2;
}


/* Radio-Button Steuerung */
.jobbenefit:hover .jobbenefit_info {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.jobbenefit_info ul { 
    text-align: left;
    margin:0; 
    font-size:14px; 
    line-height:16px; }

.jobbenefit_info li { 
    margin-bottom:6px; 
}

/* Mobile Akkordeon */
.jobbenefitmobile { display: none; margin-top: 20px; }

/* Responsive Anpassungen */
@media(max-width: 768px){
    .jobbenefitflex { 
        display: none;
    }
    .jobbenefitmobile { 
        display:block; 
    }
    .mobilebenefitaccordion input { 
        display: none; 
    }

    .mobilebenefithandle { 
        display: flex; 
        align-items: center; 
        justify-content: start;
        gap: 15px; 
        padding: 18px 15px; 
        background: #f4f4f3; 
        border-radius: 20px 20px 0 0; 
        font-weight:600; 
        color:#b19c5d; 
        cursor:pointer; 
        font-size:14px;
         }

    .mobilebenefitcontent { 
        max-height:0; 
        overflow:hidden; 
        opacity:0; 
        transition:max-height 0.3s ease, opacity 0.3s ease;
        background:#454b6a; 
        color:#fff; 
        padding:0 20px; 
        border-radius:0 0 20px 20px; 
        font-size:14px; 
        line-height:18px; 
        margin-bottom: 15px;
    }

    .mobilebenefitaccordion input:checked ~ .mobilebenefitcontent { 
        max-height: 500px; 
        opacity:1; 
        padding:15px 20px; }

    .mobilebenefitcontent ul { padding-left:15px; margin:0; }
    .mobilebenefitcontent li { margin-bottom:8px; }

    img.img-fluid { max-width:100%; height:auto; margin-bottom: 20px; }
}
