* {margin: 0; padding: 0; box-sizing: border-box;}
html {height: 100%;}
body {height: 100%; font-family: 'Indie Flower', sans-serif; background-color: #ffffff;}
/* Silbentrennung Body*/
body {
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; 
    position: -webkit-sticky; /* Safari */
 }

h1, h3 {font-family: 'Open Sans', sans-serif; font-weight: 650; color: #000000;}
a {font-family: 'Dosis', sans-serif; font-weight: 500; color: #6e6e6e; text-decoration: none;}
h2 {font-family: 'Open Sans', sans-serif; font-weight: 500; color: #707c79; text-transform: uppercase;}
h3 {font-size: 40px; padding-top: 50px; margin-bottom: 5px;}
h4, p {font-family: 'Dosis', serif; color: #000000;}
hr {width: 30px; height: 2px; background: #003033; border: 0; margin: 20px auto 20px auto;}
section {max-width: 100%; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px;}
img, a {transition: all 300ms; -webkit-transition: all 300ms; -moz-transition: all 300ms; -o-transition: all 300ms;}

.blink {animation-name: animation_blink; animation-timing-function: ease-in; animation-duration: 2s; animation-iteration-count: infinite;}
@keyframes animation_blink {0% { opacity: 1; } 50% { opacity: 0.1; } 100% { opacity: 1; }}    
.zitat {padding-top: 15px; padding-bottom: 15px; margin-left: 20px;}
.zitat p {font-family: 'Dosis', sans-serif; font-size: 12px; color: #000; font-style: italic; }
.liste_ohne {list-style-type: none;}



/* HEADER ********************************************************************************/

header {
    width: 100%;
    height: 200px;
    background-color: #ffffff;
}

.mitte {
    display: flex;
    justify-content: center;
    align-items: center;
}

 
/* Navigation ********************************************************************************/

nav {
    background-color: #ddd9d9;
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 10px;
    flex-wrap: wrap;
    font-size: 20px;
  }

  nav a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }

  nav a:hover {
    color: #ffffff;
  }

/* Startseitentext ********************************************************************************/

#home {
    background-color: #ffffff;
    
}

#home h1 {
    padding-top: 100px; 
    font-size: 50px;
    text-align: center;
}

#home h2 {
    font-size: 35px;
    font-weight: 700;
    text-align: center;   
}

#home hr {
    margin-bottom: 50px;
}

#home p {
    padding: 0 15% ;
    font-size: 20px;
    text-align: center;
}

#home img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Format der Section ********************************************************************************/

#hausmeister {
    background-color: #ddd9d9;
  }

#hausmeister h2 {
    padding-top: 25px;
    font-size: 35px;
    font-weight: 700;
    text-align: center;
  }

#trockenbau {
    background-color: #ffffff;
  }


#trockenbau h2 {
    padding-top: 25px;
    font-size: 35px;
    font-weight: 700;
    text-align: center;
  }

#montage {
    background-color: #ddd9d9;
  }


#montage h2 {
    padding-top: 25px;
    font-size: 35px;
    font-weight: 700;
    text-align: center;
}

#referenzen {
    background-color: #ffffff;
  }


#referenzen  h2 {
    padding-top: 25px;
    font-size: 35px;
    font-weight: 700;
    text-align: center;
}

.referenzen {
    text-align: center;
    font-size: 20px;
    margin-bottom: 5px;
    padding: 5px;
    
  }

.referenzen img {
    width: 33%;
    height: 300px;
    margin-top: 5px;
    border-radius: 5px;

}

#kontakt {
    background-color: #ddd9d9;
  }


#kontakt h2 {
    padding-top: 25px;
    font-size: 35px;
    font-weight: 700;
    text-align: center;
  }

.service {
    text-align: center;
    font-size: 20px;
    margin-bottom: 5px;
    padding: 5px;
    
  }

.service img {
    width: 100%;
    height: 850px;
    margin-top: 5px;
    border-radius: 5px;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  input, textarea {
    padding: 0.8rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-size: 1rem;
  }

  button {
    background-color: var(--dark-gray);
    color: var(--white);
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  button:hover {
    background-color: var(--gray);
  }

/* FOOTER ********************************************************************************/

footer {
    background-color: #ffffff;
}

footer p {
    font-size: 12px;
    color: #003033;
    float: left;
    padding-top: 20px;
    margin: 10px 0 0 50px;
}

footer ul{
    float: right;
}

#sub-nav {
    margin: 0;
    display: flex;
    list-style: none;
}

#sub-nav li {
    height: 100%;
    padding: 24px;
    border-bottom: 4px;
}
#sub-nav li:hover {
    background-color: #ffffff;
}

#sub-nav li a {
    color: #6e6e6e; 
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
}

/* IMPRESSUM ********************************************************************************/

#impressum {
    background-color: #ffffff;
    padding: 0 20% 0 20%;
}

#impressum h3 {
    text-align: center;
    padding-top: 50px;
}

#impressum hr {
    margin-bottom: 50px;
}

#impressum h4 {
    text-align: left;
    font-size: 25px;
    padding-bottom: 10px;
}

#impressum h5 {
    text-align: left;
    font-size: 20px;
    padding-bottom: 10px;
    font-weight: bold;
    font-family: 'Dosis', sans-serif;
}

#impressum h6 {
    text-align: left;
    font-size: 19px;
    font-style: italic;
    font-family: 'Dosis', sans-serif;
}

#impressum p {
    padding: 10px 0 20px 10px;
    font-size: 17px;
    text-align: justify;   
}

#impressum ul  {
    padding-bottom: 20px;
}

#impressum ul li {
    margin-left: 50px;
    font-family: 'Dosis', sans-serif;
}

#bildernachweis {
    background-color: #ffffff;
    padding: 0 20% 0 20%;
}

#bildernachweis h3 {
    text-align: center;
    margin: 0;
    padding: 0;
    padding-top: 50px;
}

#bildernachweis hr {
    margin-bottom: 50px;
}

#bildernachweis h5 {
    text-align: left;
    font-size: 23px;
    padding-bottom: 10px;
    font-weight: bold;
    font-family: 'Dosis', sans-serif;
}

#bildernachweis p {
    padding: 10px 0 20px 10px;
    font-size: 17px;
    text-align: left;   
}

#agb {
    background-color: #ffffff;
    padding: 0 20% 0 20%;
}

#agb h3 {
    text-align: center;
    padding-top: 50px;
}

#agb hr {
    margin-bottom: 50px;
}

#agb h4 {
    text-align: left;
    font-size: 25px;
    padding-bottom: 10px;
}

#agb p {
    padding: 10px 0 20px 10px;
    font-size: 17px;
    text-align: justify;   
}

#agb ul  {
    padding: 10px 0 20px 10px;
    font-size: 17px;
    text-align: justify;
}

#agb ul li {
    margin-left: 20px;
    padding-bottom: 5px;
    font-family: 'Dosis', sans-serif;
    list-style-type: dezimal;
    color: #003033;
}

#agb ul ul {
    padding-top: 20px;
}

#agb ul ul li {
    list-style: none;
    margin-left: 50px;
    font-family: 'Dosis', sans-serif;
    color: #000;
    font-size: 16px;

}
/* Responsive ********************************************************************************/

@media (max-width: 600px) {
    header h1 {
      font-size: 1.5rem;
    }

    nav {
      flex-direction: column;
      gap: 0.5rem;
    }
  }