@import url("https://use.typekit.net/fom3agf.css");

:root {
  --primary:215, 53%, 22%; /*the base color*/
  --l:100%; /*the initial lightness*/
  --color-primary: hsl(var(--primary));
  --color-primary-darker: hsl(var(--primary),calc(var(--l) - 5%));
  --color-primary-darkest: hsl(var(--primary),calc(var(--l) - 20%));
  --secondary: #707172;
  --font-family-sans-serif: myriad-pro,sans-serif;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}
html {
  height: -webkit-fill-available;
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* Höhe der fixen Navbar */
}

footer {
  text-align: left;
  height: auto;
}

footer a.text-link:before {
  content: "|" !important;
  padding: 0 10px !important;
  position: relative !important;
  background: none !important;
  -webkit-transform: unset !important;
    -moz-transform: unset !important;
    -o-transform: unset !important;
    transform: unset !important;
    color: white;
}
    
footer a.text-link:last-child:after   {
  content: "|" !important;
  padding: 0 10px !important;
  color: white;
}

b, strong {
    font-weight: 600;
}
.font-weight-bold {
    font-weight: 600!important;
}

.bg-primary {
  background-color: var(--color-primary) !important;
}
.text-primary {
  color: var(--color-primary) !important;
}

.border-danger {
  border-color: var(--danger) !important;
}

svg {
  width: 100%;
  height: inherit;
}
.svg-bg-primary {
  fill: var(--color-primary);
}
.svg-bg-danger {
  fill:var(--danger);
}
.svg-bg-white {
  fill:var(--white);
}
.svg-bg-none {
  fill:none;
}

.btn {
  border-radius: 0;
}

a, a:visited {
  color: var(--color-primary);
}

a:active, a:hover {
  color: var(--danger);
}

/* Text */
body {
  font-family: var(--font-family-sans-serif);
  font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1600 - 300)));
  font-weight: 400;
  text-align: center;
  color: var(--secondary);
}

.display-1 {
  font-size: calc(24px + (80 - 24) * ((100vw - 300px) / (1600 - 300)));
  font-weight: 700;
}
.display-2 {
  font-size: calc(24px + (46 - 24) * ((100vw - 300px) / (1600 - 300)));
  font-weight: 700;
  color: var(--color-primary);
}
.display-4 {
  font-size: calc(18px + (36 - 18) * ((100vw - 300px) / (1600 - 300)));
  font-weight: 600;
}

.btn {
  font-size: calc(16px + (22 - 16) * ((100vw - 300px) / (1600 - 300)));
}
.btn-link,
.btn-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

footer, footer a {
  color: white;
}

a:active,
footer a:hover,
footer a.active {
  color: var(--danger);
}


/* Icons */
.icon {
  max-width: 59px;
  max-height: 60px;
  position: absolute;
}

i.icon.arrow-down {
  margin: 0 !important;
  bottom: 10%;
}
.icon.phone {
  top: 10%;
}

.border {
  border: 2px solid var(--danger) !important;
}

.block-phone {
  position: relative;
  margin: 0 auto;
  margin-top: 1.5rem;;
  padding: 1rem;
}

/* Navbar */
.navbar-light .navbar-nav .nav-link {
text-transform: uppercase;
color: var(--color-primary);
}
@media (min-width: 992px) {
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
}
}
.navbar-light .navbar-nav .nav-link.active, 
.navbar-light .navbar-nav .nav-link:focus, 
.navbar-light .navbar-nav .nav-link:hover {
color: var(--danger) !important;
}

/* Header on scroll smaller */
.logo {
 height: 80px;
 -webkit-transition: all 1s ease-in-out;
 -moz-transition: all 1s ease-in-out;
 -ms-transition: all 1s ease-in-out;
 -o-transition: all 1s ease-in-out;
 transition: all 1s ease-in-out;
}
.affix .logo {
height: 60px;
}
.navbar { 
-webkit-transition:padding 0.2s ease;
-moz-transition:padding 0.2s ease; 
-o-transition:padding 0.2s ease;        
transition:padding 0.2s ease;  
}
.affix {
padding-top: 0.2em !important;
padding-bottom: 0.2em !important;
-webkit-transition:padding 0.2s linear;
-moz-transition:padding 0.2s linear;  
-o-transition:padding 0.2s linear;         
transition:padding 0.2s linear;  
}

::target {
  display: block;
  position: relative;
  top: -87px;
  visibility: hidden;
}

.bg-image {
  background-size: cover;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.bg-image:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: var(--color-primary-darkest);
}




.masthead {
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-size: auto 1066px; */
  background-repeat: no-repeat;
  background-position: bottom;
  height: 100vh;
}
.masthead a {
  color:white;
}

/* parallax scrolling effects */
.parallax {
	overflow: hidden;
	width: 100%;
	position: relative;
	clear: both;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.parallax-container {
	z-index: 1;
    overflow: hidden;
}
section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.parallax {
	height: calc(100vh / 2);
}

/* Accordion */
#accordion button {
  position: relative;
  width: 100%;
  text-align: left;
}

[data-toggle="collapse"]:before {
  content: "";
  padding: 1rem;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8"?><svg enable-background="new 0 0 50 50" viewBox="0 0 50 50" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><style type="text/css">.st0{fill:red;}</style><polygon class="st0" points="37.4 18.1 37.4 22.8 25 31.9 12.6 22.9 12.6 18.1 25 27.2"/></svg>') no-repeat center;
  -webkit-transition-duration: 0.8s;
  -moz-transition-duration: 0.8s;
  -o-transition-duration: 0.8s;
  transition-duration: 0.8s;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  -o-transition-property: -o-transform;
  transition-property: transform;
  display: inline-block;
}

[data-toggle="collapse"].collapsed:before {
  content: "";
      -webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg); 
    -o-transform:rotate(90deg);
}

footer [data-toggle="collapse"]:before {
  content: unset;
}

#ImpressumContent a, #ImpressumContent  a:visited,
#DatenschutzContent a, #DatenschutzContent  a:visited {
    color: var(--color-white);
}

#accordion .card {
  border-radius: 0;
}

#accordion .card-header {
  border-bottom: 0;
}

/* Leistungen */
.list-unstyled li {
  margin-bottom: 1rem;
  padding-left: 1.5em;
  position: relative;
  
}
.list-unstyled li:before {
  content: "";
  padding: 1rem;
  position: absolute;
  left: 0;
  top: 2px;
  background: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8"?><svg enable-background="new 0 0 50 50" viewBox="0 0 50 50" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><style type="text/css">.st0{fill:red;}</style><polygon class="st0" points="37.4 18.1 37.4 22.8 25 31.9 12.6 22.9 12.6 18.1 25 27.2"/></svg>') no-repeat center;
        -webkit-transform:rotate(-90deg);
    -moz-transform:rotate(-90deg); 
    -o-transform:rotate(-90deg);

}

section.galerie {
  min-height: auto;
}

/* wir ueber uns */
.logo-leiste {
  max-width: 65%;
}

.square {
  width: 25%;
  padding-bottom: 25%;
  background-size: cover;
  background-position: center;
}

/* Animations */
a:link {
  transition: all ease 1.5s;
}

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* mobile */
/*@media only screen and (min-width: 1200px) {

  header .parallax-container,
  .parallax h4 {
    transform: translateZ(-0.3px) scale(1.5);
  }
}*/
@media only screen and (max-width: 1200px) {
  section {
    min-height:calc(100% / 3);
  }
  header .parallax-container,
  .parallax h4 {
    transform: translateZ(-1px) scale(1);
  }
  
  .masthead {
  	padding-top: 14rem;
	padding-bottom: 10rem;
  }
  
  h5 .btn-link.collapsed {

  }
  
  #accordion button {
  	  white-space: inherit ;
  	  text-align: center;
  }
  
  #accordion .card-header {
	  padding: .75rem 0.25rem;
  }
  
  .list-unstyled li:before {
    top: -3px;
	}
	
	#content .arrow-down {
		display: none;
	}
}

@media only screen and (max-width: 992px) {
  section {
    min-height:calc(100% / 5);
  }
  
  section.parallax {
  	height: calc(100vh / 3);
  }
  
  .icon {
    max-width: 39px;
    max-height: 60px;
  }
  .icon.phone {
    top: 18%;
  }
  .masthead {
    height: 50% !important;
  }
  i.icon.arrow-down {
    bottom: 3%;
  }
  
  header .parallax-container,
   .parallax h4 {
     transform: translateZ(-0px) scale(1);
   }
}

@media only screen and (max-width: 767px) {
  footer .w-25 {
    width: 50% !important;
  }
}

@media only screen and (max-width: 494px) {
  .pl-5 { padding-left: 0 !important; }
  .icon.phone { display: none; }
}
.navbar-toggler {
  border: 0;
}
button.navbar-toggler:focus {
  outline: 0;
}
.navbar-toggler:before {
  background: unset;
  padding: unset;
  position: relative;
}
