/* ====== Grundlegende Styles ====== */
body {
  font-family: Lato, sans-serif;
  color: #777;
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
}

/* Container */
.w-container {
  max-width: 1140px;
  margin: 0 auto;
}

.agb-container {
  padding-right: 5px;
  padding-left: 5px;
}

/* ====== Typografie ====== */
h1 {
  font-family: Lato, sans-serif;
  color: #ffffff;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

h2 {
  font-family: Lato, sans-serif;
  color: #333333;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.hero-text h2 {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

h3 {
  font-family: Lato, sans-serif;
  color: #333333;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.heading-4 {
  margin-top: 0px;
  color: #777 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-align: left !important;
  text-transform: none !important;
  text-shadow: none !important;
  font-family: Lato, sans-serif !important;
}

/* Text Styles */
p {
  display: inline;
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
}

.li {
  margin-right: auto;
  margin-left: auto;
  padding-left: 0px;
  color: #333333;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.disclaimer {
  display: inline-block;
  font-family: Lato, sans-serif;
  color: #919191;
  font-size: 12px;
  list-style-type: none;
}

/* ====== Links und Buttons ====== */
.link {
  color: #222;
  text-decoration: none;
  font-size: inherit;
}

.link:hover {
  color: #abacb8;
}

.button {
  display: inline-block;
  margin-top: 20px;
  margin-left: 0px;
  padding: 4px 15px;
  float: right;
  clear: none;
  border-radius: 40px;
  background-color: #222;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  border: 0px none #b6b6b6;
  background-color: #777;
  color: #fff;
  font-weight: 700;
}

/* ====== Navigation ====== */
.nav-bar {
  left: 0px;
  top: auto;
  right: auto;
  bottom: auto;
  display: block;
  margin-right: auto;
  padding-top: 45px;
  padding-bottom: 27px;
  padding-left: 30px;
  text-align: right;
}

/* Navigation - Standardversion für Index und Textbeispiele */
.section.header .nav-links {
  margin-left: 0px;
  padding-right: 14px;
  padding-left: 14px;
  float: left;
  color: #fff;
  font-weight: 700;
  text-align: left;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.21);
}

.section.header .nav-links:hover {
  color: #222;
  text-shadow: none;
}

/* Navigation - Spezialversion für Impressum und AGB */
.header3 .nav-links {
  margin-left: 0px;
  padding-right: 14px;
  padding-left: 14px;
  float: left;
  color: #333333 !important;
  font-weight: 700;
  text-align: left;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: none !important;
}

.header3 .nav-links:hover {
  color: #777 !important;
}

/* ====== Sektionen ====== */
.section {
  padding-top: 80px;
  padding-bottom: 60px;
}

/* Header Sektionen */
.section.header {
  overflow: visible;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 100px;
  background-image: url('../images/BG_top4.JPG');
  background-position: 0px 0px;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.section.header.textheader {
  background-image: url('../images/headBG2.jpg');
}

.section.header.bildheader {
  background-image: url('../images/photo-daniel_voelpel6.jpg');
  background-size: contain;
}

/* Dunkle Sektionen */
.section.dark {
  padding-top: 80px;
  padding-bottom: 38px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background-color: #f9f9f9;
}

.section.dark h2,
.section.dark h3,
.section.dark h4,
.section.dark p,
.section.dark .li,
.section.dark .portfolio-text,
.section.dark a.link {
  color: #333333 !important;
  text-shadow: none !important;
}

/* Textbeispiele Styles */
.section .textbeispiel a,
.section .textbeispiel .link,
.section .textbeispiel .artikelbeschreibung.link,
.section .w-inline-block .artikelbeschreibung.link,
.section .w-inline-block h3,
.section .w-inline-block .heading-4,
.section .w-inline-block p {
    color: #333333 !important;
    text-decoration: none !important;
}

.section .textbeispiel a:hover,
.section .textbeispiel .link:hover,
.section .w-inline-block:hover .artikelbeschreibung.link,
.section .w-inline-block:hover h3,
.section .w-inline-block:hover .heading-4,
.section .w-inline-block:hover p {
    color: #777 !important;
}

/* Hero Bereich */
.hero-text {
  margin-top: 300px;
  padding-top: 0px;
}

/* Portfolio & Services */
.portfolio-text {
  margin-top: 93px;
}

.portfolio-text.left-up {
  margin-top: 10px;
}

.portfolio-text .link {
  color: #222;
  text-decoration: none;
  font-size: 13px;
}

.services {
  position: relative;
  padding-right: 20px;
  padding-left: 20px;
}

/* Logo */
.logo-bar {
  padding-left: 30px;
}

.logolink {
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 1000;
  margin-top: auto;
  margin-right: 0px;
}

/* Galerie */
.gallery {
  margin-top: 55px;
  text-align: left;
}

.gallery-img {
  max-width: 90%;
  border: 5px solid #fff;
  box-shadow: #ccc 1px 1px 3px -1px;
  transition: all 500ms ease;
}

.gallery-img:hover {
  opacity: 0.5;
}

/* Slider */
.artslider2, .artslider3, .artslider4, .artslider5 {
  background-size: cover;
}

.artslider2 { background-image: url('../images/Stalker-Slider.png'); }
.artslider3 { background-image: url('../images/Uni-Slider.png'); }
.artslider4 { background-image: url('../images/DLRG-Slider.png'); }
.artslider5 { background-image: url('../images/20140104_Rettungskreuzer_StuttgarterZeitung-THUMB.jpg'); }

.sliderlink {
  width: 100%;
  height: 100%;
}

/* Footer */
.footer {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: #222;
}

.footer-link {
  margin-right: 10px;
  margin-left: 10px;
  font-family: Lato, sans-serif;
  color: #777;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-link:hover {
  color: #abacb8;
}

/* ====== Media Queries ====== */
@media screen and (max-width: 991px) {
  .section.dark {
    background-color: #f9f9f9 !important;
  }
  
  .section.dark * {
    color: #333333 !important;
    text-shadow: none !important;
  }

  h1 { font-size: 80px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  p { font-size: 13px; }

  .hero-text { margin-top: 200px; }
  .portfolio-text { margin-top: 46px; }
  
  .section.header {
    background-attachment: scroll;
  }

  /* Behalte Textbeispiel-Styles auch in mobiler Ansicht */
  .section .textbeispiel a,
  .section .textbeispiel .link,
  .section .textbeispiel .artikelbeschreibung.link,
  .section .w-inline-block .artikelbeschreibung.link,
  .section .w-inline-block h3,
  .section .w-inline-block .heading-4,
  .section .w-inline-block p {
    color: #333333 !important;
    text-decoration: none !important;
  }
}

@media screen and (max-width: 767px) {
  .section.dark {
    background-color: #f9f9f9 !important;
  }
  
  .section.dark * {
    color: #333333 !important;
    text-shadow: none !important;
  }

  h1 { font-size: 58px; }
  h2 { font-size: 18px; }

  .section {
    padding-top: 43px;
    padding-bottom: 43px;
  }

  .nav-bar {
    height: 60px;
    margin-top: 30px;
    padding-top: 18px;
    text-align: center;
  }

  .hero-text { margin-top: 70px; }
  
  .gallery-img {
    width: auto;
    max-width: 100%;
    margin: 10px 0;
  }
}

@media screen and (max-width: 479px) {
  h1 {
    font-size: 34px;
    line-height: 40px;
  }

  h2 {
    font-size: 12px;
    line-height: 28px;
  }

  h3 {
    font-size: 18px;
    text-align: left;
  }

  .nav-links {
    font-size: 12px;
    padding-left: 16px;
  }

  .hero-text { margin-top: 60px; }

  .portfolio-text {
    margin-top: 40px;
    padding-left: 22px;
    text-align: left;
  }

  .gallery-img { max-width: 100%; }

  .li {
    font-size: 13px;
    text-align: left;
    text-indent: 0px;
  }

  /* Behalte Link-Styles auch in kleinster Ansicht */
  .section .textbeispiel a,
  .section .textbeispiel .link,
  .section .w-inline-block .artikelbeschreibung.link,
  .section .w-inline-block h3,
  .section .w-inline-block .heading-4,
  .section .w-inline-block p {
    color: #333333 !important;
    text-decoration: none !important;
  }
}