/* source-sans-3-300 - 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: 'Neutra-Alt';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/NeutrafaceText-LightAlt.woff2') format('woff2'), url('NeutrafaceText-LightAlt.woff') format('woff');
  }

  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Neutra-Alt';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/NeutrafaceText-Book_Alt.woff2') format('woff2'), url('NeutrafaceText-Book_Alt.woff') format('woff');
  }
  
  /* source-sans-3-regular - 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: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-3-v8-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/source-sans-3-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/source-sans-3-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/source-sans-3-v8-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/source-sans-3-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/source-sans-3-v8-latin-regular.svg#SourceSans3') format('svg'); /* Legacy iOS */
  }
  
  /* source-sans-3-500 - 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: 'Source Sans 3';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/source-sans-3-v8-latin-500.eot'); /* IE9 Compat Modes */
    src: url('../fonts/source-sans-3-v8-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/source-sans-3-v8-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/source-sans-3-v8-latin-500.woff') format('woff'), /* Modern Browsers */
         url('../fonts/source-sans-3-v8-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/source-sans-3-v8-latin-500.svg#SourceSans3') format('svg'); /* Legacy iOS */
  }


  
* {
    padding: 0px;
    margin: 0px;
    border-spacing: 0px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

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

img {
    border: none;
}

.hidden {
    display: none;
}

html {
    height: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 10px;
}

body {
    font-family: 'Neutra-Alt', sans-serif;
    font-weight: 200;
    line-height: 170%;
    margin: 0;
    font-size: 2.4rem;
    color: #0b1d26;
    position: relative;
    height: 100%;
    overflow-y: scroll;
    background: #fff;
    font-variant-numeric: oldstyle-nums tabular-nums;
}

a {
    color: #004568;
    text-decoration: none;
    transition: color 0.3s ease-in;
    border: 0;
}

a:hover {
    color: #004568;
}

b, strong {
    font-weight: 500;
}

p {
    margin-bottom: 0.8rem;
}

p.big_gap {
    margin-bottom: 1.3rem;
}

p.small_gap {
    margin-bottom: 0.4rem;
}

p:last-child, p.no_gap {
    margin-bottom: 0;
}

.italic {
    font-style: italic;
}

small, .small {
    font-size: 90%;
}



#wrapper {
    position: relative;
    width: 100%;
    background: #fff;
    max-width: 2560px;
    margin: 0 auto;
    height: auto;
    min-height: 100%;

    padding-bottom: 60rem;
}

#header {
    position: relative;
    width: 100%;
    height: 19rem;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


#header #menu_btn {
    position: absolute;
    left: 4rem;
    top: 8.5rem;
    height: 2rem;
    display: flex;
    align-items: center;
}

#header #menu_btn > div:first-child {
    height: 0.2rem;
    width: 4rem;
    background: #004568;
    margin-right: 2.3rem;
    position: relative;
}

#header #menu_btn > div:first-child::before, #header #menu_btn > div:first-child::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: #004568;
}

#header #menu_btn > div:first-child::before {
    transform: translateY(-1.2rem);
}

#header #menu_btn > div:first-child::after {
    transform: translateY(1.2rem);
}


#header #logo {
    width: auto;
    height: 12.5rem;
    display: block;
    margin-top: 1%;
}

#header #contact {
    position: absolute;
    right: 4rem;
    top: 6.3rem;
    height: 6.4rem;
}

#header #contact > div:first-child {
    position: absolute;
    right: 0;
    top: 0;
    white-space: nowrap;
    line-height: 100%;
}

#header #contact > div:last-child {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 2.2rem;
    display: flex;
}

#header #contact > div:last-child a {
    display: block;
    width: 2.2rem;
    height: 2.2rem;
    margin-left: 1.7rem;
}

#header #contact > div:last-child a img {
    display: block;
    width: 2.2rem;
    height: auto;
}


#slider {
    position: relative;
    width: calc(100% - 8rem);
    margin: 0 auto;
    background: #ddd;
    
}

#slider > div {
    height: 0;
    padding-bottom: 40%;
}

#slider #zahn {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 22rem;
    height: 22rem;
    transform: translate(-50%, 50%);
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#slider #zahn img {
    display: block;
    width: 17rem;
    height: 17rem;
}

#content {
    position: relative;
    width: 1500px;
    max-width: calc(100% - 8rem);
    margin: 0 auto;
    margin-top: 12rem;

}

#content h1 {
    font-size: 4.2rem;
    color: #004568;
    margin-bottom: 2rem;
    line-height: 130%;
    font-weight: 200;
    text-align: left;
}

#content h2 {
    font-size: 3.6rem;
    color: #c5bf00;
    margin-bottom: 1.5rem;
    line-height: 130%;
    font-weight: 500;
    text-align: left;
}

#content h2.small_gap {
    margin-bottom: 0.5rem;
}

#content ul {
    list-style: none;
}

#content ul.list.flatlist {
    display: flex;
    flex-wrap: wrap;
}

#content ul.list.flatlist li {
    width: 25%;
    box-sizing: border-box;
}

#content ul.list li, #content ul.nav li {
    padding-left: 1.8rem;
    position: relative;
    text-align: left;
    line-height: 160%;
    margin-bottom: 1rem;
}

#content ul.list li:before {
    content: '';
    display: block !important;
    position: absolute;
    width: 7px;
    height: 7px;
    left: 0;
    top: 14px;
    border-radius: 50%;
    background: #c5bf00;
}

#content ul.nav li:before {
    content: '';
    display: block !important;
    position: absolute;
    border-left: 8px solid #c5bf00;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    top: 12px;
    left: 0;
}

#content ul.nav li a {
    transition: padding 0.3s ease-out;
}

#content ul.nav li a:hover {
    padding-left: 0.75rem;
}

#content .frontpage {
    display: flex;
    justify-content: space-between;
}

#content .frontpage div:first-child {
    width: calc(100% - 36rem);
}

#content .frontpage div:last-child {
    width: 32rem;
    background: #eef0f3;
}

#content .frontpage div:last-child > div {
    padding: 2rem;
    box-sizing: border-box;
    font-size: 2.2rem;
    line-height: 150%;
}

#content .frontpage div:last-child > div h3 {
    font-weight: 200;
    color:#004568;
    font-size: 2.5rem;
}

.teaser {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.teaser > div {
    width: calc(50% - 2rem);
    background: #eef0f3;
    margin-bottom: 4rem;
    display: flex;
}

.teaser > div img {
    display: block;
    width: 28rem;
    height: auto;
}

.teaser > div > div {
        padding: 2.5rem;
    box-sizing: border-box;
    font-size: 2.2rem;
    line-height: 150%;
}

#content .teaser > div > div h3 {
    font-weight: 200;
    color:#004568;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.teaser > div > div p:last-child {
    margin-top: 2.5rem;
}

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

.gallery > div {
    width: 22.75%;
    margin-right: 3%;
    margin-bottom: 3%;
}

.gallery > div:nth-child(4n) {
    margin-right: 0;
}

.gallery > div > a {
    display: block;
    height: 0;
    padding-bottom: 66.666%;
    overflow: hidden;
    position: relative;
}


.gallery > div > a img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-out;
}

.gallery > div > a:hover img {
    transform: scale(1.15);
}

.gallery > div > a > span {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.gallery > div > a > span:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #00719b;
    opacity: 0;
    transition: all 0.2s ease-in;
}

.gallery > div > a:hover > span:before {
    opacity: 0.8;   
}

.gallery > div > a > span:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url(../images/icon_lupe.svg) center center no-repeat;
    background-size: 20% auto;
    opacity: 0;
    transform: translateX(3.5%);
    transition: all 0.3s ease-out;
    z-index: 3;
}

.gallery > div > a:hover > span:after {
    transform: translateX(0);
    opacity: 1;
}


.fancybox-bg { background: #000 !important; }



.kontakt {
    display: flex;
    position: relative;
}

.kontakt > div:first-child {
    padding-right: 12rem;
    white-space: nowrap;
}

.kontakt > div:last-child {
    position: relative;
    width: 100%;
}

.kontakt > div:last-child div:first-child {
    position: absolute;
    left: 0;
    right: 0;
    top: 1.3rem;
    bottom: 5rem;
    background: url(/images/kontakt/karte.jpg) center center;
    background-size: cover;
}

.kontakt > div:last-child div:last-child {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4rem;
    line-height: 4rem;
    text-align: center;
    font-size: 1.6rem;
}

input, textarea, button#bfSubmitButton {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 2rem;
    border: 1px solid #004568;
    color: #004568;
    padding: 0.2rem 0.8rem;
    outline: none;
    box-sizing: border-box;
}

input:hover, textarea:hover, input:focus, textarea:focus {
    border: 1px solid #c5bf00;    
}

button#bfSubmitButton, input.gr_button {
    margin-top: 1.2rem;
    border: none;
    color: #fff;
    background: #c5bf00;
    cursor: pointer;
}

button#bfSubmitButton {
    margin-top: 0;
}

button#bfSubmitButton:hover, input.gr_button:hover {
    background: #004568;
}

#bfElemWrap25 {
    position: relative;
}

#bfElemWrap25 label {
    padding-left: 2.6rem;
}

#bfElemWrap25 input {
    position: absolute;
    left: 0;
    top: 1rem;
    visibility: hidden;
    -moz-appearance: initial;
    cursor: pointer;
}

#bfElemWrap25 input:before {
    content: '';
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    border: 1px solid #004568;
    width: 14px;
    height: 14px;
    visibility: visible;
}

#bfElemWrap25 input:checked:after {
    content: '';
    position: absolute;
    display: block;
    left: 4px;
    top: 4px;
    background: #c5bf00;
    width: 8px;
    height: 8px;
    visibility: visible;
}


input, .ccforms button, textarea {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 2rem;
    border: 1px solid #004568;
    color: #004568;
    padding: 0.2rem 0.8rem;
    outline: none;
    box-sizing: border-box;
}

.ccforms input, .ccforms textarea {
    width: 100%;
}


input:hover, textarea:hover, input:focus, textarea:focus {
    border: 1px solid #c5bf00;    
}

button {
    cursor: pointer;
}

.ccforms button, input.gr_button {
    margin-top: 1.2rem;
    border: none;
    color: #fff;
    background: #c5bf00;
    cursor: pointer;
}

.ccforms button {
    margin-top: 1rem;
}

.ccforms button:hover, input.gr_button:hover {
    background: #004568;
}


label {
    display: block;
    margin-bottom: 0.5rem;
}

.ccforms .row {
    margin-bottom: 2.25rem;
}


textarea {
    height: 30rem;
}


.ccforms_datenschutz label {
    padding-left: 2.6rem;
    box-sizing: border-box;
    position: relative;
}

.ccforms_datenschutz input {
    position: absolute;
    left: 0;
    top: 1rem;
    visibility: hidden;
    -moz-appearance: initial;
    cursor: pointer;
}

.ccforms_datenschutz input:before {
    content: '';
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    border: 1px solid #004568;
    width: 1.4rem;
    height: 1.4rem;
    visibility: visible;
}

.ccforms_datenschutz input:checked:after {
    content: '';
    position: absolute;
    display: block;
    left: 0.4rem;
    top: 0.4rem;
    background: #c5bf00;
    width: 0.8rem;
    height: 0.8rem;
    visibility: visible;
}


#parallax {
    height: 0;
    padding-bottom: 40%;
    background-size: cover;
    position: relative;
    margin-top: 15rem;
}

#parallax {
    background-image: url(/images/modul/ziel.jpg);
}



#parallax > div {
    position: absolute;
    right: 15rem;
    bottom: 10rem;
    font-size: 6rem;
    background: rgba(0,113,155,0.8);
    color: #fff;
    z-index: 99999;
    line-height: 130%;
    padding: 2.5rem 4rem;
    text-align: center;
    border-radius: 5rem;
}

#praxisspektrum {
    width: 116rem;
    margin: 20rem auto 0;
    position: relative;
}

#praxisspektrum h2 {
    text-align: center;
    font-size: 10rem;
    margin-bottom: 15rem;
    color: #c5bf00;
    font-weight: 300;
}

#praxisspektrum ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin-top: 8rem;
    position: relative;
}

#praxisspektrum ul:before {
    content: '';
    position: absolute;
    left: 5%;
    right: 5%;
    top: 5%;
    bottom: 5%;
    background: url(../images/spektrum_bg.svg) center center no-repeat;
    background-size: contain;
    display: block;
    animation: breathing 7.5s infinite;
    opacity: 0.3;
}

#praxisspektrum ul:after {
    content: '';
    position: absolute;
    left: 22%;
    right: 22%;
    top: 22%;
    bottom: 22%;
    background: url(../images/spektrum_bg.svg) center center no-repeat;
    background-size: contain;
    display: block;
    animation: breathing 4.5s infinite;
    z-index: 1;
    /* filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(6%) hue-rotate(126deg) brightness(102%) contrast(102%); */
    opacity: 0.5;
}

@keyframes breathing {
    0% {
      transform: scale(1);
      
      animation-timing-function: ease-in;
    }
  
    50% {
      transform: scale(0.8);
      
      animation-timing-function: ease-out;
    }
  
    100% {
      transform: scale(1);
      
      animation-timing-function: ease-in;
    }
  }

#praxisspektrum ul:hover:before {
    transform: scale(0.1);
}

#praxisspektrum ul li {
    width: 30%;
    margin-bottom: 5%;
    position: relative;
    /* border-radius: 3rem; */
    overflow: hidden;
    z-index: 2;
}

#praxisspektrum ul li:nth-child(1), #praxisspektrum ul li:nth-child(6) {
    margin-left: 17.5%;
}

#praxisspektrum ul li:nth-child(2), #praxisspektrum ul li:nth-child(7) {
    margin-left: 5%;
    margin-right: 17.5%;
}

#praxisspektrum ul li:nth-child(4), #praxisspektrum ul li:nth-child(5) {
    margin-left: 5%;
}

#praxisspektrum ul li:nth-child(6), #praxisspektrum ul li:nth-child(7) {
    margin-bottom: 0;
}

#praxisspektrum ul li a {
    display: block;
    width: 100%;
    border: 2px solid #fff;
    box-sizing: border-box;
}

#praxisspektrum ul li a > span:first-child {
    display: block;
    width: 100%;
    height: 0;
    background: #eee;
    padding-bottom: 54%;
    position: relative;
    overflow: hidden;
}

#praxisspektrum ul li a > span:first-child:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-size: cover;
    transition: transform 0.3s ease-out;
    display: block;
}

#praxisspektrum ul li a.ps_neurologie > span:first-child:before {
    background-image: url(/images/modul/neurologie.jpg);
}

#praxisspektrum ul li a.ps_psychiatrie > span:first-child:before {
    background-image: url(/images/modul/psychiatrie.jpg);
}

#praxisspektrum ul li a.ps_chirurgie > span:first-child:before {
    background-image: url(/images/modul/chirurgie.jpg);
}

#praxisspektrum ul li a.ps_paediatrie > span:first-child:before {
    background-image: url(/images/modul/paediatrie.jpg);
}

#praxisspektrum ul li a.ps_geriatrie > span:first-child:before {
    background-image: url(/images/modul/geriatrie.jpg);
}

#praxisspektrum ul li a.ps_rheumatologie > span:first-child:before {
    background-image: url(/images/modul/rheumatologie.jpg);
}

#praxisspektrum ul li a.ps_handtherapie > span:first-child:before {
    background-image: url(/images/modul/handtherapie.jpg);
}

#praxisspektrum ul li a:hover > span:first-child:before {
    transform: scale(1.15);
}

#praxisspektrum ul li a > span:last-child {
    display: block;
    width: 100%;
    height: 4.8rem;
    line-height: 4.8rem;
    text-align: center;
    color: #fff;
    background: #00719b;
    font-size: 2.5rem;
    border-top: 2px solid #fff;
}

#praxisspektrum ul li a:hover > span:last-child {
    background: #005883;
}

#footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 40rem;
    background: #005883;
    color: #fff;
}

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

.footer1 {
    position: absolute;
    left: 0;
    right: 0;
    top: 3rem;
    bottom: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer1 > div {
    width: 1160px;
    height: 27rem;
    display: flex;
    align-items: center;
}

.footer1 > div > div:first-child, .footer1 > div > div:last-child {
    width: 30%;
    text-align: center;
    font-size: 2.5rem;
}

.footer1 > div > div:nth-child(2) {
    width: 40%;
}

.footer1 > div > div:nth-child(2) img {
    display: block;
    height: 27rem;
    width: auto;
    margin: 0 auto;
}

.footer2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7rem;
    line-height: 7rem;
    text-align: center;
}


@media(max-width: 1920px) {

    #parallax > div {
        right: 7.813vw;
        bottom: 5.208vw;
        font-size: 3.125vw;
        padding: 1.302vw 2.083vw;
        border-radius: 2.604vw;
    }

}
