*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Fira Sans', sans-serif;
  font-variant-ligatures: none;
}

body,
html {
  width: 100%;
  min-height: 100vh;
  scroll-behavior: smooth
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2 {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  text-transform: uppercase;
}



.textflow > * + * {
  margin-top: 1em;
}

.ulist {
  margin-left: 1.5em;
}

.list-spaces li + li {
  margin-top: 1em;
}

.ulist {
  list-style: none;
}

.ulist li:before {
  content: "";
  width: 0.6em;
  height: 0.6em;
  display: inline-block;
  background: #FF9900;
  margin: 0 0.2em 0 -0.8em;
  border-radius: 50%;
}

.site_header {
  height: 100vh;
  background-size: cover;
  position: relative;
}

.site_header {
  width: 100%;
  height: 100vh;
  z-index: 98;
}

.w_limit {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2em 0.5em;
  margin: 0 auto;
}

.site_header .logo {
  position: absolute;
  top: 100px;
  padding-right: 3em;
  ;
}

.site_header .slogan {
  position: absolute;
  bottom: 1rem;
}

.slogan span {
  display: block;
  white-space: pre-line;
  line-height: 1em;
}

header h1,
.slogan span {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  color: #fff;
  font-size: 7vw;
  font-size: calc(20px + 5vw);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
}

.nav_main {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

.nav_main ul {
  list-style: none;
  text-align: right;
  background: rgba(255, 255, 255, 0.8);

}

.nav_main li {
  display: inline-block;
  padding: 0.2em 1em 0.2em 0;
}

.nav_main li + li {
  border-left: 1px solid #fff;
  padding-left: 1em;
}

.nav_main li:last-child {
  margin-right: 5em;
}

.nav_main a {
  color: #0e3333;
  text-decoration: none;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  text-transform: uppercase;
}

.nav_main ul:before {

  content: "";
  display: inline-block;
  width: 100%;
  height: 1em;
  background: #004659;
}

.site-footer {
  width: 100%;
  min-height: 10em;
  background: #0e3333;
  padding-bottom: 10em;
}

.nav_footer {
  grid-column: 1 / span 18;
  display: flex;
  flex-flow: row wrap;
}

.nav_footer div:first-child {
  flex: 1 0 auto;
  max-width: 100%;
}

.nav_footer ul {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  max-width: 100%;
  list-style: none;
  flex: 0 0 auto;
  color: #fff;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  text-transform: uppercase;
}

.nav_footer li {
  display: inline-block;
  border-left: 1px solid #fff;
  padding: 0 0.5em;
}

.nav_footer a {
  color: inherit;
  text-decoration: none;
}


section {
  background: #e6e6e6;
  width: 100%;
  overflow: auto;
}

section header {
  display: block;
  min-height: 350px;
  height: 35vh;
  background-size: cover;
  grid-gap: 0;
  position: relative;
  padding: 0 !important
}

section header .rslides {
  grid-column: 1 / span 18;
  grid-row: 1 / span 1;
  z-index: 0;
  padding: 0;
}

header > div {
  position: relative;
  padding: 2em 0.5em;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 1;
}

header h1 {
  position: absolute;
  bottom: 2px;
  left: 1rem;
  margin: 0 0 -0.19em -0.5rem;
}

#header1 {
  background-image: url(../img/banner/abstract-expressionism-abstract-painting-acrylic-1919287.jpg);
}

#header2 {
  background-image: url(../img/banner/architect-architecture-build-1109541.jpg);
}

#header3 {
  background-image: url(../img/banner/TIM_BANNER_IMG_20190428_180540.jpg);
  min-height: 20vh;
  min-height: calc(100px + 15vh);
}

#header4 {
  background-image: url(../img/banner/TIM_BANNER_SCHMAL_indoor-interior-light-48828_gruen.jpg);
}

#header_impressum {
  background-image: url(../img/banner/TIM_BANNER_SCHMAL_Bild002.jpg);
  background-position: bottom center;
}

#header_datenschutz {
  background-image: url(../img/banner/TIM_BANNER_BANNER_SCHMAL_background-984540_BLAU.jpg);
}

@media (max-width:960px) {
  #header1 {
    background-image: url(../img/banner/960/abstract-expressionism-abstract-painting-acrylic-1919287.jpg);
  }

  #header2 {
    background-image: url(../img/banner/960/architect-architecture-build-1109541.jpg);
  }

  #header3 {
    background-image: url(../img/banner/960/TIM_BANNER_IMG_20190428_180540.jpg);
    min-height: 20vh;
    min-height: calc(100px + 15vh);
  }

  #header4 {
    background-image: url(../img/banner/960/TIM_BANNER_SCHMAL_indoor-interior-light-48828_gruen.jpg);
  }

  #header_impressum {
    background-image: url(../img/banner/960/TIM_BANNER_SCHMAL_Bild002.jpg);
    background-position: bottom center;
  }

  #header_datenschutz {
    background-image: url(../img/banner/960/TIM_BANNER_BANNER_SCHMAL_background-984540_BLAU.jpg);
  }
}

.grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2em 0.5em;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  grid-auto-rows: 1fr;
  grid-gap: 0.5em;

}

.grid > * {
  padding: 0.5em;
  overflow: hidden;
  position: relative;
}

.contact {
  grid-auto-rows: auto;
  padding-bottom: 4em;
}


.img1,
.img2,
.img4 {
  background: #fff;
}

.img1 img,
.img2 img,
.img4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text1,
.text2,
.text3,
.text4 {
  background: #fff;
  position: relative;
}

.text4 {
  padding: 0.5em 3em 2.5em 0.5em;
}

.text3 {
  padding: 2em 0.5em;
}

#map {
  background: #fff;
}

#mapbutton {
  height: 100%;
  width: 100%;
  display: flex;
  cursor: pointer;
}

#mapbutton > div {
  margin: auto;
}

.square::before {
  content: "";
  float: left;
  padding-top: 100%;
}

.square::after {
  content: "";
  display: table;
  clear: both;
}

.doublesquare::before {
  content: "";
  float: left;
  padding-top: 50%;
}

.doublesquare::after {
  /* to clear float */
  content: "";
  display: table;
  clear: both;
}


.indicator {
  overflow: auto;
  position: absolute;
  bottom: 0.5em;
  right: 3em;
}

.indicator > * {
  float: right;
  width: 0.8em;
  height: 0.8em;
  background: #c6dbd9;
  border-radius: 50%;
  margin: 0.25em;
}


.arrow_right {
  position: absolute;
  width: 37px;
  top: 0;
  right: 0.5em;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.arrow_down {
  display: block;
  width: 37px;
  transform: rotate(90deg);
  margin: 0 auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

#visite {
  font-size: 0.7em;
  background-color: #F7F6F6;
  width: 16em;
  position: absolute;
  bottom: -3em;
  right: -3em;
  z-index: 90;
  transform: rotate(6deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5)
}

#visite img {
  display: block;
}

#visite > div {
  position: absolute;
  top: 7.5em;
  left: 5em;
}

#visite > div > div:first-child {
  margin-bottom: 1em;
}

#visite a {
  color: inherit;
  text-decoration: none;
}

#visite h5 {
  color: #F89A51;
  font-weight: normal;
}

#visite span {
  color: #004E5F;
  display: block;
}

@media (max-width: 900px) {
  h2 {
    font-size: 1.1em;
  }
}


@media (max-width: 600px) {

  .nav_main li {
    padding: 0.2em 0.5em 0.2em 0;
    margin: 0 !important;
  }

  #visite {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 3em auto;
    font-size: 0.8em;
  }

  #text3-2 {
    padding-bottom: 0 !important;
    padding-right: 0.5em !important;
  }

}
