html,
body {
  margin: 0 0 20px 0;
  padding: 0;
  background: #fff;
  font-family: "Open Sans", sans-serif;
  text-align: center;
  font-size: 12px;
  line-height: 140%;
  color: #555;
}

#gesamtseite {
  margin: 0 auto 0 auto;
  padding: 0;
  width: 900px;
  text-align: left;
  background: #f2f2f2 url("../bilder/back.gif");
}

.slideshow {
  height: 421px;
  width: 900px;
  padding: 0;
  margin: 0;
}

.slideshow img {
  padding: 0;
  border: 0;
  background-color: #eee;
  width: 900px;
  height: 421px;
  top: 0;
  left: 0;
}

#nav {
  margin: 0 0 0 -1px;
  padding: 0;
}

#nav a {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
}

#nav a:visited {
  font-size: 12px;
  text-decoration: none;
}

#nav a:hover {
  text-decoration: none;
}

.highlightit:hover img {
  opacity: 0.6;
  filter: alpha(opacity=60); /* For IE8 and earlier */
}

#linkespalte {
  margin: 0;
  padding: 0;
  width: 620px;
  float: left;
}

#linkespalte-abstand {
  margin: 35px 20px 40px 25px;
}

#linkespalte-abstand p {
  margin: 0 25px 7px 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 150%;
}

#linkespalte-abstand h1 {
  margin: 0;
  font-size: 28px;
  line-height: 135%;
  font-weight: 400;
  color: #808080;
}

#linkespalte-abstand h2 {
  margin: 20px 0 10px 0;
  font-size: 16px;
  line-height: 135%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #808080;
}

#linkespalte-abstand h3 {
  margin: 5px 0 15px 0;
  font-size: 16px;
  line-height: 135%;
  font-weight: 400;
  color: #808080;
}

#linkespalte-abstand h4 {
  margin: 15px 0 0 0;
  font-size: 13px;
  line-height: 135%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
}

#linkespalte-abstand strong {
  font-size: 13px;
  font-weight: 600;
  color: #808080;
}

#linkespalte-abstand ul {
  list-style-type: none;
  font-size: 13px;
  font-weight: 400;
  line-height: 130%;
}

li {
  line-height: 130%;
  margin: 10px 60px 10px 0;
}

#linkespalte-abstand a {
  font-size: 13px;
  font-weight: 400;
  color: #555;
  text-decoration: underline;
}

#linkespalte-abstand a:visited {
  color: #555;
}

#linkespalte-abstand a:hover {
  color: #003e6f;
  text-decoration: underline;
}

#linkespalte-abstand td {
  font-size: 13px;
  font-weight: 400;
  color: #555;
  line-height: 150%;
  padding: 7px 0 0 0;
}

#linkespalte-abstand td a:hover {
  color: #003e6f;
}

#tipp {
  margin: 0 40px 0 20px;
}

#tipp i {
  font-weight: 400;
}

#rechtespalte {
  margin: 0;
  padding: 0;
  width: 270px;
  min-height: 400px;
  float: right;
}

#rechtespalte-abstand {
  margin: 40px 0 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 150%;
}

#rechtespalte-abstand p {
  margin: 5px 0 20px 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 150%;
}

#rechtespalte-abstand h3 {
  margin: 15px 0 0 0;
  font-size: 14px;
  line-height: 100%;
  font-weight: 600;
  color: #808080;
}

#rechtespalte-abstand a {
  margin: 15px 0 0 0;
  font-size: 14px;
  line-height: 100%;
  font-weight: 600;
  color: #808080;
  text-decoration: none;
}

#rechtespalte-abstand a:visited {
  line-height: 100%;
  font-weight: 600;
  color: #808080;
  text-decoration: none;
}

#rechtespalte-abstand a:hover {
  line-height: 100%;
  font-weight: 600;
  color: #003e6f;
  text-decoration: underline;
}

#rechtespalte-abstand p a {
  font-weight: 400;
  font-size: 12px;
  color: #555;
  text-decoration: underline;
}

#rechtespalte-abstand p a:visited {
  color: #555;
  font-weight: 400;
}

#rechtespalte-abstand p a:hover {
  font-weight: 400;
  color: #003e6f;
  text-decoration: underline;
}

#fusszeile {
  margin: 20px 0 0 0;
  padding: 0;
  clear: both;
  width: 900px;
}

#fusszeile-abstand {
  padding: 6px 5px 6px 20px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: #999;
  color: #f2f2f2;
}

#fusszeile-abstand a {
  font-style: normal;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f2f2f2;
  text-decoration: none;
}

#fusszeile-abstand a:visited {
  color: #f2f2f2;
}

#fusszeile-abstand a:hover {
  color: #f2f2f2;
  text-decoration: underline;
}

header {
  background: #ffffff;
  width: 900px;
  z-index: 999;
  align-items: center;
  height: auto;
}

#logo {
  width: 100% !important;
  aspect-ratio: auto 900 / 85;
  height: auto !important;
  border-bottom: solid 10px #fff;
}

.navbar {
  display: none !important ;
}

.kontakt-icon {
  height: 20px;
  margin: 0 10px -5px 0;
}



@media screen and (max-width: 980px) {

  .grid {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;

  }

  #gesamtseite {
    background: unset;
    background-color: #f2f2f2;
    width: auto;
    margin: 10px 20px 0 20px;
  }

  #linkespalte {
    width: auto;
    float: unset;
    margin: 0px 0 0 0;
  }

  #linkespalte-abstand {
    margin: 35px 20px 40px 20px;
  }

  #linkespalte ul {
    margin: 0 0 20px 0 !important;
    padding: 0 20px !important;
  }

  #fusszeile {
    width: auto;
  }

  .tg-header {
    width: 100%;
  }

  .slideshow,
  .slideshow > a,
  .slideshow img {
    height: auto !important;
    width: 100% !important;
    aspect-ratio: auto 900 / 421;
  }

  #rechtespalte {
    margin: 0;
    padding: 0 20px 10px 20px;
    width: auto;
    min-height: 400px;
    float: unset;
    border-top: solid 20px #fff;
  }

  #rechtespalte-startseite{
    margin: 0;
    padding: 0 20px 10px 20px;
    width: auto;
    min-height: 400px;
    float: unset;
    border-bottom: solid 20px #fff;
  }

  td:nth-of-type(2) {
    border-left: solid 20px #f2f2f2;
  }

  colgroup {
    width: unset !important;
  }

  .flyer tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  main>div>a, main>div>a>img {
    width: 100%;
  }
  header {
    height: 90px;
  }

  .dropdown {
    display: none !important;
  }

  .navbar {
    display: inherit !important ;
    padding-bottom: 10px;
  }

  .background-bmenu,
  ul,
  span {
    transition: 200ms;
  }

  p {
    transition: 10ms;
  }

  .icon-bmenu,
  .checkbox-bmenu {
    display: unset;
  }

  .background-bmenu {
    opacity: 0;
    background-color: #ffffff;
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transform: translate(-100vw, 0);
    display: none;
  }

  .ul-bmenu {
    position: absolute;
    transform: translate(-100vw, 0);
    z-index: 100;
    display: grid;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    list-style: none;
    grid-gap: 1px;
    padding: 20px 0px !important;
  }

  .ul-bmenu li {
    margin: 0;
    background-color: #999;
    color: #f2f2f2;
    padding: 8px 0px 8px 20px;
  }

  .ul-bmenu > li {
    border-left: solid 20px #fff;
    border-right: solid 20px #fff;
  }

  .ul-bmenu li ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-gap: 1px;
    background-color: #ffffff;
    margin-left: -20px;
    margin-top: 8px;
  }

  .ul-bmenu li ul li {
    padding-left: 40px;
  }

  .ul-bmenu li ul li:first-of-type {
    border-top: solid 1px #fff;
  }

  .ul-bmenu li:hover {
    background-color: #808080;
  }

  .ul-bmenu a {
    color: #f2f2f2;
    width: 100%;
    height: 100%;
    display: inline-block;
  }

  .drop-container {
    padding-bottom: 0 !important;
  }

  .checkbox-bmenu:checked ~ .ul-bmenu,
  .checkbox-bmenu:checked ~ .background-bmenu {
    transform: translate(0, 0);
  }

  .checkbox-bmenu {
    position: absolute;
    right: 15px;
    top: 10px;
    width: 40px;
    height: 40px;
    z-index: 10;
    opacity: 0;
    margin: 0;
  }

  .checkbox-bmenu:checked {
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
  }

  .icon-bmenu span {
    background-color: #999;
    width: 30px;
    height: 3px;
    display: block;
    margin: 0px 0 0 0px;
    z-index: 2000;
    transition: 10ms;
  }

  .icon-bmenu span:nth-of-type(2),
  .icon-bmenu span:nth-of-type(3) {
    margin: 5px 0 0 0px;
  }

  .icon-bmenu p {
    font-size: 0.75rem;
    margin: 2px 0 0 0px;
    transition: 10ms;
    color: #101113;
  }

  .checkbox-bmenu:checked ~ .icon-bmenu > span:nth-of-type(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .checkbox-bmenu:checked ~ .icon-bmenu > span:nth-of-type(2) {
    transform: rotate(-45deg);
  }

  .checkbox-bmenu:checked ~ .icon-bmenu span:nth-of-type(3) {
    opacity: 0;
  }

  .tg-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 40px;
  }
}

@media screen and (max-width: 565px) {
 

  #fusszeile-abstand {
    display: grid !important;
    grid-gap: 10px;
  }
  header {
    height: 50px;
  }
  .ul-bmenu {

    top: 50px;}
}

@media screen and (max-width: 330px) {
  .tg-header {
    grid-gap: 20px;
  }
}
