/* Add here all your CSS customizations */

.container .ce-image figure img,
.container .image-box figure img,
.container .ce-textpic.ce-below .ce-gallery figure img,  
.container .ce-textpic.ce-above .ce-gallery figure img {
    max-width: 100%;
    height: auto;
}

.hyphens {
    -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
}

/* header */
#header .header-body {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1035;
}

#header .header-nav-main a.dropdown-item {
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
    border-radius: .2rem;
}

#header .header-nav-main a.dropdown-item:hover,
#header .header-nav-main a.dropdown-item:focus-visible {
    color: #fff !important;
    background: rgba(219, 25, 33, .16) !important;
    box-shadow: inset 0 -2px rgba(219, 25, 33, .75);
}

#header .header-nav-main a.dropdown-item.is-section-active {
    color: #fff !important;
    background: rgba(219, 25, 33, .26) !important;
    box-shadow: inset 0 -2px #db1921;
}

html.dark.sticky-header-active #header .header-body {
    background-color: transparent !important;
}

html .fading-bg {
    opacity: 0;
    transition: opacity 0.05s ease-in-out;
    background-color: #3a3a3a !important;
    box-shadow: 0 0 5px #0006 !important;
    /* border-bottom: 2px solid #db1921 !important; */
    border-bottom: 2px solid #db1921 !important
}

html.sticky-header-enabled.sticky-header-active .fading-bg {
    opacity: 1;
}

html .box-shadow-simple {
    box-shadow: 2px 2px 10px #000 !important;
}
/*temp änderung mit thomas besprechen*/
.text-color-dark-gray,
.text-color-dark-gray p {
    color: #444 !important;
}
/*temp änderung mit thomas besprechen*/
.mb-5 p{
    margin-bottom: 3rem;
}

html a {
    color: #FFF;
}
/* scroll-top */
html.dark.sticky-header-active .scroll-to-top {
    background: #500;
    color:#100;
    opacity: .4;
    transition: color 0.2s;
}
html.dark.sticky-header-active .scroll-to-top:hover {
    background: #500;
    color: #FFFD;
    opacity: .9;
}

html .scroll-to-top {
    background: #500;
    color:#100;
}

/* agb */
html .text-color-agb,
html .text-color-agb p {
    color: #FFF;
}

html .text-color-agb h5 {
    margin-top: 3em;
}

/* Footer / Kontakt */
html footer, #footerMenu {
    background: #3a3a3a !important;
}
html footer .footer-link-item {
    display: inline-block;
    min-height: 3rem;
}

html #footer .footer-ribbon span {
    font-family: inherit;
}

html footer#footer.border-top {
    border-top: 2px solid #db1921 !important
}

html #footer .footer-ribbon {
    margin: -42px 0 0 0;
}

html .form-control,
html .form-control:focus {
    font-weight: 500;
    color: #111;
}
html .form-control::placeholder {
    font-weight: normal;
    color: #2229;
}

html input.form-control,
html textarea.form-control {
    background-color: #EEE !important;
}

html #footerNav li a.dropdown-item {
    color: #ccc !important;
    font-size: 13px;
}

html #footer {
    background-color: #3a3a3a !important
}

html section#footer.border-top {
    /* border-top: 2px solid #db1921 !important */
    border-top: 2px solid #db1921 !important
}

.container-feature-card .frame .card {
    flex-grow: 1;
}

.container-feature-card a .card {
    min-height: 20rem
}

.container-feature-card .frame-type-textpic :hover  {
    text-decoration: none !important; 
}

.container-feature-card .row .frame {
    min-height: 20rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

html .container-feature-card .textpic-title-light {
    background-color: #3a3a3a;
}

html .container-feature-card .textpic-title-light h4 a {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px #0003;
}

html .container-feature-card .textpic-title-light h4 a:hover {
    /* color: #db1921  !important; */
    color:#db1921 !important;
}

html .container-feature-card .textpic-title-dark {
    background-color: #C1C1C1;
}

html .container-feature-card .textpic-title-dark h4 a {
    color: #212529 !important;
    text-shadow: 2px 2px 4px #fff3;
}


.frame-type-form_formframework .form-control {
    background-color: #EEE !important;
    border-color: transparent;
}

.frame-type-form_formframework .form-select {
    min-height: calc(1.5em + .75rem + 2px);
    padding: .375rem 2.25rem .375rem .75rem;
    color: #111;
    background-color: #EEE;
    border: 1px solid transparent;
    border-radius: .25rem;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.frame-type-form_formframework .form-select:hover {
    background-color: #e7e7e7;
}

.frame-type-form_formframework .form-select:focus {
    color: #111;
    background-color: #fff;
    border-color: rgba(219, 25, 33, .7);
    box-shadow: 0 0 0 .2rem rgba(219, 25, 33, .14);
    outline: 0;
}

.application-upload-row {
    margin-top: .75rem;
}

.application-upload-row .form-element-fileupload {
    height: 100%;
}

.form-element-fileupload .form-control[type="file"] {
    min-height: 3.25rem;
    height: auto;
    padding: .35rem;
    overflow: visible;
    color: #ddd;
    background: rgba(255, 255, 255, .035) !important;
    border: 1px dashed rgba(255, 255, 255, .22) !important;
    border-radius: .3rem;
}

.form-element-fileupload .form-control[type="file"]::file-selector-button,
.form-element-fileupload .form-control[type="file"]::-webkit-file-upload-button {
    margin: -.35rem .75rem -.35rem -.35rem;
    padding: .85rem 1rem;
    border: 0;
    border-radius: .25rem 0 0 .25rem;
    color: #fff;
    background: #db1921;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s ease;
}

.form-element-fileupload .form-control[type="file"]:hover::file-selector-button,
.form-element-fileupload .form-control[type="file"]:hover::-webkit-file-upload-button {
    background: #b8141b;
}

.job-apply-link {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: .75rem;
    padding: .7rem 1rem;
    border: 1px solid rgba(219, 25, 33, .75);
    border-radius: .25rem;
    color: #fff;
    background: rgba(219, 25, 33, .13);
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease;
}

.job-apply-link:hover,
.job-apply-link:focus-visible {
    color: #fff;
    background: rgba(219, 25, 33, .28);
    border-color: #db1921;
    text-decoration: none;
}

.services-grid {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
}

.services-grid .content-element--layout-3003 a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
}

.services-grid .content-element--layout-3003 .card {
    min-height: 24rem;
    transition: transform .22s ease, box-shadow .22s ease;
}

.service-card-heading {
    padding: 1.4rem;
}

.service-card-title {
    display: inline-block;
    padding: .55rem .8rem .6rem;
    border-left: 3px solid #db1921;
    border-radius: 0 .2rem .2rem 0;
    background: rgba(20, 23, 26, .72);
    font-size: 1.45rem;
    line-height: 1.15;
    box-shadow: 0 .3rem .8rem rgba(0, 0, 0, .18);
}

.services-grid .content-element--layout-3003 a:hover .card,
.services-grid .content-element--layout-3003 a:focus-visible .card {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .2);
}

.service-card-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: .65rem 1.25rem;
}

.service-card-content p:last-of-type {
    margin-bottom: 0;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    align-self: end;
    justify-self: end;
    padding: 0 0 .12rem;
    color: #db1921;
    background: transparent;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
}

.service-card-link span {
    transition: transform .18s ease;
}

.services-grid a:hover .service-card-link span,
.services-grid a:focus-visible .service-card-link span {
    transform: translateX(.2rem);
}

@media (max-width: 575.98px) {
    .service-card-content {
        grid-template-columns: 1fr;
    }
}

.content-grid--sensor-types,
.content-grid--turning-parts {
    margin-top: 1.5rem;
    margin-bottom: 3.5rem;
}

.content-grid--sensor-types .content-element,
.detail-content-card {
    height: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .4rem;
    background: rgba(255, 255, 255, .045);
}

.content-grid--sensor-types .image-box {
    margin-bottom: 0 !important;
}

.content-grid--sensor-types img,
.content-grid--turning-parts img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: .25rem;
}

.detail-content-card {
    display: flex;
    flex-direction: column;
}

.detail-content-card .content-element--layout-3005,
.detail-content-card .frame-layout-3005,
.detail-content-card .image-box {
    margin-bottom: 0 !important;
}

.detail-content-card .content-element--layout-2005 {
    flex: 1;
}

.detail-content-card .frame-layout-2005 {
    padding: 1.25rem .25rem .25rem;
}

.detail-content-card .frame-layout-2005 h2 {
    font-size: 1.35rem !important;
}

#contact {
    margin-top: 3rem;
    padding-top: 3rem;
    padding-bottom: 1.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

#contact > .content-element {
    margin-bottom: 0;
}

.interferer {
    position: sticky;
    color: #fff;
    bottom: 0;
    z-index: 2;
}

.interferer .interferer-opened {
    background-color: #db1921;
    width: 100%;
    max-height: 18rem;
    overflow: hidden;
    transition: .5s;
}

.interferer .interferer-opened.hide {
    max-height: 0;
}

.interferer .interferer-closed {
    background-color: #db1921;
    height: 3rem;
    width: 5.5rem;
    position: absolute;
    left: 5rem;
    bottom: 0;
    overflow: hidden;
    transition: height .5s;
}

.interferer .interferer-closed:hover {
    height: 4rem;
    cursor: pointer;
}

.interferer .interferer-closed.hide {
    max-height: 0;
}

.interferer-closed-text {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    cursor: default;
}

.interferer .interferer-btn-close {
    position: absolute;
    top: 1.0rem;
    right: 0.5rem;
    cursor: pointer;
}

.interferer .interferer-btn-open {
    position: absolute;
    top: 0.3em;
    right: 0.5rem;
}

.interferer .interferer-btn-submit {
    background-color: #fff;
    color: #db1921;
    margin-right: 12.5%;
}

.interferer .interferer-header{
    padding: 1.5rem 0 0 0;
}

.interferer .interferer-btn {
    text-align: right;
    margin-right: 2.rem;
}

.interferer-btn-close-bottom,
.interferer-btn-open-bottom  {
    display: inline-block;
}
.interferer-btn-close-side,
.interferer-btn-open-side {
    display: none;
}

@media (min-width: 1200px) {

    .interferer {
        position: absolute;
    }

    .interferer-btn-close-bottom,
    .interferer-btn-open-bottom  {
        display: none;
    }
    .interferer-btn-close-side,
    .interferer-btn-open-side {
        display: inline-block;
    }

    .interferer .interferer-opened {

        position: fixed;
        width: 18rem;
        height: auto;
        top: 15%;
        right: 0;
        z-index: 2000;
        transform: skewY(-3.7deg);
        box-shadow: 5px 1px 6px #00000066;
        transition: width 0.5s ;
        overflow: hidden;
    }

    .interferer .interferer-closed {
        position: fixed;
        width: 3rem;
        height: 6rem;
        right:0;
        top: 15%;
        left: unset;
        transform: skewY(-3.7deg);
        box-shadow: 5px 1px 6px #00000066;

        overflow: hidden;
        transition: height .25s;
        transform-origin: top right;
    }

    .interferer .interferer-closed:hover {
        width: 3rem;
        height: 6.5rem;
    }

    .interferer .interferer-closed-text {
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        letter-spacing: .04em;
    }

    .interferer .interferer-btn-open-side {
        display: none;
    }

    .interferer .interferer-opened.hide,
    .interferer .interferer-closed.hide {
        max-width: 0;
    }


}

figure.image a img.image-embed-item {
    background-color: #fff;
}

.header-logo img {
    width:272px
}

section .container h1,
section .container h2,
section .container h3,
section .container h4,
section .container h5,
section .container h6,
section .container p {
   -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
}

#c42 h1,
.featured-boxes .featured-box h1,
.featured-boxes .featured-box h2,
.featured-boxes .featured-box h3,
.featured-boxes .featured-box h4,
.featured-boxes .featured-box h5,
.featured-boxes .featured-box h6 {
    -moz-hyphens: none;
    -o-hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

.accordion .accordion-btn:hover,
.accordion .accordion-btn:focus {
    text-decoration: none !important;
}

.accordion-btn {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 42px;
    position: relative;
}

.accordion-btn:hover {
    color: #fff; 
}
.accordion-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transition: cal(50%, 50%);
    transform: translate(-50%, -50%);
}

.accordion .card .accordion-icon {
    display: none;
    font-size: 1.8rem;
}
.accordion .card [aria-expanded="false"] > .accordion-icon--down,
.accordion .card [aria-expanded="true"] > .accordion-icon--up {
    display: block;
}

.accordion .card button :is(h1,h2,h3,h4,h5,h6):first-child {
    line-height: 42px;
    padding-right: 2.75rem;
    letter-spacing: normal;
}

.jumbotron-small .image {
    height: 186px;
}


.jumbotron-small .image img {
    height: 265px !important;
    object-position: center center;
    object-fit: cover;
}

html .text-color-agb h5 {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

.mb-5 p {
    margin-bottom: 1rem;
}

#products .frame-layout-2004 h2 {
    margin-bottom: 1rem;
}

.dark-card .card {
    background-color: #2c3237 !important;
}

.dark-card .card .card-header {
    background-color: #333940;
    border-radius: 0;
    margin-bottom: -1px;
    padding: 0;
    border-radius: .25rem;
    border-bottom: 0;
    margin: -1px;
}

.dark-card .card .card-header .head {
    padding: 1rem 0.933rem;
}

.dark-card .card .card-header .head :is(h1,h2,h3,h4,h5,h6):first-child {
    letter-spacing: normal;
}

.dark-card .card-body {
    height: 24.7rem;
    overflow: hidden;
}

.jumbotron-small-section.with-pic {
    padding: 50px 0 !important;
}

.jumbotron-small-section.without-pic {
    padding: 100px 0 !important;
}

header + p, header + table, header + ul, header + :is(h1,h2,h3,h4,h5,h6), .frame header + div {
    margin-top: 14px !important;
}


.featured-box-header-height {
    height: 50px;
}

.featured-box-header-color, .featured-box-header-color:hover {
    color: #ffffff;
}

.cursor-default {
    cursor:default
}

.card-body ul li{
    text-indent: -1.1rem;
    padding-left:1rem;
}

table.ce-table thead tr:nth-of-type(1) th,
table.ce-table tbody tr:nth-of-type(1) td  {
    border-top: 0;
}

.default-header {
    margin-bottom: 1.5rem;
    min-height: 120px;
    background-size: cover;
    background-position: center;
    background-image: url('/typo3conf/ext/bw_mtb_template/Resources/Public/Images/landing_header_bg.png');
}

/* Core content elements keep a consistent rhythm without backend containers. */
.content-element {
    position: relative;
    width: 100%;
    margin: 0 0 clamp(1.75rem, 3.5vw, 3.5rem);
}

.content-element:last-child {
    margin-bottom: 0;
}

.content-anchor {
    position: absolute;
    top: -7rem;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.content-grid {
    display: grid;
    width: 100%;
    gap: clamp(1rem, 2vw, 1.75rem);
    margin: 0 0 clamp(2.5rem, 5vw, 5rem);
    align-items: stretch;
}

.content-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-grid > .content-element,
.content-stack > .content-element {
    min-width: 0;
    margin-bottom: 0;
}

/* Homepage section headings align with their card grids. */
body:has(#services) .content-element--layout-2003:has(+ .content-grid) {
    margin-bottom: 1.25rem;
}

body:has(#services) .content-element--layout-2003:has(+ .content-grid) .text-center {
    text-align: left !important;
}

body:has(#services) .content-element[data-content-uid="461"],
body:has(#services) .content-element[data-content-uid="103"] {
    margin-bottom: 1.25rem;
}

.content-grid .frame,
.content-grid .card,
.content-grid .product-card,
.content-grid .product-card__link,
.content-grid .featured-box {
    height: 100% !important;
}

.content-stack {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1rem;
}

.content-grid--accordion-columns .content-stack > .content-element:first-child {
    margin-bottom: .5rem;
}

.content-element--layout-3005 .image-box,
.content-element--layout-3005 figure {
    text-align: center;
}

/* Product cards communicate clearly that the complete tile is a link. */
.product-card__link {
    display: block;
    color: #fff;
    text-decoration: none !important;
    border-radius: .35rem;
}

.product-card .featured-box {
    min-height: 14.5rem;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: .35rem;
    background: linear-gradient(145deg, #343b42, #252a2f);
    box-shadow: inset 0 0 0 1px rgba(219, 25, 33, .55), 0 .5rem 1.4rem rgba(0, 0, 0, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card .box-content {
    display: flex;
    min-height: 14.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 1.25rem;
    padding-bottom: 1.1rem;
    top: 0 !important;
    border: 0 !important;
    border-radius: inherit;
}

.product-card__link:hover .featured-box,
.product-card__link:focus-visible .featured-box {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 2px #db1921, 0 .85rem 1.8rem rgba(0, 0, 0, .42);
}

.product-card__link:focus-visible {
    outline: 3px solid rgba(219, 25, 33, .75);
    outline-offset: 3px;
}

.product-card .featured-box-header-height {
    display: flex;
    height: auto;
    min-height: 3.25rem;
    margin: .8rem 0 .35rem;
    align-items: center;
}

.product-card__cta {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.product-card__cta .ui-arrow {
    color: #db1921;
    transition: transform .2s ease;
}

.product-card__link:hover .product-card__cta .ui-arrow {
    transform: translateX(4px);
}

.product-card__icon {
    display: grid;
    width: 4.75rem;
    height: 4.75rem;
    flex: 0 0 4.75rem;
    place-items: center;
    border: 1px solid rgba(219, 25, 33, .55);
    border-radius: 50%;
    background: rgba(219, 25, 33, .1);
}

.product-card__icon img,
.product-card__icon > .ui-icon {
    display: block;
    width: 2.35rem;
    max-height: 2.65rem;
    color: #db1921;
    object-fit: contain;
}

/* Native image and PDF preview. */
html.media-preview-open {
    overflow: hidden;
}

.media-preview {
    width: min(70rem, 96vw);
    max-width: none;
    height: min(52rem, 92vh);
    max-height: none;
    padding: 0;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .4rem;
    background: #20252a;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .65);
}

.media-preview::backdrop {
    background: rgba(5, 8, 10, .88);
    backdrop-filter: blur(3px);
}

.media-preview__panel {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.media-preview__header {
    display: flex;
    min-height: 3.5rem;
    padding: .75rem 1rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.media-preview__title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-preview__close {
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    color: #fff;
    border: 0;
    border-radius: 50%;
    background: #db1921;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.media-preview__viewport {
    min-height: 0;
    flex: 1;
    background: #15191c;
}

.media-preview__viewport iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.media-preview__external {
    display: block;
    padding: .8rem 1rem;
    color: #fff !important;
    background: #30363c;
    text-align: center;
    text-decoration: none !important;
}

.media-preview__external:hover,
.media-preview__external:focus-visible {
    background: #db1921;
}

.media-preview-link {
    position: relative;
    display: inline-block;
    cursor: zoom-in;
}

.media-preview-link--pdf::after {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    padding: .3rem .55rem;
    content: "PDF ansehen";
    color: #fff;
    border-radius: .2rem;
    background: rgba(219, 25, 33, .94);
    box-shadow: 0 .2rem .5rem rgba(0, 0, 0, .35);
    font-size: .72rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .content-grid--3,
    .content-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Core text-with-image must stack on small screens instead of squeezing text. */
@media (max-width: 767.98px) {
    .media-preview {
        width: 100vw;
        height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .content-element {
        margin-bottom: 2.25rem;
    }

    .content-grid,
    .content-grid--2,
    .content-grid--3,
    .content-grid--4 {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
        margin-bottom: 3rem;
    }

    .ce-textpic.ce-intext.ce-nowrap {
        display: flex;
        flex-direction: column;
    }

    .ce-textpic.ce-intext.ce-nowrap .ce-gallery {
        float: none !important;
        width: 100%;
        margin: 0 0 1.5rem !important;
        order: 0;
    }

    .ce-textpic.ce-intext.ce-nowrap .ce-bodytext {
        width: 100%;
        order: 1;
    }

    .ce-textpic.ce-intext.ce-nowrap .ce-gallery figure {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .ce-textpic.ce-intext.ce-nowrap .ce-gallery img {
        max-width: 100%;
        height: auto;
    }
}


/* Responsive content images and font-free interface icons. */
.service-card > picture {
    position: absolute;
    inset: 0;
}

.service-card-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card .card-body {
    position: relative;
    z-index: 1;
}

.ui-icon--menu {
    position: relative;
    display: inline-block;
    width: 1.35rem;
    height: 1rem;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.ui-icon--menu span {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    border-top: 2px solid currentColor;
    transform: translateY(-50%);
}

.ui-icon--check {
    display: inline-grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border: 3px solid #28a745;
    border-radius: 50%;
    color: #28a745;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
}

.ui-icon--feature {
    display: inline-grid;
    place-items: center;
    color: #db1921;
    font-size: 3rem;
    line-height: 1;
}

.ui-toast-icon {
    color: inherit;
    font-family: inherit;
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.contact-icon {
    position: absolute;
    top: .45rem;
    left: 0;
    color: #db1921;
    font-size: 1.05rem;
    line-height: 1;
}


/* WCAG AA contrast for the small certificate subheading on the dark section. */
.content-element--layout-2005 .text-primary {
    color: #f45157 !important;
}

/* PDF-Vorschauen (z. B. ISO-Zertifikat) rendert TYPO3 als PNG mit Transparenz - weiss hinterlegen.
   Echte PNG/JPG laufen ueber bio:picture (<picture>), sind also nicht betroffen. 2026-11-19 */
figure.image > img.image-embed-item[src$=".png"] {
    background-color: #fff;
}
