@import url("fonts.css");
: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(110px, 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;
}
.skip-link {
  position: fixed;
  right: 0;
  bottom: 4rem;
  width: 2rem;
  height: 2rem;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1rem 2rem 1rem;
  font-size: 2rem;
  rotate: -90deg;
}
/* 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;
}
.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 h1,
body h1,
html h2,
body h2,
html h3,
body h3,
html h4,
body h4,
html h5,
body h5,
html h6,
body h6 {
  font-family: "Barlow";
  color: var(--color-heading);
  line-height: 150%;
}
html h2,
body h2 {
  border-bottom: 3px solid var(--color-accent1);
}
html h3,
body h3 {
  font-size: 120%;
  font-family: "Gochi Hand";
}
html .locations h3,
body .locations h3,
html .cooperation h3,
body .cooperation h3,
html .html h3,
body .html h3 {
  font-family: "Barlow";
}
html a,
body a {
  color: var(--color-link);
}
html .visiblyHidden,
body .visiblyHidden {
  visibility: hidden;
  font-size: 1px;
  text-decoration: none;
}
html .staticnavMobile,
body .staticnavMobile {
  display: none;
}
/* ----------------------- pageheader -------------------------- */
header {
  background-color: var(--color-bg-header);
}
/* ----------------------- heroimage -------------------------- */
#heroimage {
  height: var(--hero-height);
  background-size: cover;
  background-position: center top;
  margin-top: 2rem;
}
.heroimage-static {
  height: var(--hero-height);
}
/* ----------------------- pageheader staticnav -------------------------- */
#pageheader .staticnav {
  position: absolute;
  top: 0;
  right: 0;
  background-color: white;
  width: 100%;
  z-index: 10;
}
#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: 0;
  left: 3rem;
  padding: 0;
  background-color: white;
  text-align: center;
  z-index: 15;
  border-radius: 0 0 14px 14px;
  box-shadow: 3px 0 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;
}
/* ----------------------- navigation ------------------------------ */
nav ul.rex-navi1 {
  height: 1rem;
  width: 100%;
  margin: 0;
  padding: 1em 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-direction: row;
  background-color: var(--color-bg-nav);
  list-style-position: inside;
}
nav ul.rex-navi1 li {
  display: block;
  margin: -2rem 0 0 0;
  padding: 1.2rem;
  width: min-content;
  text-align: left;
  font-size: 80%;
  font-weight: 400;
}
nav ul.rex-navi1 li.rex-current {
  background-color: var(--color-accent2);
  display: block;
  border-radius: 14px 14px 3px 3px;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
  box-shadow: #be1e2d;
  z-index: 99;
}
nav ul.rex-navi1 li a {
  padding: 0.5em 0;
  margin: 0;
  text-decoration: none;
  color: var(--color-nav);
  white-space: nowrap;
  line-height: 140%;
}
nav ul.rex-navi1 li a strong {
  font-size: 150%;
  font-weight: 600;
}
#hamburger {
  display: none;
}
#hamburger-toggle {
  display: none;
}
/* ----------------------- main ---------------------------------------
Nur Angaben zu Positionierungen innerhalb der Seite - margin und width
-------------------------------------------------------------------- */
main {
  background-color: var(--color-bg-main);
  padding-top: 3rem;
  width: 100%;
  margin: 0 auto;
}
main #breadcrumps {
  margin: 0 10%;
}
main div.jumbotron {
  margin: 0 10%;
}
main div.jumbotron.gallery {
  margin: 0;
  width: 100%;
}
main div.jumbotron.gallery .gallery-container {
  margin: 0 10%;
}
/* ----------------------- gallery ----------------------------------- */
div.jumbotron.gallery {
  background-color: #f9f9f9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
div.jumbotron.gallery 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;
  width: 100%;
  height: fit-content;
  color: white;
  font-size: 80%;
}
footer a {
  color: white;
  text-decoration: none;
}
#pagefooterTop {
  display: flex;
  gap: 5%;
}
#pagefooterTop .addressDiv {
  margin: 1rem;
  width: 60%;
}
#pagefooterTop .addressDiv img {
  width: 250px;
}
#pagefooterTop .addressDiv .address {
  display: flex;
  gap: 16px;
}
#pagefooterTop .addressDiv .address span,
#pagefooterTop .addressDiv .address div {
  flex-grow: 1;
  width: 33.333%;
}
#pagefooterTop .officeDiv {
  width: 15%;
  margin: 1rem;
  flex-grow: 1;
}
#pagefooterTop .staticnavDiv {
  width: 15%;
  margin: 0 1rem;
  flex-grow: 1;
}
#pagefooterTop .staticnavDiv ul {
  padding: 0;
}
#pagefooterTop .staticnavDiv ul li {
  display: block;
  float: none;
  margin: 0 0 1em 0rem;
}
#pagefooterTop .staticnavDiv ul li a {
  background-color: transparent;
  text-transform: none;
  padding: 0 1rem;
}
#pagefooterBottom {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
#pagefooterBottom .sitemapSponsorLogos {
  width: 100%;
}
figure.img-align-left {
  margin: auto 0.5rem auto 0;
  float: left;
}
figure.img-align-center {
  text-align: center;
  margin: auto;
}
figure.img-align-right {
  float: right;
  margin: auto 0 auto 0.5rem;
}
figure.img-width-small {
  width: 25%;
}
figure.img-width-small img {
  width: 100%;
}
figure.img-width-1-third {
  width: 33%;
}
figure.img-width-1-third img {
  width: 100%;
}
figure.img-width-medium {
  width: 50%;
}
figure.img-width-medium img {
  width: 100%;
}
figure.img-width-2-third {
  width: 66%;
}
figure.img-width-2-third img {
  width: 100%;
}
figure.img-width-large {
  width: 75%;
}
figure.img-width-large img {
  width: 100%;
}
figure.img-width-full {
  width: 100%;
}
figure.img-width-full img {
  width: 100%;
}
@media only screen and (max-width: 900px) {
  body img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  /* ----------------------- heroimage -------------------------- */
  #heroimage {
    height: var(--hero-height-mobile);
  }
  .heroimage-static {
    height: var(--hero-height-mobile);
  }
  /* ----------------------- pageheader staticnav -------------------------- */
  #pageheader .staticnav {
    display: none;
  }
  #pageheader #logo {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.5rem;
    height: 100px;
  }
  #pageheader #logo img {
    width: 60%;
    margin-top: -20px;
  }
  #pageheader #logo #slogan {
    visibility: hidden;
    font-size: 1px;
    text-decoration: none;
  }
  /* ----------------------- a11y ----------------------------- */
  .a11ySelector button.leichteSprache {
    border-radius: 5px;
  }
  .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: green;
    border: 1px solid green;
  }
  .a11ySelector button.leichteSprache.leichteSpracheInactive::after {
    content: " anschalten";
  }
  /* ----------------------- navigation ------------------------------ */
  #hamburger {
    display: block;
    height: 2rem;
    width: 2rem;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 40;
  }
  #hamburger svg {
    display: block;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    color: var(--color);
    transform: rotate(0deg);
    transform-origin: center center;
    transition: transform 280ms ease;
  }
  #hamburger-toggle:checked + #hamburger label svg {
    transform: rotate(90deg);
    color: var(--color);
  }
  #hamburger-toggle:checked ~ .mainnav {
    display: block;
  }
  .mainnav {
    display: none;
    position: absolute;
    top: 100px;
    z-index: 60;
    width: 100%;
    background-color: var(--color);
  }
  .mainnav ul {
    padding-left: 0;
  }
  .mainnav ul.rex-navi1 {
    display: block;
    opacity: 1;
    pointer-events: auto;
    height: auto;
  }
  .mainnav ul.rex-navi1 li {
    width: 100%;
    padding: 0.25em 0;
  }
  .mainnav ul.rex-navi1 li a {
    letter-spacing: normal;
  }
  .mainnav ul.staticnavMobile {
    display: block;
    height: auto;
    z-index: 50;
    list-style: none;
  }
  .mainnav ul.staticnavMobile li {
    width: 100%;
    padding: 0.25em 0;
  }
  .mainnav ul.staticnavMobile li a {
    padding: 0.5em 1rem;
    text-decoration: none;
  }
  .mainnav ul.staticnavMobile .a11ySelector {
    padding: 1rem;
  }
  /* ----------------------- main ------------------------------------ */
  main {
    background-color: var(--color-bg-main);
    padding-top: 3rem;
    max-width: 100%;
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
  }
  main #breadcrumps {
    color: var(--color-bradcrumps);
  }
  figure,
  img {
    max-width: 100%;
  }
  /* ----------------------- explanation ----------------------------------- */
  .explanation details {
    background-color: var(--color-accent2);
    padding: 1rem;
  }
  .explanation details summary {
    text-align: right;
    cursor: pointer;
  }
  .explanation details .button {
    cursor: pointer;
    text-align: right;
  }
  .explanation details .button img {
    height: 30px;
    width: 30px;
    vertical-align: bottom;
  }
  /* ----------------------- pagefooter ------------------------------ */
  #pagefooterTop {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  #pagefooterTop div {
    padding: 0.5rem;
  }
  #pagefooterTop div.addressDiv {
    display: block;
    float: left;
    width: 100%;
  }
  #pagefooterTop div.addressDiv .address {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  #pagefooterTop div.addressDiv .address img {
    width: 80%;
  }
  #pagefooterTop div.addressDiv .address span,
  #pagefooterTop div.addressDiv .address div {
    width: 100%;
  }
  #pagefooterTop div.officeDiv {
    display: block;
    float: left;
    margin: 1rem;
    width: 100%;
  }
  #pagefooterTop div.staticnavDiv {
    display: block;
    float: left;
    width: 100%;
  }
  #pagefooterTop div.staticnavDiv ul {
    min-height: 5rem;
    list-style-position: inside;
    margin: 0;
  }
  #pagefooterTop div.staticnavDiv ul li {
    display: block;
    float: none;
    margin: 0;
    width: 100%;
  }
  /* ------------------------ Modul: cooperation --------------------------------- */
  .cooperation .flexContainer .flexColumn {
    width: 100%;
  }
  figure.img-width-small,
  figure.img-width-1-third,
  figure.img-width-medium,
  figure.img-width-2-third,
  figure.img-width-large,
  figure.img-width-full {
    width: 100%;
  }
  figure.img-width-small img,
  figure.img-width-1-third img,
  figure.img-width-medium img,
  figure.img-width-2-third img,
  figure.img-width-large img,
  figure.img-width-full img {
    width: 100%;
  }
}
/* ------------------------ Leichte Sprache a11y --------------------------------- */
/* die Sonderschrift ist schlecht zu lesen */
div.jumbotron.a11y h2 {
  font-family: "Barlow";
}
div.jumbotron.a11y cite {
  font-family: "Barlow";
}
