:root {
    --bs-heading-color: #000000;
}
.text-dark, .teaser-read-more a {
    color: #000000!important;
}
.footer-column h3 {
    font-weight:500!important;
}

h1 {
    font-weight: 400!important;
}

.trenner p {
    font-size: 45px;
    font-family: 'Krona One', sans-serif!important;
}
.trenner.trenner-small p {
    font-size: 19px;
}
.accordion-button span {
    font-family: 'Krona One', sans-serif!important;
    font-weight: 500!important;
}
.news-section {
    background-color: #F8F8F8;
}
.news-section .btn  {
    text-transform: uppercase!important;
    font-family: 'Krona One', sans-serif!important;

}
.news-section h2 {
    color: black!important;
}
.card .card-body {
    padding: 30px 50px
}
.card .card-body h3{
    font-size: 18px!important;
}
.gelb-voll h2 {
    font-style: italic;
    text-transform: none!important;
    color: white;
    font-size: 38px;
    font-weight: 300!important;
    font-family: 'Open Sans', sans-serif!important;
}
.schwarz h2{
    color: black!important;
}
.kunden-box .teaser-content {

}
.footer {
    padding-top: 20px;
}
.gelb-voll h3 {
    font-size: 58px!important;
    margin-bottom: 40px!important;
}
.gelb-voll .btn-primary {
    border-bottom-color: white!important;
}
.schwarz-voll {
    margin-bottom: 60px;
    padding-bottom: 40px!important;
    padding-top: 40px!important;
}
.schwarz-voll h3 {
    font-size: 58px!important;
    margin-bottom: 40px!important;
}
.schwarz-voll h2 {
    font-style: italic;
    text-transform: none!important;
    color: white;
    font-size: 38px;
    font-weight: 300!important;
    font-family: 'Open Sans', sans-serif!important;
}
.teaser-read-more a {
    color: #000000!important;
    font-weight: 500!important;
    font-family: 'Krona One', sans-serif;
    font-size: 14px!important;
    padding-bottom: 0px!important;

}
.image-text-side-by-side h2 {
    color: black!important;
}
.teaser-content h3 {
    font-size: 20px!important;
}
h2 {
    margin-bottom: 20px!important;
    font-weight: 500!important;
}
.docked-image h2, .docked-image h1 {
    font-weight: 500!important;
    color: black;
}
.docked-image > .container > .row {
    transform: translateY(80px);
}
.docked-image .colored-bar-pretitle {
    font-size:30px;
    font-weight: 300;
}
.teaser-text p {
    color:white!important;
}
.teaser-content h2 {
    font-size: 1.1rem!important;
    margin-top: 0!important;
}
.teaser-content {
    text-align: left;
}
.header-subpage .pretitle-span {
    color: #f9d616;
    font-style: italic;
    font-family: "Open Sans", sans-serif!important;
    font-size: 1.7rem;

}
.header-subpage h2 {
    margin-top: 0!important;
    margin-bottom: 40px!important;
    font-size: 2.8rem!important;
}

.impressionen h2 {
    font-size: 24px!important;
    color: #f9d616!important;
    text-transform: none;
    font-weight: 500!important;
    font-family: 'Open Sans'!important;
    margin-bottom:10px!important;
}
.teaser-content h2 {
    margin-bottom: 0!important;
}
.teaser-text p {
    margin-bottom:0!important;
}
.impressionen h3 {
    font-size: 40px!important;
    font-weight: 500!important;
}

/* PRODUKTE */

.header-products .pretitle-span {
    color: #f9d616;
    font-style: italic;
    font-family: "Open Sans", sans-serif!important;
    font-size: 1.7rem;
}
.header-products h1 {
    color: black;
}

/* Geschichte */
.page-id-1923 .itsbs-content-column .pretitle-span {
    color: #f9d616 !important;
    font-size: 2rem !important;
}

.page-id-1923 .itsbs-content-column h2 {
    margin-top: 0 !important;
}

/* Formular */
.frm_form_field.form-field.frm_inside_container.frm_label_float_top > label {
    color: white;
}


.frm_submit.frm_flex button {
    border-bottom: 1px solid #f9d616 !important;
    font-family: 'Krona One', sans-serif !important;
    text-transform: uppercase;
    box-shadow: none !important;
}

.frm_style_formidable-stil.with_frm_style .frm_submit button:active,
.frm_style_formidable-stil.with_frm_style .frm_submit button:hover {
    background: transparent;
    border-color: transparent;
    outline: none;
}


/* Hero */

.hero-overlay-content p {
    color: #f9d616!important;
    font-size: 25px!important;
}

@media (max-width: 991px) {
    .trenner p {
        font-size: 20px!important;
    }
    .header-products .pretitle-span {
        font-size: 1.4rem!important;
    }
}

/* temp fix */
@media (min-width: 991px) {
    .docked-image > .container > .row {
        transform: translateY(67px);
    }
}

/* Fixes (allgemein) */
h3 {
    font-weight: 400 !important;
}

.teaser-color-background {
    max-height: none !important;
}

/* Footer */
.footer-column span {
    font-size: 0.75rem;
    vertical-align: 2px;
}


/* Responsive */

@media (max-width:767px) {
    p {
        font-size: 1rem;
    }

    p:last-child {
        margin-bottom: 0;
    }

    h1.colored-bar-title.mt-0.mb-4 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1rem !important;
        hyphens: auto;
    }

    h2.colored-bar-title.mt-0.mb-4 {
        font-size: 1.75rem !important;
    }

    .title-text.pt-5 {
        padding-top: 1rem !important;
    }

    .pt-5 {
        /*
        padding-top: 0 !important;
        */
    }

    /* Hero */
    .hero-overlay-content p {
        font-size: 16px !important;
    }

    /* Vorteile – Aufzählung Zahlenbadge */
    .pt-3.pb-3.docked-image.docked-image-left {
        margin-bottom: 4rem;
    }

    .title-text-number-badge {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
        font-size: 1rem;
    }

    .title-text.pt-5.pb-5 {
        padding-bottom: 1.5rem !important;
    }

    .row.mb-3.align-items-center {
        margin-bottom: 0 !important;
    }

    .row {
        --bs-gutter-x: 0;
    }

    .col-2 {
        width: 14%;
    }

    .col-10 {
        width: 86%;
    }

    .offset-2 {
        margin-left: 14%;
    }

    /* image & text */
    .image-text-side-by-side.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .itsbs-image-column.justify-content-start + .itsbs-content-column {
        padding-top: 2rem !important;
    }
    .itsbs-image-column.justify-content-end + .itsbs-content-column {
        margin-bottom: 3rem;
    }

    .image-text-side-by-side.py-0 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .image-text-side-by-side.py-5 .itsbs-image-column,
    .image-text-side-by-side.py-0 .itsbs-image-column {
        padding-top: 0 !important;
        padding-bottom: 1.5rem !important;
        margin-bottom: 0 !important;
    }
    .title-text.pt-0.pb-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }


    /* schwarzer Trenner */
    .trenner,
    .trenner.trenner-small {
        padding: 20px 0 !important;
    }

    .trenner p,
    .trenner.trenner-small p {
        font-size: 16px !important;
        margin:0;
    }

    /* CH Qualität Banner */
    .image-strip-icons-section {
        margin: 0;
    }

    .image-strip-background {
        height: 100px !important;
    }

    .icon-strip-title {
        font-size: 1rem !important;
        margin-bottom: 0px !important;
    }

    .icon-strip-icon-wrapper img {
        width: 50% !important;
    }

    .icon-strip-icon {
        margin: 0 auto;
    }

    /* h3 Unternehmen */
    .col-md-10.offset-md-1 h3 {
        font-size: 1.5rem !important;
    }

    .page-id-33 .py-5 {
        padding-top:0 !important;
    }

    .pt-3.pb-3.docked-image.docked-image-right,
    .pt-3.pb-3.docked-image.docked-image-left{
        margin-bottom: 3rem;
    }

    /* Accordion */
    .accordion .accordion-header span {
        font-size: 1rem !important;
    }

    .accordion-button::after {
        scale: 1;
    }

    /* Team + FFF Qualitätssignet */
    .page-id-377 .itsbs-image-column,
    .page-id-1489 .itsbs-image-column {
        padding: 0 !important;
    }


    /* Footer */
    .footer {
        padding-top: 0;
    }
    .footer-column span {
        font-size: 0.5rem;
        vertical-align: 2px;
    }

    .footer .row.gy-4 div:nth-of-type(2) .footer-column.w-100 p {
        font-size: .75rem !important;
    }

}

/* Buttons */
.btn-primary {
    font-family: 'Krona One', sans-serif!important;
    font-weight: 400!important;
}

/* Datenschutz */
.page-id-2453 .col-md-8 {
    width: 100% !important;
}

.page-id-2453 ul {
    font-size: 19.2px;
    font-weight: 300;
}

/* Footer */
.footer-column a {
    border-bottom: none !important;
    font-weight: 300 !important;
    white-space: nowrap;
}

/*
.footer-column h3 a {
	border-bottom: 3px solid #f9d616 !important;
	color: #000000 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  padding-bottom: 0px !important;
	text-decoration: none !important;
}
*/

/* wenn Downloads bereit, diese Zeile löschen und die oben auskommentierte einblenden */
.footer-column h3 a {
    display: none;
}

/* bootstrap addition */
.pt-6 {
    padding-top: 5rem !important;
}

.pb-6 {
    padding-bottom: 5rem !important;
}

/* section content */
section#content {
    overflow: hidden;
}

/* section image strip icons */
section.image-strip-icons-section img.icon-strip-icon {
    background-color: transparent;
    box-shadow: none !important;
    max-width: 120px;
    max-height: 120px;
}

/* section call to action */
section.call-to-action .col-text {

}

section.call-to-action .col-links {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

section.call-to-action .col-links a {
    color: #ffffff;
    border-bottom: 3px solid var(--color-primary);
    text-decoration: none;
    line-height: 1.3;
    font-size: 1.125rem;
    margin-right: 3rem;
    transition: color 0.2s ease-in-out;
}

section.call-to-action .col-links a:hover {
    color: var(--color-primary);
}

section.call-to-action .col-links a:last-child {
    margin-right: 0;
}

section.call-to-action .call-to-action-logo-col {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

section.call-to-action .call-to-action-overlay-col {
    position: absolute;
    top: 0;
    right: calc(-100% + 1rem);
    width: 100%;
    height: 100%;
    display: none;
}

section.call-to-action .call-to-action-logo-col img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    margin-right: -2px;
}

/* Colored Bar - Pretitle Styling */
.colored-bar-section .colored-bar-pretitle,
.docked-image .colored-bar-pretitle {
    color: #ffffff !important;
    font-size: 30px;
    font-style: italic;
}

/* Docked Image - Row nach unten verschieben */
.docked-image {
    overflow: visible !important;
}

.docked-image > .container {
    overflow: visible !important;
}

.docked-image > .container > .row {
    transform: translateY(65px);
}

/* Hero */
.hero-overlay-content img {
    margin: auto;
    max-height: 30vw !important;
}

.hero-overlay-content h1 {
    display: inline-block;
    max-width: 33vw;
    font-size: 2.5vw !important;
}

.hero-overlay-content p {
    color: #f9d616 !important;
    font-size: 1.78vw !important;
    font-weight: 400 !important;
}

.hero-overlay-content {
    opacity: 0;
    transform: translate(50px, 50px);
}

.hero-image-static.is-loaded .hero-overlay-content {
    animation: slideInFromBottomRight 2s ease-out forwards;
    animation-delay: 0.3s;
}

/* Docked Image Right - After nur auf Desktop */
@media (max-width: 991.98px) {
    .docked-image-right .container:after,
    .docked-image-left .container:before {
        display: none !important;
    }
    section.call-to-action .col-links {
        margin-top: 2rem;
        justify-content: flex-start;
    }
    section.call-to-action .call-to-action-overlay-col {
        display: block;
    }
    section.title-text .title {
        font-size: 1.5rem !important;
    }
}

/* Docked Image Right - After width anpassen (responsive) */
/* Berechnet den Abstand zwischen Container-Ende und Viewport-Rand */
@media (min-width: 1400px) {
    .docked-image-right .container:after {
        width: calc((100vw - 1320px) / 2);
    }
}

@media (min-width: 1921px) {
    .hero-overlay-content h1 {
        max-width: 600px;
        font-size: 3rem !important;
        margin-bottom: 0 !important;
    }

    .hero-overlay-content p {
        font-size: 34px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .docked-image-right .container:after {
        width: calc((100vw - 1140px) / 2);
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .docked-image-right .container:after {
        width: calc((100vw - 960px) / 2);
    }
}

@media (max-width: 767.98px) {
    .hero-overlay-content h1 {
        max-width: 230px;
        font-size: 16px !important;
        margin-bottom: 0 !important;
    }
    .hero-overlay-content p {
        font-size: 14px !important;
    }
    section.image-strip-icons-section img.icon-strip-icon {
        max-width: 100px;
        max-height: 100px;
    }
    section.call-to-action .call-to-action-logo-col {
        display: none;
    }
    section.call-to-action .call-to-action-overlay-col {
        display: none;
    }
    section.call-to-action .col-links a {
        font-size: 0.875rem;
    }
    section.call-to-action h2 {
        font-size: 1.25rem !important;
    }
    section.title-text .title {
        font-size: 1.25rem !important;
    }
    section.title-text .title + * {
        font-size: 1rem !important;
    }
    section.title-text + section.title-text:not(.schwarz-voll):not(.trenner) {
        padding-top: 0 !important;
        margin-top: -1rem !important;
    }
    section.title-text .title-text-content-text p {
        font-size: 1rem;
    }
    section.docked-image {
        margin-bottom: 2rem !important;
    }
    section.teaser-section.pt-5 {
        padding-top: 1rem !important;
    }
    section.image-strip-icons-section.py-5 {
        padding-bottom: 1.5rem !important;
    }
}

@media (max-width: 374.98px) {
    .hero-overlay-content img[style*="max-width"] {
        max-width: 60px !important;
    }
}

@media (min-width: 992px) {
    .pt-md-6 {
        padding-top: 6rem !important;
    }
    .pb-md-6 {
        padding-bottom: 6rem !important;
    }
}

@keyframes slideInFromBottomRight {
    from {
        transform: translate(50px, 50px);
        opacity: 0;
    }
    to {
        transform: translate(0, 0);
        opacity: 1;
    }
}

/* All Headings Uppercase */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    text-transform: uppercase;
    hyphens: auto;
}

/* H2 Spacing */
h2, .h2 {
    margin-bottom: 1.5rem;
}

/* News Section - Card text should inherit color from card-body */
.news-section .card-body p {
    color: inherit !important;
}

/* All Buttons - No Border Radius */
.btn,
button,
input[type="submit"],
input[type="button"],
.btn-link {
    border-radius: 0 !important;
}