/* :root {
  --farbe1: rgba(193, 201, 220, 1);
  --farbe1dunkel: rgba(131, 145, 175, 1);
  --farbe2: rgba(157, 157, 157, 1);
  --farbe2dunkel: rgba(105, 105, 105, 1);

  --grau85: rgba(74, 74, 74, 1);
  --grau75: rgba(99, 99, 99, 1);
  --grau33: rgba(192, 192, 192, 1);
  --grau15: rgba(227, 227, 227, 1);
  --grau10: rgba(237, 237, 237, 1);

  --sw: rgba(0, 0, 0, 1);
  --weiss: rgba(255, 255, 255, 1);
} */


/* :root {
    --farbe1: #c1c9dc;
    --farbe1dunkel: #8391af;
    --farbe2: #9d9d9d;
    --farbe2dunkel: #696969;
    --grau85: #4a4a4a;
    --grau75: #636363;
    --grau33: #c0c0c0;
    --grau15: #e3e3e3;
    --grau10: #ededed;
    --sw: #000000;
    --weiss: #ffffff;
} */


/* Fonts 
font-family: Arial, sans-serif; 

-webkit-    Safari
-moz-       Mozilla
-ms-        Explorer   

Media Queries
@media screen and (max-width:1024px)
@media screen and (min-width:825px)
@media (min-width: 768px) and (max-width: 1023px)  */


/* Allgemein */

html {
    overflow: auto;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    height: auto;
    background-image: url(../img/bgr.png);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1210px;
    overflow: hidden;
}

.container {
    padding: 0 4%;
}

.abstand-o-u {
    margin: 30px 0;
}

.cb-reihe {
    display: flex;
    flex-direction: row;
}

.cb-column {
    display: flex;
    flex-direction: column;
}

p,
ul,
br,
a {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #9d9d9d;
    padding: 0;
    margin: 0;
}

a:hover {
    color: #c1c9dc;
}

h1 {
    font-family: Arial, sans-serif;
    font-weight: 600;
    font-size: 25px;
    text-transform: uppercase;
    color: #c1c9dc;
}

h2 {
    font-family: Arial, sans-serif;
    font-weight: 300;
    font-size: 36px;
    padding: 0 0 5px 0;
    margin: 0;
    text-transform: uppercase;
    color: var(--farbedunkel);
}

h3 {
    font-family: Arial, sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 34px;
    margin: 0;
    padding: 0 0 5px 0;
}

h4 {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    margin: 0;
    padding: 20px 0 5px 0;
    text-transform: uppercase;
}

p,
a {
    /* Silbentrennung */
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

a {
    text-decoration: none;
}


/* Autolinie bei Verlinkung weg - Farbe muss zusätzlich mit "a" in css gesetzt werden */

li {
    margin-left: 12px;
    text-align: left;
}


/* ------------------------------------------------------------------------------------------------------------ */


/* Cookie Grid Style */

.grid-container {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    grid-gap: 0px 5px;
    margin-bottom: 5px;
}


/* .grid-container a[target="_blank"]::before {
    content: none !important;
} */

.grid-item {
    text-align: left;
    padding: 5px 10px;
}

.grid-item p,
.grid-item a {
    margin: 0;
}

.grid-item a {
    text-decoration: underline;
}

.item1-1 p,
.item2-1 p,
.item3-1 p,
.item4-1 p {
    color: #ffffff;
}

.item1-1,
.item2-1,
.item3-1,
.item4-1 {
    background-color: #C1C9DC;
    /* Akzentfarbe */
    font-weight: 600;
}

.item1-2,
.item2-2,
.item3-2,
.item4-2 {
    background-color: #f2f2f2;
    overflow: hidden;
    /* Hintergrundfarbe Tabelle */
}

.item1-1 {
    grid-column: 1 / span 1;
    grid-row: 1;
}

.item1-2 {
    grid-column: 1 / span 1;
    grid-row: 2;
}

.item2-1 {
    grid-column: 2 / span 1;
    grid-row: 1;
}

.item2-2 {
    grid-column: 2 / span 1;
    grid-row: 2;
}

.item3-1 {
    grid-column: 3 / span 1;
    grid-row: 1;
}

.item3-2 {
    grid-column: 3 / span 1;
    grid-row: 2;
}

.item4-1 {
    grid-column: 4 / span 1;
    grid-row: 1;
}

.item4-2 {
    grid-column: 4 / span 1;
    grid-row: 2;
}

@media screen and (max-width:850px) {
    .grid-container {
        grid-template-columns: 50% 50%;
    }
    .item1-1 {
        grid-column: 1 / span 1;
        grid-row: 1;
    }
    .item1-2 {
        grid-column: 1 / span 1;
        grid-row: 2;
    }
    .item2-1 {
        grid-column: 2 / span 1;
        grid-row: 1;
    }
    .item2-2 {
        grid-column: 2 / span 1;
        grid-row: 2;
    }
    .item3-1 {
        grid-column: 1 / span 1;
        grid-row: 3;
    }
    .item3-2 {
        grid-column: 1 / span 1;
        grid-row: 4;
    }
    .item4-1 {
        grid-column: 2 / span 1;
        grid-row: 3;
    }
    .item4-2 {
        grid-column: 2 / span 1;
        grid-row: 4;
    }
}

@media screen and (max-width:500px) {
    .grid-container {
        grid-template-columns: 100%;
        margin-bottom: 15px;
    }
    .item1-1 {
        grid-column: 1 / span 1;
        grid-row: 1;
    }
    .item1-2 {
        grid-column: 1 / span 1;
        grid-row: 2;
    }
    .item2-1 {
        grid-column: 1 / span 1;
        grid-row: 3;
    }
    .item2-2 {
        grid-column: 1 / span 1;
        grid-row: 4;
    }
    .item3-1 {
        grid-column: 1 / span 1;
        grid-row: 5;
    }
    .item3-2 {
        grid-column: 1 / span 1;
        grid-row: 6;
    }
    .item4-1 {
        grid-column: 1 / span 1;
        grid-row: 7;
    }
    .item4-2 {
        grid-column: 1 / span 1;
        grid-row: 8;
    }
}


/* Cookie Grid Style Ende */


/* ------------------------------------------------------------------------------------------------------------ */


/* ------------------------------------------------------------------------------------------------------------ */


/* HEADER */

header p,
header ul,
header br,
header a {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #4d4f4f;
    padding: 0;
    margin: 0;
}

header {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    position: relative;
    height: 150px;
    z-index: 99;
}

.content {
    height: 2000px;
    background-color: #ffffff;
}

.logo {
    width: 30%;
}

.logo img {
    padding: 8px 0;
    width: 100%;
}


/* ------------------------------------------------------------------------------------------------------------ */

main {
    display: flex;
    flex-direction: column;
    margin: 0;
    position: relative;
    box-sizing: border-box;
    background-color: #ffffff;
}


/* Startseite */


/* Slider */

#bd_slider {
    width: 100%;
    height: 440px;
    position: relative;
    overflow: hidden;
}

#cb-slider {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: relative;
}


/* Slider Bilder und Bilder Box */

.bd_image {
    background-position: center;
    background-size: cover;
}

#bd_bild_1 {
    background-image: url(../img/sliderbild01.jpg);
}

.bildtext {
    position: absolute;
    top: 0;
    margin: 10% 110px;
    width: 365px;
    font-family: Arial, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    color: #9d9d9d;
}

#bd_bild_2 {
    background-image: url(../img/sliderbild02.jpg);
}

#bd_bild_3 {
    background-image: url(../img/sliderbild03.jpg);
}


/* ------------------------------------------------------------ */


/* left und right Navigation */

.bd_navi_left {
    position: absolute;
    left: 0;
    bottom: 45%;
    width: 100px;
    height: 100px;
    z-index: 4;
    opacity: 0;
}

.bd_navi_right {
    position: absolute;
    right: 0;
    bottom: 45%;
    width: 100px;
    height: 100px;
    z-index: 4;
    opacity: 0;
}

#cb-slider:hover>.bd_navi_right,
#cb-slider:hover>.bd_navi_left {
    opacity: 0.4;
}

.bd_navi_right:hover::before {
    content: url(../img/next_gr.png);
    background: rgba(255, 255, 255, 1);
    opacity: 1;
}

.bd_navi_left:hover::before {
    content: url(../img/back_gr.png);
    background: rgba(255, 255, 255, 1);
    opacity: 1;
}

.bd_navi_right::before,
.bd_navi_left::before {
    display: block;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    background: rgba(0, 0, 0, 1);
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    transition: 300ms all;
    opacity: 1;
    left: 0;
    z-index: 5;
    /* font-family: 'Font Awesome 5 Free','Font Awesome 5 Brands';
  font-weight: 900;
  font-size: 3em; */
}

.bd_navi_right::before {
    /* content: '\f104';   */
    content: url(../img/next.png);
    padding: 35px;
}

.bd_navi_left::before {
    /* content: '\f105'; */
    content: url(../img/back.png);
    padding: 35px;
}


/* ------------------------------------------------------------- */

.bd_aktive {
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 2;
    display: block;
    opacity: 1;
    animation-name: fadeIn;
    animation-duration: 4s;
}

.aktive {
    z-index: 3;
    animation-name: fadeIn;
    animation-duration: 3s;
}


/* Ladebalken */

#bd_scrollbar {
    z-index: 100;
    height: 5px;
    width: 0;
    position: absolute;
    bottom: 0px;
    background: rgba(255, 255, 255, 0.6);
}


/* ------------------------------------------------------------- */

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Slider ENDE------------------------------------------------------------- */


/* Startbilder */

.starbilder {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.startbild {
    position: relative;
    width: 27%;
    background-color: rgba(0, 0, 0, 1);
}

.startbild img {
    width: 100%;
    vertical-align: middle;
    /* 1px Rand unten weg */
}

.startbildtext {
    opacity: 0;
    position: absolute;
    width: 100%;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #c1c9dc;
}

.startbild:hover img {
    opacity: 0.4;
    transition: all 0.5s ease;
}

.startbild:hover>.startbildtext {
    opacity: 1;
    transition: all 0.5s ease;
}


/* ------------------------------------------------------------------------------------------------------------ */


/* Über uns */

#ueber-uns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
}

.ueber-text {
    display: inline-flex;
    margin: 0;
    padding: 0;
    width: 30%;
}

.ueber-bild {
    display: inline-flex;
    position: relative;
    margin: 0;
    padding: 0;
    width: 65%;
}

.ueber-bild img {
    width: 100%;
    margin: 0 auto auto 0;
}

.ueber-bildzeile {
    display: inline-flex;
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 3px;
}

.ueber-bildzeile p {
    color: #ffffff;
    font-size: 13px;
}


/* ------------------------------------------------------------------------------------------------------------ */


/* Praxis/Galerie - separate css Datei */


/* ------------------------------------------------------------------------------------------------------------ */


/* Leistungen */

.cb-leistungen {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
}


/* Navigation links ------------------------ */

.leistung-nav {
    display: flex;
    flex-direction: column;
    width: 27%;
    background-color: rgba(230, 233, 241, 1.0);
}

.leistung {
    text-transform: uppercase;
    margin: 10px;
}


/* Content Head,Text und Bild ------------------------ */

.leistung-content {
    display: flex;
    flex-direction: column;
    width: 71%;
}

.leistung-head {
    text-align: left;
}

.leistung-head h1 {
    margin: 0 0 10px;
}


/* Text und Bild ------------------------ */

.leistung-text-bild {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
}

.lei-text {
    width: 52%;
    text-align: justify;
}

.lei-bild {
    width: 45%;
    margin-top: 7px;
}

.lei-bild img {
    width: 100%;
}


/* ------------------------------------------------------------------------------------------------------------ */


/* Kontakt */

.cb-kontakt {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
}


/* Öffnungszeiten links ------------------------ */

.oeffzeiten {
    display: flex;
    flex-direction: column;
    width: 25%;
    background-color: rgba(230, 233, 241, 1.0);
    padding: 10px;
}


/* Content - Head,Text und Map ------------------------ */

.kontakt-content {
    display: flex;
    flex-direction: column;
    width: 71%;
}

.kontakt-head {
    text-align: left;
}

.kontakt-head h1 {
    margin: 0 0 25px;
}

.kontakt-text p {
    padding: 0 0 18px;
}


/* 

                                            -----------
                                            GOOGLE MAPS 
                                            -----------

*/

.map {
    padding-top: 30px;
}

.map {
    margin: 0;
    padding: 0;
}

.iframe-placeholder {
    margin: 0;
    position: relative;
    height: 505px;
    width: 100%;
    background: url(../img/maps-holder.png);
    background-position: center;
    background-size: cover;
}

.iframe-placeholder p,
.iframe-placeholder a {
    margin: auto;
    text-align: center;
    font-weight: 200;
    font-size: 1em;
    line-height: 1.6em;
    color: #4d4f4f;
}

.iframe-placeholder a {
    text-decoration: underline;
}

.iframe-placeholder-content {
    width: 80%;
    max-width: 750px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
}

#maps-button {
    display: block;
    margin: auto;
    margin-top: 50px;
    width: 100px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    padding: 5px;
    color: #8391af;
    background: #ffffff;
    border: solid 1px #8391af;
    border-radius: 5px;
    cursor: pointer;
    -webkit-transition: all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

#maps-button:hover {
    background: #8391af;
    color: #ffffff;
    -webkit-transition: all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
}


/* ------------------------------------------------------------------------------------------------------------ */


/* FOOTER */

footer p,
footer ul,
footer br,
footer a {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 19px;
    color: #ffffff;
    padding: 0;
    margin: 0;
}

footer a:hover {
    color: #8391af;
}

footer {
    background-color: #c1c9dc;
}


/* Back to Top Button */

#backtotop {
    text-align: center;
    padding: 20px 0;
}

.backtotopbutton {
    display: inline-flex;
    background-image: url(../img/arrow.svg);
    background-color: rgba(255, 255, 255, 0.1);
    background-repeat: no-repeat;
    width: 4vh;
    height: 4vh;
}

.backtotopbutton:hover {
    background-image: url(../img/arrow_dark.svg);
}


/* ------------------------------------- */


/* Kontakt-Footer */

#kontakt {
    justify-content: space-between;
    padding-bottom: 30px;
}

#kontakt h3 {
    color: #ffffff;
    text-transform: uppercase;
}

.tage,
.uhrsplt1,
.telefon {
    margin-right: 18px;
}

.quicklinks a {
    text-transform: uppercase;
}


/* ------------------------------------------------------------------------------------------------------------ */


/* Impressum */

.impressum-head {
    text-align: center;
}

.impressum-text {
    padding: 0 20%;
}

.impressum-text h3 {
    font-size: 18px;
    line-height: 23.4px;
    font-weight: 600;
    color: #9d9d9d;
    margin-top: 16px;
}


/* ------------------------------------------------------------------------------------------------------------ */


/* @media */

@media screen and (max-width:1040px) {
    .logo {
        width: 90%;
    }
    .logo img {
        padding: 8px 0;
        width: 230px;
    }
}

@media screen and (max-width:930px) {
    .bildtext {
        width: 300px;
        font-size: 18px;
    }
    .cb-kontakt {
        flex-direction: column;
    }
    .oeffzeiten {
        width: auto;
    }
    .kontakt-head {
        margin-top: 15px;
    }
    .kontakt-content {
        width: 100%;
    }
    .impressum-text {
        padding: 0;
    }
}

@media screen and (max-width:800px) {
    .bildtext {
        width: 250px;
        font-size: 16px;
    }
    .bd_navi_left {
        left: 0;
        bottom: 45%;
        width: 60px;
        height: 60px;
    }
    .bd_navi_right {
        right: 0;
        bottom: 45%;
        width: 60px;
        height: 60px;
    }
    .bd_navi_left::before,
    .bd_navi_right::before {
        padding: 18px;
    }
    .starbilder {
        flex-direction: column;
    }
    .startbild {
        width: 100%;
        margin: 2% 0;
    }
    #ueber-uns {
        flex-direction: column;
    }
    .ueber-text {
        width: 100%;
    }
    .ueber-bild {
        width: 100%;
        margin-top: 5%;
    }
    .leistung-nav {
        display: none;
    }
    .leistung-content {
        width: 100%;
    }
    .leistung-text-bild {
        flex-direction: column;
    }
    .lei-text {
        width: 100%;
    }
    .lei-bild {
        width: 100%;
    }
    #kontakt.cb-reihe {
        flex-direction: column;
    }
    #kontakt {
        text-align: center;
    }
    .adresse {
        margin: auto;
    }
    .telnummern {
        margin: auto;
        width: -moz-max-content;
        text-align: left;
    }
    .zeiten h3,
    .quicklinks h3 {
        margin-top: 5%;
    }
}

@media screen and (max-width:680px) {
    .bildtext {
        width: 200px;
        margin: 10% 4%;
    }
}

@media screen and (max-width:370px) {
    .logo img {
        width: 220px;
    }
}