/* CSS reset */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

/* Settings */
*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    cursor: default;
    scroll-behavior: smooth;
}

html {
    height: 100%;
}

body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background-color:#000;
}

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

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

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

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

@viewport {
    width: device-width;
}


body {
    margin: 0;
    font-size: 1.4em;
    line-height: 1.6em;
    font-family: 'Lato', sans-serif;
}

strong {
    font-weight: 800;
    padding: 10px 0;
}

blockquote {
    font-size: 1.2em;
    padding: 10px 0;
}

.pageholder {
    position: relative;
    left: 0;
    float: left;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    z-index: 0;
    overflow: hidden;
}

.wrapper {

    left: 0;
    position: relative;
    float: left;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    z-index: 9;
    -webkit-transition: left .4s;
    -moz-transition: left .4s;
    transition: left .4s;
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 1);
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 1);
    -o-box-shadow: 0 0 20px rgba(0, 0, 0, 1);
    -ms-box-shadow: 0 0 20px rgba(0, 0, 0, 1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 1);
    overflow-scrolling: touch;
    -webkit-overflow-scrolling: touch;
}

.content_wrapper {
    position: relative;
    width: 100%;

    margin: 0 auto;
}




h2 {
    font-size: 1.4em;
    line-height: 1.8em;
    font-weight: 600;
    color: #45638a;

}

label a{color:#45638a}



p {
    padding: 10px 0;
}

.header h2 {
    text-align: center;
    float: left;
    width: 100%;
    padding: 20px;
}

.cta {
    padding: 10px;
    border-radius: 0%;
    background-color: #45638a;
    color: #fff;
    font-weight: 700;
    font-size: 1.2em;
    border: 0px;
    margin-top: 5px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
    float: right;
}

.cta:hover {
    background-color: red;
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.4);
    color: #fff;
    transform: translateY(-7px);
}

.cta.reverse {
    background-color: #fff;
    color: #ec6708;
}


.content {
    display: flex;
    height: 100%;
    padding: 40px 0;
    width: 80%;
    margin: 0 auto;
}

.flexed_colum {
    flex-direction: column;
}

.flexed_row {
    flex-direction: row;
}

.half {
    width: 48%;
    height: auto;
    padding: 0 20px 0 20px;
}

.third {
    width: 30%;
    height: auto;
    padding: 0 10px 0 10px;
}

.halfwrap {
    width: 50%;
}

.threequarter {
    width: 75%;
}

.nospace_top {
    padding: 0 0 60px 0;
}




.preisinfo{font-size:25px;font-weight:bold;}

.vita{font-style: italic; }






.input-button {
    float: left;
    width: 18%;
    text-align: center;
    padding: 20px;
    margin: 10px;
    border: 0;
    font-weight: 800;
    background-color: #ec6708;
    color: #fff;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
}

.input-button:hover {
    background-color: #0093A1;
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.4);
    color: #fff;
    transform: translateY(-7px);
}

.abschnitt_text {
    width: 50%;
    float: left;
    padding: 25px;
    align-self: center;
}

figure.abschnitt_figure {
    width: 50%;
    float: left;
    background-size: cover;
    background-position: center center;
    height: 400px;
    opacity: 0;

}

figure.abschnitt_figure img {
    width: 100%;
    padding: 0;
    margin: 0;
    float: left;
    height: 400px;
}

.abschnitt.flexed {
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    padding: 0 0 !important;
}

.abschnitt.flexed .flexcontent {
    position: relative;
    float: left;
    width: 50%;
    padding: 0 .5em;
}

.abschnitt.flexed .flexcontent.boxes {
    padding: 0 !important;
    overflow: hidden;
}

.abschnitt.flexed {
    -webkit-flex-direction: row;
    flex-direction: row;
}

.abschnitt.flexed.reverse {
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.flexholder {
    padding: 25px;
    text-align: center;
}


.video-section {
    max-width: 800px;
    align-self: center;
    width: 100%;
}


/*PROJEKTBASIERENDE CSS*/

figure.logo {
    width: 10%;
    height: auto;
    float: left;
}

figure.logo img {
    width: 100%;
    height: auto;
}

.header {
    position: fixed;
    width: 100%;
    height: auto;
    background-color: #363635;
    padding: 20px;
    z-index: 11;
}

.cbcvital {
    background-image: url(pic/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    color: #222;
}


.cbcheader {
    background-image: url(pic/parallax_1.jpg);
    height: auto;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cbcvital h2 {
    text-align: center;
    float: left;
    width: 100%;
    padding: 20px 0;
}

.cbcvital h1 {
    float: left;
    width: 100%;
    padding-bottom: 20px;
    font-family: 'Zeyada', cursive;
    text-align: center;
    font-size: 3.8em;
    margin-top:50px;
    line-height: 1.2em;
}



h3 {
    font-size: 1.2em;
    color: ##333;
    font-weight: 600;
}


li{padding-left:20px;}

li::before {
    font-family: FontAwesome;
    margin-right: .5em;
    content: "\f061";
    color: #45638a;
    margin-left:-30px;
}

li .lismall{font-size:0.8em;}

ul {
    list-style: none;
    margin-left: 12px;
    padding-right:20px;
}

.subhead {
    font-size: 1.2em;
    font-weight: 600;
}

.sprechblase {
    position: absolute;
    width: 200px;
    left: 100px;
    top: 150px;
}

.sprechblase img {
    width: 100%;
    height: auto;
}

.topspace {
    padding-top: 120px;
}


footer {text-align: center;
background-color: #000;
color: #fff;}

footer a {color: #fff;
cursor: pointer;}



.flex-container {
    display: flex;
    flex-direction: row;
}

.flex-item {
    display: block;
    flex-grow: 1;
    flex-shrink: 1;

    margin: 0 .5em;
}

.fullpic{width:100%;}

.bild-container {
    width: 100%;
    height: auto; /* Passt die Höhe dynamisch an */
    overflow: hidden;
}

.bild-container img {
    width: 100%;
    height: auto; /* Behält das Seitenverhältnis des Bildes bei */
    display: block;
}

.kontaktinfo {text-align:center;width:100%;}



.kontaktinfo a, footer a{text-align:center;padding:10px 20px;color:#2d9c74;font-size: 0.9em; text-decoration: none;cursor: pointer;}

.kontaktinfo a:hover, footer a:hover{color:#fff;}


@media all and (max-width: 1023px) {
    .flex-container {
        flex-wrap: wrap;
    }
}


/*MEDIA QUERIES*/

@media all and (max-width: 1200px) {

    .content .abschnitt.flexed {
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    .abschnitt.flexed.reverse {
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    figure.abschnitt_figure {
        width: 100%;
        height: 300px;
    }

    .abschnitt_text {
        width: 100%;
    }

    .testim .cont div p {
        line-height: 25px;
    }

}

@media all and (max-width: 1300px) {

    figure.logo {
        width: 20%;
        height: auto;
        float: left;
    }

    .sprechblase {
        display: none;
    }
}

@media all and (max-width: 1000px) {

    .content {
        width: 80%
    }

    .input-button {
        width: 100%;
    }
}


@media all and (max-width: 800px) {

    figure.logo {
        width: 30%;
        height: auto;
        float: left;
    }

    .half {
        width: 100%;
    }

    .third {
        width: 100%;
    }


    .threequarter {
        width: 100%;
    }

    .flexed_row {
        flex-direction: column;
    }

    .half:nth-last-of-type(odd) {
        padding-top: 20px;
    }



    .content {
        padding: 20px;
    }

    
.preisinfo{font-size:15px;font-weight:bold;}

.vita{font-style: italic;font-size:1em; }



}

@media all and (max-width: 600px) {

    .cbcvital h2 {
        text-align: left;
    padding: 0;}

    h1 {
        font-size: 1.4em;
        line-height: 1.6em;
        font-weight: 600;

    }

    .topspace {
        padding-top: 160px;
    }

    figure.logo {
        width: auto;
        height: auto;
        max-width: 50%;
        max-height: 100px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding: 5px;
        float: none;
        position: relative;
    }

    .cta {
        width: 100%;
    }

    .content {
        width: 90%
    }


}


@media all and (max-width: 400px) {
    body {
        font-size: 14px;
    }
}