html {
    scroll-behavior: smooth;
}

.img {
    width: 100%;
}

main {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-family: 'semplicitapro', serif;
}

.section1{
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    max-width: 80%;

}

.mainPicture{
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}

#mainpicturep3{
    position: relative;
    max-width: 1536px;
    object-fit: cover; /* Füllt den Bereich und schneidet bei Bedarf */
}

.imageTextMain{
    position: absolute;
    left: 1em;
    top: 34%;

    font-family: 'semplicitapro', serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 4vw, 5rem);>;
    color: black;
}

.randomStrich{
    width: 80%;
    float: left;
    padding-bottom: 0;
    margin-bottom: 0;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid black;
}

.bufferDiv{
    padding-top: 10em;
    width: 100%;
}

.success-message{
    width: 80%;
    margin-bottom: 4em;
}

/* ------------ Beratungs-Abschnitt --------------*/

.Beratungs_Abschnitt {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    max-width: 1536px;
}

.Beratung_Header {
    display: flex;
    justify-content: flex-start;
    padding-left: 2em;
}

#remove {
    width: 80%;
}

.Beratung_Header h1 {
    font-family: "semplicitapro", sans-serif;
    font-style: normal;
    font-weight: 250;
    font-size: 4em;
    color: black;
}

.Beratung_Pic_Table {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.Beratung_Table {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    font-family: 'semplicitapro';
    font-style: normal;
    font-weight: 250;
    font-size: 1.5em;
    line-height: 200%;
    text-align: center;

    color: #000000;
}

.Beratung_Table_Top {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding-right: 2em;
    padding-left: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

.Ber_T_1 {
    flex-grow: 1;
    flex-basis: 0;
}


.Ber_T_2 {
    flex-grow: 1;
    flex-basis: 0;
}

.Ber_T_3 {
    flex-grow: 1;
    flex-basis: 0;
}

.Ber_B_1 {
    flex-grow: 1;
    flex-basis: 0;
}

.Ber_B_2 {
    flex-grow: 1;
    flex-basis: 0;
}

.Ber_B_3 {
    flex-grow: 1;
    flex-basis: 0;
}
.Beratung_Table_Top h3 {
    margin: 0;
    font-family: 'semplicitapro';
    font-style: normal;
    font-weight: 250;
    font-size: clamp(0.8rem, 1.5vw, 4rem);
    line-height: 200%;
    text-align: center;

    color: #000000;
}

.Beratung_Table_Bottom h3 {
    margin: 0;
    font-family: 'semplicitapro', 'Roboto';
    font-style: normal;
    font-weight: 250;
    font-size: clamp(0.8rem, 1.5vw, 4rem);
    line-height: 200%;
    text-align: center;

    color: #000000;
}


.Beratung_Table_Bottom {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding-right: 2em;
    padding-left: 2em;
    padding-top: 0;
    margin-bottom: 2em;
}

.Beratung_Table_Strich{
    width: 90%;
    float: left;
    padding-bottom: 0;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #000000;
    padding-right: 2em;
    padding-left: 2em;
}


.kontakt_block {
    display: flex;
    justify-content: center; 
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1536px;
}

.kontakt_ueberschrift {
font-family: 'semplicitapro', 'Roboto';
font-style: normal;
font-weight: 250;
font-size: 4em;
line-height: 100%;
margin-bottom: 1rem;
/* identical to box height, or 100% */

/* Gray 4 */
color: #BDBDBD;
}

.Beratung_popup_abschnitt {
    padding-top: 3em;
}

.kbv_abschnitt {
    padding-top: 3em;
}

.kontakt_container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin-top: 2rem;
    width: 100%;
}

.placeholder_contact_pic {
    width: 100%;
    margin-left: 1rem;
}

.placeholder_contact_pic img {
    width: 100%;
}

.kontakt_formular {
    width: 50%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin-right: 1rem;
  }
  
  .kontakt_formular label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
  }
  
  .kontakt_formular input[type="text"],
  .kontakt_formular input[type="email"],
  .kontakt_formular textarea {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 0.5rem;
    border: none;
    box-sizing: border-box;
    background-color: #F3F3F3;
    font-family: 'semplicitapro', 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    /* identical to box height */
    letter-spacing: 0.04em;

    color: #8D8D8D;
  }


.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none; /* Removes the default focus outline */
  background-color: #F3F3F3; /* Slightly darker background on focus */
}
  
.kontakt_formular textarea {
    resize: vertical; /* Allows resizing only vertically */
}
  
.submit-btn {
    background-color: #333333;
    font-family: 'semplicitapro', 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    /* identical to box height, or 100% */
    letter-spacing: 0.2em;
    text-transform: uppercase;

    color: #FFFFFF;
    padding: 2em 2em;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    /* border-radius: 5px; */
    transition: background-color 0.3s ease;

    width: auto;
    text-align: left;
    margin-top: 1.5rem;
    display: inline-block;
}

.submit-btn:hover {
    background-color: darkgray;
    color: #FFFFFF;
}

.abschnitt_buffer {
    margin-top: 3em;
}

.submit-btn:hover .arrow {
    margin-left: 0px; /* Move arrow to the right on hover */
}

.kennenlernen_text {
    margin-left: 2em;
}

.impulsberatung_text {
    margin-left: 2em;
}

.prozessberatung_text {
    margin-left: 2em;
}

.kbv_text {
    margin-left: 2em;
}

ul {
    list-style-type: circle; /* Changes bullet points to squares */
  }

  /* ------ Kennenlernen-Abschnitt ------- */

  .abschnitt_header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }

  .abschnitt_header_button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .abschnitt_header_text {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .open-btn {
    background-color: white;
    font-family: 'semplicitapro', 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 1.5em;
    line-height: 100%;
    /* identical to box height, or 100% */
    letter-spacing: 0.2em;
    text-transform: uppercase;

    color: #000000;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;

    width: auto;
    text-align: left;
    display: inline-block;
}

.Kurse_Header {
    display: flex;
    justify-content: flex-start;
    padding-left: 2em;
}

.Kurse_Header h1 {
    font-family: "semplicitapro", sans-serif;
    font-style: normal;
    font-weight: 250;
    font-size: 4em;
    color: black;
}

.Kurse_Pic_Table {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.Kurse_Table {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    font-family: 'semplicitapro';
    font-style: normal;
    font-weight: 250;
    font-size: Clamp(1.2rem, 1.5vw, 2.5rem);
    line-height: 130%;
    text-align: center;
    padding-left: 2em;
    color: #000000;
}

.Kurse_Table p {
    text-align: left;
    margin-top: 1rem;
}

.Kurse_Abschnitt {
    padding-bottom: 5rem;
    padding-top: 3rem;
}

.kontakt_block {
    padding-top: 3rem;
}

.read-more-btn {
background-color: white;
    font-family: 'semplicitapro', 'Roboto';
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    /* identical to box height, or 100% */
    letter-spacing: 0.2em;
    text-transform: uppercase;

    color: #333333;
    padding: 1em 1em;
    border: none;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;

    width: auto;
    text-align: left;
    margin-top: 0rem;
}

# readmore_kurse{
    position: absolute;
    bottom: 10%;
}

.read-more-btn:hover {
    background-color: #BDBDBD;
}

.read-more-btn:hover .arrow {
    margin-left: 0.2em; /* Move arrow to the right on hover */
}

.Beratung_View_More_Button {
    display: flex;
    text-align: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 2em;
}

@media screen and (max-width: 768px) {
    .section1{
        display: flex;
        flex-direction: row;
        max-width: 100%;
        margin-top: 0;
        width: 100%;
    }
    .mainPicture{
        position: relative;
        aspect-ratio: unset;
        overflow: hidden;
        width: 15em;
    }

    #mainpicturep3{
        position: relative;
        max-width: 100%
        object-fit: cover; /* Füllt den Bereich und schneidet bei Bedarf */
    }


    .mainText{
        color: black;
        font-size: 1.5em;
        padding-left: 0;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .textMiddle{
        margin-left: 0.5em;
        font-weight: 500;
    }

    .randomStrichMobile{
        width: 100%;
        float: left;
        padding-bottom: 0;
        margin-bottom: 0;
        display: block;
        height: 1px;
        border: 0;
        border-top: 1px solid #82AEBA;
    }

    .submit-btn1{
        background-color: #333333;
        font-family: 'semplicitapro', 'Roboto';
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 12px;
        /* identical to box height, or 100% */
        letter-spacing: 0.2em;
        text-transform: uppercase;


        padding: 2em 2em;
        margin-left: 0.5em;

        border: none;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        cursor: pointer;
        /* border-radius: 5px; */
        transition: background-color 0.3s ease;

        width: auto;
        text-align: left;
        margin-top: 0;
        display: inline-block;


        color: black;
        background-color: #82AEBA;
        padding-top: 1.3em;
        padding-bottom: 1.3em;
        margin-bottom: 0.35em;


    }

    .kontakt_block{
        margin-left: 0;
        padding-left: 0;
        max-width: unset;
        width: 100%;

    }


    .Beratung_Pic_Table{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .Beratung_Table_Top{
        padding-left: 1em;
        padding-right: 1em;
    }

    .Beratung_Table_Bottom{
        padding-left: 1em;
        padding-right: 1em;
    }

    .Beratung_Pic{
        position: relative;
        width: 100%;
    }

    .Beratung_Header_Mobil{
        position: absolute;
        left: 9em;
        top: 0.6em;
        font-size: 1.7em;
        color: black ;
        font-weight: 500;

    }
    .Beratung_Table{
        font-size: 0.8em;
        width: 100%;

    }
    .Beratung_main{
        width: 100%;
        margin-top: 10vw
    }
    .Beratungs_Abschnitt{
        width: 100%;
        margin-top: 2em;
        max-width: 100%;
    }
    .Beratung_Header{
        display: none;
    }
    .Beratung_View_More_Button{
        display: flex;
        flex-direction: row;
        align-items: center;
        align-content: center;
        justify-content: center;
        justify-items: center;
        width: 100%;
        padding-left: 0;
    }

    .Kurse_Pic{
        position: relative;
        width: 100%;
    }

    .Kurse_Pic_Table{
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .Kurse_Header_Mobil{
        position: absolute;
        left: 10.3em;
        top: 0.6em;
        font-size: 1.7em;
        color: black ;
        font-weight: 600;
    }
    .Kurse_Table{
        padding-left: 0;
        display: flex;
        align-items: center;
    }

    .Kurse_Table p{
        text-align: center;
        padding-left: 0;
    }
    .btn_center{
        display: flex;
        align-items: center;
        width: 100%;
    }

    .Kurse_Abschnitt {
        padding-bottom: 0;
        padding-top: 3rem;
    }

    .Kurse_Header{
        display: none;
        visibility: none;
    }

    .submit-btn{
        font-size: 0.7em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .kontakt_ueberschrift{
        font-size: 2.3em;
        color: black;

    }

    .kontakt_container{
        width: 100%;
        max-width: unset;
    }

    #remove{
        width: 100%;
    }

}