/*
 * Kontaktformular
 */



.form-group input {}


#kontaktformular-39, #contactform-101 {
	padding:0px;
}

.form-group
{
	float:left;
	margin:0 0 20px;
	width:100%;
	
}


form .actions{
   float:left;
	margin:0 0 20px;
	width:100%; 
}

.form-check {
    padding-left:0px;
}

#kontaktformular-39 .form-group:last-child, #contactform-101 .form-group:last-child
{
	margin-bottom:0;
}

#kontaktformular-39 .form-group label, #contactform-101 .form-group label
{
	float:left;
	width:100%;
	
}

#kontaktformular-39 .form-group label.form-check-label, 
#contactform-101 .form-group label.form-check-label, 
{
	display:inline-block;	
}

.form-group input,
.form-group textarea,
{
	float:left;
	width:100%;
	background-color: #fff;
	border:1px solid var(-darker-light-grey);
	font-size:15px;
	font-family: Figtree, sans-serif;
	color: var(--text-color);
}


#kontaktformular-39 .form-group input,
#contactform-101 .form-group input
{
	height:40px;
	border-bottom: 1px solid #dfe0e1;	
}

#kontaktformular-39 .form-group .form-check-label input,
#contactform-101 .form-group .form-check-label input
{
	width:auto;
}

button.btn-primary{
	  color:var(--white-color);
font-size:0.83rem;   
  background-color: var(--primary-color);
 padding:2px 12px;
 border-radius: 10px; 
    font-weight:600;
}


button.btn-primary:hover{
	background-color: var(--primary-color);
	color:#fff;
}


#c44{margin-top:-46px; margin-left:15px;}

label[for=kontaktformular-39-checkbox-1] span, label[for=gewinnspiel-200-checkbox-1] span

{
   display:none;
}


.btn-group.submit {margin-top:20px;}


/*
 * Gallery
 */
.mfp-wrap figcaption,
.mfp-wrap .mfp-bottom-bar
{
	display:block;
}

.gallery
{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}

.gallery .magnific-popup
{
	margin:0 30px 30px 0;
	width:calc(100% / 4 - 90px / 4);
}

.gallery .magnific-popup:nth-child(4n)
{
	margin-right:0;
}

.gallery .magnific-popup:last-child
{
	margin-right:0 !important;
}

.gallery .magnific-popup:nth-last-child(-n+4)
{
	margin-bottom:0;
}

@media (min-width:768px) and (max-width:1023px)
{
	/*
	 * Gallery
	 */
	.gallery .magnific-popup,
	.gallery .magnific-popup:nth-child(4n),
	.gallery .magnific-popup:nth-last-child(-n+4)
	{
		margin:0 30px 30px 0;
		width:calc(100% / 3 - 60px / 3);
	}
	
	.gallery .magnific-popup:nth-child(3n)
	{
		margin-right:0;
	}
	
	.gallery .magnific-popup:nth-last-child(-n+3)
	{
		margin-bottom:0;
	}
}

@media (max-width:767px)
{
	/*
	 * Gallery
	 */
	.gallery .magnific-popup,
	.gallery .magnific-popup:nth-child(4n),
	.gallery .magnific-popup:nth-last-child(-n+4)
	{
		margin:0 20px 20px 0;
		width:calc(100% / 2 - 20px / 2);
	}
	
	.gallery .magnific-popup:nth-child(2n)
	{
		margin-right:0;
	}
	
	.gallery .magnific-popup:nth-last-child(-n+2)
	{
		margin-bottom:0;
	}
}



.sf-event-listing {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.event-card {
    background: transparent;
    border: 0;
    padding: 1rem 0;
}

.event-card__content--textonly {
    padding-left: 40px;
	PADDING-RIGHT:40PX;
}

.event-card__media-wrap {
    position: relative;
    padding-top: 1.25rem;
    padding-left: 3.25rem;
    min-height: 120px;
}

.event-card__image img,
.event-card__image .img-fluid {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.event-card__date-bubble {
    position: absolute;
    top: -25px;
    left: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #0ea5e9;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.event-card__date-day {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.event-card__date-month {
    font-size: 1rem;
    font-weight: 700;
    text-transform: none;
}

.event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 20px;
    color: #1199dd;
    font-weight: 500;
}

.event-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
	font-size:0.83rem;
}

.event-card__meta-icon {
    line-height: 1;
}

.event-card__title {
    margin: 5px 0 5px 0;
    line-height: 1.15;
    font-weight: 700;
}

.event-card__title a {
    color: #2f2f2f;
    text-decoration: none;
}

.event-card__title a:hover {
    color: #1199dd;
}

.event-card__teaser {
    color: #4b4b4b;
    font-style: italic;
}

.event-card__links {
    font-weight: 600;
	margin-top:5px !important;
}

.event-card__link {
    color: #1199dd;
    text-decoration: none;
}

.event-card__link:hover {
    text-decoration: underline;
}

.event-card__link-sep {
    display: inline-block;
    margin: 0 0.5rem;
    color: #1199dd;
}

@media (max-width: 991.98px) {
    .event-card__title {
        font-size: 1.5rem;
    }

    .event-card__date-bubble {
        width: 70px;
        height: 70px;
    }

    .event-card__date-day {
        font-size: 1.8rem;
    }

    .event-card__media-wrap {
        padding-left: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .event-card__media-wrap {
        padding-left: 2rem;
        padding-top: 1rem;
    }

    .event-card__date-bubble {
       width: 70px;
        height: 70px;
    }

    .event-card__date-day {
        font-size: 1.6rem;
    }

    .event-card__date-month {
        font-size: 0.9rem;
    }
}


/* =========================
   SF Event Mgt Detail
   ========================= */

.event-detail .article {
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
  color: var(--text-color, #222);
}

/* Header */
.event-detail .article .event-img-wrap .header {
  margin-bottom: 0.75rem;
}


.event-detail .article .event-preheader {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--primary-color);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

/* Icons sauber ausrichten */
.event-detail .article .event-preheader i {
  margin-right: 0.35rem;
  font-size: 0.95em;
  vertical-align: -0.05em;
}

/* optional: etwas Abstand nach dem Komma optimieren */
.event-detail .article .event-date {
  display: inline-flex;
  align-items: center;
}

.event-detail .article .event-time {
  display: inline-flex;
  align-items: center;
}


.event-detail .article .header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.event-detail .article .subheadline {
  margin: 0 0 1.25rem;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.35;
  font-weight: 500;
  color: #555;
}

/* Teaser */
.event-detail .article .teaser-text {
  margin-bottom: 3rem;
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 400;
  color: #333;
}

/* Contentbereich */
.event-detail .article .event-body {
  margin-bottom: 2.5rem;
}

.event-detail .article .event-text-wrap {
  font-size: 1.1rem;
  line-height: 1.75;
}

.event-detail .article .event-text-wrap p {
  margin: 0 0 1.2rem;
}

/* Bild links mit Textumfluss */
.event-detail .article .event-img-wrap {
  float: left;
  width: min(38%, 320px);
  margin: 0 2rem 1.25rem 0;
}

.event-detail .article .event-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Float sauber beenden */
.event-detail .article .event-body::after {
  content: "";
  display: block;
  clear: both;
}

/* Links im Text */
.event-detail .article .event-text-wrap a,
.event-detail .article .event-meta-wrap a {
  text-underline-offset: 0.14em;
}

/* Parameterblock */
.event-detail .article .event-meta-wrap {
  clear: both;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.event-detail .article .event-meta-headline {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 700;
}

.event-detail .article .event-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
}

.event-detail .article .event-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.event-detail .article .event-meta-item .label {
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #777;
}

.event-detail .article .event-meta-item .value {
  font-size: 1rem;
  line-height: 1.55;
  color: #222;
}

/* Tablet */
@media (max-width: 991.98px) {
  .event-detail .article {
    padding: 2rem 0 3rem;
  }

  .event-detail .article .teaser-text {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
  }

  .event-detail .article .event-text-wrap {
    font-size: 1.02rem;
    line-height: 1.7;
  }

  .event-detail .article .event-img-wrap {
    width: min(44%, 320px);
    margin-right: 1.5rem;
  }

  .event-detail .article .event-meta-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .event-detail .article .header h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .event-detail .article .subheadline {
    font-size: 1.1rem;
    line-height: 1.45;
  }

  .event-detail .article .teaser-text {
    font-size: 1.08rem;
    line-height: 1.55;
  }

  .event-detail .article .event-img-wrap {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 1.25rem;
  }

  .event-detail .article .event-text-wrap {
    font-size: 1rem;
    line-height: 1.65;
  }
}






/* =========================
   TX News Detail
   ========================= */

.news .article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
  color: var(--text-color, #222);
}

/* Header */
.news .article .header {
  margin-bottom: 0.75rem;
}

.news .article .header h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Datum */
.news .article .footer {
  margin-bottom: 1.5rem;
}

.news .article .news-list-date,
.news .article .news-list-date time {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #777;
}

/* Teaser */
.news .article .teaser-text {
  margin-bottom: 3rem;
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 400;
  color: #333;
}

/* Contentbereich */
.news .article .news-text-wrap {
  font-size: 1.1rem;
  line-height: 1.75;
}

.news .article .news-text-wrap p {
  margin: 0 0 1.2rem;
}

/* Bild rechts mit Textumfluss */
.news .article .news-img-wrap {
  float: right;
  width: min(38%, 420px);
  margin: 0 0 1.25rem 2rem;
}

.news .article .news-img-wrap .outer {
  display: block;
}

.news .article .news-img-wrap .mediaelement-image {
  display: block;
}

.news .article .news-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Nach dem Fließtext Float sauber beenden */
.news .article .news-text-wrap::after {
  content: "";
  display: block;
  clear: both;
}

/* Links im Text */
.news .article .news-text-wrap a {
  text-underline-offset: 0.14em;
}

/* Related Bereich mit Abstand */
.news .article .news-related-wrap {
  clear: both;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Tablet */
@media (max-width: 991.98px) {
  .news .article {
    padding: 2rem 0 3rem;
  }

  .news .article .teaser-text {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
  }

  .news .article .news-text-wrap {
    font-size: 1.02rem;
    line-height: 1.7;
  }

  .news .article .news-img-wrap {
    width: min(44%, 320px);
    margin-left: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .news .article .header h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .news .article .teaser-text {
    font-size: 1.08rem;
    line-height: 1.55;
  }

  .news .article .news-img-wrap {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 1.25rem;
  }

  .news .article .news-text-wrap {
    font-size: 1rem;
    line-height: 1.65;
  }
}




