/* ---------------------------------------------
   UNTERSEITE - MITGLIED WERDEN
   ---------------------------------------------
   Beinhaltet die Section-IDs 
   #vier-punkte
   
   #vorteile
    .profit
    .einsatz
   
   #aoel-auf-einen-blick
    .arbeitskreise
    .aoel-video
------------------------------------------------ */

/* Abstände der Sections */
#vier-punkte,
#vorteile,
#aoel-auf-einen-blick {
    padding-top: 70px !important;
    padding-bottom: 20px !important;
}

/* H2 Überschriften */
#vier-punkte h2,
#vorteile h2,
#aoel-auf-einen-blick h2 {
    margin-bottom: 40px !important;
    font-size: clamp(1.5rem, 5vw, 2em) !important;
    font-weight: 700;
    line-height: 1.3;
}


/* ---------------------------------------------
   SEKTION 1 - VIER PUNKTE
   ---------------------------------------------
   Beinhaltet die Section-IDs 
   #vier-punkte
------------------------------------------------ */

#vier-punkte h2,
#vier-punkte h2:hover {
    color: #54ae31 !important;
}

/* Container für die vier Elemente */
#vier-punkte .row_col_wrap_12 {
    max-width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
}

/* Einzelne Spalten (jeweils 25% Breite auf Desktop) */
#vier-punkte .vc_col-sm-3 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 30px 20px !important;
    transition: all 0.3s ease;
}

/* Hover-Effekt für die Spalten */
#vier-punkte .vc_col-sm-3:hover {
    transform: translateY(-5px);
}

/* Icon-Container - runde grüne Kreise */
#vier-punkte .nectar-icon-list-item {
    margin-bottom: 25px !important;
}

#vier-punkte .nectar-icon-list-item .icon-default-style {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px auto !important;
}

/* Icon-Größe anpassen */
#vier-punkte .nectar-icon-list-item i {
    font-size: 50px !important;
    color: white !important;
    line-height: 1 !important;
}

/* Überschriften unter den Icons */
#vier-punkte .nectar-icon-list-item h4 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #323232 !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

/* Text unter den Überschriften */
#vier-punkte .nectar-icon-list-item p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #636363 !important;
    margin: 0 !important;
}

/* Entfernt Standard-Padding der Column-Inner */
#vier-punkte .vc_column-inner {
    padding: 0 !important;
}


/* ---------------------------------------------
   SEKTION 2 - VORTEILE
   ---------------------------------------------
   Beinhaltet die Section-IDs 
   #vorteile
   .profit
   .einsatz
------------------------------------------------ */

/* Allgemeine Struktur */
#vorteile .row_col_wrap_12 {
    max-width: 70%;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    align-items: stretch !important;
}

#vorteile .profit,
#vorteile .einsatz {
    display: flex !important;
    flex-direction: column !important;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
}

/* Abstand zwischen den Boxen nur auf Desktop */
@media screen and (min-width: 1000px) {
    #vorteile .profit {
        margin-right: 40px;
    }
}

/* Hover-Effekt für die Boxen */
#vorteile .profit:hover,
#vorteile .einsatz:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#vorteile h2 {
    text-align: left !important;
}

/* Listenpunkte mit Aufzählungszeichen */
#vorteile .nectar-hor-list-item {
    margin-bottom: 0px !important;
    border: none !important;
    padding: 0px !important;
}

#vorteile .nectar-list-item {
    font-size: 18px !important;
    line-height: 1.8 !important;
    text-align: left !important;
    margin-left: 30px;
    padding: 10px 20px 10px 0px !important;
    transition: all 0.2s ease;
    position: relative;
}

/* Aufzählungspunkt (Bullet) */
#vorteile .nectar-list-item::before {
    content: "•";
    color: #54ae31;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    margin-left: -25px;
    top: 2px;
}

#vorteile .nectar-list-item:hover::before {
    color: #3d8a23;
}

#vorteile .inner_row {
    margin-bottom: 0 !important;
}


/* ---------------------------------------------
   SEKTION 3 - AOEL AUF EINEN BLICK
   ---------------------------------------------
   Beinhaltet die Section-IDs 
   #aoel-auf-einen-blick
   .arbeitskreise
   .aoel-video
------------------------------------------------ */

#aoel-auf-einen-blick {
    padding-top: 100px !important;
    padding-bottom: 80px !important;
}

#aoel-auf-einen-blick h2 {
    padding-bottom: 40px !important;
}

#aoel-auf-einen-blick .arbeitskreise,
#aoel-auf-einen-blick .aoel-video {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

/* Abstand zwischen den beiden Rows */
#aoel-auf-einen-blick .arbeitskreise {
    padding-bottom: 60px !important;
}

#aoel-auf-einen-blick .aoel-video {
    padding-top: 30px !important;
}

/* Bilder */
#aoel-auf-einen-blick .img-with-aniamtion-wrap {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

#aoel-auf-einen-blick .img-with-aniamtion-wrap .hover-wrap {
    padding-right: 0px !important;
}

#aoel-auf-einen-blick .img-with-aniamtion-wrap img {
    width: 100% !important;
    height: auto !important;
    border-radius: 20px !important;
    object-fit: cover !important;
}

/* Text & Button Ausrichtung */
#aoel-auf-einen-blick .vc_col-sm-6 {
    display: flex !important;
    align-items: center !important;
}

#aoel-auf-einen-blick .wpb_text_column p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
}

/* Buttons */
#aoel-auf-einen-blick .nectar-button {
    float: left;
}

/* Arbeitskreise Row (Bild links, Text rechts) */
@media screen and (min-width: 1000px) {
    #aoel-auf-einen-blick .arbeitskreise .vc_col-sm-6:first-child {
        padding-right: 30px !important;
    }

    #aoel-auf-einen-blick .arbeitskreise .vc_col-sm-6:last-child {
        padding-left: 15px !important;
    }
    
    /* AÖL-Video Row (Text links, Bild rechts) */
    #aoel-auf-einen-blick .aoel-video .vc_col-sm-6:first-child {
        padding-right: 15px !important;
    }

    #aoel-auf-einen-blick .aoel-video .vc_col-sm-6:last-child {
        padding-left: 30px !important;
    }
}


/* ---------------------------------------------
   RESPONSIVE ANPASSUNGEN
   ---------------------------------------------
   - Optimiert Layout für mobile Geräte
------------------------------------------------ */

/* Vier Punkte - Responsive */
@media screen and (max-width: 1600px) {
    #vier-punkte .row_col_wrap_12,
    #vorteile .row_col_wrap_12,
    #aoel-auf-einen-blick .arbeitskreise,
    #aoel-auf-einen-blick .aoel-video {
        max-width: 80%;
    }
    
    #vier-punkte .row_col_wrap_12 {
        max-width: 95%;
    }
}

/* Vier Punkte - 2x2 Layout ab 1480px */
@media screen and (max-width: 1479px) {
    #vier-punkte .vc_col-sm-3 {
        width: 50% !important;
        max-width: 50% !important;
        margin-bottom: 30px !important;
    }
}

@media screen and (max-width: 1370px) {
    #vorteile .row_col_wrap_12,
    #aoel-auf-einen-blick .arbeitskreise,
    #aoel-auf-einen-blick .aoel-video {
        max-width: 90%;
    }
}

@media screen and (max-width: 1200px) {
    /* Icons etwas kleiner auf mittelgroßen Bildschirmen */
    #vier-punkte .nectar-icon-list-item .icon-default-style {
        width: 100px !important;
        height: 100px !important;
    }
    
    #vier-punkte .nectar-icon-list-item i {
        font-size: 42px !important;
    }
    
    #vier-punkte .nectar-icon-list-item h4 {
        font-size: 20px !important;
    }
}

@media screen and (max-width: 1160px) {
    #vorteile .row_col_wrap_12,
    #aoel-auf-einen-blick .arbeitskreise,
    #aoel-auf-einen-blick .aoel-video {
        max-width: 100%;
    }

    #vorteile .profit {
        margin-right: 20px;
    }
}

@media screen and (max-width: 999px) {
    /* Vier Punkte - 2x2 Layout auf Tablets */
    #vier-punkte .row_col_wrap_12 {
        max-width: 100%;
    }
    
    #vier-punkte .vc_col-sm-3 {
        width: 50% !important;
        max-width: 50% !important;
        margin-bottom: 30px !important;
    }
    
    /* Hover-Effekt auf Tablets deaktivieren */
    #vorteile .profit:hover,
    #vorteile .einsatz:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Vorteile - Spalten untereinander stapeln */
    #vorteile .row_col_wrap_12 {
        flex-direction: column !important;
    }

    #vorteile .profit,
    #vorteile .einsatz {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* AÖL auf einen Blick - Responsive */
    #aoel-auf-einen-blick .arbeitskreise .row_col_wrap_12_inner,
    #aoel-auf-einen-blick .aoel-video .row_col_wrap_12_inner {
        display: flex !important;
        flex-direction: column !important;
    }

    #aoel-auf-einen-blick .arbeitskreise .vc_col-sm-6:first-child,
    #aoel-auf-einen-blick .arbeitskreise .vc_col-sm-6:last-child,
    #aoel-auf-einen-blick .aoel-video .vc_col-sm-6:first-child,
    #aoel-auf-einen-blick .aoel-video .vc_col-sm-6:last-child {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Reihenfolge für Arbeitskreise Row: Bild (1) -> Text (2) */
    #aoel-auf-einen-blick .arbeitskreise .vc_col-sm-6:first-child {
        order: 1;
        margin-bottom: 30px !important;
    }

    #aoel-auf-einen-blick .arbeitskreise .vc_col-sm-6:last-child {
        order: 2;
        margin-bottom: 0 !important;
    }

    /* Reihenfolge für AÖL-Video Row: Bild (2) -> Text (1) */
    #aoel-auf-einen-blick .aoel-video .vc_col-sm-6:first-child {
        order: 2;
        margin-bottom: 0 !important;
    }

    #aoel-auf-einen-blick .aoel-video .vc_col-sm-6:last-child {
        order: 1;
        margin-bottom: 30px !important;
    }

    /* Text zentrieren auf mobilen Geräten */
    #aoel-auf-einen-blick .wpb_text_column {
        text-align: center !important;
    }
}

@media screen and (max-width: 768px) {
    /* Vier Punkte - Alle untereinander auf Mobile */
    #vier-punkte .vc_col-sm-3 {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 40px !important;
        padding: 20px 10px !important;
    }
    
    /* Letztes Element ohne Abstand nach unten */
    #vier-punkte .vc_col-sm-3:last-child {
        margin-bottom: 0 !important;
    }
    
    #vier-punkte .nectar-icon-list-item h4 {
        font-size: 20px !important;
    }
    
    #vier-punkte .nectar-icon-list-item p {
        font-size: 16px !important;
    }
    
    /* Vorteile */
    #vorteile .row_col_wrap_12 {
        max-width: 100%;
    }

    #vorteile .profit,
    #vorteile .einsatz {
        padding: 30px 25px;
    }

    #vorteile .nectar-list-item {
        font-size: 16px !important;
    }

    #vorteile .profit {
        margin-bottom: 30px !important;
    }
    
    /* AÖL auf einen Blick */
    #aoel-auf-einen-blick .arbeitskreise,
    #aoel-auf-einen-blick .aoel-video {
        max-width: 100%;
    }

    #aoel-auf-einen-blick .wpb_text_column p {
        font-size: 16px !important;
    }

    #aoel-auf-einen-blick .arbeitskreise {
        padding-bottom: 40px !important;
    }
}

@media screen and (max-width: 480px) {
    /* Noch kleinere Icons auf sehr kleinen Geräten */
    #vier-punkte .nectar-icon-list-item .icon-default-style {
        width: 90px !important;
        height: 90px !important;
    }
    
    #vier-punkte .nectar-icon-list-item i {
        font-size: 38px !important;
    }
    
    #vier-punkte .nectar-icon-list-item h4 {
        font-size: 18px !important;
    }
    
    #vier-punkte .nectar-icon-list-item p {
        font-size: 15px !important;
    }
}

@media screen and (max-width: 320px) {
    #vier-punkte .vc_col-sm-3 {
        width: 100% !important;
        max-width: 100% !important;
    }

    #vier-punkte .nectar-icon-list-item h4 {
        font-size: 16px !important;
    }
}