* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.25rem;
}
header {
  grid-area: header;
  width: 100%;
  height: auto;
  background-color: #004f94;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
main {
  grid-area: main;
  width: 100%;
  height: auto;
}
footer {
  grid-area: footer;
  width: 100%;
  height: auto;
  background: #004f94;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
.grid-container {
  display: grid;
  grid-template-areas:
  "header"
  "main"
  "footer";
}
.ueberschrift {
  font-size: 1.75rem;
  background: #004f94;
  margin: 0;
  margin-top: 1.75rem;
  text-align: center;
  line-height: 3rem;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  color: white;
}
/* === HEADER === */
.flex-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.header-content-left {
  font-size: 0;
}
.header-content-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.header-font {
  font-size: 1.125rem;
  text-decoration: none;
}
.header-logo {
  width: 7.5rem;
  height: auto;
  vertical-align: middle;
  margin: 0.5rem;
}
.header-nav {
  display: inline-block;
  font-size: 0;
  vertical-align: middle;
}
.header-nav ul {
  list-style-type: none;
}
.header-nav li {
  display: inline;
  padding: 0.75rem;
}
.header-nav a {
  font-size: 1.25rem;
  color: white;
  transition: all .1s ease;
}
.header-nav a:hover {
  border-bottom: 3px solid white;
}
#header-verkauf {
  color: #cc0000;
  font-weight: bold;
  text-shadow: -1px 1px 2px white, 1px 1px 2px white, 1px -1px 0 white, -1px -1px 0 white;
}
.header-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
}
.header-icon-container a {
  color: white;
}
.header-icon-container a:hover {
  text-decoration: underline;
}
.icon {
  height: 1.5rem;
  width: auto;
  margin-right: 0.5rem;
  color: white;
}
.burger {
    font-size: 1.5em;
    color: white;
    padding: 1rem;
    display: none;
}
.header-logo-meisterbetrieb {
  width: 12rem;
  height: auto;
}

/* === MAIN === */
.slideshow-img {
  max-width: 100%;
  max-height: 500px;
  min-height: 260px;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid black;
}
.container-leistungen {
  display: flex;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  flex-wrap: wrap;
}
.container-leistungen-icon {
  display: flex;
  align-items: center;
}
.container-leistungen-grow {
  width: 22%;
  margin: 1rem;
  border: 1px solid black;
  padding: 1.5rem;
  transition: all .2s ease-in-out;
  box-shadow: 5px 5px 10px grey;
}
.container-leistungen-grow:hover {
  transform: scale(1.05);
}
.container-leistungen-grow p {
  font-size: 1.125rem;
}

/* === KONTAKT === */
#anker_kontakt {
  margin-top: 0;
}
.flex-kontakt-container {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  margin-top: 1.5rem;
  align-items: center;
}
.kontakt-content-left {
  width: 50%;
}
.kontakt-content-right {
  width: 50%;
}
.container-kontakt-style li {
  list-style: none;
  font-size: 1.125rem;
}
.container-kontakt-style span {
  display: inline-block;
  width: 150px;
  margin: 0.25rem;
}
.container-kontakt-style a {
  text-decoration: none;
  color: black;
}
.container-kontakt-style a:hover {
  text-decoration: underline;
}
.container-kontakt-style ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.container-kontakt-icon {
  display: flex;
  align-items: center;
}
.iframe-maps-style {
  width: 100%;
}
.iframe-maps-responsive{
  height: 0;
  overflow: hidden;
  padding-bottom: 56%;
  position: relative;
}
.iframe-maps {
  height: 100%;
  width: 100%;
  right: 0;
  top: 0;
  position: absolute;
}

/* ===ÜBER-UNS=== */
#anker_ueber-uns {
  margin-bottom: 1.5rem;
}
.flex-ueber-uns-container {
  display: flex;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}
.ueber-uns-content-left {
  width: 50%;
}
.ueber-uns-img {
  max-height: 400px;
  width: auto;
  float: right;
  margin-right: 20%;
}
.ueber-uns-content-right {
  width: 50%;
}
.ueber-uns-content-right p {
  font-size: 1.125rem;
}

/* === FOOTER === */
footer {
  margin-top: 1.5rem;
  text-align: center;
}
footer ul {
 padding: 0;
 list-style: none;
}
footer a {
 color: white;
 text-decoration: none;
 font-size: 1.125rem;
 padding-top: 0.75rem;
 transition: all .1s ease;
}
footer a:hover {
 border-bottom: 3px solid white;
}
footer p {
  color: white;
}

/* === IMPRESSUM === */
.impressum ul {
  list-style: none;
}
.impressum li {
  padding: 0.25rem;
}
.impressum span {
  display: inline-block;
  width: 200px;
}

/* === VERKAUF === */
.verkauf {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}
.flex-verkauf {
  display: flex;
}
.flex-verkauf span {
  display: inline-block;
  width: 150px;
}
.verkauf-left {
  width: 50%;
}
.verkauf-right {
  width: 50%;
}
.verkauf-feature {
  width: 25%;
}

/* === SLIDESHOW === */
.slideshow-container {
  position: relative;
  margin: auto;
}
/* Hide the images by default */
.mySlides {
  display: none;
}
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 12px;
  background: #004f94;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(51,114,169,0.8);
}
/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}
@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* === BREAKPOINTS === */
@media screen and (max-width: 1680px) {
  .flex-header-container {
    width: 100%;
  }
  .container-leistungen-grow {
    width: 30%;
  }
}
@media only screen and (max-width: 1366px) {
  .header-content-left {
    margin-right: 5rem;
  }
  .header-content-right {
    flex: auto;
    justify-content: space-between;
  }
  .burger {
      display: block;
  }
  .header-nav {
    display: none;
    background: #004f94;
    position: absolute;
    top: 6rem;
    padding: 1rem;
    transition: all 400ms;
    z-index: 1;
    border: 1px solid black;
  }
  .header-nav ul {
    padding: 0;
  }
  .header-nav li {
    display: block;
  }
  .nav-active {
    right: 0;
    display: block;
  }
  .container-leistungen-grow {
    width: 45%;
  }
  .flex-verkauf {
    flex-wrap: wrap;
  }
  .verkauf-feature {
    width: 50%;
  }
}
@media only screen and (max-width: 1112px) {
  .verkauf {
    width: 80%;
  }
}

@media only screen and (max-width: 1024px) {
  .header-content-left {
    margin-right: 3rem;
  }
  .flex-kontakt-container {
    flex-direction: column;
  }
  .kontakt-content-left {
    width: 100%;
  }
  .kontakt-content-right {
    width: 100%;
  }
}
@media only screen and (max-width: 834px) {
  .container-leistungen-grow {
    width: 100%;
  }
  .flex-ueber-uns-container {
    flex-direction: column;
  }
  .ueber-uns-content-left {
    width: 100%;
  }
  .ueber-uns-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  .ueber-uns-content-right {
    width: 100%;
  }
  .verkauf-left {
    width: 100%;
  }
  .verkauf-right {
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
  .header-nav {
    top: 6rem;
  }
  .header-logo-meisterbetrieb {
    display: none;
  }
  .header-content-left {
    margin-left: 1rem;
  }
}
@media only screen and (max-width: 667px) {
  .header-content-right {
    justify-content: flex-end;
  }
  .header-icon-container {
    display: none;
  }
  .header-nav {
    top: 6rem;
  }
  .verkauf-feature {
    width: 100%;
  }
}
@media only screen and (max-width: 414px) {
  .container-leistungen {
    width: 90%;
  }
  .flex-kontakt-container {
    width: 90%;
  }
  .container-kontakt-style ul {
    padding-left: 15px;
  }
  .container-kontakt-style span {
    width: 100px;
  }
}
