/*
Theme Name:   Yellow Theme Child
Template:     kdgs-yellow
Version: 	  1.0.0
*/

@font-face {
    font-family: 'ttfirsmed';
    src: url("fonts/ttfirsmedium.woff2") format('woff2'), url("fonts/ttfirsmedium.woff") format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ttfirsxbold';
    src: url("fonts/ttfirsextrabold.woff2") format('woff2'), url("fonts/ttfirsextrabold.woff") format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/**
* Fix fonts that render as bold in Firefox
*
* Put this near the top of your style.css
* Before any overriding styles
*/

html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-weight: 400;
}

/**
* Firefox specific rule
*/

@-moz-document url-prefix() {
    body {
        font-weight: lighter !important;
    }
}


/* 
 * 'xs'     => max-width: 575px
 * 'sm'     => min-width: 576px
 * 'md'     => min-width: 768px
 * 'lg'  	=> min-width: 992px
 * 'xl'  	=> min-width: 1200px
 * 'xxl' 	=> min-width: 1400px
 * 'xxxl'	=> min-width: 1800px
*/

/* Fontsize, Font Family, Line Height */

b, strong {
    font-family: 'ttfirsxbold', sans-serif;
    font-weight: 400;
}

h1, .h1 {
    font-family: 'ttfirsxbold', sans-serif;
    font-size: calc(45 / 16 * 1rem);
    line-height: 1.25;
}
@media screen and (min-width: 768px) {
    h1, .h1 {
        font-size: calc(80 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    h1, .h1 {
        font-size: calc(80 / 16 * 1rem);
    }
}

h2, .h2, 
.mod-header-mit-bild .content-wrapper .text-wrapper .title {
    font-family: 'ttfirsxbold', sans-serif;
    font-size: calc(22 / 16 * 1rem);
    line-height: 1.25;  
}
@media screen and (min-width: 768px) {
    h2, .h2, 
    .mod-header-mit-bild .content-wrapper .text-wrapper .title {
        font-size: calc(42 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    h2, .h2,  
    .mod-header-mit-bild .content-wrapper .text-wrapper .title {
        font-size: calc(42 / 16 * 1rem);
    }
}

h3, .h3, 
.lead {
    font-family: 'ttfirsxbold', sans-serif;
    font-size: calc(22 / 16 * 1rem);
    line-height: 1.25;  
}
.lead {
    font-family: 'ttfirsmed', sans-serif;
}
@media screen and (min-width: 768px) {
    h3, .h3, 
    .lead {
        font-size: calc(29 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    h3, .h3, 
    .lead {
        font-size: calc(29 / 16 * 1rem);
    }
}

h4, .h4 {
    font-family: 'ttfirsxbold', sans-serif;
    font-size: calc(19 / 16 * 1rem);
    line-height: 1.25;  
}
@media screen and (min-width: 768px) {
    h4, .h4 {
        font-size: calc(19 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    h4, .h4 {
        font-size: calc(19 / 16 * 1rem);
    }
}

body, .body, 
h5, .h5 {
    font-family: 'Satoshi-Bold', sans-serif;
    font-size: calc(19 / 16 * 1rem);
    line-height: 1.25;
}
body, .body {
    font-family: 'ttfirsmed', sans-serif;
}
@media screen and (min-width: 768px) {
    body, .body, 
    h5, .h5 {
        font-size: calc(19 / 16 * 1rem);
    }
}
@media screen and (min-width: 1200px) {
    body, .body, 
    h5, .h5 {
        font-size: calc(22 / 16 * 1rem);
    }
}



.regular-medium {
    font-family: 'ttfirsmed', sans-serif;
    font-size: calc(40 / 16 * 1rem);
    line-height: 54px;

}

.regular-big {
    font-family: 'ttfirsmed', sans-serif;
    font-size: calc(60 / 16 * 1rem);
    line-height: 1.16;   
}

.regular-small {
    font-family: 'ttfirsmed', sans-serif;
    font-size: calc(17 / 16 * 1rem);
    line-height: 1.16;   
}

@media (max-width: 992px){
    .regular-medium {
        font-family: 'ttfirsmed', sans-serif;
        font-size: calc(30 / 16 * 1rem);
        line-height: 1.1;
    
    }
    
    .regular-big {
        font-family: 'ttfirsmed', sans-serif;
        font-size: calc(40 / 16 * 1rem);
        line-height: 1.1;   
    }
    
    .regular-small {
        font-family: 'ttfirsmed', sans-serif;
        font-size: calc(17 / 16 * 1rem);
        line-height: 1.1;   
    } 

}

@media screen and (max-width: 767px){
    .regular-medium {
        font-family: 'ttfirsmed', sans-serif;
        font-size: calc(28 / 16 * 1rem);
        line-height: 1.18;
    
    }
    
    .regular-big {
        font-family: 'ttfirsmed', sans-serif;
        font-size: calc(40 / 16 * 1rem);
        line-height: 1.16;   
    }
    
    .regular-small {
        font-family: 'ttfirsmed', sans-serif;
        font-size: calc(17 / 16 * 1rem);
        line-height: 1.16;   
    } 
}

@media (max-width: 575px){
    .regular-medium {
        font-family: 'ttfirsmed', sans-serif;
        font-size: calc(22 / 16 * 1rem);
        line-height: 1.1;
    
    }
    
    .regular-big {
        font-family: 'ttfirsmed', sans-serif;
        font-size: calc(30 / 16 * 1rem);
        line-height: 1.1;   
    }
    
    .regular-small {
        font-family: 'ttfirsmed', sans-serif;
        font-size: calc(17 / 16 * 1rem);
        line-height: 1.1;   
    } 

}


/* Font Color */
body, .body,
.lead, 
h1, .h1, 
h2, .h2,
h4, .h4,
h5, .h5 {
    color: var(--theme-colour-1);
}

h3, .h3 {
    color: var(--theme-colour-2);
}

a{
    text-decoration-thickness: 2px;
}

/*----------------------- Generell --------------------*/

.img-wrapper {
    border-radius: 0 !important;
}

@media (min-width: 1400px){
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
  max-width: 1222px;
}
}
@media only screen and (min-width: 1800px){
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl, .container-xxxl {
  max-width: 1222px;
}
}

@media only screen and (max-width: 767px){
    .container {
        padding-right: calc(var(--bs-gutter-x)*.9);
        padding-left: calc(var(--bs-gutter-x)*.9);
    }
}

/* ------------------- Header, Navigation -------------------- */

.mod-header .header-wrapper .main-nav .menu .menu-item a {
    font-family: 'ttfirsxbold', sans-serif;
    font-size: 25px;

}

.mod-header .header-wrapper .main-nav .menu .menu-item a:hover {
    border:0;
    text-decoration: underline;
    text-underline-offset: 0.5em;
    text-decoration-color: var(--theme-colour-2);
    text-decoration-thickness: 2px;
    font-family: 'ttfirsxbold', sans-serif;

}

.mod-header .header-wrapper .home-link .img-wrapper {
    max-width: 275px;
  }

 @media (max-width:767px){
    .mod-header .header-wrapper .home-link .img-wrapper {
        max-width: 200px;
      }
 } 

.lottie-logo {
    max-width: 275px;
    height: 100%;
}

.mod-header .header-wrapper .home-link .img-wrapper .a-image .a-image__picture img {
    width: auto;
}

@media (max-width: 991px){
    :root {
        --header-height: 80px;
    }
}

/* ------------ Footer -------------*/

.mod-footer {
    background-color: #F2FFE2;
  }

.mod-footer .footer-bottom {
    background-color: transparent;
  }

  .mod-footer .footer-bottom a{
    font-size: calc(17 / 16 * 1rem);

  }

.mod-footer .footer-main {
    font-family: 'ttfirsxbold', sans-serif;
    font-size: calc(22 / 16 * 1rem);
    line-height: 1.59;   
}

.mod-footer .footer-main a {
    text-decoration: underline;
    text-underline-offset: 0.3em;
    text-decoration-thickness: 2px;
}


/* ------------- Anpassungen Yellow-blöcke ----------------*/

/* Text */

@media (min-width: 992px) {
.column-narrow.offset-lg-2 {
  margin-left: 0;
}}

/* teaserkacheln-zwei-container */

.mod-teaserkacheln-zwei > div > div > .card > .card-body {
    padding: 54px;
    min-height: 400px;
  }

.teaserkacheln-zwei-container .col-sm-5 {
    width: 50%;
}

@media (min-width:786px) and (max-width: 1199px){
    .mod-teaserkacheln-zwei > div > div > .card > .card-body {
        padding: 54px;
        min-height: 482px;
      }
}

@media (min-width: 768px){
.col-md-5 {
  width: 50%;
}}

.mod-teaserkacheln-zwei > div > div > .card > .card-body > .card-btn-container>  a > button {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    opacity: 1;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 0.5em;
    text-decoration-color: var(--theme-colour-2);
    text-decoration-thickness: 2px;
    font-size: 17px;
    font-family: 'ttfirsxbold', sans-serif;

  }


  .teaserkacheln-zwei-container h4 {
    font-size: 22px;
  }

  .teaserkacheln-zwei-container {
    align-items: flex-end;
  }

  .mod-teaserkacheln-zwei > div > div > .card > .card-body > p {
    margin-top: 0;
  }


  .mod-teaserkacheln-zwei > div > div > .card {
     margin-bottom: 20px;
    }

/* text und bild auf farbfläche */

.team-stage h1 {
    font-size: calc(40 / 16 * 1rem);
    font-family: 'ttfirsmed', sans-serif;
}

@media (max-width: 991px){
    .team-stage h1 {
        font-size: calc(30 / 16 * 1rem);
        font-family: 'ttfirsmed', sans-serif;
    }
}

@media (max-width: 767px){
    .team-stage h1 {
        font-size: calc(28 / 16 * 1rem);
        font-family: 'ttfirsmed', sans-serif;
    }
}

@media (max-width: 575px){
    .team-stage h1 {
        font-size: calc(22 / 16 * 1rem);
        font-family: 'ttfirsmed', sans-serif;
    }
}

@media only screen and (min-width: 768px) {
    .mod-text-und-bild-auf-farbflaeche .container-breakout .container {
        padding: 190px .75rem;
        padding: 190px var(--bs-gutter-x,.75rem) 0;
    }
    .mod-text-und-bild-auf-farbflaeche .container-breakout .container .row .img-wrapper {
        margin-top: 0;
        margin-bottom: -100px;
    }
    .mod-text-und-bild-auf-farbflaeche {
        margin-bottom: 100px;
    }
}

.mod-text-und-bild-auf-farbflaeche .container-breakout .container .row {
    justify-content: space-between;
    align-items: normal;
}

.mod-text-und-bild-auf-farbflaeche .info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 40px;
}

.mod-text-und-bild-auf-farbflaeche .info-wrapper .link-list {
    margin-bottom: 60px;
}

@media (max-width: 767px){
    .mod-text-und-bild-auf-farbflaeche .info-wrapper .link-list {
        margin-bottom: 0px;
    }
}

.mod-text-und-bild-auf-farbflaeche .info-wrapper .link-list li{
    margin-bottom: 10px;
}

.mod-text-und-bild-auf-farbflaeche .info-wrapper .link-list li a {
    color: var(--c-white);
    font-family:"ttfirsxbold", sans-serif;
    font-size: calc(17 / 16 * 1rem);
    text-decoration: underline;
    text-underline-offset: 0.3em;
    text-decoration-color: var(--theme-colour-2);
    text-decoration-thickness: 2px;
    margin-right: 20px;
}

@media (min-width: 768px){
    .mod-text-und-bild-auf-farbflaeche .col-md-6 {
    flex: 0 0 auto;
    width: 70%; }
    .mod-text-und-bild-auf-farbflaeche .row .column-right {
        margin-right: 0;
        margin-left: auto;
    }
   

}

@media (min-width: 992px){
.mod-text-und-bild-auf-farbflaeche .row .column-right {
    width: 50%;
    margin-left:0;
}
.mod-text-und-bild-auf-farbflaeche .row .column-left {
    width: 45%;
}
}

@media only screen and (max-width: 767px) {
   
    .mod-text-und-bild-auf-farbflaeche .container-breakout .container .row .img-wrapper {
        margin-top: 20px;
        margin-bottom: -111px;
        width: 80vw;
        margin-right: 12px;
        margin-left: auto;
      }
    .mod-text-und-bild-auf-farbflaeche {
        margin-bottom: 100px;
    }

    .mod-text-und-bild-auf-farbflaeche .col-12.col-md-6.col-lg-7.offset-lg-1.column-right {
        padding-right: 0;
        width: 100%;

    }
    .mod-text-und-bild-auf-farbflaeche .col-12.col-md-6.col-lg-7.offset-lg-1.column-left {
        width: 100%;
        
    }
}

/*@media only screen and (min-width: 1400px) {
    .mod-text-und-bild-auf-farbflaeche .container-breakout {
    --container-width: 100%;
    }
    .mod-text-und-bild-auf-farbflaeche .container-breakout .container {
        max-width: 100%;
    }
}*/

/* Teaser gross */

.mod-teaser-gross .teaser-wrapper .text-wrapper .link-wrapper a {
    text-underline-offset: 0.5em;
    text-decoration-color: var(--theme-colour-2);
    text-decoration-thickness: 2px;
    font-size: 17px;
    font-family: 'ttfirsxbold', sans-serif;
    color: #ffffff;
  }

  .mod-teaser-gross .teaser-wrapper .text-wrapper {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 75px;
  }

  .mod-teaser-gross .teaser-wrapper .text-wrapper .text {
    margin-bottom: 65px;
  }

  @media only screen and (min-width: 768px){
  .mod-teaser-gross .teaser-wrapper .text-wrapper {
    padding-left: 100px;
    padding-right: 100px;
  }}

  .mod-teaser-gross .teaser-wrapper {
    border-radius: 0px;}

/* teaser-kacheln */

.mod-teaserkacheln .title {
    font-family:"ttfirsxbold", sans-serif;
    margin-bottom: 5px;
}

.mod-teaserkacheln .link {
    text-decoration: underline;
    text-underline-offset: 0.5em;
    text-decoration-color: var(--theme-colour-2);
    text-decoration-thickness: 2px;
    font-size: 17px;
    font-family: 'ttfirsxbold', sans-serif;
}

/* Accordion */

.accordion-button .header-title {
    font-size: calc(30 / 16 * 1rem);
  }
.accordion-item {
    border-width: 3px;
  }
.mod-accordion .accordion .accordion-item:last-child {
    border-width: 3px;
}

@media (min-width: 767px){
.accordion-body .text {
    max-width: 75%;
}}


/* Stage */

.mod-stage {
    --container-width: 100%;
}

.mod-stage .container-breakout {
    width: 85vw;
    --container-breakout-offset: -20vw;
}

.mod-stage .img-container {
    margin: 0 auto 0 0;
    max-width: 100%;
}

.mod-stage .img-container .text-wrapper {
    margin: -135px -120px 0 auto;
    width: 60%;
    max-width: 800px;
    padding: 60px 90px;
}

@media (max-width: 1399px) {
    .mod-stage .container-breakout {
        --container-breakout-offset: -11vw;
}

}

@media (max-width: 1199px) {
    .mod-stage .img-container .text-wrapper {
        margin: -95px -120px 0 auto;
        max-width: 800px;
        padding: 42px 38px;
    }
    .mod-stage .container-breakout {
        width: 90vw;
        --container-breakout-offset: -11vw;
}
}

@media (max-width: 992px) {
    .mod-stage .img-container .text-wrapper {
        margin: -95px -120px 0 auto;
        width: 50%;
        max-width: 800px;
        padding: 42px 38px;
    }
    .mod-stage .container-breakout {
        width: 90vw;
        --container-breakout-offset: -16vw;
}
}

@media (max-width: 767px){
    .mod-stage .img-container .img-wrapper{
        padding-top: 80%;
    }
    .mod-stage .img-container .text-wrapper {
        padding: 30px;
        margin-top: -110px;
        margin-right: -40px;
        width: 80%;
    }
    .mod-stage .container-breakout {
        width: 90vw;
        --container-breakout-offset: -18vw;
    }

}



@media (max-width: 575px){
    .mod-stage .container-breakout {
        width: 90vw;
        --container-breakout-offset: -10vw;
    }

}

    /* Stage ohne Bild */

    .mod-stage .img-container .text-wrapper.no-img {
        margin: 0;
        width: 100%;
        max-width: 100%;
        max-width: 100%;
        text-align: right;
        padding: 180px 75px 95px;
        --container-breakout-offset: -20vw;
      }

    @media (max-width: 1399px){
        .mod-stage .img-container .text-wrapper.no-img {

            padding: 150px 75px 60px;
          }
    }

    @media (max-width: 991px){
        .mod-stage .img-container .text-wrapper.no-img {

            padding: 120px 60px 45px;
          }
    }



/* text bild block */
/* Slogan rechts anzeigen */

  .mod-text-bild .row.img-pos-left {
    align-items: flex-end;
    justify-content: flex-end;
  }

  .mod-text-bild .row.img-pos-left .column-right {
    width: fit-content;
  }