/*
 Theme Name:   GMK Child Theme
 Theme URI:    /
 Description:  Wordpress Child Theme von GMK.
 Author:       GMK - Medien. Marken. Kommunikation.
 Author URI:   https://www.gmk.de/
 Template:     twentytwentyone
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  gmkchildtheme
*/

/* work-sans-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: 'Work Sans';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/work-sans-v19-latin-300.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/work-sans-v19-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('assets/fonts/work-sans-v19-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('assets/fonts/work-sans-v19-latin-300.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
    url('assets/fonts/work-sans-v19-latin-300.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
    url('assets/fonts/work-sans-v19-latin-300.svg#WorkSans') format('svg'); /* Legacy iOS */
}
/* work-sans-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: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/work-sans-v19-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/work-sans-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('assets/fonts/work-sans-v19-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('assets/fonts/work-sans-v19-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
    url('assets/fonts/work-sans-v19-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
    url('assets/fonts/work-sans-v19-latin-regular.svg#WorkSans') format('svg'); /* Legacy iOS */
}
/* work-sans-700 - 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: 'Work Sans';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/work-sans-v19-latin-700.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/work-sans-v19-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('assets/fonts/work-sans-v19-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('assets/fonts/work-sans-v19-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
    url('assets/fonts/work-sans-v19-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
    url('assets/fonts/work-sans-v19-latin-700.svg#WorkSans') format('svg'); /* Legacy iOS */
}

:root {
    font-family: 'Work Sans';
    font-weight: 400;
    font-style: normal;
    --kmw--red: #E73743;
    --kmw--lightgrey: #F0F0F0;
}

/* Basic Stuff*/
body {
    background-color: #FFF;
    overflow-x: hidden;
}

html.noscroll,
body.noscroll {
    overflow-y: hidden;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    font-family: 'Work Sans';
    margin: 0px;
    padding: 0px;
}

h1 {
    font-weight: 700;
    font-size: 36px;
}

h2 {
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 20px;
    font-size: 30px;
}

h3 {
    font-size:24px;
    text-transform: none;
    font-weight: 700;
    margin-bottom: 30px;
}

h4 {
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
}

p {
    font-size: 16px;
    line-height: 29px;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    padding: 5px;
}

li::marker {
    content: "\e60a";
    font-family: 'Rivolicons-Free';
    color: #dc281e;
    font-size: 16px;
    margin-right: 6px;
}

iframe {
    width: 100%;
}

a, a:visited {
    color: #000;
    text-decoration: none;
}

.btn-default {
    background-color: var(--kmw--red);
    border-radius: 30px;
    color: #FFF!important;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-default:hover {
    background-color: var(--kmw--lightgrey);
    color: #000!important;
    cursor: pointer;
}

.btn-secondary {
    background-color: var(--kmw--lightgrey);
    border-radius: 30px;
    color: #000!important;
    display: inline-block;
    font-size: 16px;
    padding: 20px 30px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: var(--kmw--red);
    color: #FFF!important;
    cursor: pointer;
}

.only-mobile {
    display: none;
}

/* Header */
#site-header {
    padding: 30px 50px;
}

.header-inner,
.header-logo-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.header-logo-container {
    gap: 15px;
}

.header-logo-kmw-container img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
}

.logo-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#header-logo {
    max-width: 400px;
}

#footer-logo {
    max-width: 250px;
}

.logo-label {
    font-size: 14px;
}

.header-logo-container a {
    /* display: block; */
    text-decoration: none;
}

.main-navigation .menu-mainmenu-container .menu {
    display: flex;
    gap: 25px;
}

.main-navigation .menu-mainmenu-container .menu .menu-item {
    display: block;
}

.main-navigation .menu-mainmenu-container .menu .menu-item a {
    padding: 7.5px;
    transition: color 0.3s;
}

.main-navigation .menu-mainmenu-container .menu .menu-item:hover a {
    border-bottom: 2px solid var(--kmw--red);
    color: var(--kmw--red);

}

.main-navigation .menu-mainmenu-container .menu .menu-item.current-menu-item a {
    border-bottom: 2px solid var(--kmw--red);
}

.btn-default {
    display: inline-block;
    text-decoration: none;
    padding: 20px 30px;
}

.gmk-hero-container {
    height: calc(100vh - 108px);
}

.home .gmk-hero-container {
    margin-top: 50px;
}

.gmk-hero-inner {
    display: flex;
    height: 100%;
    position: relative;
    width: 100%;
}

.gmk-hero-slide {
    display: flex;
    justify-content: center;
    position: relative;
}

.gmk-hero-slide-background {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.background-white {
    height: 30%;
}

.background-red {
    background-color: var(--kmw--red);
    height: 70%;
}

.gmk-hero-slide-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}

.gmk-hero-slide-text p {
    line-height: 24px;
}

.gmk-hero-slide-infos {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 0 auto;
}

.gmk-hero-slide-infos img {
    max-width: 350px;
}

.gmk-hero-slide-infos .slide-headline {
    color: #FFF;
    font-size: 60px;
    font-weight: 700;
    line-height: 62px;
    margin-bottom: 0;
    text-align: center;
    text-transform: none;
}

.slide-text {
    color: #FFF;
}

.slider-popup-button {
    bottom: 125px;
    height: 50px;
    position: absolute;
    right: 75px;
    width: 50px;
}

.slider-popup-button:hover {
    cursor: pointer;
}

.slider-popup-button:before {
    border: 2px solid #FFF;
    border-radius: 50%;
    content: "";
    height: 90px;
    left: -22px;
    opacity: 0.6;
    position: absolute;
    top: -22px;
    width: 90px;
}

.slider-popup-button:after {
    border: 2px solid #FFF;
    border-radius: 50%;
    content: "";
    height: 110px;
    left: -32px;
    opacity: 0.4;
    position: absolute;
    top: -32px;
    width: 110px;
}

.slider-popup-button .popup-ring {
    background-color: #FFF;
    border-radius: 50%;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.popup-ring {
    position: relative;
}

.popup-ring:before {
    border: 2px solid #FFF;
    border-radius: 50%;
    content: "";
    height: 70px;
    left: -12px;
    position: absolute;
    top: -12px;
    width: 70px;
}

.slider-popup-button .popup-ring span {
    color: var(--kmw--red);
    font-size: 36px;
    font-weight: 700;
    line-height: 50px;
    margin: auto;
}

.slider-popup-container {
    background-color: #ffffff26;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: none;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.slider-popup-container.show-popup {
    display: flex;
}

.slider-popup-inner {
    backdrop-filter: blur(20.0389995575px);
    --webkit-backdrop-filter: blur(20.038999557495117px);
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
    flex-direction: column;
    gap: 35px;
    height: 50%;
    margin: auto;
    padding: 50px;
    position: relative;
    width: 50%;
}

.slider-popup-close {
    position: absolute;
    right: 25px;
    top: 25px;
}

.slider-popup-close:hover {
    cursor: pointer;
}

.gmk-productteasers-inner {
    display: flex;
    padding: 50px;
    width: 100%;
}

.gmk-productteasers-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gmk-productteasers-single {
    background: rgb(160,160,160);
    background: radial-gradient(circle, rgba(160,160,160,1) 0%, rgba(255,255,255,1) 100%);
    border-radius: 25px;
    flex: 0 1 calc(100% / 3 - 15px);
    margin-bottom: 20px;
    max-width: calc(100% / 3 - 15px);
    /*min-width: calc(100% / 4 - 15px);*/
    padding: 30px;
    position: relative;
}

.teaser-overlay {
    background: rgb(0,0,0);
    background: linear-gradient(135deg, rgba(0,0,0,1) 0%, rgba(160,160,160,1) 50%, rgba(0,0,0,1) 100%);
    border-radius: 25px;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s;
    top: 0;
    width: 100%;
    z-index: 3;
}

.gmk-productteasers-single:hover .teaser-overlay {
    opacity: 1;
}

.gmk-productteasers-single:hover .product-teaser-infos h4,
.gmk-productteasers-single:hover .product-teaser-infos h3 {
    color: #FFF;
}

.product-teaser-infos h4,
.product-teaser-infos h3 {
    transition: color 0.3s;
}

.product-teaser-link {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 3;
}

.product-teaser-infos {
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.gmk-productteasers-single .product-teaser-infos {
    position: relative;
    z-index: 5;
}

.teaser-arrow.homepage {
    z-index: 5;
}

.portfolio-teaser .product-teaser-infos, .teaser-arrow {
    position: relative;
    z-index: 2;
}

.product-teaser-infos h3,
.product-teaser-information h3 {
    font-size: 26px;
    font-weight: 300;
    text-transform: none;
}

.product-teaser-information h3 {
    color: #FFF;
}

.product-teaser-infos h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: none;
}

.product-teaser-infos img {
    height: auto;
    margin: auto;
    max-width: 75%;
}

.teaser-arrow {
    background-color: var(--kmw--red);
    border-radius: 50%;
    bottom: 10px;
    height: 56px;
    position: absolute;
    right: 10px;
    width: 56px;
}

.teaser-arrow a {
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.teaser-arrow svg {
    margin: auto;
}


.portfolio-teaser {
    padding: 0;
}

.portfolio-teaser .product-teaser-information-text {
    height: 60%;
    overflow-y: scroll;
    top: 0;
}

.portfolio-teaser .product-teaser-infos {
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 30px;
    top: 0;
}

.gmk-text-inner {
    display: flex;
    justify-content: center;
    padding: 50px;
    width: 100%;
}

.gmk-text-infos {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: auto;
    text-align: center;
    width: 50%;
}

.gmk-text-infos h2 {
    font-size: 32px;
    line-height: 46px;
    text-transform: none;
    width: 75%;
}

.gmk-text-infos hr {
    width: 30%;
}

.gmk-text-infos p {
    line-height: 28px;
}

.gmk-services-inner {
    display: flex;
    padding: 50px 100px;
    width: 100%;
}

.gmk-services-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    width: 100%;
}

.gmk-services-single {
    border-radius: 25px;
    display: flex;
    flex: 0 1 calc(100% / 2 - 25px);
    flex-direction: column;
    justify-content: space-between;
    max-width: calc(100% / 2 - 25px);
    position: relative;
}

.service-overlay,
.service-hover-overlay {
    background: linear-gradient(135deg, #5a5a5a 0%, #a0a0a0 52.79%, #454545 100%);
    border-radius: 25px;
    opacity: 0.9;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}

.service-hover-overlay {
    background: linear-gradient(225deg, #5a5a5a 0%, #a0a0a0 52.79%, #454545 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.gmk-services-single:hover .service-hover-overlay {
    opacity: 0.9;
}

.service-background {
    border-radius: 25px;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.service-infos {
    padding: 50px;
}

.service-infos p {
    color: #FFF;
    font-size: 36px;
    font-weight: 700;
    line-height: 42px;
    position: relative;
    z-index: 3;
}

.service-link {
    align-items: center;
    bottom: 10px;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    padding-left: 50px;
    width: 100%;
    z-index: 2;
}

.service-link span {
    color: #FFF;
    font-size: 24px;
    font-weight: 300;
    line-height: 29px;
}

.service-link a {
    background-color: var(--kmw--red);
    border-radius: 50%;
    display: flex;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.service-link a svg {
    margin: auto;
}

.gmk-brands-inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    padding: 50px;
}

.gmk-brands-inner h3 {
    font-size: 36px;
    font-weight: 300;
    line-height: 46px;
    margin-bottom: 0;
}

.gmk-brands-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 50px auto;
    justify-content: center;
    width: 100%;
    max-width: 700px;
}

.gmk-brands-single {
    display: flex;
    flex: 0 1 calc(100% / 4 - 25px);
    justify-content: center;
    max-width: calc(100% / 4 - 25px);
    position: relative;
}

.gmk-brands-single img {
    margin: auto;
    width: 100%;
    height: 70px;
    object-fit: contain;
    object-position: center;
}

.footer-container {
    margin-top: 50px;
    padding-bottom: 68px;
}

.footer-top-container {
    background: linear-gradient(90deg, rgba(160,160,160,0.25) 0%, rgba(255,255,255,1) 50%, rgba(160,160,160,0.25) 100%);
    padding: 50px 90px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
}

.footer-contact,
.footer-menus-container {
    display: flex;
    justify-content: space-between;
}

.footer-container hr {
    border-color: #707070;
    margin: 35px 0;
    opacity: 0.25;
}

.col-3 {
    flex: 0 1 calc(100% / 3 - 25px);
    max-width: calc(100% / 3 - 25px);
}

.footer-logo a  {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-menu h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 29px;
    margin-bottom: 15px;
    text-transform: none;
}

.footer-menu .menu li {
    display: block;
    padding: 5px 0;
}

.footer-menu .menu li a {
    font-size: 14px;
}

.footer-bottom-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 15px 90px;
}

.footer-bottom-container p {
    font-size: 14px;
}

.gmk-portfolio-teaser {
    display: flex;
    justify-content: center;
    padding: 25px 50px;
}

.gmk-portfolio-teaser-infos {
    display: flex;
    margin: auto;
    width: 75%;
}

.gmk-portfolio-teaser-text p {
    margin-bottom: 25px;
}

.gmk-portfolio-hero {
    align-items: center;
    background-color: var(--kmw--red);
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
    padding: 100px 50px;
    padding-bottom: 0;
}

.gmk-portfolio-hero-text {
    margin: auto;
    text-align: center;
    width: 50%;
}

.gmk-portfolio-hero-text h1 {
    color: #FFF;
    font-size: 60px;
    margin-bottom: 15px;
}

.gmk-portfolio-hero-text p {
    color: #FFF;
}

.gmk-portfolio-hero-categories {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 75%;
}

.gmk-portfolio-category {
    flex: 0 1 calc(100% / 4 - 15px);
    max-width: calc(100% / 4 - 15px);
    padding: 50px 0;
    position: relative;
    text-align: center;
}

.gmk-portfolio-category:after {
    background-color: #FFF;
    bottom: 0;
    content: "";
    height: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    transition: all 0.3s;
    width: 100%;
    z-index: 1;
}

.gmk-portfolio-category.active-filter:after,
.gmk-portfolio-category:hover:after
{
    cursor: pointer;
    height: 100%;
    opacity: 0.35;
}

.gmk-portfolio-category img {
    margin-bottom: 10px;
    max-height: 90px;
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.gmk-portfolio-category h4 {
    color: #FFF;
    font-size: 16px;
    line-height: 29px;
    position: relative;
    text-transform: none;
    z-index: 2;
}

.gmk-portfolio-products-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 50px;
}

.product-teaser-information {
    display: flex;
    flex-direction: column;
    height: 100%;
    left: 0px;
    opacity: 0;
    padding: 30px;
    position: absolute;
    transition: opacity 0.3s;
    top: 0;
    width: 100%;
}

.product-teaser-information-text {
    /*margin: auto 0;*/
    position: relative;
    z-index: 5;
}

.product-teaser-information-text p, .product-teaser-information-text li {
    color: #FFF;
}

.product-teaser-information-text ul {
    padding: 0 25px;
}

.product-cta {
    align-items: center;
    bottom: 10px;
    display: flex;
    justify-content: space-between;
    height: 56px;
    padding-left: 40px;
    position: absolute;
    right: 10px;
    width: 100%;
    z-index: 10;
}

.product-cta-label {
    color: var(--kmw--red);
    font-weight: 700;
    opacity: 0;
    position: relative;
    text-rendering: geometricPrecision;
    transition: opacity 0.3s;
    z-index: 5;
}

.product-cta .teaser-arrow {
    position: static;
}

.product-cta .teaser-arrow .envelope-svg,
.gmk-productteasers-single:hover .product-cta .teaser-arrow .arrow-svg {
    display: none;
}

.gmk-productteasers-single:hover .product-cta .teaser-arrow .envelope-svg {
    display: block;
}

.gmk-productteasers-single:hover .product-teaser-information,
.gmk-productteasers-single:hover .product-cta-label{
    opacity: 1;
}


.gmk-productteasers-single:hover .product-teaser-headline,
.gmk-productteasers-single.tap-active .product-teaser-headline {
    opacity: 0;
}


.product-teaser-infos img {
    transition: opacity 0.3s;
}

.gmk-portfolio-products-wrap .gmk-productteasers-single:hover .product-teaser-infos img {
    opacity: 0;
}

.gmk-portfolio-products-wrap .product-teaser-headline-hover {
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0;
    text-transform: none;
}

/*.gmk-portfolio-products-wrap .gmk-productteasers-single:hover .product-teaser-headline {*/
/*    display: none;*/
/*}*/

.gmk-portfolio-products-wrap .gmk-productteasers-single:hover .product-teaser-headline-hover {
    opacity: 1;
}

.product-teaser-information {
    height: 100%;
    margin: auto;
    position: absolute;
    z-index: 111;
}

.service-checker-container {
    background-color: #FFF;
    bottom: 0;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.35);
    height: 68px;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.service-checker-popup-form {
    display: none;
}

.service-checker-popup-controls {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.service-checker-popup-button {
    display: flex;
    gap: 15px;
}

.service-checker-popup-button a {
    color: #FFF;
}


.service-checker-inner {
    display: flex;
    height: 100%;
    justify-content: space-between;
    padding: 0 50px;
}

.service-checker-left,
.service-checker-right {
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.service-checker-left a {
    align-items: center;
    color: var(--kmw--red);
    display: flex;
    gap: 15px;
}

#service-check-form {
    border: 1px solid #000;
    display: flex;
}

#service-check-form.error-form {
    border: 1px solid var(--kmw--red);
}

#service-check-form input {
    appearance: none;
    border: none;
    padding: 15px;
}

#service-check-form button {
    appearance: none;
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: center;
    padding: 10px;
}

#service-check-form button:hover {
    cursor: pointer;
}

#service-check-form button svg {
    margin: auto;
}

.gmk-history-inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gmk-history-intro {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 50px;
    width: 50%;
}

.gmk-history-intro .bd-centered {
    text-align: center;
}

.gmk-history-intro .bd-centered p {
    line-height: 22px;
    margin-bottom: 15px;
}

.gmk-timeline-item-infos,
.gmk-timeline-item-text {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gmk-timeline-item-text p {
    line-height: 22px;
    margin: 25px 0;
    text-align: center;
    width: 75%;
}

.owl-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
}

.gmk-portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px;
    gap: 15px;
}

.btn-secondary.gmk-filter-reset {
    border: 1px solid var(--kmw--red);
}

.btn-default.active-filter {
    background-color: var(--kmw--lightgrey);
    color: #000!important;
}

.service-checker-popup {
    background-color: rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 99999;
}

.service-checker-popup.active-popup {
    display: flex;
}

.service-checker-popup-inner {
    backdrop-filter: blur(20.0389995575px);
    --webkit-backdrop-filter: blur(20.038999557495117px);
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin: auto;
    padding: 50px;
    position: relative;
    width: 50%;
}

.service-checker-popup-content {
    padding: 50px 25px;
    text-align: center;
}

.service-checker-popup-content h3 {
    font-weight: 400;
    margin: 0;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
}

/* Contact Form 7 */

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    appearance: none;
    border: 1px solid #000;
    border-radius: 35px;
    padding: 15px 25px;
    width: 100%;
}

.wpcf7-submit.btn-default {
    border: none;
}

.footer-menu .menu li a {
    transition: color 0.3s;
}

.footer-menu .menu li a:hover {
    color: var(--kmw--red);
}

.gmk-timeline-item {
    background-color: var(--kmw--lightgrey);
    margin: 15px;
    padding: 15px;
}

.owl-nav .btn-default {
    border: 1px solid var(--kmw--red);
    display: flex;
    padding: 15px;
}

.owl-nav .owl-prev .btn-default svg {
    transform: rotate(180deg);
}

.owl-nav .btn-default:hover svg g line {
    stroke: var(--kmw--red);;
}

.gmk-branches-inner,
.gmk-tips-inner {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.gmk-branches-wrap,
.gmk-tips-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 50px;
}

.gmk-branches-single {
    background: rgb(160,160,160);
    background: radial-gradient(circle, rgba(160,160,160,1) 0%, rgba(255,255,255,1) 100%);
    border-radius: 25px;
    flex: 0 1 calc(100% / 3 - 50px);
    margin: 15px;
    max-width: calc(100% / 3 - 50px);
    padding: 30px;
}

.gmk-branches-single-title {
    color: var(--kmw--red);
}

.gmk-branches-single .branch-infos {
    margin: 15px 0;
}


.branch-infos ul {
    padding: 10px 20px;
}


.gmk-tips-inner-text {
    width: 50%;
}

.gmk-tips-wrap {
    align-items: flex-start;
}

.gmk-tips-single {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    flex: 0 1 calc(100% / 3 - 50px);
    margin: 15px;
    max-width: calc(100% / 3 - 50px);
    padding: 30px;
    text-align: center;
}

.gmk-tips-single p {
    font-size: 18px;
}

.gmk-tips-single-icon svg {
    height: auto;
    max-width: 100px;
}

#scroll-top:hover {
    cursor: pointer;
}

/* 404 Styling */

body.error404 header,
body.error404 footer {
    display: none;
}

.container-404 {
    background: url('assets/img/404-bg.jpg');
    background-position: center;
    background-size: cover;
    height: 100vh;
    width: 100vw;
}

.inner-404 {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.infos-404 {
    backdrop-filter: blur(20.0389995575px);
    --webkit-backdrop-filter: blur(20.038999557495117px);
    background-color: rgba(255, 255, 255, 0.75);
    height: 50%;
    margin: auto;
    padding: 50px;
    width: 50%;
}

.infos-404 p {
    margin: 25px 0;
}

/* Google Maps Iframe */

#map-iframe {
    height: 400px;
}

.iframe-container {
    position: relative;
}

.iframe-overlay {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.iframe-container, #show-iframe-button {
    margin-top: 25px;
}

.dsgvo-row p {
    margin: 15px 0;
}

.dsgvo-row h4 {
    font-size: 28px;
    font-weight: 400;
    text-transform: none;
}

/* Responsive Landscape */
@media screen and (max-width: 1000px) and (orientation: landscape) {

    .gmk-hero-container {
        height: initial;
    }

    .gmk-brands-inner {
        padding: 30px;
    }

    .gmk-brands-wrap {
        justify-content: space-between;
        width: 100%;
    }

    .slider-popup-inner {
        height: initial;
    }

    .service-checker-popup {
        overflow-y: scroll;
    }

    .gmk-portfolio-teaser-infos {
        display: block;
        text-align: center;
        width: 100%;
    }

    .gmk-productteasers-single {
        flex: 0 1 calc(100% / 2 - 15px)!important;
        max-width: calc(100% / 2 - 15px)!important;
    }

}

/* Responsive */
@media screen and (max-width: 1300px) {
    .header-logo-container {
        display: none;
    }
}

@media screen and (max-width: 900px) {

    .only-mobile {
        display: flex;
    }

    #site-header {
        padding: 15px 30px;
    }

    .header-logo-container {
        flex-direction: column;
    }

    .logo-group span {
        font-size: 12px;
    }

    #header-logo {
        max-width: 250px;
    }

    .menutoggle {
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7.5px;
        width: 50px;
        height: 50px;
    }

    .menutoggle {
        cursor: pointer;
        height: 40px;
        margin: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        position: relative;
        transition: .5s ease-in-out;
        transform: rotate(0deg);
        width: 40px;
    }

    .menutoggle .stripe {
        display: block;
        position: absolute;
        height: 2.5px;
        width: 100%;
        background: #000;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }


    .menutoggle .stripe:nth-child(1) {
        top: 0px;
    }

    .menutoggle .stripe:nth-child(2),.menutoggle .stripe:nth-child(3) {
        top: 13px;
    }

    .menutoggle .stripe:nth-child(4) {
        top: 26px;
    }

    .menutoggle.active .stripe:nth-child(1) {
        top: 18px;
        width: 0%;
        left: 50%;
    }

    .menutoggle.active .stripe:nth-child(2) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .menutoggle.active .stripe:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .menutoggle.active .stripe:nth-child(4) {
        top: 18px;
        width: 0%;
        left: 50%;
    }

    .menutoggle {
        display: block;
        /* left: 50%; */
        margin-top: 10px;
        /* position: absolute; */
        /* top: 50%; */
        width: 36px;
        /* transform: translate(-50%,-50%);   */
      }
      
      .menutoggle:before,
      .menutoggle:after {
        background-color: #000;
        content: '';
        display: block;
        height: 2px;
        transition: all 200ms ease-in-out;
      }
      .menutoggle:before {
        box-shadow: 0 10px 0 #000;
        margin-bottom: 18px;
      }
      .menutoggle.active:before {
        box-shadow: 0 0 0 #000;
        transform: translateY(8px) rotate(45deg);
      }
      .menutoggle.active:after{
        transform: translateY(-12px) rotate(-45deg);
      }

    .main-navigation {
        display: none;
    }

    .main-navigation.active {
        background: #FFF;
        display: block;
        position: absolute;
        right: 0;
        top: 70px;
        width: 100%;
        z-index: 99999;
    }

    .main-navigation .menu-mainmenu-container .menu {
        display: flex;
        padding: 30px;
    }

    .main-navigation .menu-mainmenu-container .menu {
        display: flex;
        flex-direction: column;
    }

    .gmk-hero-container {
        height: initial;
    }

    .gmk-hero-slide-infos {
        padding: 15px;
    }


    .gmk-hero-slide-text {
        padding: 15px;
        width: initial;
    }

    .gmk-hero-slide-infos .slide-headline {
        font-size: 40px;
        line-height: 40px;
    }

    .gmk-productteasers-inner {
        justify-content: center;
    }

    .gmk-productteasers-inner,
    .gmk-text-inner,
    .gmk-services-inner,
    .gmk-brands-inner,
    .gmk-branches-wrap,
    .gmk-tips-inner {
        padding: 30px;
    }

    .gmk-productteasers-wrap,
    .gmk-services-wrap,
    .gmk-brands-wrap,
    .footer-contact,
    .footer-menus-container,
    .gmk-branches-wrap,
    .gmk-tips-inner {
        flex-direction: column;
    }

    .gmk-productteasers-single,
    .gmk-services-single,
    .gmk-brands-single,
    .col-3,
    .gmk-branches-single,
    .gmk-tips-single {
        flex: initial;
        max-width: 100%;
    }

    .gmk-branches-single {
        margin: 15px 0;
    }
    
    .gmk-tips-wrap {
        padding: 0px;
    }

    .gmk-tips-single {
        margin: 15px 0;
    }

    .gmk-text-infos {
        width: initial;
    }

    .service-infos {
        padding: 30px;
    }

    .service-link {
        padding-left: 30px;
    }

    .service-link span {
        font-size: 18px;
    }

    .gmk-brands-wrap {
        gap: 35px;
        width: 100%;
    }

    .footer-top-container {
        padding: 30px;
    }

    .footer-contact {
        gap: 35px;
    }

    .footer-menu h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .footer-bottom-container {
        flex-direction: column;
        padding: 15px 30px;
        position: relative;
    }

    #scroll-top {
        position: absolute;
        right: 15px;
        top: calc(50% - 15px);
    }

    .gmk-portfolio-teaser {
        padding: 30px;
    }

    .gmk-portfolio-teaser-infos {
        flex-direction: column;
        width: 100%;
    }

    .gmk-portfolio-hero {
        gap: 0;
        padding: 30px;
    }

    .gmk-portfolio-hero-text {
        width: 100%;
    }

    .gmk-portfolio-teaser-text a {
        text-align: center;
        width: 100%;
    }

    .gmk-portfolio-hero-categories {
        justify-content: space-between;
        width: 100%;
    }

    .gmk-portfolio-category {
        flex: 0 1 calc(100% / 2 - 15px);
        max-width: calc(100% / 2 - 15px);
    }

    .gmk-portfolio-products-wrap {
        margin-top: 30px;
        padding: 30px;
    }

    /* Reset Hover Animations */

    .gmk-productteasers-single:hover .teaser-overlay {
        opacity: 0;
    }

    .gmk-productteasers-single.tap-active .teaser-overlay {
        opacity: 1;
    }

    .gmk-productteasers-wrap .gmk-productteasers-single:hover .product-teaser-infos h4, .gmk-productteasers-single:hover .product-teaser-infos h3 {
        color: #000;
    }

    .gmk-productteasers-wrap .gmk-productteasers-single.tap-active .product-teaser-infos h4, .gmk-productteasers-single.tap-active .product-teaser-infos h3 {
        color: #FFF;
    }

    .gmk-services-single:hover .service-hover-overlay {
        opacity: 0;
    }

    .gmk-services-single.tap-active .service-hover-overlay {
        opacity: 0.9;
    }

    .product-cta {
        padding-bottom: 20px;
        position: static;
    }

    .product-cta .teaser-arrow {
        position: absolute;
        z-index: 5;
    }

    .portfolio-teaser .product-teaser-information-text {
        height: 50%;
    }

    .gmk-productteasers-single:hover .product-teaser-infos h4, .gmk-productteasers-single:hover .product-teaser-infos h3 {
        color: #000;
    }

    .gmk-productteasers-single.tap-active .product-teaser-infos h4, .gmk-productteasers-single.tap-active .product-teaser-infos h3 {
        color: #FFF;
    }

    .gmk-portfolio-products-wrap .gmk-productteasers-single:hover .product-teaser-headline {
        display: block;
    }

    .gmk-portfolio-products-wrap .gmk-productteasers-single.tap-active .product-teaser-headline-hover {
        display: block;
    }

    .gmk-productteasers-single:hover .product-teaser-information, .gmk-productteasers-single:hover .product-cta-label {
        opacity: 0;
    }

    .gmk-productteasers-single.tap-active .product-teaser-information, .gmk-productteasers-single.tap-active .product-cta-label {
        opacity: 1;
    }

    .gmk-productteasers-single:hover .product-cta .teaser-arrow .envelope-svg {
        display: none;
    }

    .gmk-productteasers-single.tap-active .product-cta .teaser-arrow .envelope-svg {
        display: block;
    }

    .gmk-productteasers-single:hover .product-cta .teaser-arrow .arrow-svg {
        display: block;
    }

    .gmk-productteasers-single.tap-active .product-cta .teaser-arrow .arrow-svg {
        display: none;
    }

    .gmk-portfolio-products-wrap .gmk-productteasers-single:hover .product-teaser-infos img {
        opacity: 1;
    }

    .gmk-portfolio-products-wrap .gmk-productteasers-single.tap-active .product-teaser-infos img {
        opacity: 0;
    }

    .portfolio-teaser .product-teaser-infos img {
        /*margin: 75px 0;*/
        max-width: 100%;
    }

    .gmk-portfolio-category.active-filter:after {
        height: 100%;
    }

    .service-checker-inner {
        padding: 0 30px;
    }

    .service-checker-popup-inner {
        justify-content: center;
        margin: 0;
        overflow-y: scroll;
        padding: 30px;
        width: initial;
    }

    .service-checker-left {
        bottom: 10%;
        flex-direction: column;
        gap: 5px;
        left: 5px;
        position: fixed;
    }

    .service-checker-left a {
        background-color: #000;
        border-radius: 50%;
        height: 50px;
        padding: 15px;
        width: 50px;
    }

    .service-checker-left a svg g path,
    .service-checker-left a svg path {
        fill: #FFF;
    }

    .service-checker-left a span {
        display: none;
    }

    .service-checker-right {
        justify-content: space-between;
        width: 100%;
    }

    .service-checker-right p {
        font-size: 14px;
    }

    .slider-popup-inner {
        height: initial;
        width: initial;
    }

    .slider-popup-button {
        bottom: 15px;
        right: 15px;
    }

    .slider-popup-button:before,
    .slider-popup-button:after,
    .popup-ring:before {
        display: none;
    }

    .slider-indicators {
        bottom: 15px!important;
        display: block!important;
    }

    .slider-indicators-round .slider-indicators>* {
        height: 14px!important;
        width: 14px!important;
    }

    .gmk-history-intro {
        padding: 0 30px;
        width: initial;
    }

    .gmk-tips-inner-text {
        width: 100%;
    }

    .infos-404 {
        height: initial;
        width: initial;
    }

    .header-logo-kmw-container img {
        max-width: 200px;
    }

}
