/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Typografie */

body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #000;  
  
  
  /* gruen-blau-Verlauf */
	  
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#308e69+0,65b343+16,9ac893+50,6fb3c4+100&1+0,0.75+25,0.6+59,0.63+91 */
  background: #8fbe78; /* Old browsers */

/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#308e69+3,8fbe78+38,9ac893+72,6fb3c4+100&1+0,0.75+25,0.6+59,0.63+91 */
  background: -moz-linear-gradient(-45deg, rgba(48,142,105,1) 0%, rgba(48,142,105,0.97) 3%, rgba(108,172,114,0.75) 25%, rgba(143,190,120,0.69) 38%, rgba(150,196,137,0.6) 59%, rgba(154,200,147,0.61) 72%, rgba(125,186,180,0.63) 91%, rgba(111,179,196,0.63) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(48,142,105,1) 0%,rgba(48,142,105,0.97) 3%,rgba(108,172,114,0.75) 25%,rgba(143,190,120,0.69) 38%,rgba(150,196,137,0.6) 59%,rgba(154,200,147,0.61) 72%,rgba(125,186,180,0.63) 91%,rgba(111,179,196,0.63) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(48,142,105,1) 0%,rgba(48,142,105,0.97) 3%,rgba(108,172,114,0.75) 25%,rgba(143,190,120,0.69) 38%,rgba(150,196,137,0.6) 59%,rgba(154,200,147,0.61) 72%,rgba(125,186,180,0.63) 91%,rgba(111,179,196,0.63) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#308e69', endColorstr='#a16fb3c4',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}

/* 
  Silbentrennung 
  siehe: https://css-tricks.com/almanac/properties/h/hyphenate/
  wichtig ist das lang-Attribut im <html> Tag!!! Auf die Sprache achten!!
*/

body {
-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;

}

h1,
h2,
h3,
strong {
  font-weight: 500;
  margin: 0;
}

h1,
h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 20px;
  letter-spacing: 0.1em;
  padding-left: 10px;  
}



/* Container */

.container {
  width: 90%;
  max-width: 1220px;
  margin: 0 auto;
 
}
.container.wide {
  width: 100%;
  max-width: none;
}

.bg_white {
  background: #fff;
}

#leistungen .bg_white {
	padding-top: 7%;
	padding-bottom: 7%;
/*	background-color:#933;*/
}


h2.container {
  padding: 40px 0;
  text-align: center;
  
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}



/* Style von Links allgemein */

a:hover,
a:focus {
 text-decoration: underline;
}
a:active{
  color:#F36;
}


/* 
  style alle Links deren href mit 'tel' beginnt.
  (Smartphones formatieren Telefonnummern automatisch als Link 
 */
a[href^=tel] {
  color: #000;
}



/* Menü - Nav allgemein */

nav {
  text-align: center;
}

nav a {
  font-size: 20px;
  padding: 10px;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
nav a:hover,
nav a:focus,
nav a:active {
 text-decoration: underline;
 /*border-bottom: 2px solid #000;*/
 color:#b4d16d;
}

nav ul {
  margin: 0 auto;
  padding: 20px;
  list-style: none;
}

nav ul li {
  display: block;
  padding: 20px;
  word-wrap: break-word;
}


/* Menü Sichtbarkeit mobil */
#menu {
  display: none;
}
#menu.open {
  display: block;
}

/* Menü Burger */
#burger {
  position: absolute;
  top: 20px;
  right: 20px;
  margin-left: 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  /* Grafik als Hintergund */
   /*background: fuchsia;*/
  background-image:url(../img/burger.png);
  text-indent: -999em;
}
#burger.active {
  /*background: fuchsia;*/
 /* background-image:url(../img/pfeil.png);*/
}





/* Abstände */

#home-text h1,
#about-text h3 {
  padding-top: 30px
}
#home-text,
#about-text {
  padding-bottom: 10px;
}
#home-text h1,
#home-text p,
#about-text h3,
#about-text p {
  padding-left: 20px;
  padding-right: 20px;
}


/******** Sektions Bilder **********/


/* Home Bilder */


/* About Bilder */
#about-image {
  position: relative;
  height: 500px;
}

#image-1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
/*
  width: 100%;
  height: 460px;
*/
  background: url(../img/grundriss_gruen.png) no-repeat 0 0;
  background-size: cover;
}

#image-2 {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
/*
  width: 100%;
  height: 460px;
*/
  background: url(../img/skizze_gross.png) no-repeat 0 0;
  background-size: cover;
}


/* Sektion Leistungen */

#leistungen_liste li {
 /* list-style-image:url(../img/leistungen_punkt.jpg);*/
  /*list-style:square;*/
 /* display: block;*/
  padding: 10px;
  font-size: 18px;
}


/* 
  Custom Liststyle  
*/

#leistungen ul {
  list-style: none;
	padding: 0;
	margin: 0;
}
#leistungen ul li {
  padding-left: 40px;
  background: url(../img/leistungen_punkt.jpg) no-repeat 15px 15px;
  /* hier wird der grüne Bullet-Punkt eingesetzt -> als Background-image  */
}




  /* Referenzen */
  #referenzen .bg_white {
    padding: 20px 0;
  }
  #referenzen_tabelle {
    margin: 0 20px;
  }
  #referenzen_tabelle td {
    vertical-align: top;
  }
  #referenzen_tabelle td:first-child {
    width: 40%;
  }
  #referenzen_tabelle td:last-child {
    max-width: 960px;
  }
  #referenzen_tabelle tr.ref_start td {
    padding-top: 20px;
  }



/* Sektion Galerie */

/*#galerie {
	overflow:hidden;
	float: left;
	
}*/



#galerie ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#galerie ul li {
  box-sizing: border-box;
  float: left;
  width: 100%;
  margin-bottom: 2%;
}
#galerie ul li img {
  width: 100%;
  height: auto;
}


/* Positionierung der Textboxen */

#galerie ul li {
  position: relative;
}

.text-box {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  
 /* background: rgba(255,255,255,0.6);*/
  background: rgba(255,255,255,0.8);
  
  opacity: 0;
  transition: 300ms opacity;
    
}

li:hover .text-box {
  opacity: 1;
}


.text-box-inner {
  position: absolute;
  top: 50%;
 /* left: 40%;*/
  transform: translate(0,-50%);
 
  /*padding: 0 50px;*/
  padding: 0 40px 0 60px;
  
  overflow:scroll;
}


.text-box-inner p {
	font-size: 14px;
	color:#000;
	text-align:center;
}






/* Sektion Kontakt */

#kontakt {}

#map {
  background: #ccc;
  width: 100%;
 /* height: 300px;*/
  height: 400px;
  margin: 20px auto;
  position: relative;
}
#map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
} 

/*#kontakt-text {
  padding: 20px 20px;
}*/

#kontakt-text {
  padding: 20px 0px;
  padding-left: 11%;
}

/* Footer */

footer {
  display:block;
  width: 98%;
}

footer p {
  float:right;
}

p.impressum-text {
  font-family: 'Quicksand', sans-serif;
  font-size:12px;
  padding-right: 10px;
  padding-bottom: 20px;
}

.impressum-text a {
	color:#000;
}


hr {
  border-top: 1px solid #999;
  margin-left: 1%;
  margin-right: 1%;
}


/* "Super" Behelfs-Breakpoint SPEZIAL!!!1 */

@media only screen and (min-width : 440px) { 

  .visible-mobile {
    display: none;
  }

}


/* Breakpoint Tablet */

@media only screen and (min-width : 768px) { 


.visible-mobile {
  display: none;
}

/* Menü */


#leistungen_liste li {
  padding: 20px;
  /*padding-left: 50px;*/
  font-size: 20px;
}

#leistungen ul li {
/*  padding-left: 30px;
  background: url(../img/leistungen_punkt.jpg) no-repeat 10px 26px;*/
  
  padding-left: 100px;
  background: url(../img/leistungen_punkt.jpg) no-repeat 50px 26px;
  max-width: 900px;
}



/* Typographie */
h2.container {
  padding: 50px 0;
  text-align: center;
  font-size: 30px;
  letter-spacing: 0.1em;
}

#about-text h3 {
	font-size: 20px;
}

#about-text p {
	font-size: 20px;
}

#kontakt-text p {
	font-size: 16px;
}

.text-box-inner p {
	font-size: 20px;
}


  /******** Sektions Bilder **********/

  /* Home Bilder */
  #home {
    position: relative;
    padding-top: 100px;

  }
  #logo {
    position: absolute;
    top: 0;
    right: 10%;
    z-index: 3;
    width: auto;
  }
  #home-text h1,
  #home-text p {
    padding-left: 20%;

  }
  
  /* About positionierung */
  
  #about {
    position: relative;
  }
  
  #about-text {
    padding-left: 50%;
  }
  #about-text h3,
  #about-text p {
    max-width: 420px;
  }
  
  #about-image {
    position: absolute;
    top: 100px;
    right: 50%;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: auto;
  }
  #about-image #image-2 {
  /*  top: 200px;*/
	top: -325px;
  }

  #image-1 {
    background-size: 75% auto;
    background-position: 50% 50%
  }
  
  #image-2 {
    background-size: 75% auto;
    background-position: 50% 50%
  }

  
  /* About weißer Kasten */
  
#about-text {
	padding-bottom: 30px;
	
}  
  

  /* Menüleiste */
  nav {
    text-align: left;
  }
  #menu {
    display: block;
  }
  #menu li {
    display: inline;
  }
  #burger {
    display: none;
  }


	/* Leistungen weißer Kasten */

  #leistungen .bg_white {
  	padding-top: 5%;
  	padding-bottom: 5%;
  	
  }

  /* Referenzen */
  #referenzen .bg_white {
    /*padding: 20px 0;*/
	padding: 40px 0;
  }
  #referenzen_tabelle {
    margin: 0 50px;
  }
  #referenzen_tabelle td {
    vertical-align: top;
  }
  #referenzen_tabelle td:first-child {
    width: 20%;
  }
  #referenzen_tabelle td:last-child {
    max-width: 960px;
  }
  #referenzen_tabelle tr.ref_start td {
    padding-top: 20px;
  }



  /*   Galerie */

  #galerie ul li {
    /*  mobil definierte Breite: 100% hier ändern */
    width: 49.5%;
    margin-right: 1%;
    margin-bottom: 1%;
  }
  #galerie ul li:nth-child(2n) {
    margin-right: 0;
  }
 
  
  /* Kontakt */

#kontakt {}

#map {
  width: 100%;
  height: 500px;
  /*margin: 20px auto;
  position: relative;*/
}


#kontakt-text {
/*padding: 20px 20px;*/
  padding: 20px 0px;
  padding-left: 40%;
}



}







/* Breakpoint Desktop */

@media only screen and (min-width : 1350px) { 



/* Typografie */ /* Typografie Abstände */

 #home-text p {
	font-size: 20px;
    padding-left: 20%;
	padding-right: 25%;
	/*letter-spacing: 0.1em;*/
}
 
  
/* Typographie */
h2.container { 
  font-size: 40px; 
}



/******** Sektions Bilder **********/


/* Home Bilder */
#home-image {
  height: 771px;
  background-size: contain;
}


/* Container */

#home-text.container {
 /* height: 175px; */
  height: 250px;  
  background-color:#fff;
  
}

/* Container Textbox über Galerie Bildern*/

.text-box-inner p {
	font-size: 18px;
	color:#000;
}


/* Kontakt */

#kontakt {}

#map {
  width: 100%;
  height: 600px;
 /* margin: 20px auto;
  position: relative;*/
}


#kontakt-text {
  /*padding: 50px 50px;*/
}








}







/* ==========================================================================
   Helper classes
   ========================================================================== */

.img-responsive {
  max-width: 100%;
  height: auto;
}

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
