/* aktuell vom 17.06.*/

@-ms-viewport {  width: device-width;}
@viewport {  width: device-width;}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}

body, html {
  height: 100%;
  /*  background-color: rgba(129,134,118,.1);  */
  font-family: 'Montserrat', arial, sans-serif;
  }

.holder {
  background-color: white ;
  width: 75%;
  max-width: 50rem;
  min-height: 100%;
  margin-top: 0px;
  margin: 0 auto;
  /*  background-color: rgba(255,255,255,.8);*/
  }

header {
  background-color:  ;
  background-image: linear-gradient(rgba(129,134,118,.2) 45% 1px, transparent 0);
  background-size: 5px 5px;
  border-bottom: 10px solid #818676;
  /* dunkelrot: #5F0032;*/
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 0%;
  align-items: baseline;
  }
  .logo {
  width: 300px;
  padding-left: 1em;
  }
  .logotext {
  flex: 1;
  min-width: 53%;
  padding-bottom: -0.1em;
  }

/* ab hier NAV  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
nav {
  margin: 0;
  padding-top: 5px;
  float: left;
  width: 100%;
  background-color: ;
  line-height: 1.9;
  background-image: url("images/navi-bg.jpg");
  background-repeat: repeat-x;
  background-attachment: scroll;
  background-position: left top;
  border-bottom: 0.5px solid #91B000;
  font-family: 'Averia Sans Libre', courier, cursive;
  }
  nav ul {
  list-style-type: none;
  padding: 0px 1em;
  }
  nav li {
  flex: 1;
  float: left;
  }
  nav a {
  font-size: 0.8rem;
  color: #818676;
  display: block;
  padding: 0 1rem;
  font-family: 'Averia Sans Libre', courier, cursive;
  text-decoration: none;
  }
  nav li.sie-sind-hier a {
  color: #89A800;
  font-weight: bolder;
  }
  nav a:hover,
  nav a:focus,
  nav a:active {
  color: #89A800;
  background-color: rgba(0, 0, 0, .05);
  }

/* ab hier INHALT  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

#content {
  background-color: ;
  display: block;
  flex: 1 1 0%;
  padding-bottom: 4em; /* hier gibt es den platz für nav*/
  }

  /* ab hier SCHRIFTEN  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
h1 {
  font-family: 'Averia Sans Libre', cursive;
  padding-top: 1em;
  padding-bottom: .4em;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: #818676;
  }
h2, h3, h4, h5 {
  font-size: 1.3rem;
  font-family: 'Averia Sans Libre', arial, cursive;
  padding:.8em 0 .6em 0;
  color: #818676;
  }
h6 {
  font-size: 1rem;
  font-family: 'Averia Sans Libre', arial, cursive;
  padding:.8em 0 .2em 0;
  color: #818676;
  }
p {
  font-size: 0.8rem;
  color: #818676;
  line-height: 1.5;
  }
em {
  font-size: 0.95rem;
    color: rgba(129, 134, 118, 0.6);
}

/* ab hier STARTSEITE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  */

.text {
  float: left;
  width: 72.5%;
  background-color:  ;
  color: #260f25;
  padding: 0 2.083%;
  }
.seite {
  background-color:  ;
  color: #818676;
  padding: 0 2.083%;
  }
figure {
  padding-top: 2.3em;
  }
figure img {
  display: flex;
  flex-wrap: wrap;
  margin: 1.3em auto;
  max-width: 90px;
  cursor: zoom-in;
  }
  .mobile_referenz {
    display: none;
  }

/* ab hier ÜBER MICH >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  */
.vorstell {
  float: left;
  background-color:  ;
  color: #260f25;
  padding: 0 2.083%;
}
.imgleft {
  float: left;
  margin-top: 10px;
  margin-right: 15px;
  margin-bottom: 10px;
  margin-left: 0px;
  width: 25%;
  min-width: 25vh;
}

/* ab hier LEISTUNGEN >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  */

.leistung, .impressum, .kontakt {
  clear: both;
  padding-top: 0em;
  padding-right: 40px;
  padding-bottom: 2em;
  padding-left: 40px;
  text-align: justify;
  -epub-hyphens: auto;
  hyphens: auto;
  line-height: 1.2em;
  }
.leistung strong, .leistung p{
  font-size: 0.75rem;
  line-height: 1.5;
  }

/* ab hier Formular KONTAKT*/

.formular {
  background-color: ;
  display: block;
}
.formular p {
  font-size: 0.8em;
  margin-bottom: 10px;
  }
form {
  border-top: solid 5px #818676;
  max-width: 100vh;
  padding-top: 0;
  padding-bottom: 0.1em;
  font-size: 0.8em;
  }
form div {
  background-color: ;
  margin-top: 10px;
  margin-right: 30px;
  margin-bottom: 10px;
  margin-left: 30px;
  max-width: 80vh;
  }

label{
  display: block;
  font-size: .8rem;
  cursor: pointer;
  }
input  {

  display: block;
  font-size: 1.1em;
  font-family: 'Averia Sans Libre', cursive;
  padding: 3px 10px;
  cursor: pointer;
  }
#besuchermail, #besuchername, #nachricht {
  width: 70%;
  min-width: 190px;
}

.impressum {
  padding-top: 5em;
}

/* ab hier FOOTER*/
footer {
  background-color: #818676;
  background-image: linear-gradient(rgba(255,255,255,.2) 45% 1px, transparent 0);
  background-size: 5px 5px;
  clear: both;
  height: 4em;
  margin-top: -4em; /* hier rutscht es nach oben*/
  width: 75%;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  border-bottom: solid 3px white;
  }
footer p.adresse {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: .5px;
  color: #818676;
  border-top: solid 0px #818676;
  background-image: url("images/navi-bg.jpg");
  background-repeat: repeat-x;
  padding-top: 8px ;
  padding-bottom: 3px;
  }
footer div p {
  float: left;
  font-size: 0.8em;
  color: white;
  padding-left: 20px;
  margin-top: .6em;
}
footer div a {
  color: white;
  text-decoration: none;
  font-size: 0.7em;
  font-weight:   ;
  float: right;
  margin: .9em 1.5em 0 0;
  }
footer div a:hover {
  color: #ddfe4a;
  }
/* Ende FOOTER*/

/* Button bei großen Viewports ausblenden */
[aria-controls="navi-liste"] {
  display: none;
}
/* ab hier STYLE >>> slider <<< REFERENZ REFERENZ REFERENZ REFERENZ!REFERENZ!REFERENZ!!!!REFERENZ  */
/*
.galerie  {
padding: 0 0em 0 2em ;
}
#container {
display: block;
clear: both;
  background: yellow;
margin: 10px 7em 0 5em;
  }
.slider {
  clear: both;
  float: right;
  background: ;
  display:inline-block;
  text-align: center;
  white-space: nowrap;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
*/
  /*	iOS 9 */
/*
  -webkit-scroll-snap-points-x: repeat(101%);
  -webkit-scroll-snap-type: mandatory;
}
.slider img {
  -webkit-scroll-snap-align: center;
  scroll-snap-align: center;
  max-width:100%; height:auto;
  vertical-align:bottom;
  margin:0 6px 3px 0;
  outline: none !important;
}
.slider img:last-of-type {
  margin:0 0 3px 0;
}
#container:focus-within {outline: 2px dotted #555;}
.swipe {
  margin-top:-2em;
}
.swipe img {
  display:block;
  position: relative;
  top: 2.5em;
  top: clamp(2.5rem, 2vmin + 2rem, 3.5rem);
  left:calc(97% - 32px);
  z-index:1;
}
/*	Scrollbar always visible (not Firefox) */
/*.slider::-webkit-scrollbar {
  -webkit-appearance: none;
  padding-top: 20px;
  width: 6px;
  height:12px;
}
.slider::-webkit-scrollbar-thumb {    border-radius: 12px;    background-color:rgba(129,134,118,.2);  }
.slider::-webkit-scrollbar-corner {    background-color:transparent;  }
*/
/*	ab hier css "zurück"  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */
.zurück {
  background: ;
  margin-top: -38px;
  padding-right: 0;
  float: right;
  }
.zurück a {
  display: block;
  text-align: center;
  color: #818676;
  font-size: .7rem;
  line-height: 1.6;
  text-decoration: none;
  font-family: 'Montserrat', arial, sans-serif;
  width: 65px;
  border: solid 1px rgba(129,134,118,.9);
  border-radius: 20px;
  }
.zurück a:hover {
  background: rgba(129,134,118,.2);
  }
.pfeil:hover {
  background-color: rgba(129,134,118,.2);
  border-radius: 1em;
  }
  /* bis hier STYLE REFERENZ REFERENZ REFERENZ REFERENZ!REFERENZ!REFERENZ!!!!REFERENZ  */
  /* bis hier STYLE REFERENZ REFERENZ REFERENZ REFERENZ!REFERENZ!REFERENZ!!!!REFERENZ  */
  /* bis hier STYLE REFERENZ REFERENZ REFERENZ REFERENZ!REFERENZ!REFERENZ!!!!REFERENZ  */


/* ab hier MOBILE !!!!!!  */
/* ab hier MOBILE !!!!!!  */
/* ab hier MOBILE !!!!!!  */


@media screen and (max-width: 520px) {

  *,
  *::after,
  *::before {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
  }
.holder {
    background-color: ;
    flex-direction: column;
    width: 100%;
    min-height: auto;
    }

header {
  background-color:  ;
  padding: 0;
  border-bottom: 3px solid #818676;
  }
img.logo {
    background-color:  ;
    display: inline-block;
    flex: 1;
    padding: 0 auto;
    margin: -1em 4em -1em 4em;
    width: 150px;
  }
  img.logotext {
  background-color: ;
  margin: 1em 0.5em 0 0.5em ;
  order:-1;
  }

nav {
    background-color: ;
    background-image: none;
    position: relative;
    background-color: rgba(129, 134, 118, 0.5);
    border-bottom: none;
    margin: 0;
    padding-top: 0px;
    }
    nav ul {
    flex-direction: column;
    margin-left: 0;
    padding-left: 0;
    }
    nav li {
    width: 100%;
    flex: 1;
    text-align: center;
    padding-top: -3em;
    border-bottom: 1px solid white;
    }
    nav a {
    background-color:   ;
    font-size: 1rem;
    color: #818676;
    display: block;
    padding: 0.6rem 0;
    }
    nav li.sie-sind-hier a {
    color: white;
    font-weight: bolder;
    }
    nav a:hover,
    nav a:focus,
    nav a:active {
    color: #818676;
    background-color: rgba(129, 134, 118, 0.2);
    }
/* der HAMBURGER  */
    nav button {
    float: right;
    position: absolute;
    top: -1.8rem;
    left: 20px;
    border: 0;
    background: transparent;
    color: #818676;
    font-size: inherit;
    }
/* der HAMBURGER  */

#content {
    background-color: ;
    width: 100%;
    padding: 0 15px;
    margin: 0 0 1.5em 0;
    }

h1 {
  float: left;
  padding-right: 3em;
  line-height: 1.2em;
  text-align: left;
  }
h3, h6  {
  font-size: 1.3rem;
  }
p {
  font-size: 1rem;
  color: #818676;
  line-height: 1.5;
  }

.text {
  float: left;
  width: 100%;
  padding: 0em;
  background-color:  ;
  color: #260f25;
  text-align: justify;
  -epub-hyphens: auto;
  hyphens: auto;
  }
.seite {
  width: 100%;
  padding: 0;
  }
.referenz {
  display: none;
}
.mobile_referenz {
  display: inline-flex;
}
figure {
  clear: both;
  margin: 0px;
  padding: 0em;
  background-color:   ;
  display: inline-flex;
  justify-content: space-between;
  }
figure img {
  background-color:   ;
  padding: 0em 20px;
  margin: 0 ;
  cursor: zoom-in;
  }
 #bild1 ,  #bild2, #bild3 {
   justify-content: space-between;
   width: 100%;
   text-align: center;
   background-color:   ;
   max-width: 100%;
   display: flex;
   padding: 0px;
   cursor: zoom-in;
  }

.vorstell {
  background-color:  ;
  padding: 0em;
  text-align: justify;
  -epub-hyphens: auto;
  hyphens: auto;
  }
.imgleft {
  float: right;
  margin-top: -10px;
  margin-right: -15px;
  margin-left: 10px;
  min-width: 30vh;
  }
.leistung, .impressum, .kontakt {
    clear: both;
    padding: 0em;
    text-align: justify;
    -epub-hyphens: auto;
    hyphens: auto;
    line-height: 1.4em;
    }
 .leistung p strong, .leistung p, {
      font-size: 1.6rem;
      line-height: 1.5;
  }
.leistung h3 {
  background-color: ;
  display: block;
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.2;
}
.leistung em {
  display: block;
  text-align: left;
  color: rgba(129, 134, 118, 0.4);
  font-size: 1.2rem;
    line-height: 1.5;
  padding-top: 0.3em;
}
.leistung strong {
  display: block;
  text-align: left;
  color: rgba(129, 134, 118, 0.75);
  font-size: .9rem;
  line-height: 1.5;
  padding-top: 0.1em;
}
.leistung p {
  display: block;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
  padding-top: 0.1em;
}

.kontakt {

  clear: both;
  margin: 0;
  max-width: 100%;
  padding: 0px 0 2em 0;
}
form {

  border-top: solid 1px #818676;
  max-width: 100%;
  padding: 0;
  margin: 0;
  font-size: 0.8em;
}
form div {

  margin-top: 10px;
  margin-right: 30px;
  margin-bottom: 10px;
  margin-left: 30px;
  max-width: 100vh;
}
.formular p {
  font-size: 1em;
  margin-bottom: 10px;
  max-width: 100vh;
}
#besuchermail, #besuchername, #nachricht {
  width: 100%;

}
.impressum {
  margin:  0;
  min-height: 55vh;
  padding: 4em 0 3em 0;
  margin-top: 0em;
}
.impressum p {
  font-size: .9em;
  margin-bottom: 10px;
  max-width: 100vh;

}

/* ab hier STYLE >>> slider MOBILE<<< REFERENZ REFERENZ REFERENZ REFERENZ!REFERENZ!REFERENZ!!!!REFERENZ  */
/* ab hier STYLE >>> slider MOBILE <<< REFERENZ REFERENZ REFERENZ REFERENZ!REFERENZ!REFERENZ!!!!REFERENZ  */


.galerie {
  background: ;
  padding: 0;
  margin: 0;
  position: relative;
  top: -10px;
  margin: 1em 0;
  width: 100%;
  font-size: 0.63rem;
  margin-bottom: ;
  padding-left: 5px;
  }
.zurück {
  background: white;
  position: absolute;
  top: 24px;
}
.zurück a {
  display: block;
  text-align: center;
  color: #818676;
  font-size: 0.8rem;
  line-height: 1.5;
  text-decoration: none;
  font-family: 'Montserrat', arial, sans-serif;
  width: 65px;
  border: solid 2px rgba(129,134,118,.9);
  border-radius: 8px;
  }
#bildklick {
  background: ;
  display: block;
  clear: both;
  margin: 0em 0px;
  width: 100%;
  }
#image_switch {
  background: ;
  width: 100%;
  margin: 0 auto;
  }


footer {
  width: 100%;
  height: 110px;
  display: block;
  flex-wrap: wrap;
  margin-top: 0em;
  }
  .adresse {
  background-color: white;
  }
  footer div p {
  display: block;
  width: 100%;
  font-size: 0.8em;
  color: white;
  padding-left: 10px;
  margin-top: 0.6em;
  }
  footer div a {
  background-color: ;
  display:block;
  float: left;
  color: white;
  text-decoration: none;
  font-weight: bolder;
  font-size: 0.7em;
  padding-left: 10px;
  margin-top: 1.2em;
  }
  footer div a:hover {
  font-weight: bolder;
  color: #ddfe4a;
  }

/* ein- +  ausblenden der navi-leiste  */

  [aria-controls="navi-liste"] {
    display: block;
  }
  nav ul {
    display: none;
  }
  [aria-expanded="true"]~ul {
    display: block;
  }
  [aria-expanded="false"] .geschlossen {
    display: none;
  }
  [aria-expanded="true"] .geschlossen {
    display: inline-block;
  }
  [aria-expanded="true"] .offen {
    display: none;
  }
}
