@font-face {
    font-family: Montserrat;
    src: url(../media/fonts/Montserrat-VariableFont_wght.woff2);
}

.grecaptcha-badge { 
    visibility: hidden;
}

html {
    box-sizing: border-box;
    font-size:80%;
}

*, *:before, *:after {
    box-sizing: inherit;
    margin:0;
    padding:0;
}

body {
    line-height:1.3;
    font-family: "Montserrat", sans-serif;
}

body.locked {
    overflow: hidden;
}

h1 {
    display:none;
}

h2 {
    font-size:1.8rem;
    margin-bottom:1rem;
    line-height: 1.2;
    font-weight:600;
}

h3 {
    color:#DB2930;
    margin-bottom:1rem;
    text-transform: uppercase;
    font-size:1rem;
    margin-bottom: 0.7rem;
    line-height: 1.2;
    font-weight:600;
    letter-spacing: 0.1rem;
}  

h4 {
    font-size:1.6rem;
    margin-bottom: 1.6rem;
    line-height: 1.2;
    font-weight:600;
}

p {
    margin-bottom:1rem;
}

a {
    color:#000;
}

.desktop-view {
    display:none;
} 

#wrap {
    width:100vw;
    overflow: hidden;
}

#top-bar {
    background-color:#fff;
    height:70px;
    position: fixed;
    width: 100%;
    z-index: 999;
}

#top-bar #top-logo img {
    display:block;
    height: 70px;
    margin-left: 10px;
}

#top-container {
    display:flex;
    justify-content: space-between;
    position: relative;
}

#top-nav-button {
    background-image: url(../media/icons/kg-technik-nav-button.svg);
    width:70px;
    height:70px;
    background-position: center center;
    background-size: 60% auto;
    background-repeat: no-repeat;
}

#top-nav-button.active {
    background-image: url(../media/icons/kg-technik-nav-button-active.svg);
}

#top-nav {
    /* display:none; */
    position: absolute;
    right: 0;
    top: 70px;
    padding: 30px;
    text-align: right;
    background-color:#DB2930;
    color:#fff;
    width:100%;
    left: 100vw;
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    height: 100vh;
}

#top-nav.active {
    left: 0;
    transition: all 0.2s ease-in-out;
}

#top-nav #nav-canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    display: none;
}

#top-nav ul{
    list-style:none;
}

#top-nav ul li{
    margin-bottom:20px
}

#top-nav ul li a{
    font-size: 1.8rem;
    color:inherit;
    text-decoration: none;
    font-weight:600;
    color: inherit;
}


#section-container {
    margin-top: 70px;
}

.section {
    margin-bottom: 30px;
}

.section-inner {
    /* padding: 30px; */
    padding-left: 30px;
    padding-right: 30px;
}

.section-title {
    text-align: center;
    color: #000;
    margin-bottom: 60px;
    padding-top: 30px;
}

.section-title h4{
    text-transform: uppercase;
}

#section-header1 {
    width:100%;
    height: 60vw;
    background-color:#E5E5E5;
    color:#fff;
    margin-bottom:0;
    background-image: url(../media/img/kg-technik-header-mobile.jpg);
    background-position: center center;
    background-size: cover;
    position:relative;
}

#section-header1 #thirdparty-logo1 {
    position:absolute;
    bottom: 10px;
    right: 10px;
}


#section-header1 #thirdparty-logo1 img{
    height: 40px;
    display:block;
}

#section-header2 {
    background-color:#DB2930;
    color:#fff;
    /* margin-bottom:0; */
    padding-top: 30px;
    padding-bottom: 30px;
    /* height: 50vw; */
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

#section-header2 #thirdparty-logo2 {
    position:absolute;
    top:20px;
    right:0;
}


#section-header2 #thirdparty-logo2 img{
    height:50px;
    display:block;
}

#section-header2 #header-canvas {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    opacity: 0.7;
}

#section-header2 .section-content {
    /* position:relative; */
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: flex-end; */
    margin-top: 40px;
}

#section-header2 .section-content p:last-of-type {
    margin-bottom:0;
}

#section-header3 {
    margin-bottom: 60px;
}

#section-news {
    color:#fff;
}

#section-news #section-content{
    display:flex;
    flex-direction: column-reverse;
}

#section-news #news-info{
    background-color: #323232;
    padding: 30px;
    padding-bottom: 40px;
}

#section-news #news-info h3 {
    margin-bottom:1rem;
}

#section-news #news-info a{
    color:inherit;
}

#section-news #news-img img{
    width: 100%;
    display: block;
}

#section-products {
    color:#fff;
}

#section-products .section-title {
    margin-bottom:30px;
}

#section-products .product {
    position: relative;
    margin-bottom: 30px;
}

#section-products .product-panel {
    background-color:#fff;
    width: 100%;
    height: 0;
    padding-bottom: 55%;
    position: absolute;
}

#section-products .product-img{
    position: relative;
    padding-left: 25px;
    padding-right: 25px;
    top:0
}

#section-products .product-img img{
    border-radius:999px;
    overflow: hidden;
    width:100%;
    height: auto;
    border:2px solid #000;
}

#section-products .product-info {
    padding: 30px;
    padding-bottom: 40px;
}

#section-products .product-info h4 {
    font-size: 1.8rem;
}

#section-products .product-info .button1 a, #section-products .product-info .button2 a{
    color:inherit;
    text-decoration:none;
}

#section-products .product-info .button1 {
    background-color:#fff;
    color:#323232;
    line-height:1;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
    border:2px solid #fff;
    text-transform:uppercase;
    margin-top: 10px;
    margin-bottom:10px;
    font-weight: 600;
}

#section-products #product1 .product-info .button1 {
    color:#DB2930;
}

#section-products .product-info .button2 {
    border:2px solid #fff;
    color:#fff;
    line-height:1;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
    text-transform:uppercase;
    font-weight: 600;
}

#section-products #product1{
    background-color:#DB2930;
}

#section-products #product2{
    background-color: #363636;
}

#section-products #more-products {
    background-color:#E5E5E5;
    color:#000;
    padding: 30px;
    padding-bottom: 40px;
}

#section-products #more-products h4 {
    color:#DB2930;
    text-transform: uppercase;
}

#section-products #more-products p {
    margin-bottom:0;
}

#section-service .section-inner {
    padding:0;
}

#section-service .section-title {
    padding-left:30px;
    padding-right:30px
}

#section-service #service-container {
    height:100vw;
    position: relative;
}

#section-service #service-container .service-container-item {
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    visibility: hidden;
}

#section-service #service-container .service-container-item[itemnumber="1"] {
    display:block;
    background-image: url(../media/img/kg-technik-service-planung.jpg);
}
#section-service #service-container .service-container-item[itemnumber="2"] {
    background-image: url(../media/img/kg-technik-service-installation.jpg);
}
#section-service #service-container .service-container-item[itemnumber="3"] {
    background-image: url(../media/img/kg-technik-service-inbetriebnahme.jpg);
}
#section-service #service-container .service-container-item[itemnumber="4"] {
    background-image: url(../media/img/kg-technik-service-einschulung.jpg);
}

#section-service #service-nav {
    position:absolute;
    right:0;
    top:0;
    bottom:0;
    color: #fff;
    background-color: rgba(50,50,50,0.7);
} 

#section-service #service-nav .service-nav-item{
    height:25%;
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    flex-direction: column;
}

#section-service #service-nav .service-nav-item.active{
    background-color: #DB2930;
}

#section-service #service-nav .service-nav-item .service-nav-icon img{
    display: block;
    width: 50px;
}

.service-nav-text p {
    text-align: center;
    margin:0;
    font-weight: 600;
    font-size: 0.9rem; 
}

#section-service #service-info {
    text-align: center;
    padding: 60px;
    background-color:#DB2930;
    color:#fff;
}

#section-service #service-info h4 {
    font-size:1.8rem;
}

#section-service #service-info .service-info-item{
    display:none;
}

#section-service #service-info .service-info-item[itemnumber="1"] {
    display:block;
}

#section-maintenance {
    margin-bottom:60px;
}

#section-maintenance .section-inner {
    padding:0;
}

#section-maintenance .section-title {
    padding-left:30px;
    padding-right:30px;
}

#section-maintenance #maintenance-bg {
    height:70vw;
    background-size: cover;
    background-position: center;
    background-image: url(../media/img/kg-technik-wartung-img.jpg);
    margin-bottom: 10px;
}

#maintenance-item-container {
    padding:30px;
    padding-bottom: 0;
}

#maintenance-item-container .maintenance-item {
    padding: 30px;
    /* padding-left: 60px; */
    /* padding-right: 60px; */
    text-align: center;
    background-color: #DB2930;
    color: #fff;
    margin-bottom: 30px;
    padding-bottom: 60px;
}

#maintenance-item-container .maintenance-item h4 {
    font-size:1.8rem;
}

#maintenance-item-container .maintenance-item .item-border {
    width:60px;
    height:5px;
    background-color:#fff;
    margin-bottom:60px;
    margin-left: auto;
    margin-right: auto;
}

#section-finance {
    margin-bottom:0;
    background-color: #E5E5E5;
}

#section-finance .section-inner {
    /* padding:0; */
}

#section-finance .section-title {
    /* padding:30px; */
    padding-top: 60px;
    padding-bottom: 60px;
    /* background-color:#E5E5E5; */
    margin-bottom:0;
}

#section-about {
    text-align: center;
    margin-bottom: 60px;
}

#section-about .section-inner {
    padding:0;
}

#section-about #about-img{
    margin-bottom: 60px;
}

#section-about #about-img img{
    display:block;
    width:100%;
}

#section-about #about-info {
    padding-left: 30px;
    padding-right: 30px;
}

#section-about #about-info h4{
    text-transform: uppercase;
}

#section-about #thirdparty-logo3 {
    margin-top:30px;
}

#section-about #thirdparty-logo3 img{
    height:70px;
    display:inline-block;
}

#section-contact {
    background-color: #DB2930;
    color:#fff;
}

#section-contact .section-inner {
    padding:0;
}

#section-contact .section-content{
    display:flex;
    flex-direction: column-reverse;
}

#section-contact #contact-img img{
    display:block;
    width:100%;
}

#section-contact #contact-info {
    padding:30px;
    padding-top:60px;
    padding-bottom:60px;
}

#section-contact #contact-info h4 {
    text-align: center;
    /* margin-bottom: 30px; */
}

#section-contact #contact-form input {
    width:100%;
    margin-bottom:10px;
    border-radius:5px;
    padding:7px 10px;
    border: none;
    line-height: 1.3;
    line-height:1.3;
    font-family: "Montserrat", sans-serif;
}

#section-contact #contact-form textarea {
    width:100%;
    margin-bottom:10px;
    border-radius:5px;
    padding:7px 10px;
    border: none;
    line-height: 1.3;
    resize: vertical;
    height:70px;
    min-height:70px;
    max-height:700px;
    line-height:1.3;
    font-family: "Montserrat", sans-serif;
}

#section-contact #contact-form button {
    width: 100%;
    line-height: 1.3;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #323232;
    color:#fff;
    font-weight:600;
    text-transform: uppercase;
}

#section-footer {
    background-color: #272728;
    color:#fff;
    text-transform: uppercase;
}

#section-footer .section-content {
    padding-top:30px;
    padding-bottom:30px;
}


#section-footer #footer-logo{
    margin-left:-15px;
    height:70px;
    margin-bottom:10px;
}

#section-footer #footer-logo img{
    display:block;
    height:70px;
}

#section-footer #footer-info {
    
margin-bottom: 60px;
}

#section-footer #footer-info a{
    color:inherit;
}

#section-footer #footer-nav ul{
    list-style: none;
    text-align: right;
}

#section-footer #footer-nav ul li{
    margin-bottom:10px
}

#section-footer #footer-nav ul li a{
    font-size: 1.6rem;
    color:inherit;
    text-decoration: none;
    font-weight:600;
}

#section-bottom {
    background-color: #1B1A1B;
    color:#fff;
    padding-top:30px;
    padding-bottom:30px;
    font-size:0.7rem;
}

#section-bottom .section-content {
    display:flex;
    justify-content: space-between;
    width:100%;
}

#section-bottom p{
    margin-bottom:5px;
    text-transform: uppercase;
    color:#fff;
}

#section-bottom a{
    color:inherit;
}

#section-bottom #bottom-right-container {
    text-align: right;
}

#section-bottom #bottom-right-container a{
    text-decoration: none;
}

#section-info {
    position:fixed;
    top: 70px;
    width:100%;
    background-color: #f9f9f9;
    height: calc(100vh - 70px);
    overflow-y: scroll;
    padding-top: 30px;
    padding-bottom: 30px;
    display:none;
}

#section-info.active {
    display:block;
}

#section-info .section-inner{
    /* padding-top:60px; */
    /* padding-bottom:60px; */
}

.info-button {

}
    


/* TABLET */

#info-close-button {
    background-image: url(../media/icons/kg-technik-info-button-active.svg);
    width: 70px;
    height: 70px;
    background-position: center center;
    background-size: 60% auto;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #fff;
}

@media screen and (min-width: 600px)  {

.section-inner {
    /* padding:0; */
}

#section-news #section-content {
    flex-direction: row;
}

#section-news #news-info {
    flex: 5;
}

#section-news #news-img {
    flex: 4;
    background-image: url(../media/img/kg-technik-news-img.jpg);
    background-size: cover;
    background-position: center center;
}

#section-news #news-img img {
    display:none;
}
    
#section-products .section-content{
    display:flex;
    flex-wrap: wrap;
}

#section-products .product{
    flex-basis: calc(50% - 20px);
    margin-bottom: 60px;
}

#section-products #product1{
    margin-right:40px;
}

#section-products #more-products{
    flex-basis: 100%;
    display: flex;
    flex-wrap:wrap;
}

#section-products #more-products h4{
    flex-basis:100%;
}

#section-products #more-products div {
    margin-right:20px;
}

#section-products #more-products p {
    margin-bottom:5px;
}

#section-products #more-products div:last-of-type {
    margin-right:0;
}

#section-service .section-content{
    position:relative;
}

#section-service #service-container {
    height: 400px;
}

#section-service #service-nav {
    left: 60px;
    right:auto;
}
#section-service #service-info {
    position: absolute;
    bottom: 0;
    right: 60px;
    width: 400px;
    padding: 30px;
    text-align: left;
}

#section-maintenance #maintenance-bg {
    height:400px;
}

#section-maintenance #maintenance-item-container {
    display:flex;
}

#section-maintenance #maintenance-item-container .maintenance-item {
    /* flex: calc(33% - 60px); */
    margin-left: 10px;
    margin-right: 10px;
    width: calc(33.333% - 20px);
    padding-bottom: 30px;
}

#section-about .section-content {
    display:flex;
    padding: 30px;
}

#section-about #about-info {
    text-align: left;
    padding-right: 0;
    padding-left: 40px;
}

#section-contact .section-content {
    flex-direction: row;
}

#section-contact #contact-info {
    flex: 2;
}

#section-contact #contact-img {
    flex: 1;
    background-image: url(../media/img/kg-technik-contact.jpg);
    background-size: cover;
    background-position: center center;
}

#section-contact #contact-img img {
    display:none;
}

#section-contact #contact-form {
    display:flex;
    flex-wrap: wrap;
}

#section-contact #contact-form input[type="text"], #section-contact #contact-form input[type="email"]{
    flex-basis: calc(50% - 5px);
}

#section-contact #contact-form #contact-name, #section-contact #contact-form #contact-tel {
    margin-right:10px;
}

#section-contact #contact-form textarea {
    flex-basis: 100%;
}

#form-message {
    margin-top:10px;
}

}

/* DESKTOP */


@media screen and (min-width: 900px)  {
    
.mobile-view {
    display: none;
}

.desktop-view {
    display:block;
} 

html {
    font-size: 100%;
}

h2 {
    margin-bottom:5px;
}

h3 {
    font-size:1.2rem;
}

#wrap {
    width:100%;
}

.button1 {
    margin-right: 10px;
}

#top-nav {
    position: relative;
    left: auto;
    height: auto;
    top: 0;
    background-color: transparent;
    color: #000;
    padding: 0;
}

#top-bar {
    height: 60px;
}

#top-container {
    max-width:1200px;
    margin-left: auto;
    margin-right: auto;
}

#top-bar #top-logo img {
    height: 60px;
    margin-left: 0;
}

#top-nav-button {
    display:none;
}

#top-nav ul {
    display:flex;
    justify-content: flex-end;
}

#top-nav ul li{
    margin-right: 20px;
    margin-bottom: 0;
}

#top-nav ul li:last-of-type{
    margin-right: 0;
}

#top-nav ul li a {
    font-size:1rem;
    line-height: 60px;
    border-bottom:2px solid transparent;
}

#top-nav ul li a:hover {
    color:#DB2930;
    border-color: #DB2930;
}

#section-container {
    margin-top:60px;
}

.section-inner {
    padding:0;
    max-width:1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
}

#section-header1 {
    height:600px;
    background-image: url(../media/img/kg-technik-header-desktop.jpg);
}

#section-header1 .section-inner{
    position: relative;
    height: 100%;
}

#section-header1 .section-content{
    position: absolute;
    bottom: 20px;
    width: 100%;
}

#section-header1 .section-content h2{
    font-size:3rem;
}

#section-header1 .section-content p{
    font-size:1.8rem;
    width:60%;
}

#section-header1 #thirdparty-logo1 img {
    height: 60px;
}

#section-header1 #thirdparty-logo1 {
    right: 0;
}

#section-header2 {
    padding-top:60px;
    padding-bottom:60px;
}

#section-header2 .section-inner{
    position:relative;
    display: flex;
    flex-direction:row-reverse;
}

#section-header2 .section-content {
    margin-top:0;
}

#section-header2 #thirdparty-logo2 {
    position:relative;
    margin-left:40px;
}

#section-header2 #thirdparty-logo2 img {
    height:60px;
}

#section-service #service-container {
    height:600px;
}

#section-service #service-info {
    width:600px;
}

#section-service #service-nav .service-nav-item {
    padding:30px;
    cursor: pointer;
}

#section-maintenance .section-inner {
    padding:0;
    max-width: 100%;
}

#section-maintenance #maintenance-bg {
    height:600px;
    margin-bottom: 60px;
}

#section-maintenance #maintenance-item-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

#section-maintenance #maintenance-item-container .maintenance-item {
    margin-left: 20px;
    margin-right: 20px;
    width: calc(33.333% - 40px);
}

#section-finance {
    margin-bottom: 60px;
}

#section-about .section-content {
    padding:0;
}

#section-about #about-img {
    margin-bottom:0;
}

#section-contact #contact-info {
    padding-left:0;
}

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

#section-footer #footer-nav ul li a {
    font-size:1rem;
}

#section-info {
    top:60px;
}

#info-close-button {
    width:60px;
    height:60px;
    cursor: pointer;
}



}