@import url("fonts.css");
@import url("navigation.css");
@import url("tiny.css");
* {
  box-sizing: border-box;
}
.contentWidth {
  margin-left: auto;
  margin-right: auto;
  width: 1400px;
  max-width: 100%;
  padding-left: 1em;
  padding-right: 1em;
}
.animGrow {
  transition: transform 0.25s;
}
.animGrow:hover {
  transform: scale(1.1);
}
:root {
  --color: #124372;
  --color-accent1: #be1e2d;
  --color-accent2: #8cc63f;
  --color-bg-main: #ffffff;
  --color-bg-nav: var(--color);
  --color-bg-header: var(--color);
  --color-bg-light: #f9f9f9;
  --color-bg-footer: var(--color);
  --color-nav: white;
  --color-heading: var(--color);
  --color-bradcrumps: silver;
  --color-link: #60882b;
  --color-pageheader-staticnav: darkgrey;
  --hero-height-mobile: clamp(210px, 34vw, 360px);
  --hero-height: clamp(220px, 34vw, 560px);
  --hero-nav-size: 3rem;
  --hero-nav-bg: rgba(0, 0, 0, 0.35);
  --hero-nav-bg-hover: rgba(0, 0, 0, 0.55);
  --hero-dot-size: 0.75rem;
  --hero-dot-bg: rgba(255, 255, 255, 0.5);
  --hero-dot-bg-active: #fff;
  --borderradius: 3px 3px 14px 14px;
}
/* ----------------------- a11y global ----------------------------------------------------------------- */
/* https://friendsofredaxo.github.io/tricks/a11y/cheatsheet#5-aria-accessible-rich-internet-applications */
:focus {
  outline: 2px solid #000;
  border-radius: 0.5rem;
}
nav ul.rex-navi1 li.rex-current a:focus,
.cooperation summary:focus {
  outline: none;
  border-radius: 0;
}
.skip-link {
  position: fixed;
  right: 0;
  bottom: 4rem;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0 0.5rem 0.5rem 0.5rem;
  font-size: 2rem;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.skip-link:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--color);
}
/* sr-only: Text ist visuell versteckt, aber für Screenreader sichtbar */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
/* ----------------------- a11y ----------------------------- */
.a11ySelector button.leichteSprache {
  border-radius: 5px;
  border: 0 none transparent;
  padding: 0.5rem;
  color: white;
  cursor: pointer;
}
.a11ySelector button.leichteSprache svg {
  height: 20px;
  width: 20px;
  fill: currentColor;
  vertical-align: bottom;
}
.a11ySelector button.leichteSprache.leichteSpracheActive {
  color: var(--color-accent1);
  border: 1px solid var(--color-accent1);
}
.a11ySelector button.leichteSprache.leichteSpracheActive::after {
  content: " ausschalten";
}
.a11ySelector button.leichteSprache.leichteSpracheInactive {
  color: white;
  background-color: var(--color-accent2);
}
.a11ySelector button.leichteSprache.leichteSpracheInactive::after {
  content: " einschalten";
}
/* ----------------------- body - allgemeine Angaben -------------------------- */
html,
body {
  font-size: 20px;
  font-family: Barlow, Arial, Helvetica, sans-serif;
  font-style: normal;
  line-height: 1.5;
  background-color: var(--color-bg-main);
  margin: 0;
  padding: 0;
}
html .visiblyHidden,
body .visiblyHidden {
  visibility: hidden;
  font-size: 1px;
  text-decoration: none;
}
html .staticnavMobile,
body .staticnavMobile {
  display: none;
}
html .desktopOnly,
body .desktopOnly {
  display: block;
}
html .mobileOnly,
body .mobileOnly {
  display: none;
}
@media only screen and (max-width: 900px) {
  html .desktopOnly,
  body .desktopOnly {
    display: none;
  }
  html .mobileOnly,
  body .mobileOnly {
    display: block;
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Barlow";
  color: var(--color-heading);
  line-height: 150%;
}
/* ----------------------- pageheader -------------------------- */
header {
  background-color: var(--color-bg-header);
}
/* ----------------------- heroimage -------------------------- */
#heroimage {
  height: var(--hero-height);
  background-size: cover;
  background-position: center top;
}
.heroimage-static {
  height: var(--hero-height);
  background-size: cover;
  background-position: center top;
}
/* ----------------------- pageheader staticnav -------------------------- */
#pageheader {
  width: 100%;
  background-color: white;
}
#pageheader .inner {
  margin-left: auto;
  margin-right: auto;
  width: 1400px;
  max-width: 100%;
  padding-left: 1em;
  padding-right: 1em;
  position: relative;
}
#pageheader .staticnav {
  overflow: hidden;
}
#pageheader .staticnav ul {
  margin: 0;
  display: flex;
  list-style: none;
  justify-content: end;
  align-items: center;
}
#pageheader .staticnav ul li {
  padding: 0.5rem;
}
#pageheader .staticnav ul li a {
  text-decoration: none;
  color: var(--color-pageheader-staticnav);
  font-size: 100%;
}
#pageheader #logo {
  position: absolute;
  top: 0em;
  padding: 0;
  padding-top: 1em;
  left: 0rem;
  background-color: white;
  text-align: center;
  z-index: 15;
  border-radius: 0 0 14px 14px;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
}
#pageheader #logo #slogan {
  text-indent: -9999px;
}
#pageheader #logo a {
  color: var(--color);
  text-decoration: none;
}
#pageheader #logo a img {
  height: 200px;
}
/* ----------------------- main ---------------------------------------
Nur Angaben zu Positionierungen innerhalb der Seite - margin und width
-------------------------------------------------------------------- */
main {
  background-color: var(--color-bg-main);
  padding-top: 3rem;
  padding-bottom: 3em;
  /*
	div.jumbotron {
		margin: 0 10% 3rem 10%;
	}

	div.jumbotron.explanation {
		margin: 0 10% 0 10%;
	}

	div.jumbotron.locations {
		margin: 0 10% 0 10%;
		width: 80%;
	}
*/
  /*
	div.jumbotron.gallery {
		margin: 0 0 3rem 0;
		width: 100%;

		.gallery-container {
			margin: 0 10%;
		}
	}
*/
}
main p:empty,
main h1:empty,
main h2:empty,
main h3:empty,
main h4:empty {
  display: none;
}
main #breadcrumps {
  margin: 0 10%;
}
main a {
  text-decoration: none;
  font-weight: 600;
}
main a:hover {
  text-decoration: underline;
}
main a.linkbutton {
  transition: transform 0.25s;
  margin: auto;
  display: block;
  padding: 1.5em 1.5em;
  background-color: var(--color-bg-nav);
  width: 1400px;
  color: white;
  border-radius: 5px;
  text-align: center;
  font-size: 120%;
  border: 2px solid transparent;
  transition: all 0.25s;
}
main a.linkbutton:hover {
  transform: scale(1.1);
}
@media only screen and (max-width: 900px) {
  main a.linkbutton {
    width: 90%;
    margin: 0 5%;
  }
}
main a.linkbutton:hover {
  border-color: var(--color-bg-nav);
  background-color: white;
  color: var(--color-bg-nav);
  text-decoration: none;
}
main .gallery {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
main .gallery .item {
  margin: 0em;
}
main .gallery .item figcaption {
  hyphens: auto;
}
main .gallery .item img {
  height: 20em;
}
@media only screen and (max-width: 900px) {
  main .gallery .item img {
    height: auto;
  }
}
main details.cooperation {
  margin: 0 10% 0 10%;
  width: 80%;
}
main section {
  margin-left: auto;
  margin-right: auto;
  width: 1400px;
  max-width: 100%;
  padding-left: 1em;
  padding-right: 1em;
  display: flow-root;
  clear: both;
  margin-top: 3em;
  margin-bottom: 3em;
}
main section.image figure {
  margin: 0em;
}
/* ----------------------- gallery ----------------------------------- */
/*
div.jumbotron.gallery {
	background-color: #f9f9f9;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

	h2 {
		color: var(--color-accent1);
		font-size: 180%;
		margin: 0 10% 0 10%;
		padding: 1rem 0;
		border-bottom: 0 none transparent;
		font-family: "Gochi Hand";
	}
}
*/
/* ----------------------- pagefooter ------------------------------ */
footer {
  background-color: var(--color-bg-footer);
  overflow: hidden;
  height: fit-content;
  color: white;
  font-size: 80%;
  padding: 1rem;
}
footer a {
  color: white;
  text-decoration: none;
}
#pagefooterTop {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}
#pagefooterTop nav.footernav {
  columns: 4;
  gap: 8em;
  width: 75%;
}
#pagefooterTop nav.footernav ul {
  list-style: none;
  padding: 0em;
  margin: 0em;
}
#pagefooterTop nav.footernav ul li {
  padding: 0em;
  margin: 0em;
}
#pagefooterTop nav.footernav ul li a {
  display: inline-block;
  font-weight: normal;
}
#pagefooterTop nav.footernav .rex-navi1 > li > a {
  margin-top: 0.35em;
  font-weight: bold;
}
#pagefooterTop .staticnavDiv {
  padding: 0;
}
#pagefooterTop .staticnavDiv ul {
  list-style: none;
  margin: 0;
}
#pagefooterBottom {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 5rem;
}
#pagefooterBottom .addressDiv {
  width: 60%;
}
#pagefooterBottom .addressDiv img {
  width: 250px;
}
#pagefooterBottom .addressDiv .address {
  display: flex;
  gap: 16px;
}
#pagefooterBottom .addressDiv .address span,
#pagefooterBottom .addressDiv .address div {
  flex-grow: 1;
  width: 33.333%;
}
#pagefooterBottom .officeDiv {
  width: 15%;
  flex-grow: 1;
}
#pagefooterBottom .sponsorsDiv {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#pagefooterBottom .sponsorsDiv img {
  max-width: 200px;
  height: auto;
}
@media only screen and (max-width: 900px) {
  body img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .skip-link {
    bottom: -1rem;
  }
  /* ----------------------- heroimage -------------------------- */
  #heroimage {
    height: var(--hero-height-mobile);
    margin-top: 5rem;
  }
  .heroimage-static {
    height: var(--hero-height-mobile);
  }
  /* ----------------------- pageheader staticnav -------------------------- */
  #pageheader {
    margin-left: auto;
    margin-right: auto;
    width: 1400px;
    max-width: 100%;
    padding-left: 1em;
    padding-right: 1em;
  }
  #pageheader .staticnav {
    display: none;
  }
  #pageheader #logo {
    padding: 0;
    height: 135px;
    margin-top: -5rem;
    max-width: 220px;
    width: 70%;
  }
  #pageheader #logo img {
    width: 80%;
    margin-top: -30px;
  }
  /* ----------------------- a11y ----------------------------- */
  .a11ySelector button.leichteSprache {
    border-radius: 5px;
    width: 100%;
  }
  .a11ySelector button.leichteSprache img {
    height: 20px;
    width: 20px;
    vertical-align: bottom;
  }
  .a11ySelector button.leichteSprache.leichteSpracheActive {
    color: red;
    border: 1px solid red;
  }
  .a11ySelector button.leichteSprache.leichteSpracheActive::after {
    content: " ausschalten";
  }
  .a11ySelector button.leichteSprache.leichteSpracheInactive {
    color: white;
    border: 1px solid green;
  }
  .a11ySelector button.leichteSprache.leichteSpracheInactive::after {
    content: " anschalten";
  }
  /* ----------------------- main ------------------------------------ */
  main {
    background-color: var(--color-bg-main);
    padding-top: 0rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  main #breadcrumps {
    color: var(--color-bradcrumps);
  }
  figure,
  #content img {
    max-width: 100%;
  }
  /* ----------------------- explanation ----------------------------------- */
  .explanation details {
    background-color: var(--color-accent2);
    padding: 1rem;
  }
  .explanation details .button {
    cursor: pointer;
    text-align: right;
  }
  .explanation details .button img {
    height: 30px;
    width: 30px;
    vertical-align: bottom;
  }
  .gallery {
    flex-direction: column;
  }
  /* ----------------------- pagefooter ------------------------------ */
  #pagefooterTop {
    justify-content: center;
    flex-direction: column-reverse;
  }
  #pagefooterTop .footernav {
    display: none;
  }
  #pagefooterTop .staticnavDiv {
    width: 100%;
  }
  #pagefooterTop .staticnavDiv .a11ySelector button.leichteSprache {
    width: 100%;
    margin: 1rem 0;
  }
  #pagefooterTop .staticnavDiv ul {
    min-height: 5rem;
    list-style-position: inside;
    margin: 0;
    padding: 0;
  }
  #pagefooterTop .staticnavDiv ul li {
    display: block;
    float: none;
    margin: 0;
    width: 100%;
  }
  #pagefooterTop .staticnavDiv ul li a {
    padding: 1.5rem 0;
  }
  #pagefooterBottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  #pagefooterBottom .addressDiv {
    display: block;
    width: 100%;
  }
  #pagefooterBottom .addressDiv a {
    display: block;
  }
  #pagefooterBottom .addressDiv img {
    width: 100%;
    height: auto;
    margin: 3rem 0 1rem 0;
  }
  #pagefooterBottom .addressDiv .address {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  #pagefooterBottom .addressDiv .address span,
  #pagefooterBottom .addressDiv .address div {
    width: 100%;
  }
  #pagefooterBottom .officeDiv {
    width: 100%;
    margin: 2rem 0;
  }
  #pagefooterBottom .sponsorsDiv {
    text-align: center;
  }
}
/* ------------------------ Leichte Sprache a11y --------------------------------- */
/* die Sonderschrift ist schlecht zu lesen */
div.jumbotron.a11y h2 {
  font-family: "Barlow";
}
div.jumbotron.a11y cite {
  font-family: "Barlow";
}
