:root {
  --header-top-height: 92px;
  --header-menu-height: 64px;
  --header-top-height-mobile: 127px;
  --header-slideshow-height-mobile: 128px;
}

/*@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400');  */
/* lokale Google Fonts */

/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v34-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
  url('../fonts/open-sans-v34-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('../fonts/open-sans-v34-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
  url('../fonts/open-sans-v34-latin-300.woff') format('woff'), /* Modern Browsers */
  url('../fonts/open-sans-v34-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
  url('../fonts/open-sans-v34-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
  url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
  url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
  url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
  url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}



* {
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  color: #3e3e3e;
}

.a11y {
  position: absolute;
  top: auto;
  left: -10000px;
  overflow: hidden;
  width: 1px;
  height: 1px;
}

a, a :visited {
  outline: 0;
  /* color: #708e99; */
  color: #2793bb;
  color: #1e80a4;
}

footer {
  color: #fff;
}

footer a {
  outline: 0;
  color: #dedede;
  text-decoration:none;
}

footer a:hover {
  outline: 0;
  color: #fff;
  text-decoration:underline;
}

.flexfooter {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer2-1, .footer2-2, .footer2-3 {
  padding-right: 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 23px;
}

h3 {
  margin-bottom: 1rem;
}

h3 > div {
  margin-top: 0;
  color: #bf8841;
}

nav li {
  list-style-type: none;
}
nav a {
  text-decoration: none;
  color: #6d6d6d;
}

.wrapper {
  margin: 0 auto;
  width: 1000px;
}

#header {
  display: unset;
}
#header-top {
  position: sticky;
  top: 0;
  z-index: 100;
}
#header-contact {
  background: #000;
  background: #25598d;
  background: #fff; /* weiss */
  padding: 20px 20px 20px 6px;
  padding: 2px 20px 20px 6px;
  text-align: right;
  color: #e770c0;
  color: #ffbbe9;
  color: #ff9dd7;
  color: #000;
  font-size: 15px;
  height: 70px;  
  height: 70px;
  box-shadow: rgba(100, 100, 111, 0.32) 0px 7px 29px 0px;
}
  #header-contact img {
    padding-bottom: 20px;
    max-width: 300px;
 }
#header-contact a {
  color: #ffffff;
  color: #313131;
  color: #000;
  text-decoration: none;
}
#header-menu {
  position: relative;
  top: calc(0px - var(--header-top-height));
  width: 100%;
  left: 0;
  z-index: 600;
  transition: top 0.3s ease-in-out;
}
#header-menu.header-hidden {
  top: calc(0px - var(--header-top-height) - var(--header-menu-height));
}
#header-menu .wrapper {
  display: flex;
}
#logo {
  background-color: #4d8fc3;
  display: none;
}
#header-slideshow {
  min-height: 120px;
  width: 100%;
  padding-top: var(--header-menu-height);
}
#slideshow {
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
}
#slideshow img {
  width: 100%;
  top:-100px;
}
.slide-control {
  display: none;
}

.mobile-only  {
  display: none;	
}
@media (max-width: 550px) {
  .desktop-only  {
    display: none;
  }
  .mobile-only  {
    display: block;	
  }
}

@media (max-width: 999px) {
  .wrapper {
    max-width: 100%;
  }
  #grayout {
    position: fixed;
    left: 0;
    top: -50vh;
    height: 200vh;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 250;
    transition: left 0.15s ease 0.25s;
  }
  #header-top {
    z-index: 101;
  }
  #header-contact {
    padding: 2px 20px 20px 6px;
    padding: 4px 0 15px 0;
    text-align: center;
    color: #000;
    font-size: 12px;
    height: 108px;
    box-shadow: rgba(100, 100, 111, 0.32) 0px 7px 29px 0px;
  }
  #header-contact img {
    padding-bottom: 26px; 
    margin-top: 25px;
    max-width: 184px; 	/* awa 04*/
 }
  
  #header-slideshow {
/*    position: fixed; /*orig joerg*/
/*	position: static;  awa 01*/
    top: var(--header-top-height-mobile);
    min-height: 0;
    max-height: 0;
    padding-top: 100px;
	padding-top: 140px;
    z-index: 99;
    height: var(--header-slideshow-height-mobile);
    overflow: hidden;
    transition: top 0.3s ease-in-out;
  }
  #header-slideshow.header-hidden {
    top: calc(0px - var(--header-top-height-mobile) - var(--header-slideshow-height-mobile));
  }
  #slideshow {
    position: relative;
    top: -152px;
	top: -178px;
  }
  #header,
  #outer-wrapper {
    position: relative;
    left: 0;
    transition: left 0.15s ease 0.25s;
    overflow: auto;
  }
  #header-slideshow .wrapper {
    display: block;
  }
   #header-menu {
    top: calc(0px - var(--header-top-height-mobile));
  } 
  #header-menu .wrapper {
    justify-content: space-between;
  }
  #pre-menu {
    position: fixed;
    top: var(--header-top-height-mobile);
    display: flex;
    width: 100%;
    justify-content: flex-end;
    z-index: 100;
    transition: top 0.3s ease-in-out;
  }
  #pre-menu.header-hidden {
    top: calc(0px - var(--header-top-height-mobile) - var(--header-slideshow-height-mobile));
  }
  #pre-menu > div {
    padding: 7px 19px 5px 19px; 
	padding: 2px 14px 2px 14px; /* awa 05*/
    height: 51px;
	margin-top: 17px;
  }
  #pre-menu > div a {
    display: block;
    height: 51px;
    line-height: 51px;
  }
  div#responsive-hamburger a {
    padding: 0 11px;
	border: 1px solid #a2a2a2;  /* awa 03*/
	background: #ddd; /* awa 03*/
  }
  #pre-menu > div img {
    vertical-align: middle;
  }
  #logo {
    width: auto;
  }

  #responsive-hamburger a {
    background-color: #fff;
  }

  #main-menu {
    overflow-y: auto;
    position: absolute;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
    z-index: 300;
  }
  #close-menu {
    height: 42px;
    border: none;
    background-color: #fff;
    cursor: pointer;
  }
  #close-menu::before {
    padding: 10px 10px 10px 35px;
    background-image: url(/assets/rr/img/menu-close.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    content: "Menü schließen";
    text-transform: uppercase;
    color: #000;
    font-size:0.9rem;
  }
}

@media (min-width: 1000px) {
  #header-top {
    z-index: 1000;
  }
  
  #header-contact .wrapper {
    display:flex;
	justify-content: space-between;
	margin-top: 16px;
  }
  
  #header-contact .wrapper div:nth-child(2) {
    padding: 18px 0px;
  }
 #header-menu {
    position: fixed;
    top: var(--header-top-height);
    background: #ffd969;
	background: #ffd2208f;
	background: #0048f24f;
	background: #ffe975;
/*	background: #ffe97591; 
/* background: #ffffff5c; */
    background: #fff1a7;
    background: #fff;
    background: #5dbcfe; /* helles blau*/
    background: #f7e99f; /*helles beige*/
    background: #fff; /* weiss*/
    background: #c8c39b; /* beige goldener*/
	border-top: 0px solid #fff;
	border-bottom: 0px solid #fff;	
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
  #main-menu {
    position: static;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    border-bottom: none;
  }
 
  #main-menu { 
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    height: auto;
    border-bottom: none;
  }
  
  #logo {
    padding: 14px 14px 15px;
  }
  #responsive-hamburger {
    display: none;
  }
  a.hamburger {
    padding-right: 11px;
    text-align: center;
    line-height: 48px;
    font-size: 26px !important;
    text-decoration: none;
    color: #000;
  }

  #header-slideshow {
    position: absolute;
    height: 120px;
    overflow: hidden;
    z-index: 100;
  }
  .no-js #header-slideshow {
    height: 596px;
    background-attachment: scroll;
  }
  #header-slideshow .wrapper {
    display: flex;
    padding-top: 12px;
    height: 230px;
    position: relative; /* IE 11 */
  }
}

#outer-wrapper {
  position: relative;
  top: 120px;
  min-height: calc(100vh - 120px);
  width: 100%;
  z-index: 90;
  display: flex;
  flex-direction: column;
}
.no-js #outer-wrapper {
  top: 600px;
}

nav#breadcrumb {
  height: 4.5rem;
  background-color: #fff;
}
nav#breadcrumb .wrapper {
  display: flex;
  align-items: center;
  height: 61px;
}
nav#breadcrumb .links {
  flex-grow: 1;
}
nav#breadcrumb .links a {
  margin-right: 36px;
  font-size: 1.2em;
  white-space: nowrap;
}
nav#breadcrumb .links a:first-child {
  display: inline-block;
  margin-right: 23px;
  width: 225px;
  color: #e770c0;
}
nav#breadcrumb .icons {
  display: none;
}

main {
  flex-grow: 1;
  padding: 30px 0;
  background-color: #fff;
}
main .wrapper {
  max-width: 100%;
}

article {
  /*overflow: hidden;*/
  /* margin-top: 60px; */
  margin-top: -10px;
}
article h1 {
  font-size: 2.3rem;
  font-weight: 300;
  margin-bottom: 3rem;
}
article h2 {
  font-size: 1.4rem;
  margin-top:2rem;
}
h1 + h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: normal;
}
.intro  + h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: normal;
}

h2 + div.list {
  margin-top: 4rem;
}

article p {
  margin-bottom: 0.7rem;
  line-height: 1.4rem;
  font-size: 0.95rem;
}

article ul {
  margin-bottom: 0.7rem;
  padding-left:16px;
  line-height: 1.4rem;
  list-style-type: square;
  font-size: 0.95rem;
}

article img {
  margin-bottom: 0.7rem;
  max-width: 100%;
}
img.left {
  float: left;
  margin: 0 20px 0.7rem 0;
}
img.right {
  float: right;
  margin: 0 0 0.7rem 20px;
}

article > div {
  margin-top: 1rem;
}

article > div.border-top {
  border-top: 1px solid #999;
}
article > div.border-top div div:first-child {
  margin-top: 1rem;
}
article > div.border-top img {
  margin-top: 0;
}

article > div.one-col {
  margin-top: 1rem;
  margin-bottom:5rem;
}

div.one-col + div.multi-cols {
  margin-top: -2.7rem;
  margin-bottom: 5rem;
}
div.multi-cols {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}
div.multi-cols.grid {
  margin-top: 3px;
}
div.multi-cols div div {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  line-height: 1.5rem;
}
div.multi-cols img {
  margin-top: 0.35em;
}

div.two-cols > div:first-child {
  width: calc(50.2%);
}
div.two-cols > div:first-child img {
  max-width: calc(100% - 9px);
}
div.two-cols > div:first-child div {
  margin-right: 20px;
}
div.two-cols > div:last-child {
  width: 49.8%;
}
div.two-cols > div:nth-child(2) p {
  padding-left: 13px;
}

div.two-cols.grid > div {
  width: 50%;
}
div.two-cols.grid > div:first-child {
  margin-bottom: -2rem;
}
div.two-cols.grid > div img {
  max-width: calc(100% - 8px);
}

div.multi-boxes-aw {
  margin-bottom: 5rem; /* auskommentieren wenn Texte ausgeblendet */
  /* margin-bottom: 2.0rem; /*awa 2025 05 15 wg entfernten Anrisstexten auf Übersichten*/
  /* margin-right: 8px; awa 2025 05 15 entfernt wg entfernten Anrisstexten auf Übersichten*/
  /* width: calc(50% - 8px); awa 2025 05 15 entfernt wg entfernten Anrisstexten auf Übersichten*/
  width: calc(50% - 8px);
  /* box-shadow: 3px 4px 4px #bfbfbf; */
}
div.description-boxes-aw {
  margin-top: -2rem;
  padding: 30px 30px 8px 0;
  border: 0 solid #d4d4d4;
  /* min-height: 3rem; temporär entfernt awa wegen zusatzinfo-umstellung*/
  background-color: #fff;
  font-size: 0.8rem;
  color: #4e4e4e;
}
a + div.description-boxes-aw {
  margin-top: -3rem;
}
div.tagline {
  margin-top: -1rem;
  margin-bottom: 0.2rem;
  font-size: 1.5rem;
  color: #d2a418;
  font-weight: 300;
}

.description-image {
  margin-top: -1.8rem;
}

div.text-image-block {
  align-items: flex-start;
}
div.text-image-block + div.text-image-block {
  margin-top: 0;
}
div.text-image-block > * {
  width: 50%;
}
div.text-image-block > img {
  margin-top: 0;
  margin-bottom: 0;
}
div.text-image-block > img.right-col {
  order: 1;
}
article > div.text-image-block > img.left-col + div p {
  padding-top: 54px;
  padding-left: 20px
}
article > div.text-image-block > img.right-col + div p {
  padding-top: 54px;
  padding-right: 20px;
  padding-left: 0;
}

div.teaser p.caption {
  margin: -1rem 0 1rem;
  text-align: center;
}
div.teaser p.caption a {
  text-decoration: none;
  color: #333;
}
div.teaser div div {
  margin-right: 10px;
}
div.teaser.two-cols > div {
  width: 50%;
}
div.teaser.two-cols > div:first-child img {
  max-width: 100%;
}
div.teaser.three-cols > div {
  width: 33.3%;
}
div.teaser.two-cols.with-space > div {
  width: calc(50% - 10px);
}
div.teaser.three-cols.with-space > div {
  width: calc(33.3% - 10px);
}
div.teaser.with-space div div {
  margin-right: 0;
}

div.list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
div.one-col + div.list {
  margin-top: -2.0rem;
}
.multi-cols + div.list {
  margin-top: 30px;
}
div.list > div {
  width: calc(50% - 8px);
}
div.list h3 {
  position: relative;
  top: 5.7rem;
  left: 2rem;
  margin-top: -3.8rem;
  display: table;
  text-decoration:none;
}
div.list h3 a {
  color: #fff;
  text-decoration: none;
  background: #4d8fc3;
  padding: 7px;
  font-weight: 300;
  border-bottom-left-radius:17px;
}
div.list img {
  width: 493px;
  margin-bottom: 1.8rem;
  /* margin-bottom: -0.2rem; */
  box-shadow: 3px 4px 4px #bfbfbf;
}
div.list + div.multi-cols {
  margin-top: -4rem;
}

div.border-bottom {
  height: 1rem;
  border-bottom: 1px solid #999;
}


/* Tabellenformatierung*/
.standard .hervor1 {
  background-color: #bdbdbd;
}
.standard td {
  background-color: #dedede;
  padding: 10px;
}

table.presse {
  background-color: #e3e3e3;
  padding: 4px;
  border-collapse:collapse;
}
.presse td {
  border-top: 1px solid #fff;
  padding: 10px;
}
.presse td:first-child {
  background-color: #fff;
  border-left: 0px solid #ccc;
  border-bottom: 1px solid #ccc;
}

table.bikebus {
  padding: 4px;
  width: 100%;
  max-width: calc(100% - 10px);
  border-bottom: 1px solid #ccc;
  border-collapse: collapse;
  background-color: #fff;
}
.bikebus td {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 2px 10px;
  font-size: 0.9rem;
}
.bikebus td:nth-child(1),
.bikebus td:nth-child(2) {
  background-color: #e3e3e3;
  background-color: #f7f2e2;
  width: 25%;
}
.bikebus td:nth-child(3) {
  border-bottom: 1px solid #fff;
  width: 10%;
}
.bikebus td:nth-child(4),
.bikebus td:nth-child(5) {
  width: 20%;
}

/* Untermenue Wir, Info */
.submenu ul {
  overflow: hidden;
  padding-left: 0;
}
div.submenu ul li {
  float: left;
  margin-right: 2px;
  margin-bottom: 0;
  list-style-type: none;
}
div.submenu a {
  display: inline-block;
  margin: 2px 0px 0px 0px;
  padding: 10px 5px;
  border: 2px solid #008CBA;
  border-radius: 0;
  background-color: #4D8FC3;
  -webkit-transition-duration: 0.2s; /* Safari */
  transition-duration: 0.2s;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  color: #fff;
}
div.submenu li:last-child a {
  padding: 10px 7px;
}
div.submenu a:hover {
  color: black;
}

footer > div:first-child {
  margin-top: 5rem;
  background-color:#f7f2e2;
  min-height:3rem;
}

footer > div:last-child {
  background-color:#25598d;
  background-color:#515151;  
  min-height:17rem;
}

footer > div > div {
  padding: 1rem 0;
  min-height: 40px;
}

@media (max-width: 1050px) {
  .wrapper {
    width: 960px;
  }
}

@media (max-width: 999px) {
  #header-slideshow .wrapper {
    width: 100%;
  }
  #outer-wrapper {
    top: 0;
	top: 140px;
	top:0px; /* awa 02 auf 0 setzen, wenn position:static bei header-slideshow   */
  }
  #outer-wrapper .wrapper {
    padding: 0 10px;
    width: calc(100% - 20px);
  }
  nav#breadcrumb .links a {
    margin-right: 16px;
    font-size: 1em;
  }
  nav#breadcrumb .links a:first-child {
    width: auto;
  }
  article {
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  main {
    padding: 0;
  }
  article {
    margin-top: 0;
  }
  div.multi-cols {
    flex-direction: column;
  }
  div.two-cols > div:first-child,
  div.two-cols > div:last-child {
    width: 100%;
  }
  div.two-cols > div:first-child img {
    display: block;
    margin: 0 auto 1rem;
    max-width: 100%;
  }
  div.two-cols > div:first-child div {
    margin-right: 0;
  }
  div.teaser.two-cols.with-space > div,
  div.teaser.three-cols.with-space > div,
  div.teaser.three-cols > div {
    width: 100%;
  }
  div.teaser > div {
    text-align: center;
  }
  div.teaser div div {
    text-align: left;
  }
  div.list {
    justify-content: center;
  }
  div.list > div {
    width: auto;
  }
  div.list img {
    width: 609px;
  }
  div.description-boxes-aw {
    padding-right: 0;
  }
  div.multi-boxes-aw {
    margin-right: 0;
    width: 100%;
  }
  div.multi-boxes-aw > a {
    display: block;
    text-align: center;
  }
  div.text-image-block > * {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    max-width: 100%;
  }
  div.text-image-block > img {
    margin-bottom: 1em;
  }
}

@media (max-width: 380px) {
  div#responsive-hamburger {
    padding-left: 0;
    padding-right: 10px;
  }
  footer > div:last-child {
    background-color:#25598d;
    min-height:27rem;
  }
}
