/*!
Theme Name:  Kreisbau Heidenheim (Child-Theme)
Author:      Dreamland GmbH &amp; Co. KG
Author URI:  https://www.dreamland.de
Description: Child-Theme des Page Builder Frameworks
Version:     1.0.0
License:     GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Template:    page-builder-framework
Text Domain: page-builder-framework-child
*/


/* ----- DEFAULT ----- */
.reihe-default {
	margin-top: 4vw;
	margin-bottom: 4vw;
}



h1, h2, h3 {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}


/* Smooth-Scrollen bei Ankern */

html {scroll-behavior: smooth; }
.anker { scroll-margin-top: 140px;}



/* ----- DEFAULT >> EINZELBILDER ----- */
.wpb_single_image img {border-radius: 15px;}



/* MOBIL keine Gaps */
@media (max-width: 768px) {

  /* Negative Margins entfernen */
  .vc_row.vc_column-gap-30 {
	margin-left: 0 !important;
	margin-right: 0 !important;
  }

  /* Container-Padding für diese Row ausgleichen */
  .vc_row.vc_column-gap-30 > .wpb_column,
  .vc_row.vc_column-gap-30 .vc_column-inner {
	padding-left: 0 !important;
	padding-right: 0 !important;
  }

}



/* ----- TOPBAR ----- */
a.btn-karriere {
	background-color: #1E4995;
	color: #fff;
	background-image: url('../../../wp-content/uploads/2025/10/briefcase-light-full_white.svg');
	background-repeat: no-repeat;
	background-position: 18px center;
	background-size: 20px;
	padding: 13px 20px 13px 50px;
	border-radius: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 13px;
}



/* ----- DEFAULT >> FONTS ----- */
h1, h2, h3 {padding-bottom: 30px;}

@media (max-width: 768px) {
  h1, h2, h3 {padding-bottom: 15px;}
  }




/* ----- H1-HEADLINE auf Startseite ----- */
h1.home-h1 {
	font-size: 74px;
	font-weight: bold;
	text-transform: uppercase;
	padding: 2vw;
	text-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}



/* ----- ZWISCHENHEADLINES z.B. News, Mieten, Kaufen, … ----- */
.zwischenheadline h4,
.zwischenheadline-news h4,
.quicklink h4 {
	background-color: #1E4995;
	display: inline;
	color: #fff;
	padding: 15px 30px;
	border-radius: 10px;
	text-transform: uppercase;
	font-size: 26px;
	letter-spacing: 1px;
}

div.zwischenheadline,
div.quicklink {
	margin-top: -50px;
	margin-left: 40px;
}

.quicklink a {
	color: #fff;
}

@media (max-width: 768px) {
	.zwischenheadline h4,
	.quicklink h4 {
		padding: 10px 15px;
		font-size: 17px;
	}

	div.zwischenheadline {
		margin-top: -50px;
		margin-left: 0px;
	}

	div.quicklink {
		margin-top: -50px;
		margin-left: 10px;
	}

}


/* Background Image/Video */

.nk-awb .nk-awb-wrap {
	border-radius: 15px;
}

.headervideo {
	padding-top: 30%;
}

@media (max-width: 768px) {
  .nk-awb .nk-awb-wrap {
	  max-height: 600px;
  }

  .headervideo {
	  padding-top: 70%;
  }

  h1.home-h1 {
	  font-size: 43px;
	  font-weight: bold;
	  text-transform: uppercase;
	  padding-bottom: 10px;
	  text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  }
}




/* MEDIA GRID */
@media (max-width: 768px) {
	.grid-hidden { display: none;}
}




/* REIHENFOLGE VON REIHEN MOBIL TAUSCHEN */

@media (max-width: 768px) {

  .mobile-reverse {
	display: flex;
	flex-direction: column;
  }

  .mobile-reverse > .wpb_column:first-child {
	order: 2; /* Text nach unten */
  }

  .mobile-reverse > .wpb_column:last-child {
	order: 1; /* Bild nach oben */
  }

}


/* ----- INFOBOXEN ----- */
.infobox-blau {
	background: #1E4995;
	color: #fff;
	padding: 40px;
	border-radius: 15px;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

	.infobox-blau a {color: #fff;}
	.infobox-blau a:hover {color: rgba(255, 255, 255, 0.85);}

	.infobox-blau h4 {
		color: #fff;
	}

		.infobox-blau h4::after {
		content: "";
		display: block;
		width: 20%;
		height: 1px;
		background-color: #fff;
		margin-top: 20px;
		}

	.infobox-blau table {
		border: none;
	}

		.infobox-blau table td {
			border: none;
			vertical-align: top;
			font-size: 19px;
		}



/* ----- CTA Gelb ----- */
.cta-gelb,
.cta-blau {
	border-radius: 15px;
	padding: 3vw;
	color: #fff;
}

	.cta-gelb h3,
	.cta-blau h3 {
		color: #fff;
		margin-bottom: 30px;
	}

.cta-gelb {background-color: #EEB66B;}


/* ----- CTA Ansprechpartner ----- */
.cta-ansprechpartner {
	background-image: url('../../../wp-content/uploads/2025/10/kreisbau_signet-10pro.svg');
	background-position: 96% 90%;
	background-repeat: no-repeat;
	background-size: 280px;
}

@media (max-width: 768px) {
	.cta-ansprechpartner {
		background-image: none;
	}
}

.cta-ansprechpartner,
.cta-ansprechpartner_sm {
	border-radius: 15px;
	padding: 3vw;
	background-color: #F0F3F9;
}

	.cta-ansprechpartner a,
	.cta-ansprechpartner_sm a {
		color: #222;
	}

@media (max-width: 768px) {
	.cta-ansprechpartner_sm {
		padding: 20px;
	}

	.vc_row.vc_row-o-equal-height>.cta-ansprechpartner_sm.vc_column_container {
		margin-bottom: 30px;
	}
}

.ansprechpartner {
	margin-top: 30px;
}

	p.ap-ort {
		color: #1E4995;
		text-transform: uppercase;
		letter-spacing: 1px;
		font-size: 16px;
	}

		p.ap-ort::after {
			content: "";
			display: block;
			width: 20%;
			height: 1px;
			background-color: #1E4995;
			margin-top: 10px;
			margin-bottom: 20px;
		}

	.ap-name {
		text-transform: uppercase;
		letter-spacing: 1px;
	}



/* ----- NEWS ----- */
.news {
	border-radius: 15px;
	padding: 3vw;
	margin-top: 10vw;
	margin-bottom: 5vw;
}

div.zwischenheadline-news {
	margin-top: -100px;
}

.news-content {
	margin-top: 5vw;
	font-size: 18px;
}

.news-content .vc_grid {
	padding: 0 40px;
}


@media (max-width: 768px) {
	div.zwischenheadline-news {
	margin-top: -60px;
	}

	.sonderabstand {
		margin-bottom: 100px;
	}

	.news-content .vc_grid {
		padding: 0px;
	}
}



/* ----- BUTTONS ----- */
.vc_btn3.vc_btn3-size-md,
.vc_btn3-container.vc_btn3-center .vc_btn3-block.vc_btn3-size-md {
	font-size: 16px;
	padding: 20px 20px 18px 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.vc_btn3.vc_btn3-shape-rounded {
	border-radius: 10px;
}

/* BTN Blau */
.vc_btn3.vc_btn3-color-blue, .vc_btn3.vc_btn3-color-blue.vc_btn3-style-flat {
	background-color: #1E4995;
}

	.vc_btn3.vc_btn3-color-blue.vc_btn3-style-flat:focus,
	.vc_btn3.vc_btn3-color-blue.vc_btn3-style-flat:hover,
	.vc_btn3.vc_btn3-color-blue:focus,
	.vc_btn3.vc_btn3-color-blue:hover {
		background-color: #112a56;
	}

/* BTN Weiß */
.vc_btn3.vc_btn3-color-white, .vc_btn3.vc_btn3-color-white.vc_btn3-style-flat {
		background-color: #fff;
		color: #1E4995;
	}

		.vc_btn3.vc_btn3-color-white.vc_btn3-style-flat:focus,
		.vc_btn3.vc_btn3-color-white.vc_btn3-style-flat:hover,
		.vc_btn3.vc_btn3-color-white:focus,
		.vc_btn3.vc_btn3-color-white:hover {
			background-color: #EEB66B;
			color: #fff;
		}


@media (max-width: 768px) {
	.vc_btn3.vc_btn3-size-md,
	.vc_btn3-container.vc_btn3-center .vc_btn3-block.vc_btn3-size-md {
		font-size: 12px;
		padding: 12px 15px;
		text-transform: uppercase;
		letter-spacing: 1px;
	}
}


/* ----- FIXIERTE BTN ----- */
.fixed-buttons {
  position: fixed;
  right: 0;
  top: 40%;
  z-index: 9999;
}

/* Alle Buttons haben fixe volle Breite */
.fixed-btn {
  position: absolute;
  right: -110px; /* außerhalb des Bildschirms */
  width: 170px;  /* volle Breite */
  height: 60px;
  background-color: #EEB66B;
  color: #fff;
  border-radius: 10px 0 0 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 60px;
  padding-top: 5px;
  background-repeat: no-repeat;
  background-position: 18px center;
  background-size: 25px;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: right 0.4s ease;
}

/* Hover: gesamter Button schiebt sich ins Bild */
.fixed-btn:hover {
  right: 0;
  color: #fff;
}

/* Positionen */
.btn-phone {
  top: 0;
  background-image: url('../../../wp-content/uploads/2025/10/mobile-signal-out-light-full_white.svg');
  background-size: 27px;
}

.btn-mail {
  top: 70px;
  background-image: url('../../../wp-content/uploads/2025/10/envelope-light-full_white.svg');
}

.btn-job {
  top: 140px;
  background-image: url('../../../wp-content/uploads/2025/10/briefcase-light-full_white.svg');
}

.btn-insta {
  top: 140px;
  background-image: url('../../../wp-content/uploads/2026/06/instagram-brands-solid-full_white.svg');
}


	@media (max-width: 1500px) {
	.fixed-btn {
		display: none;
	}

	.fixed-buttons-unten {
		position: fixed;
		bottom: 10px;
		left: 50%;
		transform: translateX(-50%);
		z-index: 9999;
		display: flex;
		gap: 12px;
	}

	.fixed-btn-unten {
		width: 60px;
		height: 60px;
		background-color: #EEB66B;
		color: #fff;
		border-radius: 10px;
		text-decoration: none;
		display: flex;
		align-items: center;
		justify-content: center;
		background-repeat: no-repeat;
		background-position: center;
		background-size: 25px;
	  }

	  .fixed-btn-unten:hover {
		  background-color: rgba(238, 182, 107, 0.8);
		}
}




/* ----- IMAGEFILM ----- */
	.video-wrapper {
	  position: relative;
	  width: 100%;
	  max-width: 800px;
	  aspect-ratio: 16 / 9; /* Fix: Höhe bleibt stabil */
	  border-radius: 15px;
	  border: 2px solid #1E4995;
	  overflow: hidden;
	  background-color: #1E4995;
	}

	/* Thumbnail + Overlay */
	.video-overlay {
	  position: absolute;
	  inset: 0;
	  cursor: pointer;
	  background-color: rgba(41, 66, 114, 0.8);
	  opacity: 1;
	  transition: opacity 0.6s ease;
	  z-index: 2;
	}

	.video-overlay.fade-out {
	  opacity: 0;
	  pointer-events: none;
	}

	.video-overlay img {
	  width: 100%;
	  height: 100%;
	  object-fit: cover;
	  opacity: 0.25;
	}

	/* Play-Button */
	.play-button {
	  position: absolute;
	  top: 50%;
	  left: 50%;
	  transform: translate(-50%, -50%);
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  background: #fff;
	  border: none;
	  border-radius: 50%;
	  width: 70px;
	  height: 70px;
	  cursor: pointer;
	  transition: transform 0.3s ease, background 0.3s ease;
	  z-index: 3;
	}

	.play-button:hover {
	  transform: translate(-50%, -50%) scale(1.1);
	}

	/* Video */
	.video-element {
	  width: 100%;
	  height: 100%;
	  object-fit: cover;
	  border-radius: 12px;
	  opacity: 0;
	  transition: opacity 0.6s ease;
	  z-index: 1;
	}

	.video-element.visible {
	  opacity: 1;
	}


/* ----- FAQ >> AKKORDION ----- */
.vc_tta-color-blue.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-heading,
.vc_tta-color-blue.vc_tta-style-flat .vc_tta-panel.vc_active .vc_tta-panel-heading,
.vc_tta-color-blue.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-heading:focus,
.vc_tta-color-blue.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-heading:hover {
	background-color: transparent !important;
	border-bottom: 2px solid #1E4995;
}

	.vc_tta-color-blue.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-title>a,
	.vc_tta-color-blue.vc_tta-style-flat .vc_tta-panel.vc_active .vc_tta-panel-title>a {
		color: #222 !important;
		text-transform: none;
		padding: 20px 0;
	}

	.vc_tta-color-blue.vc_tta-style-flat .vc_tta-controls-icon::before,
	.vc_tta-color-blue.vc_tta-style-flat .vc_tta-controls-icon::after {
		border-color: #222 !important;
	}

.vc_tta-color-blue.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-body {
	background-color: #F0F3F9 !important;
	color: #222 !important;
	padding: 45px;
}


@media (max-width: 768px) {
	.vc_tta-color-blue.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-title>a,
	.vc_tta-color-blue.vc_tta-style-flat .vc_tta-panel.vc_active .vc_tta-panel-title>a {
		font-size: 17px;
		padding-right: 20px;
		line-height: 1.3;
	}

	.vc_tta-color-blue.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-body {
		background-color: #F0F3F9 !important;
		color: #222 !important;
		padding: 20px;
	}
}



/* ----- FOOTER ----- */
.wpbf-padding-large {
	padding-top: 55px;
	padding-bottom: 15px;
}

.wpbf-inner-widget-footer .wpbf-grid {
	align-items: center;
}

.wpbf-footer-widget-2,
.wpbf-footer-widget-3 {
	margin-bottom: 0px !important;
}

.wpbf-widget-footer .wpbf-widgettitle {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 22px;
	font-weight: 600;
}

.wpbf-widget-footer p {line-height: 1.4;}

#menu-footermenue a {
	font-size: 15px;
	padding: 15px;
}

@media (max-width: 768px) {
	#menu-footermenue a {
		font-size: 11px;
		padding: 10px;
	}

	.wpbf-inner-footer-right {padding-bottom: 60px}
}


/* ----- PROJEKTE ----- */

/* Grundlayout */
.projekt-item {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 6vw;
}

	.projekt-item.bild-rechts {
		flex-direction: row-reverse;
	}

.projekt-bild img {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: 15px;
}


/* Aktionsbadge */

/* Bildcontainer als Bezugspunkt */
.projekt-bild {
	position: relative;
}

/* Überlappendes Aktionsbadge */
.projekt-bild .projekt-aktionsbadge {
	position: absolute;
	top: -60px;
	left: 35px;

	display: block;
	width: 200px;
	height: auto;

	z-index: 5;
	transform: rotate(-10deg);
}

a.projekt-aktionsbadge {
	cursor: pointer;
}

/* Grafik */
.projekt-bild .projekt-aktionsbadge img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: auto;
	object-fit: contain;
	border-radius: 0;
}

/* Mobile Anpassung */
@media (max-width: 768px) {

	.projekt-bild .projekt-aktionsbadge {
		width: 150px;
		top: -25px;
		left: 15px;
	}

}

/* Textspalte */

.projekt-content {
	font-size: 26px;
	font-weight: 300;
	color: #222;
	margin-bottom: 0;
	flex: 1;
	padding-top: 0.5rem;
}

h3.projekt-ort {
	color: #1E4995;
	font-weight: 700;
	font-size: 42px;
	margin: 0 0 0.5rem;
	letter-spacing: 1px;
	text-transform: uppercase;
}



/* Akkordeon (Projekte) */
.acc-item {
  border-bottom: 2px solid #1E4995;
}

.acc-btn {
  position: relative;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #222;
  font-size: 26px;
  padding: 1.1rem 2rem 1.1rem 0;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease;
}

	.acc-btn:hover {
	color: #1E4995;
	}

	/* Pfeil rechts */
	.acc-btn::after {
		content: "⌄"; /* alternativ: "▾" oder Font Awesome Icon */
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%) rotate(0deg);
		transition: transform 0.3s ease;
		font-size: 20px;
		color: #1E4995;
	}

	.acc-item.active .acc-btn::after {
		transform: translateY(-50%) rotate(180deg);
	}

/* Akkordeon-Inhalt */
.acc-content {
  display: none;
  padding: 0 0 1.5rem;
  font-size: 20px;
  line-height: 1.6;
}

	.acc-item.active .acc-content {
		display: block;
	}

.acc-content ul {
	padding-left: 0;
}

	.acc-content ul li {
		background: url("../../../wp-content/uploads/2025/11/listenpunkt_blau.svg") no-repeat 0px 6px;
		background-size: 17px;
		padding-left: 30px;
		list-style-type: none;
		font-size: 20px;
	}


/* Projektbutton / Projektlink */

.projekt-link-btn {
	display: inline-block;

	padding: 20px 20px 18px;

	background: #1E4995;
	color: #fff;

	font-size: 16px;
	font-weight: 400;

	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;

	border: none;
	border-radius: 10px;

	line-height: 1;
	text-align: center;

	transition: background-color .2s ease;
}

.projekt-link-btn:hover,
.projekt-link-btn:focus {
	background: #112a56;
	color: #fff;
	text-decoration: none;
}


.acc-content .projekt-link-btn {
	margin-top: 10px;
}

/* Impressionen-Bilder */
.impressionen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* max. 3 Spalten */
  gap: 1rem;
  margin-top: 1rem;
}

	.impressionen-grid img {
		width: 100%;
		aspect-ratio: 4 / 3;
		object-fit: cover;
		border-radius: 15px;
	}

/* Tablet: nur 2 Spalten */
@media (max-width: 1024px) {
  .impressionen-grid {
	grid-template-columns: repeat(2, 1fr);
  }
}

/* Handy: 1 Spalte */
@media (max-width: 600px) {
  .impressionen-grid {
	grid-template-columns: 1fr;
  }
}

/* --- Lightbox Overlay --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

/* --- Navigation unter dem Bild --- */
.lightbox-nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 1rem;
}

.lightbox-nav {
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  user-select: none;
  line-height: 1;
  opacity: 0.9;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.lightbox-nav:hover {
  color: #1E4995;
  opacity: 1;
}

/* --- Schließen-Button --- */
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  opacity: 0.9;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: #1E4995;
}

/* --- Caption --- */
.lightbox-caption {
  text-align: center;
  color: #fff;
  font-size: 1rem;
  margin-top: 0.8rem;
  max-width: 80%;
  line-height: 1.4;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .lightbox-overlay img {
	max-width: 95%;
	max-height: 70vh;
  }
  .lightbox-nav-container {
	gap: 2rem;
  }
  .lightbox-nav {
	font-size: 2rem;
  }
  .lightbox-caption {
	font-size: 0.9rem;
  }
}



/* Responsive PROJEKTE  */
@media (max-width: 768px) {
  /* Einheitliche Reihenfolge auf Mobile */
  .projekt-item {
	flex-direction: column !important;
  }

  .projekt-item .projekt-bild {
	order: 1;
  }

  .projekt-item .projekt-content {
	order: 2;
  }

  /* Optional: Abstände harmonisieren */
  .projekt-item {
	gap: 1.5rem;
	margin-bottom: 3rem;
  }

  .projekt-content h3 {
	font-size: 1.6rem;
	margin-bottom: 0.5rem;
  }

  .projekt-content span {
	  font-size: 18px;
	}

  .projekt-ort {
	margin-bottom: 1.2rem;
	font-size: 1rem;
  }

  .projekt-bild img {
	  aspect-ratio: 4 / 3;
	  max-width: none;
	}
	.projekt-content p {
	  font-size: 1.6rem;
	}


	.acc-btn {
		font-size: 19px;
		padding: 0.5rem 4rem 0.5rem 0;
	}

	.acc-content ul li {
		background-size: 13px;
		padding-left: 25px;
		font-size: 17px;
	}
}


/* ----- GOOGLE MAPS ----- */
.map-style.wpb_gmaps_widget .wpb_wrapper {
	background-color: #EEB66B;
	padding: 5px;
	border-radius: 15px;
}

.map-style.wpb_gmaps_widget .wpb_map_wraper iframe {border-radius:15px;}


/* --- KARRIERE --- */
	/* --- AUSBILDUNG --- */
	.azubi-box {
		background: #1E4995;
		padding: 60px 45px;
		border-radius: 15px;
		font-size: 17px;
		line-height: 1.5;
		color: #fff;
		min-height: 780px;
	}

		.azubi-box h3 {
			font-size: 37px;
			padding-bottom: 5px;
			color: #fff;
		}

		.azubi-box img {
			width: 320px;
			height: auto;
		}

@media (max-width: 768px) {
	.azubi-box h3 {
		font-size: 33px;
		padding-bottom: 5px;
		color: #fff;
	}
}



/* --- IMPRESSUM / DATENSCHUTZERKLÄRUNG --- */
.rechtliches h2,
.rechtliches h3 {padding-bottom: 0;}

.rechtliches h2 {
	font-size: 37px;
	margin-top: 45px;
	margin-bottom: 10px;
}

.rechtliches h3 {
	font-size: 32px;
	margin-top: 40px;
	margin-bottom: 10px;
}

.rechtliches h4 {
	margin-top: 30px;
	margin-bottom: 10px;
}

.rechtliches h5 {
	font-size: 21px;
	margin-top: 30px;
	margin-bottom: 10px;
}

.liste ul {
	padding-left: 0;
}

	.liste ul li {
		background: url("../../../wp-content/uploads/2025/11/listenpunkt_blau.svg") no-repeat 0px 6px;
		background-size: 13px;
		padding-left: 27px;
		padding-bottom: 20px;
		list-style-type: none;
		line-height: 1.4;
	}


/* --- FORMULARE --- */
.form-styles p.gform_required_legend {
	display: none;
}

.form-styles .gform_wrapper ::placeholder,
.form-styles .gform_wrapper ::-webkit-input-placeholder,
.form-styles .gform_wrapper input[placeholder],
.form-styles .gform-field-label {
  color: #222;
  font-size: 16px;
  opacity: 1;
}

.form-styles .gform_wrapper input,
.form-styles .gform_wrapper textarea {
	border-radius: 10px !important;
	padding: 25px;
}

	.form-styles .gchoice input {
		padding: 0 !important;
		border-radius: 5px !important;
	}

.form-styles .gform_wrapper select {
	border-radius: 10px !important;
	height: 55px;
	padding: 8px 25px;

}

.form-styles .gform-theme--foundation .gform_fields {
	row-gap: 20px !important;
}

.form-styles .gform_button {
	background: #1E4995 !important;
	border-radius: 10px !important;
	font-size: 16px !important;
	padding: 20px 20px 18px 20px !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
}

	.form-styles .gform_button:hover {
		background: #112A56 !important;
	}


fieldset.form-box {
	margin: 40px 0;
}

.form-styles .abstand-oben {
	margin-top: 50px;
}

.form-styles .selektor-style {
	border-bottom: 3px solid #1E4995;
}

.selektor-light {border-bottom: 1px solid #1E4995 !important;}

.selektor-light-oben {border-bottom: 1px solid #1E4995 !important; margin-bottom: 40px;}
.selektor-light-oben h3 {font-size:0px; padding-bottom:0;}


.form-styles h3 {padding-bottom: 0;}


/* Mobil alle Felder 100% */
@media (max-width: 768px) {
	.gform-theme--foundation .gfield .ginput_password.medium, .gform-theme--foundation .gfield input.medium, .gform-theme--foundation .gfield select.medium {
		inline-size: 100%;
	}
}

/* Checkbox mehrere Spalten */
fieldset.side-by-side {margin-top: 50px;}

.gform_wrapper .gfield.side-by-side .gfield_checkbox {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem 1rem;
}

/* Wichtig: Zwangsbreite aufheben */
.gform_wrapper .gfield.side-by-side .gchoice {
  inline-size: auto !important;
  width: auto !important;
}

@media (max-width: 900px) {
  .gform_wrapper .gfield.side-by-side .gfield_checkbox {
	grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .gform_wrapper .gfield.side-by-side .gfield_checkbox {
	grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .gform_wrapper .gfield.side-by-side .gfield_checkbox {
	grid-template-columns: 1fr;
  }
}

.w-full-child-input input {
	width: 100% !important;
}
.gfield_repeater_wrapper .repeater-col {
	width: 33.333%;
	float: left;
	padding-right: 15px;
	box-sizing: border-box;
}

.gfield_repeater_wrapper .ui-datepicker-trigger {
	display: none;
}
.gfield_repeater_wrapper .gfield_label.gform-field-label {
	display: none;
}
.gform-theme--framework .gfield--type-repeater .gfield_repeater_buttons,
.gfield_repeater_cell {
	margin-block-start: 0 !important;
}
.gfield_repeater_wrapper {
	border-left: none !important;
	padding-inline-start: 0 !important;
}

.gfield_repeater_buttons button {
	margin-top: 10px !important;
}

.gfield_repeater_wrapper .repeater-col:nth-child(3n) {
	padding-right: 0;
}

@media (max-width: 767px) {
	.gfield_repeater_wrapper .repeater-col {
		width: 100%;
		float: none;
		padding-right: 0;
	}
}


/* --------- Blog / NEWS --------- */
.wpbf-post {
	background: #f0f3f9;
	border-radius: 15px;
	padding: 5vw 5vw 0vw 5vw;
}

	.wpbf-post h1 {
		font-size: 55px;
	}

	.article-footer {padding-bottom: 5vw;}

		.article-footer a.wpbf-button {
			font-size: 16px;
			margin-top: 40px;
			padding: 20px 20px 18px 20px;
			text-transform: uppercase;
			letter-spacing: 1px;
			border-radius: 10px;
			background-color: #1E4995;
			color: #fff;
			font-weight: normal;
		}

			.article-footer a:hover.wpbf-button {
				background-color: #112a56;
			}

/* Links für vorherige und nächste Beiträge */
.post-links {
    padding-bottom: 50px;
}


/* Für News-Shortcode */

.kb-news-grid{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:20px;
	margin:40px 0;
}

.kb-news-card{
	background:#fff;
	border-radius:15px;
	padding:35px;
	display:flex;
	flex-direction:column;
	box-sizing:border-box;
}

.kb-news-title{
	margin: 0;
	font-size: 25px;
	line-height: 1.2;
	text-transform:uppercase;
}

.kb-news-title a{
	color:#1e4995;
	text-decoration:none;
}

.kb-news-title a:hover{
	color:#1e4995;
}

.kb-news-excerpt{
	color:#222;
	font-size: 17px;
	line-height:1.5;
	flex:1;
}

.kb-news-excerpt p{
	margin:0;
}

.kb-news-button{
	display:inline-block;
	margin-top:30px;
	align-self:flex-start;

	background:#1e4995;
	color:#fff;
	text-decoration:none;

	padding:10px 20px;
	border-radius:10px;
	text-transform:uppercase;
	transition:.25s;
	font-size: 15px;
}

.kb-news-button:hover{
	background-color: #112a56;
	color:#fff;
}

.kb-news-date{
	font-size:14px;
	color:#7a7a7a;
	margin-bottom:14px;
	font-weight:500;
}


@media(max-width:992px){

	.kb-news-grid{
		grid-template-columns:repeat(2,1fr);
	}

}

@media(max-width:767px){

	.kb-news-grid{
		grid-template-columns:1fr;
	}

}

.ivm-multicity-field .gfield_label {
	font-weight: 700;
	margin-top: 20px;
}

#gform_fields_4 .ivm-multicity-field .gfield_checkbox {
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: var(--gf-field-choice-gap, 10px); /* Nutzt den Standard-Abstand */
}
#gform_fields_4 .ivm-multicity-field .gfield_checkbox > * {
	flex: 0 1 calc(33.333% - var(--gf-field-choice-gap, 10px));
	min-width: 120px; /* Verhindert das Quetschen auf Mobilgeräten */
}