/* nunito-regular - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: url('../_fonts/nunito-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../_fonts/nunito-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../_fonts/nunito-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../_fonts/nunito-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../_fonts/nunito-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../_fonts/nunito-v16-latin-regular.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* nunito-700 - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  src: url('../_fonts/nunito-v16-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../_fonts/nunito-v16-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../_fonts/nunito-v16-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../_fonts/nunito-v16-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../_fonts/nunito-v16-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../_fonts/nunito-v16-latin-700.svg#Nunito') format('svg'); /* Legacy iOS */
}

html {
	padding: 0px;
	width: 100%;
}

body {
	text-align: center;
	margin:0 auto;
}

body, td, th, input, select, textarea {
	font-family: 'Nunito', serif;
	font-size:1em;
	color: #252525;
	line-height: 1.8em;
}

img {
	max-width:100%;
	padding:0px;
	margin:0px;
}

h1 {
	font-size:1.4em;
	line-height: 32px;
	margin-top:8px;
}

h2 {
	font-size:1em;
	line-height: 1.8em;
}

form {
    margin: 0px;
	padding: 0px;
}
a:link, a:visited, a:active {
	color: #252525;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
	color: #a72b45;
}

ul {
	margin: 6px 0 0 0;
	padding: 0px;
}

li {
	padding: 0px;
	margin: 0px 0px 5px 17px;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

#header {
	clear:both;
	width:100%; 
	height:120px; 
	padding:0px;
	text-align:left;
	overflow:visible;
	background-color:#ffffff;
	border-bottom: 1px solid #d9d9d9;
	box-shadow: 0px 3px 2px #efefef;
}
#header_content {
	width:1150px;
	text-align:left;
}
#slider_wrapper {
	width:100%; 
	padding:0px;
	text-align:center;
	overflow:visible;
}
#highlight_wrapper {
	width:100%; 
	height:auto;
	padding:0px;
	margin:0px;
	text-align:center;
	overflow:hidden;
	background-color:#f1dcc9;
	line-height: 0px;
}

#highlight_wrapper img {
	padding:0px;
	margin:0px;
	line-height: 0px;
}

#header_logo {
	position:absolute;
	margin-left:0px;
	margin-top:0px;
	text-align:right;
}
#menu_rechts {
	position:absolute;
	margin-left:374px;
	margin-top:26px;
	width:780px;
	text-align:right;
}
#menu_rechts a {
	padding:20px 16px 20px 16px;
	font-weight: bold;
	text-decoration: none;
}

#slider {
	float:left;
	width:100%;	
}
#slider img {
	width:100%;	
}

#content_wrapper {
	width: 1140px;
	margin: 0 auto;
	text-align: left;
}
#content {
	width:100%;
	margin:32px 0px 32px 0px;
	min-height: 680px;
}
#pic_row {
	text-align: center;
}
#pic_row img {
	margin: 16px 32px 16px 32px;
	border: 2px solid #f9f9f9;
}
#footer {
	clear:both;
	width:100%;
	height:385px;
	padding:0px;
	color:#ffffff;
	text-align:center;
	background-color:#094f70;
	margin-top: 35px;
}

#footer a {
	text-decoration:none;
	color:#ffffff;
}

#footer_content_wrapper {
	width:1140px;
	text-align:center;
	margin-top:62px;
}
#footer_content {
	padding-top:42px;	
}

#footer_box1 {
	text-align:left;
	width:38%;
	float:left;	
}
#footer_box2 {
	text-align:left;
	width:32%;
	float:left;	
}
#footer_box3 {
	text-align:left;
	width:30%;
	float:left;	
}
#title-img {
	float:left;
	width:100%;
	color:#ffffff;
  	position: relative;
  	text-align: center;
}
.teaser-row {
	margin-left:20px;
	float: right;
	width:350px;
}
.teaser-box-wrapper {
	background-color: #094f70;
	margin:0px 0px 30px 0px;
	float:left;
	width:100%;
	min-height:200px;
	
}
.teaser-box {
	color:#ffffff;
	padding:24px;
	font-size:18px;
}
.box-teaser {
	float:left;
	width:350px;
	margin-right:44px;
}
.box-teaser img {
	width:350px;
}
.box-teaser-rechts {
	float:right;
	width:350px;
}
.box-teaser-rechts img {
	width:350px;
}
.rechts {
	max-width:300px;
	margin-left:30px;
	float:right;
}

.box-50prozent-content {
	padding:0px;
}
.text-25prozent {
	width:16%;
	float:left;
	padding:18px 0px 0px 0px;
}
.text-75prozent {
	width:84%;
	float:left;
	padding:5px 0px 5px 0px;
}
.menu-link {
	padding:1px;
	width:110px;
	margin:10px 0px 10px 5px;

	font-size:1em;
	line-height: 1.6em;
} 
.menu-link a {
	text-decoration: none;
}
.strong-underlined {
	display:inline-block;
	border-bottom: 2px solid #a72b45;
	padding-bottom:14px;
	line-height:0px;
	margin-bottom:16px;
	font-weight: bold;
}
.menu-underlined {
	display:inline-block;
	border-bottom: 2px solid #ef6331;
	margin-bottom:16px;
}

.klein {
	font-size:14px; 
}
.klein-rot {
	font-size:14px; 
	color:#a72b45;
}
.rot {
	color:#a72b45;
}
.gruen {
	color:#2ba74e;
}

.kontaktfeld {  
	width:100%;
	height:40px;
	color: #252525;
	display:block;
	border:1px #252525 solid; 
	outline: 0 none;
	padding: 0px;
	margin: 0px;
}

.selectbox {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #495057;
    background-color: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    
    /* Standard-Browser-Pfeil entfernen */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* Eigenen, sauberen Pfeil als Hintergrund-Icon einfügen */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23495057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px; /* Platz für den Pfeil schaffen */
}

/* Hover-Effekt (wie bei den Kacheln) */
.selectbox:hover {
    border-color: #a1a8b0;
    background-color: #f8f9fa;
}

/* Aktiver Zustand / Fokus (wenn man drauf klickt) */
.selectbox:focus {
    background-color: #f0f7ff;
    border-color: #0d6efd;
    color: #084298;
    outline: none;
}

.selectbox.is-active {
    background-color: #e7f1ff !important;
    border-color: #a5c3dd !important;
    color: #084298 !important;
    font-weight: 600;
}

.selectbox-old {
	width:100%;
	height:44px;
	color: #252525;
	display:block;
	border:1px #252525 solid; 
	outline: 0 none;
	padding: 0px;
	margin: 0px;
    background-color: #ffffff;
}

.kontaktbutton {  
	-webkit-appearance: none;
 	-moz-appearance: none;
    appearance: none;
	width:250px;
	height:40px;
	color: #ffffff;
	background-color:#0587c1;
	border:2px #0587c1 solid; 
	outline: 0 none;
}

.kontaktbutton:hover { 
	background-color:#ffffff;
	color:#000000;
}

input[type="checkbox"]{
  width: 30px; /*Desired width*/
  height: 30px; /*Desired height*/
  float:left;
  margin: 0px 20px 0px 0px;
}

input[type="text"].form-input,
.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1.0rem;
    color: #495057;
    background-color: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

/* Hover-Effekt */
input[type="text"].form-input:hover {
    border-color: #a1a8b0;
    background-color: #f8f9fa;
}

/* Fokus-Zustand (wenn man hineinklickt) oder wenn Text drin steht (.is-active) */
input[type="text"].form-input:focus,
input[type="text"].form-input.is-active {
    background-color: #f0f7ff;
    border-color: #0d6efd;
    color: #084298;
    outline: none;
    font-weight: 600;
}

.linkbox {
	width:160px;
	padding:4px;
	text-align:center;
	border:2px solid #252525;
	margin-top:20px;
}

a.linkbox-link {
	text-decoration:none;
	display:block;
	color:#252525;
	font-size:16px;
}
.teaser-linkbox {
	width:160px;
	padding:4px;
	text-align:center;
	border:2px solid #ffffff;
	margin-top:20px;
}

a.teaser-linkbox-link {
	text-decoration:none;
	display:block;
	color:#ffffff;
	font-size:16px;
}
.title-linkbox {
	width:280px;
	padding:12px;
	text-align:center;
	border:1px solid #ffffff;
	background-color: #0587c1;
	margin-top:20px;
}

a.title-linkbox-link {
	text-decoration:none;
	display:block;
	color:#ffffff;
	font-size:16px;
	font-weight: bold;
}
.detailbox {
	width:180px;
	padding:4px;
	text-align:center;
	border:2px solid #a72b45;
	margin-top:20px;
}

a.detailbox-link {
	text-decoration:none;
	display:block;
}
.filledbox {
	width:140px;
	padding:3px;
	text-align:center;
	background-color:#a72b45;
	margin-top:20px;
	color:#ffffff;
}
.white {
	color:#ffffff;
}

a.filledbox-link {
	text-decoration:none;
	display:block;
	color:#ffffff;
}
.language {
	float:right;
	margin-right: 70px;
	margin-top:14px;
}
.language img {
	margin-right: 6px;
}
.zitat {
	font-size:32px;
	font-family: "Courgette", sans-serif;
}
.trennstrich {
	margin:8px 0px 8px 0px;
	padding:1px;
	width:80px;
	background-color:#a72b45;
}
.box-blau {
	background-color: #f1f5f8;
	width: 100%;
	margin: 20px 0px 20px 0px;
}
.box-blau-header {
	background-color: #e8f1f7;
	padding: 20px 10px 20px 10px;
	
	border-bottom: 1px solid #d4e4ef;
}
.box-blau-content {
	padding: 10px;
	text-align: left;
}
.box-login {
	background-color: #f9f9f9;
	width: 50%;
	margin: 20px 0px 20px 0px;
}
.box-rot {
	background-color: #f6eded;
	width: 100%;
	margin: 20px 0px 20px 0px;
}
.box-grau {
	background-color: #f9f9f9;
	width: 100%;
	margin: 20px 0px 20px 0px;
}

.reg {
	position:relative;
	top:-7px;
	font-size:9px;
}
.centered, .centered-content {
  position: absolute;
  top: 80%;
  left: 50%;
  width:90%;
  transform: translate(-50%, -50%);
}
.centered h1 {
	font-size: 52px;
	text-shadow: 0 0 0.1em #6d6d6d, 0 0 0.1em #6d6d6d, 0 0 0.1em #6d6d6d;
}
.centered-content h1 {
	font-size: 38px;
	color:#4d4d4d;
}
.center {
    display: table;
  	margin: 0 auto;
}

.info {
  position: relative;
  display: inline-block;
}

/* Icon */
.info__icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('../_images/icon-information.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: help;
  vertical-align: middle;
  outline: none;
  transform: translateY(-0.45em);
}

/* Tooltip – Standard: zentriert über dem Icon */
.info__tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e0e0e0;
  color: #000;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 1.0rem;
  line-height: 1.4;
  min-width: 200px;
  max-width: min(90vw, 400px);
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  white-space: normal;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.info__tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #e0e0e0 transparent transparent transparent;
}

/* Sichtbar bei Hover/Focus */
.info:hover .info__tooltip,
.info:focus-within .info__tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Variante: nach links verschoben (wenn rechts überläuft) */
.info__tooltip--align-right {
  left: auto;
  right: 0;
  transform: none;
}

.info__tooltip--align-right::after {
  left: auto;
  right: 8px;
  transform: none;
}

/* Variante: nach rechts verschoben (wenn links überläuft) */
.info__tooltip--align-left {
  left: 0;
  transform: none;
}

.info__tooltip--align-left::after {
  left: 8px;
  transform: none;
}

/* Container für die Rückmeldung */
.search-alert {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    animation: fadeIn 0.3s ease-in-out;
}

/* Erfolgs-Meldung (Grün) */
.alert-success {
    background-color: #e4efea;
    border: 1px solid #e4efea;
    color: #0f5132;
}

/* Fehler-Meldung (Rot) */
.alert-error {
    background-color: #f7e8ea;
    border: 1px solid #f7e8ea;
    color: #842029;
}

/* Icon */
.alert-icon {
    font-size: 22px;
    line-height: 1;
}

.alert-content p {
    margin: 3px 0 0 0;
    font-size: 14px;
}

.alert-content strong {
    font-size: 15px;
}

/* Sanfte Einblendung */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}


@media all and (max-width: 1800px) {
	.centered h1 {
		font-size: 42px;
	}
}

@media all and (max-width: 1180px) {
	.mobileheader a {
		background: center center no-repeat transparent;
		background-image: url('../_images/mobile.png');

		display: block;
		width: 50px;
		height: 40px;
		position: absolute;
		top: 38px;
		right: 12px;
	}
	.header_menu_content {
		display:none;
	}
	#content_wrapper {
		width: 100%;
	}
	#content {
		margin: 16px 0px 16px 0px;
	}
	#content-text {
		padding:8px;
	}
	#footer_content {
		padding:8px;	
	}
}

@media all and (min-width : 1025px) 
and (max-width : 1139px) {
	#header_content {
		width:1024px;
	}
	#content_wrapper {
		width: 1024px;
	}
	#footer_content_wrapper {
		width:1024px;
	}
	#footer_content {
		width:1024px;
	}
}

@media all and (max-width: 1024px) {
	#content_wrapper {
		width:100%;
	}
	.centered h1 {
		font-size: 36px;
	}
	.box-login {
		width: 75%;
	}
	.text-25prozent {
		width:25%;
		float:left;
	}
	.text-75prozent {
		width:75%;
		float:left;
	}
	.box-teaser {
		width:100%;
		margin-bottom: 32px;
	}
	.box-teaser img {
		width:100%;
	}
	.box-teaser-rechts {
		width:100%;
		margin-bottom: 32px;
	}
	.box-teaser-rechts img {
		width:100%;
	}
	
	
	#content {
		margin: 8px 0px 8px 0px;
	}
	#content-text {
		padding:10px;
	}
	#header_content {
		width:100%;
		text-align:left;
		float:left;
	}
	#header_content2 {
		border-top:1px solid #f9f9f9;
		width:100%;
		text-align:left;
		float:left;
	}
	#header_logo {
		width:100%;
		float:left;
	}
	
	
	.slider-balken {
		font-size:1.4em;
		top:-84px;
		width:80%;
		padding:10px;
	}
	#footer_content {
		padding:10px;	
	}
	#footer_box1 {
		text-align:left;
		width:30%;
		float:left;	
		margin-bottom:32px;
	}
	#footer_box2 {
		text-align:left;
		width:20%;
		float:left;	
		margin-bottom:32px;
	}
	#footer_box3 {
		text-align:left;
		width:50%;
		float:left;	
	}
	.gallery_pic {
		width:50%;	
	}
}
@media all and (max-width: 768px) {
	.teaser-row {
		margin-left:0px;
		float: left;
		width:100%;
	}
	.centered {
		display:none;
	}
	.box-login {
		width: 100%;
	}
	
	#header_content img {	
		width:80%;
		height:80%;
		margin-top:10px;
	}
	#footer {
		height:825px;
	}
	#footer_content_wrapper {
		width:100%;
		padding:0px;
	}
	#footer_content {
		padding:10px;	
	}
	#footer_box1 {
		text-align:left;
		width:100%;
		float:left;	
		margin-bottom:32px;
	}
	#footer_box2 {
		text-align:left;
		width:100%;
		float:left;	
		margin-bottom:32px;
	}
	#footer_box3 {
		text-align:left;
		width:100%;
		float:left;	
		margin-bottom:32px;
		margin-top:0px;
	}
	
	.box-teaser-content {
		padding:10px;
	}

}

@media all and (max-width: 768px) {
	.text-25prozent {
		width:100%;
	}
	.text-75prozent {
		width:100%;
		padding:0px;
	}
}

@media all and (max-width: 540px) {
	.slider_content_wrapper {
		width: 100%;
	}
	.slider_content {
		padding:10px;
	}
	.vorschaubilder {
		margin-left:25px;
		margin-right:25px;
	}
	
	.vorschau_box_wrapper1, .vorschau_box_wrapper2 {
		width:100%;
	}
	
}