.page:has(.homepage-hero){
	.wp-block-template-part:has(.hero-bild-block){
		display: none;

		&+.wp-block-template-part{
			display: none;
		}
	}
}
/*Hero Section*/
.hero-section.bg-video {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;  
  overflow: hidden;
  align-items: end;
  width: 100%;
}
.hero-section.bg-video .wp-block-video {
  margin: 0;
  width: 100%;
  
}
.hero-section.bg-video h1 {
  z-index: 1;
  margin-bottom: 58px;
  color: white;
position: absolute;
  margin-right: 15vw;	

}
@media (max-width:767px){
	.hero-section.bg-video h1 {
  
  margin-bottom: 8px;
	}
}
/*Pattern 'News-3 Karten'*/
.nph-news-grid-wrapper.section {
  padding-top: 127px;
  padding-bottom: 59px;
  
}
.nph-news-grid-wrapper.section h2 {
  margin-bottom: 27px;
}
.nph-news-grid-wrapper.section li.wp-block-post {
  box-shadow: 0px 0px 16px #00000008;
  background: white;
  padding: 41px 20px 20px;
  position: relative;
}

.nph-news-grid-wrapper.section li.wp-block-post > div {
  padding: 0;
}
.nph-news-grid-wrapper.section li.wp-block-post > div .wp-block-post-title {
  margin-bottom: 26px;
}
.nph-news-grid-wrapper.section li.wp-block-post > div .wp-block-post-title a {
  font-size: 26px;
  line-height: 33px;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 700;
}
.nph-news-grid-wrapper.section
  li.wp-block-post
  > div
  .wp-block-post-excerpt__excerpt {
  margin-bottom: 21px;
}
.nph-news-grid-wrapper.section
  li.wp-block-post
  > div
  .wp-block-post-excerpt__more-text
  a {
  text-decoration: none;
  line-height: 26px;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.4s ease-in-out;
}
.nph-news-grid-wrapper.section
  li.wp-block-post
  > div
  .wp-block-post-excerpt__more-text
  a::after {
  content: "";
  margin-left: 11px;
  width: 17px;
  height: 13px;
  display: inline-block;
  -webkit-mask: url("/wp-content/uploads/pfeil-gruen.png") no-repeat center /
    contain;
  mask: url("/wp-content/uploads/pfeil-gruen.png") no-repeat center / contain;
  background-color: currentColor;
  transition: all 0.4s ease-in-out;
}
.nph-news-grid-wrapper.section
  li.wp-block-post
  > div
  .wp-block-post-excerpt__more-text
  a:hover::after {
  transform: translateX(10px);
}
.nph-news-grid-wrapper.section li.wp-block-post > div .wp-block-post-date {
  font-size: 18px;
  line-height: 23px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 29px;
  display: inline-block;
}
.nph-news-grid-wrapper.section ul.wp-block-post-template {
  list-style: none;
  padding: 0;
}
.nph-news-grid-wrapper.section li.wp-block-post .nph-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-green);
  padding: 11px 21px 14px 28px;
  border-radius: 0 0 0px 33px;
  color: white;
  font-size: 18px;
  line-height: 23px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.nph-news-grid-wrapper.section li.wp-block-post .nph-badge.is-event::before {
  content: "";
  margin-right: 13px;
  width: 21px;
  height: 21px;
  display: inline-block;
  -webkit-mask: url("/wp-content/uploads/2025/09/stern.png") no-repeat center /
    contain;
  mask: url("/wp-content/uploads/2025/09/stern.png") no-repeat center / contain;
  background-color: var(--color-neon);
}
.nph-news-grid-wrapper.section
  li.wp-block-post
  .nph-badge.is-aktuelles::before {
  content: "";
  margin-right: 13px;
  width: 6px;
  height: 28px;
  display: inline-block;
  -webkit-mask: url("/wp-content/uploads/2025/09/ausrufezeichen.png") no-repeat
    center / cover;
  mask: url("/wp-content/uploads/2025/09/ausrufezeichen.png") no-repeat center /
    cover;
  background-color: var(--color-neon);
  position: relative;
  top: 2px;
}
.nph-news-grid-wrapper.section.posts-grid-2 {
  padding-top: var(--section-pad-y);
}

.nph-news-grid-wrapper.section.posts-grid-2 ul.wp-block-post-template {
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.nph-news-grid-wrapper.section.posts-grid-2
  ul.wp-block-post-template
  > li.wp-block-post {
  width: calc(50% - 16px);
  padding: 0;
  border-radius: 0px 0px 68px 0px;
}
.nph-news-grid-wrapper.section.posts-grid-2
  ul.wp-block-post-template
  > li.wp-block-post
  > .is-style-nph-card {
  padding: 0 !important;
}
.nph-news-grid-wrapper.section.posts-grid-2
  ul.wp-block-post-template
  > li.wp-block-post
  > .is-style-nph-card
  .themen-content {
  padding: 37px 45px 43px;
  margin: 0;
  border-radius: 0px 0px 68px 0px;
}
.nph-news-grid-wrapper.section.posts-grid-2
  ul.wp-block-post-template
  > li.wp-block-post
  > .is-style-nph-card
  .themen-content
  .wp-block-group {
  justify-content: space-between;
}
.nph-news-grid-wrapper.section.posts-grid-2
  ul.wp-block-post-template
  > li.wp-block-post
  > .is-style-nph-card
  .themen-content
  .wp-block-group
  h3 {
  margin: 0;
}
.nph-news-grid-wrapper.section.posts-grid-2
  ul.wp-block-post-template
  > li.wp-block-post
  > .is-style-nph-card
  .themen-content
  .wp-block-group
  .wp-block-image
  img {
  vertical-align: middle;
  width: 30px;
  height: 23px;
}
.nph-news-grid-wrapper.section.posts-grid-2
  li.wp-block-post
  > div
  .wp-block-post-excerpt {
  margin-top: 16px;
}
.nph-news-grid-wrapper.section.posts-grid-2
  li.wp-block-post
  > div
  .wp-block-post-excerpt__excerpt {
  padding-right: 5%;
  margin: 0;
}
.nph-news-grid-wrapper.section.posts-grid-2
  li.wp-block-post
  > div
  .wp-block-post-excerpt__more-text {
  display: none;
}
/*************** Themenüberbick ********************/
.themenueberblick *:not(:is(.is-text-decoration)) a {
	  text-decoration: none;	  
}
.themenueberblick *:not(:is(.is-text-decoration)) a.bg-white {	 
		  background: white;
		  border-radius: 0 0 85px 0;
		height: 100%;	  
}
.themenueberblick .is-text-decoration {
	  text-decoration: underline;
}
.themenueberblick a:has(.is-text-decoration):hover .is-text-decoration {
	  text-decoration: none;
}
.themenueberblick > div > .wp-block-columns {
  gap: 32px;
}
.themenueberblick > div > .wp-block-columns .wp-block-column > .wp-block-group {
  padding: 0;
}
.themenueberblick
  > div
  > .wp-block-columns
  .wp-block-column
  > .wp-block-group
  .wp-block-group.themen-content, .themenueberblick .themen-content.bg-white {
  padding: 43px 45px 52px;
  margin: 0;
  background: white;
  border-radius: 0 0 85px 0;
}
.themenueberblick
  > div
  > .wp-block-columns
  .wp-block-column
  > .wp-block-group
  .wp-block-group.themen-content
  > .wp-block-group, .themenueberblick .themen-content > .wp-block-group  {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.themenueberblick
  > div
  > .wp-block-columns
  .wp-block-column
  > .wp-block-group
  .wp-block-group.themen-content
  > .wp-block-group
  .wp-block-heading, .themenueberblick .themen-content h3 {
  font-size: 35px !important;
  line-height: 47px;
  font-weight: 700;
}
.themenueberblick
  > div
  > .wp-block-columns
  .wp-block-column
  > .wp-block-group
  .wp-block-group.themen-content
  > .wp-block-group
  img, .themenueberblick .themen-content img {
  width: 29px;
  height: auto;
}
.themenueberblick
  > div
  > .wp-block-columns
  .wp-block-column
  > .wp-block-group
  .wp-block-group.themen-content
  > p, .themenueberblick .themen-content > p {
  margin-top: 13px;
}
.themenueberblick .wp-block-image.bewegt-teil-hellgruen,
.themenueberblick .wp-block-image.bewegt-teil-dunkelgruen,
.themenueberblick .wp-block-image.bewegt-teil-2-dunkelgruen,
.themenueberblick .wp-block-image.bewegt-teil-2-hellgruen, .themenueberblick .themen-content.bewegt-teil-white {
  position: relative;
  overflow: hidden;
}
.themenueberblick .wp-block-image.bewegt-teil-hellgruen::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  /*width: 273px;*/
  width: 14.2vw;
  height: 19.2vw;
  display: inline-block;
  -webkit-mask: url("/wp-content/uploads/2025/09/bewegt-teil-hellgruen.png")
    no-repeat center / cover;
  mask: url("/wp-content/uploads/2025/09/bewegt-teil-hellgruen.png") no-repeat
    center / cover;
  background-color: var(--color-neon);
}
.themenueberblick .wp-block-image.bewegt-teil-dunkelgruen::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  width: 20vw;
  height: 7.3vw;
  /* width: 384px;
  height: 140px; */
  display: inline-block;
  -webkit-mask: url("/wp-content/uploads/bewegt-teil-dunkelgruen.png") no-repeat
    center / cover;
  mask: url("/wp-content/uploads/bewegt-teil-dunkelgruen.png") no-repeat center /
    cover;
  background-color: var(--color-green);
}
.themenueberblick .wp-block-image.bewegt-teil-2-dunkelgruen::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 14.2vw;
  height: 11vw;
/*   width: 272px;
  height: 213px; */
  display: inline-block;
  -webkit-mask: url("/wp-content/uploads/bewegt-teil-2-dunkelgruen.png")
    no-repeat center / cover;
  mask: url("/wp-content/uploads/bewegt-teil-2-dunkelgruen.png") no-repeat
    center / cover;
  background-color: var(--color-green);
}
.themenueberblick .wp-block-image.bewegt-teil-2-hellgruen::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 15.3vw;
  height: 10.6vw;
  /* width: 294px;
  height: 203px; */
  display: inline-block;
  -webkit-mask: url("/wp-content/uploads/2025/09/bewegt-teil-2-hellgruen.png")
    no-repeat center / cover;
  mask: url("/wp-content/uploads/2025/09/bewegt-teil-2-hellgruen.png") no-repeat
    center / cover;
  background-color: var(--color-neon);
}
.themenueberblick .themen-content.bewegt-teil-white::after {
  position: absolute;
  bottom: 0;
  right: 0;
  content: "";
   width: 15.3vw;
  height: 10.6vw;
  /* width: 294px;
  height: 203px; */
  display: inline-block;
  -webkit-mask: url("/wp-content/uploads/2025/09/bewegt-teil-2-hellgruen.png")
    no-repeat center / cover;
  mask: url("/wp-content/uploads/2025/09/bewegt-teil-2-hellgruen.png") no-repeat
    center / cover;
  background-color: white;
  transform: rotate(180deg);
}

@media screen and (max-width:1150px) {
	.themenueberblick
	> div
	> .wp-block-columns
	.wp-block-column
	> .wp-block-group
	.wp-block-group.themen-content, .themenueberblick .themen-content.bg-white {
		padding: 30px;
	}
}
@media screen and (max-width:767px) {
	.themenueberblick .themen-content.bewegt-teil-white::after, .themenueberblick .wp-block-image.bewegt-teil-2-hellgruen::after,.themenueberblick .wp-block-image.bewegt-teil-2-dunkelgruen::after,.themenueberblick .wp-block-image.bewegt-teil-dunkelgruen::after,.themenueberblick .wp-block-image.bewegt-teil-hellgruen::after{
		display: none;
	}
	.themenueberblick
  > div
  > .wp-block-columns
  .wp-block-column
  > .wp-block-group
  .wp-block-group.themen-content
  > .wp-block-group
  .wp-block-heading, .themenueberblick .themen-content h3 {
  font-size: 22px !important;
  line-height: 30px;  
}
}

/*******************************/
/*Fahrplan API*/
.wp-block-group:has(>#fp-form) {
  margin-top: 8px;
}
.fahrplanauskunft-headlines h5{
	position: relative;
	top: 18px;
}
.fahrplanauskunft-headlines h5::before{
	content: "";
  position: absolute;
  left: -50px;
  bottom: -5px;  
 width: 52px;
  height: 52px;
  display: inline-block;
  -webkit-mask: url("/wp-content/uploads/meldungen2.svg") no-repeat center /
	contain;
  mask: url("/wp-content/uploads/meldungen2.svg") no-repeat center / contain;
  background-color: currentColor;
}
#fp-form {
  background: transparent;
  padding: 0px;
  display: flex;
  justify-content: start;
  gap: 0px;
  align-items: start;
  flex-wrap: wrap;
}
#fp-form #places-wrapper{
	display: flex;
  	gap: 18px;
	margin-right: 29px;
}
#fp-form #origin-wrapper,
#fp-form #destination-wrapper {
  position: relative;
}
#fp-form .fahrplan-labels{
	font-size: 16px;
	line-height: 21px;
	font-weight: 700;	
}
#fp-form #origin-wrapper input,
#fp-form #destination-wrapper input {
  width: 180px;
  padding: 0 0 10px 0;
  margin-top: 11px;
  border: none;
  border-bottom: #3c3c3b solid 2px;
  border-radius: 0;
  font-size: 18px;
  line-height: 23px;
  color: #3c3c3b;
  background: transparent;
  outline: none;
}
@media screen and (max-width:767px) {
	#fp-form #origin-wrapper input,
	#fp-form #destination-wrapper input{
		width: 280px;
	}
}
#fp-form #places-wrapper #swap{
	background: transparent;
	border: none;
	cursor: pointer;
}
#fp-form #submit-btn.btn {
  background: #fff;
  color: var(--color-green);
  font-weight: 700;
  padding: 12px 50px;
  margin-top: auto;
  margin-bottom: auto;
}
#fp-form #ab-an-wrapper{
	display: flex;
  flex-direction: column;
  gap: 8px;
  margin-right: 66px;
  margin-top: auto;
  margin-bottom: auto;
}
#fp-form #ab-an-wrapper label{
	font-size: 18px;
	line-height: 23px;
	font-weight: 400;
	display: flex;
}
#fp-form #ab-an-wrapper label input{
	appearance: none;
  width: 15px;
  height: 15px;
  margin-right: .5rem;
  border: 2px solid #005634;
  border-radius: 50%;
  background: transparent;
  position: relative;
  cursor: pointer;
}
#fp-form #ab-an-wrapper input[type="radio"]::before{
  content:""; 
  width:7px; 
  height:7px; 
  border-radius:50%;
  background:#005634; 
  transform:scale(0); 
  transition:transform .12s ease-in-out;
  position: absolute;
	top: 2px;
  left: 2px;
}
#fp-form #ab-an-wrapper input[type="radio"]:checked::before{ 
	transform:scale(1); 
}
#fp-form #date-time-wrapper{
	display: flex;  
  gap: 48px;
  margin-right: 48px;
}
#fp-form #datum-wrapper,
#fp-form #uhrzeit-wrapper {
  position: relative;
}
#fp-form #datum-wrapper input,
#fp-form #uhrzeit-wrapper input {
  width: 180px;
  padding: 0 0 10px 0;
  margin-top: 11px;
  border: none;
  border-bottom: #3c3c3b solid 2px;
  border-radius: 0;
  font-size: 18px;
  line-height: 23px;
  color: #3c3c3b;
  background: transparent;
  outline: none; 
}
@media screen and (max-width:767px) {
	#fp-form #datum-wrapper input, #fp-form #uhrzeit-wrapper input {
		width: 280px;
	}
	#date-time-wrapper{
		margin-right: 29px !important;
	}
}
#fp-form #datum-wrapper::after{
	content: "";
  position: absolute;
  right: 0;
  top: 65%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: inline-block;
  -webkit-mask: url("/wp-content/uploads/calendar-icon.svg")
	no-repeat center / contain;
  mask: url("/wp-content/uploads/calendar-icon.svg") no-repeat center /
	contain;
  background-color: currentColor;
}
#fp-form #uhrzeit-wrapper::after{
	content: "";
  position: absolute;
  right: 0;
  top: 65%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: inline-block;
  -webkit-mask: url("/wp-content/uploads/time-icon.svg.svg")
	no-repeat center / contain;
  mask: url("/wp-content/uploads/time-icon.svg") no-repeat center /
	contain;
  background-color: currentColor;
}

.suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border-radius: 8px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  max-height: 240px;
  overflow: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 50;
}
.suggestions li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 15px;
  line-height: 19px;
}
.suggestions li:hover {
  background: #f3f3f3;
}
.suggestions:empty { display:none; padding:0; border:0; }
@media (max-width: 1150px) {
	.section.wp-block-group:has(#fp-form) {
		padding-top: 40px !important;
	  	padding-bottom: 40px !important;

		#fp-form{
			gap: 32px;
		}
	 
	}
}
@media (max-width: 767px) {
	.section.wp-block-group:has(#fp-form) {		
		.fahrplanauskunft-headlines{
			&>div{
				flex-direction: column;
  				align-items: center;
				margin-bottom: 32px;
			}
		}

		#fp-form{
			justify-content: center;

			#places-wrapper,#date-time-wrapper{
				flex-direction: column;
  align-items: center;
			}
		}	 
	}
}

/*******************************/
/*Akkordeon*/
.nph-accordion {
  width: 100%;
  margin: 25px 0 0 !important;
}
@media (max-width: 767px) {
  .nph-accordion {
    margin: 5px 0 0 !important;
  }
}

.nph-accordion__intro {
  font-size: 20px;
  font-weight: 400;
  line-height: 29px;
  margin-bottom: 16px;
}

/* === Einzelnes Panel === */
.nph-accordion__item {
  border-top: 1px solid var(--color-green);
}
.nph-accordion__item:first-of-type {
  border-top: none;
}
/* === Header + Trigger === */
.nph-accordion__header {
  margin: 0;
}

.nph-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 22.5px 0 22.5px 55px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nph-accordion__trigger:hover,
.nph-accordion__trigger:focus {
  color: var(--color-green);
  outline: none;
}

/* === Symbol (Plus/Minus) === */
.nph-accordion__icon {
  position: absolute;
  left: 12px;
}
.nph-accordion__icon::before {
  content: "";
  display: inline-block;
  background-color: var(--color-green);
  -webkit-mask: url("/wp-content/uploads/plus.svg") no-repeat 50% 50%;
  -webkit-mask-size: contain;
  mask: url("/wp-content/uploads/plus.svg") no-repeat 50% 50%;
  mask-size: contain;
  vertical-align: middle;
  height: 24px;
  width: 24px;
}

.nph-accordion__trigger[aria-expanded="true"] .nph-accordion__icon::before {
  -webkit-mask: url("/wp-content/uploads/minus.svg") no-repeat 50% 50%;
  -webkit-mask-size: contain;
  mask: url("/wp-content/uploads/minus.svg") no-repeat 50% 50%;
  mask-size: contain;
}
@media (min-width: 1080px) {
  .nph-accordion__trigger .nph-accordion__title {
    padding-right: 23vw;
  }
}
.nph-accordion__trigger .nph-accordion__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  font-family: var(--wp--preset--font-family--red-hat-display);
  text-align: left;
}
.nph-accordion__trigger .nph-accordion__item-intro {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  font-family: var(--wp--preset--font-family--red-hat-display);
  text-align: left;
}

@media (max-width: 600px) {
  .nph-accordion__trigger .nph-accordion__title {
    font-size: 18px;
    line-height: 27px;
  }
}
/* === Panel-Bereich === */
.nph-accordion__panel {
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.7s ease, padding-bottom 0.4s ease;
}

.nph-accordion__panel[hidden] {
  display: block; /* wichtig für Transition */
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
}

.nph-accordion__panel:not([hidden]) {
  max-height: 1000px; /* ausreichend für Animation */
  opacity: 1;
  padding-bottom: 1rem;
}

/* === Inhalt === */
.nph-accordion__content {
  padding: 0 0 0.75rem 55px;
  font-size: 1rem;
  line-height: 1.6;
}
.nph-accordion__content > *:first-child {
  margin-top: 0;
}
.nph-accordion__content > *:last-child {
  margin-bottom: 0;
}
@media (min-width: 1080px) {
  .nph-accordion__content {
    padding: 0 23vw 0.75rem 55px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nph-accordion__panel {
    transition: none;
  }
}
@media (max-width: 600px) {
  .nph-accordion__content {
    padding: 0 0 15px 0;
  }
}
.nph-accordion__content .nph-accordion__section:not(:first-of-type){
	margin-top: 34px;
}
.nph-accordion__content .nph-accordion__section .nph-accordion__content-rich{
	font-size: 20px;
	 line-height: 30px;
	 font-weight: 400;
}
.nph-accordion__content .nph-accordion__section .nph-accordion__subhead{
	font-size: 20px;
	 line-height: 30px;
	 font-weight: 600;
}
.nph-accordion__content .nph-accordion__section ul{
	 list-style: none;
	 margin: 0;
	 padding: 0;
}
.nph-accordion__content .nph-accordion__section ul li{
	 position: relative;
	 padding-left: 20px;
	 font-size: 20px;
	 line-height: 30px;
}
.nph-accordion__content .nph-accordion__section ul li::before{
	content: "";    
	position: absolute;
	left: 0;
	top: 8px;         
	width: 10px;
	height: 10px;
	background-color: #005634;
	border-radius: 100px;
	padding: 0;
  	margin: 0;
}