/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* source-sans-pro-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/source-sans-pro-v21-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/source-sans-pro-v21-latin-300.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* source-sans-pro-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/source-sans-pro-v21-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* source-sans-pro-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-sans-pro-v21-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/source-sans-pro-v21-latin-600.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* source-sans-pro-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/source-sans-pro-v21-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/source-sans-pro-v21-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* source-serif-pro-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/source-serif-pro-v15-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/source-serif-pro-v15-latin-300.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* source-serif-pro-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-serif-pro-v15-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/source-serif-pro-v15-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* source-serif-pro-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-serif-pro-v15-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/source-serif-pro-v15-latin-600.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* source-serif-pro-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/source-serif-pro-v15-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('fonts/source-serif-pro-v15-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


body,
p {
	font-family: 'Source Sans Pro', sans-serif !important;
	font-size: 1.1rem;
	font-weight: 300;
}

.bg-color-gradient {
/*	background: linear-gradient( to bottom left, rgba(250, 195, 0, .3), rgba(255, 245, 220, .3) 70% ); */
	background: linear-gradient(rgba(250, 195, 0, .3), rgba(255, 245, 220, .0) 70% );
}

.bg-color-solid {
	background: rgba(250, 195, 0, .2);
}


h2, h3, h4, h5, h6 {
font-family: 'Source Sans Pro', sans-serif;
}

h1 {
	font-family: 'Source Serif Pro', serif;
	font-family: 'Source Sans Pro', sans-serif;
	color: #cdce00;
	font-weight: 900;
	line-height: 100%;
}

h2 {
	font-weight: 500;
	font-size: 1.7rem !important;
	margin-bottom: 10px;
	text-transform: none
}

h3 {
	font-weight: 400;
	font-size: 1.5rem !important;
	margin-bottom: 10px;
}

.sb-msg h3 {
	font-weight: 600;
	text-transform: uppercase;
}

h4 {
	font-weight: 400;
	font-size: 1.5rem !important;
	margin-bottom: 10px;
}

.team-title h4 {
    text-transform: none;
    letter-spacing: 0px;
    font-weight: 600;
}


#page-title h1 {
	color: #dd0b14;
	font-size: 4rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 20px;
}

h1.home {
	color: #fff;
	font-size: 4rem;
	line-height: 140%;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 20px;
/*	text-shadow: 2px 2px 0px #fff; */
}

h2.home {
	color: #fff;
	font-size: 26px !important;
	line-height: 140%;
	font-weight: 300;
	text-transform: none;
/*	text-shadow: 2px 2px 0px #fff; */
}


#page-title span {
	color: #777 !important;
	font-size: 1.4rem;
}

.fancy-title h2,
.fancy-title h3 {
	font-weight: 400 !important;
	color: #dd0b14;
	text-transform: uppercase;
	font-size: 1.4rem;
	letter-spacing: 2px;
}


.slider-title p {
	font-size: 1.5rem;
	font-weight: 300;
}



.menu-link {
    padding: 14px 25px 14px 0px;
    font-size: 1em;
	font-weight: 500;
    letter-spacing: 1px;
    text-transform: none;
}

nav.primary-menu {
	margin-top: 50px !important;
}


.sub-menu-container .menu-item > .menu-link {
   adding: 11px 5px 5px 15px;
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    letter-spacing: 1px;
	text-transform: none;
}


.heading-block.center > span,
.heading-block.text-center > span,
.center .heading-block > span,
.text-center .heading-block > span {
    max-width: 1000px !important;
    margin-left: auto;
    margin-right: auto;
	line-height: 200%;
}

.section.home h1,
.heading-block h1 {
	color: #cdce00;
	font-size: 3rem;
	letter-spacing: 1px;
	font-weight: 500;
	text-transform: uppercase;
}

.section.home h1 {
	font-size: 5rem !important;
	text-shadow: 2px 2px 2px rgba(255,255,255,0.0);
	color: #fff;
}

.heading-block h1 + span {
    font-size: 1.2rem;
}

.heading-block p {
margin-top: 30px !important;
}

.heading-block::after {
    content: '';
    display: block;
    margin-top: 40px;
    width: 200px;
    border-top: 1px solid #cdce00;
}

.section.home .text-uppercase,
.section.home p {
	letter-spacing: 2px;
}

.section.home p {
	letter-spacing: 1px;
}

p {
    line-height: 200% !important;
	color: #777;
	font-size: 1.1rem;
	
}

.section.home p {
	color: #fff !important;
}

.col-md-3 .section {
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}

.section.headline {
	padding-top: 100px !important;
}

.col-md-3 .section.headline {
	padding-top: 0px !important;
}

.col-md-3 .section.headline .heading-block {
	margin-bottom: 0px !important;
}

.fbox-content h3 {
}


.card-body h4.card-title {
	text-transform: none;
	font-weight: 700 !important;
	color: #fff;
	font-size: 1.6rem !important;
}

.card h2,
.card p {
	color: #fff;
}

.team-title h2 {
	font-size: 2.6rem;
}

h3.display-5 span.caption-intro {

	font-weight: 300 !important;
	font-size: 1.1rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	display: block;
	color: #202826 !important;
}



h3.display-5 span.font-secondary {
	font-size: 3rem;
	text-transform: none;
}

.team-desc ul,
.row ul {
	color: #777;
	line-height: 200% !important;
	margin-left: 20px;
	margin-top: 20px;
}

.team-desc h3 {
	color: #fac300;
	font-size: 1.5rem;
}


@media (max-width: 767.98px) {
	#page-title h1 { font-size: 3.2rem; }
	h1.home { font-size: 3.2rem; }
	h2.home { font-size: 2.4rem !important; }
	.section.home h1 { font-size: 4rem !important; }
	.heading-block h1 { font-size: 2.4rem; }
	.slider-title p { font-size: 1.4rem; }
	#page-title span { font-size: 1.3rem; }
	.fancy-title h2,
	.fancy-title h3 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
	#page-title h1 { font-size: 2.5rem; }
	h1.home { font-size: 2.4rem; }
	h2.home { font-size: 2rem !important; }
	.section.home h1 { font-size: 3rem !important; }
	.heading-block h1 { font-size: 2rem; }
	.slider-title p { font-size: 1.3rem; }
	#page-title span { font-size: 1.2rem; }
	.fancy-title h2,
	.fancy-title h3 { font-size: 1.2rem; }
}




.owl-carousel .owl-nav [class*=owl-] {
    border: 0px solid rgba(0,0,0,0.2);
}

/*
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.9em;
    font-weight: 500;
}
*/

.fbox-light .fbox-icon i, 
.fbox-light .fbox-icon img {
    border: 0px solid #E5E5E5;
    background: none !important;
    color: #444;
	border-radius: 0px;
}


.grid-filter.style-2 li a, 
.grid-filter.style-3 li a, 
.grid-filter.style-4 li a {
    padding-top: 9px;
    padding-bottom: 9px;
    border-radius: 22px;
    border: none;
}

.grid-filter li a {
    display: block;
    position: relative;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    border-radius: 2px;
}

.icon-color {
    filter: invert(77%) sepia(34%) saturate(1139%) hue-rotate(12deg) brightness(96%) contrast(101%);
}


.style-msg {
	overflow: hidden;
	border-left: none;
}

.style-msg .sb-msg {
    font-size: 1.2rem;
}


.infomsg {
	background-color: #fff;
}

.divider {
    margin: 2rem auto;
}

.toggle {
	margin-bottom: 0px;
}

.badge {
	font-size: 1rem;
	font-weight: 600;
	margin: 2px;
}

.badge-block {
	margin-bottom: 5px;
}

.badge-block-status .badge {
	color: #000;
	font-weight: 500;
	font-size: 1.2rem;
}

.icon.info {
	width: 20px;
}

.closed {
	filter: invert(4%) sepia(91%) saturate(7496%) hue-rotate(12deg) brightness(112%) contrast(97%);
}

.open {
	filter: invert(71%) sepia(82%) saturate(579%) hue-rotate(11deg) brightness(95%) contrast(101%);
}

.restricted {
	filter: invert(60%) sepia(56%) saturate(5738%) hue-rotate(341deg) brightness(91%) contrast(97%);
}
		
		
.bg-tee.yellow {
	background-color: yellow;
	color: #555;
}

.bg-tee.orange {
	background-color: orange;
}

.bg-tee.red {
	background-color: red;
}

.bg-tee.blue {
	background-color: blue;
}

.bg-tee.green {
	background-color: #084411;
}

.bg-tee.par-hcp {
	background-color: #ccc;
	color: #555;
}


.bg-area.green {
	background-color: #084411;
}

.bg-area.red {
	background-color: darkred;
}

.box-margin {
	margin: 20px;
}

.button {
	font-size: 1rem;
}


.feature-box {
	margin-bottom: 20px;
	background-color: #fff;
	padding: 20px 10px 10px 10px;
	border: 0px solid #dfdddc;
}


.fbox-content h3 {
	letter-spacing: 1px;
	font-size: 1rem !important;
	font-weight: 600;
}

.fbox-content.course h3 {
	font-size: 1.4rem !important
}

.fbox-content ul,
.fbox-content p {
    color: #777;
	font-weight: 300;
	font-size: 1.1rem;
}

.fbox-content ul {
	text-align: left;
}

.button-border.button-black {
    color: #cdce00;
    border-color: #cdce00;
}

 .button-border.button-black.button-fill::before {
    background-color: #cdce00 !important;
}


.title-border::before, 
.title-border::after {
    border-top-width: 0px;
    border-top-style: solid;
}


label.headline {
	color: #dd0b14;
	text-transform: none;
	font-size: 1rem;
	font-weight: 600;
	background-color: #f9f6f5;
	padding: 10px 15px;
	margin-top: 20px;
	border-radius: 5px;
	display: block;
	border: 1px solid #dfdddc;
	border-color: #777;
}

label {
	text-transform: none;
	font-size: 1rem;
	font-weight: 300;
}

label.info {
	font-size: 0.9rem;
	letter-spacing: normal;
}

.btn-outline-secondary {
    color: #777;
    border-color: #dfdddc;
}

.btn-outline-secondary:hover {
    color: #777;
    border-color: #777;
	background-color: #f9f6f5;
	outline: none;
}

 
.sm-logo {
	width: 40px;
}


#footer {
	background-color: #eee !important;
}

#footer h3 {
	color: #333;
	font-size: 1.2rem !important;
	font-weight: 600;
	text-transform: uppercase
}

#footer p {
	color: #000;
}

#footer ul,
ul.clients-grid {
	margin-left: 0px;
}

#footer ul {
    margin-top: 0px;
}

#footer li::marker {
    content: '';
    font-size: 1.2em;
}

.widget_links li:before {
	color: #fff;
}

#footer .footer-widgets-wrap {
    position: relative;
    padding: 20px 0;
}


/*
@media (min-width: 992px) {
    .sub-menu-container > .menu-item.sub-menu > .menu-link::after {
        content: '+';
        margin-left: 5px;
        font-weight: 400;
    }


    .sub-menu-container > .menu-item.sub-menu:hover > .menu-link::after {
        content: '−';
    }
}
*/
@media (min-width: 992px) {
    .sub-menu-container > .menu-item.sub-menu > .menu-link::after {
        content: "\e99a";
        font-family: 'font-icons'; /* ggf. anpassen */
        margin-left: 5px;
        font-weight: 400;
        display: inline-block;
        transition: transform .3s ease;
    }

    .sub-menu-container > .menu-item.sub-menu:hover > .menu-link::after {
        transform: rotate(90deg);
    }
}




/* ------ neues Template ------ */

@media (min-width: 992px) and (max-width: 1250px) {
	#header-wrap .container { max-width: 100%; margin: 0; padding: 0 15px; }
	
    .header-row {
        flex-wrap: nowrap;
        align-items: center;
    }
    nav.primary-menu {
        flex: 0 0 auto;
        flex-grow: 0;
    }
    .menu-container > .menu-item > .menu-link {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 1rem;
    }

}


@media (min-width: 992px) {
    .primary-menu:not(.on-click) .sub-menu-container .menu-item:hover > .sub-menu-container {
        margin-top: -84px;
    }
}


@media (max-width: 991.98px) {
  nav.primary-menu {
    margin-top: 0 !important;
  }
}











.section_bg_none,
.section_bg_gray
{ clear: both; display: block; position: relative; top: 0; left: 0; width: 100%; height: auto; margin: 0; padding: 50px 0 30px 0; z-index: 1; }

.section_bg_none { background-color: transparent; }
.section_bg_gray { background-color: #eee; }



.section_bg_image { display: block; position: static; width: 100%; height: auto; min-height: 50vh; margin: 0; padding: 100px 0 80px 0; z-index: 1;
	background-color: #fff; background-position: center center; background-attachment: scroll; background-repeat: no-repeat; background-size: cover; }


/* ------------ Outer Box ------------ */
/* Ausgangswerte: (Seitenbreite: 1600px | Abstand: 50px) */
.outer_box { clear: both; display: block; float: left; width: 93.75%; margin: 0 0 20px 3.13%; padding: 0; }

.box_width_full { width: 100%; margin: 0 0 20px 0; }
.box_width_1_2 { clear: none; width: 45.31%; }
.box_width_1_3 { clear: none; width: 29.17%; }
.box_width_2_3 { clear: none; width: 61.47%; }
.box_width_1_4 { clear: none; width: 21.09%; }
.box_width_3_4 { clear: none; width: 69.53%; }

.outer_box .image { margin: 0 0 25px 0; text-align: center; }
.outer_box .image a { text-decoration: none !important; }
.outer_box .image a:hover { opacity: 0.8; }

.text_bild .flLeft { float: left; display: block; width: auto; max-width: 42.86%; margin: 0 15px 0 0; overflow: hidden; }
.text_bild .flRight { float: right; display: block; width: auto; max-width: 42.86%; margin: 0 0 0 15px; overflow: hidden; }
.text_bild .image span.small { display: block; }

.zweispalter { }
.zweispalter .flLeft { float: left; display: block; width: 47.37%; margin: 0; overflow: hidden; }
.zweispalter .flRight { float: right; display: block; width: 47.37%; margin: 0; overflow: hidden; }


.box_bg_white { background-color: #fff; box-shadow: 2px 2px 6px 0 #555; }
.box_bg_gray { background-color: #f0f0f0; box-shadow: 2px 2px 6px 0 #555; }

.outer_box_inner { padding: 20px 20px 1px 20px; }

@media all and (max-width:768px) {
.text_bild .flLeft,
.text_bild .flRight { float: none; width: auto; max-width: none; margin: 0 0 15px 0; }

.zweispalter { background-image: none; }
.zweispalter .flLeft { float: none; width: auto; margin: 0 0 15px 0; }
.zweispalter .flRight { float: none; width: auto; margin: 0; }

.outer_box { clear: both; float: none; width: auto; margin: 0 0 20px 0; }
.box_width_full { width: 100%; margin: 0 0 20px 0; }
}




a img { transition: opacity 200ms ease-in-out; }
a:hover img, a:focus img { opacity: 0.8; }

a.link_as_button {
    display: inline-block;
    border: 2px solid #cdce00;
    border-radius: 50px; 
    padding: 9px 22px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0; 
    text-transform: none; 
    margin: 0;
    color: #cdce00;
    background-color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}
a.link_as_button:hover,
a.link_as_button:focus {
    color: #fff;
    background-color: #cdce00; 
}




/* fuer responsive Webseiten */
img { max-width: 100%; height: auto; }
/* SVG Grafiken der Startseite */
img.svg-icon-start { width: 50px; height: 50px; } 
 


.header_image_simple { display: block; position: relative; top: 0; left: 0; width: 100%; height: auto; margin: 0; padding: 0; z-index: 1; background-position: center; background-repeat: no-repeat; background-size: cover; }
.header_image_simple img { display: none; }
.header_image_simple.normal img { display: block; width: 100%; }

.header_image_simple.height_25vh { min-height: 25vh; }
.header_image_simple.height_33vh { min-height: 33vh; }
.header_image_simple.height_50vh { min-height: 50vh; }
.header_image_simple.height_66vh { min-height: 66vh; }
.header_image_simple.height_75vh { min-height: 75vh; }
.header_image_simple.height_100vh { min-height: 100vh; }

.header_image_simple_text { display: block; position: absolute; top: 30px; left: 30px; width: auto; height: auto; margin: 0; padding: 0; z-index: 1; color: #fff; font-size: 3rem; }

#arrow_slide_down_to_content { position: absolute; display: flex; align-items: center; justify-content: center; top: auto; bottom: 20px; left: 50%; width: 40px; height: 40px; margin: 0 0 0 -20px; padding: 0; z-index: 10; background-color: rgba(0, 0, 0, 0.1); border: none; animation: arrow_slide_down_to_content_jump 2s infinite; cursor: pointer; font-size: 24px; color: #fff; }
#arrow_slide_down_to_content span { transform: rotate(90deg) translateY(-1px); }
#arrow_slide_down_to_content:hover,
#arrow_slide_down_to_content:focus { background-color: rgba(0, 0, 0, 0.5); }

@keyframes arrow_slide_down_to_content_jump {
25% { transform: translate(0, 0) scale(1); }
50% { transform: translate(0, -10px) scale(1.2); }
}

/*
#header_image_slider_tiny .tns-outer { margin: 0; }
.header_image_slider_tiny_content { position: relative; display: block; width: 100%; height: auto; }

#header_image_slider_tiny_banner_250 { display: block; position: absolute; top: 0; left: auto; right: 150px; width: 125px; margin: 0; padding: 0; z-index: 10; }

@media all and (max-width:980px) {
#header_image_slider_tiny_banner_250 { right: 80px; width: 100px; }
#header_image_slider_tiny_banner_250 .h5 { font-size: 1.2rem; }
#header_image_slider_tiny_banner_250 .display-1 { font-size: 5vw; }
}
@media all and (max-width:768px) {
#header_image_slider_tiny_banner_250 { right: 20px; width: 80px; }
#header_image_slider_tiny_banner_250 .h5 { font-size: 1.1rem; }
#header_image_slider_tiny_banner_250 .display-1 { font-size: 4vw; }
}

@media all and (max-width:480px) {
#header_image_slider_tiny_banner_250 { right: 15px; width: 50px; }
#header_image_slider_tiny_banner_250 .h5 { font-size: 1.0rem; }
#header_image_slider_tiny_banner_250 .display-1 { font-size: 2.0rem; }
}
*/
/* =========================================================================
   Header Image Slider Tiny
   Eigenstaendiges CSS ohne Framework-Abhaengigkeiten
   ========================================================================= */

/* ── Slide: Hintergrundbild */
#header_image_slider_tiny .tns-outer { margin: 0; }

.header_image_slider_tiny_box,
.header_image_slider_tiny_content { display: block; width: 100%; height: auto; margin: 0; padding: 0; }


.header_image_slider_image { display: block; position: relative; top: 0; left: 0; width: 100%; height: auto; margin: 0; padding: 0; background-position: center center; background-repeat: no-repeat; background-size: cover; }

/* ── Textblock: vertikal zentriert, links positioniert ── */
.header_image_slider_content { width: 100%; max-width: 1320px; margin: 0 auto; padding: 9rem 90px 8rem 90px; z-index: 5; }

.header_image_slider_title { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: #fff; margin-bottom: 0.5rem; }
.header_image_slider_untertitel { font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 1rem; }

.header_image_slider_text { font-size: 1.1rem; color: #fff; line-height: 1.5; margin: 0; }

/* ── Banner 250 ── */
#header_image_slider_tiny_banner_250 { display: block; position: absolute; top: 0; left: auto; right: 150px; width: 125px; height: auto; margin: 0; padding: 0; z-index: 10; }


@media all and (max-width: 980px) {
    #header_image_slider_tiny_banner_250 { right: 80px; width: 100px; }
}

@media all and (max-width: 768px) {
	.header_image_slider_content { padding: 6rem 60px 5rem 60px; }
    .header_image_slider_title { font-size: 0.9rem; }
    .header_image_slider_text { font-size: 1.2rem; }
    #header_image_slider_tiny_banner_250 { right: 20px; width: 80px; }
}

@media all and (max-width: 480px) {
	.header_image_slider_content { padding: 5rem 20px 4rem 20px; }
    .header_image_slider_title { font-size: 0.8rem; }
    .header_image_slider_text { font-size: 1rem; }
    #header_image_slider_tiny_banner_250 { right: 15px; width: 50px; }
}





.hilfsnavigation_unterebene { display: block; margin: 40px 0; padding: 0 20px; text-align: center; }
.hilfsnavigation_unterebene ul { list-style: none; margin: 0; padding: 0; }
.hilfsnavigation_unterebene li {list-style-type: none; display: inline-block; margin: 0 5px 10px 5px; padding: 0; }

.hilfsnavigation_unterebene li a { display: block; width: auto; height: auto; margin: 0; padding: 5px 15px; font-size: 0.9rem; text-decoration: none; color: #FFF; background-color: #444; }
.hilfsnavigation_unterebene li a:hover, .hilfsnavigation_unterebene li a:focus { text-decoration: none; color: #fff; background-color: #cdce00; }
.hilfsnavigation_unterebene li a.rex-current, .hilfsnavigation_unterebene li a.rex-active { color: #000; background-color: #cdce00; }

.hilfsnavigation_unterebene li:first-child { margin-left: 0; }



.bildergalerie_masonry { clear: both; display: block; width: 100%; max-width: 1600px; margin: 0; padding: 0; column-count: 3; column-gap: 20px; }

.bildergalerie_masonry a {
float: none; display: inline-block; width: 100%; margin: 0 0 20px 0; padding: 0; box-shadow: 0 0 2px 0 #333; }

@media screen and (max-width:768px){
.bildergalerie_masonry { column-count: 2; }
}
@media screen and (max-width:480px){
.bildergalerie_masonry { column-count: 1; column-gap: 0; }
}




.teaser_category { clear: both; display: flex; margin: 0; padding: 0; flex-flow: row wrap; justify-content: flex-start; }
a.teaser_category_box { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 21.88%; height: auto; margin: 0 0 2.5% 2.5%; padding: 20px 10px; background-color: #000; color: #fff; text-decoration: none; text-align: center; transition: all 0.125s ease-in; }
a.teaser_category_box:hover { background-color: #999; color: #fff; text-decoration: none; }
a.teaser_category_box img { transition: all 500ms ease-in-out; }
a.teaser_category_box:hover img { transform: scale(1.1); }
a.teaser_category_box.with_image { padding: 0; }
span.teaser_category_box_image { display: block; overflow: hidden; }
span.teaser_category_box_text { display: block; position: relative; z-index: 10; padding: 20px 10px; }

@media all and (max-width:980px) {
a.teaser_category_box { width: 30%; }
}

@media all and (max-width:768px) {
a.teaser_category_box { width: 46.25%; }
}

@media all and (max-width:480px) {
.teaser_category { display: block; }
a.teaser_category_box { display: block; width: 95%; }
}



/*
#article_nav { clear: both; display: block; width: auto; margin: 80px 2.5% 20px 2.5%; }
#article_nav a { display: inline-block; padding: 5px 2px; text-decoration: none; color: #FFF; background-color: #000; white-space: nowrap; font-size: 0.8rem; width: 90px; text-align: center; }
#article_nav a:hover { text-decoration: none; color: #FFF; background-color: #999; }
*/
#article_nav { clear: both; display: block; width: 100%; margin: 80px 0 20px 0; }
#article_nav_back { float: left; width: 20%; }
#article_nav_next { float: right; width: 20%; text-align: right; }
#article_nav_home { margin: 0 21%; text-align: center; }





/* News Filter
-----------------------------------------------------------------*/

.news-filter-wrap {
    display: flex;
    justify-content: space-between;
}

.news-filter {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.75rem;
    list-style: none;
}

.news-filter button {
    display: block;
	margin: 0 5px 10px 5px;
    padding: 9px 20px;
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    border-radius: 22px;
    border: none;
    background: none;
    cursor: pointer;
}

.news-filter button:hover { color: #084411; }

.news-filter button.activeFilter {
    color: #fff;
    background-color: #084411;
    font-weight: bold;
}


#news-container { display: flex; flex-wrap: wrap; }

.news-item { margin-bottom: 2rem; transition: opacity 0.3s ease, transform 0.3s ease; }
.news-item.hidden { display: none; }

.img-wrap-svg { width: 100%; aspect-ratio: 640 / 480; overflow: hidden; }
.img-wrap-svg img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 1rem; }





#small_overlay_content { display: block; position: fixed; top: auto; bottom: 30px; left: 30px; width: auto; max-width: 480px; min-width: 240px; height: auto; margin: 0; padding: 30px 20px 10px 20px; z-index: 9999;
	background-color: #cdce00 ; border-radius: 6px; color: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	transition: opacity 500ms ease-in-out, visibility 500ms ease-in-out;

}
#small_overlay_content.active { display: block;
	visibility: visible;
	opacity: 1;
}

@keyframes smallOverlayIn {
	from {
		opacity: 0.5;
		transform: translateX(-150%);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}
#small_overlay_content.active.delay {
	animation: smallOverlayIn 500ms ease-in-out 2s both;
}

#small_overlay_content h3 { color: #fff; }
#small_overlay_content p { margin-bottom: 10px; color: #fff; line-height: 1.5 !important; }

#small_overlay_content .outer_box { float: none; width: 100%; margin: 0; }


#small_overlay_close { display: block; position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; margin: 0; padding: 0; z-index: 10000;
	font-size: 24px; line-height: 24px; text-align: center; color: #fff; background-color: transparent; border: none; cursor: pointer; }
#small_overlay_close:hover,
#small_overlay_close:focus { color: #084411; transition: all 200ms ease-in-out; }

#small_overlay_open { display: none; position: fixed; top: auto; bottom: 30px; left: 30px; margin: 0; padding: 5px 20px; z-index: 9999; border-radius: 6px;
	background-color: #cdce00 ; color: #fff; font-size: 16px; line-height: 25px; border: none; cursor: pointer; }
#small_overlay_open:hover,
#small_overlay_open:focus { background-color: #084411; color: #fff; }
#small_overlay_open.active { display: block; }

@media all and (max-width:480px) {
	
#small_overlay_content { bottom: 20px; left: 20px; width: auto; margin: 0 20px 0 0; }
#small_overlay_open { bottom: 20px; left: 20px; width: auto; margin: 0 20px 0 0; }	
}

	
	

.sponsor_des_monats { text-align: center; margin: 5rem 0; }
.sponsor_des_monats_box { display: block; width: 50%; min-width: 200px; padding: 20px; margin: 0 auto; background-color: rgba(255,255,255,0.75); border-radius: 10px; }
.sponsor_des_monats h2 { margin: 0 0 2rem 0; color: #084411; font-size: 2rem !important; letter-spacing: 1px; font-weight: 500; text-transform: uppercase; }
.sponsor_des_monats_image { max-width: 360px; margin: 0 auto; }

@media all and (max-width:980px) {
.sponsor_des_monats_box { width: 75%; }
}
@media all and (max-width:768px) {
.sponsor_des_monats_box { width: 95%; }
.sponsor_des_monats h2 { font-size: 1.8rem !important; letter-spacing: 0; }	
}



/* COVERFLOW CAROUSEL - Modul: 311 - Termine - Teaser (Tabelle: rex_bw_termine) als Carousel */
.coverflow-wrap{padding:2rem 0 3rem;overflow:hidden;user-select:none}
.coverflow-stage{position:relative;height:660px;perspective:1200px;display:flex;align-items:center;justify-content:center}

/* Inaktive Karten: klein, nur als Vorschau */
.cflow-card{position:absolute;width:160px;height:auto;border-radius:10px;border:1px solid rgba(0,0,0,.1);background:#fff;cursor:pointer;transition:all .45s cubic-bezier(.25,.46,.45,.94);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.cflow-card img{width:100%;display:block;flex-shrink:0}
.cflow-card .cflow-img-placeholder{width:100%;height:100px;background:#f0f0f0;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#aaa;font-size:1.5rem}
.cflow-body{padding:.5rem;display:flex;flex-direction:column;gap:.25rem;overflow:hidden}
.cflow-meta{font-size:0.7rem;color:#888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cflow-title{font-size:0.8rem;font-weight:600;color:#222;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cflow-text{display:none}
.cflow-link{display:none}

/* Aktive Karte: groß und vollständig lesbar */
.cflow-card--active {width:380px;height:auto}
.cflow-card--active img{display:block}
.cflow-card--active .cflow-img-placeholder{height:240px}
.cflow-card--active .cflow-body{padding:1rem}
.cflow-card--active .cflow-meta{font-size:0.9rem;}
.cflow-card--active .cflow-title{font-size:1.33rem;-webkit-line-clamp:unset;font-weight:700}
.cflow-card--active .cflow-text{display:-webkit-box;font-size:1rem;color:#555;line-height:1.5;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin-top:.4rem}
.cflow-card--active .cflow-text p {font-size:1rem; line-height:1.5 !important;}
.cflow-card--active .cflow-link{display:inline-block;margin-top:.75rem;padding:.4rem .9rem;background:#222;color:#fff;font-size:0.9rem;border-radius:20px;text-decoration:none}
.cflow-card--active .cflow-link:hover{background:#444}

.cflow-dots{display:flex;justify-content:center;gap:8px;margin-top:1.5rem}
.cflow-dot{width:8px;height:8px;border-radius:50%;background:#ccc;cursor:pointer;transition:all .3s;border:none;padding:0}
.cflow-dot.active{background:#222;transform:scale(1.25)}
.cflow-nav{display:flex;justify-content:center;gap:16px;margin-top:.75rem}
.cflow-btn{background:transparent;border:1px solid #ccc;border-radius:8px;padding:6px 20px;cursor:pointer;font-size:1rem;color:#333;transition:background .2s}
.cflow-btn:hover{background:#f5f5f5}


@media all and (max-width:480px) {
    .coverflow-stage { height: 600px; perspective: 800px; }  /* Fallback bis JS greift */
    .cflow-card { width: 120px; }
    .cflow-card--active { width: calc(100vw - 40px); max-width: 380px; }
    .cflow-card--active .cflow-img-placeholder { height: 160px; }
    .cflow-card--active .cflow-title { font-size: 1.1rem; }
    .cflow-card--active .cflow-text { -webkit-line-clamp: 3; }
}



