/*
Theme Name: jog
Description: Child Theme für Divi
Author: jog690
Template: Divi
Version: 1.0
*/

/* Import der Eltern-Theme CSS 
@import url("../Divi/style.css"); */


/* ====== TYPOGRAPHIE UND GRUNDSTILE ====== */
/* NUR FÜR FRONTEND, NICHT FÜR ADMIN-BEREICH */
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

#wpadminbar .ab-top-secondary {
    float: none!important;
}

/* Überschriften - ohne Farbdefinition */
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h1, 
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h2, 
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h3, 
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h4, 
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h5, 
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h6 {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif !important;
  margin-bottom: 0.5em !important;
  font-weight: 600 !important;
}

/* Menü Abstände */
#top-menu-nav #quadmenu.quadmenu-is-horizontal .quadmenu-navbar-nav > li > a {
    padding-bottom: 0px !important;
    padding-top: 10px !important;
}


body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h1 {
  font-size: 32px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h2 {
  font-size: 24px !important;
  line-height: 1.25 !important;
}

body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h3 {
  font-size: 20px !important;
  line-height: 1.3 !important;
}

body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h4 {
  font-size: 18px !important;
  line-height: 1.4 !important;
}

body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h5, 
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h6 {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

/* Header-Textstile */
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .site-header h1 {
  font-size: 2.8vw !important;
  line-height: 1.2 !important;
  letter-spacing: 1px !important;
}

body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .site-header .tagline {
  font-size: 1.8vw !important;
  line-height: 1.3 !important;
}

/* Absätze und Textabschnitte */
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) p {
  margin-bottom: 1.5rem;
}

/* Sekundärer und tertiärer Text - ohne Farbdefinition */
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .secondary-text {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .tertiary-text, 
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .note {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

/* Links - ohne Farbdefinition */
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) a {
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

/* Button-Stile */
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .button, 
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_button {
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  background-color: #ffffff !important;
  color: #e63946 !important;
  border: 1px solid #e63946 !important;
  border-radius: 6px !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}


/* Button nebeineinander */
body #page-container .et_pb_section .dsm_button_0 .et_pb_button_two.et_pb_button {
    margin-left: 0px !important;
}



body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .button:hover, 
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_button:hover {
  background-color: #d32836 !important;
  color: #ffffff !important;
  border-radius: 20px !important;
  border-color: #d32836 !important;
}

body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .button-small,
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_button.button-small {
  font-size: 14px !important;
  padding: 8px 16px !important;
}

body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .button-cta,
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_button.button-cta {
  font-size: 18px !important;
  font-weight: 700 !important;
  background-color: #e63946 !important;
  color: #ffffff !important;
  border-color: #e63946 !important;
}

/* Listen */
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) ul, 
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) ol {
  /* margin-left: 1.5em !important;  
  margin-bottom: 1.5em !important; */
}

body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) li {
  margin-bottom: 0.5em !important;
}

/* Hervorgehobene Elemente */
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .highlight {
  color: #20b4a6 !important;
}

body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .highlight-box {
  background-color: #f5f7fa !important;
  padding: 1.5em !important;
  border-left: 4px solid #20b4a6 !important;
  margin-bottom: 1.5em !important;
}

/* Footer-spezifische Anpassungen mit negativem margin */
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) footer.et-l--footer p,
body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) footer.et-l--footer .et_pb_text p {
  margin-bottom: -0.5rem !important; /* Negativer Abstand für kompaktere Darstellung */
}


p.no-margin,
.no-margin p,
p.zero-margin,
.zero-margin p {
    margin-bottom: 0 !important;
}


body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .inline-btn:last-child {
  margin-right: 0 !important;
}

/* ====== RESPONSIVE ANPASSUNGEN ====== */
/* Tablet (768px - 1080px) */
@media (max-width: 1080px) {
  /* Allgemeine Textformatierung für Tablet */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  
  /* Überschriften für Tablet */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h1 {
    font-size: 30px !important;
    line-height: 1.3 !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h3 {
    font-size: 20px !important;
    line-height: 1.4 !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h4 {
    font-size: 18px !important;
  }
  
  /* Header-Bereich für Tablet */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .site-header h1 {
    font-size: 4vw !important;
    letter-spacing: 0.8px !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .site-header .tagline {
    font-size: 2.5vw !important;
    letter-spacing: 0.5px !important;
  }
  
  /* Button-Anpassungen für Tablet */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .button, 
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_button {
    font-size: 15px !important;
    padding: 9px 18px !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .button-small,
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_button.button-small {
    font-size: 14px !important;
    padding: 7px 14px !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .button-cta,
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_button.button-cta {
    font-size: 16px !important;
    padding: 10px 18px !important;
  }
  
  /* Abstände für Tablet */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) p, 
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) ul, 
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) ol {
    margin-bottom: 1.3em;
  }
  
  /* Abstandsanpassungen für bessere Lesbarkeit */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_row {
    padding-top: 30px important;
    padding-bottom: 30px important;
  }
}

/* Smartphone (bis 767px) */
@media (max-width: 767px) {
  /* Allgemeine Textformatierung für Smartphone */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }
  
  /* Überschriften für Smartphone */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h1 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h3 {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h4, 
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h5, 
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) h6 {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
  
  /* Header-Bereich für Smartphone */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .site-header h1 {
    font-size: 28px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .site-header .tagline {
    font-size: 18px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.2px !important;
  }
  
  /* Button-Anpassungen für Smartphone */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .button, 
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_button {
    font-size: 16px !important;
    padding: 10px 16px !important;
    width: 100% !important; /* Volle Breite auf Mobilgeräten */
    text-align: center !important;
    margin-bottom: 10px !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .button-small,
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_button.button-small {
    font-size: 14px !important;
    padding: 8px 14px !important;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .button-cta,
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_button.button-cta {
    font-size: 16px !important;
    padding: 12px 16px !important;
  }
  
  /* Abstände für Smartphone */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) p, 
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) ul, 
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) ol {
    margin-bottom: 1.2em;
  }
  
  /* Verbesserte Lesbarkeit auf kleinen Bildschirmen */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) p, 
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) li {
    font-size: 16px;
    line-height: 1.7;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .secondary-text, 
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .tertiary-text {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  
  /* Erhöhte Abstände zwischen Abschnitten */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_section {
    padding: 30px 0;
  }
  
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .et_pb_row {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  /* Hervorgehobene Elemente für Smartphone */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .highlight-box {
    padding: 1.2em !important;
    margin-bottom: 1.2em !important;
  }

  /* Buttons auf mobilen Geräten */
  body:not(.wp-admin):not(.et-fb):not(.et-bfb):not(.et-tb):not(.et-tb-has-html) .inline-btn {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
  }
}

