* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    background-color: rgb(252, 255, 210);
    font-family: Arial, sans-serif;
    font-size: 19px;
}
main {
    width: 100%;
    flex-grow: 1;
}
section {
    width: 80%;
    margin: 0 auto;
    background-color: rgb(255, 255, 255);
}

@media (max-width: 850px) {
    section {
        width: 100%;
    }
}

picture {
    text-align: center;
    display: block;
}

.content {
    text-align: center;
    display: block;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

a {
    color: rgb(50, 50, 50);
    text-decoration: none;
    font-size: 19px;
}

a:hover {
    text-decoration: underline;
}

h1 {
    padding-top: 2%;
    padding-bottom: 2%;
    font-weight: bold;
    font-size: 24px;
}

h2 {
    font-weight: bold;
    font-size: 21px;
}

h3 {
    font-weight: bold;
    font-size: 19px;
    padding-bottom: 1%;
}

p {
    color: rgb(0, 0, 0);
    margin-top: 0;
    margin-bottom: 0;
    font-size: 19px;
}


/* Mobile Nav Start */

header {
    max-width: 1920px;
    margin: 0 auto;
    transition: all .5s ease-in-out;
    text-align: center;
}

a:hover {
    opacity: .9;
}

@media (min-width: 550px) {
    .site-nav {
        display: none;
    }
}

.site-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav>ul {
    display: flex;
}

.site-nav>ul>li {
    position: relative;
    margin: .2em;
    flex: 1;
}

.site-nav a {
    display: block;
    padding: 1em;
    text-decoration: none;
    color: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

#menuButton {
    background-color: rgb(50, 50, 50);
    color: rgb(250, 255, 250);
    width: 100%;
    height: 60px;
}

.sub-menu {
    display: none;
}

.sub-menu a {
    background-color: rgb(50, 50, 50);
}

/* Mobile Nav End */



/* Header Start */

.head {
    width: 100%;
}

.headerRed {
    background-color: rgb(226, 56, 42);
    padding: 0.8%;
}
@media (min-width: 1921px) {
    .headerRed {
        padding: 0.4%;
    }
}

.mainHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(255, 255, 255);
}

.iconLeft {
    width: 30%;
    margin: 0px auto;
    font-size: 650%;
    color: rgb(0, 0, 0);
    text-align: center;
}

@media (max-width: 850px) {
    .iconLeft {
        display: none;
    }
}

.iconRight {
    width: 30%;
    text-align: center;
}

@media (max-width: 850px) {
    .iconRight {
        display: none;
    }
}

.iconTop {
    width: 40%;
    text-align: center;
}

@media (max-width: 550px) {
    .iconTop {
        width: 100%;
    }
}

@media (max-width: 850px) {
    .iconTop {
        width: 100%;
        margin: 0px auto;
    }
}

.ueberschrift {
    width: 92%;
    align-items: center;
    vertical-align: bottom;
}
@media (min-width: 1921px) {
    .ueberschrift {
        width: 46%;
    }
}

nav {
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 3%;
    padding-right: 3%;
    font-size: 20px;
}
@media (min-width: 1921px) {
    nav {
    padding-top: 0.4%;
    padding-bottom: 0.4%;
    }
}

nav a {
    color: rgb(0, 0, 0);
}

.navBar {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 550px) {
    .navBar {
        display: none;
    }
}

.hero {
    width: 98%;
    vertical-align: bottom;
}
@media (min-width: 1921px) {
    .hero {
        width: 50%;
    }
}

/* Header End */



/* Footer Start */

footer {
    background-color: rgb(50, 50, 50);
    color: rgb(250, 250, 250);
}

.footerDarkRed {
    background-color: rgb(165, 42, 42);
    padding: 1%;
}
@media (min-width: 1921px) {
    .footerDarkRed {
        padding: 0.4%;
    }
}

footer a {
    color: rgb(250, 250, 250);
}

.footerList {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding-top: 1%;
}
@media (min-width: 1921px) {
    .footerList {
        padding-top: 0.4%;
    }
}

@media (max-width: 550px) {
    .footerList {
        display: block;
    }
}

.footerPart {
    width: 33%;
}

@media (max-width: 550px) {
    .footerPart {
        width: 100%;
        padding-bottom: 5%;
    }
}

.footerList ul {
    list-style-type: none;
    font-size: 16px;
}

.copyright {
    padding: 1%;
    text-align: center;
}
@media (min-width: 1921px) {
    .copyright {
        padding: 0.4%;
    }
}

.footerText {
    border-top: 1px solid rgb(165, 42, 42);
    padding-top: 1%;
    padding-bottom: 1%;
    font-size: 16px;
    color: rgb(250, 255, 250);
}
@media (min-width: 1921px) {
    .footerText {
        padding-top: 0.4%;
        padding-bottom: 0.4%;
    }
}

/* Footer End */



/* BackToTop button Start */

@media (min-width: 850px) {
    #scroll {
        position:fixed;
        right:10px;
        bottom:10px;
        cursor:pointer;
        width:50px;
        height:50px;
        background-color: rgb(165, 42, 42);
        text-indent:-9999px;
        display:none;
        -webkit-border-radius:5px;
        -moz-border-radius:5px;
        border-radius:5px;
    }
    #scroll span {
        position:absolute;
        top:50%;
        left:50%;
        margin-left:-8px;
        margin-top:-12px;
        height:0;
        width:0;
        border:8px solid transparent;
        border-bottom-color:#ffffff
    }
    #scroll:hover {
        background-color:rgb(226, 56, 42);
        opacity:1;
        filter:"alpha(opacity=100)";
        -ms-filter:"alpha(opacity=100)";
    }
}

/* BackToTop button End */



/* Contact button Start */

.contactbutton {
    background-color: rgb(50, 50, 50);
    width: 40px;
    height: 70px;
    position:fixed;
    right:10px;
    bottom:50%;
    text-align: center;
    border-radius:5px;
    padding-top: 10px;
    padding-bottom: 5px;
}
.contactbutton a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}
.contactbutton:hover {
    background-color:rgb(88, 88, 88);
}
.phone:hover a {
    text-decoration: none;
    color: rgb(0, 0, 0);
}
.mail:hover a {
    text-decoration: none;
    color: rgb(0, 0, 0);
}
@media (max-width: 850px) {
    .contactbutton {
        display: none;
    }
}
/* Contact button End */



/* Index start */

.indexList ul {
    list-style-type: none;
}

.indexList li {
    padding-top: 0.3%;
    padding-bottom: 0.3%;
}

.image {
    padding: 2%;
    align-items: center;
    margin: 0px auto;
}

.blockText {
    text-align: justify;
    padding-left: 15%;
    padding-right: 15%;
}

@media (max-width: 850px) {
    .blockText {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 550px) {
    .blockText {
        padding-left: 0%;
        padding-right: 0%;
    }
}

/* Index End */



/* Index Gallery Start */

/* Position the image container (needed to position the left and right arrows) */

.container {
    position: relative;
}
@media (min-width: 1921px) {
    .container {
        width: 50%;
        margin: 0px auto;
    }
}

.frame{
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    width: 70%;
    margin: 0 auto;

    text-align: center;
    padding: 1%;
    margin-top: 1.5%;
    margin-bottom: 2.5%;
    line-height: 1.5;
    box-shadow: 0px 0px 5px 5px rgba(150, 150, 150, 0.2),
    5px 5px 10px 10px rgba(150, 150, 150, 0.3),
    10px 10px 15px 15px rgba(150, 150, 150, 0.1);
}

.frame h2 {
    width: 100%;
    text-align: center;
    /* margin-bottom: 20px; */
}

 /* Hide the images by default */
.mySlides {
    display: none;
 }
  
/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 3px 0 0 3px;
    background-color: rgba(0, 0, 0, 0.8);
}
  
 /* Position the "next button" to the right */
.next {
    right: 0%;
}
@media (max-width: 550px) {
    .next {
        display: none;
    }
}

.prev {
    left: 0%;
}
@media (max-width: 550px) {
    .prev {
        display: none;
    }
}

/* Number text (1/3 etc) */
.numbertext {
    left: 0%;
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
}
@media (max-width: 550px) {
    .numbertext {
        display: none;
    }
}

  /* Container for image text */
  .caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: rgb(255, 255, 255);
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Six columns side by side */
  .column {
    float: left;
    width: 16.66%;
  }
  
  /* Add a transparency effect for thumnbail images */
  .demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }

/* Index Gallery End */



/* Referenzen Start */

/* Slider Start */

.sliderFrame {
    overflow: hidden;
    align-items: center;
    margin: 0px auto;
    height: 350px;
    width: 100%;
    padding-top: 20px;
}

@media (max-width: 850px) {
    .sliderFrame {
        display: none;
    }
}

.sliderImages {
    width: 7200px;
    height: 350px;
    margin: 0 0 0 -7200px;
    position: relative;
    animation-name: slideAnimation;
    animation-duration: 60s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-play-state: running;
}

.imgContainer {
    height: 350px;
    width: 400px;
    position: relative;
    float: right;
}

@keyframes slideAnimation {
    0% {
        left: 1200px;
    }
    3.33% {
        left: 1600px;
    }
    6.67% {
        left: 2000px;
    }
    10% {
        left: 2400px;
    }
    13.33% {
        left: 2800px;
    }
    16.67% {
        left: 3200px;
    }
    20% {
        left: 3600px;
    }
    23.33% {
        left: 4000px;
    }
    26.67% {
        left: 4400px;
    }
    30% {
        left: 4800px;
    }
    33.33% {
        left: 5200px;
    }
    36.67% {
        left: 5600px;
    }
    40% {
        left: 6000px;
    }
    43.33% {
        left: 6400px;
    }
    46.67% {
        left: 6800px;
    }
    50% {
        left: 7200px;
    }
    53.33% {
        left: 6800px;
    }
    56.67% {
        left: 6400px;
    }
    60% {
        left: 6000px;
    }
    63.33% {
        left: 5600px;
    }
    66.67% {
        left: 5200px;
    }
    70% {
        left: 4800px;
    }
    73.33% {
        left: 4400px;
    }
    76.67% {
        left: 4000px;
    }
    80% {
        left: 3600px;
    }
    83.33% {
        left: 3200px;
    }
    86.67% {
        left: 2800px;
    }
    90% {
        left: 2400px;
    }
    93.33% {
        left: 2000px;
    }
    96.67% {
        left: 1600px;
    }
    100% {
        left: 1200px;
    }
}

/* Slider End */



/* Clients Start */

.clients {
    justify-content: space-between;
    color: black;
    width: 70%;
    margin: 0 auto;
}

.clientsContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clientsIcon {
    text-align: center;
}

.clientAuthor {
    font-style: normal;
    font-size: 90%;
    margin-top: 3%;
}

.clientQuote {
    border: 1px solid rgb(207, 207, 207);
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 25px;
    padding-bottom: 25px;
    font-size: 120%;
    font-weight: lighter;
    font-style: italic;
    position: relative;
    margin: 2%;
    width: 80%;
    border-radius: 1%;
}

.clientQuote p {
    margin-bottom: 5px;
    color: rgb(117, 117, 117);
}

.clientQuote::before,
.clientQuote::after {
    content: "";
    display: block;
    width: 0px;
    height: 0;
    position: absolute;
    top: 50%;
}

.clientQuote::before {
    left: -30px;
    margin-top: -15px;
    border: 15px solid transparent;
    border-right: 15px solid rgb(207, 207, 207);
}

.clientQuote::after {
    left: -26px;
    margin-top: -13px;
    border: 13px solid transparent;
    border-right: 13px solid rgb(255, 255, 255);
}

.clientQuoteLeft::before {
    right: -30px;
    left: auto;
    margin-top: -15px;
    border: 15px solid transparent;
    border-left: 15px solid rgb(207, 207, 207);
}

.clientQuoteLeft::after {
    right: -26px;
    left: auto;
    margin-top: -13px;
    border: 13px solid transparent;
    border-left: 13px solid rgb(255, 255, 255);
}

/* Clients End */

/* Referenzen End */


/* Service Start */

.serviceList {
    display: flex;
    justify-content: space-between;
    text-align: left;
    padding: 3%;
    width: 70%;
    margin: 0px auto;
}

@media (max-width: 550px) {
    .serviceList {
        display: block;
        text-align: center;
    }
}

.serviceList ul {
    list-style-type: disc;
    list-style-position: inside;
    font-size: 16px;
}

@media (max-width: 550px) {
    .serviceList ul {
        list-style-type: none;
    }
}

/* Service End */



/* Contact Start */

.contactList {
    display: flex;
    width: 260px;
    margin: 0px auto;
}

.contactIcon {
    width: 40px;
    padding-right: 7%;
    padding-top: 3%;
    padding-bottom: 3%;
}

.contactMethode {
    text-align: left;
    width: 100%;
    padding-top: 3%;
    padding-bottom: 3%;
}

.link {
    color: rgb(0, 0, 155);
}

.mapsContaier {
    background-image: url("../img/maps.jpg");
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    height: 450px;
}

.mapsCookieBanner {
    background-color: rgb(255, 255, 255);
    width: 50%;
    padding: 1%;
    margin: 0px auto;
}

@media (max-width: 550px) {
    .mapsCookieBanner {
        width: 90%;
        height: 350px;
    }
}

.mapsCookieBanner a {
    color: black;
    font-style: normal;
}

.mapsinfo {
    background-color: rgb(200, 200, 200);
    width: 170px;
    margin: 0px auto;
    border-radius: 4px;
    padding: 1%;
    margin-top: 1%;
    margin-bottom: 1%;
}

.mapsAkz {
    background-color: blue;
    width: 100px;
    padding: 1%;
    margin: 0px auto;
    border-radius: 4px;
}

.mapsAkz a {
    color: white;
}

/* Contact End */



/* Impressum Start */

.impressumInhalt {
    padding-bottom: 25px;
}

.impressumInhalt h2 {
    margin-top: 5px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.impressumInhalt h3 {
    margin-top: 5px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.impressumInhalt p,
.impressumInhalt address {
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 5px;
}

/* Impressum End */

/* USE https://www.minifier.org FOR THE .min */
/* Local SVG icons (replaces external Font Awesome CDN without visual layout changes) */
.siteIcon {
    display: inline-block;
    width: 1em;
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
    fill: currentColor;
}
