@font-face {
    font-family: 'Komika Title - Paint';
    font-style: normal;
    font-weight: 400;
    src: local('Komika Title - Paint'), url('../fonts/KomikaTitle-Paint.woff') format('woff');
}
/* bitter-regular - latin */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/bitter-v19-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/bitter-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/bitter-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/bitter-v19-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/bitter-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/bitter-v19-latin-regular.svg#Bitter') format('svg'); /* Legacy iOS */
}

/* bitter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/bitter-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    font-family: "Bitter", sans-serif;
    font-style: normal;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    color: #383a2d;
}
img {
    max-width: 100%;
}

header {
    background-color: #fff; 
    height: 75px;
}
header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 75px;
    z-index: 10000;
}
header a.logo {
  float: left;
  padding: 0;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  text-decoration: none;
  color: #98b9c0;
}
header a.logo img {
    max-height: 70px;
}

header nav {
    width: 100%;
    padding: 0px;
}
@media (min-width: 958px) {
    header nav ul {
        list-style-type: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end; /* right */
        margin: 0;
        padding: 10px 20px 10px 0;
    }
    header nav ul.back {
        justify-content: flex-start;    
    }
    header nav ul li {
        padding: 0;
        margin: 0;
    }
    header nav ul li a {
        color: #2E2E2E;
        display: block;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1px;
        padding: 15px 20px;
        text-transform: uppercase;
        text-decoration: none;
        transition: 1.5s;
    }
    header nav ul li a:hover,
    header nav ul li a.active {
        color: #d6361b;
    }
}
@media (max-width: 957px) {
    /*
    * Mobiles Menü, aber nur auf der Startseite, bei den Unterseiten gibt es nur "zurück"
    */
    header.fixed {
        max-height: 115px;
    }
    body.home #menu-opener {
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 15px;
        height: 41px;
        width: 41px;
        background: transparent url(../img/responsive-menu-closed.png) top right no-repeat;
    }
    body.home #menu-opener.active {
        background: transparent url(../img/responsive-menu-open.png) top right no-repeat;       
        z-index: 1000;
        position: fixed;
    }
    body.home header nav {
        background-color: #fff;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
        color: white;
        display: none;
        height: auto;
        list-style-type: none;
        position: absolute;
        left: 0;
        padding: 0;
        margin-top: 75px;
        top: 0px;
        transition: opacity 700ms;
        width: 100%;
        z-index: 1000;
    }
    body.home header nav.active {
         display: block;
    }
    body.home header nav ul {
      color: white;
      padding: 0px;
        list-style-type: none;
        margin: 0px;
    width: 100%;
    }
    body.home header nav ul > li {
        font-weight: 400;
        line-height: 18px;
        padding: 0;
        margin: 0;
        text-transform: uppercase;      
    }
    body.home header nav ul li.active {
        background-color: #E35F0D;
        border-bottom: 2px solid #fff;
    }
    body.home header nav ul li a {
        color: #342D26;
        display: block;
        font-size: 14px;
        font-family: 'Bitter';
        font-weight: 600;
        letter-spacing: 1px;
        padding: 15px 20px;
        text-transform: uppercase;
        text-decoration: none;
        transition: 0.5s;
    }

    body.home header nav ul li.active > a,
    body.home header nav ul li a:hover {
        background-color: #d7e0e2;
    }

    /* Unterseiten */   
    header nav ul.back {
        list-style-type: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;    
        margin: 0;
        padding: 10px 20px 10px 0;
    }
    header nav ul.back li {
        padding: 0;
        margin: 0;
    }
    header nav ul.back li a {
        color: #342D26;
        display: block;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 2px;
        padding: 15px 20px;
        text-transform: uppercase;
        text-decoration: none;
        transition: 1.5s;
    }
    header nav ul.back li a:hover,
    header nav ul.back li a.active {
        background-color: #B79D85;
    }   
}

@media (max-width: 575px) {
    header {
        height: 85px;
    }
    header a.logo img {
        max-height: 80px;
        padding: 5px;
    }
    body.home header nav{
        margin-top: 85px;
    }
    header nav ul.back {
        display: none;  
    }
}

#content a {
    color: #383a2d;
}
#content a:hover {
    text-decoration: none;
}

section#slider {
    padding: 0;
}

section#slider #headerbilder img {
    max-width: 100%;
    width: 100%;
    height: auto;
}
section#slider #headerbilder ul.rslides {
    padding: 0;
    margin: 0;
}

section#idee {
    background-color: #00538e;
    color: #fff;
    padding: 85px 40px 90px 40px;
}
section#idee h2 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    padding-top: 0;
}
section#idee h3 {
    color: #d6361b;
    font-size: 18px;
    font-family: 'Komika Title - Paint';
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 1px;
    margin: 5px 0 5px 0;
}   

section#haus {
    background-color: #fff;
    color: #383a2d;
    padding: 85px 40px 40px 40px;
}
section#haus h2 {
    color: #dca300;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    padding-top: 0;
}
section#haus h3 {
    color: #d6361b;
    font-size: 18px;
    font-family: 'Komika Title - Paint';
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 1px;
    margin: 5px 0 5px 0;
}
section#haus strong {
    color: #dca300;
    font-weight: 600;
}

section#umgebung {
    background-color: #d6361b;
    color: #fff;
    padding: 85px 40px 20px 40px;
}
section#umgebung h2 {
    color: #dca300;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
}
section#umgebung h3 {
    color: #fff;
    font-size: 18px;
    font-family: 'Komika Title - Paint';
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 1px;
    margin: 5px 0 5px 0;
}

section#umgebung a {
    color: #fff;
}

section#umgebung strong {
    color: #dca300;
    font-weight: 600;
}

section#kontakt {
    background-color: #fff;
    color: #2e2e2e;
    padding: 0px 40px 0px 40px;
    border-bottom: 1px solid #ccc;
}
section#kontakt h2 {
    color: #dca300;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
}
section#kontakt p {
    margin-top: 0;
 
}
section#kontakt img {
    display: block;
}

/*
section#kontakt {
    background-color: #fff;
    color: #2e2e2e;
    display: flex;
    flex-direction: column;    
}
section#kontakt h2 {
    color: #dca300;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    padding-top: 0;
}

section#kontakt #moodbild-text {
    min-height: 250px;
    text-align: center;
    width: 100%;
}
section#kontakt #moodbild-text h3 {
    color: #2E2E2E;
    font-size: 26px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    section#kontakt {
        flex-direction: row;
    }
    section#kontakt #moodbild-text {
        order: 0 !important;
        flex: 0 0 auto;
        width: 50%;
        text-align: right;
    }
    section#kontakt #moodbild-text h3 {
        font-size: 40px;
        line-height: 48px;
    }
    section#kontakt #moodbild-bild {
        order: 1 !important;
        flex: 0 0 auto;
        width: 50%;
    }
}

section#kontakt #moodbild-text .inner {
    padding: 0;
    margin: 60px 40px;
    max-width: 80%;
}

section#kontakt #moodbild-bild {
    min-height: 200px;
    overflow: hidden;
}

section#kontakt #moodbild-bild img {
    transition: all 1500ms ease-in-out; 
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
section#kontakt #moodbild-bild img:hover {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);  
    -webkit-filter: brightness(70%);
    filter: brightness(70%);
}

section#kontakt p {
    color: #2E2E2E;
    line-height: 22px;
}
*/

/* Impressum, Datenschutz  */
section#about {
    background-color: #dca300;
    color: #2e2e2e;
    padding: 50px 40px 90px 40px;
}
section#about h2 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    padding-top: 0;
}
section#about h3 {
    color: #383a2d;
    font-size: 24px;
    font-style: italic;
    font-weight: 600;
    line-height: 30px;
    margin: 25px 0 5px 0;
}   

section#about h4 {
    color: #484A3B;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    margin: 15px 0 0 0;
}

div#dialog-message {
    border-radius: 0px 0px 0px 0px;
    box-shadow: 2px 8px 23px 3px rgba(0,0,0,0.2);
    margin: 0px 0px 0px -15px;
    position: fixed;
    height: auto;
    padding: 3px;
    right: 0;
    top: 200px;
    width: 50px;
    z-index: 1000;
}
@media (min-width: 768px) {
    div#dialog-message {
        padding: 0px;
    }
}

div#dialog-message a {
    color: #fff;
    display: block;
    font-size: 16px;
    padding: 8px 10px;
    transition: all .5s;
}

div#dialog-message a.envelope {
    background-color: #d6361b; 
}
div#dialog-message a.phone {
    background-color: #00538e; 
}

div#dialog-message a:hover {
    color: #2E2E2E;
    transform: scale(1.2);  
}
@media (min-width: 768px) {
    div#dialog-message a {
        font-size: 20px;
    }
}


footer {
    background-color: #00538e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 20px;
}

footer a {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}

footer a.top.active {
    bottom: 60px;
    opacity: 1;
}
footer a.top {
    bottom: -60px;
    color: #fff;
    display: block;
    font-size: 20px;
    height: 33px;
    line-height: 50px;
    opacity: 0;
    position: fixed;
    right: -10px;
    text-align: center;
    transition: background-color 0.3s ease 0s, opacity 0.3s ease 0s, bottom 0.3s ease 0s;
    width: 61px;
    z-index: 100;
}
footer a.top:hover {
    border-bottom: none;
}
