@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/divi-agency/fonts/inter/InterDisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/divi-agency/fonts/inter/InterDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/divi-agency/fonts/inter/InterDisplay-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/divi-agency/fonts/inter/InterDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('/wp-content/themes/divi-agency/fonts/ibm-plex-sans/IBMPlexSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('/wp-content/themes/divi-agency/fonts/ibm-plex-sans/IBMPlexSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('/wp-content/themes/divi-agency/fonts/ibm-plex-sans/IBMPlexSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('/wp-content/themes/divi-agency/fonts/ibm-plex-sans/IBMPlexSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Basis */
body,
.et_pb_text,
.et_pb_module,
.et_pb_button,
input,
textarea,
select,
.et_pb_blurb_description,
.et_pb_slide_description,
.et_pb_post,
.et_pb_portfolio_item,
.et_pb_pricing_content,
.et_pb_tab,
.et_pb_accordion_item,
.et_pb_toggle_content,
.et_pb_widget,
.et_pb_menu .nav li a,
#top-menu a,
.mobile_menu_bar:before,
.et_mobile_menu a {
    font-family: 'Inter', Arial, sans-serif;
}

/* Überschriften */
h1, h2, h3, h4, h5, h6,
.et_pb_module_header,
.et_pb_slide_title,
.et_pb_pricing_title,
.et_pb_fullwidth_header h1,
.fullwidth-header .header-content h1,
.et_pb_post h1,
.et_pb_post h2,
.et_pb_post h3,
.et_pb_post h4,
.et_pb_post h5,
.et_pb_post h6 {
    font-family: 'IBM Plex Sans', Arial, sans-serif !important;
}

/* Feintuning für bessere Lesbarkeit */
body {
    font-size: 17px;
    line-height: 1.7;
    color: #2b2b2b;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* Optional: vorhandene starke Laufweite aus dem Child-Theme etwas entschärfen */
#hm-about h2,
#hm-service h2,
#hm-team h2,
#hm-news .et_pb_text h2,
#hm-clients .et_pb_text h2,
#hm-pricing .et_pb_text h2,
#case-studies .et_pb_text h2 {
    letter-spacing: 0.5px;
}

#hm-about h2::before {
    display: none !important;
    content: none !important;
}

.et_pb_row_1_tb_header {
    align-items: flex-start !important;
}

.et_pb_column_3_tb_header,
.et_pb_column_4_tb_header {
    justify-content: flex-start !important;
}

.et_pb_blurb_2_tb_header,
.et_pb_blurb_3_tb_header {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.et_pb_blurb_2_tb_header .et_pb_blurb_content,
.et_pb_blurb_3_tb_header .et_pb_blurb_content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.et_pb_pricing li {
    line-height: 1.1em;
    padding: 0 0 1.0em 2px;
    position: relative;;
}