/*
 Theme Name:     Karriere | Paul-Riebeck-Stiftung zu Halle an der Saale (Divi Child-Theme)
 Theme URI:      https://da-will-ich-pflegen.de
 Description:    Paul-Riebeck-Stiftung (Divi Child-Theme)
 Author:         agenturkappa.com – Alexander Sperrle
 Author URI:     https://agenturkappa.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* ------------------------------------------------------- */

/* Webfonts */

/* source-sans-3-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  src: url('../divi-child/fonts/source-sans-3-v19-latin_latin-ext-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/source-sans-3-v19-latin_latin-ext-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* source-sans-3-300italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300;
  src: url('../divi-child/fonts/source-sans-3-v19-latin_latin-ext-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/source-sans-3-v19-latin_latin-ext-300italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* source-sans-3-regular 400 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* source-sans-3-italic 400  - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  src: url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* source-sans-3-500 - Medium latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  src: url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* source-sans-3-500italic - Medium latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 500;
  src: url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-500italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-500italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* source-sans-3-600 - SemiBold latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  src: url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-600.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* source-sans-3-600italic - SemiBold latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 600;
  src: url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-600italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-600italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* source-sans-3-700 - Bold latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  src: url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* source-sans-3-700italic - Bold latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 700;
  src: url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/source-sans-3-v18-latin_latin-ext-700italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* merriweather-regular - 400 – latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('../divi-child/fonts/Merriweather-Regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/Merriweather-Regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* merriweather-italic - 400 – latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 400;
  src: url('../divi-child/fonts/Merriweather-Italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/Merriweather-Italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* merriweather-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: url('../divi-child/fonts/Merriweather-Bold.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/Merriweather-Bold.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* merriweather-700italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 700;
  src: url('../divi-child/fonts/Merriweather-BoldItalic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../divi-child/fonts/Merriweather-BoldItalic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* Layout */
#main-header {
  margin: 0 auto!important;
}

#main-content {
  margin: 0 auto!important;
  background-color: #FFF!important; /* Karriere */
  overflow: hidden;
}

/* Inhalt vertikal zentrieren*/
.content-vertical-align-center {  
  display: flex;  
  flex-direction: column;  
  justify-content: center!important;
}

.centered {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.bottomed {
  display: flex;
  align-items: flex-end;
  flex-direction: row;
  flex-wrap: wrap;
}

/* Inhalt vertikal unten ausrichten */
.content-vertical-align-bottom {  
  display: flex;  
  flex-direction: column;  
  justify-content: flex-end!important; 
}

/* Inhalt vertikal oben ausrichten */
.content-vertical-align-top {  
  display: flex;  
  flex-direction: column;  
  justify-content: flex-start!important; 
}


/* =Small Margins Template Shortcodes Columns
-------------------------------------------------------------- */

.full_width  {
  width: 100%;
}
.one_half {
  width: 49%;
  margin-right: 2%;
}
.one_half.last_column {
  width: 49%;
  margin-right: 0px;
}
.one_third {
  width: 32% !important;
  margin-right: 2% !important;
}
.one_third.last_column {
  width: 32% !important;
  margin-right: 0px !important;
}
.two_third {
  width: 66% !important;
  margin-right: 2% !important;
}
.two_third.last_column {
  width: 66% !important;
  margin-right: 0px !important;
}
.one_fourth {
  width: 23.5% !important;
  margin-right: 2% !important;
}
.one_fourth.last_column {
  width: 23.5% !important;
  margin-right: 0px !important;
}
.three_fourth {
  width: 74.5% !important;
  margin-right: 2% !important;
}
.three_fourth.last_column {
  width: 74.5% !important;
  margin-right: 0px !important;
}
.one_fifth {
  width: 18.4% !important;
  margin-right: 2% !important;
}
.one_fifth.last_column {
  width: 18.4% !important;
  margin-right: 0px !important;
}
.two_fifth {
  width: 39% !important;
  margin-right: 2% !important;
}
.two_fifth.last_column {
  width: 39% !important;
  margin-right: 0px !important;
}
.three_fifth {
  width: 59% !important;
  margin-right: 2% !important;
}
.three_fifth.last_column {
  width: 59% !important;
  margin-right: 0px !important;
}
.four_fifth {
  width: 79.6% !important;
  margin-right: 2% !important;
}
.four_fifth.last_column {
  width: 79.6% !important;
  margin-right: 0px !important;
}
.one_sixth {
  width: 15% !important;
  margin-right: 2% !important;
}
.one_sixth.last_column {
  width: 15% !important;
  margin-right: 0px !important;
}

/* =Responsive shortcode Columns
-------------------------------------------------------------- */
/* Maximum width of 600 pixels. */
@media (max-width: 768px) {
  .full_width,
  .one_half,
  .one_third,
  .two_third,
  .one_fourth,
  .three_fourth,
  .one_fifth,
  .two_fifth,
  .three_fifth,
  .four_fifth,
  .one_sixth,
  .five_sixth
  .one_half.last_column,
  .one_third.last_column,
  .two_third.last_column,
  .one_fourth.last_column,
  .three_fourth.last_column,
  .one_fifth.last_column,
  .two_fifth.last_column,
  .three_fifth.last_column,
  .four_fifth.last_column,
  .one_sixth.last_column,
  .five_sixth.last_column {
    clear: both;
    width: 100%!important;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1em;
  }
}

/* Tastaturnavi */

/* Basis: nur Tastaturnutzer sehen den Ring */
:where(a[href], button, input:not([type="hidden"]), select, textarea,
       [role="button"], [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid #EF7C00 !important;
  outline-offset: 5px !important;
  box-shadow: none !important; /* falls Plugin/Theme Fokus via Schatten macht */
}

/* Fallback für sehr alte Browser ohne :focus-visible (heute selten) */
:where(a[href], button, input:not([type="hidden"]), select, textarea,
       [role="button"], [tabindex]:not([tabindex="-1"])):focus {
  outline: 3px solid #EF7C00 !important;
  outline-offset: 5px !important;
}

/* Für Sprungmarken (#hash) */
a:focus-visible {
    outline: 3px solid #EF7C00 !important;
  outline-offset: 5px !important;
}

:target {
  none;
}


/* Layout */


/* Desktop */

@media only screen (min-width: 981px) and (max-width: 1050px) { 

/* Zeilenbreite */
  .et_pb_row {
    max-width: 900px!important;
  }

}

@media only screen and (min-width: 981px) {

  .et_pb_section:not(.ui-sortable, .zg-teaser-section, .hero-section, .section-bereich-menus, .section-footer-menu, .intro-section-unterseite, .beitragstitel-h1-section, .job-detailseite-hero-section, .section-job-offer) {
    padding-top: 4rem!important;
    padding-left: 7%;
    padding-right: 7%;
  }

/* Zeilenbreite */
  .et_pb_row {
    width: 87%;
  }

  .beitragstitel-h1-section {
    padding-left: 7%!important;
    padding-right: 7%!important;
  }

}

/* Tablet */

@media only screen and (max-width: 980px) {

  .et_pb_section:not(.ui-sortable, .zg-teaser-section, .hero-section, .section-bereich-menus, .section-footer-menu, .intro-section-unterseite, .beitragstitel-h1-section, .job-detailseite-hero-section, .section-job-offer) {
        padding-top: 4rem!important;
        padding-left: 7%;
        padding-right: 7%;
    }

  .beitragstitel-h1-section {
    padding-left: 7%!important;
    padding-right: 7%!important;
  }
}

/* Smartphone */

@media only screen and (max-width: 768px) {

  .et_pb_section:not(.ui-sortable, .zg-teaser-section, .hero-section, .section-bereich-menus, .section-footer-menu, .intro-section-unterseite, .beitragstitel-h1-section, .job-detailseite-hero-section, .section-job-offer) {

    }
}


@media only screen and (max-width: 480px) {

  .et_pb_section:not(.zg-teaser-section, .hero-section, .section-bereich-menus, .section-footer-menu, .intro-section-unterseite, .beitragstitel-h1-section, .job-detailseite-hero-section, .section-job-offer) {
        padding-left: 2rem;
        padding-right: 2rem;
    }
  .beitragstitel-h1-section {
    padding-left: 2rem!important;
    padding-right: 2rem!important;
  }
}


/* Typografie */

 /*Silbentrennung, Rendering */
body, p, h1, h2, h3, h4, h5, h6 {
 -moz-hyphens: auto;
 -o-hyphens: auto;
 -webkit-hyphens: auto;
 -ms-hyphens: auto;
 hyphens: auto; 
 text-rendering: optimizeLegibility; 
 font-synthesis: none;
}

/* CSS – Zeigt linktext fuer screen readers an */
/**:focus{
  outline: 3px solid #eee!important;
  outline-offset: 5px;
}*/

p {
  font-family: 'Source Sans 3', Arial, Helvetica, sans;
  font-size: 1.125rem; /* Karriere */
  color: #000;
  font-weight: 400;
}

p a {
  color: initial;
  text-decoration: none;
} 

p a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
} 

em {
  font-style: italic!important;
}

a:hover, a:focus {
  text-decoration: underline;
  text-underline-offset: 4px!important;
}

a:focus img, a:focus-visible img {
  outline: 3px solid #eee!important;
  outline-offset: 5px;
}

#main-header a:hover,
#main-header a:focus,
#main-header a:focus-visible {
  text-decoration: underline!important;
  text-underline-offset: 4px!important;
  opacity: 1;
}

#main-content h2 {
  font-family: 'Source Sans 3', Arial, Helvetica, sans!important; /* Karriere */
  font-weight: 400;
  color: #000;
  font-size: 30px;
  margin-bottom: 1.5rem;
  @media (max-width: 768px) {
    font-size: 1.5rem;
  }
  @media (max-width: 480px) {
    font-size: 20px; /* Karriere */
    line-height: 120%;
  }
}


#main-content .dark-green-section h2,
#main-content .dark-green-section h3
/*#main-content .dark-green-section h4*/ {
  color: #fff!important;
}

#main-content .dark-green-section h4.cc-name {
  color: #007A3B!important;
}


.beitragstitel-h1 {
  line-height: 110%;
}

.beitragstitel-h1::before {
  position: relative;
  top: 36px;

  @media (max-width: 768px) {
    top: 24px;
  }
}

.beitragstitel-h1::before,
#main-content h2::before {
  content: url('../divi-child/img/orange-arrow-headline.svg');
  display: none; /*KArriere*/
  width: 26px;
  height: 26px;
  margin-left: -32px;
  padding-right: 6px;
  @media (max-width: 768px) { 
    width: 16px;
    height: 16px;
    margin-left: -24px;
  }
  @media (max-width: 480px) {
    width: 20px;
    height: 20px;
    margin-left: 0;
    position: relative;
    top: -10px;
    display: none; /* Karriere */
  }
}

.dark-headline-arrow {

  h2::before {
    content: url('../divi-child/img/dark-green-arrow-headline.svg')!important;
  }
}

.white-headline-arrow {

  h2::before {
    content: url('../divi-child/img/white-arrow-headline.svg')!important;
  }
}

  h4.custom-loop__title a {
    color: #20402F!important;
  }

  .custom-loop__description {
    /*background-color: #FFFBF2!important;*/
  }
  .custom-loop__more .et_pb_button {
    /*background-color: #cdd500!important;*/
  }


.dark-headline-arrow {
  h2::before {
    content: url('../divi-child/img/white-arrow-headline.svg');
  }
}

#main-content h3 {
  font-family: 'Source Sans 3', Helvetica, Arial, sans-serif;
  font-weight: 500; 
  font-size: 26px;
  line-height: 130%;
  
  @media (max-width: 480px) {
    font-size: 18px!important;
  }
}

/* Buttons */

a.et_pb_button:hover,
a.et_pb_button:focus,
a.et_pb_button:focus-visible {
  text-decoration: none!important;
}

.et_pb_button:after {
  content: url('../divi-child/img/arrow-to-right-button.svg')!important;
  display: inline-block!important;
  width: 20px!important;
  height: 20px!important;
}

.et_pb_button:focus-visible,
.et_pb_button:focus,
.et_pb_button:hover {
  box-sizing: border-box!important;
  background-color: transparent!important;
  /*border-width: 2.5px!important;*/
  /*height: 48px!important; /* Vorsicht bei zweizeiligen Buttons! */
}

.et_button_custom_icon .et_pb_button::after,
.et_button_custom_icon .et_pb_button::after, 
.et_button_custom_icon .et_pb_button::after {
  margin-left: 10px!important;
  margin-right: 5px!important;
}


.et_button_custom_icon .et_pb_button:hover::after,
.et_button_custom_icon .et_pb_button:focus::after, 
.et_button_custom_icon .et_pb_button:focus-visible::after {
  margin-left: 2rem!important;
}

.et_button_icon_visible .et_pb_button {
    padding-right: 2.2em;
}

.et_button_icon_visible .et_pb_button:hover,
.et_button_icon_visible .et_pb_button:focus,
.et_button_icon_visible .et_pb_button:focus-visible {
  padding-right: 3.5em!important;
  background-color: #fffbf2!important;

}

.et_button_icon_visible .button-white.et_pb_button,
.et_button_icon_visible .button-white.et_pb_button:hover,
.et_button_icon_visible .button-white.et_pb_button:focus,
.et_button_icon_visible .button-white.et_pb_button:focus-visible {
  background-color: #fff!important;

}

a.button-green.et_pb_button:hover,
a.button-green.et_pb_button:focus,
a.button-green.et_pb_button:focus-visible {
  /*transform: translate(-2px, 0)!important;*/
}

@media (max-width: 768px) {
  .et_pb_button {
    font-size: 18px;
  }
}

/* Grüne Buttons */

.button-green.et_pb_button {
  box-sizing: border-box!important;
  background-color: #cdd500!important;
  height: 48px!important; /* Vorsicht bei zweizeiligen Buttons! */
}

/* Orangene Buttons */

.button-orange.et_pb_button {
  box-sizing: border-box!important;
  background-color: #FF9729!important;
  height: 48px!important; /* Vorsicht bei zweizeiligen Buttons! */
}

.button-orange.et_pb_button a { 
  color: #0E1C14!important; /* Schriftkontrast barrierefrei */
}

/* Call-to-Action-Buttons in H1 */

.h1-cta-button a {
  color: #fffbf2!important;
  text-decoration: none!important;
  padding: 10px 0!important;
}

.h1-cta-button:hover, 
.h1-cta-button:focus, 
.h1-cta-button:focus-visible,
.h1-cta-button a:hover, 
.h1-cta-button a:focus, 
.h1-cta-button a:focus-visible {
  color: #20402f!important;
}

.et_pb_button.h1-cta-button {
  color: #fffbf2!important;
  background-color: #20402f!important;
  border-color: #20402f!important;
  line-height: 1.5em!important;
}

.et_pb_button.h1-cta-button:hover,
.et_pb_button.h1-cta-button:focus,
.et_pb_button.h1-cta-button:focus-visible  {
    color: #20402f!important;

    a {
          color: #20402f!important;
    }
}

.et_pb_button.h1-cta-button::after {
  content: url('../divi-child/img/arrow-to-right-button-white.svg')!important;
}

 .et_pb_button.h1-cta-button:hover::after, 
.et_pb_button.h1-cta-button:focus::after, 
.et_pb_button.h1-cta-button:focus-visible::after {
  color: #20402f!important;
  content: url('../divi-child/img/arrow-to-right-button.svg')!important;
}

body .et_pb_bg_layout_light .h1-cta-button.et_pb_button a:focus, 
body .h1-cta-button.et_pb_button a:focus,
body .et_pb_bg_layout_light .h1-cta-button.et_pb_button a:focus-visible, 
body .h1-cta-button.et_pb_button a:focus-visible,
body .et_pb_bg_layout_light .h1-cta-button.et_pb_button a:hover, 
body .h1-cta-button.et_pb_button a:hover,
body .et_pb_bg_layout_light .h1-cta-button.et_pb_button:focus, 
body .h1-cta-button.et_pb_button:focus,
body .et_pb_bg_layout_light .h1-cta-button.et_pb_button:focus-visible, 
body .h1-cta-button.et_pb_button:focus-visible,
body .et_pb_bg_layout_light .h1-cta-button.et_pb_button:hover, 
body .h1-cta-button.et_pb_button:hover {
    color: #20402f!important; /* #fffbf2 */
}

/* Header */

#page-container {
  background-color: #FFFBF2;
  border-top: 0px solid #007a3b; /* Karriere */
  padding-top: 0!important;

}

#main-header {
  /*height: 200px; */ /* Karriere */
  left: 0;
  right: 0!important;
  box-shadow: none; /* Karriere */

}

#top-menu li.current-menu-item>a, 
#top-menu li.current_page_item>a {
    text-decoration: underline!important;
    text-underline-offset: 4px;
  }


.et_fixed_nav #main-header {

}

.et_menu_container {
  max-width: 1152px!important;
  margin: 0 auto!important;
}

 @media (max-width: 980px) {
  .et_menu_container {
    width: 92%;
  }
}

/* Skip-to-Content-Button */

.skip-link.da-screen-reader-text {
  color: #007a3b;
}

a.skip-link.da-screen-reader-text {
  content:'Zum Inhalt';
}

/* Logo */

.logo_container {
  display: flex; /* Karriere */
  flex-direction: column;
  position: relative !important;
  padding-bottom: 4rem;

  @media (max-width: 768px) {
    padding-bottom: 3rem;
  }
}

#logo {
  position: relative;
  height: 100px!important;
  max-height: 100px!important;
  margin: 0 auto; /* Karriere */
  text-align: center;
  display: block;
}

    .et-fixed-header {
      #logo {
        /* display: none; */ /* eingeblendet, damit Index-Button immer barrierefrei erreichbar ist */
        
        @media (max-width: 980px) {
          display: flex; /*keine fixe Navi auf Tablet und Smartphone*/ /* doch bei Karriere */
        }
        /*height: 46px!important;
        max-height: 46px!important;*/
        content: url('../divi-child/img/logo-paul-riebeck-stiftung-karriere.svg')!important;

        @media (max-width: 768px) {
        height: 46px!important;
        max-height: 46px!important;
        }
      }
    }

/* Logo Desktop */

@media only screen and (min-width: 981px) {
    .et_pb_svg_logo #logo {

    }
    #logo {
      top: 2em; /* Karriere */
    }
    .et-fixed-header {
      #logo {
        top: 2em;
        z-index: 2;
      }
    }
  }

 @media (max-width: 980px) {
  #logo {
    top: 2em;
    height: 80px!important;
    }

  /*.home*/ #logo {
    top: 2em;
    height: 100px!important;
  }

 }

/* Logo Startseite */

/* Standard-Logo ausblenden auf Startseite */

/*.home*/ #logo {
  content: url('../divi-child/img/logo-paul-riebeck-stiftung-karriere.svg')!important;
  height: 89px!important; /*Karriere*/
  max-height: 80px;
}

@media (max-width: 768px) {
  /*.home*/ #logo {
  content: url('../divi-child/img/logo-paul-riebeck-stiftung-karriere.svg')!important;
  height: 56px!important;
  max-height: 56px;
  }

  #logo {
    /*top: 66px;*/
  }
}

@media (max-width: 980px) {
    .et_header_style_left #logo {
        max-width: 70%;
    }
}

@media (max-width: 768px) {
    .et_header_style_left #logo {
        max-width: 100%;
    }
}

/* Top-Menu */

.et-fixed-header #top-menu li a,
#top-menu li a {
  margin-top: 10px;
  padding-top: 8px;
  height: 40px;
}

@media only screen and (min-width: 981px) {

    .et-fixed-header #top-menu li li a {
      color: #007a3b!important;
    }

}

@media (max-width: 768px) {
#top-menu li a {
    font-size: 1.2rem!important;
  }
}

.et_mobile_menu li a:focus-visible,
.et_mobile_menu li a:focus,
.et_mobile_menu li a:hover,
#top-menu li a:focus-visible,
#top-menu li a:focus,
#top-menu li a:hover {
  text-decoration: none!important; /* Karriere */
  color: #000;
  text-underline-offset: 4px!important;
  opacity: 1.0!important;
}

#top-menu .menu-item-has-children>a {
  text-transform: uppercase;
}

/*Menü zentrieren*/

#et-top-navigation {
  float: none!important;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

/* Navi zentrieren */
#et-top-navigation nav {
  display: flex; /* Karriere */
  justify-content: center;
  width: max-content;
}

#top-menu-nav {


}

/*Dropdown-Pfeil ausblenden*/
#top-menu .menu-item-has-children>a:first-child:after {
  display: none;  /*optional: einblenden für höhere Barrierefreiheit */
  font-size: 20px;
  top: 6px;
}


/* Karriere-Button */

#top-menu li.top-menu-karriere a {
  margin-top: 0!important;

}

#top-menu .top-menu-karriere {
  border: 1.5px solid #fffbf2!important;
  border-radius: 24px!important;
  padding: 0 20px!important;
  height: 32px;
  background-color: #007a3b;
}

/* Karriere-Button ganz rechts */

#top-menu li.top-menu-karriere {
  position: absolute!important;
  right: 40px!important;
  top: 8px;
}


/* Top-Menu Desktop */

/*@media only screen and (min-width: 981px) { */ /* Karriere */
    .et_header_style_left #et-top-navigation, 
    .et_header_style_split #et-top-navigation {
        padding: 0!important;
      }
    .et_header_style_left #et-top-navigation nav>ul>li>a {
      padding-bottom: 0;
    }
  /*  } */


@media (max-width: 980px) {
    .et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_left #et-top-navigation {
        padding-top: 24px;
        display: flex; /* Karriere */
    }
}

/* Suche */

/* Animation anpassen */

.mobile_menu_bar .mobile_menu_bar_toggle,
#top-menu,
.et_search_form_container {
  transition: none !important;
  animation: none !important;
}

  .et_pb_menu_hidden #top-menu-nav {
    opacity: 0;
    -webkit-animation: fadeOutBottom 0s cubic-bezier(.77,0,.175,1) 1;
    animation: fadeOutBottom 0s cubic-bezier(.77,0,.175,1) 1;
  }

/* Such-Icon Desktop ganz rechts */

#et_top_search {
  position: absolute!important;
  right: 0;
  top: 16px;
}

/* Suche-Icon */

#et_search_icon::before {
  content: url('../divi-child/img/search-icon.svg');
  display: block;
  width: 32px;
  height: 32px;
  top: -11px;
}

/* Such-Icon Tablet und Smartphone ganz links */

 @media (max-width: 980px) {
  
  #et_top_search {
    position: absolute!important;
    right: auto;
    left: 0;
    top: 4px;
  }

  #et_search_icon {
    width: 100px;
    height: 40px;
    position: relative;
    top: 0px;
    display: block;
  }

  #et_search_icon::before {
    content: 'Suche'!important;
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
    font-weight: 400!important; 
    font-size: 16px;
    background-image: url('../divi-child/img/search-icon-mobile.svg');
    background-repeat: no-repeat;
    background-size: 100px 36px;
    background-position-x: -36px;
    padding-left: 30px;
    padding-top: 10px;
    line-height: 100%;
    width: 100px;
    height: 40px;
    top: 2px;
  }
}

/* Sucheingabefeld im Tablet und Smartphone breiter */

@media (max-width: 980px) {
    .et_header_style_left .et-search-form {
        width: 80% !important;
        max-width: 80% !important;
    }
}

/* Karriere-Button im Mobile Viewport einblenden */

 @media (max-width: 980px) {
  #top-menu {
    display: flex;
    width: 100%;
  }
  #top-menu li.not-in-mobile-top-menu {
    display: none;
  }
  #top-menu li.top-menu-karriere {
    right: auto!important;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
    #et_mobile_nav_menu {
        display: none;
    }
}

/* Dropdown Submenu */

/* Submenu Desktop */

#top-menu .sub-menu {
  margin-top: 0px!important;
  border-radius: 8px;
  border: 1.5px solid #007a3b;
  left: -50%;
  width: 280px!important;
  padding-bottom: 30px;
}

#top-menu .sub-menu::before {
  content: url('../divi-child/img/dropdownmenu-arrow.svg');
  display: block;
  width: 30px;
  height: 15px;
  position: absolute;
  top:-16px;
  left: calc(5vw + 20px);
}

.et_mobile_menu li a:hover, .nav ul li a:hover {
    background-color: transparent;
    opacity: 1;
}

li.sub-menu a {
  font-weight: 700;
}

#main-header .nav li ul a {
  font-family: 'Source Sans 3', Helvetica, Arial, sans-serif;
  font-weight: 600!important;
}

#main-header .nav li.menu-item-has-children ul a {
  text-transform: initial!important;
}

#top-menu li .menu-item-has-children>a:first-child {
  padding-right: 10px;
}

/*Dropdown-Pfeil einblenden*/
#top-menu li .menu-item-has-children>a {
  width: fit-content;
}

#top-menu li .menu-item-has-children>a:first-child::after {
  display: block;
  font-size: 20px;
  top: 6px;
  left: auto;
  right: -10px;
}

#top-menu .sub-menu .sub-menu {
  left: -1.5px;
  top: calc(23px + 24px);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  padding: 0 0 2rem 0px;
  margin-left: -20px;
}

#top-menu .sub-menu .sub-menu::before {
  display: none;
  top: -6px;
}


#top-menu li li {
  padding: 0;
  margin: 0 20px;
  line-height: 150%;
}

#top-menu li li li a {
  border-top: 1.5px solid #007a3b;
  line-height: 100%;
  margin-top: 0;
  padding-top: 11px;
  padding-bottom: 11px;
}

#top-menu li li li a:focus-visible,
#top-menu li li li a:focus,
#top-menu li li li a:hover {
  font-weight: 700!important;
  text-decoration: none!important;
}

#top-menu li li a {
    padding: 6px 0px;
    width: 235px;
  }

/* Mobiles Menu */

/* Hamburger-Icon */


 @media (max-width: 980px) {

  #et_mobile_nav_menu .mobile_nav.closed .mobile_menu_bar:before,
  #et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar:before {
    top: -15px;
    
    font-size: 16px;
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
    font-weight: 400!important; 
    line-height: 100%;
    width: 100px;
    height: 40px;
    top: -8px;
    background-repeat: no-repeat;
    background-size: 24px 36px;
    background-position-y: -6px;
    padding-left: 32px;
  }

  #et_mobile_nav_menu .mobile_nav.closed .mobile_menu_bar:before {
    background-image: url('../divi-child/img/mobile-menu-icon.svg');
    content: 'Menü'!important;
  }
  #et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar:before {
    background-image: url('../divi-child/img/mobile-menu-close-icon.svg');
    content: 'Zurück'!important;
  }

}

/* Mobiles Aufklapp-Menu */

 @media (max-width: 980px) {

  .et_mobile_menu {
    width: 120%;
    left: -10%;
    top: 50px;
  }

  #main-header .et_mobile_menu {
    background-color: #FFFBF2!important;
  }

  #main-header .et_mobile_menu li ul {
    padding-left: 0;
    border-left: 1.5px solid #007a3b;
    border-right: 1.5px solid #007a3b;
  }

  #main-header .et_mobile_menu li.menu-item-stiftung ul:last-of-type  {
    /*border-bottom: 1.5px solid  #007a3b!important;
    border-radius: 0 0 12px 12px!important;
    padding-bottom: 1rem!important;  */  
  }

  .et_mobile_menu li {
    width: 80%!important;
    margin: 0 auto!important;
  }

  .et_mobile_menu li li,
  .et_mobile_menu li li li {
    padding-left: 0;
    width: 100%!important;
  }

  .et_mobile_menu li li li { 
    border-top: 1.5px solid #007a3b;
    width: 90%!important;  
  }

  #main-header .et_mobile_menu li li li a:focus,
  #main-header .et_mobile_menu li li li a:focus-visible,
  #main-header .et_mobile_menu li li li a:hover { 
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
    font-weight: 700!important;
    text-decoration: none!important;
  }

  #main-header .et_mobile_menu li li ul {
    border: 0;
  }

  .et_mobile_menu li a {
    color: #007a3b!important;
    font-size: 16px!important;
    padding-left: 0!important;
    text-align: center!important;
    border-bottom: 0!important;
    padding-right: 10px;
  }

  .et_mobile_menu li.menu-item:last-child>a {
    padding-bottom: 2rem!important;
  }

  .et_mobile_menu .menu-item-has-children>a {
    background-color: #007a3b!important;
    color: #FFFBF2!important;
    text-transform: uppercase!important;
    padding-left: 1rem!important;
    position: relative;
    z-index: 1;
  }

  .et_mobile_menu li.menu-item:first-child>a {
    border-radius: 12px 12px 0 0;
  }

    .et_mobile_menu li.menu-item-has-children:last-child>a {
    border-radius: 0 0 12px 12px;
    padding-bottom: 12px!important;
  }

  .et_mobile_menu .top-menu-karriere {
    display: none;
  }

  /* Unter-Aufklapp-Menüs */

    .et_mobile_menu .menu-item-has-children .menu-item-has-children>a {
    background-color: #FFFBF2!important;
    color: #007a3b!important;
    text-transform: none!important;
    padding-left: 0rem!important;
  }

  /* Aufklapp-Symbol 
  .et_mobile_menu .menu-item-has-children > a:after,
  .et_mobile_menu .menu-item-has-children.open > a:after,
  .et_mobile_menu .menu-item-has-children .menu-item-has-children > a:after,
  .et_mobile_menu .menu-item-has-children .menu-item-has-children.open > a:after {
      margin-left: 8px!important;
      width: 16px;
      height: 15px;
      display: inline-block;
  }

  .et_mobile_menu .menu-item-has-children > a:after {
      content: url('../divi-child/img/submenu-arrow-down.svg')!important;
  }
  
  /*Aufklapp-Symbol animieren bzw. Schließen-Symbol
  .et_mobile_menu .menu-item-has-children.open > a:after {
    content: url('../divi-child/img/submenu-arrow-up.svg')!important;
  }

    /* Symbol für ausklappbar (optional Styling) 
  .et_mobile_menu .menu-item-has-children .menu-item-has-children > a:after {
    content: url('../divi-child/img/submenu-submenu-arrow-down.svg')!important;
  }
  
  /*Aufklapp-Symbol animieren bzw. Schließen-Symbol
  .et_mobile_menu .menu-item-has-children .menu-item-has-children.open > a:after {
    content: url('../divi-child/img/submenu-submenu-arrow-up.svg')!important;
  }
  */
 }

/* --- Mobile Dropdowns für Divi: Inline-block centering (Button rechts neben Menütext) --- */
@media (max-width: 980px) {

  /* Submenus standardmäßig zu, wenn [hidden] gesetzt ist */
  #mobile_menu .menu-item-has-children > ul.sub-menu[hidden] {
    display: none !important;
  }

  /* Entferne alte ::after-Pfeile am Link */
  #mobile_menu .menu-item-has-children > a::after {
    content: none !important;
  }

  /* Hintergrund für Hauptmenupunkte */
  #mobile_menu .menu-item-has-children::before {
    display: block!important;
    width: 100%!important;
    content:''!important;
    background-color: #007a3b!important;
    height: 43px!important;
    position: relative;
    z-index: -9999;
    top: 43px;
  }

  #mobile_menu .menu-item-has-children:first-child::before {
    
  }

  #mobile_menu::after,
  #mobile_menu::before {
    content:''!important;
    display: block!important;
    width: 80%!important;
    margin: 0 auto!important;
    height: 12px!important;
    background-color: #007a3b!important;
  }

  #mobile_menu::before {
    border-radius: 12px 12px 0 0!important;
  }

  #mobile_menu::after {
    border-radius: 0 0 12px 12px!important;    
  }


  /* Stelle sicher, dass frühere Grid/Flex-Regeln überschrieben werden */
  #mobile_menu .menu-item-has-children {
    display: block !important;     /* überschreibt display:grid / flex falls gesetzt */
    text-align: center;            /* zentriert inline-Elemente innerhalb des li */
    position: relative;
    box-sizing: border-box;
    margin-top: -43px!important;
  }

  /* Link als inline-block, damit Link + Button als Gruppe zentriert werden */
  #mobile_menu .menu-item-has-children > a {
    display: inline-block;
    text-align: center;
    vertical-align: middle;        /* Button und Text mittig ausrichten */
    white-space: normal;           /* erlaubt Zeilenumbruch; bei Bedarf auf nowrap setzen */
  }

  /* Toggle-Button direkt neben dem Link (inline-block) */
  #mobile_menu .menu-item-has-children > .submenu-toggle {
    display: inline-block;
    vertical-align: middle;        /* passt sich zur Textlinie an */
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 0;
    background: #007a3b!important;
    cursor: pointer;
    touch-action: manipulation;
    z-index: 1;
    position: relative;
  }

  /* Hintergrund fürSubmenu-Toogle-Buttons */
  #mobile_menu .menu-item-has-children .menu-item-has-children::before {
    background-color: #fffbf2!important;
  }

  /* Submenu Submenu Toggle-Button direkt neben dem Link (inline-block) */

  #mobile_menu .menu-item-has-children .menu-item-has-children > a {
    display: inline-block!important;
  }

  #mobile_menu .menu-item-has-children li.menu-item-has-children > .submenu-toggle img,
  #mobile_menu .menu-item-has-children li.menu-item-has-children:last-child > .submenu-toggle img {

  }
  
  #mobile_menu .menu-item-has-children li.menu-item-has-children > .submenu-toggle {
    background-color: #fffbf2!important;
  }

  #mobile_menu .menu-item-has-children li.menu-item-has-children:last-child > .submenu-toggle {
    background-color: transparent!important;
  }

  #mobile_menu .menu-item-has-children .menu-item-has-children > .submenu-toggle {
    background: red;
  }

  /* SVG-Icon im Button */
  #mobile_menu .submenu-toggle img {
    display: block;
    width: 18px;
    height: auto;
    pointer-events: none; /* das <img> soll keine Klicks "fressen" */
  }

  /* Submenu (Kinderliste) soll unter dem Link/Button über die volle Breite erscheinen */
  #mobile_menu .menu-item-has-children > ul.sub-menu {
    display: block;
    width: 100%;
    text-align: left;              /* Submenu linksbündig (üblich) */
    box-sizing: border-box;
  }

  #mobile_menu .menu-item-has-children:first-child > ul.sub-menu {
    padding-bottom: 2rem;
  }

  /* Unterebenen: Links als Block und eingrücken */
  #mobile_menu .sub-menu .menu-item > a {
    display: block;
    padding-left: 1.25rem;
    margin-right: 0;               /* entfernen falls zuvor gesetzt */
    text-align: left;
  }

  /* Offener Eintrag optisch hervorheben (optional) */
  #mobile_menu .menu-item-has-children.submenu-open > a {
    font-weight: 600;
  }

  /* Tastatur-Fokus sichtbar machen */
  #mobile_menu .submenu-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }
}


.dropdown-toggle {
  border: 0;
  padding: 0;
  left: 0;
}

/* Fixer Header – deaktiviert, da es sonst bei langen Untermenus einen vertikalen Scrollbalken im Ausklapp-Menu bräuchte.*/

.et-fixed-header {
  position: fixed!important; 

  #main-header .et_mobile_menu {
    overflow: scrollbar!important; /*Funktion ist buggy, intuitiver ist es ohne fixen Header*/
  }

}

/* Footer */

/* Farbstreifen oben */

.section-bereich-menus::before {
    content: '';
    background-image: url('../divi-child/img/section-footer-border-top.svg');
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    width: 100%;
    height: 12px;
}


/* Footer Menu */

li.fb-icon-menu-item a,
li.insta-icon-menu-item a,
li.youtube-icon-menu-item a {
  color: transparent!important;
}

li.fb-icon-menu-item,
li.insta-icon-menu-item,
li.youtube-icon-menu-item {
  padding-left: 0!important;
  padding-right: 0!important;
}

li.fb-icon-menu-item:before {
  content: url('../divi-child/img/FB.svg');
  width: 10px;
  height: 29px;
  transform: translate(33px, -2px);
}

li.insta-icon-menu-item:before {
  content: url('../divi-child/img/Insta.svg');
  width: 20px;
  height: 40px;
  transform: translate(42px, -4px);
}

li.youtube-icon-menu-item:before {
  content: url('../divi-child/img/YT.svg');
  width: 20px;
  height: 29px;
  transform: translate(40px, -4px);
}

.et-l--footer .et-menu a,
.et-l--footer .et-menu a:hover {
  color: #20402F;
  line-height: 130%;
}

.et-l--footer .et-menu a:hover {
  text-decoration: underline!important;
  text-underline-offset: 4px!important;
  opacity: 1!important;
}

.section-bereich-menus .nav {
  flex-direction: column;
}

.section-bereich-menus .et_pb_menu .et_pb_menu__menu {
  display: block;
  width: 90%;
}

.section-bereich-menus .et_pb_menu .et_pb_menu__menu>nav {
  display: block;
  width: 100%;
}

.section-bereich-menus .et_pb_menu .et-menu {
  margin: 0;
}

.section-bereich-menus #menu-footermenu .nav {
  flex-direction: row;
}

.section-bereich-menus .et_pb_menu .et-menu>li {
  padding: 0 2rem 0 0;

}

.section-bereich-menus .et_pb_menu .et-menu>li.only-in-footer {
  margin-bottom: 1rem;
}

.only-in-footer  {
  border-bottom: 1px solid #D1DA53;
  height: 3.5rem;
  margin-bottom: 1rem;
}

.only-in-footer a {
  text-transform: uppercase;
}

.section-footer-menu .et_pb_menu__wrap,
.section-footer-menu .et_pb_menu__menu {
  display: block;
}

.section-footer-menu .et-menu-nav {
  display: block!important;
  width: 100%!important;
}

#menu-footermenu ul.et-menu {
  
}

ul#menu-footermenu.et-menu.nav {
  justify-content: space-between!important;    
}

.et_pb_menu--style-centered .et_pb_menu__menu>nav>ul {

}

/* Ab einer Viewportbreite <1200px die leeren Spalten li und re ausblenden */

@media (min-width: 981px) and (max-width: 1199px) {
  .section-bereich-menus .et_pb_column_1_6:first-child,
  .section-bereich-menus .et_pb_column_1_6:last-child {
    display: none!important;
  }
  .section-bereich-menus .et_pb_column_1_6 {
    width: 25%;
  }

}

@media (min-width: 480px) and (max-width: 980px) {
  .section-bereich-menus .et_pb_column_1_6 {
    width: 50%!important;
  }
}

/* Mobiles Footer-Menu ausblenden */

.et-l--footer .et_mobile_nav_menu {
  display: none;
}


@media (max-width: 479px) {
  .section-bereich-menus .et_pb_menu .et_pb_menu__menu>nav>ul>li {
    justify-content: center;
  }
  .section-bereich-menus .et_pb_module.et_pb_text_align_left {
    text-align: center;
  }
  .section-bereich-menus .et_pb_column_1_6:nth-child(2) {
    .only-in-footer {
      margin-top: -1rem!important;
      border-top: 0!important;
    }
  }
  .only-in-footer {
    border-top: 1px solid #D1DA53!important;
    padding-top: 1rem!important;
    border-bottom: 0;
    height: 2.5rem;
    margin-top: 1rem!important;
    margin-bottom: .5rem!important;
  }

  .section-bereich-menus .et_pb_menu .et-menu>li.only-in-footer {
    margin-bottom: -1rem;
  }
  .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    justify-content: center;
  }
  .section-bereich-menus .et_pb_menu .et_pb_menu__menu {
    width: 100%;
  }
  .section-bereich-menus .et_pb_menu .et-menu>li {
    padding: 0 2rem;
  } 
  .et_pb_menu .et_pb_menu__menu>nav>ul>li {
    justify-content: center!important;
  }
}

@media (max-width: 980px) {
    ul#menu-footermenu.et-menu.nav {
    flex-direction: column;
    justify-content: center!important;
  }

  li.fb-icon-menu-item {
    order: -3;
    align-self: flex-start!important;
    flex-shrink: 3;
    margin: 0!important;
  }
    li.insta-icon-menu-item {
    order: -2;
    align-self: center;
    flex-shrink: 3;
    margin-top: -29px!important;
    margin-bottom: 0;
  }
    li.youtube-icon-menu-item {
    order: -1;
    align-self: flex-end!important;
    flex-shrink: 3;
    margin-top: -49px!important;
    margin-bottom: 1rem!important;
  }
  #menu-footermenu .menu-item {
    align-self: center;
    margin: 8px 0;
  }
}

/* Footer Menu immer unten bündig, temporär */

#main-footer {
  /*position: absolute;  temporär */
  /* bottom: 0; /* temporär */
} 

/* Startseite */

/* Slider */

/* Slider nur Bild */

.slider-startseite.only-img {
    height: 52vw!important;

    @media (min-width: 481px) and (max-width: 768px) {
      height: 60vw!important;
    }

    @media (max-width: 480px) {
      height: 70vw!important;
    }

.et_pb_slider {
    display: block!important;
  }

.et_pb_slides,
.et_pb_slide {
    display: block!important;
    height: 100%!important;

      @media (min-width: 1201px) {
        background-size: contain;
      }
  }
}


/* Pfeilnavigation */

.slider-startseite {

  .et-pb-arrow-next, .et-pb-arrow-prev {
    opacity: 1;
  }
  .et-pb-arrow-prev {
    left: 0;
  }
  .et-pb-arrow-next {
    right: 0;
  }
  .et_pb_slides {
    z-index: 0;
  }
  .et-pb-slider-arrows {
    z-index: 100;
  }

  a.et-pb-arrow-next:focus,
  a.et-pb-arrow-prev:focus,
  a.et-pb-arrow-next:focus-visible,
  a.et-pb-arrow-prev:focus-visible,
  a.et-pb-arrow-next:hover,
  a.et-pb-arrow-prev:hover {
    text-decoration: none!important;
  }

  .et_pb_slide {
  padding: 0 6% 0 0;
  }

  .et_pb_slide_image {
    margin: 0!important;
    top: 0!important;
    width: 52.5%!important;
    height: 100%!important;
    display: block!important;

    @media (max-width: 768px) {
      display: none!important;
    }
    
      @media (min-width: 980px) {
        width: 52%!important;
    }
  }

  .et_pb_slide_image img {
      /* aspect-ratio: 1 / 1.3!important; */
      object-fit: cover!important;
      max-height: none!important;
      height: 100%!important;
  }

  .et_pb_slide_description {
    padding-left: 3%!important;
    margin-left: 9%!important;
      @media (max-width: 767px) {
        margin-right: 9%!important;
        padding-right: 3%!important;
      }
    }

  .et_pb_slider_with_overlay .et_pb_slide_overlay_container  {
      @media (min-width: 769px) {
        display: none!important;
      }
    }

  }

  .et-pb-active-slide .et_pb_slide_description  {
    animation-duration: 0!important;
    animation-delay: 0!important;
    animation: none!important;
    transition: none!important;
  }

  h1.et_pb_slide_title {

    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    color: #FEF5E1 !important;
    padding: 6px 1rem;
    border-radius: 8px;
    background-color: #007A3B;
    position: absolute!important;
    text-shadow: none;
    width: fit-content;
    float: left;

      @media (min-width: 981px) {
        font-size: 32px!important;
        top: 135px!important;
        left: 174px!important;
      }

      @media (max-width: 980px) {
        font-size: 24px!important;
        top: 135px!important;
        left: 108px!important;
      }

      @media (max-width: 768px) {
        display: none!important; /* H1 auf Slider ausblenden, weil H1 außerhalb von Slider unter Logo steht */
        font-size: 20px!important;
        top: -5px!important;
        left: 28px!important;
      }
  }

  h2.et_pb_slide_title a {
    text-decoration: none!important;
  }

  h2.et_pb_slide_title::before {
    display: none!important;
  }

  @media (max-width: 767px) {
    .et_pb_slide_image, .et_pb_slide_video, 
    .et_pb_slide_with_image .et_pb_slide_description {
        width: 90%;
    }
  }
  /* Slider-Bild auf Mobil ausblenden 
  @media (max-width: 767px) {
    .et_pb_slide_image, .et_pb_slide_video {
        display: block!important;
    }
  } 
  */
}

/* Zielgruppen-Teaser responsive Spaltenabstände und -breite */

@media (min-width: 1221px) {
  .hero-section {
    height: 600px!important;
  }
}

@media (min-width: 981px) and (max-width: 1220px) {
  /*.home*/ .hero-section,
  .bereichsseite.hero-section {
    height: 550px!important;
  }
}

@media (min-width: 981px) {
    .zg-teaser-card-startseite-row.et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column {
        margin-right: 1.5%!important;
    }
}

@media (min-width: 981px) {
    .zg-teaser-card-startseite-row.et_pb_gutters2 .et_pb_column_1_4, 
    .zg-teaser-card-startseite-row.et_pb_gutters2.et_pb_row .et_pb_column_1_4 {
        width: 23.125%;
    }
}

@media (max-width: 980px) {

    .et_pb_gutters2 >.zg-teaser-card-startseite-column.et_pb_column.et_pb_column_1_3 {
        width: 48.5%!important;
        margin-right: 1.5%!important;
        margin-bottom: 76px!important;
        top:0rem!important;
      }

    .et_pb_gutters1 .et_pb_row_4col>.zg-teaser-card-startseite-column.et_pb_column.et_pb_column_1_4 {
        width: 48.5%!important;
        margin-right: 1.5%!important;
        margin-bottom: 76px!important;
        top:0rem!important;
      }
          .home .hero-section {
      height: 450px!important;
    }
}

@media (max-width: 768px) {

      .et_pb_gutters2 >.zg-teaser-card-startseite-column.et_pb_column.et_pb_column_1_3 {
        top: 7rem!important;
        margin-bottom: 40px!important;

      }

    .et_pb_gutters1 .et_pb_row_4col>.zg-teaser-card-startseite-column.et_pb_column.et_pb_column_1_4 {
        top: -2rem!important;
      }
    /*.home*/ .hero-section {
      height: 400px!important;
      margin-top: 150px!important;
    }
    /*.home*/ .hero-section .et_pb_row {
      margin-left: 78px;
      margin-right: auto;
    }
    /*.home*/ .hero-section .startseite-slider-row.et_pb_row {
      margin-left: 0!important;
    }
}

@media (max-width: 620px) {
        .zg-teaser-card-startseite-column {

        }
}

@media (max-width: 480px) {
  /*.home*/ .hero-section { 
    height: 250px!important;
  }
  /*.home*/.hero-section .et_pb_row {
    margin-left: 64px;
  }
  /*.home*/ .hero-section .startseite-slider-row.et_pb_row {
    margin-left: 0!important;
  }
}



/* Startseite H1 mit Claim */

.h1-startseite {
  width: fit-content;
  padding: 6px 1rem;
  border-radius: 8px;
  margin-top: 135px;
  margin-left: 5rem;
}


.h1-startseite:not(.only-img) {
  @media (min-width: 769px) {
    display: none;
  }
}

.h1-startseite h1 {
  font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
  font-weight: 600!important;
  text-transform: uppercase;
  padding-bottom: 0;
}

.zg-teaser-card-startseite-column {
  padding: 0 0rem 8rem 1.5rem;
  background-color: #cdd500!important;
  border-radius: 8px!important;
  margin-top: -4rem;
  margin-bottom: 1rem;
  height: 5rem;
}

.category-vermietung .zg-teaser-card-startseite-column {
  padding-bottom: 7rem!important;
}

.home {

    @media (min-width: 1221px) {
      .zg-teaser-card-startseite-column {
        padding-left: 2rem!important;
        }
      }

    @media (min-width: 1080px) and (max-width: 1220px) {
        .zg-teaser-card-startseite-column {
        padding-left: 1rem!important;
      }
    }

    @media (min-width: 981px) and (max-width: 1079px) {
        .zg-teaser-card-startseite-column {
        padding-left: .5rem!important;
      }
    }
}

.h3-teaser-bereichsseite-altenpflegeheime h3,
.h3-teaser-bereichsseite-tagespflege h3,
.h3-teaser-bereichsseite-intensivpflege h3,
.h3-teaser-bereichsseite-ambulante-pflege h3,
.h3-teaser-bereichsseite-kurzzeitpflege h3 {
  font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
  font-weight: 600!important;
  font-size: 22px!important;
  color: #0E1C14;
  margin-right: 1rem;
  margin-left: 3rem!important;
  line-height: 105%!important;
  margin-top: -12px!important;
  text-align: left!important;
  width: fit-content!important;  
}


.h3-teaser-bereichsseite-beratung h3,
.h3-teaser-bereichsseite-news-medien h3,
.h3-teaser-bereichsseite-ehrenamt h3,
.h3-teaser-bereichsseite-projekte h3,
.h3-teaser-bereichsseite-stifter-stiftung h3,
.h3-teaser-bereichsseite-wohnungen h3,
.h3-teaser-bereichsseite-mieterservice h3,
.h3-teaser-bereichsseite-nachbarschaft h3,
.h3-teaser-startseite-vermietung h3,
.h3-teaser-startseite-altenhilfe h3,
.h3-teaser-startseite-behindertenhilfe h3,
.h3-teaser-startseite-stiftung h3 {
  font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
  font-weight: 600!important;
  font-size: 22px!important;
  color: #0E1C14;

  margin-right: auto;
  line-height: 105%!important;
  margin-top: -12px!important;
  text-align: center!important;
  width: fit-content!important;
}

.h3-teaser-startseite-vermietung h3,
.h3-teaser-startseite-altenhilfe h3,
.h3-teaser-startseite-behindertenhilfe h3,
.h3-teaser-startseite-stiftung h3 {
    margin-left: 3.5rem; /*auto;*/
}

.h3-teaser-bereichsseite-altenpflegeheime h3,
.h3-teaser-bereichsseite-tagespflege h3,
.h3-teaser-bereichsseite-intensivpflege h3,
.h3-teaser-bereichsseite-ambulante-pflege h3,
.h3-teaser-bereichsseite-kurzzeitpflege h3,
.h3-teaser-bereichsseite-beratung h3,
.h3-teaser-bereichsseite-news-medien h3,
.h3-teaser-bereichsseite-ehrenamt h3,
.h3-teaser-bereichsseite-projekte h3,
.h3-teaser-bereichsseite-stifter-stiftung h3,
.h3-teaser-bereichsseite-wohnungen h3,
.h3-teaser-bereichsseite-mieterservice h3,
.h3-teaser-bereichsseite-nachbarschaft h3 {
      margin-left: auto; /*auto;*/
}

.h3-teaser-bereichsseite-altenpflegeheime h3:hover,
.h3-teaser-bereichsseite-tagespflege h3:hover,
.h3-teaser-bereichsseite-intensivpflege h3:hover,
.h3-teaser-bereichsseite-ambulante-pflege h3:hover,
.h3-teaser-bereichsseite-kurzzeitpflege h3:hover,
.h3-teaser-bereichsseite-beratung h3:hover,
.h3-teaser-bereichsseite-news-medien h3:hover,
.h3-teaser-bereichsseite-ehrenamt h3:hover,
.h3-teaser-bereichsseite-projekte h3:hover,
.h3-teaser-bereichsseite-stifter-stiftung h3:hover,
.h3-teaser-bereichsseite-wohnungen h3:hover,
.h3-teaser-bereichsseite-mieterservice h3:hover,
.h3-teaser-bereichsseite-nachbarschaft h3:hover,
.h3-teaser-startseite-vermietung h3:hover,
.h3-teaser-startseite-altenhilfe h3:hover,
.h3-teaser-startseite-behindertenhilfe h3:hover,
.h3-teaser-startseite-stiftung h3:hover {
  text-decoration: underline!important;
  text-underline-offset: 4px;
}

.h3-teaser-startseite-altenhilfe h3 {
  margin-left: 4.5rem!important;
}


.h3-teaser-startseite-stiftung h3 {
  margin-left: 5rem!important;
}

.h3-teaser-bereichsseite-altenpflegeheime h3::before,
.h3-teaser-bereichsseite-tagespflege h3::before,
.h3-teaser-bereichsseite-intensivpflege h3::before,
.h3-teaser-bereichsseite-ambulante-pflege h3::before,
.h3-teaser-bereichsseite-kurzzeitpflege h3::before,
.h3-teaser-bereichsseite-beratung h3::before,
.h3-teaser-bereichsseite-news-medien h3::before,
.h3-teaser-bereichsseite-ehrenamt h3::before,
.h3-teaser-bereichsseite-projekte h3::before,
.h3-teaser-bereichsseite-stifter-stiftung h3::before,
.h3-teaser-bereichsseite-wohnungen h3::before,
.h3-teaser-bereichsseite-mieterservice h3::before,
.h3-teaser-bereichsseite-nachbarschaft h3::before,
.h3-teaser-startseite-vermietung h3::before, 
.h3-teaser-startseite-altenhilfe h3::before,
.h3-teaser-startseite-behindertenhilfe h3::before,
.h3-teaser-startseite-stiftung h3::before {
  display: block;
  margin-left: -3.5rem;
  position: relative; 
}



.h3-teaser-bereichsseite-altenpflegeheime h3::before {
  content: url('../divi-child/img/icon-altenpflegeheime.svg');
  top: 56px;
  width: 42px;
  height: 50px;
  margin-left: -3.7rem;
}

.h3-teaser-bereichsseite-tagespflege h3::before {
  content: url('../divi-child/img/icon-tagespflege.svg');
  top: 54px;
  width: 34px;
  height: 50px;
}

.h3-teaser-bereichsseite-intensivpflege h3::before {
  content: url('../divi-child/img/icon-intensivpflege.svg');
  top: 62px;
  width: 32px;
  height: 50px;
  margin-left: -3.3rem;
}

.h3-teaser-bereichsseite-ambulante-pflege h3::before {
  content: url('../divi-child/img/icon-ambulante-pflege.svg');
  top: 52px;
  width: 52px;
  height: 50px;
  margin-left: -3.9rem;
}

.h3-teaser-bereichsseite-kurzzeitpflege h3::before {
  content: url('../divi-child/img/icon-kurzzeitpflege.svg');
  top: 55px;
  width: 36px;
  height: 50px;
}

.h3-teaser-bereichsseite-beratung h3::before {
  content: url('../divi-child/img/icon-beratung.svg');
  top: 50px;
  width: 42px;
  height: 50px;
}

.h3-teaser-bereichsseite-news-medien h3::before {
  content: url('../divi-child/img/icon-news-und-medien.svg');
  top: 50px;
  width: 42px;
  height: 50px;
}

.h3-teaser-bereichsseite-ehrenamt h3::before {
  content: url('../divi-child/img/icon-ehrenamt.svg');
  top: 50px;
  width: 42px;
  height: 50px;
}

.h3-teaser-bereichsseite-projekte h3::before {
  content: url('../divi-child/img/icon-projekte.svg');  top: 50px;
  width: 42px;
  height: 50px;
}

.h3-teaser-bereichsseite-stifter-stiftung h3::before {
  content: url('../divi-child/img/icon-stifter-und-stiftung.svg');
  top: 50px;
  left: -.5rem;
  width: 56px;
  height: 40px;
}

.h3-teaser-bereichsseite-wohnungen h3::before {
  content: url('../divi-child/img/icon-wohnungen.svg');
  top: 50px;
  width: 42px;
  height: 50px;
}

.h3-teaser-bereichsseite-mieterservice h3::before {
  content: url('../divi-child/img/icon-mieterservice.svg');
  top: 38px;
  width: 34px;
  height: 50px;
}

.h3-teaser-bereichsseite-nachbarschaft h3::before {
  content: url('../divi-child/img/icon-nachbarschaft.svg');
  top: 50px;
  width: 42px;
  height: 50px;
}

.h3-teaser-startseite-vermietung h3::before {
  content: url('../divi-child/img/icon-seniorenwohnungen.svg');
  top: 57px;
  width: 42px;
  height: 50px;
}

.h3-teaser-startseite-altenhilfe h3::before {
  content: url('../divi-child/img/icon-altenhilfe.svg');
  top: 48px;
  width: 56px;
  height: 56px;
  margin-left: -4.5rem!important;
}

.h3-teaser-startseite-behindertenhilfe h3::before {
  content: url('../divi-child/img/icon-behindertenhilfe-voithea.svg');
  top: 48px;
  width: 48px;
  height: 48px;
}

.h3-teaser-startseite-stiftung h3::before {
  content: url('../divi-child/img/icon-stiftung.svg');
  top: 54px;
  width: 68px;
  height: 68px;
  margin-left: -5rem!important;
}

@media (min-width: 1221px) {

  .five-columns .zg-teaser-card-startseite-column {
    padding-right: auto!important;
    padding-left: auto!important;
  }
}

@media (min-width: 981px) and (max-width: 1220px) {

  .five-columns .zg-teaser-card-startseite-column {
    padding-left: 6px;
    padding-right: 6px;
  }



  .h3-teaser-bereichsseite-altenpflegeheime h3,
  .h3-teaser-bereichsseite-tagespflege h3,
  .h3-teaser-bereichsseite-intensivpflege h3,
  .h3-teaser-bereichsseite-ambulante-pflege h3,
  .h3-teaser-bereichsseite-kurzzeitpflege h3,
  .h3-teaser-bereichsseite-beratung h3,
  .h3-teaser-bereichsseite-news-medien h3,
  .h3-teaser-bereichsseite-ehrenamt h3,
  .h3-teaser-bereichsseite-projekte h3,
  .h3-teaser-bereichsseite-stifter-stiftung h3 {
    margin-left: auto!important;
    margin-right: auto!important;
    margin-top: 1rem!important;
    text-align: center!important;
  }

  .h3-teaser-bereichsseite-altenpflegeheime h3::before,
  .h3-teaser-bereichsseite-tagespflege h3::before,
  .h3-teaser-bereichsseite-intensivpflege h3::before,
  .h3-teaser-bereichsseite-ambulante-pflege h3::before,
  .h3-teaser-bereichsseite-kurzzeitpflege h3::before,
  .h3-teaser-bereichsseite-beratung h3::before,
  .h3-teaser-bereichsseite-news-medien h3::before,
  .h3-teaser-bereichsseite-ehrenamt h3::before,
  .h3-teaser-bereichsseite-projekte h3::before,
  .h3-teaser-bereichsseite-stifter-stiftung h3::before {
    margin-left: auto!important;
    margin-right: auto!important;
    top: 6px!important;
  }

}


@media (max-width: 980px) {

  .h1-startseite {
    margin-left: 1rem;
  }
    .h1-startseite h1 {
    font-size: 24px;
  }
  .h3-teaser-startseite-vermietung h3,
  .h3-teaser-startseite-altenhilfe h3,
  .h3-teaser-startseite-behindertenhilfe h3,
  .h3-teaser-startseite-stiftung h3 {
      margin-left: 5rem!important;
  }

  .five-columns .zg-teaser-card-startseite-column {
    padding-left: 0;
  }

  .et_pb_gutters1 .five-columns.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 {
    width: 47.25%!important;
    margin-right: 2.25%!important;
    margin-bottom: 5rem!important;
  }

  .h3-teaser-bereichsseite-altenpflegeheime h3,
  .h3-teaser-bereichsseite-tagespflege h3,
  .h3-teaser-bereichsseite-intensivpflege h3,
  .h3-teaser-bereichsseite-ambulante-pflege h3,
  .h3-teaser-bereichsseite-kurzzeitpflege h3,
  .h3-teaser-bereichsseite-beratung h3,
  .h3-teaser-bereichsseite-news-medien h3,
  .h3-teaser-bereichsseite-ehrenamt h3,
  .h3-teaser-bereichsseite-projekte h3,
  .h3-teaser-bereichsseite-stifter-stiftung h3 {
    margin-left: auto!important;
    margin-right: auto!important;
    margin-top: auto!important;
  }

  .h3-teaser-bereichsseite-altenpflegeheime h3::before {
    top: 40px!important;
    margin-left: -3.4rem!important;
  }

    .h3-teaser-bereichsseite-intensivpflege h3::before {
    top: 52px!important;
  }

    .h3-teaser-bereichsseite-kurzzeitpflege h3::before {
    top: 38px!important;
  }

    .h3-teaser-bereichsseite-tagespflege h3::before {
    top: 40px!important;
  }

    .h3-teaser-bereichsseite-ambulante-pflege h3::before {
    top: 42px!important;
    margin-left: -3.4rem!important;
  }

}

@media (max-width: 768px) {

  .et_pb_row.five-columns {
    margin-top: 6rem!important;
  }

  .et_pb_gutters1 .five-columns.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 {
    margin-bottom: 2.5rem!important;
    padding-left: 3rem!important;
  }

  .et_pb_gutters1 .et_pb_row_4col>.zg-teaser-card-startseite-column.et_pb_column.et_pb_column_1_4 {
        margin-bottom: 40px!important;
  }

  .h1-startseite {
    position: relative;
    top:-183px;
    left: 0;
    margin-left: 0px;
  }
    .h1-startseite h1 {
    font-size: 20px;
  }
  .h3-teaser-startseite-vermietung h3,
  .h3-teaser-startseite-behindertenhilfe h3 {
      margin-left: 4rem!important;
  }
  .h3-teaser-startseite-altenhilfe h3,
  .h3-teaser-startseite-stiftung h3 {
      margin-left: 5rem!important;
  }

  .h3-teaser-startseite-altenhilfe h3::before {
    margin-left: -5rem !important;
  }
    .h3-teaser-startseite-stiftung h3::before {
    margin-left: -5rem !important;
  }
  .zg-teaser-card-startseite-column { 
    margin-top: -2rem!important;
  }
}

@media (max-width: 620px) {

    .et_pb_row.five-columns {
    margin-top: 8rem!important;
  }

  .et_pb_gutters1 .five-columns.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 {
    padding-left: 0!important;
  }

  .zg-teaser-card-startseite-column {
    padding-left: 0;
  }

  .h3-teaser-bereichsseite-altenpflegeheime h3,
  .h3-teaser-bereichsseite-tagespflege h3,
  .h3-teaser-bereichsseite-intensivpflege h3,
  .h3-teaser-bereichsseite-ambulante-pflege h3,
  .h3-teaser-bereichsseite-kurzzeitpflege h3,
  .h3-teaser-bereichsseite-beratung h3,
  .h3-teaser-bereichsseite-news-medien h3,
  .h3-teaser-bereichsseite-ehrenamt h3,
  .h3-teaser-bereichsseite-projekte h3,
  .h3-teaser-bereichsseite-stifter-stiftung h3,
  .h3-teaser-bereichsseite-wohnungen h3,
  .h3-teaser-bereichsseite-mieterservice h3,
  .h3-teaser-bereichsseite-nachbarschaft h3,
  .h3-teaser-bereichsseite-wohnungen h3::before,
  .h3-teaser-bereichsseite-mieterservice h3::before,
  .h3-teaser-bereichsseite-nachbarschaft h3::before,
  .h3-teaser-startseite-vermietung h3, 
  .h3-teaser-startseite-vermietung h3::before, 
  .h3-teaser-startseite-altenhilfe h3::before,
  .h3-teaser-startseite-behindertenhilfe h3::before,
  .h3-teaser-startseite-stiftung h3::before {
    margin: 0 auto!important;
    text-align: center!important;
    padding: 0!important;
    top: 1rem!important;
    position: relative;
  }

   .h3-teaser-bereichsseite-altenpflegeheime h3::before,
  .h3-teaser-bereichsseite-tagespflege h3::before,
  .h3-teaser-bereichsseite-intensivpflege h3::before,
  .h3-teaser-bereichsseite-ambulante-pflege h3::before,
  .h3-teaser-bereichsseite-kurzzeitpflege h3::before,
  .h3-teaser-bereichsseite-beratung h3::before,
  .h3-teaser-bereichsseite-news-medien h3::before,
  .h3-teaser-bereichsseite-ehrenamt h3::before,
  .h3-teaser-bereichsseite-projekte h3::before,
  .h3-teaser-bereichsseite-stifter-stiftung h3::before {
    margin: 0 auto 12px auto!important;
    text-align: center!important;
    padding: 0!important;
    top: 1rem!important;
    position: relative;
  }

  .h3-teaser-startseite-altenhilfe h3 {
    margin: 0 auto!important;
    text-align: center!important;
    padding: 0!important;
    top: 22px!important;
    position: relative;
  }

    .h3-teaser-startseite-stiftung h3 {
    margin: 0 auto!important;
    text-align: center!important;
    padding: 0!important;
    top: 16px!important;
    position: relative;
  }

  .h3-teaser-startseite-behindertenhilfe h3 {
    margin: 0 auto!important;
    text-align: center!important;
    padding: 0!important;
    top: 22px!important;
    position: relative;
  }

  .h3-teaser-bereichsseite-altenpflegeheime h3::before {

  }

  .h3-teaser-bereichsseite-tagespflege h3::before {

  }

  .h3-teaser-bereichsseite-intensivpflege h3::before {

  }

  .h3-teaser-bereichsseite-ambulante-pflege h3::before {

  }

  .h3-teaser-bereichsseite-kurzzeitpflege h3::before {

  }

  .h3-teaser-bereichsseite-beratung h3::before {

  }

  .h3-teaser-bereichsseite-news-medien h3::before {

  }

  .h3-teaser-bereichsseite-ehrenamt h3::before {

  }

  .h3-teaser-bereichsseite-projekte h3::before {

  }

  .h3-teaser-bereichsseite-stifter-stiftung h3::before {

  }
 


  .h3-teaser-bereichsseite-wohnungen h3::before {
    top: 50px;
    width: 42px;
    height: 50px;
  }

  .h3-teaser-bereichsseite-mieterservice h3::before {
    top: 10px!important;
    width: 34px;
    height: 50px;
  }

  .h3-teaser-bereichsseite-nachbarschaft h3::before {
    top: 20px!important;
    width: 42px;
    height: 50px;
  }


  .h3-teaser-startseite-vermietung h3::before {
    top: 8px;
    width: 32px;
    height: 48px;
  } 

  .h3-teaser-startseite-altenhilfe h3::before {  
    top: 0px!important;
    width: 42px;
    height: 48px;
  }

  .h3-teaser-startseite-behindertenhilfe h3::before {
    top: 0px!important;
    width: 32px;
    height: 32px;
  }

  .h3-teaser-startseite-stiftung h3::before {
    top: 10px!important;
    width: 52px;
    height: 48px;
  }
}

@media (max-width: 580px) {

      .et_pb_row.five-columns {
    margin-top: 11rem!important;
  }

  .et_pb_gutters1 .five-columns.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 {
    padding-left: 0!important;
    margin-bottom: 5.5rem !important;
  }

  .zg-teaser-card-startseite-column { 
    padding-left: 0;
    margin-top: -5rem!important;
  }
  .et_pb_gutters2 >.zg-teaser-card-startseite-column.et_pb_column.et_pb_column_1_3,
  .et_pb_gutters1 .et_pb_row_4col>.zg-teaser-card-startseite-column.et_pb_column.et_pb_column_1_4 {
    margin-bottom: 88px!important;
  }

  .home .zg-teaser-card-startseite-row {
    margin-top: 0;
    margin-bottom: 3rem;
  }

  .zg-teaser-card-startseite-row {
    margin-top: 4rem;
  }

}

@media (max-width: 480px) {

  .et_pb_row.five-columns {
    margin-top: 7rem!important;
    margin-bottom: 3rem;
  }

  .et_pb_gutters1 .five-columns.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 {
    padding-left: 0!important;
    margin-bottom: .5rem !important;
  }

  .h3-teaser-bereichsseite-altenpflegeheime h3,
  .h3-teaser-bereichsseite-tagespflege h3,
  .h3-teaser-bereichsseite-intensivpflege h3,
  .h3-teaser-bereichsseite-ambulante-pflege h3,
  .h3-teaser-bereichsseite-kurzzeitpflege h3,
  .h3-teaser-bereichsseite-beratung h3,
  .h3-teaser-bereichsseite-news-medien h3,
  .h3-teaser-bereichsseite-ehrenamt h3,
  .h3-teaser-bereichsseite-projekte h3,
  .h3-teaser-bereichsseite-stifter-stiftung h3,
  .h3-teaser-bereichsseite-wohnungen h3,
  .h3-teaser-bereichsseite-mieterservice h3,
  .h3-teaser-bereichsseite-nachbarschaft h3,
  .h3-teaser-startseite-vermietung h3,
  .h3-teaser-startseite-altenhilfe h3,
  .h3-teaser-startseite-behindertenhilfe h3,
  .h3-teaser-startseite-stiftung h3 {
     font-size: 18px!important;
     padding: 0 6px !important;
  }

  .et_pb_gutters2 >.zg-teaser-card-startseite-column.et_pb_column.et_pb_column_1_3 {
    margin-bottom: 6px!important;
    top: 1rem !important;
  }

  .et_pb_gutters1 .et_pb_row_4col>.zg-teaser-card-startseite-column.et_pb_column.et_pb_column_1_4 {
    margin-bottom: 6px!important;
    top: -2rem !important;
  }

  .zg-teaser-card-startseite-row{
    margin-top: 5.5rem;
  }
}

/* Scroll-to-top-Button */

.et_pb_scroll_top.et-visible {

}

.et_pb_scroll_top:before {
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
    font-weight: 600;
    font-size: 10px;
    content: 'nach oben';
    color: #20402F;
    background-image: url('../divi-child/img/arrow-back-to-top.svg');
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    height: 26px;
    bottom: 0!important;
    margin: 2px;
}

.et_pb_scroll_top.et-pb-icon {
  background: #E8EA98;
  border: 1px solid #899100;
  border-right: 0!important;
  color: #20402F;
  width: 60px;
}

/* Startseite Newsslider */

/* Divi Post-Slider: ausschließlich das Datum anzeigen */
.et_pb_post_slider .post-meta {
  font-size: 0 !important;        /* versteckt Textknoten wie "von" oder "|" */
  line-height: 1.3;
}

/* Datum wieder sichtbar machen (falls verlinkt: beides abdecken) */
.et_pb_post_slider .post-meta .published,
.et_pb_post_slider .post-meta .published a {
  font-size: 1rem !important;
  display: block !important;
  padding-bottom: 1rem;
}

/* alle anderen Meta-Infos ausblenden */
.et_pb_post_slider .post-meta .author,
.et_pb_post_slider .post-meta .byline,
.et_pb_post_slider .post-meta .categories,
.et_pb_post_slider .post-meta .category,
.et_pb_post_slider .post-meta .comments,
.et_pb_post_slider .post-meta .meta-sep,
.et_pb_post_slider .post-meta .post-meta-separator,
.et_pb_post_slider .post-meta a:not(.published a) {
  display: none !important;
}

/* evtl. von/in/| via Pseudoinhalte entfernen */
.et_pb_post_slider .post-meta .author:before,
.et_pb_post_slider .post-meta .categories:before,
.et_pb_post_slider .post-meta .author:after,
.et_pb_post_slider .post-meta .categories:after {
  content: none !important;
}

.news-slider {

  h4.et_pb_slide_title {
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
    font-weight: 500!important;
    font-size: 26px!important;
    line-height: 110%;
    padding-bottom: 0rem!important;
  }

  h4.et_pb_slide_title a {
    text-decoration: none!important;
  }

  h4.et_pb_slide_title a:focus-visible,
  h4.et_pb_slide_title a:focus,
  h4.et_pb_slide_title a:hover { 
    text-decoration: underline!important;
    text-underline-offset: 4px;
  }

  .et_pb_slides {
    width: 74%!important;
    margin: 0 auto!important;
  }

  .et_pb_slide {
    padding: 0!important;
    border: 1.5px solid #899100;
    border-color: #899100;
    background-color: #FFFFFF;
    border-radius: 8px;
  }
  .et_pb_slide_description {
    opacity: 1!important;
    animation-duration: 0;
    animation-delay: 0;
    padding: 1rem!important;
  }

  .et_pb_slide_content {
    font-size: 16px;
    line-height: 125%;
  }

  .et_pb_slide_image {
    animation-duration: 0;
    margin-top: 0!important;
    top: 0!important;
    bottom: .25px!important;
    border-bottom-left-radius: 6px!important;
    overflow: hidden;

  }
  .et_pb_slide_image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: none;
    width: 100%;
    max-height: none!important;
    border-radius: 6px 0px 0px 6px!important;
    @media (max-width: 980px) {
          aspect-ratio: 1 / 1.6;
    }
  }

  .et_pb_button {
    background-color: #cdd500;
  }

  .et-pb-slider-arrows {
    background-color: yellow!important;
  }

  .et-pb-arrow-next,
  .et-pb-arrow-prev {
    transition: none!important;
    opacity: 1;
    visibility: visible;
  }

  .et-pb-arrow-next:hover, 
  .et-pb-arrow-next {
    right: 22px!important;
     @media (max-width: 768px) {
      right: 0!important;
     }
  }

  .et-pb-arrow-prev:hover,
  .et-pb-arrow-prev {
    left: 22px!important;
    @media (max-width: 768px) {
    left: 0!important;
   }
  }

  a.et-pb-arrow-next:hover,
  a.et-pb-arrow-prev:hover,
  a.et-pb-arrow-next:focus,
  a.et-pb-arrow-prev:focus,
  a.et-pb-arrow-next:focus-visible,
  a.et-pb-arrow-prev:focus-visible {
    text-decoration: none!important;
  }

  .et-pb-arrow-next::before,
  .et-pb-arrow-prev::before {
    display: block;
    opacity: 1;
    position: relative;
    width: 48px;
    height: 48px;
    @media (max-width: 768px) {
      width: 32px;  
      height: 32px;
    }
  }

  .et-pb-arrow-prev::before {
    content: url('../divi-child/img/slider-navi-arrow-to-left.svg');
  }

  .et-pb-arrow-next::before {
    content: url('../divi-child/img/slider-navi-arrow-to-right.svg');
  }

  .et-pb-arrow-prev:hover::before,
  .et-pb-arrow-prev:focus::before,
  .et-pb-arrow-prev:focus-visible::before,
  .et-pb-arrow-prev:active::before {
    content: url('../divi-child/img/slider-navi-arrow-to-left-hover.svg');
  }

  .et-pb-arrow-next:hover::before,
  .et-pb-arrow-next:focus::before,
  .et-pb-arrow-next:focus-visible::before,
  .et-pb-arrow-next:active::before {
    content: url('../divi-child/img/slider-navi-arrow-to-right-hover.svg');
  }


}


/* Karriereseite Slider Startseite */




/* News Slider auf Seite News uns Medien */

.news-slider.white-arrows {

    .et-pb-arrow-prev::before {
    content: url('../divi-child/img/slider-white-navi-arrow-to-left.svg');
  }

  .et-pb-arrow-next::before {
    content: url('../divi-child/img/slider-white-navi-arrow-to-right.svg');
  }

  .et-pb-arrow-prev:hover::before,
  .et-pb-arrow-prev:focus::before,
  .et-pb-arrow-prev:focus-visible::before,
  .et-pb-arrow-prev:active::before {
    content: url('../divi-child/img/slider-white-navi-arrow-to-left-hover.svg');
  }

  .et-pb-arrow-next:hover::before,
  .et-pb-arrow-next:focus::before,
  .et-pb-arrow-next:focus-visible::before,
  .et-pb-arrow-next:active::before {
    content: url('../divi-child/img/slider-white-navi-arrow-to-right-hover.svg');
  }


}


/* News Blog-Element mit Gitter / Masonry-Ansicht auf News-Archiv-Seite */

.news-blog {

  .et_pb_ajax_pagination_container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .et_pb_post {
    flex-shrink: 1;
    border: 1.5px solid #899100;
    border-color: #899100;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 0;

    @media (min-width: 979px) {
        flex-basis: calc(50% - 8px);
    }

    @media (max-width: 768px) {
      padding-bottom: 1rem;
    }

  }

  .et_pb_post a img {
    float: left;
    width: calc(50% + 1rem);
    margin-left: -1rem!important;
    margin-right: 1rem;
    margin-top: -1rem!important;
    border-top-left-radius: 8px!important;
    border-bottom-left-radius: 8px!important;
    object-fit: cover!important;

    @media (min-width: 1200px) {
        aspect-ratio: 1 / 1.1!important;
      }

    @media (min-width: 1080px) and (max-width: 1199px){
        aspect-ratio: 1 / 1.5!important;
      }

    @media (min-width: 980px) and (max-width: 1079px){
        aspect-ratio: 1 / 1.7!important;
      }

    @media (min-width: 920px) and (max-width: 979px){
        aspect-ratio: 1 / 1!important;
      }

    @media (min-width: 769px) and (max-width: 919px){
        aspect-ratio: 1.3 / 1!important;
      }
    @media (max-width: 768px){
        display: none;
      }
    }

  .et_pb_post .entry-featured-image-url {
    margin-bottom: 0!important;
  }
  
  .post-meta {
    color: #333!important;
  } 

  .post-content-inner p {
    line-height: 120%!important;
    color: #333;
  }

  .more-link {
    /*width: calc(50% - 1rem)!important;*/
  }

  a.more-link {
    /*float: left!important;*/
    width: fit-content;
    color: #20402f;
    background-color: #cdd500;
    padding-right: 2.2em;
    border: 1px solid #20402f!important;
    border-radius: 24px;
    font-size: 20px;
    font-weight: 500;
    padding: .3em 1em;
    line-height: 1.7em !important;
    margin-top: 1rem;
    display: inline-block;
    /*margin-left: calc(50% + 1rem);*/
  }

  a.more-link::after {
    content: url(../divi-child/img/arrow-to-right-button.svg) !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    margin-left: 10px;
    position: relative;
    top: 4px;
  }

  /*article {
    display: flex;
    flex-direction: column;
    padding: 0!important;
  }*/

}

#main-content .news-blog h3.entry-title {
  line-height: 110%!important;
  padding-bottom: 0!important;
}

/* Custom Loop Element – Shortcodes für Seiten und Beiträge in Kombination mit dem Plugin "Pages with categories and tag" */

/* Container mit Grid-Raster */

.custom-loop {

}

/* Container für article-Element */

.custom-loop__item {
  display: flex;
  @media (max-width: 768px) {
    display: block;
  }
  gap: 10px;
  margin-bottom: 2rem;
}

.custom-loop__item:nth-child(even) {
  flex-direction: row-reverse;
}

.text-first {

  .custom-loop__item:nth-child(odd) {
    flex-direction: row-reverse;
  }
    .custom-loop__item:nth-child(even) {
    flex-direction: row;
  }

}

/* Link-Container für Beitragsbild */

.custom-loop__thumb {
  width: 100%;
}

a.custom-loop__thumb { 

}

.custom-loop__thumb img {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Container für Description (Beitragstitel, Auszug und More-Button) */

.custom-loop__description {
  width: 100%;
  background-color: #cdd500;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

/* Container für Beitragstitel (H4) */

.custom-loop__title {
  margin: 3rem 2rem 0 2rem;
      @media (max-width: 480px) {
         margin: 1rem 1rem 3rem 1rem;
      }
}

h4.custom-loop__title {
  font-size: 2rem;

  @media (max-width: 480px) {
    font-size: 20px;
  }
}

.custom-loop__more a,
h4.custom-loop__title a { 
  text-decoration: none!important;
}

h4.custom-loop__title a:hover {
  text-decoration: underline!important;
  text-underline-offset: 4px;
}

/* Container für Auszug */


.custom-loop__excerpt {
  margin: auto 2rem 0 2rem;
      @media (max-width: 480px) {
         margin: auto 1rem 0 1rem;
      }
 
}

.custom-loop__excerpt p {
  
}

.custom-loop__more {
    margin: 2rem;
    @media (max-width: 480px) {
      margin: 1.5rem 1rem;
    }
}


/* Bereichsseite */


/* Header Bereichsseite */



/*Zeile mit Bereichsuntermenu*/

.hero-submenu {

  padding-bottom: 1rem!important;

  @media (min-width: 981px) {
    height: 150px;
  }
  
  @media (max-width: 980px) {
    height: 120px;
    display: flex;
  }
  
  ul.et-menu li a {
    font-weight: 600!important;
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
    color: #007A3B;
    font-size: 1.1rem;
    border-bottom: 1.5px solid transparent!important;
    padding-bottom: 3px!important;

  }

  ul.et-menu li a:hover,
  ul.et-menu li a:focus,
  ul.et-menu li a:focus-visible {
    /*border-bottom: 1.5px solid #cdd500!important;*/
    opacity: 1;
  }

  .et_pb_menu .et_pb_menu__menu {
    @media (max-width: 980px) {
      display: block;
    }
    @media (max-width: 768px) {
      display: none;
    }
  }

  .et_pb_menu .et_mobile_nav_menu {
    @media (max-width: 980px) {
      display: none;
    }
  }

  .et-menu li.not-in-submenu,
  .et-menu li.only-in-footer {
    display: none;
  }

  .current-menu-item,
  .current-page-ancestor {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #007A3B;
  }

  .current-page-ancestor:before {
    content: '';
    background-image: url(../divi-child/img/arrow-to-left-green.svg);
    background-size: 16px;
    background-repeat: no-repeat;
    display: block;
    opacity: 1;
    width: 16px;
    height: 16px;
    margin-right: 6px;
  }

}




/* H1 und Headerbild/slider */

.hero-section.bereichsseite {

  .h1-bereichsseite {
    width: fit-content!important;
    padding: 1rem;
    border-radius: 6px;
    float: right; 
    right: 9%;
    left: auto;
    top: 30%;
    @media (max-width: 768px) {
      top: 80%;
      width: 80%;
    }
      @media (max-width: 620px) {
      width: 83%!important;
      left: 8%;
      float: left!important;
    }
  }

  h1 {
      line-height: 120%;
      @media (max-width: 768px) {
        font-size: 1.5rem!important;
      }
  }

  .et_pb_slider .et_pb_slide {
      @media (min-width: 1220px) {
        aspect-ratio: 3.25 / 1;
      }
      @media (min-width: 981px) and (max-width: 1221px) {
        aspect-ratio: 2.5 / 1;
      }
      @media (min-width: 769px) and (max-width: 980px) {
        aspect-ratio: 2 / 1;
      }
      @media (max-width: 768px) {
        aspect-ratio: 1.5 / 1;
      }
  } 
}


.category-vermietung .zg-teaser-section {
  @media (max-width: 768px) {
    margin-bottom: 6rem!important;
  }
    @media (max-width: 480px) {
    margin-bottom: 4rem!important;
  }
}

/* Teaser auf Bereichsseiten */

.h3-teaser-bereichsseite-wohnungen {

}

.h3-teaser-bereichsseite-mieterservice {
  
}

.h3-teaser-bereichsseite-nachbarschaft {
  
}



/* Pagination Custom Loop */
/* Container relativ positionieren, damit die Buttons absolut platziert werden können */



/* Custom Loop Element Expose-Slider – Shortcodes für Seiten und Beiträge in Kombination mit dem Plugin "Pages with categories and tag" */


.expose-slider {
    /* Container mit Grid-Raster */

    @media (max-width: 980px) {
      transform: translateX(-10px);
    }

    .custom-loop {
      display: flex;
      gap: 16px;
      position: relative;
      
      @media (min-width: 1040px) and (max-width: 1170px) {
        width: 90%;  
        margin: 0 auto;      
      }
      
      @media (min-width: 981px) and (max-width: 1039px) {
        width: 80%;  
        margin: 0 auto;      
      }

      @media (max-width: 980px) {
        width: 90%;
        margin: 0 auto;
        transform: translateX(8px);
      }

      @media (max-width: 768px) {
        display: flex;               /* alle Items in eine Zeile */
        overflow: hidden;             /* nur ein Item sichtbar */
        scroll-behavior: smooth;      /* optional für sanftes Scrollen */
        width: 100%;
        position: relative; /* nötig für absolute Positionierung */
      }

    }


    /* Container für article-Element */

    .custom-loop__item {
      display: flex;
      flex-direction: column;
      width: 48.5%;
      gap: 0px;
      margin-bottom: 2rem;

      @media (max-width: 768px) {
        flex: 0 0 100%;               /* jedes Item nimmt 100% Breite */
        width: 100%!important;
        margin-bottom: 0;             /* da eh nur 1 sichtbar ist */
        transform: none!important;    /* überschreibt translateX */
        width: 100%!important;

      }

    }

    /*.custom-loop__item:nth-child(even) {
      flex-direction: row-reverse;
    }*/

    /* Link-Container für Beitragsbild */

    .custom-loop__thumb {
      width: 100%;
    }

    a.custom-loop__thumb { 

    }

    .custom-loop__thumb img {
      border-radius: 8px 8px 0 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border: 1.5px solid #cdd500;
      @media (max-width: 768px) {
        margin-bottom: -1rem!important;
        border-radius: 12px 12px 0 0;
      }
    }

    /* Container für Description (Beitragstitel, Auszug und More-Button) */

    .custom-loop__description {
      width: 100%;
      height: 100%;
      background-color: #cdd500!important;
      border-radius: 0 0 8px 8px;

      @media (max-width: 768px) {
      border-radius: 0 0 12px 12px;
      
      }

      display: flex;
      flex-direction: column;
    }

    /* Container für Beitragstitel (H4) */

    .custom-loop__title {
      margin: 1rem 2rem 0 2rem;
      @media (max-width: 480px) {
        margin: 1rem 1rem 0 1rem;
      }

    }

    h4.custom-loop__title {
      font-size: 2rem;
    }

    .custom-loop__more .et_pb_button {
    background-color: #fff !important;
    }

    .custom-loop__more a,
    h4.custom-loop__title a { 
      text-decoration: none!important;
      font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
      font-weight: 500;
      font-size: 26px;
        
      @media (max-width: 480px) {
        font-size: 18px;
      }
    }

    .custom-loop__more a {
            line-height: 130%;
    }

    h4.custom-loop__title {
            line-height: 90%!important;
    }

    h4.custom-loop__title a:hover {
      text-decoration: underline!important;
      text-underline-offset: 4px;
    }

    /* Container für Auszug */


    .custom-loop__excerpt {
      margin: auto 2rem 0 2rem;
      @media (max-width: 480px) {
        margin: 1rem 1rem 0 1rem;
      }

     
    }

    .custom-loop__excerpt p {
      
    }

    .custom-loop__more {
        margin: 2rem;
              @media (max-width: 480px) {
        margin: 1rem 1rem 2rem 1rem;
      }

         a {
          font-size: 18px;
         }
    }
}


/* Gemeinsamer Stil für beide Buttons */

.custom-loop__pagination {
  @media (max-width: 768px) {
    position: absolute;
    top: 30%;

/* Buttons einblenden!  */

    left: 0;
    right: 0;
    overflow: visible!important; /* Buttons nicht mehr abgeschnitten */
  }
}


.custom-loop__pagination button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%; /* optional rund, falls gewünscht */
  background-color: transparent;

  cursor: pointer;
  outline: none;
  color: transparent;

  /* Entfernt Standard-Button-Styles */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  transition: opacity 0.2s ease-in-out;
  opacity: 0.85;
}

.custom-loop__pagination button:hover,
.custom-loop__pagination button:focus {
  opacity: 1;
}

/* Linker Button */
.custom-loop__prev {
  left: -64px; /* Abstand links vom Loop – anpassen nach Design */
  background-image: url('../divi-child/img/slider-navi-arrow-to-left.svg');
  @media (min-width: 981px) and (max-width: 1170px) {
    left: -60px;
  }

  @media (max-width: 980px) {
    left: -50px!important;
    transform: translatex(-16px) !important;
    margin-top: -24px;
  }

  @media (max-width: 768px) {
    left: 30px!important;
  }
}
.custom-loop__prev:hover,
.custom-loop__prev:focus {
  background-image: url('../divi-child/img/slider-navi-arrow-to-left-hover.svg');
}

/* Rechter Button */
.custom-loop__next {
  right: -64px; /* Abstand rechts vom Loop – anpassen nach Design */
  background-image: url('../divi-child/img/slider-navi-arrow-to-right.svg');
  @media (min-width: 981px) and (max-width: 1170px) {
    right: -45px;
  }

  @media (max-width: 980px) {
    right: -50px;
  }

    @media (max-width: 768px) {
    right: 10px;
  }
}

.custom-loop__next:hover,
.custom-loop__next:focus {
  background-image: url('../divi-child/img/slider-navi-arrow-to-right-hover.svg');
}


.custom-loop__prev,
.custom-loop__next {

    @media (max-width: 768px) {
            background-size: 32px!important;
  }
}

/* Für Screenreader unsichtbar, aber lesbar (falls Text im Button sein sollte) */
.custom-loop__pagination button span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Teaser Section */

/* Teaser Zeile */

 

  @media (max-width: 980px) {
    .teaser-row .et_pb_column:first-child {
      margin-bottom: 1rem!important;
    }
  }



/* Contact Card */

.contact-card-column {
  padding: 1rem 1rem 1.3rem 1rem;
  border: 1px solid #D1DA53;
  border-radius: 8px;
  background-color: #fffbf2;

  @media (max-width: 980px) {
    margin-bottom: 1rem!important;
  }
}

.et_pb_gutters1 .et_pb_column.contact-card-column {
  @media (max-width: 479px) {
    margin-bottom: 1rem!important;
  }
}

.et_pb_team_member.contact-card {
  
  h4.et_pb_module_header {
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
    font-weight: 700;
    color: #007A3B;
    font-size: 1rem;
  }

  p.et_pb_member_position {
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
    font-weight: 400;
    font-style: italic;
    color: #007A3B;
    font-size: 1rem;

  }
}

.contact-card .cc-line {
  /*display: flex;
  align-items: center;
  margin: 0.3em 0;*/
}

.contact-card .cc-line a {
  text-decoration: none;
  color: #20402F;
}

.contact-card .cc-line a:focus-visible,
.contact-card .cc-line a:focus,
.contact-card .cc-line a:hover {
  text-decoration: underline!important;
  text-underline-offset: 4px;
}

/* Icon-Box via ::before */
.contact-card .cc-line::before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.35rem;
  position: relative;
  top: 1rem;
  margin-bottom: .75rem;

}

.contact-card .cc-address-line2 {
  padding-left: 1.7rem; /* gleicher Einzug wie bei Zeilen mit Icon */
}

/* Zweite Adresszeile ohne Icon */
.contact-card .cc-address-line2::before {
  content: none !important;
}

/* Name als H4 */
.contact-card .cc-name {
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
    font-weight: 700;
    color: #007A3B;
    font-size: 1rem;
    padding-bottom: 0;
}

/* Funktion */
.contact-card .cc-function {
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
    font-weight: 400;
    font-style: italic;
    color: #007A3B;
    font-size: 1rem;
    border-bottom: 1px solid #007A3B;
    padding-bottom: 1rem;
    margin-bottom: .5rem;
}

/* Adress-Icon */
.contact-card .cc-address::before {
  background-image: url('../divi-child/img/icon-address-pin.svg');
}

/* Festnetz-Icon */
.contact-card .cc-phone::before {
  background-image: url('../divi-child/img/icon-phone.svg');
}

/* Mobil-Icon (wenn die Nummer mit 01 beginnt) */
.contact-card .cc-mobile::before {
  background-image: url('../divi-child/img/icon-phone.svg');
}

/* E-Mail-Icon */
.contact-card .cc-email::before {
  background-image: url('../divi-child/img/icon-email.svg');
}

/* Stiftung Bereichsseite – Contact Cards im Toggle */

.toggle-contact {
  
  .contact-card .cc-name {
    border-top: 1px solid #007A3B;
    padding-top: 1rem;
    margin-top: .5rem;
  }

  .contact-card .cc-function {
    border-bottom: 0!important;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .contact-card .cc-email {
    margin-bottom: 2rem;
  }

    /* Adress-Icon */
  .contact-card .cc-address::before {
    background-image: url('../divi-child/img/icon-address-pin-green.svg');
  }

  /* Festnetz-Icon */
  .contact-card .cc-phone::before {
    background-image: url('../divi-child/img/icon-phone-green.svg');
  }

  /* Mobil-Icon (wenn die Nummer mit 01 beginnt) */
  .contact-card .cc-mobile::before {
    background-image: url('../divi-child/img/icon-phone-green.svg');
  }

  /* E-Mail-Icon */
  .contact-card .cc-email::before {
    background-image: url('../divi-child/img/icon-email-green.svg');
  }

}

@media (max-width: 980px) {
  .toggle-contact {
    .et_pb_toggle_item {
      margin-bottom: 16px!important;
    }
  }
}


/* Leistungen Kacheln */

.kacheln-leistungen {

  .et_pb_column {
    border-radius: 8px;
  }

  h5 {
    font-family: 'Merriweather', Georgia, serif!important;
        /* OpenType-Feature für Ziffern */
    font-variant-numeric: oldstyle-nums!important;
    /* Fallback für Browser, die nur font-feature-settings kennen */
    font-feature-settings: "0num"!important;
    font-weight: 700!important;
  } 
}

  @media (max-width: 980px) {
    .kacheln-leistungen.et_pb_row {
      display: block;
    }

    .et_pb_gutters1 .kacheln-leistungen.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 {
      width: calc(100%)!important;       
    }

    .kacheln-leistungen .et_pb_column {
      margin-bottom: 1rem!important;
    }

    .kacheln-leistungen .et_pb_column:nth-child(odd) {
      margin-right: 1rem!important;
    }

    .kacheln-leistungen .et_pb_image {
      height: 60px;

    }
  }


  /* Testimonial- und Projekte Slider */

    /* Testimonial-Slider */

  .et_pb_testimonial_description {
    padding-top: 1.5rem;
    @media (min-width: 769px){
    padding-left: 1.5rem;
    }
  }

  .et_pb_with_border .et_pb_testimonial_portrait {
    border: 0 solid transparent;
  }

  @media (min-width: 769px) {
  .et_pb_testimonial_portrait {
    margin-left: 60px;
    }
  }

    @media (max-width: 768px) {
  .et_pb_testimonial_portrait {
    float: none;
    margin: 0 auto;
    }
  }

  @media (max-width: 980px) {
    .et_pb_testimonial_author {
    margin-top: 0px;
  }
}

/*Carousel Slider*/
.swiper-slide .et_pb_module_header,
.swiper-slide .et_pb_blurb_description {
  padding: 0;
}

.swiper-slide .et_pb_main_blurb_image {
  margin-bottom: 0;
}

/*@media (min-width: 1341px) {
    .swiper-slide {
        width: 24.%!important;
    }
}*/


/*Carousel Slider Navigation*/

/*Dynamic Bullets*/
.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic, 
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  transform: translateX(0);
  left: 0;
  /*ausblenden*/
  display: none;
}

.swiper-horizontal > .swiper-pagination-bullets, 
.swiper-pagination-bullets.swiper-pagination-horizontal, 
.swiper-pagination-custom, 
.swiper-pagination-fraction {
  bottom: -3rem;
}

/*Swipe Buttons*/


.swiper-button-next, 
.swiper-rtl .swiper-button-prev {
  left: auto;
  top: auto;
  bottom: 0;
  right: 36.5%;
  @media (max-width: 768px) {
    right: 10%;
  }
}

.swiper-button-prev, 
.swiper-rtl .swiper-button-next {
  right: 0;
  top: auto;
  left: 36.5%;
  bottom: 0;
  @media (max-width: 768px) {
    left: 10%;
  }
}

/*Custom Arrow Navigation*/

.swiper-button-next::after, 
.swiper-button-prev::after {
  content: '';
  visibility: visible;
  background-size: 48px;
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
  position: absolute;
}

.swiper-button-prev::after, 
.swiper-rtl .swiper-button-next::after {
   background-image: url('../divi-child/img/slider-white-navi-arrow-to-left.svg')!important;
}

.swiper-button-prev:hover::after, 
.swiper-rtl .swiper-button-next:hover::after {
   background-image: url('../divi-child/img/slider-white-navi-arrow-to-left-hover.svg')!important;
}


.swiper-button-next::after, 
.swiper-rtl .swiper-button-prev::after {
  background-image: url('../divi-child/img/slider-white-navi-arrow-to-right.svg')!important;
  
}

.swiper-button-next:hover::after, 
.swiper-rtl .swiper-button-prev:hover::after {
  background-image: url('../divi-child/img/slider-white-navi-arrow-to-right-hover.svg')!important;
  
}

/* Text zwischen den Pfeilen */
.dp-carousel .swiper-controls-text {
  font-size: 1rem;
  font-weight: 600;
  position: absolute;
  bottom: 10px;
  left: 45%;
  @media (max-width: 768px) {
    left: 40%;
  }

  @media (max-width: 480px) {
    left: 35%;
  }

}

.projekte-slider .swiper-controls-text {
  visibility: hidden!important;
}

.projekte-slider .swiper-controls-text:after {
    content:'Mehr Projekte'!important;
    visibility: visible;
    display: block;
    color: #20402f;  
}


.projekte-slider {

    h4 {
      font-family: 'Merriweather', Georgia, serif!important;
      font-weight: 700!important;
      color: #007A3B;
    }

    p {
      font-family: 'Source Sans 3', Helvetica, Arial, sans-serif!important;
      font-weight: 500!important;
    }

    a {
      text-decoration: none!important;
      font-size: 1rem!important;
    }

    a:hover {
      text-decoration: underline!important;
      text-underline-offset: 4px;
    }

    a:after {
      content: url('../divi-child/img/arrow-to-right-button.svg')!important;
      display: inline-block!important;
      width: 14px!important;
      height: 14px!important;
      margin-left: 10px;
    }

    .swiper-button-prev::after, 
    .swiper-rtl .swiper-button-next::after {
       background-image: url('../divi-child/img/slider-mint-navi-arrow-to-left.svg')!important;
    }

    .swiper-button-prev:hover::after, 
    .swiper-rtl .swiper-button-next:hover::after {
       background-image: url('../divi-child/img/slider-mint-navi-arrow-to-left-hover.svg')!important;
    }


    .swiper-button-next::after, 
    .swiper-rtl .swiper-button-prev::after {
      background-image: url('../divi-child/img/slider-mint-navi-arrow-to-right.svg')!important;
      
    }

    .swiper-button-next:hover::after, 
    .swiper-rtl .swiper-button-prev:hover::after {
      background-image: url('../divi-child/img/slider-mint-navi-arrow-to-right-hover.svg')!important;
      
    }

}


.impressionen-slider {


        .dp-carousel .swiper-container {
          width: 80%;
          @media (max-width: 980px) {
            width: 100%!important;
          }
        }

        .et_pb_image img {
          border-radius: 8px;
          border: 2px solid #007A3B;
          width: 80%;

            @media (min-width: 981px) {
              margin-left: 15%;
              transform: translateX(0);
            } 
                     
            @media (max-width: 980px) {
              width: 100%!important;
              margin-left: 0%;
              margin-right: 0%;
            }
        }

         /*Swipe Buttons*/
        .swiper-button-next, 
        .swiper-rtl .swiper-button-prev {
          left: auto;
          top: 45%;
          bottom: -2rem;
          right: 6rem;
           @media (max-width: 980px) {
            top: auto;
            right: 40%;
           }
          @media (max-width: 768px) {
            right: 30%;
          }
        }

        .swiper-button-prev, 
        .swiper-rtl .swiper-button-next {
          right: 0;
          top: 45%;
          left: 6rem;
          bottom: -2rem;
          @media (max-width: 980px) {
            top: auto;
            left: 40%;
           }
          @media (max-width: 768px) {
            left: 30%;
          }
        }

          /* Text zwischen den Pfeilen */
      .swiper-controls-text {
        display: none!important;
        visibility: hidden!important;
      }

      .swiper-controls-text:after {
          content:''!important;
          visibility: hidden;
          display: none!important;
          color: #20402f;  
      }

      /* Row und Columns im Carousel ohne Seiten-Padding */
      .dp-carousel.et_pb_row {
        padding-left: 0 !important;
        padding-right: 0 !important;
      }

      .dp-carousel .et_pb_column {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .dp-carousel .swiper-slide {
        width: 100% !important;   /* Swiper berechnet die Breite */
        margin: 0 4px 0 4px!important;     /* Keine extra Abstände */
        padding: 0 !important;
        box-sizing: border-box;
}

}

.impressionen-slider.slider-full-width {


             /*Swipe Buttons*/
        .swiper-button-next, 
        .swiper-rtl .swiper-button-prev {
          left: auto;
          top: 45%;
          bottom: -2rem;
          right: 0rem;
           @media (max-width: 980px) {
            top: auto;
            right: 40%;
           }
          @media (max-width: 768px) {
            right: 30%;
          }
        }

        .swiper-button-prev, 
        .swiper-rtl .swiper-button-next {
          right: 0;
          top: 45%;
          left: 0rem;
          bottom: -2rem;
          @media (max-width: 980px) {
            top: auto;
            left: 40%;
           }
          @media (max-width: 768px) {
            left: 30%;
          }
        }

        .dp-carousel .swiper-slide {
          @media (min-width: 769px) and (max-width: 980px) {
            margin-left: 15px!important;
            background-color: blue;
          }
        }

}

/* Erzwingt 100% Breite pro Slide */
.dp-carousel .swiper-slide {
  flex-shrink: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;

  margin: 0 -1rem 0 2rem !important;
  padding: 0 2rem !important;
  @media (max-width: 768px) {
    margin: 0 0 2rem !important;
  }
}

.dp-carousel.ehrenamt-slider .swiper-slide {
    margin: 0 -1rem 0 2rem !important;
    padding: 0 2rem !important;
    @media (max-width: 768px) {
      margin: 0 0 2rem !important;
    }
}

/* Wrapper immer exakt Containerbreite */
.dp-carousel .swiper-wrapper {
  transform: translate3d(0px,0,0); /* Swiper überschreibt das dynamisch, aber Fix für "Startposition" */
}

/* Container ohne zusätzliches Padding */
.dp-carousel .swiper-container {
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  overflow: hidden;
}

/* Divi-Row anpassen */
.dp-carousel.et_pb_row {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.dp-carousel .et_pb_column {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* Google Maps Dropdown */

/* Container responsive halten */
.cmplz-map-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Verhältnis */
  height: 0;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* Map Div responsiv */
#map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Platzhalter Styling */
.cmplz-consent-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: sans-serif;
  font-size: 1rem;
  padding: 10px;
  border-radius: 8px;
}

/* Dropdown Styling */
#map-location {
  padding: 8px 12px;
  font-size: 1rem;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* Optional: Pfeil rechts für Dropdown */
#map-location::after {
  content: "▼";
  position: absolute;
  right: 10px;
  pointer-events: none;
}


/* OSM CSS */

#map {
    width: 100%;
    height: 500px;
    position: relative; /* wichtig für z-index */
    z-index: 1;
    margin-bottom: 2rem;
}

#map-location {
    position: relative;
    z-index: 1000; /* Dropdown über der Karte */
    margin-bottom: 2rem;
    margin-top: 6px;
    border-radius: 24px;
    color: #20402f;
    font-size: 20px;
    @media (max-width: 980px) {
      width: 100%;
    }
}

.map-dropdown {
  color: #fff!important;
  margin-right: 1rem;
}


/* Download Button Stiftung MDK-Berichte */

.download-button {
  background-color: #fff;
  border: 1px solid #D1DA53;
  border-radius: 8px;
  padding: 8px 2rem 8px 8px;
  font-weight: 500;
  margin-bottom: 10px!important;
}

.download-button p {
  padding-bottom: 0;
} 

.download-button a { 
  text-decoration: none;
  color: #007A3B;
}

.download-button a:hover { 
  text-decoration: underline;
  text-underline-offset: 4px;
}

.download-button a:after { 
  content: '';
  background-image: url('../divi-child/img/button-download-arrow-to-right.svg');
  height: 16px !important;
  width: 12px !important;
  position: relative;
  display: inline-block;
  transform: translateY(4px);
  float: right;
  background-size: 12px 16px;
}

/* Unterseite */

.intro-section-unterseite {
  margin-top: 8rem;
  padding-top: 0!important;
    background-size: contain!important;
    background-position: center 2rem!important;

  @media (max-width: 1170px) { 
    padding-left: 2rem;
    padding-right: 2rem;
  }
  @media (max-width: 768px) {
    margin-top: 10rem;
  }
}

.h1-unterseite {
  width: 66.6%!important;
  padding: 1rem;
  border-radius: 6px;
  float: left;
  margin-top: -4.5rem;
  margin-bottom: 2rem!important;
  margin-left: -2rem; 
    @media (max-width: 1170px) { 
      margin-left: 0;
    }
    @media (max-width: 1024px) { 
      margin-left: 2rem;
    }
    @media (max-width: 768px) {
      margin-top: -2rem;
    }
}

.intro-text-unterseite {
    @media (max-width: 1170px) { 
      margin-left: 4rem!important;
    }
    @media (max-width: 980px) {
      width: 66.6%;
    } 
    @media (max-width: 580px) {
      width: 80%;
      padding-right: 4rem!important;
    } 
}

.expose-masonry.expose-slider {
    & .custom-loop {
        @media (max-width: 768px) {
          width: 84%;
        }
      }
    }


.expose-masonry.expose-slider {
    .custom-loop {
      flex-wrap: wrap!important;
      gap: 0 16px;
    } 
}

.expose-masonry.expose-slider {
    .custom-loop__item {
      @media (min-width: 1171px) { 
        width: 32.3%;
      }
    }
  }
  

.expose-masonry.expose-slider {
    .custom-loop__item {
      margin-bottom: 16px!important;
    }
  }


/* Exposé */

.expose-ankerlinks {

  a {
    text-decoration: none!important;
  }

  a:after {
    content: '';
    background-image: url('../divi-child/img/arrow-down-green.svg');
    background-size: 12px;
    background-repeat: no-repeat;
    display: inline-block;
    opacity: 1;
    width: 12px;
    height: 12px;
    margin-left: 6px;

  }

  .black-arrow-down a:after {
    background-image: url('../divi-child/img/arrow-down-black.svg');

  }
  
  a:hover {
    text-decoration: underline!important;
    text-underline-offset: 4px!important;
  }
}

/* Publikationen */

.publikationen {

  strong {
    font-family: 'Source Sans 3';
    font-weight: 700!important;
  }

  a:after {
    content: '';
    opacity: 1;
    background-image: url('../divi-child/img/arrow-to-right-button.svg');
    background-repeat: no-repeat;
    display: inline-block!important;
    width: 16px!important;
    height: 16px!important;
    position: relative;
    top: 2px;
    margin-left: 6px;
  }

  .et_pb_toggle_open .et_pb_toggle_title {
    border-bottom: 1px solid #000;
    padding-bottom: 8px;
  }
}

/* News und Medien Gallerie und Lightbox */

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 1;
}

.mfp-bg {

  background-color: #0E1C14;
}

/*
  Make 
  Wordpress [video] shortcode
  Responsive
  More info : https://cfxdesign.com/how-to-make-the-wordpress-video-shortcode-responsive/
-------------------------------*/
.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
  width: 100% !important;
  height: 100% !important;
}
.mejs-container {
  padding-top: 56.25%;
}
.wp-video, video.wp-video-shortcode {
  max-width: 100% !important;
}
video.wp-video-shortcode {
  position: relative;
}
.mejs-mediaelement {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.mejs-controls {
  display: none;
}
.mejs-overlay-play {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto !important;
  height: auto !important;
}


/*Youtube Play Button*/

.mejs-overlay-button {
  content: ''!important;
  background: url('/cms/wp-content/themes/divi-child/img/tt-play-button.svg')!important;
  background-color: transparent!important;
  background-size: 160px 160px!important;
  display: inline-block!important;
  width: 160px!important;
  height: 160px!important;
  padding: 0!important;
  margin: 0!important;
  background-repeat: no-repeat!important;
  background-position: center!important;
}

@media (max-width: 980px) {
 .mejs-overlay-button {
   background-size: 120px 120px!important;
  display: inline-block!important;
  width: 120px!important;
  height: 120px!important;
 }
 }

@media (max-width: 767px) {
.mejs-overlay-button {
 background-size: 60px 60px!important;
  display: inline-block!important;
  width: 60px!important;
  height: 60px!important;
}
/* Player auf Startseiten-Video unterhalb des Logos */
#start-trailer .mejs-overlay-button{
  position: absolute;
  top: 43%;
}
}

/*Video Controls only when hover*/

.mejs-controls {
  opacity: 0!important;
  transition: all 0.5s ease;
  bottom: -40px!important;
}

.mejs-container:hover .mejs-controls {
  opacity: 1!important;
}

/* Beitrag */

.single .post {
  padding-bottom: 0px;
}

/* Beitragsnavigation */

.et_pb_posts_nav.et_pb_post_nav_0 span.nav-previous .meta-nav {
    content: url('../divi-child/img/arrow-to-right-button.svg');
    transform: rotate(180deg);
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    opacity: 1 !important;
    margin-right: 10px;
    position: relative;
    top: 4px;
  }

 .et_pb_posts_nav.et_pb_post_nav_0 span.nav-next .meta-nav {
    content: url('../divi-child/img/arrow-to-right-button.svg');
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    opacity: 1 !important;
    margin-left: 10px;
    position: relative;
    top: 4px;
  }

  .news-beitrags-bild img {
      aspect-ratio: 1 / 1!important; 
      object-fit: cover!important;
    }

.custom-image-title {
  text-align: left;
  font-size: 1rem;
  color: #000;
  margin-top: 1rem;
  font-style: normal;
  line-height: 1.5;
}


/* Karriere Stellenangebote WP Job Manager */

/* Ansicht Jobangebote Liste auf Startseite */

/* Elemente ausblenden */

.job_listings {

  padding-left: 0!important;
  border: 0!important;

.company_logo, .location, .meta {
  display: none;
}

.company strong {
  display: none;
}

.company .tagline {
  font-size: 1.3rem!important;
  font-family: 'Source Sans 3', Arial, Helvetica;
  font-weight: 400!important;
  display: inline-block!important;
  color: #000!important;
  text-align: center!important;
  width: 100%!important;
  margin-left: 0!important;
  @media (max-width: 480px) {
    font-size: 18px!important;
  }
}

.position {
    padding-left: 1rem!important;
}

.position h3 {
  font-size: 1.3rem!important;
  text-align: center!important;
  font-weight: 700!important;
  font-family: 'Source Sans 3', Arial, Helvetica;
}

.position h3:hover,
.company .tagline:hover {
  color: #005020;
  text-decoration: none;

}

li.job_listing {
  border: 0!important;
}

li.job_listing a {
    padding: 1rem 1rem 1rem 0!important;
    margin-bottom: 2rem!important;
}

}

ul.job_listings li.job_listing a div.position {
  width: 100%;
}

.list-behindertenhilfe .job_listings  {
  li.job_listing a, li.job_listing a:hover {
    background-color: #d8d95e!important;
  }
}

.list-altenhilfe .job_listings  {
  li.job_listing a, li.job_listing a:hover {
    color: #fff!important;
    background-color: #939c3c!important;
  }
}

#main-content .list-weitere h3,
#main-content .list-weitere .company .tagline,
#main-content .list-service h3,
#main-content .list-service .company .tagline,
#main-content .list-altenhilfe h3,
#main-content .list-altenhilfe .company .tagline {
  color: #fff!important;
}

.list-service .job_listings  {
  li.job_listing a, li.job_listing a:hover {
    color: #fff!important;
    background-color: #647b3c!important;
  }
}

.list-weitere .job_listings  {
  li.job_listing a, li.job_listing a:hover {
    color: #fff!important;
    background-color: #28502c!important;
  }
}


.no_job_listings_found {
  text-align: center;
}

/* Hervorgehobene Job-Angebote */ 

li.job_position_featured.job_listing a {

}

li.job_position_featured.job_listing a::before {

}


/* Initiativbewerbung */


    #main-content .initiativbewerbung h2 {
      font-family: 'Merriweather', Georgia, serif!important;
      font-weight: 700!important;
      font-size: 2.5rem;
      @media (max-width: 1199px) {
        font-size: 2rem;
      }
      @media (max-width: 768px) {
        font-size: 1.875rem;
      }

    }

    .initiativbewerbung p {
      color: #fff!important;
    }


/* Bewerbungsformular */

.wpcf7-row {
  width: 100%;
  display: block;
  float: left;
}

  .wpcf7-col-left, .wpcf7-col-right {
    width: 48.5%;
    float: left;
    @media (max-width: 980px) {
      width: 100%;
    }

  }

  .wpcf7-col-left {
    margin-right: 3%;
    @media (max-width: 980px) {
      margin-right: 0;
    }
  }

  .wpcf7-col-full-width {
    width: 100%;
  }


.dsm_contact_form_7 input.text, 
.dsm_contact_form_7 input.title, 
.dsm_contact_form_7 input[type=date], 
.dsm_contact_form_7 input[type=email], 
.dsm_contact_form_7 input[type=number], 
.dsm_contact_form_7 input[type=password], 
.dsm_contact_form_7 input[type=tel], 
.dsm_contact_form_7 input[type=text], 
.dsm_contact_form_7 input[type=url], 
.dsm_contact_form_7 select, 
.dsm_contact_form_7 textarea {
  color: #000;
  font-family: 'Source Sans 3', Helvetica, Arial, Lucida, sans-serif!important;
  font-weight: 400!important;
  padding: 10px .5rem 10px .5rem;
  font-size: 1.125rem!important;
  border: 1px solid rgba(0, 0, 0, .2);
}


/* Displays titles above the fields */
.et_pb_contact_form_label {
    display: block;
}
 
/* Hides placeholder text */
.et_pb_contact_form_container .input::placeholder {

}
 
/* Hides duplicate titles on checkboxes and radios */
.et_pb_contact_field_options_title {
    display: none;
}
 
 
/* Remove title above dropdown */
.et_pb_contact_field[data-type=select] .et_pb_contact_form_label {
    display: none;
}

.dsm_contact_form_7 .wpcf7-form-control.dropdown.wpcf7-select  {
  padding: 10px 20px 10px 10px!important;
  color: #28502c!important;
  font-family: 'Source Sans 3', Helvetica, Arial, Lucida, sans-serif!important;
  font-weight: 400!important;
  font-size: 1.125rem!important;
  font-style: normal!important;
  border: 1px solid rgba(0, 0, 0, .2);
}

.dsm_contact_form_7 textarea::placeholder,
.dsm_contact_form_7 input[type="text"]::placeholder,
.dsm_contact_form_7 input[type="email"]::placeholder,
.dsm_contact_form_7 input[type="number"]::placeholder,
.dsm_contact_form_7 input[type="tel"]::placeholder {
    font-size: 1.125rem!important; 
}

/* Datei hochladen */

.wpcf7 input[type="file"] {
    cursor: pointer;
    padding: 10px .5rem;
    border: 1px solid rgba(0, 0, 0, .2);
    background: #fff;
    font-size: 1.125rem!important;
    font-family: 'Source Sans 3', Helvetica, Arial, Lucida, sans-serif!important;
    font-weight: 400!important;
    color: #28502c!important;
  }

/* Zustimmungs Checkbox */

.wpcf7-list-item {
  margin: 0 0 0 1.5rem; 
}

.wpcf7-list-item-label {
  font-size: 1rem;
  font-family: 'Source Sans 3', Helvetica, Arial, Lucida, sans-serif!important;
  font-weight: 400!important;
}

input[type=checkbox] {
    -webkit-appearance: checkbox;
    margin-left: -1.5rem;
    margin-right: .5rem;
}
/* Fehlermeldung */

.wpcf7-not-valid-tip {
  color:#EF7C00!important;
  font-family: 'Source Sans 3', Helvetica, Arial, Lucida, sans-serif!important;
  font-weight: 700!important;
}


/* Bewerbung senden Button */

  .et_button_icon_visible .wpcf7-submit.et_pb_button, 
  .et_button_icon_visible .wpcf7-submit.et_pb_button:hover, 
  .et_button_icon_visible .wpcf7-submit.et_pb_button:focus, 
  .et_button_icon_visible .wpcf7-submit.et_pb_button:focus-visible  {
    background-color: #d6da2a!important;
    padding-right: 1rem!important;
    color: #145228;
  } 


 body .et_pb_button {
    border-radius: 0!important;
    font-family: 'Source Sans 3', Helvetica, Arial, Lucida, sans-serif!important;
    font-weight: 700!important;
    font-size: 1rem!important
    border: 0!important;
    border-radius: 0!important;
  }

  .wpcf7-submit.et_pb_button:after {
    content: url(../divi-child/img/send.svg) !important;
  }


.et_button_custom_icon .wpcf7-submit.et_pb_button:hover::after, 
.et_button_custom_icon .wpcf7-submit.et_pb_button:focus::after, 
.et_button_custom_icon .wpcf7-submit.et_pb_button:focus-visible::after {
  margin-left: 10px !important;
    margin-right: 5px !important;
}


.wpcf7-submit.et_pb_button:hover, 
.et_pb_module .wpcf7-submit.et_pb_button:hover,
.wpcf7-submit.et_pb_button:focus, 
.et_pb_module .wpcf7-submit.et_pb_button:focus,
.wpcf7-submit.et_pb_button:focus-visible, 
.et_pb_module .wpcf7-submit.et_pb_button:focus-visible {
    padding-top: .5em;
    padding-bottom: .5em;
    border: 1px;
    text-decoration: underline!important;
    text-underline-offset: 4px;
  }

/* fussnote Formular */

.fussnote-formular {

  p { color: #fff!important;
  font-size: 1rem!important;
  }
  
  font-style: italic;
  float: right;
  margin-top: .5rem;
}


/* Startseite Berufe Section */

#ausbildung-fsj-praktikum.et_pb_toggle.toggle-startseite,
#berufe-altenpflege-behindertenhilfe.et_pb_toggle.toggle-startseite {

    h3.et_pb_toggle_title {
      padding-left: 50%;
      text-align: center;
      font-weight: 700 !important;
      font-size: 1.875rem!important; 
      
      @media (max-width: 980px) {
        padding-left: 0;
        padding-top: 65vw;
      }

      @media (max-width: 768px) {
        font-size: 1.625rem!important;
      }

      @media (max-width: 536px) {
        font-size: 18px!important;
      }
    }

    h3.et_pb_toggle_title:focus,
    h3.et_pb_toggle_title:focus-visible, 
    h3.et_pb_toggle_title:hover  {
      text-decoration: underline!important;
      text-underline-offset: 10px;
      text-decoration-thickness: 1px!important;

      @media (max-width: 768px) {
        text-underline-offset: 4px;
      }
    }
}

#berufe-altenpflege-behindertenhilfe.et_pb_toggle h3.et_pb_toggle_title:after {
    content: 'für Beginner, Berufserfahrene und Führungskräfte'!important;
    position: relative!important;
    display: block!important;
    opacity: 1!important;  
    font-size: 1.125rem!important;
    font-family: 'Source Sans 3', Arial, Helvetica, sans;
    font-weight: 400;
    padding-left: 1rem;
    line-height: 150%;

    @media (max-width: 980px) {
      padding-left: 0;
      margin: 0 auto;
    }
} 


#ausbildung-fsj-praktikum.et_pb_toggle h3.et_pb_toggle_title:after {
    content: 'Mach eine Ausbildung, ein Freiwilliges Soziales Jahr oder ein Praktikum in einem sozialen Beruf mit Zukunft'!important;
    position: relative!important;
    display: block!important;
    opacity: 1!important;  
    font-size: 1.125rem!important;
    font-family: 'Source Sans 3', Arial, Helvetica, sans;
    font-weight: 400;
    padding-left: 1rem;
    line-height: 150%;

    @media (max-width: 980px) {
      padding-left: 0;
      margin: 0 auto;
    }
} 


#berufe-weitere.et_pb_toggle.toggle-startseite {

    h3.et_pb_toggle_title {
      padding-left: 1rem;
      width: 50%;
      text-align: center;
      font-weight: 700 !important;
      font-size: 1.875rem!important; 
      
      @media (max-width: 980px) {
        padding-left: 0;
        width: 100%;
        padding-top: 65vw;
      }

      @media (max-width: 768px) {
        font-size: 1.625rem!important;
      }

      @media (max-width: 536px) {
        font-size: 18px!important;
      }
    }

    h3.et_pb_toggle_title:focus,
    h3.et_pb_toggle_title:focus-visible, 
    h3.et_pb_toggle_title:hover  {
      text-decoration: underline!important;
      text-underline-offset: 10px;
      text-decoration-thickness: 1px!important;

      @media (max-width: 768px) {
        text-underline-offset: 4px;
      }
    }
}


#berufe-weitere.et_pb_toggle h3.et_pb_toggle_title:after {
    content: 'im Sozialdienst, in der Verwaltung oder in Servicebereichen'!important;
    position: relative!important;
    display: block!important;
    opacity: 1!important;  
    font-size: 1.125rem!important;
    font-family: 'Source Sans 3', Arial, Helvetica, sans;
    font-weight: 400;
    padding-left: 0rem;
    line-height: 150%;

    @media (max-width: 980px) {
      padding-left: 0;
      margin: 0 auto;
    }
} 




/* Job Detailseite */
.single_job_listing .company,
.single_job_listing .job-listing-meta.meta {
    display: none!important;
  }

.job-detailseite-hero-section {
  margin-top: 160px;
}

.job-offer-details-wrapper {
    background-color: #145228;
    font-size: 1.125rem!important;
    color: #fff;
    line-height: 1.8rem;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 2rem;
    font-family: 'Source Sans 3', Arial, Helvetica, sans;
    font-weight: 400;

    @media (min-width: 981px) {
        margin-right: -100px;
        margin-left: -100px;
        padding-right: 100px;
        padding-left: 100px;
    }

    @media screen and (min-width: 769px) and (max-width: 980px) {
        margin-right: -100px;
        margin-left: -100px;
        padding-right: 100px;
        padding-left: 100px;
    }

    @media (max-width: 768px) {
        margin-right: -25px;
        margin-left: -25px;
        padding-right: 25px;
        padding-left: 25px;
      }
}

.job-offer-details-wrapper .one_half.last_column {
  margin-top: -28px!important;
}

.job-offer-details-wrapper p {
  color: #fff;
}

.job-offer-details-wrapper a {
  color: #fff;
  font-size: 1.125rem!important;
  text-decoration: underline;
  text-underline-offset: 4px;

}

.job-offer-details-wrapper a:hover,
.job-offer-details-wrapper a:focus, 
.job-offer-details-wrapper a:focus-visible {
  opacity: .75;
}

.job-offer-details-wrapper h3 {
  color: #fff;
  font-size: 26px;
  line-height: 130%;
  font-family: 'Source Sans 3', Arial, Helvetica, sans;
  font-weight: 500;
}

.job-offer-details-wrapper strong {
  font-family: 'Source Sans 3', Arial, Helvetica, sans;
  font-weight: 700;
}

.job-offer-details-wrapper .job-offer-details-contact::before, 
.job-offer-details-wrapper .job-offer-details-offerings::before, 
.job-offer-details-wrapper .job-offer-details-qualification::before, 
.job-offer-details-wrapper .job-offer-details-responsibility::before, 
.job-offer-details-wrapper .job-offer-details-salary::before, 
.job-offer-details-wrapper .job-offer-details-tasks::before, 
.job-offer-details-wrapper .job-offer-details-vacation::before, 
.job-offer-details-wrapper .job-offer-details-working-atmosphere::before {
    content: '';
    width: 33px;
    height: 33px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: .5rem;
    margin-top: 1.5rem;
    display: block;

}

.job-offer-details-salary {

}

.job-offer-details-salary::before {
   background-image: url('../divi-child/img/salary.svg');
}

.job-offer-details-vacation {

}

.job-offer-details-vacation::before {
  background-image: url('../divi-child/img/vacation.svg');

}

.job-offer-details-working-atmosphere {

}

.job-offer-details-working-atmosphere::before {
  background-image: url('../divi-child/img/working-atmosphere.svg');

}

.job-offer-details-offerings {

}

.job-offer-details-offerings::before {
  background-image: url('../divi-child/img/offerings.svg');

}

.job-offer-details-tasks {

}

.job-offer-details-tasks::before {
  background-image: url('../divi-child/img/tasks.svg');

}

.job-offer-details-qualification {

}

.job-offer-details-qualification::before {
  background-image: url('../divi-child/img/qualification.svg');

}

.job-offer-details-contact {

}


.job-offer-details-link {
    
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    background: #d6da2a;
    border: 0 none;
    padding-top: .5em;
    padding-right: 2em;
    padding-bottom: .5em;
    padding-left: 3em;
    position: relative;
}

.job-offer-details-link::before {
    content: '';
    background-image: url('../divi-child/img/send.svg')!important;
    background-repeat: no-repeat!important;
    background-size: 24px!important;
    width: 24px;
    height: 24px;
    display: inline-block;
    position: absolute;
    top: .7em;
    left: 1em;

}

.job-offer-details-wrapper p a.job-offer-details-link {
   margin-top: 4rem;
   display: inline-block;
   @media (max-width: 768px) {
    margin-top: 1rem!important;
    display: flex;
    max-width: fit-content;
    margin-left: auto!important;
    margin-right: auto!important;
   }
}

.job-offer-details-wrapper a.job-offer-details-link  {  
      color: #145228!important;
      text-decoration: none;
}

.job-offer-details-wrapper a.job-offer-details-link:hover,
.job-offer-details-wrapper a.job-offer-details-link:focus,
.job-offer-details-wrapper a.job-offer-details-link:focus-visible {  
     text-decoration: underline;
     text-underline-offset: 4px;
}

.job-offer-details-share {
    display: inline-block!important;
    float: left;
    margin-top: 1.15rem;
    @media (max-width: 768px) {
      display: flex;
      flex-direction: row;
      clear: both;
    }

}

.job-offer-details-share p {
      /*margin-top: 4rem;*/
      font-family: 'Source Sans 3', Arial, Helvetica, sans;
      font-weight: 700;
      display: inline-block!important;
      margin-right: 2rem;
      padding-bottom: 0!important;
             @media (max-width: 768px) {
                margin-top: 1rem !important;
                display: flex;
                flex-direction: row;
                clear: both;

       }
}

.job-offer-details-share::before {


}

button.job-offer-details-share {
    background-color: transparent;
    padding: 0 2rem 0 0;
    border: 0;
}

button.job-offer-details-share:focus,
button.job-offer-details-share:focus-visible,
button.job-offer-details-share:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #fff!important;
}

.job-offer-details-share-label {
    font-family: 'Source Sans 3', Arial, Helvetica, sans;
    font-weight: 700;
    color: #fff;
    font-size: 1.125rem !important;
}

.job-offer-details-share-label::before {
    background-image: url('../divi-child/img/share.svg');
    content: '';
    width: 1em;
    height: 1em;
    vertical-align: middle;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: .5em;
    display: inline-block;
}


.job-offer-details-share-list {

}

ul.job-offer-details-share-menu.open {
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 30%, rgba(214, 218, 42, 1) 30%);
    font-family: 'Source Sans 3', Arial, Helvetica, sans;
    font-weight: 700!important;
    position: relative;
    z-index: 1;
    width: fit-content;
    padding-right: 1rem;
    padding-bottom: 10px;
    transform: translateY(1rem);
}

.job-offer-details-share-menu.open li:first-child {

}

.job-offer-details-share-menu.open li {
  list-style-type: none; 
}

.job-offer-details-share-menu.open li a {
    color: #145228;
    text-decoration: none;
}

.job-offer-details-wrapper  p.job-offer-details-pdf {
  display: inline-block!important;

}

.job-offer-details-wrapper a.job-offer-details-pdf {
    margin-top: 4rem;
    font-family: 'Source Sans 3', Arial, Helvetica, sans;
    font-weight: 700!important;
    display: inline-block;
    text-decoration: none!important;

    @media (max-width: 929px) {
      margin-top: 1rem!important;
    }

    @media (max-width: 768px) {
      display: inline-block;
      float: right;
    }

    @media (max-width: 410px) {
      display: inline-block;
      float: left;
    }

}

.job-offer-details-wrapper a.job-offer-details-pdf:hover,
.job-offer-details-wrapper a.job-offer-details-pdf:focus,
.job-offer-details-wrapper a.job-offer-details-pdf:focus-visible {
    text-decoration: underline!important;
    text-underline-offset: 4px!important;
}

.job-offer-details-pdf::before {
    background-image: url('../divi-child/img/pdf.svg');
    margin-right: .3em;
    content: '';
    width: 1em;
    height: 1em;
    vertical-align: middle;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: .5em;
    display: inline-block;
}


.job-benefits {
  h3 {
    font-size: 1.875rem!important;
    color: #111!important;
    line-height: 1.2rem!important;
    margin-bottom: .8rem;
    font-family: 'Source Sans 3', Arial, Helvetica, sans;
    font-weight: 400!important;
  }

  h4 {
    font-family: 'Source Sans 3', Arial, Helvetica, sans;
    font-weight: 700!important;
    font-size: 18px;
    line-height: 1.8rem;
  }
  p {
    color: #111!important;
    font-size: 1.125rem!important;
    line-height: 1.6rem!important;
    margin-bottom: 1.5rem!important;
  }
}


