@font-face {
     font-family: "biolinum";
     /*src: url(css/linbiolinum_r.woff);*/
	 src: url(../css/Lato/Lato/fonts/Lato-Regular.woff);
 }
 
body {
	background-color: #FDFDFD;
}

#header{
	position: sticky;
    top: 0px;
	display: flex;
	flex-flow: row wrap;
	width: 100%;
	margin-top: 0px;
	background-color: #FAFAFA;
	box-shadow: 2px 2px 3px 0px rgba(100, 100, 100, 0.5);
}
#titel{
	min-width:300px;
	height:auto;
	display: flex;
	flex: 2 1 0%;
	flex-direction: row;
	padding-left: 2.5em;
	padding-right: 4em;
	font-family: biolinum;
	font-size: 1em;
	color: #2D3D4D;
	padding-top: 1.4em;
	padding-bottom: 1.4em;
	font-weight: normal;	/* offset-x | offset-y | blur-radius | spread-radius | color */
	text-transform: uppercase;
}
#lang
{	
	min-width:340px;
	justify-content: center;
	display: flex;
	flex: 1.5 1 0%;
	flex-direction: row;
	height: auto;
}
.langde {
	min-width:40%;
	font-family: biolinum;
	font-size: 1.4em;
	color: #FFF;
	background-color: #FC0;
	padding: 10px;
	border: 1px solid #CCC;
	width: auto;
	margin-right: 0.3em;
	height: 1.4em;
	margin-top: 0.3em;
}
.langen {
	min-width:40%;
	font-family: biolinum;
	font-size: 1.4em;
	color: #999;
	background-color: #EBEBEB;
	padding: 10px;
	border: 1px solid #CCC;
	width: auto;
	margin-right: 0.6em;
	height: 1.4em;
	margin-top: 0.3em;
}

/* --- Aktualisierter Footer Bereich --- */
#footer {
    margin-top: 60px;
    padding-top: 40px;
    padding-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #222; /* Dunklerer Hintergrund */
    border-top: 1px solid #444;
}

#footer-container {
    width: 100%;
    max-width: 1090px;
    display: flex;
    flex-direction: column; /* Stapelt Links-Reihe und Credit-Reihe vertikal */
    align-items: center;
    gap: 30px;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Erlaubt Umbruch auf Mobilgeräten */
    gap: 20px; /* Abstand zwischen den Links */
    width: 100%;
}

.footer-links a {
    font-family: biolinum;
    font-size: 1em;
    color: #E6E6E6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFF;
    text-decoration: underline;
}

.footer-credit {
    text-align: center;
    width: 100%;
}

.footer-credit a {
    font-family: biolinum;
    font-size: 0.9em;
    color: #999; /* Etwas dezenter als die Hauptlinks */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #E6E6E6;
}

/* Responsivität für Mobilgeräte */
@media screen and (max-width: 768px) {
    .footer-links {
        flex-direction: column; /* Links untereinander auf dem Handy */
        text-align: center;
        gap: 15px;
    }
    
    #footer {
        margin-top: 40px;
    }
}


#nav-gruppe {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 54px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: dashed;
	border-bottom-style: dashed;
	border-top-color: #999;
	border-bottom-color: #999;
}
#nav-container {
	width: 1090px;
	display: flex;
	flex-flow: row wrap;
}

.nav-item {
	justify-content: space-around;
	flex: 1 1 0%;
	flex-direction: row;
	min-width:220px;
	padding-top:30px;
	padding-bottom:30px;
	width:220px;
	font-family: biolinum;
	font-size: 1em;
	color: #E6E6E6;
	padding-left: 30px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #808080;
	font-weight: normal;
	padding-right: 30px;
}
.nav-item li {
	text-decoration: none;
	margin-top: 10px;
	list-style-position: outside;
	text-align: left;
	margin-left: -20px;
	color: #E6E6E6;
}
.nav-item a {
	text-decoration: none;
	color: #E6E6E6;
}

#main-gruppe{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	width: 100%;
	margin-top: 20px;
	}

#main-container{
	max-width:1090px;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	}

#main-text {
	max-width:680px;
	min-width:220px;
	flex: 3 1 0%;
	padding-left: 4em;
	padding-right: 4em;
	padding-top: 2em;
	padding-bottom: 5em;
	/* offset-x | offset-y | blur-radius | spread-radius | color */
	/*box-shadow: 1px 1px 5px 3px rgba(100, 100, 100, 0.5);*/
}

h1 {
	font-family: biolinum;
	font-size: 2.6em;
	font-style: normal;
	font-weight: bolder;
	font-variant: normal;
	line-height: 1.1em;
	color: #333;
	letter-spacing: -0.05em;
	margin-top: 40px;
	margin-bottom: 30px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #666;
	text-transform: none;
	padding-bottom: 1em;	
}

h2 {
	font-family: biolinum;
	font-size: 1.4em;
	font-style: normal;
	font-weight: 200;
	font-variant: normal;
	line-height: 1.4em;
	color: #A39E9E;
	margin-top: 70px;
	margin-bottom: 40px;
}

h3 {
	font-family: biolinum;
	font-size: 1.2em;
	font-style: normal;
	font-weight: 400;
	font-variant: normal;
	line-height: 1.1em;
	color: #FFF;
	margin-top: 20px;
	margin-bottom: 30px;
	background-color: #2589B1;
	display: inline-block;
	padding: 10px;
	/*float: left;*/
	text-transform: uppercase;
}


p {
	font-family: biolinum;
	font-size: 1.1em;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	line-height: 1.6em;
	color: #333;
	text-align: justify;
}
.initiale{
	font-size: 5em;
	line-height: 0.9em;
	float: left;
	padding-right: 10px;
	font-weight: bolder;
}
#titelbild {
	background-color: #4E4E4E;
	width:100%;
	height:300px;
	position: absolute;
	z-index: 1;
}
.bild {
	height:auto;
	z-index: 1;
	padding: 3px;
	border: 1px solid #999;
	margin-left: -20%;
	box-shadow: 2px 2px 3px 0px rgba(100, 100, 100, 0.5);
	width: 140%;
}
.kontaktbild {
	height:auto;
	z-index: 1;
	padding: 3px;
	border: 1px solid #999;
	box-shadow: 2px 2px 3px 0px rgba(100, 100, 100, 0.5);
}
.bildunterschrift {
	width:97%;
	font-family: biolinum;
	font-size: 0.9em;
	color: #333;
	line-height: 1em;
	margin-top: 0.5em;
	margin-bottom: 3em;
	background-color: #E6E6E6;
	padding: 2%;
	border: 3% solid #E6E6E6;
}

.textlink {
	color: #4181B6;
	text-decoration: none;
}
#subnav-menue{
	margin-top: 8em;
	margin-left: -2em;
	position: relative;
	width: 4px;
	margin-bottom: 16em;
}
.subnav_aktiv {
	font-family: biolinum;
	font-size: 1.2em;
	color: #2D3D4D;
	background-color:#EFEFEF;
	padding-left: 20px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-top-color: #CCC;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	padding-top: 14px;
	padding-right: 20px;
	padding-bottom: 14px;
	margin-top: -1px;
	margin-left: -1em;
	box-shadow: 2px 2px 3px 0px rgba(100, 100, 100, 0.5);
	display: inline-block;
}
.subnav {
	font-family: biolinum;
	font-size: 1.2em;
	padding-left: 20px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-top-color: #CCC;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	border-left-color: #CCC;
	padding-top: 14px;
	padding-right: 20px;
	padding-bottom: 14px;
	margin-top: -1px;
	margin-left: -1px;
	background-color: #E7E7E7;
	border-left-style: solid;
	box-shadow: 2px 2px 3px 0px rgba(100, 100, 100, 0.5);
	display: inline-block;
}
.subnav a {
	color: #2D3D4D;
	text-decoration: none;
}
ul {
	font-family: biolinum;
	font-size: 1.1em;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	line-height: 1.4em;
	color: #333;
}
ol {
	font-family: biolinum;
	font-size: 1.1em;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	line-height: 1.4em;
	color: #333;
}
li {
	margin-bottom: 1em;
}

.tabellenzelle {	
	font-family: biolinum;
	font-size: 1em;
	padding: 6px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #999;
	text-align: left;
	vertical-align: top;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #999;
	/* hyphens */
   -moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.format_pdf {
	font-family: biolinum;
	background-color: #C14B77;
	border: 1px solid #999;
	font-size: 0.9em;
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
	padding-top: 3px;
	padding-right: 6px;
	padding-bottom: 3px;
	padding-left: 6px;
	margin-left: 10px;
	box-shadow: 3px 3px 4px #CCC;
}

/*##########################################################*/
/* Hauptnavigation */
#bar {
	color: #000;
	margin-top: 18px;
	margin-left: 18px;
}

#navigation_mobil {
	height: 100%;
	width: 280px;
	position: fixed;
	z-index: 1005;
	display: none;
	background-color: #1C1C1C;
	margin-top:0px;
    overflow-y:scroll;
}

#navigation_mobil_schliessen {
	width:100%;
	font-family: biolinum;
	background-color:#000;
	font-size: 1em;
	text-transform: uppercase;
	color: #CCC;
	position: absolute;
	height: 2em;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #AEAEAE;
	padding-top: 0.4em;
}

.fa-ul {
	font-family: biolinum;
	font-size: 1em;
	line-height: 1em;
}

/* Video-Container */
.video-container {
  width: 140%;
  margin-left: -20%;
  margin-bottom: 2em;
}

.video-container video {
  width: 100%;
  height: auto;
  background-color: #000;
  border: 1px solid #999;
  padding: 3px;
  box-shadow: 2px 2px 3px 0px rgba(100, 100, 100, 0.5);
}


#news_box{
	background-color: #E6EFF4;
	padding-top: 14px;
	padding-right: 30px;
	padding-bottom: 14px;
	padding-left: 30px;
	box-shadow: 2px 2px 3px 0px rgba(100, 100, 100, 0.5);
	border: 3px solid #FFF;
	}

.logo_box{
	padding-top: 1px;
	padding-right: 1px;
	padding-bottom: 1px;
	padding-left:1px;
	float:left;
	}


/* Für kleine Bildschirme: kein Überstehen */
@media screen and (max-width: 768px) {
  .video-container {
    width: 100%;
    margin-left: 0;
  }
}