html {
    font-size: 16px;
}
/* overriding rem */
.breadcrumb {
    font-size: 12px;
}
@media (max-width: 767px) {
    .breadcrumb {
        font-size: 14px;
    }
}
.service-content-section .service-content {
    padding-top: 70px !important;
}
.video-timestamp > li {
    font-size: 16px;
}
.link-item-wrapper .link-item span {
    font-size: 14px !important;
}

@media (max-width: 767px) {
    [class*="template-gutenberg-template"] .gutenberg-container {
        padding-top: 70px;
    }
}

/* forgot old */
table._brlbs th{
	width:30%;
}

.section-content>.container>.title{
	text-transform:inherit;
}
.kurzinfo-section>.container>.title{
	text-transform:inherit;
}

/* current menu item highlight */
#main-menu >.current-menu-item > a,
#main-menu > .current-menu-ancestor > a {
    position:relative;
}
#main-menu > .current-menu-item > a::after,
#main-menu > .current-menu-ancestor > a::after {
    content:'';
    display:block;
    width:58px;
    height:1px;
    position:absolute;
    left:0;
    bottom:8px;
    background-color:#38393b;
}
@media screen and (min-width:768px) {
    #main-menu > .current-menu-item > a::after,
    #main-menu > .current-menu-ancestor > a::after {
        left:50%;
        transform:translateX(-50%);
    }
    #main-menu > .current-menu-item:hover > a::after,
    #main-menu > .current-menu-ancestor:hover > a::after {
        background-color:transparent;
    }
}

/* current submenu item highlight */
#main-menu > li .current-menu-item > a,
#main-menu > li .current-menu-ancestor > a {
    color:#c17600;
}
#main-menu > li .current-menu-item > a::after,
#main-menu > li .current-menu-ancestor > a::after {
    content:'';
    display:block;
    width:58px;
    height:1px;
    position:absolute;
    left:0;
    bottom:6px;
    background-color:#b9baba;
}
@media screen and (min-width:768px) {
    #main-menu > li .current-menu-item > a::after,
    #main-menu > li .current-menu-ancestor > a::after {
        bottom:-1px;
    }
}

/* add Video menu item */
@media screen and (min-width:768px) {
	.menu-header-menu-container {
		margin-left:-62px;
	}
	#main-menu>li:nth-child(2) {
        margin-left:100px;
        margin-right:0;
	}
	#main-menu>li:nth-child(3) {
		margin-left:120px;
	}
	#main-menu>li:nth-child(4) {
		margin-left:0;
	}
	#main-menu>li:nth-child(5) {
		margin-left:0;
	}
}

@media screen and (min-width:992px) and (max-width:1199px) {
	#main-menu li > a {
		padding-left:25px;
		padding-right:25px;
	}
}
@media screen and (min-width:800px) and (max-width:991px) {
	#main-menu li > a {
		padding-left:18px;
		padding-right:18px;
	}
}
@media screen and (min-width:768px) and (max-width:800px) {
	#main-menu li > a {
		padding-left:12px;
		padding-right:12px;
	}
}

/* new video in the list */
.video-new > a.image {
    position:relative;
    overflow:hidden;
}
.video-new > a.image::after {
    content:'Neu';
    display:block;
    width:110px;
    height:auto;
    padding:3px;
    box-sizing:border-box;
    position:absolute;
    left:-17px;
    top:60px;
    font-size:20px;
    line-height:1;
    text-align:center;
    font-weight:600;
    text-transform:uppercase;
    background-color:#f29400;
    color:#fff;
    transform:rotate(-45deg);
    transform-origin:0 0;
    box-shadow:-4px 5px 15px -2px #00000052;
}

@media (max-width: 991px) {
    .hide-on-tab {
        display:none;
    }
}
@media (max-width: 505px) {
    .hide-on-mob {
        display:none;
    }
}

/* top bar new iconned links */
:root {
    --top-bar-icon-color:#111;
    --top-bar-icon-color-h:#c17600;
    --top-bar-icon-color-mob:#fff;
    --top-bar-icon-color-mob-sub:#f29400;
    --icons-0421-whatsapp:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%0A%3E%3Cg%0Afill='none' stroke='%23111' stroke-linejoin='round' stroke-width='.5'%3E%3Cpath d='m 0.7,7.8 c 0,1 0.3,2 1,3.7 l -1,3.8 3.9,-1 c 1,0.6 2,0.9 3.6,0.9 C 12.8,15.2 15.4,11 15.5,7.9 15.5,3.9 12.5,0.5 8.3,0.5 4,0.5 0.7,3.5 0.7,7.8 Z' /%3E%3Cpath fill='%23111' stroke='none' d='M 5.5,4 C 5.8,4 6,4.2 6,4.2 l 0.8,1.6 c 0,0 0.1,0.2 0,0.4 L 6,7 c 0.6,1.1 1.7,2 2.9,2.5 l 0.7,-1 C 9.7,8.3 10,8.4 10,8.4 L 11.8,9 c 0,0 0.2,0 0.2,0.4 0,1 -0.6,1.9 -0.6,1.9 C 7.5,11.6 4.1,8.7 3.8,4.86 3.8,4.86 4.8,4 5.5,4 Z' /%3E%3C/g%3E%3C/svg%3E%0A");
    --icons-0421-instagram:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1'%3E%3Cg fill='none' stroke='%23111' stroke-width='.5'%3E%3Cpath d='M 15.45,5 C 15.4,3.7 15,2.6 14.23,1.77 13.36,0.9 12.3,0.6 11.1,0.6 c -1.2,-0.1 -5,-0.1 -6.2,0 -1.2,0.1 -2.3,0.3 -3.14,1.2 -0.9,0.9 -1.1,2 -1.2,3.14 -0.1,1.2 -0.1,4.9 0,6.2 0.1,1.2 0.3,2.3 1.2,3.14 0.9,0.9 1.9,1.2 3.14,1.2 1.2,0.1 5,0.1 6.2,0 1.2,-0.1 2.3,-0.3 3.14,-1.2 0.9,-0.9 1.2,-1.9 1.2,-3.14 0.1,-1.2 0.1,-5 0,-6.2 z'/%3E%3Ccircle r='3.2' cy='8' cx='8'%0A/%3E%3Ccircle r='1.15' cy='4' cx='12' fill='%23111'%0A/%3E%3C/g%3E%3C/svg%3E%0A");
    --icons-0421-facebook:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1'%3E%3Cpath fill='none' stroke='%23111' stroke-width='.5' d='M 15.5,8 C 15.5,4 12.1,0.6 8,0.6 c -4.1,0 -7.5,3.3 -7.5,7.5 0,3.7 2.7,6.8 6.3,7.4 V 10.23 H 4.9 V 8.1 H 6.8 V 6.4 c 0,-1.9 1.1,-2.9 2.83,-2.9 0.8,0 1.7,0.1 1.7,0.15 v 1.8 h -0.95 c -0.9,0 -1.22,0.6 -1.22,1.2 V 8 H 11.25 L 10.9,10.23 H 9.2 v 5.22 C 12.8,14.9 15.5,11.8 15.5,8 Z'/%3E%3C/svg%3E%0A");
    --icons-0421-youtube:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1'%3E%3Cg fill='none' stroke='%23111' stroke-width='.5'%3E%3Cpath d='M 15.2,4.36 C 15,3.7 14.5,3.2 13.86,3 12.7,2.7 8,2.7 8,2.7 c 0,0 -4.7,0 -5.86,0.3 -0.6,0.2 -1.15,0.68 -1.3,1.3 C 0.5,5.5 0.5,8 0.5,8 c 0,0 0,2.5 0.3,3.6 0.2,0.6 0.7,1.1 1.3,1.3 C 3.3,13.25 8,13.25 8,13.25 c 0,0 4.7,0 5.86,-0.3 0.65,-0.2 1.2,-0.7 1.33,-1.3 0.3,-1.2 0.3,-3.6 0.3,-3.6 0,0 0,-2.5 -0.3,-3.6 z' /%3E%3Cpath fill='%23111' d='M 6.8,9.6 V 5.9 l 3.2,1.85 z'%0A/%3E%3C/g%3E%3C/svg%3E%0A");
    --icons-0421-jameda:url("data:image/svg+xml,%3Csvg fill='%23232323' viewBox='0 0 67 19' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m11.6 0c-2.1-3.3e-16 -3.8 1.5-4.1 3.5l-7.5 0.6v2.3l7.8-0.8c0.6 1.6 2.1 2.7 3.8 2.7 2.3 0 4.1-1.9 4.1-4.2 0-2.2-1.8-4.1-4.1-4.1zm0 1.1c1.7 0 3 1.4 3 3 0 1.7-1.3 3.1-3 3.1s-3-1.4-3-3.1c0-1.6 1.3-3 3-3zm0 0.8s-0.8 0-1.6 0.5c-0.8 0.7-0.7 2.2-0.7 2.2s0.5-0.9 1.1-1.3c0.6-0.5 1.2-0.4 1.2-0.4v-1zm-9.8 5.3-1.2 0.1v1.9l2.4 0.9v-0.2c0 1.2 0.9 2.3 2.1 2.3 1 0 1.8-0.8 2-1.8h1.3c0.3 1 1.1 1.8 2.1 1.8 1.2 0 2.1-1.1 2.1-2.3v-0.7h-4.2v0.5h-1.2v-0.5h-4.2l-1.2-0.3v-1.7zm13.1 1s-0.4 0.3-0.7 0.5c-0.2 0.2-0.5 0.4-0.5 0.4v2.8c-0.1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1 0 1 0.5 1 1.3v4.9h1.7v-4.9c0-1.4-0.1-2.7-2.2-2.7-0.7 0-1.5 0.1-2.3 0.7-0.3-0.5-0.9-0.7-1.8-0.7zm-15 0.1v8.1c0 0.7-0.1 1-0.8 1-0.2 0-0.5 0-0.7-0.1v1.3c0.2 0 0.6 0.1 1.1 0.1 1.5 0 2.1-0.6 2.1-2.3v-8.1h-1.7zm26.2 1.3c1.5 0 1.6 0.9 1.6 1.8v0.1h-3.2v-0.1c0-0.9 0.2-1.8 1.6-1.8zm8.2 0c0.3 0 0.9 0.1 1.4 0.2v2 0.1 2.5c-0.3 0.1-0.8 0.1-1.3 0.1-1.2 0-1.8-0.5-1.8-2v-0.9c0-1.7 0.6-2 1.7-2zm-27.6 2.8h0.9v2.2c-0.3 0.1-1 0.1-1.4 0.1-0.6 0-1.3-0.2-1.3-0.9v-0.3c0-1 0.5-1.1 1.8-1.1zm35.8 0h0.9v2.2c-0.4 0.1-1 0.1-1.5 0.1-0.6 0-1.2-0.2-1.2-0.9v-0.3c0-1 0.5-1.1 1.8-1.1z'/%3E%3C/svg%3E");
}
.icons-0421::before {
    content:'';
    display:inline-block;
    vertical-align:middle;
    width:19px;
    height:19px;
    margin:0 5px 0 9px;
    
    background-color:var(--top-bar-icon-color);
    transition:background-color 0.2s ease;

    mask-repeat:no-repeat;
    -webkit-mask-repeat:no-repeat;
    mask-position:50% 50%;
    -webkit-mask-position:50% 50%;
    mask-size:19px 19px;
    -webkit-mask-size:19px 19px;
    mask-type:alpha;
    -webkit-mask-type:alpha;
}
.icons-0421.i-whatsapp::before {
    mask-image:var(--icons-0421-whatsapp);
    -webkit-mask-image:var(--icons-0421-whatsapp);
}
.icons-0421.i-instagram::before {
    mask-image:var(--icons-0421-instagram);
    -webkit-mask-image:var(--icons-0421-instagram);
}
.icons-0421.i-facebook::before {
    mask-image:var(--icons-0421-facebook);
    -webkit-mask-image:var(--icons-0421-facebook);
}
.icons-0421.i-youtube::before {
    mask-image:var(--icons-0421-youtube);
    -webkit-mask-image:var(--icons-0421-youtube);
}
.icons-0421.i-jameda::before {
    mask-image:var(--icons-0421-jameda);
    -webkit-mask-image:var(--icons-0421-jameda);
}
.icons-0421:hover::before {
    background-color:var(--top-bar-icon-color-h);
}

.icons-0421 {
    transition:background-color 0.2s ease!important;
}
.icons-0421:hover {
    color:var(--top-bar-icon-color-h)!important;
}

/* jameda is an exceptional icon */
.icons-0421.i-jameda::before {
    width:67px;
    margin-right:9px;
    mask-size: 67px 19px;
    -webkit-mask-size: 67px 19px;
    mask-position:0 50%;
    -webkit-mask-position:0 50%;
}
@media screen and (max-width:991px) {
    .icons-0421.i-jameda::before {
        width:19px;
        mask-size: cover;
    }
}
@media screen and (max-width:991px) {
    .icons-0421.i-jameda::before {
        width:67px;
    }
}
.icons-0421.i-jameda:hover {
    background:#01a3d4;
}
.icons-0421.i-jameda:hover::before {
    background:#fff;
    background:linear-gradient(90deg, #a6e64a 25%, #fff 25%);
}
@media screen and (max-width:991px) {
    .icons-0421.i-jameda:hover::before {
        background:#a6e64a;
    }
}

/* mobile bar fixes */
.top-bar-container-mobile.container::before,
.top-bar-container-mobile.container::after {
    content:none;
}
.top-bar-container-mobile .icons-0421::before,
.top-bar-container-mobile .icons-0421:hover::before {
    background-color:var(--top-bar-icon-color-mob);
}
.top-bar-container-mobile .icons-0421:hover {
    color:var(--top-bar-icon-color-mob)!important;
}

/* submenu */
.site-header .top-bar-container-mobile .sub-menu {
    width:auto;
    min-width:30%;
}
.site-header .top-bar-container-mobile .sub-menu a {
    color: #c17600;
}
.top-bar-container-mobile .sub-menu .icons-0421::before,
.top-bar-container-mobile .sub-menu .icons-0421:hover::before {
    background-color:var(--top-bar-icon-color-mob-sub);   
}
.top-bar-container-mobile .sub-menu .icons-0421:hover {
    color:var(--top-bar-icon-color-mob-sub)!important;
}

/* a buggy faq gutenberg block fix */
.advgb-accordion-header, .advgb-accordion-header.ui-accordion-header.ui-state-default,
.advgb-accordion-body, .advgb-accordion-wrapper .advgb-accordion-body.ui-widget-content {
	border-width:0!important;
}
.advgb-accordion-header[aria-expanded="true"] .advgb-accordion-header-icon {
	display:block!important;
	transform: scale(1, -1);
	opacity:0.5;
}

/* home page news section */
.announcement-section {
    margin-top:42px;
}
.announcement-section .row {
    background:#fff4eb;
}
.announcement-section .row > *:first-child {
    padding:0;
}
.announcement-section .row > *:first-child img {
    object-fit:cover;
    object-position:center top;
    width:100%;
    height:100%;
    padding:0;
}
.announcement-section .row > *:last-child {
    padding:40px 100px 20px 65px;
    box-sizing:border-box;
}
.announcement-section .row > *:last-child > * {
    margin:0 0 30px;
}
.announcement-section h2 {
    position:relative;
    font-size:22px;
    font-weight:lighter;
    line-height:1.2em;
    text-transform:uppercase;
    color:#282828;
}
.announcement-section h2::after {
    content:'';
    width:130px;
    height:0px;    
    position:absolute;
    left:0;
    bottom:-10px;
    border-bottom:1px solid #f29400;
}

.announcement-section p {
    font-size:18px;
    font-weight:lighter;
    color:#555;
}

.single-announcement .entry-content p {
    margin-bottom:22px;
}

/* home hotfix for images */
.home .main-welcome-section .container .image-horizontal img {
	width: 100%;
}

/* home photos replacement */
.gallery-type {
    --cols: 3;
    --column-gap: 6.5%;
    --scale: calc( ( 100% - ( var(--cols) - 1 ) * var(--column-gap) ) / var(--cols) );
    --font-size: inherit;
    display: flex;
    flex-wrap: wrap;
    column-gap: var(--column-gap);
    row-gap: 25px;
    justify-content: space-around;
}
@media(max-width:767px) {
    .gallery-type {
        margin-bottom: 30px;
    }
}
.gallery-type > * {
    flex-basis: var(--scale);
    display: block;
}
.g-t-exceptional {
    --scale: 50%;
    flex-basis: 100%;
    padding: 0 calc( ( 100% - var(--scale) ) / 2 );
}
.gallery-type figure div {
    position: relative;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
}
.gallery-type img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.gallery-type figcaption {
    margin-top: 8px;
    line-height: 1.5;
    text-align: center;
    color: black;
    font-size: var(--font-size);
}

/* instagram videos */

.insta-videos {
    width: 100%;
    max-width: 820px;
    margin: 80px auto 60px;
    background: linear-gradient(45deg,rgba(255,244,235,0) 0,#fff4eb 66%,#fff4eb 100%);
}
.insta-video {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
}
.insta-video > * {
    width: 48%;
    flex-basis: 48%;
    gap: 4%;
}
.insta-description {
    flex-grow: 1;
    max-width: 320px;
    padding: 20px;
    z-index: 1;
}
.insta-description h3 {
    text-align: left;
    font-family: Raleway, sans-serif;
    font-weight: lighter;
    font-size: 24px;
    font-size: clamp(18px, 1.8vw, 26px);
    line-height: 1.4;
    margin: 0 0 20px;
}
.insta-description p {
    margin-bottom: 30px;
    text-align: left;
    font-size: 16px;
    font-weight: lighter;
    line-height: 1.5;
}
.insta-btn {
    text-align: center;
    margin-bottom: 0;
}
.insta-btn a {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 20px;
    display: inline-block;
    border: 1px solid #f29400;
    color: #f29400;
}
.insta-video video {
    height: auto;
    max-width: 320px;
    z-index: 1;
    transform: translateY(-20px);
}
@media( max-width: 460px ) {
    .insta-video {
        flex-direction: column-reverse !important;
    }
    .insta-video > * {
        width: 90%;
        flex-basis: 90%;
    }
}

.insta-videos-x4 {
    --cols: 4;
    --colgap: 3%;
    --colwidth: calc((100% - ((var(--cols) - 1) * var(--colgap))) / var(--cols));
    max-width: 1000px;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    flex-wrap: wrap;
    column-gap: var(--colgap);
    row-gap: 70px;
}
.insta-videos-x4 .insta-description {
    display: flex;
    flex-direction: column;
}
.insta-videos-x4 .insta-btn {
    margin-top: auto;
}
.insta-videos-x4 .insta-video {
    flex-direction: column-reverse;
    flex-basis: var(--colwidth);
}
.insta-videos-x4 .insta-video > * {
    width: 100%;
    flex-basis: 100%;
    gap: 0;
}

@media (max-width:860px) {
    .insta-videos-x4 {
        --cols: 2;
        --colgap: 5%;
    }
}
@media (max-width:600px) {
    .insta-videos-x4 {
        --cols: 1;
        --colgap: 10%;
    }
}

/* home .main-about-section redesign */
.main-about-section-2 {
    margin-top: 40px;
    margin-bottom: 160px;
    padding-top: 0;
    padding-bottom: 0;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, #ffffff 0%, #fbf4ee 100%);
}
.main-about-section-2 > .container {
    transform: translateY(80px);
}
.main-about-section-2 > .container:nth-child(2) {
    transform: translateY(160px);
}
.main-about-section-2 .title {
    margin: 0 auto 25px;
    font-size: 30px;
    line-height: 1.2em;
    position: relative;
    padding-bottom: 25px;
    color: #282828;
    text-align: center;
    font-weight: lighter;
    text-align: center;
}
.main-about-section-2 .title::after {
    content: '';
    position: absolute;
    height: 0;
    left: 50%;
    bottom: 0;
    border-bottom: 1px solid #8b8d8f;
    width: 180px;
    margin-left: -90px;
}
.main-about-section-2 p {
    font-size: 16px;
    margin: 0 0 20px;
}
@media screen and (max-width:767px) {
    .main-about-section-2 p {
        font-size: 18px;
    }
}

.main-about-section-2 p:last-child {
    margin-bottom: 0;
}

.main-about-section-2 figcaption {
    text-align: left;
}
.main-about-section-2 figcaption strong {
    display: block;
    font-size: 120%;
}
.main-about-section-2 a {
    color: #4f350d;
}
.main-about-section-2 a:hover {
    color: #c17600;
}