/*
Theme Name: Divi Plus Builder
Theme URI: https://diviextended.com/product/divi-plus/
Description: Divi Plus plugin based ready-to-use Divi child theme designed for Builder.
Author: Divi Extended
Author URI: https://diviextended.com/
Template: Divi
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* === GLOBAL HEADER: immer sichtbar (auch Mobile) === */
.custom-header,
#custom-header,
.et-l--header,                 /* Divi Theme Builder Header Wrapper */
.et_pb_section.et-l--header {  /* manchmal so verschachtelt */
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* === iOS/Safari: Safe Area + Layering === */
.custom-header,
#custom-header,
.et-l--header {
  position: sticky; /* stabiler als fixed in iOS-Setups */
  top: 0;
  z-index: 999999;
  width: 100%;
  padding-top: env(safe-area-inset-top);
  background: #fff; /* oder eure Header-Farbe */
}

/* Falls ein Parent den Header "abschneidet" */
#page-container,
#et-main-area {
  overflow: visible !important;
}



/* AR: ---------------------------------------- */


/* AR === Spalte vertikal zentrieren  */
.vertikal-zentrieren {
display: flex;
flex-direction: column;
justify-content: center;
}



/* =========================================================
   EW LOCAL FONTS (DSGVO) – summit.marktundmittelstand.de
   Pfad: /wp-content/uploads/fonts/
   ========================================================= */

/* ---------- Open Sans (normal) ---------- */
@font-face{
  font-family:"Open Sans";
  src:url("/wp-content/uploads/fonts/OpenSans-Light.ttf") format("truetype");
  font-weight:300;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Open Sans";
  src:url("/wp-content/uploads/fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Open Sans";
  src:url("/wp-content/uploads/fonts/OpenSans-Medium.ttf") format("truetype");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Open Sans";
  src:url("/wp-content/uploads/fonts/OpenSans-SemiBold.ttf") format("truetype");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}

/* ---------- Open Sans Condensed ---------- */
@font-face{
  font-family:"Open Sans Condensed";
  src:url("/wp-content/uploads/fonts/OpenSans_Condensed-Light.ttf") format("truetype");
  font-weight:300;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Open Sans Condensed";
  src:url("/wp-content/uploads/fonts/OpenSans_Condensed-Regular.ttf") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Open Sans Condensed";
  src:url("/wp-content/uploads/fonts/OpenSans_Condensed-Medium.ttf") format("truetype");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Open Sans Condensed";
  src:url("/wp-content/uploads/fonts/OpenSans_Condensed-SemiBold.ttf") format("truetype");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Open Sans Condensed";
  src:url("/wp-content/uploads/fonts/OpenSans_Condensed-Bold.ttf") format("truetype");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

/* ---------- Globale Zuweisung (empfohlen) ---------- */
/* Fließtext */
body{
  font-family:"Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Headlines: Condensed Look (wenn gewünscht) */
h1,h2,h3,h4,h5,h6{
  font-family:"Open Sans Condensed","Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
