@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/roboto-v29-latin-regular.woff2') format('woff2'), 
       url('../fonts/roboto-v29-latin-regular.woff') format('woff'); 
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('../fonts/roboto-v29-latin-500.woff2') format('woff2'),
       url('../fonts/roboto-v29-latin-500.woff') format('woff');
}
/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/roboto-v29-latin-700.woff2') format('woff2'), 
       url('../fonts/roboto-v29-latin-700.woff') format('woff');
}

html,
body,
input,
textarea {
    color: #707070;
    font: 16px/27px 'Roboto', sans-serif;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.wrapper {
    width: 80%;
    margin: 0 auto;
}

html,
section,
body {
    overflow-y: inherit!important;
}

 * {
      box-sizing: border-box;
}

a {
    color: #1e405f;
    text-decoration: none;
    transition: all 1s ease;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

p {
    margin-bottom: 15px;
}

a:hover,
a:focus,
a,
footer,
section,
article,
div {
    outline: none!important
}

h1 {
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.3;
}

h2 {
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.3;
    color: #1e405f;
}

h3 {
    font-weight: 500;
    font-size: 22px;
    line-height: 1.3;
}

h4 {
    color: #e1b729;
    font-size: 22px;
}


h4,
h5,
h6 {}


/* ==========================================================================
   header
   ========================================================================== */

#home {
    background: url(../images/ueberpruefung-sehstaerke-beim-augenarzt.jpg)no-repeat center center / cover;
    width: 100%;
    height: 90vH;
    background-attachment: fixed;
}

.logo {
    position: fixed;
    left: 5%;
    top: 43px;
    width: 250px;
    z-index: 1000;
}

aside {
    position: fixed;
    top: 500px;
    right: 20px;
    z-index: 100;
}

aside ul li {
    margin-bottom: 25px;
}

aside ul li img {
    width: 58px;
}

.daten {
    position: fixed;
    width: 100%;
    background-color: #f3f3f3;
    top: 0;
    height: 30px;
    z-index: 1000;
}

.daten ul {
    position: absolute;
    right: 5%;
}

.daten ul li {
    display: inline-block;
}

.daten a {
    font-size: 14px;
    color: #868686;
    padding: 7px;
}

.content-header {
    width: 90%;
    margin-left: 5%;
    padding-top: 200px;
    position: relative;
}

.content-header .flex-item:nth-child(1) {
    background: url(../images/augenarzt-dr-med-christos-lakos.jpg)no-repeat center left / cover;
    width: 50%;
    height: 600px;  
    position: relative;
    z-index: 1;
}

.content-header .flex-item:nth-child(2) {
    width: 60%;
    position: absolute;
    right: 0;
    background-color: #1e405f;
    color: #fff;
    top: 280px;
    padding: 10% 7% 9% 17%;
    z-index: 0;
}

.content-header .flex-item:nth-child(2) p {
    margin-bottom: 40px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.content-header .flex-item:nth-child(2) a {
    background-color: #e1b729;
    color: #fff;
    padding: 10px 30px;
    font-weight: 500;
    margin-right: 15px;
}

.content-header .flex-item:nth-child(2) a:hover {
    background-color: #c69900;
}

table {
    width: 100%;
}
table tr:nth-of-type(odd) {
    background: #1e405f;
    color: #FFF;
}
table tr td {
    padding: 10px;
}

/* ==========================================================================
   navi
   ========================================================================== */

nav {
    background-color: #fff;
    position: fixed;
    display: flex;
    width: 100%;
    height: 100px;
    z-index: 100;
    top: 30px;
}

nav ul {
    padding-top: 50px;
    position: absolute;
    right: 5%;
}

nav ul li {
    display: inline-block;
    padding: 0 30px
}

nav ul li:last-child {
    padding-right: 0;
}

nav ul li a {
    font-weight: 700;
    color: #1e405f;
    text-transform: uppercase;
}

nav ul li a:hover {
    color: #e1b729;
}

.sidenav,
.open-menu {
    display: none;
}

/******************************* 
section1
*******************************/

#leistungen {
    padding: 350px 0 150px 0;
    position: relative;
}

.border {
    width: 50px;
    margin-left: calc(50% - 25px);
}

#leistungen .wrapper-two {
    width: 600px;
    margin: 0 auto;
    text-align: center;
    padding-top: 50px;
}
#leistungen .wrapper {
    margin-top: 75px;
}

#leistungen .flex-container {
    justify-content: space-between;
}

#leistungen .flex-item {
    width: 22%;
    height: 350px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

#leistungen .flex-item:nth-child(1),
#leistungen .flex-item:nth-child(2),
#leistungen .flex-item:nth-child(3),
#leistungen .flex-item:nth-child(4) {
    margin-bottom: 50px;
}

#leistungen .flex-item .pic {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s ease;
    -webkit-transition: 1s ease;
    -moz-transition: 1s ease;
    -o-transition: 1s ease;    
}

#leistungen .flex-item:hover .pic { 
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    transition: 1s ease;
    -webkit-transition: 1s ease;
    -moz-transition: 1s ease;
    -o-transition: 1s ease;
}

#leistungen .flex-item p {
    font-size: 19px;
    color: #fff;
    z-index: 100;
    position: relative;
    font-weight: 500;
    text-align: center;
}

#leistungen .flex-item:nth-child(7) {
    border: 8px solid #e1b729;
    position: relative;
    display: block;
}

#leistungen .flex-item:nth-child(7) p {
    font-size: 19px;
    font-weight: 500;
    position: absolute;
    color: #1e405f;
    text-align: left;
    bottom: 5px;
    left: 21px;
    line-height: 1.6;
}

#leistungen .flex-item:nth-child(7) a {
    text-decoration: underline;
}

/******************************* 
section2
*******************************/

.parallax {
    background: url(../images/junge-frau-beim-augenarzt.jpg)no-repeat center center / cover;
    width: 100%;
    height: 450px;
    background-attachment: fixed;
}

.parallax-2 {
    background: url(../images/ueberpruefung-sehstaerke-beim-augenarzt.jpg)no-repeat center center / cover;
    width: 100%;
    height: 450px;
    background-attachment: fixed;
}

/******************************* 
section3
*******************************/

#vorsorge {
    padding: 100px 0;
}

#vorsorge .wrapper-3 {
    width: 60%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
}

.content-termin {
    background: url(../images/hintergrundstruktur.jpg)no-repeat center center / cover;
    width: 100%;
    padding: 50px 0;
    color: #fff;
}

.content-termin .flex-item:nth-child(1) a {
    color: #fff;
    text-decoration: underline;
}

.content-termin .flex-item:nth-child(1) a:hover {
    text-decoration: none;
}

.content-termin .flex-item:nth-child(2) {
    text-align: center;
}

.content-termin .flex-container {
    align-items: center;
}

.btn {
    background-color: #1e405f;
    color: #fff;
    padding: 10px 50px;
    font-weight: 500;
    margin-right: 15px;
}

.btn:hover {
    background-color: #092742;
}

/******************************* 
section4
*******************************/

#kontakt,
#impressum {
    padding: 100px 0;
}

#kontakt strong,
#impressum strong {
    color: #1e405f;
}

.landingpages {
    background: url(../images/hintergrundstruktur.jpg)no-repeat center center / cover;
    width: 100%;
    padding: 50px 5%;
    color: #fff;
    text-align: center;
}

.landingpages ul li {
    display: inline-block;
    padding: 0 15px
}

.landingpages a {
    color: #fff;
    text-decoration: underline;
}

.landingpages a:hover {
    text-decoration: none;
}

#impressum ul {
    margin-left: 20px;
}

#impressum ul li {
    list-style: disc;
}


/* ==========================================================================
   PopUp
   ========================================================================== */

#popup1,
#popup2,
#popup3,
#popup4,
#popup5,
#popup6,
#popup7,
#popup8,
#popup9 {
    transform: scale(0.8)
}

.popup_visible #popup1,
.popup_visible #popup2,
.popup_visible #popup3,
.popup_visible #popup4,
.popup_visible #popup5,
.popup_visible #popup6,
.popup_visible #popup7,
.popup_visible #popup8,
.popup_visible #popup9 {
    transform: scale(1)
}

.popup-style {
    margin: 2rem 0;
    width: 80%;
    min-height: 20px;
    padding: 2rem 1rem;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05)
}

@media (min-width: 576px) {
    .popup-style {
        width: 85%;
    }
}

@media (min-width: 768px) {
    .popup-style {
        width: 70%;
    }
}

.popup-style h4 + p,
.popup-style h4 + table {
    padding-top: 1rem
}

.popup-style a,
#kontakt a,
#impressum a {
    text-decoration: underline;
    font-weight: 500;
}

.popup-style a:hover,
#leistungen .flex-item:nth-child(7) a:hover,
#kontakt a:hover,
#impressum a:hover {
    text-decoration: none;
    color: #e1b729
}

.popup-style ul {
    margin-left: 15px;
}

.popup-style ul li {
    list-style: square;
}

.popup-style img {
    width: 100%;
}

.popup-style .flex-item,
#vorsorge .flex-item,
.content-termin .flex-item,
#kontakt .flex-item,
#impressum .flex-item {
    width: 50%;
}

.popup-style .flex-container .flex-item:nth-child(1),
#vorsorge .flex-item:nth-child(1),
.content-termin .flex-item:nth-child(1),
#kontakt .flex-item:nth-child(1),
#impressum  .flex-item:nth-child(1) {
    padding-right: 25px;
}

.popup-style .flex-container .flex-item:nth-child(2),
#vorsorge .flex-item:nth-child(2),
.content-termin .flex-item:nth-child(2),
#kontakt .flex-item:nth-child(2),
#impressum  .flex-item:nth-child(2) {
    padding-left: 25px;
}

@media only screen and (min-width: 768px) {
    .popup-style {
        padding: 4rem 2rem
    }
}

button {
    margin: 0;
    padding: 0;
    background: none;
    border: none
}

.close-popup {
    transition: all 1s ease;
    cursor: pointer;
    position: fixed;
    top: 0.5rem;
    right: 0.5rem
}

.close-popup i {
    transition: all 1s ease;
    font-size: 2rem;
    color: #1e405f
}

.close-popup:hover i {
    color: #e1b729
}


/******************************* 
acordeon
*******************************/

.acc {
    text-align: left
}

/* acordeon styles */
.tab {
    position: relative;
    margin-bottom: 1px;
    width: 100%;
    color: #fff;
    overflow: hidden;
    background-color: #1e405f;
    margin-bottom: 35px;
}

input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

label {
    position: relative;
    display: block;
    padding: 17px 45px 17px 15px;
    font-weight: bold;
    line-height: 1.3;
    cursor: pointer;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height .35s;
    -o-transition: max-height .35s;
    transition: max-height .35s;
}

.tab span {
    margin-left: 20px
}

.tab-content ul {
    margin: 1em;
}

/* :checked */
input:checked ~ .tab-content {
    max-height: 100em;
    font-size: 14px;
    padding: 0 15px 25px 15px;
}

input:checked ~ .tab-content img {
    width: 100%;
}

/* Icon */
label::after {
    position: absolute;
    right: 15px;
    top: 4px;
    display: block;
    width: 3em;
    height: 3em;
    line-height: 3;
    text-align: center;
    -webkit-transition: all .35s;
    -o-transition: all .35s;
    transition: all .35s;
}

input[type=checkbox] + label::after {
    content: url(../images/pfeil.svg);
    width: 25px;
}

input[type=radio] + label::after {
    content: url(../images/pfeil.svg);
}

input[type=checkbox]:checked + label::after {
    transform: rotate(180deg);
}

input[type=radio]:checked + label::after {
    transform: rotateX(180deg);
}

.tab .italic {
    font-style: italic;
    font-weight: 300;
    margin-left: 0;
}

/* ==========================================================================
   footer
   ========================================================================== */


/******************************* 
textmarkierungen
*******************************/

::selection {
    background: #000;
    color: #fff;
    text-shadow: none
}

::-moz-selection {
    background: #000;
    color: #fff;
    text-shadow: none
}

/* ==========================================================================
   Google Maps und Cookie Hinweis
   ========================================================================== */

.dsa-secure-plugin{border-radius:5px;position:relative}.dsa-secure-plugin .dsa-secure-image{width:100%;height:100%}.dsa-secure-plugin{font-size:12px;line-height:16px}.dsa-secure-plugin .dsa-buttons{width:90%;margin:auto;text-align:center}.dsa-secure-plugin .dsa-buttons a:nth-of-type(2n){margin-top:10px}.dsa-secure-plugin .undercheck{background-color:#fff;color:#222!important;border-radius:5px;padding:4px;margin:8px 50% 16px;width:202px;transform:translateX(-50%)}.dsa-secure-plugin .check-slide-content{position:absolute;top:50%;left:5%;width:90%;margin:auto;-webkit-transform:translateY(100%);transform:translateY(-50%)}.dsa-secure-plugin .dsa-switch{position:relative;width:60px;height:34px;display:block}.dsa-secure-plugin .check-slide{visibility:hidden;opacity:0;transition:visibility 0s,opacity .5s linear}.dsa-secure-plugin .dsa-secure-plugin input{display:none}.dsa-secure-plugin iframe{width:100%}.dsa-secure-plugin .dsa-switch{margin-left:calc(50% - 30px)}.dsa-secure-plugin p,.dsa-secure-plugin p{text-align:center;font-family:'Roboto';padding:10px 0;display:block;margin:auto;font-weight:700}.dsa-secure-plugin .check-slide{position:absolute;top:0;left:0;width:100%;height:100%;color:#000}.dsa-secure-plugin .check-slide.hide{display:none}.dsa-secure-plugin a{font-size:12px;text-align:center;font-family:'Roboto';display:block;margin:auto;width:calc(100% - 20px);max-width:300px;background-color:#e1b729;border-radius:5px;padding:5px 10px;text-decoration:none;color:#fff}.dsa-secure-plugin a:hover{background-color:#1e405f}.dsa-secure-plugin:hover .check-slide,.dsa-secure-plugin .check-slide:hover{visibility:visible;opacity:1;visibility:visible;opacity:1}.dsa-secure-plugin .dsa-tooltip{position:relative;display:inline-block;}.dsa-secure-plugin .dsa-buttons a:hover{color:#fff!important}.dsa-secure-plugin .dsa-tooltip .tooltiptext{font-size:12px;visibility:hidden;width:100%;max-width:300px;background-color:#1e405f;color:#fff;text-align:center;padding:5px 10px;border-radius:6px;position:absolute;z-index:1;bottom:125%;left:0;margin-left:0;opacity:0;transition:opacity .3s}.dsa-secure-plugin .dsa-tooltip .tooltiptext::after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#1e405f transparent transparent}.dsa-secure-plugin .dsa-tooltip:hover .tooltiptext,.dsa-tooltip.active .tooltiptext{visibility:visible;opacity:1}.dsa-secure-plugin .dsa-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#333;-webkit-transition:.4s;transition:.4s}.dsa-secure-plugin .dsa-slider:before{position:absolute;content:"";height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.dsa-secure-plugin input:checked+.dsa-slider{background-color:#e1b729}.dsa-secure-plugin input:focus+.dsa-slider{box-shadow:0 0 1px #e1b729}.dsa-secure-plugin input:checked+.dsa-slider:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px)}.dsa-secure-plugin .dsa-slider.round{border-radius:34px}.dsa-secure-plugin .dsa-slider.round:before{border-radius:50%}.dsa-cookie-notice-close:hover{background-color:#000}.dsa-cookie-notice-close{position:absolute;display:block;height:20px;bottom:40px;width:20px;line-height:20px;right:5px;top:5px;text-decoration:none;color:#fff!important;background-color:#515151}.dsa-cookie-notice{font-family:'Roboto';font-size:12px;display:block;position:fixed;right:7%;bottom:10px;z-index:99999!important;background-color:#f3f3f3;margin:auto;width:300px;text-align:center; color: #868686;}.cookie-inner a{color:#1e405f; font-weight: 600; text-decoration: underline;}.cookie-inner p {margin-bottom: 0;}.dsa-cookie-notice.hide{display:none}.cookie-inner{padding:25px}@media (max-width:900px){.dsa-secure-plugin .check-slide,.dsa-secure-plugin .check-slide{visibility:visible;opacity:1;visibility:visible;opacity:1}}

/* ==========================================================================
   media Queries
   ========================================================================== */

@media screen and (max-width: 1700px){
    .content-header .flex-item:nth-child(2) {
        padding: 13% 7% 13% 18%
    }
    #leistungen .flex-item {
        height: 300px;
    }
}

@media screen and (max-width: 1366px){
    .content-header .flex-item:nth-child(2) {
        padding: 13% 7% 13% 15%;
    }
    .wrapper {
        width: 90%;
    }
    #leistungen .flex-item {
        height: 250px;
    }
    .parallax, .parallax-2 {
        background-attachment: scroll;
    }
}

@media screen and (max-width: 1150px){
    #leistungen .flex-item {
        width: 48%;
        height: 300px;
    }
    #leistungen .flex-item:nth-child(5),
    #leistungen .flex-item:nth-child(6) {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 900px){
    .content-header .flex-item:nth-child(1) {
        width: 100%;
        height: 400px;
        z-index: 1;
    }
    .rslides img {
        height: 400px;
        object-position: left;
    }
    .content-header .flex-item:nth-child(2) {
        padding: 50px 50px 30px 50px;
        width: 100%;
        top: 0;
        position: relative;
    }
    .content-header {
        padding-top: 150px;
    }
    nav ul {
        display: none;
    }
    .open-menu {
        display: block;
        position: fixed;
        top: 55px;
        right: 5%;
        width: 56px;
        height: 50px;
        cursor: pointer;
        z-index: 10000;
        transition: all 1s;
    }
    .open-menu:hover {
        background: #2b6784
    }
    .open-menu img {
        width: 41px;
        height: 31px;
        position: absolute;
        top: 9px;
        left: 7px;
        margin: 0;
    }
    .sidenav {
        display: block;
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 20000;
        top: 0;
        right: 0;
        background: rgba(30, 64, 95, 0.9);
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 15px;
    }
    .sidenav a {
        padding: 17px 0 8px 0;
        text-decoration: none;
        font-size: 17px;
        color: #fff;
        display: block;
        transition: 0.3s;
        font-family: 'Roboto';
        text-transform: uppercase;
        font-weight: 500;
        text-align: center;
    }
    .sidenav a:nth-child(2) {
        margin-top: 70px;
    }
    .sidenav a:hover,
    .offcanvas a:focus {
        color: #e1b729;
    }
    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }
    #leistungen {
        padding: 50px 0 150px 0;
    }
    #vorsorge .wrapper-3 {
        width: 90%;
    }
    #vorsorge .flex-item {
        width: 100%;
    }
    #vorsorge .flex-container .flex-item:nth-child(1) {
        padding-right: 0;
    }
    #vorsorge .flex-container .flex-item:nth-child(2) {
        padding-left: 0;
    }
}
 
@media screen and (max-width: 750px){
    #leistungen .wrapper-two {
        width: 90%;
    }
    #leistungen .flex-item,
    .popup-style .flex-item,
    .content-termin .flex-item,
    #kontakt .flex-item,
    #impressum .flex-item {
        width: 100%;
    }
    #leistungen .flex-item:nth-child(7) {
        margin-bottom: 50px;
    }
    .popup-style .flex-container .flex-item:nth-child(1),
    .content-termin .flex-container .flex-item:nth-child(1),
    #kontakt .flex-container .flex-item:nth-child(1),
    #impressum .flex-container .flex-item:nth-child(1) {
        padding-right: 0;
    }
    .popup-style .flex-container .flex-item:nth-child(2),
     .content-termin .flex-container .flex-item:nth-child(2),
    #kontakt .flex-container .flex-item:nth-child(2),
    #impressum .flex-container .flex-item:nth-child(2) {
        padding-left: 0;
    }
    .content-termin .flex-container .flex-item:nth-child(1) {
        margin-bottom: 25px;
    }
    .dsa-secure-plugin {
        height: 350px!important;
        margin-top: 25px;
    }
    aside {
        top: 300px;
    }
}

@media screen and (max-width: 550px) {
    h1 {
        margin-bottom: 15px;
        font-size: 22px;
    }
    .content-header .flex-item:nth-child(2) {
        padding: 10% 10% 4% 10%;
    }
    .logo {
        top: 52px;
        width: 200px;
    }
    .content-header .flex-item:nth-child(2) a {
        padding: 10px 15px;
        font-size: 14px;
    }
    .dsa-cookie-notice {
        right: 5%;
    }
}
