/* Basis-Styling für alle Info-Kästchen */
.info-box {
    padding: 30px;
    background-color: #f7f5f4;
    border-radius: 0px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative; /* Notwendig für absolute Positionierung der Trennlinie */
}

.info-box h2 {
    color: #726F6C;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Container für die Kästchen-Anordnung */
.info-boxes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0; /* Kein Abstand für die Trennlinie */
    margin-bottom: 30px;
    position: relative;
}

/* Die zwei oberen Kästchen */
.info-box-half {
    flex: 1;
    min-width: 300px;
    position: relative;
    margin: 0; /* Entferne alle Abstände */
}

/* Das untere Kästchen über die volle Breite */
.info-box-full {
    width: 100%;
}

/* Listen innerhalb der Kästchen */
.info-box ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.info-box li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.info-box p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Styling für die grauen Info-Kästchen */
.info-box.grey-box {
    background-color: #B8A498;
    color: #fff !important;
}

.info-box.grey-box h2 {
    color: #fff !important;
}

/* Trennlinie zwischen den Info-Boxen */
.info-box-half:first-child::before {
     content: '';
    position: absolute;
    top: 10%; /* Start about a third from the top */
    right: 0;
    width: 1px;
    height: 80%; /* Make it about a third of the height */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,    /* Completely transparent at top */
        rgba(255, 255, 255, 1) 15%,   /* Quickly fade to solid white */
        rgba(255, 255, 255, 1) 85%,   /* Stay solid white */
        rgba(255, 255, 255, 0) 100%   /* Fade to transparent at bottom */
    );
    z-index: 5;
}

/* Für alle ::before und ::after Elemente, stellen Sie sicher, dass der Gradient korrekt ist */
.info-box-half::before,
.info-box-half::after {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 10%,
        rgba(255, 255, 255, 0.5) 25%,
        rgba(255, 255, 255, 0.8) 40%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.8) 60%,
        rgba(255, 255, 255, 0.5) 75%,
        rgba(255, 255, 255, 0.2) 90%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
}

/* Bei kleineren Bildschirmgrößen: Kästchen untereinander */
@media (max-width: 768px) {
    .info-boxes-container {
        flex-direction: column;
        gap: 30px; /* Abstand zwischen den Kästchen bei mobiler Ansicht */
		    margin-bottom: 60px!important;
    }
    
    .info-box-half {
        width: 100%;
    }
    
    /* Keine Trennlinie bei mobiler Ansicht */
    .info-box-half:first-child::before,
    .info-box-half:first-child::after {
        display: none !important;
    }
}