/* mail und telefon icons */
.mail-icon {
  width: 23px;
  position: absolute;
  top: 129px;
  left: 32px;
}

.telefon-icon {
  width: 23px;
  position: absolute;
  top: 164px;
  left: 84px;
}

/*------------------BILDER----------------*/
.bilder-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Spalten */
    gap: 10px; /* Abstand zwischen den Bildern */
    justify-items: center; /* Zentriert die Bilder innerhalb der Zellen */
}

.bilder-wrapper img {
    width: 100%; /* Bild füllt die gesamte Zelle */
    height: 200px; /* Einheitliche Höhe */
    object-fit: cover; /* Zuschneiden, damit alle Bilder gleich aussehen */
    border-radius: 5px; /* Abgerundete Ecken */
    transition: transform 0.3s ease-in-out;
}

.bilder-wrapper img:hover {
    transform: scale(1.05); /* Leichter Zoom-Effekt beim Hover */
}

.bilder-wrapper a {
    display: block;
    width: 100%; /* Link füllt die gesamte Zelle */
}


/*------------------------CTA 1------------------------*/

.info-m {
 padding: 12px 32px;
 color: var(--wws-dunkelgruen);
  font-size: 25px;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
  background-color: var(--wws-gelb);
 display: block;
position: relative;
	  clip-path: polygon(0 7%,49% 7%,49% 0, 100% 0, 100% 100%, 20% 100%, 20% 90%,0 90%);
}



.infobox-wrapper-m {
		display:none;
height: auto;
  width: 330px;
  margin-right: 9%;
  margin-left: auto;
  margin-top: 20px;
}



.infobox-wrapper2{display:none}


.infobox-wrapper, .infobox-wrapper2 {
  height: 4px;
  position: relative;
  width: 100%;
}

.infobox-wrapper2 a {
  text-decoration: none;
  color: white;
}




.infobox-wrapper .info {
	color: #1e351e;
  position: absolute;
  right: 1%;
  top: 210px;
  font-size: 25px;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
  background-color: var(--wws-gelb);
  padding: 0 22px;
  margin-left: -36px;
  clip-path: polygon(0 7%,49% 7%,49% 0, 100% 0, 100% 100%, 20% 100%, 20% 90%,0 90%);
}

.infobox-wrapper2 .info {
  position: absolute;
  right: 1%;
  top: 150px;
  font-size: 25px;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
 background-color: var(--wws-dunkelrot);
  padding: 0 22px;
  margin-left: -36px;
  clip-path: polygon(0 7%,49% 7%,49% 0, 100% 0, 100% 100%, 20% 100%, 20% 90%,0 90%);
}

.info-m strong, .info strong  {
  font-size: 35px;
  font-family: misrow;
  font-weight: 200;
  letter-spacing: 0.05em;
}



.info-m a,.info a {
  text-decoration: none;
  color: var(--wws-dunkelgruen);
}

@keyframes wobble-cta {
  0%   { transform: translateX(0); }
  15%  { transform: translateX(-4px) rotate(-1deg); }
  30%  { transform: translateX(3px) rotate(1deg); }
  45%  { transform: translateX(-2px) rotate(-0.5deg); }
  60%  { transform: translateX(1px) rotate(0.5deg); }
  75%  { transform: translateX(-1px); }
  100% { transform: translateX(0) rotate(0); }
}

.info {
  display: inline-block; /* wichtig für transform */
  transition: transform 0.3s ease;
}

.info:hover {
  animation: wobble-cta 0.6s ease;
}



/*-----------------------------Post-Header---------------------*/
.post-header {
display: flex;
  gap: 2rem;
  background-color: var(--wws-hellgruen);
  height: 150px;
  padding: 2rem;
  color: white;
	  align-items: center;        
justify-content: space-between;
	  padding: 0 10%;
}

.post-header .img-wrapper {
  position: relative;
width: 500px;
  height: 300px;
  flex-shrink: 0;
}

/*
.post-header .img-wrapper::before {
  content: '';
  position: absolute;
top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background-color: white; 
  clip-path: polygon(6px 4px, 97.4% 4px, 93.86% 93.24%, 8.98% 92.59%);
  z-index: 1;
}
*/

.post-header img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.2s ease;
  z-index: 2;
	
}

/*
.post-header img:hover {
  transform-origin: top right;
  transform: scale(2);
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
	border:10px solid white;
}
*/


.post-header h2 {
  font-size: 2.5rem;
  margin: 0;
background-color: white;
  padding: 10px 20px;
  clip-path: polygon(2px 4px, 98.72% 2px, 99.82% 93.24%, 0.98% 91.18%);
	color:var(--wws-dunkelgruen);

}


/*-----------------------------TEXT-BLÖCKE---------------------*/
.text-block1 em {
  font-weight: 100;
  font-size: 30px;align-content
}

.text-block1 {
  width: 70%;
  padding: 3% 3%;
  max-width: 1100px;
  margin-left: 7%;
  text-align: left;
}

.text-block2 {
  width: 100%;
  padding: 3% 3% 1.5% 3%;
  max-width: 1410px;
  margin: 0 auto;
  text-align: center;
}




.text-block p, .text-block a{
 font-size: 25px;
  font-family: Source Sans Pro;
  font-weight: 600;
  letter-spacing: 0.020em;
  line-height: 143%;
 text-decoration: none;
 
	transition:0.1s;
}
.text-block p{ color: var(--wws-dunkelgruen);}
.text-block a strong{color:var(--wws-tuerkis);}
.text-block a {font-weight:bold;color: var(--wws-dunkelgruen);}

.text-block a strong:hover, .text-block a:hover{
color: var(--wws-dunkelrot);
}


.text-block strong {
  font-family: Misrow;
  font-weight: normal;
  font-size: 36px;
  letter-spacing: 1.7px;
}

/*-----------------------------TEXT-BLÖCKE2---------------------*/
.text-block h4 {
  font-size: 43px;
  margin-top: 50px;
  margin-left: 44px;
  letter-spacing: 3px;
  font-weight: normal;
  margin-bottom: 0px;
}

.text-block h4 + p {
margin-top: 13px;
  margin-bottom: 0px
}


.bild-container {  flex: 1 1 31%!important;  max-width: 31%!important;}	

/*----------Responsiv ----------*/


@media (max-width: 575.98px) {
	#primary {  margin-top: 230px;}
	.post-header {height:110px;padding: 4%;}
	.post-header h2 { z-index:1; font-size: 30px;}
	.text-block p, .text-block a, .text-block strong { font-size: 18px;}
		.text-block h4 {font-size: 24px;}
		.post-header .img-wrapper {z-index:0;  width: 280px;    height: 196px;    position: absolute;   top: 176px;    right: 0px;    overflow: hidden;}
	.post-header img { left: 50px;}
	.text-block{overflow-wrap: break-word;width: 90%;    margin: auto;}
		.info-m strong { font-size: 30px;}
  	.info-m p { font-size: 23px;}
	.infobox-wrapper {display:none}
.infobox-wrapper-m{display: block; width:300px}
.bild-container {  flex: 1 1 80%!important;  max-width: 80%!important;}
		.mail-icon { top: 127px; left: 42px;}	
	.telefon-icon {top: 158px;    left: 93px;	}
	
}


@media (min-width: 576px) and (max-width: 767.98px) {
	#primary {  margin-top: 280px;}	
		.post-header .img-wrapper {  width: 280px;height: 196px;}

	.post-header {height: 80px;padding: 4%;padding-left: 10%;}
	.post-header h2 {  font-size: 26px;}
	.text-block p, .text-block a, .text-block strong { font-size: 18px;}
	.text-block h4 {font-size: 24px;}
.text-block{overflow-wrap: break-word;width: 90%;    margin: auto;}
		.info-m strong { font-size: 30px;}
  	.info-m p { font-size: 23px;}
	.infobox-wrapper {display:none}
.infobox-wrapper-m{display: block;}
	.bild-container {  flex: 1 1 48%!important;  max-width: 48%!important;}
		.mail-icon { top: 127px; left: 72px;}	
	.telefon-icon {top: 158px;    left: 123px;	}
	
}

@media (min-width: 768px) and (max-width: 991.98px) {
	#primary {  margin-top: 280px;}
	.post-header .img-wrapper {  width: 330px;}
	.post-header { height: 104px;padding: 4%;padding-left: 10%;}
	.post-header h2 {  font-size: 34px;}
		.text-block p, .text-block a, .text-block strong { font-size: 25px;}
	  .text-block h4 {font-size: 38px;}
.text-block{overflow-wrap: break-word;width: 90%;    margin: auto;}
	
		.info-m strong { font-size: 30px;}
  	.info-m p { font-size: 23px;}
	.infobox-wrapper {display:none}
	.infobox-wrapper-m{display: block;}
	.mail-icon { top: 127px; left: 72px;}	
	.telefon-icon {top: 158px;    left: 123px;	}
	

}

@media (min-width: 992px) and (max-width: 1199.98px) {

	.post-header {height: 154px;}
	.post-header h2 {  font-size: 34px;}
	.text-block1 {  width: 70%;}
	
	.info strong { font-size: 25px;}
	.info p { font-size: 21px;margin: 17px 0px;padding-left: 9px;}
	
	.mail-icon { top: 98px; left: 9px;	width:19px;}	
	.telefon-icon {top: 127px;    left: 50px;	width:19px;}
	
}


@media (min-width: 1200px) and (max-width: 1399.98px) {
		
	.post-header h2 {  font-size: 38px;}
	.text-block1 {  width: 70%;}
	
	.info strong { font-size: 30px;}
	.info p { font-size: 23px;}
	.mail-icon { top: 115px;  left: 14px;}	
	.telefon-icon {  top: 146px;  left: 62px;}
}


	