/* ==========================================================================
   # BOF layout.css
   --------------------------------------------------------------------------
   # StyleSheet: Layout
   # Datum: 2019-10-08
   # Version: 1.0.0
   # Autor: Patrick Dietze / Maxi Wilke | MAE Systems GmbH
   ========================================================================== */

/* ==========================================================================
   # Projekt-Info
   --------------------------------------------------------------------------
   # Projekt-Colors
   # Farbe 1: #0000FF   rgb(0, 103, 155)      (hellblau)   (Button, Elemente)
   # Farbe 2: #000087   rgb(0, 123, 134)      (dunkelblau) (Footer,+)
   # Farbe 3: #FBFBFB   rgb(59, 78, 96)       (hellgrau)   (Background)
   # Farbe 4: #4D4A43   rgb(59, 78, 96)       (dunkelgrau) (Schrift)
   # Farbe 5: #ddddff   
   ========================================================================== */

/* ==========================================================================
   Basis-Einstellungen
   ========================================================================== */

/* Justieren der unbekannten Elemente als Block-Elemente */
header, nav, main, footer, section, article, aside, figcaption, figure {
    display: block;
}

/* Standards */
html {
    /* Box-Sizing auf border-box setzen */
    box-sizing: border-box;
    /* Scroll-Balken erzwingen */
    overflow-y: scroll;
    /* Schriftgröße */
    font-size: 1rem;
    line-height: 1.4;
    /* Zoom verhindern beiPortraitwechsel im IE on Windows Phone und in IOS */
    /* -webkit-text-size-adjust: 100%; IOS - nicht benötigt, -> normalize */
    -ms-text-size-adjust: 100%; /* IE */
    
    min-width: 300px;
}

/* Box-Sizing:border-box vererben */
*, *:before, *:after {
    box-sizing: inherit;
}

/* Schrift-Farbe / Schrift-Art / Hintergrund */
html, button, input, select, textarea {
    background-color: #fff;
    color: #4D4A43;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.75;
    font-size: 0.938em;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

h2 {
    font-size: 1.8rem;
}

a.btn {
    display: inline-block;
    background: #0000ff;
    padding: 1rem;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.28);
       -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.28);
            box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.28);
}

.btn:hover {
    background: #000087;
}

a.btn:before {
    font-family: "Font Awesome 5 Free";
    content: "\f061";
    font-weight: 900;
    padding-right: 10px;
    font-size: 0.8rem;
}

.group {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.frame-layout-0 {
   /*
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   */
}

.frame-ueberschrift {
    margin-left: 1rem;
}

/* Verstecken: Visuell und in Screen-Readern */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}
/* ==========================================================================
   Grid
   ========================================================================== */
.column {
    padding-left: 1em;
    padding-right: 1em;
}

/*
.page-row {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}
*/

.row {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}

.sm-100 {
    width: 100%;
}

.col-xs-12,
.col-12 {
    width: 100%;
    padding: 0 1em;
}

.sm-50 {
    width: 50%;
}

@media screen and (min-width: 600px) {
    .md-100 {width: 100%;}
    .md-50 {width: 50%;}
    .md-25 {width: 25%;}
    .md-33 {width: 33.33333%;}
    .md-66 { width: 66.66667%;}
    
    .col-md-6 {width: 50%;}
    .md-40 {width: 40%;}
    .md-60 {width: 60%;}
}

@media screen and (min-width: 960px) {
    .lg-100 {width: 100%;}
    .lg-50 {width: 50%;}
    .lg-25 {width: 25%;}
    .lg-33 {width: 33.33333%;}
    .lg-66 { width: 66.66667%;}
    
    .col-lg-6 {width: 50%;}
    .lg-40 {width: 40%;}
    .lg-60 {width: 60%;}
}


/* ==========================================================================
   Logo & Navigation
   ========================================================================== */
.page-logo-link img {
    display: inline-block;
    max-width: 200px;
}


.container-nav {
    background-color: #ddddff;
    margin: 0;
    padding: 0;
    max-width: none;
    position: sticky;
    top: 0;
    border-bottom: 1px solid #fff;
    z-index: 10;
}

.page-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.page-nav-list {
    list-style: none;
    display: flex;
    padding:0;
    margin: 0;
    display:block;
}

.page-nav ul {
    margin: 0;
    list-style: none; 
    padding: 0; 
}

.nav-item a {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: #404040;
    padding: 2px 0;
    margin: 0 20px;
}

.nav-item a:active,
.nav-item a:hover {
    border-bottom: 3px solid #0000ff;
}

a.nav-show, 
a.nav-hide {
    float: right;
    text-indent: -999em;
}

a.nav-hide {
    display: none;
}

.nav-item {
    display: none;
}

#nav-open:target .nav-item,
#nav-open:target a.nav-hide {
    display: block;
}

#nav-open:target a.nav-show {
    display: none;
}

a.nav-show {
    background-image: url(../Images/Layout/bars-solid-b.svg);
    background-repeat: no-repeat;
    border: none;
    width: 25px;
    height: 25px;
    padding: 0;
    margin: 0;
}

a.nav-show:hover,
a.nav-show:active {
    background-image: url(../Images/Layout/bars-solid-b.svg);
    background-repeat: no-repeat;
}

a.nav-hide {
    display: none;
    background-image:url(../Images/Layout/times-solid-b.svg);
    background-repeat: no-repeat;
    border: none;
    width: 25px;
    height: 25px;
    padding: 0;
    margin: 0;
}




@media screen and (min-width: 915px) {
    .nav-item {
        display:inline;
    }
    
    .nav-show,
    .nav-hide {
        display: none;
    }
}

/* ==========================================================================
   Infoboxen
   ========================================================================== */

.grid-column {
    display: flex;
    flex-direction: column;
}


.frame-infobox {
    background-color: #000087;
    color: #fff;
    flex: 1 1 auto;
    padding: 1rem;
    margin-bottom: 20px;
}

.frame-infobox h2 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0;
}


/* ==========================================================================
   Header
   ========================================================================== */
.teaserwrap {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: #fff;
    
}

.teaserwrap h1 {
    margin: 0;
    text-shadow: 0 0 10px rgba(0,0,0,1);
    line-height: 1.4;
    font-size: 1.5rem;
    
}

@media (min-width: 769px){
    .teaserwrap {
        margin-top: 6rem;
        margin-bottom: 8rem;

    }

    .teaserwrap h1 {
        font-size: 2.5rem;

    }
}


.headerbox {
    background: #000087;
    color: #fff;
    padding: 1rem;
    flex: 2;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28); 
}

.headerwrap {
    flex: 1;
}

.headertextwrap {
    display: flex;
    padding: 0 1rem 1rem 1rem;
}

.headertextwrap p {
    display: flex;
    width: 50%;
    margin: 0;
    padding: 0;
}

.headerbox h2 {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
}

.headerbox > .headerwrap > p {
    text-align: center;
    padding: 0 1rem 1rem 1rem;
}

.headerbox > .headertextwrap p {
    text-align: left;
}



.site-subpage {
    padding: 4rem 0;
}

.page-start {
    padding: 4rem 0 0;
}


/* ==========================================================================
   Über uns
   ========================================================================== */
.ueberuns {
    padding: 4rem 0;
}

.ueberunswrap {
    max-width: 580px;
    margin: 0 auto;
}

.ueberunswrap h2 {
    text-align: center;
}

.ueberunswrap img {
    display: block;
    margin: 0 auto;
    margin-bottom: 6rem;
}

.frame-layout-30 {
    max-width: 620px;
    padding: 0 1rem;
    margin: 0 auto;
}

/* ==========================================================================
   Werkstatt
   ========================================================================== */
.werkstatt {
    display: flex;
    padding: 4rem 0;
    background-color: #ddddff;
    flex-direction: column;
}

.werkstattbox {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    max-width: 950px;
    text-align: center;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28); 
}

.werkstattwrap {
    padding: 3rem;
}

.werkstattbox h2 {
    font-size: 1.7rem;
    margin: 0;
    color: #000087;
}

.werkstattbox img {
    display: block;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.frame-layout-20 {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    padding: 3rem;
    max-width: 854px;
    text-align: center;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28); 
}

.frame-layout-20 h2 {
    font-size: 1.7rem;
    margin: 0;
    color: #000087;
}

.frame-layout-20 img {
    display: block;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
/* ==========================================================================
   Leistungen
   ========================================================================== */
.leistungen {
    background-color: #fbfbfb;
    padding: 4rem 0;
}

.leistungitem {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fff;
    border: 3px solid #0000ff;
    padding: 2rem;
    margin-bottom: 1rem;
}

.leistungitem h2 {
    margin-left: 2rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}


.frame-layout-10 {
    display: flex;
    flex: 1 1 auto;
    background: #fff;
    border: 3px solid #0000ff;
    padding: 2rem;
    margin-bottom: 1rem;
    word-break: break-word;
    min-height: 200px;
}

.frame-layout-10 .ce-textpic {
    display: flex;
    align-items: center;
}

.frame-layout-10 .ce-bodytext {
    margin-left: 2rem;
}

.frame-layout-10 .ce-gallery {
    flex: 0 0 auto;
}

.frame-layout-10 h2 {
    text-transform: uppercase;
    font-size: 0.9rem;
}

.frame-layout-10 .ce-gallery img {
    max-height: 100px;
    max-width: 100px;
}


/* ==========================================================================
   Service
   ========================================================================== */
.service {
    padding: 4rem 0;
}

.servicewrap {
    display: flex;
    flex: 2;
}

.serviceitem {
    display: flex;
    flex: 2;
    min-height: 280px;
    background: #000087;
    color: #fff;
    font-size: 1rem;
    padding: 2rem;
}


.frame-servicebox ul {
    margin: 0;
    padding: 0.8rem;
    list-style: none;
}

.frame-servicebox li {
    margin: 0.5rem;
}

.frame-servicebox li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900; 
    content: "\f054";
    padding-right: 8px;
}


.frame-servicebox {
    background-color: #000087;
    color: #fff;
    flex: 1 1 auto;
    margin-bottom: 20px;
}

.service .ce-gallery {
    margin-bottom: 0;
}

.frame-type-bullets {}

/* ==========================================================================
   Preisübersicht
   ========================================================================== */
.preise {
    max-width: 100%;
    background-color: #ddddff;
    padding: 4rem 0;
}

.preiswrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-basis: calc(1140px * 999 - 100% * 999);
    flex: 1;
    margin: 1rem;
}

.preisitem {
    display: flex;  
    flex: 1;
    flex-direction: column;
    background: #fff;
    padding: 2rem;
    margin: 0 auto;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.28);     
}

.preisitem img {
    max-width: 100px;
    max-height: 100px;
    margin: 0 auto;
    width: auto;
}

.preisitem .preisimage {
    height: 100px;
    display: flex;
    align-items: center;
}

.preisitem a.btn {
    white-space: nowrap;
}

.preiswrap {
    margin-bottom: 20px;
}

.preisitem h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #000087;
}

.preiscontent {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.preisitem .preiscontent p.price {
    font-size: 1.9rem;
    font-weight: bold;
    color: #4d4a43;
    margin: 0 0 1rem;
    line-height: 2.5rem;
}

.preisitem p {
    font-size: 0.9rem;
    margin-top: 0;
}


/* ==========================================================================
   Kontakt
   ========================================================================== */
.kontakt {
    padding: 4rem 0;
}

.kontakt h2 {
    margin-bottom: 0;
}

.formitem {
    display: flex;
    flex: 2;
    flex-direction: column;
}

.formwrap {
    flex: 1;
}

form .actions,
.kontaktform .formsubmit {
    flex: 0 1 100%;
    margin-top: 1rem;
}

form .actions,
.formsubmit {
    display: flex;
    align-items: center;
    justify-content:center;
}

input[type="text"],
input[type="email"],
input[type="tel"]{
    background: #fff;
    border: 1px solid #000087;
    height: 40px;
    
    padding: 0.25rem 0.5rem;
    min-width: 300px;
    width: 100%;
}

textarea {
    flex: 1;
    background: #fff;
    border: 1px solid #000087;
    
    padding: 0.25rem 0.5rem;
    min-width: 300px;
    min-height: 7.7rem;
    width: 100%;
}

form button,
input[type="submit"] {
    display: inline-block;
    min-width: 300px;
    background: #0000ff;
    padding: 1rem;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.28);
       -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.28);
            box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.28);
}

input:hover[type="submit"] {
    background: #000087;
}

form h2 {
    display: none;
}

form fieldset.form-group {
    padding:0;
    margin: 0;
    border:0;
}

form fieldset legend {
    display: none;
}

.help-block {
    display: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Anfahrt
   ========================================================================== */
.anfahrt {
    background-color: #fbfbfb;
    padding: 4rem 0;
}

.anfahrtcontainer {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.anfahrtitem {
    flex: 2;
    flex-direction: column;
}

.anfahrtitem:first-child {
    flex-direction: row;
    background: #fff;
    padding: 2rem;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);      
}

.anfahrtitem h2{
    margin: 0;
}

.socialwarp {
    text-align: center;
}



.fbicon::before {
    font-family: "Font Awesome 5 Brands";
    font-size: 3.5rem;
    color: #000087;
    padding: 2px;
    content: "\f082";
    display: inline-block;
}

.googleicon::before {
    font-family: "Font Awesome 5 Brands";
    font-size: 3.5rem;
    color: #000087;
    padding: 2px;
    content: "\f0d4";
    display: inline-block;
}

.twittericon::before {
    font-family: "Font Awesome 5 Brands";
    font-size: 3.5rem;
    color: #000087;
    padding: 2px;
    content: "\f081";
    display: inline-block;
}


.frame-box {
   flex: 2;
   flex-direction: column;
    background: #fff;
    padding: 0 2rem;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);
            -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.15);    
  margin-bottom: 1rem;
} 
.frame-box p{
    margin: 0;
}

.anfahrt .frame-type-html {
    width: 100%;
    margin-bottom: 1rem;
}

.responsivemap {
    position: relative;
    padding-bottom: 56%;
    height: 0;
    overflow: hidden;
    max-height: 500px;
}
.responsivemap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: #000087; 
    color: #fff;
    font-size: 0.9rem;
    padding: 1rem;
    margin: 0;
}

footer ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
}

footer li a {
   color: #fff; 
   text-decoration: none;
   padding: 0.5rem;
}

footer li a:hover {
   text-decoration: underline; 
}


/* PD */

.grid-row {
    display: flex;
    flex-wrap: wrap;
}

.page-header-top {
    min-height: 300px;
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
@media (min-width: 769px){
    .page-header-top {
      min-height: 450px;
    }
}

.table-responsive {
    width: 100%;
}

.frame-formbox > div {
    margin-left: 1rem;
}