* {
  box-sizing: border-box;
}

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

html {
  font-size: 16px;
}

body {
  color: rgb(17,17,17);
  background-color: rgb(255,255,255);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

table {
   border: 0px;
   border-style: none;
}

a:link {
   color: rgba(17,17,17, 1);
   text-decoration: none;
}

a:visited {
   color: rgba(17,17,17, 1);
   text-decoration: none;
}

a:hover {
   color: rgba(255,0,0, 1);
   cursor: pointer;
   text-decoration: none;
}

a:active {
   color: rgba(255,0,0, 1);
   text-decoration: none;
}

link:focus,
link:visited:focus {
   -moz-outline: 0 dotted WindowText;
}

h2,
h3 {
  margin: auto;
  text-align: center;
}

h3 {
  margin-top: 2rem;
  text-align: left;
}

p,
address,
#datenschutz-punkte ul li ul {
  font-size: 1.25rem;
  margin: auto;
}

section p {
  transition: all 1s linear 0s;
}

header,
section,
footer {
  min-height: calc(100% - 3.75rem);
}

header, footer {
  background-image: none;
  text-align: center;
}

header {
  margin-top: 3.75rem;
}

section {
  background-color: rgb(51,51,51);
  color: #fff;
  padding: 1.5rem;
}

footer {
  height: calc(100% - 3.75rem);
  min-height: calc(100% - calc(3.75rem * 2));
}

footer address {
  font-style: normal;
  min-height: calc(100% - calc(3.75rem * 2) - 4rem);
}

footer dl {
  margin: 0;
}

footer dd {
  font-weight: bold;
  margin: 0;
}

footer dl dd {
  margin-bottom: 1em;
}

a[href^="tel"] {
  white-space: nowrap;
}

.italic {
  font-style: italic;
}

#menu_anchor-top,
#tel-top,
#nav-top,
#nav-top a, .scrolled {
  transition: all .5s linear;
}

#menu_anchor-top {
  padding: 0 69px;
  text-align: center;
  position: fixed;
  top: 0;
  height: 3.75rem;
  width: 100%;
  z-index: 10;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#logo-top {
  height: 2.75rem;
  margin: .5rem auto;
  opacity: 1;
  z-index: 11;
}

#tel-top {
  font-size: 3rem;
  position: fixed;
  top: -0.5rem;
  z-index: 10;
}

#tel-top a:hover {
  color: rgba(255,0,0, 1);
}

.scrolled {
  background-color: rgba(0,0,0, .69) !important;
}

.scrolled,
.scrolled a {
  color: rgba(255,255,255, 1);
}

.scrolled a:hover {
  color: rgba(255,0,0, 1);
}

#impressum,
#nav-btm {
  margin-left: auto;
  margin-right: auto;
}

#nav-btm ul {
  list-style-type: none;
  margin: auto;
}

#nav-btm ul img {
  height: 2.75rem;
}


#designBy {
  background-color: rgb(51,51,51);
  color: #fff;
  min-height: 3.75rem;
  width: 100%;
}

#designBy span {
  white-space: nowrap;
}

section a:link,
#designBy a:link {
  color: #fff;
  font-weight: bold;
}

section a:visited,
#designBy a:visited {
   color: rgba(255,255,255, 1);
   text-decoration: none;
}

section a:hover,
#designBy a:hover {
   color: rgba(255,0,0, 1);
   cursor: pointer;
   text-decoration: none;
}

section a:active,
#designBy a:active {
   color: rgba(255,0,0, 1);
   text-decoration: none;
}

section link:focus,
section link:visited:focus,
#designBy link:focus,
#designBy link:visited:focus {
   -moz-outline: 0 dotted WindowText;
}


#menu_anchor-ueberUns,
#menu_anchor-leistungen,
#menu_anchor-datenschutz,
#menu_anchor-impressum {
  margin: -3.75rem 0 0;
  padding: 0;
  position: absolute;
  width: 100%;
  text-align: center;
}


#datenschutz-punkte ul li ul {
  margin: auto;
  padding: 0;
}

.box {
  margin: 0 auto;
  padding: 35px;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1rem;
  padding: 10px;
  color: #fff;
  border: 0px solid rgb(255,255,255);
  border-radius: 2rem;
  text-decoration: none;
  cursor: pointer;
  transition: all .125s linear;
}

.button:hover {
  background-color: rgb(255,255,255);
  border: 0px solid rgb(51,51,51);
  color: rgb(51,51,51);
  transition: all .125s linear;
}

.overlay {
  position: fixed;
  top: 3.75rem;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .7);
  transition: opacity .5s;
  visibility: hidden;
  opacity: 0;
  overflow-y: scroll;
  z-index: 11;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 0 auto;
  padding: 1rem;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  width: 69%;
  position: relative;
  transition: all .5s ease-in-out;
  z-index: 11;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}

.close-toggle {
  color: #fff;
  background: none; width: 60px; height: 3.75rem;
  border-radius: 50%;
  display: block;
  position: fixed; 
  right: 0;
  top: 3.75rem;
  transition: all .5s linear;
  z-index: 11;
}

a.close-toggle {
  transform: scale(0.75);
}

.close-toggle .line {
  background-color: #fff;
}
.close-toggle .line:nth-child(1){
  transform: translateY(12px) rotate(45deg);
}
.close-toggle .line:nth-child(2){
  opacity: 0;
}
.close-toggle .line:nth-child(3){
  transform: translateY(-12px) rotate(-45deg);
}
.close-toggle:hover {
  background-color: #fff;
  transition: all .5s linear;
}
.close-toggle:hover .line {
  background-color: rgb(51,51,51);
  transition: all .5s linear;
}

.popup .content {
  max-height: 100%;
  overflow: auto;
  z-index: 11;
}


#kontakt_aufnehmen {
  text-align: center;
}

#kontakt_aufnehmen h3 {
  color: white;
  margin-bottom: 5rem;
  text-align: center;
}

#kontakt_aufnehmen .button {
  background-color: #ff0f00;
  box-shadow: inset 0 0 0.25rem rgb(0, 0, 0);
  color: white;
  font-weight: bold;
  padding: 1rem;
}

#kontakt_aufnehmen .button:hover {
  background-color: white;
  color: rgb(51,51,51);
}

a[href^="#datenschutz-punkte"].button {
  background-color: #0078ff;
  box-shadow: inset 0 0 0.25rem rgb(0, 0, 0);
}

a[href^="#datenschutz-punkte"].button:hover {
  background-color: white;
  color: rgb(51,51,51);
}


#malerarbeiten,
#fassadenanstriche,
#lackierarbeiten,
#schablonenuebertragung,
#tapezierarbeiten,
#bodenbelagsarbeiten,
#bodenbeschichtungen,
#betonsanierung {
  margin-bottom: 3rem;
  min-height: 69vh;
  text-align: center;
}

#malerarbeiten h3,
#fassadenanstriche h3,
#lackierarbeiten h3,
#schablonenuebertragung h3,
#tapezierarbeiten h3,
#bodenbelagsarbeiten h3,
#bodenbeschichtungen h3,
#betonsanierung h3 {
  padding-top: 4.25rem;
}

#malerarbeiten p,
#fassadenanstriche p,
#lackierarbeiten p,
#schablonenuebertragung p,
#tapezierarbeiten p,
#bodenbelagsarbeiten p,
#bodenbeschichtungen p,
#betonsanierung p {
  text-align: left;
}

.bildlink img {
  border: 2px solid rgba(51,51,51, 0);
  border-radius: 0.333rem;
  display: block;
  padding: 0;
  transition: all .5s linear;
}

.bildlink img:hover {
  border: 2px solid rgba(255,0,0, 1);
  transition: all .5s linear;
  cursor: zoom-in;
}

/* parallax */
.parallax-bgimg-1, .parallax-bgimg-2, .parallax-bgimg-3, .parallax-bgimg-4  {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-repeat:no-repeat;
  background-position:center; 
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  -ms-content-zooming: none;
  min-height: 500px;
}

.parallax-bgimg-1 {
  background-image: url("../bilder/parallax/vikolor-parallax-wandrostoptik-1920x1080.jpg");
  height: 100%;
}

.parallax-bgimg-2 {
  background-image: url("../bilder/parallax/vikolor-parallax-goldoptik-1920x1080.jpg");
  padding-top: 6rem;
}

.parallax-bgimg-3 {
  background-image: url("../bilder/parallax/vikolor-parallax-rostoptik-1920x1080.jpg");
}

.parallax-bgimg-4 {
  background-image: url("../bilder/parallax/vikolor-parallax-mauer-1920x1080.jpg");
}

@media screen and (max-width: 480px){
  .box {
    width: 100%;
  }
  .popup {
    width: 100%;
  }
}