

.maintenance-content {
    color:var(--white);
    font-size: 22px;
}
.maintenance-content.bg-white {
    color:var(--text)!important;
    font-size: 22px;
}
.maintenance-content .rot-img-absolute{
    margin-top: 2rem;
    min-height:260px;
    padding-bottom:0;
}
.branding-wrap {
    font-size:20px;
    display: flex;
    align-items: center;
    height: 22em;
}
.branding-wrap>figure.rot-img-relative{
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    min-height: 2rem;
    padding-bottom:0;
}
.maintenance-content .content-col .inner-wrap{
    display: flex;
    align-content: flex-start;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
}
.branding-wrap {
    font-size: 1.1em!important;
    width:100%;
}
.branding-wrap .h-wrap {
    max-width:1px;
    max-height:1px;
    overflow:hidden;
}
.branding-wrap p.smaller {
    font-size: 0.596em;
}
.p-display {
    font-size: 1.9em;
    font-weight: 500;
    color: var(--text);
    max-width: 390px;
    line-height: 1;
    margin: 0.7em 0.23em;
    position: relative;
    text-align: right;
    color: #ffffff40;
    display: flex;
    align-items: center;
}
.bg-white .p-display {
    color:var(--text);
}
.p-display span.txt {
    font-size: 0.65em;
    line-height: 1.1;
    font-weight: 300;
}
body .bottom-txt{
    font-size: 22px;
    font-weight: 600;
    color: var(--grey-light);
}
.rkp-icon {
    display: inline-block;
    width: 4em;
    line-height: inherit;
    position: relative;
    top: 0;
    right: auto;
    margin-left: 0.5em;
}
.rkp-icon .st0{
    stroke:var(--white);
}
.bg-white .rkp-icon .st0{
    stroke:var(--text);
}
.maintenance-content .rkp-icon svg>g:nth-of-type(2) path{
    stroke:var(--primary);
}
body .maintenance-content a:hover{
    color:white!important;
}

@media(min-width:576px){
    .maintenance-content .rot-img-absolute {
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding-bottom: 0;
        height: calc(100vh - 4rem);
    }
}
@media(min-width:768px){
    .branding-wrap {
        font-size:28px;
    }
}
@media(min-width:992px){
    .maintenance-content .rot-img-absolute {
        margin-top: 0rem;
        margin-bottom: 0rem;
        height: 100%;
    }
}
@media(min-width:1200px){
    .branding-wrap {
        font-size:2.3vw;
    }
}

#rkp-icon-cogwheels svg>g:first-of-type{
    animation: rotate_1 4s linear 0.17s infinite normal forwards;
    transform-origin: 0.6em 0.6em;
}
#rkp-icon-cogwheels svg>g:nth-of-type(3) {
    animation: rotate_1 4s linear 0s infinite reverse forwards;
    transform-origin: 1.65em 1.45em;
    /* background: red; */
}
#rkp-icon-cogwheels svg>g:nth-of-type(2) {
    animation: rotate_1 4s linear 0.03s infinite normal forwards;
    transform-origin: 0.59em 2.37em;
}

@keyframes rotate_1 {
	0% {
		transform: rotate(0);
        /* transform-origin: center; */
	}
	100% {
		transform: rotate(360deg);
        /* transform-origin: center; */
	}
}


.social-wrap a.sbtn.s-copy,
.inner-cta a.cta-link,
.rot-section a.link-type-contact,
.rot-section a.link-type-frei,
.rot-section a.link-type-pdf,
.rot-section a.link-type-beitrag,
.section-cta a.cta-link {
    display: inline-block;
    font-size: var(--regular-p-size, 1.09rem);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
	position:relative;
    display: inline-flex;
    align-items: center;
	color: var(--white);
    background-color:var(--gradient);
}
.inner-cta a.cta-link{
    margin-right:1.7rem;
}
.social-wrap a.sbtn.s-copy,
.inner-cta a.cta-link,
.rot-section a.link-type-contact,
.rot-section a.link-type-frei,
.rot-section a.link-type-pdf,
.rot-section a.link-type-beitrag{
	color: var(--white);
}

.inner-cta a.cta-link i,
.section-cta a.cta-link i {
    font-size: 1.2rem;
    display: inline-block;
    bottom: 2px;
    bottom: 0;
    position: relative;
}
.inner-cta a.cta-link i{
    font-size:1.5em;
    line-height:.6;
}
.inner-cta .cta-content-before{
    margin-bottom:.7rem;
}
.social-wrap a.sbtn.s-copy.copied .link-inner>span{
    position:relative;
}
.social-wrap a.sbtn.s-copy .link-inner>span:after{
    content:'copied';
    position:absolute;
    top:0;
    left:0;
    font-size:inherit;
    height:100%;
    width:100%;
    opacity:0;
    transition:opacity .4s;
    background:var(--primary-hover);
}
.social-wrap a.sbtn.s-copy.copied .link-inner>span:after{
    opacity:1;
}
body .inner-cta a.cta-link.style-flat .cta-link-inner{
    color: var(--text);
    border: 2px solid var(--text);
    background-color: var(--white);
    padding: .34rem .6rem .26rem;
}
body .inner-cta a.cta-link.style-flat:hover .cta-link-inner{
    left:0;
    background:var(--white);
    border-color:var(--primary);
    color:var(--primary);

}
body .inner-cta a.cta-link.style-flat::after,
body .inner-cta a.cta-link.style-flat::before{
    display: none;
}





.hide-labels .rc-checkboxes label {
    font-size: 0.94rem;
}
.hide-labels .rc-checkboxes label.tech-h-sm {
    font-size: .84rem;
    margin-bottom: .74rem;
    width: 100%;
}
body{
    --car-size: 240px;
    --logo-wrap-width:340px;
}




/*RSE*/

ul{
    padding-left:1.25em;
    list-style: none;
}
.site-content ul:not(.navbar-nav):not([class*="wp-admin"]) li {
    position: relative;
    display: flex;
    align-items: center;
}


header#masthead{
    border:none;
}
header#masthead:after {
    content: '';
    bottom: 0;
    transform: translateY(100%);
    width: 100%;
    background: transparent;
    height: 0px;
    position: absolute;
    background: var(--header-after-gradient);
    pointer-events:none;
    transition:height .6s;
}
body.scrolled header#masthead:after {
    height: 40px;
}
body .navbar-toggler {
    padding: .25rem 0 .25rem  .75rem;
    font-size:1.35rem;
}
#masthead .main-header-links a,
#masthead #primary-menu>.nav-item a{
    padding: var(--nav-items-padding);
    font-weight:inherit;
    font-family:var(--serif);
}
#masthead #primary-menu>.nav-item a *{
    font-size:inherit;
    font-weight:inherit;
    padding:0;
}
#masthead #primary-menu>.nav-item a>.nav-link-wrap {
    position:relative;
}
#masthead #primary-menu>.nav-item a>.nav-link-wrap>.nav-item-title {
    position:relative;
    z-index:1;
}


.rkp-path2{
    fill:none;
    stroke:var(--text);
    stroke-width:2.5;
    stroke-linecap:round;
    stroke-miterlimit:10;
}
.fill-text{
    fill:var(--text);
}
.fill-none{
    fill:none;
}
body:not(.home) section#s_header.dark:before{
    content: '';
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.23);
    position:absolute;

}

#s_header.animation-ended #h_video:before {
    opacity:1;
}

body #masthead .navbar{
    /* justify-content:flex-end; */
}
.logo-wrap {
    width: auto;
    margin-top: 0rem;
    z-index: 4;
    position: relative;
    left: 0px;
    height: 100%;
    padding: 1rem 0;
}


ul.navbar-nav>li.menu-contact-wrap-outer{
    padding:15px;
    text-align:right;
}
ul.navbar-nav>li .menu-contact-wrap{
    text-align:right;
}
ul.navbar-nav>li .menu-contact-wrap .menu-contact-thumb{
    max-width: 120px;
    /* display: flex; */
    /* justify-content: flex-end; */
    text-align: right;
    display: inline-block;
    width: 100%;
}



@media(max-width:767.98px){
    .navbar-extra-links{
        right:0;
        padding:0;
    }
}

@media(min-width:768px) and (max-width:991.98px){
    body .navbar-toggler {
        padding: .25rem 1rem .05rem  .75rem;
    }
}
@media(max-width:991.98px){
    header#masthead.whitened.opened,
    header#masthead.opened{
        background:var(--primary);
    }
}

@media(min-width:992px){

    #masthead ul#primary-menu{
        margin-right:120px;
    }

}


body #site-footer a.social-link {
    font-size: 1.5rem;
    background: var(--white);
    transition: background-color .4s;
    padding: 0em;
    border-radius: 0;
    margin: 2px;
    font-weight: 600;
    margin-left: 0.7rem;
}
body #site-footer a.social-link:first-child {
    margin-left:0;
}
body #site-footer.bg-text a.social-link {
    color:var(--text);
}
body #site-footer a.social-link>i {
    position: relative;
    bottom: -1px;
    font-size: 1.8rem;
}

.page-template-page-standard p,
.page-template-page-standard ul li{
    margin-bottom:1rem;
}
.page-template-page-standard h3{
    margin-bottom:.75rem;
}

.footer-link{
    background: white;
    color: var(--primary)!important;
    padding: 0 8px;
    font-weight: 600!important;
}










/*KLAMPFL*/

/*NAV*/
body #masthead .navbar-collapse,
body #masthead.whitened .navbar-collapse {
    border-radius: 0;
}
.rot-mnav-footer a,
.rot-mnav-footer ul,
.rot-mnav-footer li,
.rot-mnav-footer p{
    font-size:var(--small-p-size);
}
.rot-mnav-footer ul{
    margin-bottom:0;
    line-height:2;
}
.rot-mnav-footer [class*="col-"]{
    display:flex;
    align-items: flex-end;
}
.rot-mnav-footer [class*="col-"]{
    display:flex;
    align-items: flex-end;
    flex-wrap: wrap;
}
.rot-mnav-footer [class*="col-"]:first-of-type{
    justify-content:flex-start;
}
.rot-mnav-footer [class*="col-"]:last-of-type{
    justify-content:flex-end;
}
.rot-mnav-footer figure{
    text-align: left;
    width:50%;
    margin-bottom: 1.4rem;
}
.rot-mnav-footer figure img{
    width:140px;
    max-width:100%;
}
.rot-mnav-footer figure.smaller img{
    width:74px;
    max-width:70%;
    margin-left:15%;
}
@media(min-width:576px){
    .rot-mnav-footer a,
    .rot-mnav-footer ul,
    .rot-mnav-footer li,
    .rot-mnav-footer p{
        font-size:var(--regular-p-size);
    }
}


/*DISPLAY_HEADER*/

#s_header .caption-right .col-12 .header-caption {
    background: var(--secondary);
    width: auto;
    right: 0;
    position: relative;
    padding-right: var(--container-margin);
    padding-left: 1.3rem;
    margin-right: calc( 0px - (var(--container-margin)));
    margin-top: 5.4rem;
    opacity: 0;
    transition: opacity .4s;
    /* transition-delay: 3.5s; */
    border-radius: var(--border-radius-medium) 0 0 var(--border-radius-medium);
    /* max-width: 600px; */
    margin-left: calc(100% - 220px);
    /* left: auto; */
}
.header-caption .lead,
.header-caption .lead p{
	font-size:var(--header-lead-fontsize);
}
#s_header.animation-ended .header-caption{
    opacity:1!important;
}
section#s_header #h_video {
    width: calc(100% - 4rem);
    border-radius: 0 var(--border-radius-large) var(--border-radius-large) 0;
    overflow: hidden;
}
@media(min-width:567px){
    section#s_header #h_video {
        width: calc(78%);
    }
    #s_header .h-h-wrap.just-img {
        width: 31vw;
        width:auto;
        padding-left: 1.5rem;
    }
    #s_header .h-h-wrap.just-img img{
        max-width: 100%;
        width: 25vw;
    }
}
@media(min-width:768px){
    #s_header .h-h-wrap.just-img img{
        width: 18vw;
    }
	#s_header .caption-right .col-12 .header-caption {
		margin-left: calc(100% - 460px);
    	padding-left: 2rem;
    }
}
@media(min-width:992px){
    #s_header .h-h-wrap.just-img {
        width: 400px;
    }
    #s_header .caption-right .col-12 .header-caption {
        margin-top:10.5rem;
		margin-left: calc(100% - 460px);
    }

}
@media(min-width:1440px){
    section#s_header #h_video {
        width: calc(78% - var(--container-margin));
        margin-left: var(--container-margin);
        border-radius: var(--border-radius-large);
    }
    #s_header .caption-right .col-12 .header-caption {
        margin-top:14.5rem;
    }

}



/*TYPO*/
body h1.page-h1{
    margin-bottom:0.7rem;
}

/*post - subtitle*/
.post-h span.theme-h-sm{
    display: block;
    font-size: var(--regular-p-size);
    margin-top: 0.75rem;
}

/*ACCORDION*/
.h-col,
.acc-img-col{
    min-height:300px;
}
.rot-acc.accordion h3,
.rot-acc.accordion .h3{
    transition:text-decoration .4s;
    font-weight:500;
}
.rot-acc.accordion.active h3,
.rot-acc.accordion.active .h3{
    text-decoration:underline;
}

@media(max-width:767.98px){
    .acc-img-row>.acc-img-col{display:none!important;}
    .rot-acc.accordion{margin-right: 2.1rem;}
    .rot-acc-content.panel p {margin-right: 0;}
    .rot-acc.accordion h3,
    .rot-acc.accordion .h3{max-width:calc(100% - 50px);}
    .rot-acc.accordion i {
        transform: rotate(-90deg);
    }
    .rot-acc.accordion.active i {
        transform: rotate(0deg);
    }

}
@media(min-width:768px){
    .acc-img-row>.acc-img-col {
        display: block;
        margin-top: -4.3rem;
        display: flex;
        align-items: flex-end;
        padding-bottom: 3rem;
    }
    .acc-img-row>.h-col .rot-acc-content.panel{
        display:none!important;
    }
    .rot-acc.accordion {
        flex-wrap: nowrap;
    }
    .acc-wrap-inner{
        min-height: 210px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        height: 100%;
    }
}


/*FOOTER*/
#site-footer {
    position: fixed;
    z-index: 0;
    bottom: 0;
    width: 100%;
}
#content.site-content{
    z-index:2;
    margin-bottom:20rem;
}

/*IMAGES inline - absolute*/
/*und imgs fullwidth*/
section.rot-section:not(#s_header){
    overflow:hidden;
}

.section-h-col>figure.rot-img-relative.rot-inline-img{
    position: absolute;
    right: -2rem;
    left: auto;
    top: -2rem;
    z-index: 10;
    transform: rotate(-15deg);
    pointer-events: none;
}
#s_leistungen .section-h-col>figure.rot-img-relative.rot-inline-img{
    width:90px;
}

#s_about .section-h-col>figure.rot-img-relative.rot-inline-img {
    width: 292px;
    transform: scaleX(-1);
    top: -7rem;
    right: -3rem;
    opacity:.5;
}
#s_news .section-h-col>figure.rot-img-relative.rot-inline-img {
    width: 270px;
    top: -4rem;
    right: -6rem;
    opacity:.75;
}

/*full-img-section*/
body section.img-section-xl>figure{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
}
@media(min-width:768px){
    .section-h-col>figure.rot-img-relative.rot-inline-img{
        right: -12rem;
        width: 284px;
        opacity: 0.5;
    }
    #s_about .section-h-col>figure.rot-img-relative.rot-inline-img {
        width: 370px;
        right: -11rem;
        top: -5rem;
    }
    #s_news .section-h-col>figure.rot-img-relative.rot-inline-img {
        width: 370px;
        top: -5rem;
        right: -16rem;
    }
	.border-md-right{
	border-right:3px solid var(--white);
}
}
@media(min-width:992px){
    #s_leistungen .section-h-col>figure.rot-img-relative.rot-inline-img{
        width: 106px;
        right: -6rem;
        transform: rotate(13deg);
    }
    #s_about .section-h-col>figure.rot-img-relative.rot-inline-img {
        top: -3rem;
        width:420px;
    }
    #s_news .section-h-col>figure.rot-img-relative.rot-inline-img {
        width: 400px;
        top: -8rem;
        right: -11rem;
        transform: rotate(307deg);
        opacity:1;
    }
}
@media(min-width:1200px){
    .section-h-col>figure.rot-img-relative.rot-inline-img{
        right: -12rem;
        width: 320px;

    }
    /*full-img-section*/
    body section.img-section-xl>figure{
        width:var(--container-width);
        margin-left:var(--container-margin);
        border-radius:var(--border-radius-md);

    }
    #s_about .section-h-col>figure.rot-img-relative.rot-inline-img {
        top: -7rem;
        width: 540px;
        right: -19rem;
        opacity: 1;
    }
}
@media(min-width:1440px){
    #s_news .section-h-col>figure.rot-img-relative.rot-inline-img {
        width: 420px;
        top: -10rem;
        right: -17rem;
    }
}
@media(min-width:1820px){
    .section-h-col>figure.rot-img-relative.rot-inline-img{
        right: -9rem;
        width: 360px;
    }
    #s_about .section-h-col>figure.rot-img-relative.rot-inline-img {
        right: -20rem;
        width: 500px;
        top: -6rem;
    }
}

/*TEAM*/
.rot-item.rot-cpt-item-team p{
    font-size:var(--small-p-size);
}
.rot-item.rot-cpt-item-team figure{
    border-radius: 0;
    overflow: hidden;
}



/*CONTACT SECTION IMG*/

.contact-form-row .c-content{
    position:relative;
}
#s_contact .contact-form-row .c-content,
#s_contact .contact-form-row .c-content>p{
    width: 100%;
    height: 100%;
    display: block;
}
.contact-form-row .c-content p img,
.contact-form-row .c-content p img.size-full{
    width:100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    max-width: none;
}
.contact-form-row .form-col{
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.contact-form-row .form-col .h2{
    font-size: var(--h1-size);
}
@media(min-width:992px){
    .contact-form-row .c-content p img, .contact-form-row .c-content p img.size-full {
        width: 70%;
        margin-left: 15%;
    }
    .contact-form-row .form-col>*{
        max-width:85%;
        margin-right:15%;
    }
}
body #BorlabsCookieBoxWidget svg {
    color:var(--primary);
    opacity:.7;
}
body .BorlabsCookie._brlbs-cb-googlemaps,
body .BorlabsCookie ._brlbs-content-blocker,
body .BorlabsCookie ._brlbs-embed._brlbs-google-maps {
    height: 100%;
    height: auto;
    max-height: 100%;
    position: absolute;
    width: 100%;
    height: 100%;
}
body .BorlabsCookie ._brlbs-embed._brlbs-google-maps img{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

#s_news>.container{
    border-bottom: 2px solid var(--primary);
    margin-bottom: 2.6rem;
    padding-bottom: 1.6rem;
}
.single .post-summary>p{
    color: var(--primary);
}
.rot-cpt-item-team .item-terms>.term-link{
    display:block;
    display: inline-block;
    min-width: fit-content;
}
#s_teamimg figure{
    background-position:50% 20%;
}


.rot-open-state {
    width: fit-content;
    background: var(--white);
    text-transform: uppercase;
    font-weight: 400;
    padding: 4px 8px 4px;
    border-radius: 1px;
    color: var(--secondary);
}
.rot-open-state.is-closed {
    background: var(--primary-lightest);
    color: var(--text);
}
.rot-open-state+.rot-open-next {
    margin-top: 0.6rem;
    color: var(--secondary-darkest);
    font-weight: 500;
    font-size: .94rem;
}
@media(max-width:767.98px){
	.caption-content-col .row>.col-12:first-child{
		margin-bottom: 0.3rem;
		padding-bottom: .3rem;
		border-bottom: 3px solid var(--white);
	}
	.rot-open-state+.rot-open-next {
		font-size: 0.84rem;
		margin-top: .1rem;
	}
	section#s_header .lead p {
		margin-bottom: 0.4rem;
	}
	.rot-open-state{
		font-size:1.2rem;
	}
}


.rot-openh-table tbody>tr:first-child{
	    background: transparent;
    border-bottom: 2px solid var(--primary);
}
.rot-open-hidden{
	display:none;
	position:absolute;
	transform:translateY(-100%);
	pointer-events: none;
}

.rot-open-state.is-open+.rot-openh-table,
.rot-open-state.is-closed+.rot-openh-table {
	margin-top: 1.4rem;
}
.rot-open-state{
	cursor:help;
}
.rot-open-state:hover+.rot-openh-table .rot-open-hidden{
	display:block;

}

.rot-openh-table+.h4{
	margin-top:1rem;
}

.has-svg-absolute {
	position:relative;
}
.has-svg-absolute .rot-svg {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: .2;
}
.has-svg-absolute .rot-svg svg{
	    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.notice {
    text-transform: uppercase;
    background: var(--secondary-lightest);
    /* background: none; */
    font-weight: 500;
    width: fit-content;
    padding: 4px 8px;
    /* padding: 0; */
    /* text-decoration: underline; */
    /* text-underline-offset: .4em; */
    /* text-decoration-thickness: .1em; */
    /* text-decoration-color: var(--primary); */
}
.svg-outline-link {
  position: relative;
  display: inline-block;
  padding: 0.6em 1.2em;
  color: #111;
  text-decoration: none;
  font-weight: bold;
  overflow: hidden;
}

.svg-outline-link svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.svg-outline-link rect {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-dasharray: 100 180;
    stroke-dashoffset: -135;
    transition: stroke-dashoffset 0.9s ease, stroke-dasharray 0.9s ease;
}

.svg-outline-link:hover rect,
.svg-outline-link:focus rect {
  stroke-dashoffset: 0;
  stroke-dasharray:280;
}


.rot-post-type-team.rot-posts-items{
    margin-top:1rem;
}
.wpcf7 button,
.wpcf7 input{
    font-size:var(--regular-p-size);
}
.wpcf7 button{
    min-height: 2rem;
    border: none;
    padding: 2px 12px;
}
.repeater-item{
    display: flex;
    flex-wrap:wrap;
    gap:12px;
    font-size:var(--regular-p-size);
    margin-top: .5rem;
}
.repeater-inner-item {
    flex: 1 0 calc(25% - 12px / 4 * 3);
    max-width: calc(25% - 12px / 4 * 3);
}
.repeater-inner-item:first-child {
    flex: 1 0 calc(100%);
    max-width: calc(100%);
}
@media(min-width:768px){
    .repeater-inner-item {
        flex: 1 0 calc(25% - 12px / 4 * 3);
        max-width: calc(25% - 12px / 4 * 3);
    }

}
.wpcf7 .btn-wrap{
    width:100%;
    max-width:100%;
    flex:0 0 100%;
    margin-bottom: .5rem;
}
.wpcf7 .h-wrap{
    margin-top:2rem;
}

footer .footer-bottom-nav ul{
    display: flex;
    padding-left:0;
    gap: 20px;
    font-weight:500;
}
.footer-bottom-nav{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}
@media(max-width:767.98px){
    .row-gap-xs-20{
        row-gap:3rem;
    }
}


#s_start .section-lead p {
    font-size:1.1rem;
    font-weight:700;
}
body blockquote{
    margin-left: 1.1rem;
    margin-top: 1.5rem;
    font-size: 1.9rem;
    max-width: 860px;
    line-height: 1.2;
    font-weight: 200;
}
body #s_start blockquote{
    max-width: 100%;
}
body blockquote p{
    font-size: inherit;
    line-height: inherit!important;
    font-weight: inherit!important;
    color: var(--primary-dark);
}

.wpcf7-not-valid-tip {
    position: relative;
    bottom: 0px;
}




@media(max-width:1400px){
	.repeater-inner-item {
		flex: 1 0 calc(33% - 12px / 3 * 2);
		max-width: calc(33% - 12px / 3 * 2);
	}
	.repeater-inner-item.select{
		flex: 1 0 calc(100%);
		max-width: 100%;
		margin-top: 0.5rem;
		margin-bottom: .5rem;
	}
}
.rot-sm-label{
	margin: .2rem 1rem;
}




/*WHEELMASTER*/

#main{
    min-height:calc(100vh - var(--header-height) - var(--admin-bar-height));
}


/* ====== Jetstream-inspiriertes B2B-Form auf Bootstrap 4 Basis ====== */
:root{
    --rbf-bg: #ffffff;
    --rbf-card: #ffffff;
    --rbf-text: #1f2937;          /* gray-800 */
    --rbf-muted: #6b7280;         /* gray-500 */
    --rbf-border: #e5e7eb;        /* gray-200 */
    --rbf-primary: #ef4444;       /* blue-600 */
    --rbf-primary-600: #d23b3b;   /* blue-700 */
    --rbf-ring: rgba(239, 68, 68, .25);
    --rbf-danger: #dc3545;
}

.rbf-login-wrap{
    max-width: 720px;
    margin: 2.5rem auto;
    padding: 2rem;
    background: var(--rbf-card);
    border: 1px solid var(--rbf-border);
    border-radius: .75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    color: var(--rbf-text);
}

.rbf-login-wrap > h1,
.entry-title{
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    letter-spacing: .2px;
}

.rbf-login-wrap small{
    color: var(--rbf-muted);
    display: block;
    margin-top: .25rem;
}

/* Felder & Gruppen */
.rbf-field-group,
.field,
fieldset.field-group{
    margin-bottom: 1rem;
}
.rbf-field-group,
fieldset.field-group{
    border: 1px solid var(--rbf-border);
    border-radius: .75rem;
    padding: 1rem 1rem 1.25rem;
    background: #fff;
}
.rbf-field-group legend,
fieldset.field-group legend{
    font-size: 1rem;
    font-weight: 600;
    margin-left: .5rem;
    width: auto;
    padding: 0 .25rem;
}

/* Labels */
.field > label,
.field-group .field > label,
.radio-group > label{
    display: block;
    font-weight: 600;
    margin-bottom: .5rem;
}

/* Inputs wie Jetstream (auf BS4 aufsetzend) */
.rbf-login-wrap input[type="text"],
.rbf-login-wrap input[type="email"],
.rbf-login-wrap input[type="tel"],
.rbf-login-wrap input[type="password"],
.rbf-login-wrap select,
.rbf-login-wrap textarea,
.rbf-login-wrap .form-control{
    display: block;
    width: 100%;
    padding: .625rem .75rem;
    border: 1px solid var(--rbf-border);
    border-radius: .5rem;
    background-color: #fff;
    line-height: 1.5;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.rbf-login-wrap textarea{
    resize: vertical;
}

.rbf-login-wrap input:focus,
.rbf-login-wrap select:focus,
.rbf-login-wrap textarea:focus{
    outline: 0;
    border-color: var(--rbf-primary);
    box-shadow: 0 0 0 .25rem var(--rbf-ring);
}

/* Required / Invalid Hinweise minimal halten – Browser default schöner machen */
.rbf-login-wrap input:required:invalid,
.rbf-login-wrap select:required:invalid,
.rbf-login-wrap textarea:required:invalid{
    box-shadow: none;
}

/* Radio-Gruppe “Ich bin …” */
.radio-group{
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
}

.radio-group label{
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: .5rem .75rem;
    border: 1px solid var(--rbf-border);
    border-radius: 999px;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
    user-select: none;
}

.radio-group input[type="radio"]{
    accent-color: var(--rbf-primary); /* wird von modernen Browsern genutzt */
}

.radio-group input[type="radio"]:focus + *{
    box-shadow: 0 0 0 .2rem var(--rbf-ring);
}

.radio-group input[type="radio"]:checked ~ span,
.radio-group input[type="radio"]:checked + *{
    /* falls du <input> vor dem Text platzierst */
    color: var(--rbf-primary-600);
}

/* Checkbox AGB */
.field.checkbox label{
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.field.checkbox input[type="checkbox"]{
    margin-top: .25rem;
}

/* Aktionen / Buttons */
.actions{
    margin-top: 1.25rem;
}

.actions .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .625rem 1rem;
    border-radius: .5rem;
    font-weight: 600;
    transition: transform .06s ease, box-shadow .15s ease;
}

.actions .btn-primary{
    background-color: var(--rbf-primary);
    border-color: var(--rbf-primary);
}

.actions .btn-primary:hover{
    background-color: var(--rbf-primary-600);
    border-color: var(--rbf-primary-600);
}

.actions .btn:active{
    transform: translateY(1px);
}

/* Footer-Links */
.rbf-login-footer{
    margin-top: 1.25rem;
    font-size: .9375rem;
    color: var(--rbf-muted);
    text-align: center;
}

.rbf-login-footer a{
    color: inherit;
    text-decoration: underline;
}

/* Kleinere Screens */
@media (max-width: 575.98px){
    .rbf-login-wrap{
        padding: 1.25rem;
        margin: 1.25rem auto;
    }
    fieldset.field-group{
        padding: .875rem;
    }
}

/* Hilfsklassen, falls benötigt */
.rbf-muted{ color: var(--rbf-muted) !important; }
.rbf-danger{ color: var(--rbf-danger) !important; }


/* ====== RBF Dashboard: Orders & Form ====== */
:root body{
    --rbf-text: #1f2937;
    --rbf-muted: #6b7280;
    --rbf-border: #e5e7eb;
    --rbf-card: #ffffff;
    --rbf-primary: var(--primary);
    --rbf-primary-600: var(--primary-dark);
    --rbf-ring: var(--primary-dark);

	--secondary: #5b5b5b;

/* === RBF Frontend Account Panel (Dark Nav Skin) === */
/* Design-Tokens angelehnt an rbf-admin.css */
	--rbf-aside-bg: #0f172a;      /* slate-950 */
	--rbf-aside-text: #e5e7eb;    /* gray-200 */
	--rbf-aside-muted: #94a3b8;   /* slate-400 */
	--rbf-aside-hover: rgba(255,255,255,.08);
	--rbf-aside-active: #1e293b;  /* slate-800 */
	--rbf-primary: #ef4444;
	--rbf-primary-600: #d23b3b;
	--rbf-ring: rgba(239, 68, 68, .25);
}

/* Optional Dark Toggle: <body class="rbf-dark"> … */
.rbf-dark{
    --rbf-text: #e5e7eb;
    --rbf-muted: #9ca3af;
    --rbf-border: #293042;
    --rbf-card: #0f172a;
    --rbf-primary: var(--primary);
    --rbf-primary-600: var(--primary-dark);
    --rbf-ring: var(--primary-dark);
}



/* === RBF Frontend Account Panel (Dark Nav Skin) === */
/* Design-Tokens angelehnt an rbf-admin.css */


/* Container */
.rbf-orders{
    /* max-width: 1120px; */
    /* margin: 2rem auto; */
    color: var(--rbf-text);
}
.rbf-orders > h2{
    font-weight: 700;
    margin-bottom: .25rem;
}
.rbf-orders-count {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .25rem .75rem;
    border: 1px solid var(--rbf-border);
    border-radius: 999px;
    font-weight: 600;
    color: var(--rbf-muted);
    background: var(--rbf-card);
    margin-bottom: 1rem;
    font-size: .8rem;
    line-height: 1.3;
}

/* Table Wrapper (scrollbar on small screens) */
.table-wrap{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Table */
.wp-list-table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--rbf-card);
    border: 1px solid var(--rbf-border);
    border-radius: .75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.wp-list-table thead th{
	position: sticky; top: 0;
    background: var(--rbf-card);
    z-index: 1;
    text-transform: none;
    font-weight: 700;
    font-size: .8rem;
    color: var(--rbf-muted);
    border-bottom: 1px solid var(--rbf-border);
    padding: .75rem .2rem;
    white-space: nowrap;
}
.wp-list-table td a,
.wp-list-table thead th a{
	font-size:inherit;
}
.wp-list-table tbody td {
    padding: 0.35rem .2rem;
    border-top: 1px solid var(--rbf-border);
    vertical-align: middle;
    font-size: .8rem;
}
.wp-list-table tbody tr:nth-child(even){
    background: rgba(0,0,0,.015);
}
.wp-list-table tbody tr:hover{
    background: rgba(37,99,235,.06);
}

/* Preview column */
.wp-list-table thead th:first-child,
.wp-list-table tbody td:first-child{
    width: 72px;
    text-align: center;
}
.rbf-thumb{
    display: block;
    width: 60px; height: auto;
    border-radius: .5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.no-thumb{
    display: inline-flex;
    width: 60px; height: 40px;
    align-items: center; justify-content: center;
    border: 1px dashed var(--rbf-border);
    border-radius: .5rem;
    color: var(--rbf-muted);
    font-weight: 700;
}

/* Auftrag-Link & Datum */
.wp-list-table td a{
    font-weight: 600;
    text-decoration: none;
}
.wp-list-table td a:hover{
    text-decoration: underline;
    color: var(--rbf-primary-600);
}
.wp-list-table td:nth-child(5){
    white-space: nowrap;
    color: var(--rbf-muted);
}

/* Status Chips */
.rbf-status{
    /* display: inline-flex; */
    /* align-items: center; */
    background: transparent!important;
}
.rbf-status span{
    display: block;
    max-width:fit-content;
    padding: .25rem .5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .8125rem;
    border: 1px solid transparent;
    line-height: 1;
}
.rbf-status--offen span{
    color: #2c2c2c; background: #f7f7f7; border-color: #f7f7f7; /* amber */
}
.rbf-status--in-bearbeitung span{
    color: #2e2e2e; background: #b4b4b4; border-color: #b4b4b4; /* blue */
}
.rbf-status--abgeschlossen span{
    color: #fff; background: #424242; border-color: #424242; /* emerald */
}
.rbf-status--storniert span{
    color: #991b1b; background: #fee2e2; border-color: #fecaca; /* red */
}

/* Order Form Card */
.rbf-shadow-card,
.rbf-order-form-wrap{
    margin-top: 0rem;
    padding: 1.25rem;
    background: var(--rbf-card);
    /* border: 1px solid var(--rbf-border); */
    border: 1px solid #e5e7eb70;
    border-radius: .75rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
}
.rbf-order-form-wrap h3{
    font-weight: 700;
    margin-bottom: .75rem;
}
form.rbf-form p{
    margin-bottom: .25rem;
}
form.rbf-form input[type="text"],
form.rbf-form textarea,
form.rbf-form .form-control{
    display: block; width: 100%;
    padding: .625rem .75rem;
    border: 1px solid var(--rbf-border);
    border-radius: .5rem;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
	margin-top:.25rem;
}
form.rbf-form textarea{ resize: vertical; min-height: 120px; }
form.rbf-form input:focus,
form.rbf-form textarea:focus{
    outline: 0; border-color: var(--rbf-primary);
    box-shadow: 0 0 0 .25rem var(--rbf-ring);
}
.rbf-order-form-wrap .show-form-btn,
form.rbf-form button,
body  .btn,
form.rbf-form .btn{
    display: inline-flex; align-items: center; justify-content: center;
    padding: .625rem 1rem;
    border-radius: .5rem;
    font-weight: 700;
    border: 1px solid var(--rbf-primary);
    background: var(--rbf-primary); color: #fff;
    transition: transform .06s, background-color .15s, border-color .15s;
}
form.rbf-form button:hover,
form.rbf-form .btn:hover{
    background: var(--rbf-primary-600); border-color: var(--rbf-primary-600);
}
form.rbf-form button:active,
form.rbf-form .btn:active{ transform: translateY(1px); }




form.rbf-form input[type="file"]{
    display: block;
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #d1d5db;      /* border-gray-300 */
	border-radius: 0.375rem;        /* rounded-md */
	background-color: #ffffff;
	font-size: 0.875rem;            /* text-sm */
	line-height: 1.25rem;
	color: #111827;                 /* text-gray-900 */
	cursor: pointer;
}

form.rbf-form input[type="file"]::file-selector-button {
	margin-right: 0.75rem;
	padding: 0.5rem 1.25rem;
	border: none;
	border-radius: 6px;          /* pill wie deine roten Buttons */
	background-color: var(--primary);      /* rot */
	color: #ffffff;
	font-weight: 500;
	font-size: 0.875rem;
	cursor: pointer;
    text-transform:uppercase;
}
/* Hover-State für den Button */
form.rbf-form input[type="file"]:hover::file-selector-button {
	background-color: #dc2626;      /* etwas dunkleres Rot */
}

/* Fokus-Ring wie Jetstream */
form.rbf-form input[type="file"]:focus-visible {
	outline: 2px solid #ef4444;
	outline-offset: 2px;
}

/* Safari / ältere WebKit-Browser */
form.rbf-form input[type="file"]::-webkit-file-upload-button {
	margin-right: 0.75rem;
	padding: 0.5rem 1.25rem;
	border: none;
	border-radius: 6px;
	background-color: var(--primary);
	color: #ffffff;
	font-weight: 500;
	font-size: 0.875rem;
	cursor: pointer;
    text-transform:uppercase;
}




/* Responsive: Preview-Spalte ausblenden auf schmal */
@media (max-width: 768px){
    .wp-list-table thead th:first-child,
    .wp-list-table tbody td:first-child{ display: none; }
}

legend{
    font-size:14px;
}
form p label {
    width: 100%;
    font-weight: 600;
    font-size: 14px;
	text-indent:.5rem;
}
.rbf-tile__close{
        position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    line-height: 1;
    border-radius: 90%;
    border: 1px solid rgb(187, 187, 187);
    background: rgb(255, 255, 255);
    cursor: pointer;
    font-weight: bold;
    color: black;
    padding: 1px 3px 3px;
    font-size: 17px;
}


.order-form-col{
	margin-bottom: 2rem;
}
.order-list-col{
	padding-bottom: 2rem;
}

.wp-list-table thead th:first-child{
    border-radius: 0.75rem 0 0 0;
}
.wp-list-table thead th:last-child{
    border-radius: 0 0.75rem 0 0;
}

.rbf-orders legend{
	width:fit-content;
}


.rbf-time{display:none;}
@media(min-width:1800px){
	.rbf-time{display:inline-block;}
}



/* Trigger-Button optional anpassen */
.rbf-account__toggle{
	display:inline-flex;align-items:center;gap:.5rem;
	padding:.6rem .9rem;border-radius:10px;border:1px solid rgba(0,0,0,.06);
	background:#fff; cursor:pointer; font-weight:700;
	transition:transform .06s ease, box-shadow .15s ease;
}
.rbf-account__toggle:hover{ box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.rbf-account__toggle:active{ transform: translateY(1px); }

/* Panel-Container (Slide-In von rechts) */
.rbf-account__panel {
	position: fixed;
	z-index: 100000000;
	top: calc(var(--header-height) + 16px);
	right: 16px;
	bottom: 16px;
	width: 320px;
	max-width: calc(100vw - 32px);
	background: var(--rbf-aside-bg);
	color: var(--rbf-aside-text);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0,0,0,.25);
	overflow: hidden;
	transform: translateX(120%);
	opacity: 0;
	transition: transform .25s ease, opacity .25s ease;
	height: auto;
	min-height: 520px;
	max-height: calc(100vh - var(--header-height) - 11rem);
}
/* Offen-Zustand (JS setzt .is-open) */
.rbf-account__panel.is-open{ transform: translateX(0); opacity: 1; }

/* Inneres Layout */
.rbf-account__panel-inner{
	display:flex; flex-direction:column; height:100%;
	padding: 14px;
}
.rbf-account__panel-head{
	display:flex; align-items:center; justify-content:space-between;
	padding: 10px 10px 12px; border-radius: 12px;
}
.rbf-account__panel-head h3{ margin:0; font-weight:700; font-size:15px; letter-spacing:.2px; }
.rbf-account__close{
	background: transparent; color: var(--rbf-aside-text);
	border: 0; font-size: 22px; line-height: 1; cursor: pointer;
	border-radius: 8px; padding: 2px 8px;
}
.rbf-account__close:hover{ background: var(--rbf-aside-hover); }

.rbf-account__panel-body{
	flex:1 1 auto; overflow:auto; padding: 8px 6px 6px 6px;
}

/* Begrüßung / Meta */
.rbf-account__hello{ color: var(--rbf-aside-muted); margin: 4px 8px 10px; font-size: .92rem; }

/* Linkliste im Panel – wie die Aside-Navigation */
.rbf-account__links{ list-style:none; margin:8px 4px 16px; padding:0; }
.rbf-account__links li{ margin: 4px 0; }
.rbf-account__links a{
	display:flex; align-items:center; gap:10px;
	padding: 10px 12px; border-radius:10px; text-decoration:none;
	color: var(--rbf-aside-text); transition: background-color .15s ease, transform .06s ease;
}
.rbf-account__links a:hover{ background: var(--rbf-aside-hover); }
.rbf-account__links a.is-active{
	background: var(--rbf-aside-active);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

/* Coming-soon / Hilfetext */
.rbf-account__coming-soon{
	margin-top:auto; /* Text nach unten drücken, wenn gewünscht */
	padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.06);
	color: var(--rbf-aside-muted); font-size:.92rem;
}

/* Optional: Primär-Button-Stil (falls du im Panel mal Buttons brauchst) */
.rbf-btn{
	display:flex; align-items:center; justify-content:center; gap:10px;
	width:100%; padding:10px 12px; border-radius:10px; text-decoration:none;
	font-weight:700; box-sizing:border-box;
}
.rbf-btn--primary{ background: var(--rbf-primary); color:#fff; }
.rbf-btn--primary:hover{ background: var(--rbf-primary-600); }

/* Kleine Responsiv-Anpassung */
@media (max-width: 480px){
	.rbf-account__panel{ left:16px; width:auto; }
}




body  input[type="checkbox"],
body input[type="radio"],
body  form input[type="checkbox"],
body  form input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}
input[type=checkbox]:checked:before {
    width: 1.475rem;
    background: white;
    height: 1.475rem;
    margin: -.2875rem -.3125rem;
    content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyMCAyMCc+PHBhdGggZD0nTTE0LjgzIDQuODlsMS4zNC45NC01LjgxIDguMzhIOS4wMkw1Ljc4IDkuNjdsMS4zNC0xLjI1IDIuNTcgMi40eicgZmlsbD0nI2VmNDQ0NCcvPjwvc3ZnPg==);
    display: block;
}
body input:focus,
body select:focus,
body textarea:focus{
    border-color: var(--rbf-primary);
    box-shadow: 0 0 0 .25rem var(--rbf-ring);
    outline: 0;
}
input[type=radio]:checked:before {
    vertical-align: middle;
    width: 10px;
    height: 10px;
    left: 3px;
    margin: 2px;
    line-height: 1;
    background: var(--rbf-primary);
}
form .actions{
	display: flex;
    gap: 10px;
}

.rbf-thumbs,
.rbf-thumbs-wrap,
.rbf-thumbs-col,
.thumbs-col{
	display: flex;
	gap: 1rem;
	padding: 1rem;
	border: 1px solid #eee;
	padding: 20px 10px 10px;
	border-radius: 6px;
}

.card h5,
.card .card-title{
	margin-top:0;
	color: var(--rbf-primary-600);
	margin-bottom:.74rem
}
.card .thumbs-label {
	margin-top: 0;
	margin-bottom: -0.6rem !important;
	margin-left: 18px;
	background: white;
	z-index: 0;
	position: relative;
	width: fit-content;
	padding: 0 5px;
	font-size:15px;
}

.card table{
	font-size:15px;
}
.card table th {
	line-height: 1.25;
	padding: 5px;
	font-weight: 500;

}
.card table td {
	padding:5px;
}

.total-mon{
	font-weight:600;
	text-decoration: underline;
}


.badge {
  display: inline-block;
  padding: 0px 12px;
  border: none;
  border-radius: 8px;
  font-size: .92rem;
  font-weight:600;
  background: #e7e7e7;
}
.badge.badge-secondary{
	background-color:var(--secondary);
	color:var(--rbf-border);
}


.msgs-card .wm-history{
    width: 100%;
    max-height: 190px;
    overflow-y: auto;
    font-size: .8rem;
}

body form h4,
body form .h5,
body form h5{
    margin-top:0;
}

body form [readonly]{
    background: var(--grey-lightest)!important;
    border-color: transparent!important;
    color: var(--grey)!important;
}


.site-content .docu ul:not(.navbar-nav):not([class*="wp-admin"]) li {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
}


body .rbf-items-imgs-fieldwrap{
	--small-p-size:.7rem;
}
body .rbf-items-imgs-fieldwrap small {
    width: 100%;
    overflow: hidden;
    line-height: 1.1;
    padding-bottom: 0.4rem;
}

.rbf-est-card h3.h4 {
    font-size: 0.9rem;
    font-weight: 500;
    padding-left: 5px;
    margin-bottom: 13px;
    color: var(--primary-dark);
}

.card .rbf-estimate-surcharges{
	font-size:.85rem;
	margin-bottom:1rem;
}
.card .rbf-estimate-surcharges td, .card .rbf-estimate-surcharges th {
    padding: 0 5px;
    line-height: 1.5;
    color: var(--grey);
}


.rbf-order-complaint{
    margin-top: 1.2rem;;
}
.rbf-order-complaint-form-wrap{
    margin-top: 0.2rem;
}