@charset "UTF-8";
/*
Theme Name: Höke Augenoptik
Author: SIGN+DESIGN Werbeagentur
Author URI: https://www.signunddesign.com/
Description:
Version: 2.1
*/

/*Global Reset*/

body,html,h1,h2,h3,h4,h5,h6,p,ul,ol,li{padding:0;margin:0;}
body,html{overflow: unset!important;width:100%;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}

/* ########## Fonts ++ WICHTIG font-display: swap; ++ ########## */


/* ########## Variables ########## */

* {
    --font-family: "Open Sans", sans-serif;
    --transition: .2s ease;
    --wrp-width: 1520px;
    --font-size: 16px;
    --line-height: calc(var(--font-size) * 1.6);
    --box-shadow: 0px 5px 13px 0px rgba(0, 0, 0, 0.3);
    --border-radius: 15px;
    --primary-color: #E8E4D7;
    --secondary-color: #f2920d;
    --text-color: #1D232F;
    --text-color-hover: #5a5a61;
    --text-color-white: #ffffff;
    --border-color: #333333;
}

/* ########## Globals ########## */
body.nav-open {overflow: hidden !important;}

html {scroll-behavior: smooth;}
body {font-size: var(--font-size); font-family: var(--font-family), sans-serif; line-height: var(--line-height); color: var(--text-color);}
img {-ms-interpolation-mode:bicubic; vertical-align: bottom;}
/*svg {width: 100%; height: 100%;}*/
hr {border:none;height:1px;background:#ddd; margin:0;}

.wrp {max-width: var(--wrp-width); width: 90%; margin: 0 auto; position:relative; box-sizing:border-box;}

/* Margins */

.mb {margin-bottom: 100px;}
.mb20 {margin-bottom: 20px;}
.mb50 {margin-bottom: 50px;}
.mtfooter {margin-top: 150px;}

@media (max-width: 500px) {
  .mb {margin-bottom: 50px;}
  .mb50 {margin-bottom: 25px;}
}

/* Page Build */

main.withsidebar .page-build {display: grid; grid-template-columns: 70% 25%; align-items: flex-start; justify-content: space-between; max-width: var(--wrp-width); width: 90%; margin: 0 auto;}
main.withsidebar .content .wrp {width: 100%;}

@media (max-width: 1024px) {
    main.withsidebar .page-build {grid-template-columns: 100%;}
    main.withsidebar .page-build .sidebar {display: none;}
}

/* Typo Styles */

h1{margin:0;}
h2{margin:0;}
h3{margin:0;}

a {text-decoration: none; outline:none !important; color: var(--text-color); transition: var(--transition);position: relative;}
a:hover {color: var(--secondary-color); transition: var(--transition);}

.btn {padding: 10px 16px; border-radius: 5px; background: var(--primary-color); /*display: inline-block;*/}

p {margin-bottom: var(--line-height);}
p:last-child {margin-bottom: 0;}
address {font-style: normal; font-size: 14px; color: var(--text-color);}
address a {display: block;}
ol, ul {margin-bottom: var(--line-height);}
li {margin-left: 20px;}

/* ########## Mainnav ########## */

#mainnav ul.mainnav.smart {display:none;}
#mainnav {display: block; transform: translate(0);}
#mainnav ul.mainnav.desktop li {list-style-type: none; font-size: 18px; margin-left: 40px;}
#mainnav ul.mainnav.desktop li:first-child {margin-left:0;}
#mainnav ul.mainnav.desktop li a{display:block; color: var(--text-color); transition: var(--transition); padding: 30px 0;}
#mainnav ul.mainnav.desktop li a:hover, #mainnav ul > li.current-menu-item > a{color: var(--text-color-hover); transition: var(--transition);}

/* Submenu */

@media (min-width: 1025px){

    #mainnav ul.mainnav.desktop {display: flex; align-items: center; margin: 0;}
    html.scrolled #mainnav ul.mainnav li a {padding: 15px 0; transition: var(--transition);}

    html.scrolled svg {width: 80%; height: 80%;}


    #mainnav ul.mainnav li.menu-item-has-children {position: relative;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu {position: absolute; top: 65px; left: 0; display: block; height: auto; max-height: 0; overflow: hidden;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li {width:200px; height: 100%; padding: 8px 0 8px 7px; transition: 0.8s ease; background: #f5f5f5; margin: 0;}
    #mainnav ul.mainnav li.menu-item-has-children:hover > ul.sub-menu {max-height: 674px; padding: 0; overflow: visible; margin-top: -6px;}

    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li:hover {background: var(--primary-color);}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li:hover a {color: var(--text-color-hover);}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li a {padding: 3px;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li:last-child {margin-bottom: 0;}

    /* Zweite Ebene */

    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu {position: absolute; left: 100%; top: 6px; overflow: hidden;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children:hover ul.sub-menu {overflow: visible;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu li {background: #f5f5f5;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu li a {color: var(--text-color);}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu li:hover a {color: var(--primary-color);}

    /* Desktop ausblenden */

    #mainnav .head,
    #mainnav address.contact,
    #mainnav ul.mainnav li.back {display: none;}
}

@media (max-width: 1024px) {

    .mainnav.desktop {display: none;}

    /* Offcanvas */

    #mainnav ul.mainnav.smart {display:block;}
    #mainnav {position: fixed; top: 49px; right: 0; bottom: 0; background: #fff; width: 100%; max-width: 500px; transform: translateX(103%); transition: var(--transition); box-shadow: var(--box-shadow); z-index: 2;}
    #mainnav.active {transform: translateX(0); transition: var(--transition);}
    #mainnav .head {display: grid;grid-template-columns: auto auto 55px; align-items: center; padding: 20px; box-sizing: border-box; box-shadow: 0 0 10px rgba(0,0,0,0.1);}
    #mainnav .head p {margin: 0; font-size: 25px; color: var(--text-color);}
    #mainnav .head .buttons {display: flex; justify-content: center;justify-self: end;}

    #mainnav .head .buttons a {width: 50px; height: 50px; border-radius: 2px; background: #f5f5f5; margin-left: 5px; display: flex; align-items: center; justify-content: space-around; }
    #mainnav .head .buttons a:first-child {margin-left: 0;}
    #mainnav .head .buttons a svg {width: 25px; height: 25px;}
    #mainnav .head .buttons a svg g path {stroke: #a4a4a4;}

    /* Submenu */

    #mainnav ul.mainnav.smart {display: block;}
    #mainnav ul.mainnav li {padding: 0; box-sizing: border-box; margin: 0; background: #efefef; border-bottom: 1px solid #dedede; list-style-type: none;}
    #mainnav ul.mainnav li a {font-size: var(--font-size); padding: 10px 45px 10px 5%; display: block;}

    #mainnav .opensubnav {cursor: pointer; width: 49px; height: 46px; position: absolute; right: 0; background: #fff; display: block; z-index: 100; box-sizing: border-box;}
    #mainnav .opensubnav.active {background: var(--secondary-color);}
    #mainnav .opensubnav:after  {content: ''; transform: rotate(-45deg) translate(-50%, -50%); border: solid var(--secondary-color); border-width: 0 2px 2px 0; display: inline-block; padding: 3px; left: 50%; top:42%; position: absolute; transition: var(--transition);}
    #mainnav .opensubnav.active:after  {content: ''; transform: rotate(45deg); -webkit-transform: rotate(45deg);  border: solid #fff; border-width: 0 2px 2px 0; left: 19px; top:18px; transition: var(--transition);}

    #mainnav address.contact {padding: 5%; box-sizing: border-box; display: block;}

    /* Offcanvas Sub Layer 1 */

    #mainnav li.menu-item-has-children ul.sub-menu {display: none; transition: var(--transition); margin-bottom: 0;}
    #mainnav li.menu-item-has-children.active ul.sub-menu {display: block;}
    #mainnav li.menu-item-has-children.active ul.sub-menu li a {background: #fff; padding-left: 10%;}
    #mainnav li.menu-item-has-children.active ul.sub-menu li ul.sub-menu li a {padding-left: 15%;}

    /* Offcanvas Sub Layer 2 */

    #mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children .opensubnav {background: #f5f5f5;}
    #mainnav li.menu-item-has-children.active ul.sub-menu li.menu-item-has-children ul.sub-menu {display: none; transition: var(--transition);}
    #mainnav li.menu-item-has-children.active ul.sub-menu li.menu-item-has-children.active ul.sub-menu {display: block; transition: var(--transition);}

    #mainnav ul.offcanvas-menu li.back a:before {display: none;}

    /* Mainnav Toggle */

    .mainnav-toggle {border-radius: 2px; display: block!important; position: relative; z-index: 10;width: 50px;height: 50px;background: var(--primary-color);box-shadow:none; transition: var(--transition);}
    .mainnav-toggle.off {border-radius: 2px; display: block!important; position: absolute; z-index: 10; top: 50%; right: 0;transform: translateY(-50%);width: 50px;height: 50px;background: var(--primary-color);box-shadow: 1px 2px 10px 0px rgba(0,0,0,0.3); transition: var(--transition);}
    .mainnav-toggle.off.active {display:none!important}
    .mainnav-toggle .btn-mainnav-toggle {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 35px;cursor: pointer;}
    .mainnav-toggle .btn-mainnav-toggle span {display: block;width: 100%;box-shadow: 0 2px 10px 0 rgba(0,0,0,0.3);border-radius: 4px;height: 2px;background: #fff;transition: all .3s;position: relative;}
    .mainnav-toggle .btn-mainnav-toggle span + span {margin-top: 7px;}
    .mainnav-toggle .btn-mainnav-toggle.active span + span {margin-top: 13px;}
    .mainnav-toggle .btn-mainnav-toggle.active span:nth-child(1) {animation: ease .7s top forwards;}
    .mainnav-toggle .btn-mainnav-toggle.not-active span:nth-child(1) {animation: ease .7s top-2 forwards;}
    .mainnav-toggle .btn-mainnav-toggle.active span:nth-child(2) {animation: ease .7s scaled forwards;}
    .mainnav-toggle .btn-mainnav-toggle.not-active span:nth-child(2) {animation: ease .7s scaled-2 forwards;}
    .mainnav-toggle .btn-mainnav-toggle.active span:nth-child(3) {animation: ease .7s bottom forwards;}
    .mainnav-toggle .btn-mainnav-toggle.not-active span:nth-child(3) {animation: ease .7s bottom-2 forwards;}

    @keyframes top { 0% {top: 0; transform: rotate(0);} 50% {top: 15px;transform: rotate(0);} 100% {top: 15px;transform: rotate(45deg);} }
    @keyframes top-2 { 0% {top: 15px;transform: rotate(45deg);} 50% {top: 15px;transform: rotate(0deg);} 100% {top: 0;transform: rotate(0deg);} }
    @keyframes bottom { 0% {bottom: 0;transform: rotate(0);} 50% {bottom: 15px;transform: rotate(0);} 100% {bottom: 15px;transform: rotate(135deg);} }
    @keyframes bottom-2 { 0% {bottom: 15px;transform: rotate(135deg);} 50% {bottom: 15px;transform: rotate(0);} 100% {bottom: 0;transform: rotate(0);} }
    @keyframes scaled { 50% {transform: scale(0);} 100% {transform: scale(0);} }
    @keyframes scaled-2 { 0% {transform: scale(0);} 50% {transform: scale(0);} 100% {transform: scale(1);} }

    #mainnav-overlay {position: fixed; top: 0; right: 0; left: 0; bottom: 0; background: rgba(0,0,0,0.2); backdrop-filter: blur(7px); opacity: 0; z-index: -5; transition: var(--transition); visibility: hidden;}
    #mainnav-overlay.active {opacity: 1; z-index: 1; visibility: visible; transition: var(--transition);}
}

/* ########## Header ########## */

header {position: fixed; top: 0; width: 100%; z-index: 10; box-sizing: border-box; background: #fff; box-shadow: var(--box-shadow);}
header .header-grid {display: grid; grid-template-columns: 200px auto; grid-template-rows: auto; justify-items: start; align-items: center; justify-content: space-between;}
header .header-grid .logo {width: 100%;}
header .header-grid .logo a {display: flex; align-items: center;}
header .header-grid .mainnav-toggle {display: none;justify-self: end;}

/* Kopfbereich Startseite / Unterseite  */

.stage {aspect-ratio: 3/1; width: 100%; min-height: 400px; position: relative; margin-top: 118px;}
.stage .wrp {position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;}
.stage img {width: 100%; height: 100%; object-fit: cover; object-position: center;}

.stage video {width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;}
.stage .stage-content {width: 450px; max-width: 100%;}

.videooverlay {position: absolute;top: 0;left: 0;right: 0;bottom: 0;width: 100%;height: 100%;background: #000;opacity: 0.35;}


.stage.subpage {aspect-ratio: 3/.7; width: 100%; position: relative;min-height: 300px; max-height: 360px;}
.introblock h1 {font-size: 40px; font-weight: 400; color: #fff;}

@media (max-width: 768px) {
    .stage {margin-top: 80px; min-height: 250px;}
    .stage.subpage {min-height: 200px;}
    .stageblog {margin-top: 120px;}
}

header .toprow {background: var(--primary-color);height: 41px;width: 100%;z-index: 11;position: relative;}
.toprow .wrp {position: relative;}
.toprow .wrp .mainnav {display: flex;justify-content: flex-end; gap: 40px;}
.toprow span {font-size: 12px;}
.toprow .phone {display: flex;gap: 5px;margin-top: 7px;}
.toprow .oeffnungszeiten {margin-top: 7px;margin-right: 9px;}
.toprow .oeffnungszeiten #oeffnungszeiten-toggle {cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 8px; position: relative;}
.toprow .oeffnungszeiten #oeffnungszeiten-toggle:after {content: '▼'; font-size: 8px; transition: var(--transition);position: absolute;right: -11px;top: 2px;}

.toprow .oeffnungszeiten #oeffnungszeiten-toggle:hover {color: var(--secondary-color);}
.toprow .oeffnungszeiten #oeffnungszeiten-toggle.active {color: var(--secondary-color);}
.toprow .oeffnungszeiten #zeiten {background: var(--primary-color); padding: 15px 20px; border-radius: 5px; margin-top: 10px; font-size: 14px; min-width: 200px; position: absolute; top: 41px; right: 0; z-index: 100;}
.toprow .phone svg {width: 20px;height: 20px;margin-top: 3px;}

.zeitengrid {display: grid;grid-template-columns: 30% 1fr; gap: 10px; color: var(--text-color); font-size: 14px;}
.zeitengrid span {font-size: 14px;}



.highlight-stage {margin-top: -200px;}
.highlight-stage .highlight-stage-grid {display: grid; grid-template-columns: 38% 38% auto; gap: 40px;}

.highlight-stage .highlight-stage-grid .default-teasercard-item p {color: var(--text-color-white);}
.highlight-stage .highlight-box {background: var(--primary-color); color: var(--text-color-white); border-radius: var(--border-radius); padding: 20px 30px;}
.highlight-stage .highlight-box .highlight-box-content h2 {font-size: 18px; color: var(--text-color); line-height: 34px;}
.highlight-stage .highlight-box .highlight-box-content p {color: var(--text-color); font-size: 14px;}
.highlight-stage .highlight-box .highlight-box-content a {background: var(--text-color); color: var(--text-color-white);}

@media (max-width: 1024px) {
    .highlight-stage .highlight-stage-grid {grid-template-columns: 1fr 1fr; gap: 20px;}

}

@media (max-width: 600px) {
    .highlight-stage .highlight-stage-grid {grid-template-columns: 100%;}
    .highlight-stage {margin-top: 0;}
}

.default-teasercard-item {position: relative; border-radius: var(--border-radius); overflow: hidden; padding: 0;background: #fff;}
.default-teasercard-item .teasercard-content {height: 255px;}
.default-teasercard-item .img-wrp {width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0;}
.default-teasercard-item .img-wrp img {transition: var(--transition);}
.default-teasercard-item .img-wrp .teasergradient {position: absolute; top: 0; left: 0; right: 0; bottom: 0;}
.default-teasercard-item:hover .teaserbtn:before, .default-teasercard-item:hover .teaserbtn:after {width: calc(100% + 10px); transition: var(--transition);}

.teasercard-item.default-teasercard-item .teasercard-content a {position: absolute;bottom: 35px;}

/* ########## Content ########## */

/* Text */

.text.multiple-col .wrp {-webkit-columns: 2 350px; -moz-columns: 2 350px; columns: 2 350px; -webkit-column-gap: 4em; -moz-column-gap: 4em; column-gap: 4em;}
.text.align-center {text-align: center;}
.text h2 {font-size: 40px; font-weight: 400; line-height: 44px;}

/* Text Bild */

.textbild .wrp {display: grid; justify-content: space-between; box-sizing: border-box; background: #fff;}
.textbild .text {border-radius: 5px 0 0 5px; box-sizing: border-box;}
.textbild .bild {width: 100%; height: 100%;}
.textbild .bild img {width: 100%; height: 100%; object-fit: cover; border-radius: 5px;}
.textbild h2.titel {font-size: 24px; font-weight: 400;}
.textbild a {font-size: 14px;border-bottom: 1px dotted var(--text-color);}

@media (max-width: 768px) {
    .textbild .text {order: 1!important;}
    .textbild .bild {order: 2!important;}
    .textbild .wrp {grid-template-columns: 100%!important; gap: 50px;}
}

/* Teasercards */

.teasercards .cards.no-carousel {display: grid; grid-column-gap: 50px; grid-row-gap: 50px; margin: 0;}
.teasercards .cards.no-carousel li {list-style-type: none; margin: 0;}
.teasercards .splide ul.cards {display: flex; grid-column-gap: unset;}

.teasercard-item .img-wrp {width: 100%; aspect-ratio: 2/1.5; display: block;}
.teasercard-item .img-wrp img {width: 100%; height: 100%; object-fit: cover; border-radius: 5px;}


.teasercard-item .img-wrp.filter {position: relative;width: 100%;height: 400px;}
.teasercard-item .img-wrp.filter img {width: 100%;height: 100%;object-fit: cover;opacity: 55%;}
.teasercard-item .img-wrp.filter::after {content: '';position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);}
.teasercard-content {position: absolute;z-index: 2;color: var(--text-color);padding: 20px 40px;bottom: 0;left: 0;right: 0;width: 100%;box-sizing: border-box;background: linear-gradient(90deg, rgba(179, 176, 172, 0.7) 0%, rgba(207, 203, 195, 0.7) 50%, rgba(234, 229, 216, 0.7) 100%);}
.teasercard-content h3 {font-size: 40px; font-weight: 300;}
.teasercard-content p {font-size: 20px;}


.teasercard-item .teasercard-content {display: block;}
.teasercard-item .teasercard-content h3 {font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--text-color-white);}
.teasercard-item .teasercard-content .btn {display: inline-block;}

.splide__arrow--next {right:-5%!important}
.splide__arrow--prev {left:-5%!important}

@media (max-width: 1024px) {
    .teasercards .cards.no-carousel {grid-template-columns: repeat(2, 1fr)!important;}
    .default-teasercard-item .teasercard-content {height: 100%;}
    .teasercard-item .img-wrp.filter {height: 100%;}
}


@media (max-width: 850px) {
    .highlight-stage .highlight-stage-grid .default-teasercard-item p {font-size: 16px;}
    .teasercard-content {padding: 20px;}
    .teasercard-content p{margin-bottom: 0; line-height: 22px;}
}

@media (max-width: 500px) {
    .teasercards .cards.no-carousel {grid-template-columns: 100% !important;}
}


/* teasercards_icon */
.teasercards_icon .wrp {display: grid; grid-template-columns: repeat(3, 1fr);gap: 60px;}
.teasercards_icon .wrp .card {display: grid;grid-template-columns: 60px 1fr;align-items: start;}
.teasercards_icon .wrp .card .content {padding: 0 20px 0 0;}
.teasercards_icon .wrp .card .content p {font-size: 14px; line-height: 22px;}
.teasercards_icon .wrp .card .content a {font-size: 14px; border-bottom: 1px dotted var(--text-color);}
.teasercards_icon .wrp .card .content h3 {font-size: 18px; font-weight: normal;}
.teasercards_icon .wrp .card .icon {width: 36px;}
.teasercards_icon .wrp .card .icon img {width: 100%;}

@media (max-width: 1024px) {
    .teasercards_icon .wrp {grid-template-columns: repeat(2, 1fr); gap: 40px;}
}

@media (max-width: 600px) {
    .teasercards_icon .wrp {grid-template-columns: 100%; gap: 30px;}
}

/* stoerer */
.stoerer {min-height: 400px;background: #B3B0AC;background: linear-gradient(90deg, rgba(179, 176, 172, 1) 0%, rgba(207, 203, 195, 1) 50%, rgba(234, 229, 216, 1) 100%);}
.stoerer .wrp {display: grid; grid-template-columns: 40% auto; gap: 50px;}
.stoerer .wrp .content {padding: 60px 50px 60px 0;}
.stoerer .wrp .bild {min-height: 400px;}
.stoerer .wrp .content h3 {font-size: 40px; font-weight: 400;line-height: 45px;}
.stoerer .wrp .content .utitel {font-size: 24px; font-weight: 400;}

@media (max-width: 768px) {
    .stoerer .wrp {grid-template-columns: 100%; gap: 0;}
    .stoerer .wrp .content {padding: 30px 20px;}
    .stoerer .wrp .bild {min-height: 250px;}
}

/* Image */

.image img {display:block; width:100%; height:auto;}

.bildtrenner {width:100%; aspect-ratio: 3/1; overflow: hidden; position: relative;}
.bildtrenner img {width:100%; height: 100%; object-fit: cover; object-position: center;}
.bildtrenner .wrp {position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;}

/* Galerie */

.gallery .glightbox-gallery:not(.masonry) {display: grid; gap: 50px; margin-bottom: 0;}
.gallery .glightbox-gallery li {list-style-type: none; margin: 0 0 25px 0; border-radius: 5px;overflow: hidden; aspect-ratio: 1;}
.gallery .glightbox-gallery:not(.masonry) li {margin: 0;}
.gallery .glightbox-gallery li a {position: relative; display: block; overflow: hidden; height: 100%;}
.gallery .glightbox-gallery li a .overlay {width: 100%; position: absolute; height: 100%; top: 0; left: 0; right: 0; bottom: 0; background: var(--secondary-color); opacity: 0; transition: var(--transition);}
.gallery .glightbox-gallery li a:hover .overlay {opacity: 0.6; transition: var(--transition);}
.gallery .glightbox-gallery li a .overlay .icon-wrp {position: absolute; top: 50%; left: 50%; width: 45px; height: 45px; transform: translate(-50%, -50%);}
.gallery .glightbox-gallery li a .overlay .icon-wrp svg {width: 100%; height: 100%; transform: scale(0); transition: var(--transition);}
.gallery .glightbox-gallery li a .overlay .icon-wrp svg path {fill: #fff;}
.gallery .glightbox-gallery li a:hover .overlay .icon-wrp svg { transform: scale(1); transition: var(--transition);}
.gallery .glightbox-gallery li img {width: 100%; height: 100%; object-fit: cover;}
.gallery .glightbox-gallery.masonry {gap: 25px; columns: 4; margin: 0 auto;}

.gallery .video-gallery-grid {display: grid; grid-column-gap: 50px; grid-row-gap: 50px;}
.gallery .video-gallery-grid .video-gallery-item {height: 220px; width: 100%; display: block; position: relative; overflow: hidden;}
.gallery .video-gallery-grid .video-gallery-item .overlay {width: 100%; position: absolute; height: 100%; top: 0; left: 0; right: 0; bottom: 0; background: var(--secondary-color); opacity: 0; transition: var(--transition); z-index: 4;}
.gallery .video-gallery-grid .video-gallery-item:hover .overlay {opacity: 0.6; transition: var(--transition);}
.gallery .video-gallery-grid .video-gallery-item .overlay .icon-wrp {position: absolute; top: 50%; left: 50%; width: 45px; height: 45px; transform: translate(-50%, -50%);}
.gallery .video-gallery-grid .video-gallery-item .overlay .icon-wrp svg {width: 100%; height: 100%; transform: scale(0); transition: var(--transition);}
.gallery .video-gallery-grid .video-gallery-item .overlay .icon-wrp svg path {fill: #fff!important;}
.gallery .video-gallery-grid .video-gallery-item:hover .overlay .icon-wrp svg { transform: scale(1); transition: var(--transition);}
.gallery .video-gallery-grid .video-gallery-item img {height: 100%; width: 100%; object-fit: cover; object-position: center; transform: scale(1.2);}


@media (max-width: 1024px) {
  .gallery .glightbox-gallery {grid-template-columns: repeat(4, 1fr)!important;}
  .gallery .video-gallery-grid {grid-template-columns: repeat(2, 1fr)!important;}
  .gallery .filterrow {display: grid; grid-template-columns: 100%; gap: 25px;}
  .gallery .filterrow #filter {flex-wrap: wrap;}
}

@media (max-width: 550px) {
  .gallery .video-gallery-grid {grid-template-columns: 100%!important;}
  .gallery .glightbox-gallery {grid-template-columns: repeat(2, 1fr)!important;}
}

/* oEmbed */

.embed .respo-video{position: relative;height: 0;overflow: hidden;}
.embed .respo-video iframe {position: absolute; top: 0; left: 0; width: 100%;	height: 100%;}
.embed .respo-video ._brlbs-cb-youtube {margin-bottom: -56.25%;}

/* Accordion */

.accordion .item-accordion-head {cursor: pointer; position: relative; background: #f2f2f2; margin-bottom:10px; padding:10px 25px 10px 10px; border:1px solid #f2f2f2;}
.accordion .active .item-accordion-head {background-color:#f8f8f8}
.accordion .item-accordion-btn {width: 26px; height: 26px;float: right; margin: 0; cursor: pointer; position: absolute; right: 5px; top: 50%; transform: translateY(-50%);}
.accordion .item-accordion-btn:before {content: '+'; color: #555; position: absolute; width: 26px; height: 26px; text-align: center; line-height: 22px; font-size: 24px;}
.accordion .item-accordion {margin-bottom: 5px; }
.accordion .item-accordion.hidden .item-accordion-btn:before {content: '+'; line-height: 26px;}
.accordion .item-accordion.active .item-accordion-btn:before {content: '-'; line-height: 22px; }
.accordion .item-accordion.hidden.active .item-accordion-btn:before {content: '-'; line-height: 22px;}
.accordion .item-accordion.hidden .item-accordion-content {display: none;padding:20px 20px;background:#f8f8f8;margin-bottom:10px;}
.accordion .item-accordion.hidden .item-accordion-content:after {display:block;width: 0;height: 0;border-right: 100px solid #037CA9;border-top: 50px solid transparent;border-bottom: 50px solid transparent;}

/* ########## Blog + Sidebar ########## */

main.withsidebar .content .blog-grid {display: grid; grid-template-columns: repeat(3, 1fr); grid-column-gap: 50px; grid-row-gap: 50px;}
main.withsidebar .content .blog-grid .post {width: 100%;}
main.withsidebar .content .blog-grid .post img {width: 100%; height: auto; object-fit: cover; border-radius: 5px;}

.stageblog h1 {font-size: 40px;font-weight: 400;}
article.singlepost .post-image {}
article.singlepost .post-image img {width: 100%; height: auto; object-fit: cover;}

/* Sidebar */

main.withsidebar .sidebar {width: 100%; position: -webkit-sticky; position: sticky; top: 150px; background: #f5f5f5; padding: 25px; box-sizing: border-box;}

.stageblog {margin-top: 200px;}
.stageblog .header {}

.post-image {aspect-ratio: 3 / 1.5;width: 100%;background-size: cover;background-repeat: no-repeat; border-radius: 5px;}


@media (max-width: 1024px) {
    main.withsidebar .page-build .sidebar {display: none;}
}

@media (max-width: 768px) {
    main.withsidebar .content .blog-grid {grid-template-columns: repeat(2, 1fr);}
}

/* ########## Footer ########## */

/* ########## Footer ########## */

.contact-footer {padding: 50px 0; background: var(--text-color);}
.archive .contact-footer, .page-template-archive .contact-footer {background: #fff;}
.contact-footer .contact-row {display: grid; grid-template-columns: auto auto; justify-content: space-between;}
.contact-footer .contact-row h2 {margin: 0;}
.contact-footer .contact-row .contact-btn-wrp {display: flex; gap: 50px;}
.contact-footer .contact-row .contact-btn-wrp a {display: flex; gap: 20px; height: unset; color: var(--primary-color); font-weight: 600; font-size: 20px; line-height: 20px; align-items: center;}
.contact-footer .contact-row .contact-btn-wrp a span {display: block; width: 20px; height: 20px;}
.contact-footer .contact-row .contact-btn-wrp a span svg {width: 100%; height: 100%;}
.contact-footer .contact-row .contact-btn-wrp a span svg path {fill: var(--primary-color);}

footer {padding: 50px 0; background: var(--text-color); color: var(--text-color-white);}
footer .wrp {display: grid;grid-template-columns: 25% 25% 25% 25%;}
footer .footer-grid {display: grid; grid-template-columns: repeat(3,auto); justify-content: space-between;}
footer address {color: var(--text-color-white);}
footer address a {display: flex; align-items: center; gap: 15px; color: var(--text-color-white); margin-top: 10px; }
footer address a span {width: 20px; height: 20px; display: block;}
footer address a span svg {width: 100%; height: 100%;}
footer address a span svg path {fill: var(--gray-color)!important;}
footer address strong, footer h6 {display: block;}

footer .oeffnungszeiten .zeitengrid {color: var(--text-color-white);}

.footernav {display: flex; gap: 50px; margin-top: 45px;justify-content:end;}
.footernav ul {margin-bottom: 0;}


footer .bottom_nav {display: block;}
footer .bottom_nav.text-right {text-align: right;}
footer .bottom_nav li {list-style-type: none; margin: 0; font-size: 14px;}
footer .bottom_nav li a {color: var(--text-color-white);}

.social-flex {display: flex; align-items: center; justify-content: center; gap: 20px;}
.social-flex a {width: 32px; height: 32px; border-radius: 50px; background: var(--gray-color); display: grid; place-items: center;}
.social-flex a svg {width: 16px; height: 16px;}
.social-flex a svg path, footer .social-flex a svg rect {fill: var(--primary-color);}

@media (max-width: 1100px) {
    .contact-footer .contact-row {grid-template-columns: 100%; gap: 50px;}
}

@media (max-width: 900px) {
    footer .wrp {grid-template-columns: 1fr 1fr; gap: 30px;}
    footer .footer-grid {grid-template-columns: 100%; gap: 50px;}
    footer .bottom_nav {grid-column-gap: unset;}
    footer .social-links h6 {text-align: center;}
    .footernav {flex-wrap: wrap; gap: 20px;}
}

@media (max-width: 500px) {
    footer .wrp {grid-template-columns: 100%; gap: 30px;}
    .footernav {justify-content: start; margin-top: 20px;}
}

@media (max-width: 820px) {
    main.withsidebar .content .blog-grid {grid-template-columns: repeat(2, 1fr); gap: 25px;}
}

@media (max-width: 600px) {
    main.withsidebar .content .blog-grid {grid-template-columns: 100%;}
    .contact-footer .contact-row .contact-btn-wrp {flex-wrap: wrap; gap: 25px;}
    .contact-footer .contact-row .contact-btn-wrp a {flex-basis: 100%;}
}


/* Bottom */
.bottom {background: var(--text-color); padding: 15px 0; border-top: 1px solid var(--border-color);}
.bottom .wrp {display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; color: var(--text-color-white); font-size: 12px;}
.bottom a {color: var(--text-color-white);}
/* 404 */

.error404 .stage {display: none;}
.pageerror {padding: 250px 0 100px 0; text-align: center;}

.mitarbeiter {display: grid; grid-template-columns: repeat(3, minmax(250px, 350px)); gap: 50px; align-items: start; justify-content: center;}
.mitarbeiter .mitarbeiter-box {display: block;}
/*.mitarbeiter .mitarbeiter-box:not(:nth-child(4n+4)) {margin-right: 4%;}*/
.mitarbeiter .mitarbeiter-box .box {width: 100%; margin-bottom: 20px; display: block;}
.mitarbeiter .mitarbeiter-box .box img {width: 100%; margin-bottom: 15px;}
.mitarbeiter .mitarbeiter-box p.name {font-size: 25px; margin-bottom: 10px; padding-bottom: 10px; position: relative;}
.mitarbeiter .mitarbeiter-box p.name:before {content: ''; width: 50px; height: 2px; position: absolute; bottom: 0; left: 0; background: #e0ccaf;}
.mitarbeiter .mitarbeiter-box p:not(.name) {min-height: 60px;}

@media screen and (max-width: 1280px) {
    .mitarbeiter .mitarbeiter-box:not(:nth-child(4n+4)) {margin-right: 0;}
    .mitarbeiter .mitarbeiter-box:not(:nth-child(3n+3)) {margin-right: 5%;}
}

@media screen and (max-width: 1024px) {
    .mitarbeiter {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 660px) {
    .mitarbeiter {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 410px) {
    .mitarbeiter {display: block;}
}