/*
Theme Name: Aagon
Description: Aagon Childtheme
Author: Online Profession GmbH & Co. KG
Author URI: https://www.online-profession.de
Template: Divi
Version: 1.0
Tags: divi
*/

/* #region Hubot Sans Schrift 900-200 */
@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-Black.woff2") format("woff2"),
         url("fonts/HubotSans-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-BlackItalic.woff2") format("woff2"),
         url("fonts/HubotSans-BlackItalic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-ExtraBold.woff2") format("woff2"),
         url("fonts/HubotSans-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-ExtraBoldItalic.woff2") format("woff2"),
         url("fonts/HubotSans-ExtraBoldItalic.ttf") format("truetype");
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-Bold.woff2") format("woff2"),
         url("fonts/HubotSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-BoldItalic.woff2") format("woff2"),
         url("fonts/HubotSans-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-SemiBold.woff2") format("woff2"),
         url("fonts/HubotSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-SemiBoldItalic.woff2") format("woff2"),
         url("fonts/HubotSans-SemiBoldItalic.ttf") format("truetype");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-Medium.woff2") format("woff2"),
         url("fonts/HubotSans-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-MediumItalic.woff2") format("woff2"),
         url("fonts/HubotSans-MediumItalic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-Regular.woff2") format("woff2"),
         url("fonts/HubotSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-Italic.woff2") format("woff2"),
         url("fonts/HubotSans-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-Light.woff2") format("woff2"),
         url("fonts/HubotSans-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-LightItalic.woff2") format("woff2"),
         url("fonts/HubotSans-LightItalic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-ExtraLight.woff2") format("woff2"),
         url("fonts/HubotSans-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hubot Sans";
    src: url("fonts/HubotSans-ExtraLightItalic.woff2") format("woff2"),
         url("fonts/HubotSans-ExtraLightItalic.ttf") format("truetype");
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@keyframes astronaut {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

#automatisierung {
    animation: astronaut 3s infinite;
}

html:root {
    --et_global_heading_font: "Hubot Sans";
    --et_global_body_font: "Hubot Sans";
}
/* #endregion */

body {
    font-weight: 400;
}

body #page-container .et_pb_section a.et_pb_button {
    background-color: var(--gcid-q0odi64ull, #fc8176) !important;
    color: var(--gcid-yf4l81yyrz, #4f0806) !important;
}

body.et-db #page-container #et-boc .et-l a.preset--group--divi-button--divi-button--hi917qs--default {
    background-color: var(--gcid-q0odi64ull, #fc8176) !important;
    color: var(--gcid-yf4l81yyrz, #4f0806) !important;
}

.et_pb_column, .et_pb_group {
    box-shadow: none !important;
}

/* #region Footermenü */
@media (max-width: 980px) {
    .footermenu .et_mobile_nav_menu {
        display: none;
    }
 
    .footermenu .et_pb_menu__menu {
        display: block;
    }
}

@media (min-width: 981px) {
    .footermenu #menu-footermenue-oben {
        justify-content: end;
    }
}
/* #endregion */

.et_pb_number_counter .percent-sign:not(:empty) {
    margin-left: 0.5ch;
}

.et_pb_group_carousel_slide .et_pb_group:has(.et_pb_testimonial) {
    height: 100%;
}

.et_pb_testimonial_description_inner {
    margin: 2rem 0;
}

.et_pb_testimonial, 
.et_pb_testimonial_inner, 
.et_pb_testimonial_description {
    height: 100%;
}

.et_pb_testimonial_author {
    margin-top: auto;
}

.et_pb_testimonial_author, .et_pb_testimonial_meta {
    font-size: smaller;
}

.et_pb_testimonial_inner:has(> .et_pb_testimonial_portrait) {
    display: grid;
    grid-template-columns: 0.4fr auto;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
}

.et_pb_testimonial_inner:has(> .et_pb_testimonial_portrait) .et_pb_testimonial_portrait,
.et_pb_testimonial_inner:has(> .et_pb_testimonial_portrait) .et_pb_testimonial_description {
    margin: 0;
}

.et_pb_filterable_portfolio .et_pb_portfolio_items_wrapper .et_pb_portfolio_item {
    padding: 2rem;
    box-shadow: var(--lt-shadowActive, 0 0 8px -2px rgba(0, 0, 0, 0.1), 0 6px 20px -3px rgba(0, 0, 0, 0.2));
}

.et_pb_filterable_portfolio .et_pb_portfolio_items_wrapper .et_pb_portfolio_item img {
    width: 50px;
}


.otgs-development-site-front-end {
    display: none;
}


/* #region Divi Button Togglebuttondarstellung */
.et_pb_button.toggle {
    border: 0;
}
/* #endregion */

/* #region Support Formular CF7 */
.cf7-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cf7-row {
    display: grid;
    gap: 16px;
}

.cf7-col-1 { grid-template-columns: 1fr; }
.cf7-col-2 { grid-template-columns: 1fr 1fr; }
.cf7-col-3 { grid-template-columns: 1fr 1fr 1fr; }

.cf7-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cf7-field label {
    font-weight: 600;
    font-size: 0.9rem;
}

.cf7-field input[type="text"],
.cf7-field input[type="email"],
.cf7-field input[type="tel"],
.cf7-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.cf7-field textarea {
    min-height: 150px;
    resize: vertical;
}

.cf7-upload-hint {
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
    display: block;
}

.cf7-datenschutz label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
    line-height: 1.5;
}

.req {
    color: red;
}

.cf7-hinweis {
    font-size: 0.8rem;
    color: #666;
    margin-top: 8px;
}

input.wpcf7-form-control.wpcf7-file {
    border: 0px;
    border-radius: 1rem;
    background-color: #ccfa59;
    padding: 8px;
    cursor: pointer;
    font-weight: 500;
    padding-left: 20px;
    padding-right: 20px;
}

input.wpcf7-form-control.wpcf7-submit {
    border: 0px;
    border-radius: 1rem;
    background-color: #ccfa59;
    padding: 8px;
    cursor: pointer;
    font-weight: 500;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .cf7-col-2,
    .cf7-col-3 {
        grid-template-columns: 1fr;
    }
}
/* #endregion */

/* #region Preisliste erste Zeile gleiche Höhe */
.et_pb_column.preset--module--divi-column--nje8axvn1m {
    grid-template-rows: 1.5fr 2fr 0.5fr;
}
/* #endregion */

/* #region Hubspot Formulare */
iframe .hs-button {
    background-color: var(--gcid-q0odi64ull, #fc8176);
    color: var(--gcid-yf4l81yyrz, #4f0806) !important;
}

.et-menu li li.menu-item-has-children > a:first-child::after {
    right: 0;
}
/* #endregion */

/* #region Auszeichnungen */
.et_pb_group_carousel.hintergrund .et_pb_group_carousel_slide .et_pb_column {
    background: var(--gcid-nfxl73loo5, #ccfa59);
    border-radius: 1rem;
    padding: 1rem;
}

.et_pb_group_carousel.hintergrund .et_pb_group_carousel_slide .et_pb_column:empty {
    visibility: hidden;
}

.et_pb_group_carousel.hintergrund .et_pb_group_carousel_slide .et_pb_column .et_pb_text * {
    color: var(--gcid-x4kzw2d2wu, #2a4505);
}
/* #endregion */

/* #region Features */
.et_pb_image_wrap {
    justify-content: center;
}

.et_pb_column.features .et_pb_image .et_pb_image_wrap {
    justify-content: center;
}
/* #endregion */