@import url(../fonts/fira_sans.css);


.header-wrapper {
    position: relative;
    width: 100%;
    height: clamp(300px, 31vw, 500px);
    background-image: url("../images/bwo_banner.jpg");
    background-repeat: no-repeat;
    background-position: 200px center;
    background-size: cover;
    background-color: #ffffff;
    border-top: 3px solid #edb059;
    overflow: hidden;
}

.header-row {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.header-text {
    position: relative;
    max-width: 1200px;
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    padding: 0 0px;
}

.header-text .header-text-logo {
    display: none !important;
}

.header-text .header-text-label {
    position: absolute;
    left: 0px;
    bottom: clamp(35px, 7vw, 50px);

    display: inline-block;
    width: auto;
    min-width: min(400px, calc(100vw - 40px));

    padding: clamp(10px, 1.2vw, 15px) clamp(14px, 1.6vw, 20px);

    color: #423f6d;
    background-color: rgba(255, 255, 255, 0.52);
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    text-shadow: 0 0 10px rgb(255, 255, 255);
}

.header-text .header-text-label h3,
.header-text .header-text-label h1 {
    font-family: "Fira Sans", Sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: clamp(62px, 2.2vw, 31px);
    line-height: 1.2;
    margin: 0;
}

.header-text .header-text-label p.subtitle {
    margin: 4px 0 0 0;
    font-family: "Fira Sans", Sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(14px, 1.5vw, 21px);
    line-height: 1.35;
}

/* Tablet */
@media (max-width: 991.98px) {
    .header-wrapper {
        height: 330px;
        background-position: center center;
    }

    .header-text .header-text-label {
        bottom: 45px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .header-wrapper {
        height: 240px;
        background-position: center center;
    }

    .header-text {
        padding: 0 14px;
    }

    .header-text .header-text-label {
        left: 14px;
        bottom: 28px;
        min-width: 0;
        width: auto;
        max-width: calc(100vw - 28px);
        padding: 9px 12px;
    }

    .header-text .header-text-label h1,
    .header-text .header-text-label h3 {
        font-size: 21px;
    }

    .header-text .header-text-label p.subtitle {
        font-size: 14px;
    }
}

/* Sehr kleine Smartphones */
@media (max-width: 420px) {
    .header-wrapper {
        height: 205px;
    }

    .header-text .header-text-label {
        bottom: 20px;
    }

    .header-text .header-text-label h1,
    .header-text .header-text-label h3 {
        font-size: 19px;
    }

    .header-text .header-text-label p.subtitle {
        font-size: 13px;
    }
}

body.custom .card{
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.10);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.10);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.10);
    background-color: #ffffff;
}

body.custom .card.border-green{
    border-top: 3px solid #fb9678 !important;
}

.logo_nav {
    padding: 40px 20px 0px 20px
}

.logo_nav .logo {
    background: url(../logos/logo_nav.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 27px;
    background-position: center;
}

body.dd-layout {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
}

body.dark .logo_nav .logo{
    background: url(../logos/logo_nav_dark.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 27px;
    background-position: center;
}

body.dd-layout{
    background-color: #eeeeee;
}

.header-wrapper {
    border-top: 3px solid #edb059 ;
}

.btn-primary {
    color: #fff;
    background-color: #423f6d;
    border-color: #423f6d;
}

.btn-outline-primary {
    background-color: #ffffff;
    color: #423f6d;
    border-color: #423f6d;
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle {
    color: #ffffff;
    background-color: #423f6d;
    border-color: #423f6d;
}

.skin-default .topbar {
    background: #423f6d;
}

.skin-default-dark .topbar {
    background: #423f6d;
}

.topbar .top-navbar .navbar-header {
    background: rgba(0, 0, 0, 0.1);
    line-height: 65px;
    padding-left: 10px;
    min-width: 70px;
}

body #cboxTopCenter {
    background-color: #423f6d;
}


.notify .heartbit {
    border: 5px solid yellow;
    border-radius: 70px;
}

body #cboxTopCenter {
    background-color: #423f6d;
}

select.form-control {
    padding: 0.225rem 0.35rem;
}

.btn-group-lg > .btn, .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.btn-outline-primary {
    color: #423f6d;
    border-color: #423f6d;
    background-color: #ffffff;
}

.btn-outline-primary:hover {
    color: #423f6d !important;
    border-color: #423f6d;
    background-color: #ddebf6;
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle {
    color: #423f6d !important;
    border-color: #423f6d;
    background-color: #ddebf6;
}

div[aria-label="Datei-Manager"] > button {
    background-color: #fff;
    border-color: #423f6d;
    border-radius: 0px;
}

div[aria-label="Datei-Manager"] > button > .mce-txt, div[aria-label="Datei-Manager"] > button > .mce-ico {
    color: #423f6d;
}

.badge-primary {
    color: #fff;
    background-color: #423f6d;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #423f6d;
    border-color: #423f6d;
}

#cookie-bar .cb-enable {
    background-color: #423f6d !important;
}

#cookie-bar .cb-enable:hover {
    background-color: #a66d19 !important;
}

a, a.cutwrap::before, a > .cutwrap::before {
    color: #423f6d;
}

.offer .share p {
    background: #423f6d;
}

.offer section h4 {
    border-bottom: 3px solid #423f6d;
}

select.form-control {
    padding: 0.225rem 0.35rem;
}

.btn-group-lg > .btn, .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.btn-outline-primary {
    color: #423f6d;
    border-color: #423f6d;
    background-color: #ffffff;
}

.btn-outline-primary:hover {
    color: #423f6d !important;
    border-color: #423f6d;
    background-color: #ddebf6;
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle {
    color: #423f6d !important;
    border-color: #423f6d;
    background-color: #ddebf6;
}

.magic-box button:hover, .btn-magic:hover{
    color: #bcbadc !important;
}

div[aria-label="Datei-Manager"] > button {
    background-color: #fff;
    border-color: #423f6d;
    border-radius: 0px;
}

div[aria-label="Datei-Manager"] > button > .mce-txt, div[aria-label="Datei-Manager"] > button > .mce-ico {
    color: #423f6d;
}

.login-box .btn-rounded {
    line-height: 25px;
    font-size: 17px;
    border: 2px solid #423f6d;
    color: #423f6d;
}

.tooltip-inner {
    max-width: 500px ;
    padding: 3px 8px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    background-color: #423f6d;
    border-radius: 4px;
}

.tooltip.top .tooltip-arrow {
    border-top-color: #423f6d;
}

.tooltip.right .tooltip-arrow {
    border-right-color: #423f6d;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #423f6d;
}

.tooltip.left .tooltip-arrow {
    border-left-color: #423f6d;
}

.badge-primary {
    color: #fff;
    background-color: #423f6d;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #423f6d;
    border-color: #423f6d;
}

.page-link {
    color: #423f6d;
}

.text-primary {
    color: #423f6d !important;
}

.badge-outline-primary {
    color: #423f6d;
    background-color: #fff;
    border: 1px solid #423f6d;
    border-radius: 999px;
    padding: 0.35em 0.6em;
    font-size: 0.75rem;
    font-weight: 600 !important;
}

.btn-primary {
    color: #ffffff;
    background-color: #423f6d;
    border-color: #423f6d;
}

#cookie-bar .cb-enable {
    color: #ffffff !important;
    background-color: #423f6d !important;
}

#cookie-bar .cb-enable:hover {
    color: #ffffff !important;
    background-color: #ad721a !important;
}

.sidebar-nav li.active li.active > a {
    color: #423f6d !important;
    font-weight: 600;
}

body.dark .sidebar-nav li.active li.active > a{
    color: #8d8abf !important;
    font-weight: 600;
}

.toggle-documents{
    margin-top: 0px !important;
}

.tooltip-inner {
    max-width: 500px;
    padding: 8px 12px;
    color: #423f6d;
    background-color: #ffffff;
    border: 1px solid #423f6d;
    border-radius: 4px;
    font-size: 13px;
}

.tooltip.top .tooltip-arrow::before {
    border-top-color: #423f6d !important;
}
.tooltip.right .tooltip-arrow::before {
    border-right-color: #423f6d !important;
}
.tooltip.bottom .tooltip-arrow::before {
    border-bottom-color: #423f6d !important;
}
.tooltip.left .tooltip-arrow::before {
    border-left-color: #423f6d !important;
}

.bs-tooltip-auto[x-placement^=left] .arrow:before, .bs-tooltip-left .arrow:before {
    left: 0;
    border-width: 0.4rem 0 0.4rem 0.4rem;
    border-left-color: #423f6d
}

.bs-tooltip-auto[x-placement^=bottom] .arrow:before, .bs-tooltip-bottom .arrow:before {
    bottom: 0;
    border-width: 0 0.4rem 0.4rem;
    border-bottom-color: #423f6d;
}

.bs-tooltip-auto[x-placement^=right] .arrow:before, .bs-tooltip-right .arrow:before {
    right: 0;
    border-width: 0.4rem 0.4rem 0.4rem 0;
    border-right-color: #423f6d;
}

.bs-tooltip-auto[x-placement^=top] .arrow:before, .bs-tooltip-top .arrow:before {
    top: 0;
    border-width: 0.4rem 0.4rem 0;
    border-top-color: #423f6d;
}

.jqstooltip {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.btn-outline-menu {
    color: #423f6d;
    background-color: #ffffff;
    box-shadow: 0 0px 10px rgba(0,0,0,0.07);
}

.sanction-success a {
    color: #423f6d;
}

.dt-buttons .dt-button {
    background: #ffffff;
    border-color: #423f6d;
    color: #423f6d;
}

.offer_details {
    box-shadow: none;
    border: none;
}

a, a.cutwrap::before, a > .cutwrap::before {
    color: #423f6d;
}

#berufe .card-header, #biographie .card-header, #dokumente .card-header{
    background-color: #eeeeee;
    border-radius: 5px;
}

.desc-box {
    border-left: 3px solid #423f6d !important;
}

label.gradient.bg-primary {
    background-color: #423f6d !important;
    background: #423f6d !important;
}

.profile-tabs-nav .nav-pills .nav-link.active {
    background: #fff;
    border: 2px solid #423f6d;
    color: #423f6d;
}

.profile-tabs-nav .nav-pills .nav-link:not(.active) {
    background: var(--secondary, #bfbfbf);
    border: 2px solid #ddd;
    color: #a3a0a0;
}

.sidebar-nav ul li a.active, .sidebar-nav ul li a:hover{
    color: #423f6d;
}

.sidebar-nav ul li a.active i, .sidebar-nav ul li a:hover i {
    color: #423f6d;
}

.datepicker table tr td.active, .datepicker table tr td.active:hover, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover {
    color: #ffffff;
    background-color: #423f6d !important;
    border-color: #423f6d;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.profile-panel-badge {
    color: #423f6d;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #423f6d;
    background-color: #423f6d;
}

table tbody tr td.cat::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #423f6d;
    border-radius: 0 3px 3px 0;
}


.offer_main {
    font-size: 16px;
    line-height: 1.75;
    color: #1e1e2f;
    font-weight: 400;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Überschriften */

.offer_main h1 {
    font-size: 27px;
    line-height: 1.25;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    font-weight: 500;
}

.offer_main h2 {
    font-size: 25px;
    line-height: 1.3;
    margin-top: 30px !important;
    margin-bottom: 22px !important;
    font-weight: 500;
}

.offer_main h3 {
    font-size: 23px;
    line-height: 1.35;
    margin-top: 26px !important;
    margin-bottom: 18px !important;
    font-weight: 500;
}

.offer_main h4 {
    font-size: 21px;
    line-height: 1.4;
    margin-top: 24px !important;
    margin-bottom: 16px !important;
    font-weight: 500;
}

.offer_main h5 {
    font-size: 17px;
    line-height: 1.45;
    margin-top: 22px !important;
    margin-bottom: 14px !important;
    font-weight: 600;
}

/* Text */

.offer_main p {
    margin-top: 0;
    margin-bottom: 16px;
}

.offer_main strong,
.offer_main b {
    font-weight: 600;
}

.offer_main small {
    font-size: 85%;
    color: #6c757d;
}

/* Links */

.offer_main a {
    color: #0065b1;
    font-weight: 500;
    text-decoration: none;
}

.offer_main a:hover {
    color: #074a7c;
    text-decoration: underline;
}

/* Listen */

.offer_main ul,
.offer_main ol {
    margin-top: 0;
    margin-bottom: 20px;
    padding-left: 24px;
}

.offer_main li {
    margin-bottom: 8px;
    padding-left: 2px;
}

.offer_main li::marker {
    color: #0065b1;
}

.offer_main ul ul,
.offer_main ol ol,
.offer_main ul ol,
.offer_main ol ul {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Bilder */

.offer_main img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Tabellen */

.offer_main table {
    width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

.offer_main th,
.offer_main td {
    padding: 12px 14px;
    border: 1px solid #e3e7eb;
    vertical-align: top;
}

.offer_main th {
    background: #f3f7fb;
    font-weight: 600;
    color: #1e1e2f;
}

.offer_main tr:nth-child(even) td {
    background: #fafafa;
}

/* Trennlinien */

.offer_main hr {
    border: 0;
    border-top: 1px solid #e3e7eb;
    margin: 30px 0;
}

/* Blockquotes / Hervorhebungen */

.offer_main blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    border-left: 4px solid #0065b1;
    background: #f3f7fb;
    border-radius: 0 10px 10px 0;
    color: #1e1e2f;
}

.offer_main blockquote p:last-child {
    margin-bottom: 0;
}

/* Eingebettete Elemente */

.offer_main iframe,
.offer_main video {
    max-width: 100%;
    border-radius: 10px;
}

/* Verhindert hässliche Abstände am Anfang/Ende */

.offer_main > *:first-child {
    margin-top: 0 !important;
}

.offer_main > *:last-child {
    margin-bottom: 0 !important;
}

/* Mobile */

@media (max-width: 767.98px) {
    .offer_main {
        font-size: 15px;
        line-height: 1.65;
    }

    .offer_main h1 {
        font-size: 24px;
    }

    .offer_main h2 {
        font-size: 22px;
    }

    .offer_main h3 {
        font-size: 20px;
    }

    .offer_main h4 {
        font-size: 18px;
    }

    .offer_main table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.offer_main > *:first-child,
.offer_main #pdf_print,
.offer_main #pdf_print > *:first-child {
    /*margin-top: 10px !important;*/
}

.offer_main #pdf_print > h1:first-child,
.offer_main #pdf_print > h2:first-child,
.offer_main #pdf_print > h3:first-child,
.offer_main #pdf_print > h4:first-child,
.offer_main #pdf_print > h5:first-child {
    /*margin-top: 10px !important;*/
}

/* ===== Sticky Logo-/Sprachleiste ===== */

.brandbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.98);
    border-bottom: 3px solid #423f6d;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);

    transition:
            box-shadow .25s ease,
            border-color .25s ease,
            background .25s ease;
}

.brandbar-inner {
    max-width: 1200px;
    margin: 0 auto;

    height: 112px;
    padding: 14px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    transition:
            height .25s ease,
            padding .25s ease;
}

.brandbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.brandbar-logo img {
    display: block;
    width: 300px;
    height: auto;

    transition:
            width .25s ease,
            transform .25s ease;
}


/* gescrollt: deutlich kleiner */
body.brandbar-small .brandbar {
    background: rgba(255, 255, 255, 0.995);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.13);
}

body.brandbar-small .brandbar-inner {
    height: 68px;
    padding-top: 7px;
    padding-bottom: 7px;
}

body.brandbar-small .brandbar-logo img {
    width: 175px;
}

/* Platz schaffen, weil brandbar fixed ist */
body.dd-layout {
    padding-top: 112px;
}

/* Header-Bild startet unter der Sticky-Bar */
.header-wrapper {
    margin-top: 0;
}

/* alte Header-Logo-Zeile sicherheitshalber ausblenden */
.header-text .header-text-logo {
    display: none !important;
}

/* Sprache in alter Card sicherheitshalber ausblenden */
.header-title-lang {
    display: none !important;
}

/* Mobile */
@media (max-width: 767.98px) {
    body.dd-layout {
        padding-top: 74px;
    }

    .brandbar-inner {
        height: 74px;
        padding: 8px 14px;
        gap: 10px;
    }

    .brandbar-logo img {
        width: 165px;
    }

    .brandbar-language {
        min-width: 0;
    }

    body.brandbar-small .brandbar-inner {
        height: 56px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    body.brandbar-small .brandbar-logo img {
        width: 125px;
    }

    body.brandbar-small {
        padding-top: 56px;
    }
}

/* ===== Brandbar Fix: Scroll-Verkleinerung + Google Translate ===== */

.brandbar,
.brandbar * {
    box-sizing: border-box;
}

.brandbar {
    height: auto;
}

.brandbar-inner {
    height: 112px !important;
    min-height: 112px;
    overflow: hidden;
}

body.brandbar-small .brandbar-inner {
    height: 68px !important;
    min-height: 68px;
}

/* Logo wirklich sauber skalieren */
.brandbar-logo img {
    max-height: 82px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

body.brandbar-small .brandbar-logo img {
    max-height: 48px;
    max-width: 175px;
}


/* Mobile */
@media (max-width: 767.98px) {
    .brandbar-inner {
        height: 74px !important;
        min-height: 74px;
    }

    body.brandbar-small .brandbar-inner {
        height: 56px !important;
        min-height: 56px;
    }

    .brandbar-logo img {
        max-height: 54px;
        max-width: 165px;
    }

    body.brandbar-small .brandbar-logo img {
        max-height: 40px;
        max-width: 125px;
    }
}

.btn-success {
    color: #fff;
    background-color: #423f6d;
    border-color: #423f6d;
}

.btn-floating.btn-outline-primary{
    border-color: #423f6d;
    color: #fff;
    background-color: #423f6d;
}

.btn-floating.btn-outline-primary i{
    color: #fff;
}