html ul li p{
	font-size:0.9em !important;
}
.maincontent .content, .action .content{
	padding:30px;
}

section.maincontent .columns.action .content a h5 {
  hyphens: auto;
  word-wrap: break-word;
}

.orbit-container .orbit-slides-container > * .orbit-caption {
  padding-top: 10%;
}
.orbit-caption .bigbox h2 .orbit-caption-header{
	line-height:100%;
}

.orbit-caption .bigbox h2 .clear {
  text-shadow: 0 0 10px #000 !important;
}

.orbit-container .imagepart, .orbit-container img, .orbit-container .orbit-slides-container{
  background-color: #000 !important;
}
.orbit-container .imagepart img, .orbit-container img img, .afs-orbit video{
  opacity: 0.7;
}

.orbit-caption .bigbox .orbit-caption-teaser .orbit-caption-teaser-text {
  	font-size:1.2em !important;
	}

/* Medium Screens (bis 1100px) */
@media (max-width: 1100px) {
    .orbit-caption .bigbox .orbit-caption-teaser .orbit-caption-teaser-text {
  	font-size:1.0em !important;
	}
}

/* Small Screens (bis 768px) */
@media (max-width: 768px) {
    .orbit-caption .bigbox .orbit-caption-teaser .orbit-caption-teaser-text, .orbit-caption-small {
  		font-size:0.9em !important;
	}
	.orbit-caption-small-link{
		font-size:1em !important;
  		background-color: #4aa82c;
		border:0 !important;
		padding:1.4em;
	}
	.orbit-caption-small-link a{
		font-size:1em !important;
	}
	.orbit-caption-small-link a:hover{
		color:#4aa82c !important;
	}
.smallbox h1{
	color:#4aa82c;
	font-size:1em;
}

}

.top-bar .toggle-topbar.menu-icon a span::after {
  content: "";
  display: block;
  height: 0;
  position: absolute;
  margin-top: -8px;
  top: 50%;
  right: 1.0416666667rem;
  box-shadow: 0 0 0 1px #000,0 7px 0 1px #000,0 14px 0 1px #000;
  width: 16px;
}

.top-bar .toggle-topbar.menu-icon a {
  color: #000000;
  line-height: 33px;
}

/*
header .mobile .hide-for-medium{
	  margin-top: -75px;
}
*/
.show-for-medium .middle{
display:none;
}

.tablet-menu {
  margin-top: -75px;
  background: transparent !important;
}

.tablet-menu .tab-bar{
	background:transparent !important;
}

.tablet-menu .middle{
	display:none;
}
.tablet-menu .right-small{
	border:0 !important;
}

.orbit-container .imagepart{
transform:scale(1.05) !important;
margin-left: 2.5vw;
}

.cta-button {
      display: inline-block;
      padding: 10px 20px;
      font-size: 16px;
      color: #fff;
      background-color: #4CAF50; /* Standard-Grün */
      text-decoration: none;
      border-radius: 5px;
      transition: background-color 0.3s ease;
    }
    .cta-button:hover {
      background-color: #45a049; /* Dunkleres Grün für Hover-Effekt */
    }


.kacheln .teaserbox .caption .caption-overlay .news-list-morelink a{
	color: #ffffff;
	font-size:0.9em;
}

/* Container für Kacheln */
.kacheln {
  /* falls nötig, padding / margin resetting */
}

/* Teaserbox Grundstruktur */
.kacheln .teaserbox {
  position: relative;
  overflow: hidden;
  perspective: 800px; /* für 3D-Effekt */
}

/* 3D-Container */
.kacheln .caption {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

/* Bild & Titel-Overlay vorne */
.kacheln .caption-media {
  position: relative;
  z-index: 2;
  transform-origin: top center;
  transition: transform 0.6s ease;
}

.kacheln .caption-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  backface-visibility: hidden;
}

/* Headline als Overlay vorne */
.kacheln .caption-title-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
height:100%;
  background: rgba(0,0,0,0.5);
  padding: 2rem 2rem;
  box-sizing: border-box;
  z-index: 3;
}

.kacheln .caption-title-overlay .caption-title {
  margin: 0;
  font-size: 1.25rem;
  color: #fff;
}

/* Rückseite / Overlay mit Inhalt */
.kacheln .caption-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  color: #fff;
  transform: rotateX(-90deg);
  transform-origin: top center;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
  z-index: 1;
}

/* Hover-Effekt Desktop */
@media (hover: hover) {
  .kacheln .teaserbox:hover .caption-media {
    transform: rotateX(90deg);
  }
  .kacheln .teaserbox:hover .caption-overlay {
    transform: rotateX(0);
  }
}

/* Text & Button im Overlay */
.kacheln .caption-text p {
  margin: 0 0 1rem;
  color: #fff;
}

.kacheln .morelink a {
  background: #61B400;
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  display: inline-block;
}

/* Mobile: Kein Flip, alles sofort sichtbar */
@media (max-width: 768px) {
  .kacheln .caption {
    transform: none !important;
  }
  .kacheln .caption-media {
    transform: none !important;
  }
  .kacheln .caption-overlay {
    transform: none !important;
    position: absolute;
    top: 0;
    z-index: 3;
    background: rgba(0,0,0,0.6);
  }
  .kacheln .caption-title-overlay {
    bottom: auto;
    top: 0;
  }
}

.kacheln .teaserbox {
  position: relative;
  overflow: hidden;
  perspective: 900px;
}

.kacheln .teaserbox .caption {
  position: relative;
  transform-style: preserve-3d;
}

/* VORDERSEITE – Bild & Headline */
.kacheln .caption-media {
  display: block;
  min-width: 100%;
  height: auto;
  transition: all 0.8s cubic-bezier(.33,-0.08,.63,1.31);
  transform-origin: 50% 0%;
  position: relative;
  z-index: 2;
}

.kacheln .caption-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.kacheln .caption-title-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem 1.5rem;
  box-sizing: border-box;
  z-index: 3;
}

.kacheln .caption-title-overlay h2 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0;
  font-weight: 400;
}

/* RÜCKSEITE – Overlay */
.kacheln .caption-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: rgba(30,30,30,0.9);
  color: #fff;

  transform: translate3d(0, 0, -220px) rotate3d(1, 0, 0, 90deg);
  transform-origin: 50% 0%;
  transition: all 0.8s cubic-bezier(.33,-0.08,.63,1.31);
  z-index: 1;
  opacity: 0;

  display: block;
  text-align: center;
}

.kacheln .caption-text p {
  font-size: 1em;
  color: #fff;
}

.kacheln .caption-text h2 {
  display: none; /* HEADLINE nur vorne anzeigen */
}

.kacheln .morelink {
  width: 100%;
  background: rgba(0,0,0,0.3);
  color: #ffffff;
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 1em;
  transition: background 0.6s linear;
}

.kacheln .morelink a {
  color: #ffffff;
  background: #61B400;
  padding: 0.5em 1.2em;
  border-radius: 3px;
  text-decoration: none;
}

.kacheln .morelink:hover {
  background: rgba(0,0,0,0.6);
}

/* HOVER-EFFEKT (Desktop only) */
@media (hover: hover) {
  .kacheln .teaserbox:hover .caption-media {
    transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    opacity: 0;
  }

  .kacheln .teaserbox:hover .caption-overlay {
    transform: rotate3d(1,0,0,0deg);
    opacity: 1;
  }
}

/* MOBILE: KEIN FLIP, OVERLAY SICHTBAR */
@media (max-width: 768px) {
  .kacheln .morelink {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1.5rem;
    text-align: center;
  }

  .kacheln .caption-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 1rem;
  }

  .kacheln .caption-text {
    margin-bottom: 1rem;
  }
}
/* Auf Touch-Geräten: keine Animation, alles sichtbar */
@media (hover: none), (pointer: coarse) {
  .kacheln .caption-media {
    transform: none !important;
  }

  .kacheln .caption-overlay {
    transform: none !important;
    opacity: 1 !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background: rgba(0,0,0,0.6);
  }

  .kacheln .caption-title-overlay {
    top: 0;
    bottom: auto;
  }

  .kacheln .morelink {
    position: relative;
    margin-top: 1.5rem;
    text-align: center;
  }

  .kacheln .caption {
    transform: none !important;
  }
}
.news-single-item {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem auto;
  max-width: 1200px;
  gap: 2rem;
}

.news-content-wrapper {
  flex: 1 1 65%;  /* Hauptbereich */
  min-width: 300px;
}

.news-sidebar {
  flex: 1 1 30%;  /* Sidebar für grüne Box */
  min-width: 250px;
}

.ns-images img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 2rem;
}

.ns-body p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.news-single-backlink {
  width: 100%;
  text-align: center;
  margin-top: 3rem;
}
.ns-header {
  position: static !important;
  top: auto !important;
}
@media (max-width: 768px) {
  .kacheln .caption-overlay {
    /* Stelle sicher, dass Inhalt gestapelt wird */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* oder center, je nach gewünschter Optik */
    align-items: flex-start;
    padding: 1.5rem;
  }

  .kacheln .caption-text {
    width: 100%;
  }

  .kacheln .morelink {
    position: static;
    margin-top: 1rem;
    width: 100%;
    text-align: left;
  }

  .kacheln .morelink a {
    display: inline-block;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    white-space: nowrap;
  }
}

/* Button / „mehr“-Link */
.teaserbox .morelink {
  position: relative;  /* nicht absolute/fixed in mobile View */
  margin-top: 1rem;    /* sorgt Abstand zum Text */
  z-index: 2;          /* liegt über Overlay, aber nicht über anderen Texten */
}
/* Overlay/Caption-Bereich */
.teaserbox .caption-overlay {
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 1rem;
  /* kein z-index oder niedrig */
  z-index: 1;
}

/* Nur in einem Bereich, wo nötig */
.teaserbox .caption-text * {
  z-index: auto;
  position: relative;
}

/* Mobile-Spezial: alles normal stapeln */
@media (max-width: 768px) {
  .teaserbox .morelink {
    position: relative !important;
    bottom: auto;
    right: auto;
  }
  .teaserbox .caption-title-overlay,
  .teaserbox .caption-overlay {
    position: relative;
  }

}
@media (max-width: 768px), (hover: none), (pointer: coarse) {
  .kacheln .teaserbox .caption {
    transform: none !important;
  }

  .kacheln .caption-media {
    transform: none !important;
    opacity: 1 !important;
  }

  .kacheln .caption-overlay {
    transform: none !important;
    opacity: 1 !important;
    z-index: 2 !important;
    position: relative !important;
    background: rgba(0, 0, 0, 0.6) !important;
  }

  .kacheln .caption-title-overlay {
    position: relative !important;
    z-index: 3 !important;
  }

  .kacheln .morelink {
    position: relative !important;
    z-index: 4 !important;
    text-align: center;
    margin-top: 1rem;
  }
}
