/* RESET ------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  background: 0;
  text-decoration: none;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  font-size: 100.01%;
  height: 100.1%;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
div {
  position: relative;
  min-width: 0;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}
/* Grundlegende Stile */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  color: #333;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Questrial', Arial, Verdana, Sans-Serif;
  background-color: #fff;
  color: #000;
  font-size: 100.01%;
  text-align: center;
  letter-spacing: 1px;
}
/* Die von Ihnen vorgeschlagenen CSS-Regeln für den umlaufenden Rand */
#top, #bottom, #left, #right {
  position: fixed;
  background-color: #fff;
  z-index: 1000;
}
#top {
  height: 10px;
  top: 0;
  left: 0;
  width: 100%;
}
#bottom {
  height: 10px;
  bottom: 0;
  left: 0;
  width: 100%;
}
#left {
  width: 10px;
  top: 0;
  left: 0;
  height: 100%;
}
#right {
  width: 10px;
  top: 0;
  right: 0;
  height: 100%;
}
.green-bg {
  background-color: #00A600;
  color: #fff;
}
.light-gray-bg {
  background-color: #F0F0F0;
}
.dark-blue-bg {
  background-color: #004D77;
  color: #fff;
}
h1 {
  font-size: 2.5em;
  margin-bottom: 5px;
}
.mengentext h1 {
    font-size: 1.5em;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 1.8em;
}
h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}
.mengentext h2 {
    display: block;
    margin-top: 50px;
    padding-top: 50px;
    height: auto;
    border-top: 2px solid #fff;
}
h3 {
  font-size: 1.2em;
    font-weight: bold;
    line-height: 140%;
    margin-top: 1.05em;
    margin-bottom: 0.95em;
}
h4 {
  font-size: 1em;
  margin-bottom: 5px;
}
p, li {
  line-height: 1.6;
  margin-bottom: 10px;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.mengentext a {
    border-bottom: 1px solid #000;
    padding-bottom: 1px;
}
.mengentext a:hover {
    border-bottom: 1px solid #000;
    padding-bottom: 1px;
	 text-decoration: none;
	color: #02ae02;
}
.navihorizontal a {
  display: inline-block;
  white-space: nowrap;
  margin-right: 15px;
  margin-bottom: 15px;
}
.button {
  display: inline-block;
  margin-top: 6px;
  padding-bottom: 0px;
  padding: 7px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 0px;
  background-color: #045279;
  text-decoration: none;
  color: #fff;
  border-bottom: 0px solid #045279;
}
.button:hover {
  display: inline-block;
  margin-top: 6px;
  padding-bottom: 0px;
  padding: 7px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 0px;
  background-color: #02ae02;
  text-decoration: none;
  color: #fff;
  border-bottom: 0px solid #045279;
}
address {
  text-align: right;
}
address p {
  text-align: right;
}
.grid-content {
  padding: 5vw;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.grid-content.referenzen {
  text-align: right;
  justify-content: top;
  padding-left: 15vw;
}
.grid-content.download {
  align-items: flex-start;
  justify-content: bottom;
  text-align: left;
}
.light-gray-bg.tipps {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* unten */
  align-items: flex-start;
}
.grid-content.download {
  justify-content: flex-end; /* unten */
  align-items: flex-start;
}
.dark-blue-bg {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* unten */
  align-items: flex-end;
}
.grid-content.adresse {
  justify-content: flex-end; /* unten */
  align-items: flex-end;
}
/* --- Startseite Layout */
.homepage-grid-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Der äußere Rand wird jetzt durch die #top, #bottom, #left, #right divs abgedeckt */
  gap: 10px; /* Weißer Rand zwischen den Segmenten */
  margin: 10px; /* Sorgt dafür, dass der Container nicht mit den festen Rändern kollidiert */
}
.homepage-grid-container .grid-item {
  width: 100%;
  flex-grow: 1;
}
.homepage-grid-container header .grid-content {
  justify-content: flex-start;
  align-items: flex-start;
  padding-bottom: 0;
}
.homepage-grid-container header nav {
  margin-top: 2rem;
  padding-bottom: 5vw;
}
.homepage-grid-container header nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
	margin-top: 2rem;
}
.homepage-grid-container footer .grid-content {
  align-items: flex-start;
}
.mengentext {
    text-align: left;
}
/* Desktop-Ansicht für Startseite */
@media (min-width: 768px) {
  .homepage-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 100vh;
    gap: 10px;
  }
  .homepage-grid-container .grid-item {
    width: auto;
    height: auto;
  }
  .homepage-grid-container header nav ul {
    flex-direction: row;
    gap: 15px;
	  margin-top: auto;
	 bottom: 5vw;
  }
}
/* --- Unterseiten Layout */
.subpage-grid-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Der äußere Rand wird jetzt durch die #top, #bottom, #left, #right divs abgedeckt */
  gap: 10px;
  margin: 10px; /* Sorgt dafür, dass der Container nicht mit den festen Rändern kollidiert */
}
.subpage-grid-container .grid-item {
  width: 100%;
}
.subpage-grid-container aside .grid-content {
  justify-content: flex-start;
	position: relative;
}
.subpage-grid-container aside nav {
	position: relative;
	 
    flex-direction: row;
    gap: 15px;
    margin-top: 2rem;
  
}
  .subpage-grid-container aside nav ul {
    flex-direction: row;
    gap: 15px;
    margin-top: 2rem;
  }

.green-bg {
	text-align: left;
	 justify-content: flex-start;
}

ul#referenzen li, ul#downloads li {
	padding-top: 6px;
	padding-bottom: 6px;
}
/* Desktop-Ansicht für Unterseiten */
@media (min-width: 768px) {
  .subpage-grid-container {
    flex-direction: row;
    gap: 10px;
    min-height: auto;
  }
  .subpage-grid-container aside, .subpage-grid-container .main-content {
    flex: 1;
    min-height: 100vh;
  }
  .subpage-grid-container aside {
    position: sticky;
    top: 0;
    align-self: flex-start;
  }
  .subpage-grid-container aside .grid-content {
    justify-content: flex-start;
    padding-top: 5vw;
    padding-bottom: 5vw;
  }
  .subpage-grid-container aside nav {
    margin-top: auto;
  }
  .subpage-grid-container aside nav ul {
    flex-direction: row;
    gap: 15px;
    margin-top: 2rem;
  }
  .subpage-grid-container .main-content {
    overflow-y: auto;
  }
  .subpage-grid-container .main-content .grid-content {
    justify-content: flex-start;
    padding: 5vw;
	}
	.subpage-grid-container aside nav {
	position: relative;
	bottom: inherit;
}

}
  .impressuminfobild {
    display: block;
    width: 180px;
    height: auto;
  }
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}
.embed-container iframe, .embed-container object, .embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}
.embed-container.fullwidth iframe {
  width: 100%;
}
/* --- Formular --- */
label {
  display: block;
  text-align: left;
  width: 100%;
}
.form {
  display: block;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #02ae02;
  margin: 0px;
  width: 100%;
  text-align: left;
  color: #000;
  font-size: 0.9em;
  font-weight: normal;
  height: 30px;
}
input#captcha_code {
  display: inline-block;
  vertical-align: middle;
  height: 35px;
  line-height: 40px;
  width: 100px;
  font-size: 1.2em;
  border: 1px solid #02ae02;
}
p#spamschutz {
  height: 40px;
  line-height: 40px;
}
.form2 {
  display: block;
  text-align: center;
  background-color: #02ae02;
  border: 1px solid #02ae02;
  padding: 10px;
  padding-left: 25px;
  padding-right: 25px;
  margin-top: 20px;
  width: 38%;
  font-size: 1.0em;
  color: #fff;
}
.form2:hover {
  cursor: pointer;
  color: #02ae02;
  background: #fff;
  border: 1px solid #02ae02;
  transition: 0.2s;
}
fieldset .table {
  margin-top: 0;
  margin-bottom: 20px;
}

  .exlink {
    position: relative;
    top: 0px;
    left: 0px;
  }
  a.exlink span {
    display: none;
  }
  a:hover.exlink span {
    display: block;
    position: absolute;
    top: 25px;
    left: 0;
    margin: 0px;
    background-color: #fff7d7;
    padding: 5px;
    border: 1px solid #a28c3c;
    color: #000000;
    font: 10px Verdana, Arial, Helvetica, sans-serif;
    font-weight: normal;
    text-decoration: none;
    z-index: 100;
  }
  a:hover.exlink {
    color: #000000;
    border: 0px;
    font-weight: normal;
    text-decoration: none;
    z-index: 200;
  }
  .clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
  .clearfix {
    display: inline-block;
  }
  * html .clearfix {
    height: 1%;
  }
  .clearfix {
    display: block;
  }
