/*

Theme Name: Divi Child

Theme URI: https://www.knecht-online.de/

Description: Child Theme für Divi

Author: Knecht

Author URI: https://www.knecht-online.de/

Template: Divi

Version: 1.0.0

*/

/* Eigene CSS-Anpassungen hier */

/* barlow-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 100;
  src: url('fonts/barlow-v13-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 100;
  src: url('fonts/barlow-v13-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/barlow-v13-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 200;
  src: url('fonts/barlow-v13-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/barlow-v13-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/barlow-v13-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/barlow-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/barlow-v13-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/barlow-v13-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/barlow-v13-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/barlow-v13-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/barlow-v13-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/barlow-v13-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/barlow-v13-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/barlow-v13-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 800;
  src: url('fonts/barlow-v13-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/barlow-v13-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 900;
  src: url('fonts/barlow-v13-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

#main-content {
	  font-family: 'Barlow' !important;	
}


#page-container {
	max-width: 1920px !important;
	margin: 0 auto !important;
	background: #fff !important; 
	box-shadow: 0 0 80px 0 rgb(0 0 0 / 20%);
}


.footer-menu-mobitec .et-menu > li:last-child {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.footer-menu-mobitec .et-menu > li:last-child > a {
    margin-right: 0 !important;
    padding-right: 0 !important;
}


/* Footer-Menü immer sichtbar lassen – kein Burger-Menü */

.footer-menu-mobitec .et_pb_menu__menu {

    display: flex !important;

}

.footer-menu-mobitec .et_mobile_nav_menu {

    display: none !important;

}


/* Unterbindet Divi Mobile Breakpoint Umschaltung */

@media (max-width: 980px) {


.footer-section-mobitec .et_pb_menu .et_pb_menu__menu  {
    display: flex !important;
	flex-wrap: wrap; /* optional: verhindert Überlauf */
}
	
.footer-section-mobitec  .et_mobile_nav_menu {
	display: none !important;	
}
	
.mobile_menu_bar {
  line-height: 0 !important;
}	

}


.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar::before {
  color: #fff !important;
  font-size: 50px !important;
  border: 1px solid !important;		
}


header .et_pb_section {
	background-color: rgba(0,0,0,0) !important;
}

/* =========================
   DIVI 5 Mobile Fullscreen Menu Overlay
   inkl. Logo + Trennlinien
   ========================= */

/* Burger Icon */
.et_mobile_nav_menu .mobile_menu_bar {
    position: relative;
    z-index: 9999;
    cursor: pointer;
}

.et_mobile_nav_menu .mobile_menu_bar:before {
    color: #000;
    font-size: 32px;
    transition: all 0.3s ease;
}

/* Fullscreen Overlay */
.et_mobile_nav_menu .et_mobile_menu {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    padding-top: 180px; /* Platz für Logo */
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 9998;
    border-top: none;
    overflow-y: auto;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.4s ease-in-out;
}

/* Menü geöffnet */
.et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================
   Logo Platzhalter oben
   ========================= */
.et_mobile_nav_menu .et_mobile_menu:before {
    content: "";
    display: block;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    
    /* HIER DEIN LOGO EINTRAGEN */
    background-image: url('/wp-content/uploads/2026/05/mobiltec_logo_zweifarbig.webp');
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Menüeinträge */
.et_mobile_nav_menu .et_mobile_menu li {
    width: 80%;
    text-align: center;
    list-style: none;
    position: relative;
}

/* Feine Trennlinien */
.et_mobile_nav_menu .et_mobile_menu li:not(:last-child):after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
}

/* Links */
.et_mobile_nav_menu .et_mobile_menu li a {
    display: block;
    padding: 22px 0;
    font-size: 32px;
    font-weight: 600;
    color: #000 !important;
    border-bottom: none;
    background: transparent;
    transition: all 0.3s ease;
}

/* Hover */
.et_mobile_nav_menu .et_mobile_menu li a:hover {
    color: #c19a5b !important;
}

/* X statt Burger */
.et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
    color: #000 !important;
    font-size: 40px;
}

/* X oben rechts */
.et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar {
    position: fixed;
    top: 70px;
    right: 30px;
    z-index: 10000;
}

/* Untermenüs ausblenden */
.et_mobile_nav_menu .et_mobile_menu .sub-menu {
    display: none !important;
}

/* Body Scroll Lock */
body.mobile-menu-open {
    overflow: hidden;
}