/*
Theme Name:  IBB
Theme URL:   https://ibb.wbb-haenigsen.de
Description: IBB Divi Child
Author:      Bryan Poffenberger
Author URL:  https://poffenberger-webdesign.de
Template:    Divi
Version:     1.0.0
*/

/* Menülinks */
.et_pb_menu .et-menu > li > a {
    position: relative;
    text-decoration: none;
}

/* Hover- und Aktiv-Linie */
.et_pb_menu .et-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width .25s ease;
}

/* Hover */
.et_pb_menu .et-menu > li > a:hover::after {
    width: 100%;
}

/* Aktiver Menüpunkt */
.et_pb_menu .et-menu > li.current-menu-item > a::after,
.et_pb_menu .et-menu > li.current-menu-parent > a::after,
.et_pb_menu .et-menu > li.current-menu-ancestor > a::after {
    width: 100%;
}

/* ==========================================
   Kontaktformular im modernen Stil
   ========================================== */

.kontakt-form .et_pb_contact_field input,
.kontakt-form .et_pb_contact_field textarea {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    padding: 16px 18px;
    font-size: 16px;
    color: #333;
    transition: all .25s ease;
    box-sizing: border-box;
}

/* Platzhalter */
.kontakt-form .et_pb_contact_field input::placeholder,
.kontakt-form .et_pb_contact_field textarea::placeholder {
    color: #666;
    opacity: 1;
}

/* Fokus */
.kontakt-form .et_pb_contact_field input:focus,
.kontakt-form .et_pb_contact_field textarea:focus {
    border-color: #bf9346;
    box-shadow: 0 0 0 3px rgba(191,147,70,.15);
    outline: none;
}

/* Textarea */
.kontakt-form textarea {
    min-height: 220px;
    resize: vertical;
}

/* Button */
.kontakt-form .et_pb_contact_submit {
    background: #bf9346;
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 14px 34px;
    font-size: 16px;
    font-weight: 600;
    transition: all .25s ease;
}

/* Hover */
.kontakt-form .et_pb_contact_submit:hover {
    background: #a77d34;
    transform: translateY(-1px);
}

/* Alle Bildmodule innerhalb der Referenzen-Zeile */
#referenzen-grid .et_pb_image {
    width: 100% !important;
    max-width: 100% !important;
}

#referenzen-grid .et_pb_image_wrap {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

#referenzen-grid .et_pb_image_wrap img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center;
}

/* ======================================
   PROZESSABLAUF MIT 5 SCHRITTEN
====================================== */

.prozess-row {
    --prozess-farbe: #c5a469;
    --prozess-titel: #333a44;
    --prozess-text: #50555c;
    --prozess-hintergrund: #f1f1f1;

    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0;
    overflow: visible;
}


/* Verbindungslinie */

.prozess-row::before {
    content: "";
    position: absolute;
    z-index: 0;

    top: 29px;
    left: 10%;
    right: 10%;

    height: 0;
    border-top: 1px dashed var(--prozess-farbe);
    opacity: 0.65;
}


/* Einzelne Spalten */

.prozess-item {
    position: relative;
    z-index: 1;

    flex: 0 0 20%;
    width: 20%;
    max-width: 20%;

    padding-right: 25px;
    padding-left: 25px;

    text-align: center;
}


/* Nummernkreis */

.prozess-number {
    position: relative;
    z-index: 2;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 58px !important;
    height: 58px;
    min-width: 58px;

    margin: 0 auto 18px !important;
    padding: 0 !important;

    border: 1px solid var(--prozess-farbe);
    border-radius: 50%;
    background: var(--prozess-hintergrund);

    color: var(--prozess-farbe);
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
}


/* Divi-Absätze innerhalb des Nummernmoduls zurücksetzen */

.prozess-number .et_pb_text_inner,
.prozess-number p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}


/* Überschrift */

.prozess-content h4 {
    min-height: 34px;
    margin: 0 0 8px;
    padding: 0;

    color: var(--prozess-titel);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}


/* Beschreibung */

.prozess-content p {
    margin: 0;
    padding: 0;

    color: var(--prozess-text);
    font-size: 14px;
    line-height: 1.65;
}


/* Tablet: zwei Elemente pro Reihe */

@media only screen and (max-width: 980px) {

    .prozess-row {
        flex-wrap: wrap;
        row-gap: 40px;
    }

    .prozess-row::before {
        display: none;
    }

    .prozess-item {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }
}


/* Smartphone: ein Element pro Reihe */

@media only screen and (max-width: 600px) {

    .prozess-item {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .prozess-content h4 {
        min-height: 0;
    }
}

/*Banner Seraphinite Accelerator ausblenden*/
a[href*="s-sols.com"] { 
	height: 0; 
	overflow: hidden; 
	font-size: 0; 
	visibility: hidden; 
}

/*Banner Seraphinite Accelerator ausblenden*/
a[href*="s-sols.com"] { 
	height: 0; 
	overflow: hidden; 
	font-size: 0; 
	visibility: hidden; 
}