/* ================================
CSS-Angaben für Templates (Header, Footer, etc.)
================================= */

/* HEADER A */
.header-a-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-a-layout .header-left {
  display: none;
}

/* HEADER B */
.header-b-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.header-b-layout .main-navigation {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}
.header-b-layout .nav--main {
  display: flex;
  gap: 1.5rem;
  text-align: right;
}
.header-b-layout .header-left {
  display: none;
}

/* HEADER C */
.header-c-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.header-c-layout .main-navigation {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}
.header-c-layout .header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-c-layout .header-search .search-form {
  display: flex;
  align-items: center;
}
.header-c-layout .search-field {
  display: none;
}
.header-c-layout .search-submit {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: inherit;
}

/* HEADER D */
.header-d-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-d-layout .header-left {
  flex: 0 0 auto;
}
.header-d-layout .header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  flex: 1;
}
.header-d-layout .main-navigation {
  text-align: right;
}
.header-d-layout .header-search .search-form {
  display: flex;
  align-items: center;
}
.header-d-layout .search-field {
  display: none;
}
.header-d-layout .search-submit {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 1.25rem;
  color: inherit;
}

/* HEADER E */
.header-e-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-e-layout .header-search {
  margin-left: auto;
}
.header-e-layout nav {
  margin-left: 40px;
}

/* HEADER F */
.header-f-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-small, 16px);
}
.nav--center {
  flex-grow: 1;
  justify-content: center;
  display: flex;
}

/* HEADER G */
.header-g {
  padding: 0;
}
.header-g .header-top {
  padding: var(--space-large) 0;
  padding: var(--header-padding-top, 32px) var(--header-padding-right, 0px) var(--header-padding-bottom, 32px) var(--header-padding-left, 0px);
}
.header-g .header-top .wrapper,
.header-g .header-bottom .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.header-g .header-top .part-logo {
  flex: 0 0 auto;
}
.header-g .header-top .header-cta {
  flex: 0 0 auto;
  text-align: right;
}
.header-g .header-top .part-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
  white-space: nowrap;
}
.header-g .header-bottom {
  background-color: var(--color-secondary-c);
  padding: calc(var(--header-padding-top, 32px) / 2) calc(var(--header-padding-right, 0px) / 2)
           calc(var(--header-padding-bottom, 32px) / 2) calc(var(--header-padding-left, 0px) / 2);
}
.header-g .header-bottom .header-contact-info {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-g .header-bottom .header-right-side {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
}
.header-g .header-bottom .header-right-side .header-social {
  margin-right: 24px;
}

/* HEADER H */
.header-h .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-small, 16px) 0;
}
.header-h .header-left,
.header-h .header-right {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-h .header-center {
  width: 33.33%;
  text-align: center;
}


/* HEADER I */
.header-i .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-small, 16px) 0;
}
.header-i .header-left,
.header-i .header-right {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-i .header-center {
  width: 33.33%;
  text-align: center;
}
.header-i .header-right .header-social {
  margin-right: 24px;
}





.layout-news-a .news-item,
.layout-news-b .news-item {
  display: flex;
  flex-direction: column;
}

/* NEWS A: Dreispaltiges Layout */
.layout-news-a .news-grid,
.layout-news-c .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--space-base) * 3);
}

/* NEWS B: Zweispaltiges Layout */
.layout-news-b .news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(var(--space-base) * 3);
}

/* NEWS C: Dreispaltiges Layout mit Highlight */
.layout-news-c .news-item.is-highlight {
  grid-column: 1/4;
  display: flex;
  flex-wrap: wrap;
  background-color: var(--color-secondary-a);
  border-radius: calc(var(--space-base) * 2);
  align-items: flex-start;
  overflow: hidden;
}
.layout-news-c .news-item.is-highlight .news-thumb {
  flex: 1 1 50%;
  max-width: 50%;
  margin: 0;
}
.layout-news-c .news-item.is-highlight .news-content {
  flex: 1 1 50%;
  max-width: 50%;
  padding: calc(var(--space-base) * 5);
  box-sizing: border-box;
}
.layout-news-c .news-item.is-highlight .news-content {
  color: #fff;
}
.layout-news-c .news-item.is-highlight .news-meta time {
  color: rgba(255,255,255,.75);
}
.layout-news-c .news-item.is-highlight .news-thumb img {
  border-top-left-radius: calc(var(--space-base) * 2);
  border-bottom-left-radius: calc(var(--space-base) * 2);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* SIDEBAR LAYOUTS */
.layout-news-d .inner-wrapper,
.layout-news-e .inner-wrapper {
  display: flex;
  gap: calc(var(--space-base) * 4);
}

.layout-news-d .sidebar-inner-wrapper {
  width: calc(34% - calc(var(--space-base) * 2));
}

.layout-news-e .sidebar-inner-wrapper {
  width: calc(67% - calc(var(--space-base) * 2));
}


/* NEWS D: Elemente untereinander, 66% Seitenbreite */
.layout-news-d .news-grid-wide,
.layout-news-e .news-grid-narrow {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.layout-news-d .news-inner-wrapper {
  max-width: 66%;
  width: 100%;
}
.layout-news-d .news-item,
.layout-news-e .news-item {
  display: flex;
  flex-wrap: nowrap;
  background-color: var(--color-secondary-b);
  border-radius: calc(var(--space-base) * 2);
  align-items: stretch;
  overflow: hidden;
  margin-bottom: calc(var(--space-base) * 3);
}
.layout-news-d .news-item .news-thumb,
.layout-news-e .news-item .news-thumb {
  flex: 1 1 25%;
  max-width: 25%;
  margin: 0;
  display: flex;
}
.layout-news-d .news-thumb a,
.layout-news-d .news-thumb img,
.layout-news-e .news-thumb a,
.layout-news-e .news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layout-news-d .news-item .news-thumb img {
  border-top-left-radius: calc(var(--space-base) * 2);
  border-bottom-left-radius: calc(var(--space-base) * 2);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.layout-news-d .news-item .news-content,
.layout-news-e .news-item .news-content {
  flex: 1 1 75%;
  max-width: 75%;
  padding: calc(var(--space-base) * 3);
  box-sizing: border-box;
}

/* NEWS E: Elemente untereinander, 33% Seitenbreite */
.layout-news-e .news-inner-wrapper {
  max-width: 33%;
  width: 100%;
}
.layout-news-e .news-item {
  display: flex;
  align-items: center;
  background-color: var(--color-secondary-b);
  border-radius: calc(var(--space-base) * 2);
  overflow: hidden;
  margin-bottom: calc(var(--space-base) * 3);
}
.layout-news-e .news-item .news-thumb {
  flex: 0 0 auto;
  width: auto;
  aspect-ratio: 1 / 1;
  height: 100%;
  display: flex;
  max-width: 33.33%;
}
.layout-news-e .news-item .news-thumb a,
.layout-news-e .news-item .news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layout-news-e .news-item .news-content {
  max-width: 66.66%;
  flex: 1;
  padding: calc(var(--space-base) * 1.5) calc(var(--space-base) * 3);
}
.layout-news-e .news-item .news-title {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  margin: 0;
  color: var(--h3-color);
  font-weight: var(--h3-font-weight);
}
.layout-news-e .news-item .news-meta {
  margin: 0;
}
.layout-news-e .news-item .news-meta * {
  font-size: .75rem;
  text-transform: uppercase;
}


/* HERO A */
.hero-layout-a {
  height: 100vh;
  position: relative;
}
.hero-layout-a .hero-image-wrapper {
  width: 100%;
  height: 430px;
  position: absolute;
  overflow: hidden;
  border-radius: calc(var(--space-base) * 2);
}
.hero-layout-a .hero-image-wrapper img {
  max-width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.hero-layout-a .hero-content {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  height: calc(100% - 430px);
  padding: 0 0 calc(var(--space-base) * 8) 0;
}
.hero-layout-a .hero-title {
  width: 65%;
  font-size: 100px;
  line-height: 110px;
  font-weight: 600;
  text-transform: none;
  margin: 0;
}
.hero-layout-a .hero-link {
  width: 35%;
  text-align: right;
  font-size: 26px;
}


/* HERO B */
.hero-layout-b {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: row;
  padding-top: calc(var(--space-base) * 6);
}
.hero-layout-b .hero-image-wrapper,
.hero-layout-b .hero-content {
  width: 50%;
}
.hero-layout-b .hero-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--space-base) * 2);
}
.hero-layout-b .hero-image-wrapper img {
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.hero-layout-b .hero-content {
  padding: 0 calc(var(--space-base) * 8) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  font-size: 26px;
  line-height: 36px;
}
.hero-layout-b .hero-title {
  font-size: 48px;
  line-height: 54px;
  font-weight: 600;
  text-transform: none;
  margin: 0 0 calc(var(--space-base) * 3) 0;
}
.hero-layout-b .hero-link {
  width: 100%;
  font-size: 26px;
  margin: calc(var(--space-base) * 3) 0 0 0;
}


/* HERO C */
.hero-layout-c {
  position: relative;
  display: flex;
  flex-direction: row;
  padding-top: calc(var(--space-base) * 6);
}
.hero-layout-c .hero-image-wrapper {
  width: 56%;
  position: relative;
  overflow: hidden;
  height: 550px;
  border-radius: calc(var(--space-base) * 2);
}
.hero-layout-c .hero-image-wrapper img {
  min-height: 550px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.hero-layout-c .hero-content {
  width: 44%;
  padding: 0 0 0 calc(var(--space-base) * 4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 26px;
  line-height: 36px;
}
.hero-layout-c .hero-title {
  font-size: 48px;
  line-height: 54px;
  font-weight: 600;
  text-transform: none;
  margin: 0 0 calc(var(--space-base) * 3) 0;
}
.hero-layout-c .hero-link {
  width: 35%;
  font-size: 26px;
  margin: calc(var(--space-base) * 3) 0 0 0;
}


/* HERO D */
.section-hero.swiper {
  width: 100%;
  height: 100%;
}
.hero-layout-d.hero_folien_layout_a .hero-slider-navigation {
  position: absolute;
  bottom: 17%;
  transform: translateX(-50%);
  left: 50%;
  z-index: 999;
  width: 100%;
}
.hero-layout-d.hero_folien_layout_a .hero-slider-navigation .swiper-button-next,
.hero-layout-d.hero_folien_layout_a .hero-slider-navigation .swiper-button-prev {
  color: var(--color-secondary-a);
  background-color: #fff;
  width: 50px;
  height: 50px;
  padding: 17px 0;
  text-align: center;
  border-radius: var(--space-base);
}
.hero-layout-d.hero_folien_layout_a .hero-slider-navigation .swiper-button-next:after,
.hero-layout-d.hero_folien_layout_a .hero-slider-navigation .swiper-button-prev:after {
  font-size: 18px;
}
.hero-layout-d.hero_folien_layout_a .hero-slider-navigation .swiper-button-prev {
  left: unset;
  right: calc(50px + calc(var(--space-base) * 2));
}
.hero-layout-d.hero_folien_layout_a .hero-slider-folie {
  background-position: center;
  background-size: cover;
}
.hero-layout-d.hero_folien_layout_a .hero-slider-folie img {
  display: block;
  width: 100%;
}
.hero-layout-d.hero_folien_layout_a .hero-slider-folie .wrapper {
  height: 100%;
  display: flex;
  align-items: end;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.hero-layout-d.hero_folien_layout_a .hero-slider-folie .hero-slider-content {
  max-width: 60%;
  font-size: 26px;
  line-height: 36px;
  position: relative;
  bottom: 15%;
}
.hero-layout-d.hero_folien_layout_a .hero-slider-folie .hero-slider-title {
  font-size: 70px;
  line-height: 80px;
  font-weight: 600;
  text-transform: none;
  margin: 0 0 calc(var(--space-base) * 4) 0;
}
.hero-layout-d.hero_folien_layout_a .hero-slider-folie .hero-slider-text {
  display: block;
}
.hero-layout-d.hero_folien_layout_a .hero-slider-folie .hero-slider-link {
  font-size: 26px;
  line-height: 36px;
  margin: calc(var(--space-base) * 3) 0 0 0;
  display: block;
}



.hero-layout-d.hero_folien_layout_b .hero-slider-navigation {
  position: absolute;
  top: 15%;
  transform: translateX(-50%);
  left: 50%;
  z-index: 999;
  width: 100%;
}
.hero-layout-d.hero_folien_layout_b .hero-slider-navigation .swiper-button-next,
.hero-layout-d.hero_folien_layout_b .hero-slider-navigation .swiper-button-prev {
  color: var(--color-secondary-a);
  background-color: #fff;
  width: 50px;
  height: 50px;
  padding: 17px 0;
  text-align: center;
  border-radius: var(--space-base);
}
.hero-layout-d.hero_folien_layout_b .hero-slider-navigation .swiper-button-next:after,
.hero-layout-d.hero_folien_layout_b .hero-slider-navigation .swiper-button-prev:after {
  font-size: 18px;
}
.hero-layout-d.hero_folien_layout_b .hero-slider-navigation .swiper-button-prev {
  left: unset;
  right: calc(50px + calc(var(--space-base) * 2));
}
.hero-layout-d.hero_folien_layout_b .hero-slider-folie {
  background-position: center;
  background-size: cover;
}
.hero-layout-d.hero_folien_layout_b .hero-slider-folie img {
  display: block;
  width: 100%;
}
.hero-layout-d.hero_folien_layout_b .hero-slider-folie .wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: start;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.hero-layout-d.hero_folien_layout_b .hero-slider-folie .hero-slider-content {
  max-width: 60%;
  font-size: 26px;
  line-height: 36px;
  position: relative;
  top: 10%;
}
.hero-layout-d.hero_folien_layout_b .hero-slider-folie .hero-slider-title {
  font-size: 70px;
  line-height: 80px;
  font-weight: 600;
  text-transform: none;
  margin: 0 0 calc(var(--space-base) * 4) 0;
}
.hero-layout-d.hero_folien_layout_b .hero-slider-folie .hero-slider-text {
  display: block;
}
.hero-layout-d.hero_folien_layout_b .hero-slider-folie .hero-slider-link {
  font-size: 26px;
  line-height: 36px;
  margin: calc(var(--space-base) * 3) 0 0 0;
  display: block;
}


.swiper-thumbnails {
  position: absolute !important;
  bottom: 0;
  z-index: 9999 !important;
  width: 100%;
}
.swiper-thumbnails.wrapper {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}
.swiper-thumbnails .hero-slider-folie .wrapper {
  align-items: end;
}
.swiper-thumbnails .hero-slider-folie .hero-slider-content {
  max-width: 100% !important;
  background-color: transparent;
  padding: calc(var(--space-base) * 6) calc(var(--space-base) * 4) calc(var(--space-base) * 6) calc(var(--space-base) * 4);
  position: absolute !important;
  top: unset !important;
  bottom: 0% !important;
}
.swiper-thumbnails .hero-slider-folie.swiper-slide-thumb-active .hero-slider-content {
  background-color: var(--color-secondary-a);
}
.swiper-thumbnails .hero-slider-folie .hero-slider-content > * {
  color: #fff !important;
}
.swiper-thumbnails .hero-slider-folie .hero-slider-title {
  border-top: 1px solid var(--color-secondary-c);
  padding-top: calc(var(--space-base) * 3);
  margin-bottom: calc(var(--space-base) * 2) !important;
  font-size: 22px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}
.swiper-thumbnails .hero-slider-folie .hero-slider-text {
  font-size: 18px !important;
  line-height: 24px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  color: var(--color-secondary-c) !important;
}


/* HERO E */
.hero-layout-e {
  position: relative;
  margin-bottom: calc(var(--space-base) * -10);
}
.hero-layout-e .hero-image-wrapper {
  width: 100vw;
  max-width: 1920px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  height: calc(100vh - var(--header-height, 120px));
  overflow: hidden;
}
.hero-layout-e .hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-layout-e .hero-content {
  position: absolute;
  left: calc(var(--space-base) * 4);
  bottom: 0;
  width: 75%;
  padding: calc(var(--space-base) * 8);
  background-color: rgb(230, 243, 246);
}
.hero-layout-e .hero-kicker {
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  color: var(--color-primary);
  margin: 0 0 calc(var(--space-base) * 1) 0;
}
.hero-layout-e .hero-title {
  font-size: 36px;
  line-height: 48px;
  font-weight: 400;
  text-transform: none;
  color: var(--color-primary);
  margin: 0 0 calc(var(--space-base) * 2) 0;
}
.hero-layout-e .hero-text {
  font-size: 26px;
  line-height: 36px;
  margin: 0 0 calc(var(--space-base) * 2) 0;
}
.hero-layout-e .hero-text p:last-child {
  margin-bottom: 0;
}
.hero-layout-e .hero-link {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.35em;
  color: var(--color-secondary-b);
  font-weight: 600;
  font-size: 26px;
  line-height: 36px;
}
.hero-layout-e .hero-link:hover {
  color: var(--color-secondary-b);
}


.footer-top {}
.footer-devider {}
.footer-bottom {}

.footer-contact {}
.footer-sections {}
.footer-social-nav {}
.footer-nav {}

.footer-a {}
.footer-b {}
.footer-c {}
.footer-d {}


.footer-sections h3 {
  color: var(--color-secondary-a);
  font-weight: 300;
  text-transform: uppercase;
}
.footer-devider {
  width: 100%;
  margin: calc(var(--space-base) * 4) 0;
}
.footer-devider hr {
  background-color: var(--color-secondary-a);
  height: 2px;
  outline: 0;
  border: 0;
}
.footer-contact-info {
  margin-top: calc(var(--space-base) * 3);
}
.footer-contact-info .contact-line,
.footer-contact-info .contact-line a {
  display: block;
  color: var(--color-secondary-a);
}
.footer-meta {
  display: inline-block;
  color: var(--footer-meta-color, inherit);
}
.footer-meta a {
  color: var(--color-primary);
}
.footer-meta * {
  display: inline;
}
.footer-menu {
  list-style: none;
}
.footer-menu li a {
  color: var(--footer-menu-color, var(--color-secondary-a));
  font-weight: var(--footer-menu-font-weight, 600);
}




.footer-a .footer-top,
.footer-b .footer-top,
.footer-c .footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--space-base) * 2);
}
.footer-a .footer-top .footer-sections,
.footer-c .footer-top .footer-sections {
  grid-column: 2 / 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--space-base) * 2);
}
.footer-b .footer-top .footer-sections {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(var(--space-base) * 2);
}
.footer-a .footer-bottom,
.footer-c .footer-bottom {
  display: flex;
}
.footer-b .footer-bottom {
  text-align: center;
}
.footer-a .footer-bottom .footer-menu,
.footer-c .footer-bottom .footer-menu {
  margin-left: auto;
}
.footer-a .footer-bottom .footer-menu li a,
.footer-c .footer-bottom .footer-menu li a {
  color: var(--footer-menu-color, var(--color-secondary-a));
}



.footer-c .footer-devider {
  margin: calc(var(--space-base) * 8) 0 calc(var(--space-base) * 2);
}
.footer-c .header-social {
  display: table;
  margin-left: auto;
  margin-right: auto;
}
.footer-c .header-social li {
  display: table-cell;
  padding: 0 5px;
  position: relative;
  top: -15px;
}


.footer-d .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-base, 16px);
}






/* layout-veranstaltungen_layout_a */
.section-events.layout-veranstaltungen_layout_a .em-item .em-item-image {
  grid-column: 4 / 10;
  grid-row: 1 / 3;
  overflow: hidden;
  position: relative;
  margin: calc(var(--space-base) * 2) 0;
  min-height: 220px;
}
.section-events.layout-veranstaltungen_layout_a .em-item .em-item-image img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.section-events.layout-veranstaltungen_layout_a .em-item .em-item-content {
  grid-column: 10 / 20;
  grid-row: 1 / 3;
  padding: calc(var(--space-base) * 2) 0;
  align-content: center;
}
.section-events.layout-veranstaltungen_layout_a .em-item .em-item-meta-time {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
  padding: calc(var(--space-base) * 2);
  padding-right: 0;
  text-align: center;
  align-content: center;
}
.section-events.layout-veranstaltungen_layout_a .em-event-day {
  font-size: 42px;
  line-height: 56px;
  color: var(--color-primary);
}
.section-events.layout-veranstaltungen_layout_a .em-event-month {
  background-color: var(--color-secondary-a);
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
  padding: 4px 20px;
  display: inline-block;
  border-radius: 4px;
}
.section-events.layout-veranstaltungen_layout_a .em-event-time {
  margin: 8px 0 12px;
  font-size: 16px;
  line-height: 22px;
}
.section-events.layout-veranstaltungen_layout_a .em-item .em-event-location {
  display: none;
}
.section-events.layout-veranstaltungen_layout_a .em-item .em-item-taxonomy {
  grid-column: 20 / 21;
  grid-row: 1 / 3;
  align-content: center;
  background-color: var(--color-primary);
  position: relative;
}
.section-events.layout-veranstaltungen_layout_a .em-item ul.event-categories {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
}
.section-events.layout-veranstaltungen_layout_a .em-item ul.event-categories li {
  transform: rotate(-90deg);
  text-align: center;
}
.section-events.layout-veranstaltungen_layout_a .em-item ul.event-categories li a {
  color: var(--color-secondary-a);
}


/* layout-veranstaltungen_layout_b */
.section-events.layout-veranstaltungen_layout_b .em-item {
  background-color: inherit;
  grid-template-rows: unset;
}

.section-events.layout-veranstaltungen_layout_b .em-item .em-item-image {
  display: none;
}
.section-events.layout-veranstaltungen_layout_b .em-item .em-item-meta-time {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
  text-align: center;
  align-content: center;
  background-color: var(--color-secondary-a);
  border-radius: calc(var(--space-base) * 2);
}
.section-events.layout-veranstaltungen_layout_b .em-event-day {
  font-size: 42px;
  line-height: 56px;
  color: var(--color-primary);
}
.section-events.layout-veranstaltungen_layout_b .em-event-month {
  background-color: var(--color-secondary-a);
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
  padding: 4px 20px;
  display: inline-block;
  border-radius: 4px;
}
.section-events.layout-veranstaltungen_layout_b .em-event-time {
  display: none;
}
.section-events.layout-veranstaltungen_layout_b .em-item .em-item-content {
  grid-column: 4 / 21;
  grid-row: 1 / 2;
  padding-top: calc(var(--space-base) * 3);
  align-content: center;
}
.section-events.layout-veranstaltungen_layout_b .em-item .em-item-taxonomy {
  grid-column: 4 / 12;
  grid-row: 2 / 3;
  padding-bottom: calc(var(--space-base) * 3);
}
.section-events.layout-veranstaltungen_layout_b .em-item .em-event-location {
  grid-column: 12 / 21;
  grid-row: 2 / 3;
  padding-bottom: calc(var(--space-base) * 3);
}
.section-events.layout-veranstaltungen_layout_b .em-item .em-event-location:before {
  display: inline-block;
  content: '\f279';
  font-family: "Font Awesome 6 Free";
  color: #fff;
  background-color: var(--color-secondary-a);
  padding: var(--space-base) calc(var(--space-base) * 1);
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  margin-right: 8px;
}
.section-events.layout-veranstaltungen_layout_b .em-item ul.event-categories {
  display: block;
}
.section-events.layout-veranstaltungen_layout_b .em-item ul.event-categories:before {
  display: inline-block;
  content: '\f02e';
  font-family: "Font Awesome 6 Free";
  color: #fff;
  background-color: var(--color-secondary-a);
  padding: var(--space-base) calc(var(--space-base) * 1.5);
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  margin-right: 8px;
}
.section-events.layout-veranstaltungen_layout_b .em-item ul.event-categories li {
  display: inline-block;
}
.section-events.layout-veranstaltungen_layout_b .em-item ul.event-categories li a {
  color: var(--color-secondary-a);
}


/* layout-veranstaltungen_layout_c */
.section-events.layout-veranstaltungen_layout_c .em-events-list {
  display: flex;
  gap: calc(var(--space-base) * 2);
  flex-wrap: wrap;
}

.section-events.layout-veranstaltungen_layout_c .em-item {
  background-color: var(--color-secondary-c);
  grid-template-rows: unset;
  width: calc(50% - var(--space-base));
  margin-bottom: 0;
}

.section-events.layout-veranstaltungen_layout_c .em-item .em-item-image {
  display: none;
}
.section-events.layout-veranstaltungen_layout_c .em-item .em-item-meta-time {
  grid-column: 1 / 6;
  grid-row: 1 / 4;
  text-align: center;
  align-content: center;
  background-color: var(--color-secondary-a);
  border-radius: calc(var(--space-base) * 2);
}
.section-events.layout-veranstaltungen_layout_c .em-event-day {
  font-size: 42px;
  line-height: 56px;
  color: var(--color-primary);
}
.section-events.layout-veranstaltungen_layout_c .em-event-month {
  background-color: var(--color-secondary-a);
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
  padding: 4px 20px;
  display: inline-block;
  border-radius: 4px;
}
.section-events.layout-veranstaltungen_layout_c .em-event-time {
  display: none;
}
.section-events.layout-veranstaltungen_layout_c .em-item .em-item-content {
  grid-column: 6 / 21;
  grid-row: 1 / 2;
  padding-top: calc(var(--space-base) * 3);
  align-content: center;
}
.section-events.layout-veranstaltungen_layout_c .em-item .em-item-taxonomy {
  grid-column: 6 / 21;
  grid-row: 2 / 3;
}
.section-events.layout-veranstaltungen_layout_c .em-item .em-event-location {
  grid-column: 6 / 21;
  grid-row: 3 / 4;
  padding-bottom: calc(var(--space-base) * 3);
}
.section-events.layout-veranstaltungen_layout_c .em-item .em-event-location:before {
  display: inline-block;
  content: '\f279';
  font-family: "Font Awesome 6 Free";
  color: #fff;
  background-color: var(--color-secondary-a);
  padding: var(--space-base) calc(var(--space-base) * 1);
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  margin-right: 8px;
}
.section-events.layout-veranstaltungen_layout_c .em-item ul.event-categories {
  display: block;
}
.section-events.layout-veranstaltungen_layout_c .em-item ul.event-categories:before {
  display: inline-block;
  content: '\f02e';
  font-family: "Font Awesome 6 Free";
  color: #fff;
  background-color: var(--color-secondary-a);
  padding: var(--space-base) calc(var(--space-base) * 1.5);
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  margin-right: 8px;
}
.section-events.layout-veranstaltungen_layout_c .em-item ul.event-categories li {
  display: inline-block;
}
.section-events.layout-veranstaltungen_layout_c .em-item ul.event-categories li a {
  color: var(--color-secondary-a);
}

/* SEITENKOPF: BILD NEBEN TITEL */
/* .entry-header-bg und .entry-header-row liegen per Grid übereinander in
   derselben Zelle, damit die Hintergrundfläche (Höhe in % ) sich auf die vom
   Inhalt vorgegebene Zeilenhöhe bezieht und auf 100% Breite laufen kann,
   während der Inhalt selbst im normalen .wrapper bleibt. */
.entry-header--split {
  display: grid;
  margin-bottom: calc(var(--space-base) * 6);
}
.entry-header-bg {
  grid-row: 1;
  grid-column: 1;
  width: 100%;
  height: calc(50% + calc(var(--space-base) * 6));
}
.entry-header--split .entry-header-row {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: calc(var(--space-base) * 4);
  margin-top: calc(var(--space-base) * 12);
  margin-bottom: 0;
  width: 100%;
  padding: 0 var(--space-small, 16px);
}
.entry-header--split.is-bild-links .entry-header-row {
  justify-content: flex-start;
}
/* Textblock liegt auf der Hintergrundfläche, unten ausgerichtet an deren
   Kante (50% der Zeilenhöhe), mit Abstand zur Hellblau/Weiß-Kante. */
.entry-header--split .entry-header-text {
  position: absolute;
  left: var(--space-small, 16px);
  bottom: 50%;
  margin-bottom: calc(var(--space-base) * 8);
  max-width: calc(100% - var(--entry-header-bildbreite, 40%) - calc(var(--space-base) * 4));
}
.entry-header--split.is-bild-links .entry-header-text {
  left: auto;
  right: 0;
}
.entry-header--split .entry-header-text .entry-title {
  margin: 0;
}
.entry-header--split .entry-subtitle {
  margin: calc(var(--space-base)) 0 0 0;
}
/* Teasertext liegt im weißen Bereich, oben ausgerichtet an derselben Kante
   wie der Textblock (muss bei Änderung von .entry-header-bg height in Sync
   gehalten werden), mit Abstand zur Kante. */
.entry-header--split .entry-header-teaser {
  position: absolute;
  left: var(--space-small, 16px);
  top: calc(50% + calc(var(--space-base) * 6));
  margin: calc(var(--space-base) * 3) 0 0 0;
  max-width: calc(100% - var(--entry-header-bildbreite, 40%) - calc(var(--space-base) * 4));
}
.entry-header--split.is-bild-links .entry-header-teaser {
  left: auto;
  right: 0;
}
.entry-header--split .entry-header-image {
  flex: 1 1 var(--entry-header-bildbreite, 40%);
  max-width: var(--entry-header-bildbreite, 40%);
  min-width: 240px;
  overflow: hidden;
}
/* Variante ohne Beitragsbild: Text/Teaser liegen im normalen Textfluss
   (nicht mehr absolut positioniert), da sie sonst der Hintergrundfläche
   keine Höhe vorgeben könnten. Die Fläche füllt dafür die volle vom Text
   bestimmte Höhe statt nur 50%. */
.entry-header--split.ohne-bild .entry-header-bg {
  height: 100%;
}
.entry-header--split.ohne-bild .entry-header-row {
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0;
  padding: calc(var(--space-base) * 15) var(--space-small, 16px);
}
.entry-header--split.ohne-bild .entry-header-text,
.entry-header--split.ohne-bild .entry-header-teaser {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  max-width: 100%;
  margin: 0;
}
.entry-header--split.ohne-bild .entry-header-teaser {
  margin-top: calc(var(--space-base) * 3);
}
.entry-header--split .entry-header-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.entry-header--split .entry-header-image.img-ratio-3-2 { aspect-ratio: 3 / 2; }
.entry-header--split .entry-header-image.img-ratio-4-3 { aspect-ratio: 4 / 3; }
.entry-header--split .entry-header-image.img-ratio-2-1 { aspect-ratio: 2 / 1; }
.entry-header--split .entry-header-image.img-ratio-3-1 { aspect-ratio: 3 / 1; }
.entry-header--split .entry-header-image.img-ratio-16-9 { aspect-ratio: 16 / 9; }