

/* BLOCK COLUMN
-------------------------------------------------- */


.wp-block-column.has-background {
    padding: 10px 20px 30px 20px;
    border-radius: 15px;
} 
.wp-block-column.has-background .wp-block-heading {
    color: var(--green);
    padding-top: 0;
} 

.wp-block-column.has-background .wp-block-heading:first-child{
    padding-top: 25px;
    padding-bottom: 25px;
}


    
/* LIST STYLE
-------------------------------------------------- */

ol.is-style-list-type-1 {
   list-style: none;
   counter-reset: item;
   position: relative;
   margin: 0 0 0 30px;
 }
 .is-style-list-type-1 li {
    counter-increment: item;
    margin: 20px 0;
 }

 .is-style-list-type-1 li strong {
   font-family: 'Montserrat', sans-serif;
   font-size: 25px;
   font-weight: 700;
   color: var(--green);
 }


 .is-style-list-type-1 li:before {
   position: absolute;
   left: -30px;
   padding-top: 10px    ;
   content: counter(item) ".";
   font-family: 'Montserrat', sans-serif;
   font-size: 50px;
   font-weight: 700;
   color: var(--green);
   text-align: center;
   display: inline-block;
   width: 50px;
 }



/* References - SWIPER
-------------------------------------------------- */
.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper {
  width: 100%;
  padding-bottom: 40px; 
}

.slider-container {
  position: relative;
}

.swiper-button-next {
  right: -35px !important;
}
.swiper-button-prev {
  left: -35px !important;
}

.swiper-button-next,.swiper-button-prev {
    top: 110px !important;
    color: #000000 !important;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 30px !important;
}


/* 1. Basis-Einstellung für das letzte Element */
.swiper-slide.last-element {
    background-color: #f2f2f2; 
    display: flex;
    flex-direction: column;
    height: auto;          
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;         
}

/* 2. Zentrierung des Text-Wrappers über die gesamte verfügbare Höhe */
.swiper-slide.last-element .teaserelement-textwrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;    
    text-align: center;
}

/* 3. Styling für die große Zahl / das Plus */
.swiper-slide.last-element .highlight-number {
    font-size: 2rem;  
    font-weight: bold;
    color: #333333;  
    line-height: 1.2;
    margin-bottom: 5px;     
}

/* 4. Styling für das Wort "Projekte" */
.swiper-slide.last-element .highlight-text {
    font-size: 1.1rem;   
    letter-spacing: 1px;
    color: #666666;   
}

/* References - List
-------------------------------------------------- */

.teasercontainer {
  width: calc(100% - 30px);
  margin-left: 15px;
  margin-top: 15px;
  margin-bottom: 25px;
}

.teaserfirstline {
  display: flex;
    
}
.teasercontainer .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--lightgrey2);
  text-align: center;
  margin: 20px 15px 20px 0;
  font-size: 28px;
  font-weight: 800;
  padding-top: 15px;
}
.teasercontainer .circle.circleheading {
  padding-top: 0;
  background: var(--lightgreen2);
  color: var(--green);
}
.teasercontainer .circle span {
  width: 100%;
  margin-top: -40px;
  font-size: 15px;
  font-weight: 400;
}
.teaserelement-textwrapper {
  font-size: 16px;
  line-height: 1.4;
  padding: 10px 0 0 0;
}
.teaserelement-subtitle {
  color: var(--green);
}
.teaserelement-grey {
  background: var(--lightgrey2);
  height: 100%;
}