@import url("reset.css");

/*-----------FONTS-----------*/

/* roboto-300 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v19-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Roboto Light'), local('Roboto-Light'),
       url('../fonts/roboto-v19-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v19-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v19-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v19-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v19-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v19-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto'), local('Roboto-Regular'),
       url('../fonts/roboto-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v19-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v19-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v19-latin-500.eot'); /* IE9 Compat Modes */
  src: local('Roboto Medium'), local('Roboto-Medium'),
       url('../fonts/roboto-v19-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v19-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v19-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v19-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v19-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
}


/*-----------FONTGESTALTUNG-----------*/

body {font-family: 'Roboto'}
p {font-size: 15px; font-weight: 300; line-height: 24px; margin-bottom: 15px;}
a {color: #000; text-decoration: none; cursor: pointer;}
h1 {font-size: 35px; line-height: 40px; font-weight: 600; text-transform: uppercase; margin-bottom: 10px; color: #fff;}
h2 {font-size: 35px; line-height: 40px; font-weight: 600; text-transform: uppercase; color: #205677;}
h3 {font-size: 20px; font-weight: 500; margin-bottom: 10px; color: #f7d31b;}
h4 {font-size: 18px; text-transform: uppercase; font-weight: 600; margin-bottom: 10px;}
li {font-size: 14px; list-style: disc;}
strong {font-weight: 500; font-size: 16px; font-weight: 600;}
.line {background-color: #000; width: 50px; height: 3px; margin-bottom: 25px;}


/*-----------AUFBAU-----------*/

html {scroll-behavior: smooth; overflow-x: hidden;}
.flex {display: flex;}
.content {display: flex; width: 80%; margin-left: 10%;}
.col {width: 90%; position: relative;}
.col:nth-of-type(2) {margin-left: 10%;}

.ueberschrift {margin-bottom: 30px; display: flex;}
.ueberschrift-icon {width: auto; height: 58px; margin-right: 10px;}

.btn {background-color: #f7d31b; color: #fff; padding: 5px 30px; transition: 0.5s; border-radius: 10px; text-transform: lowercase;}
.btn:hover {background-color: #e0b300}
::-moz-selection {background: #033b5f; color: #fff;}
::selection {background: #033b5f; color: #fff;}


/*-----------NAVI-----------*/

.logo {position: fixed; width: 250px; height: auto; top: 20px; left: 13%; z-index: 999;}
nav {position: fixed; background: rgba(255,255,255,0.7); width: 80%; z-index: 101; top: 0; left: 10%; text-align: right; padding: 40px 0 40px; border-radius: 0 0 25px 25px; z-index: 100;}
nav ul {margin-right: 5%;}
nav ul li {display: inline-block; margin: 0 1%; text-transform: uppercase;}
nav ul li a {text-decoration: none; font-size: 16px; color: #225270; font-weight: 600;}
nav ul li {color: #f7d31b; font-weight: 600; font-size: 20px;}
nav ul li a:hover {color: #f7d31b;}

.navi {display: none;}
.burger-nav {position: fixed; right: 0; top: -6px; color: #fff; z-index: 9999; -webkit-transform: rotate(-90deg); transform: rotate(-90deg); font-size: 40px; cursor: pointer; transition: all .4s ease-in-out; background-color: #f7d31b; padding: 16px 21px 21px 19px; border-radius: 15px 0 0 0;}
.burger-nav b {transition: all .4s ease-in-out; float: left; margin-left: 0; font-family: 'Roboto'; font-style: normal;}
.burger-nav-anim {top: -5px; background: none;}
.burger-nav-anim b:first-of-type {-webkit-transform: rotate(45deg); transform: rotate(45deg);}
.burger-nav-anim b:nth-of-type(2) {opacity: 0;}
.burger-nav-anim b:last-of-type {-webkit-transform: rotate(-45deg); transform: rotate(-45deg); margin-left: -80%;}

.full-screen-nav {position: fixed; z-index: 9998; width: 100%; height: 100vh; background: rgba(32,86,119,0.9); display: table; visibility: hidden; transition: all .4s ease-in-out; opacity: 0;}
.full-screen-nav ul {text-align: center; display: table-cell; vertical-align: middle; width: 100%;}
.full-screen-nav ul li a {padding: 20px; display: block; font-size: 30px; color: #fff; transition: all .4s ease-in-out; text-decoration: none; text-transform: uppercase; font-weight: 600;}
.fadeIn {opacity: 1 !important; visibility: visible !important;}
.fadeUp {opacity: 1 !important; margin-top: 0 !important;}


/*-----------ASIDE-----------*/

aside {height: 0;}
aside img {position: fixed; background-color: #f7d31b; width: 40px; z-index: 999; left: 0; transition: 0.5s; border-radius: 0 10px 10px 0}
aside img:hover {background-color: #225270;}
.phone {top: 300px;}
.mail {top: 370px;}
.maps {top: 440px;}


/*-----------SUBNAV-----------*/

.subnav {position: fixed; bottom: 0; color: #fff; z-index: 999; transition: 0.5s; width: 100%; text-align: right;}
.subnav a {color: #fff; padding: 8px 15px; font-size: 14px; background-color: #225270; margin-left: 10px; line-height: 23px; border-radius: 10px 10px 0 0;}
.subnav a:nth-of-type(2) {margin-right: 5%;}
.subnav a:hover {color: #dfdfdf;}


/*-----------HEADER-----------*/

header {background: url("../images/dentallabor-header.jpg") no-repeat; height: 100vh; width: 100%; background-size: cover; background-attachment: fixed; background-position: center; position: relative;}
header .welle {position: absolute; width: 102%; height: auto; bottom: 0; left: -5px;}

#stoerer {position: absolute; left: 10%; bottom: 15vh; width: 380px; background: rgba(32,86,119,0.8); padding: 60px 50px; border-radius: 25px;}
#stoerer p {font-size: 20px; line-height: 25px; font-weight: 400; margin-bottom: 25px; color: #fff;}


/*-----------ÜBER UNS-----------*/

#ueberuns {padding: 200px 0; position: relative;}
.team {background: url("../images/dentallabor-team.jpg") no-repeat; width: 100%; height: 100%; background-size: cover; background-position: center; position: relative; border-radius: 30px; z-index: 20} 
.gelb {position: absolute; bottom: -20px; left: -3%; background-color: #f7d31b; width: 106%; height: 100px; border-radius: 30px;}
#ueberuns .col:nth-of-type(2) {padding-top: 100px; padding-bottom: 85px;}

#ueberuns .welle-top {position: absolute; width: 102%; height: auto; bottom: 0; left: -5px;}


/*-----------ÜBER UNS-----------*/

#vertrauen {padding: 200px 0; position: relative; background-color: #f1f5f8;}
.partnerschaft {background: url("../images/dentallabor-vertrauen.jpg") no-repeat; width: 100%; height: 100%; background-size: cover; background-position: center; position: relative; border-radius: 30px; z-index: 20} 
.gelb {position: absolute; bottom: -20px; left: -3%; background-color: #f7d31b; width: 106%; height: 100px; border-radius: 30px;}
#vertrauen .col:nth-of-type(1) {padding-top: 100px; padding-bottom: 85px;}

#vertrauen .welle-top {position: absolute; width: 102%; height: auto; bottom: 0; left: -5px;}


/*-----------LEISTUNGEN-----------*/

#leistungen {background: linear-gradient(180deg, #215576 0%, #196697 50%); padding: 200px 0 150px; position: relative;}
#leistungen .ueberschrift {justify-content: center;}
#leistungen h2, #leistungen h3, #leistungen h4, #leistungen p {color: #fff;}
#leistungen p {margin-bottom: 0;}
#leistungen a {text-decoration: underline; color: #fff;}

.col3 {width: 33.3%; background-color: #245270; padding: 50px 40px; text-align: center; border-radius: 30px;}
.col3:nth-of-type(2) {margin: 0 3%}
#leistungen .content {margin-bottom: 40px;}

.icon {width: 50px; height: auto; margin-bottom: 20px;}

/*-----------PUFFER-----------*/

.puffer {background: url("../images/dentallabor-pirna-bruecke.jpg") no-repeat; height: 600px; width: 100%; background-size: cover; background-attachment: fixed; background-position: center; position: relative;}
.puffer .welle-top {position: absolute; width: 102%; height: auto; top: 0; left: -5px;}
.puffer .welle-bottom {position: absolute; width: 102%; height: auto; bottom: 0; left: -5px;}


/*-----------FOOTER-----------*/

footer {padding: 200px 0 150px;}
footer h4, footer strong {color: #225270}
footer a {text-decoration: underline; color: #225270; font-weight: 400;}

.kontakt {background: url("../images/dentallabor-kontakt.jpg") no-repeat; width: 100%; height: 100%; background-size: cover; background-position: center; position: relative; border-radius: 25px; position: relative; z-index: 20}

table {text-align: left; font-size: 15px; font-weight: 300; line-height: 21px;}
th {padding-right: 20px;}


/*-----------RESPONSIVE-----------*/

@media screen and (max-width: 1100px) {
    #ueberuns .col:nth-of-type(2) {padding: 0; margin-left: 0;}
    #vertrauen .col:nth-of-type(2) {padding: 0; margin-left: 0;}
}
    
    
@media screen and (max-width: 1366px) {
    header, .puffer {background-attachment: scroll;}
}


@media screen and (max-width: 1050px) {
    main {text-align: center;}
    .content {display: block;}
    .col {width: 80%; margin-left: 10%;}
    .col:nth-of-type(2) {padding: 40px 0 0; margin-left: 10%;}    
    
    h2 {font-size: 24px; line-height: 28px;}
    h3 {font-size: 18px;}
    .ueberschrift {justify-content: center; padding: 0 5%}
    .ueberschrift h2, .ueberschrift h3 {text-align: left;}
    .team, .partnerschaft, .kontakt {height: 400px; margin-bottom: 80px;}
    
    .col3 {width: 90%; padding: 50px 5%; margin-bottom: 50px;}
    .col3:nth-of-type(2) {margin: 0 0 50px;}
}

@media screen and (max-width: 900px) {
    h1 {font-size: 21px; line-height: 30px;}
    h1 b {font-size: 25px;}
    .logo {position: absolute;}
    header {height: 75vh;}
    nav {background: none; box-shadow: 0 0 0;}
    nav ul{display: none;}
    .navi {display: block;}
    
    #stoerer {width: 220px; padding: 40px 30px;}
    
    .col {width: 100%; margin-left: 0%;}
    
    .col:nth-of-type(2) {margin-left: 0;}
    
    table {width: 70%; margin-left: 15%; text-align: center;}
}

@media screen and (max-width: 700px) {
    header {height: 60vh;}
    #stoerer {bottom: 5vh;}
    h1 {font-size: 19px; line-height: 22px;}
    #stoerer p {font-size: 14px; line-height: 18px}
}
