body.kbb-v3 {
    --ink: #173f36;
    --green: #164538;
    --lime: #d2ef76;
    --paper: #f7f7f1;
    --muted: #58665d;
    --line: #d9dfd5;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    overflow-wrap: break-word;
}

.kbb-v3 .kbb-v3-shell {
    display: block;
    min-height: 100vh;
}

.kbb-v3 .kbb-v3-header {
    width: 100%;
    max-width: none;
    min-height: 0;
}

.kbb-v3 .kbb-v3-header nav a {
    line-height: 1.4;
}

.kbb-v3 .kbb-v3-header .brand {
    flex: 0 0 auto;
}

.kbb-v3 .kbb-v3-header .menu {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--ink);
    box-shadow: none;
}

.kbb-v3 .kbb-v3-header nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: .45em;
}

.kbb-v3 main a.button.lime {
    background: var(--lime);
    color: var(--ink);
    border-color: transparent;
}

.kbb-v3 main a.button.lime:hover {
    background: #c5e563;
    color: var(--ink);
}

.kbb-v3 #main {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: none;
}

.kbb-v3 .entry-content.kbb-v3-content {
    width: min(88%, 1340px);
    margin: 0 auto;
    padding: 0 0 clamp(2.8rem, 6vw, 6rem);
}

.kbb-v3 .kbb-v3-design-slot,
.kbb-v3 .contact-layout > * {
    min-width: 0;
}

.kbb-v3 .news-feature > .kbb-v3-design-slot,
.kbb-v3 .course-layout > .kbb-v3-design-slot {
    grid-column: 1 / -1;
}

.kbb-v3 .kbb-v3-course-body .kbb-course-detail {
    max-width: none;
    margin: 0;
}

.kbb-v3 .kbb-v3-course-body .kbb-course-detail-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 0 1rem;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.kbb-v3 .kbb-v3-course-body .kbb-course-detail-copy {
    width: 100%;
    max-width: none;
}

.kbb-v3 .kbb-v3-course-body .kbb-course-detail-image {
    display: none;
}

.kbb-v3 .kbb-v3-course-body .kbb-course-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: clamp(1rem, 3vw, 2rem);
    background: var(--ink);
    color: white;
    border-radius: 4px;
}

.kbb-v3 .kbb-v3-course-body .kbb-course-facts div {
    color: inherit;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #52736b;
    box-shadow: none;
    padding: .65rem 0;
}

.kbb-v3 .kbb-v3-course-body .kbb-course-facts :is(strong, span) {
    color: inherit;
}

@media (min-width: 900px) {
    .kbb-v3 .kbb-v3-course-body .kbb-course-detail {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
        column-gap: clamp(2rem, 5vw, 5rem);
        align-items: start;
    }

    .kbb-v3 .kbb-v3-course-body .kbb-course-facts {
        grid-area: 1 / 2 / span 3 / 3;
    }

    .kbb-v3 .kbb-v3-course-body :is(.kbb-course-detail-hero, .kbb-public-status, .kbb-course-detail-content) {
        grid-column: 1;
    }
}

@media (max-width: 899px) {
    .kbb-v3 .kbb-v3-course-body .kbb-course-detail {
        display: flex;
        flex-direction: column;
    }

    .kbb-v3 .kbb-v3-course-body .kbb-course-facts {
        order: -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 1rem;
        margin-bottom: 1.25rem;
    }
}

.kbb-v3 .catalog .kbb-course-card {
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid var(--line);
}

.kbb-v3 .catalog .kbb-course-card .kbb-course-btn:not(.secondary) {
    background: var(--ink);
    color: #fff;
}

.kbb-v3 .faq-page .kbb-v3-design-slot details > summary {
    color: var(--ink);
    font-weight: 500;
}

.kbb-v3 .consultation > .contact-form {
    margin-top: clamp(1rem, 4vw, 3.5rem);
    scroll-margin-top: 7rem;
}

.kbb-v3 .contact-form :is(input[type="checkbox"], input[type="radio"]) {
    width: auto;
    min-height: 0;
    margin-inline-end: .35rem;
}

.kbb-v3 .kbb-v3-home-catalogue {
    padding-block: clamp(2.5rem, 6vw, 6rem);
}

.kbb-v3 .kbb-v3-content > .wp-block-group:first-child {
    padding-top: 0 !important;
}

.kbb-v3-public-content .kbb-v3-content {
    padding-top: clamp(1rem, 3vw, 2.5rem);
}

.kbb-v3 .kbb-v3-archive-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin: 0 0 2rem;
}

.kbb-v3 .kbb-v3-archive-item {
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--line);
    background: #fff;
}

.kbb-v3 .kbb-v3-archive-item > img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.kbb-v3 .page-intro h1, .kbb-v3 .hero h1 {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    text-wrap: balance;
}

.kbb-v3 .page-intro h1 > em, .kbb-v3 .hero h1 > span {
    font-family: Georgia, 'Times New Roman', serif;
}

.kbb-v3 :is(.business, .feature-dark) :is(h2, h3) {
    color: #fff;
}

.kbb-v3 .feature-dark h2 em {
    color: var(--lime);
}

.kbb-v3 :is(.compact p, .availability, .section-head > p) {
    color: var(--muted);
}

.kbb-v3 .kbb-v3-content :is(h2, h3) {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.18;
}

.kbb-v3 .kbb-v3-content h2 {
    font-size: clamp(1.75rem, 3vw, 3.2rem);
    margin: 1rem 0;
}

.kbb-v3 .kbb-v3-content h3 {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    margin: .75rem 0;
}

.kbb-v3 .kbb-v3-content a:not([class]) {
    text-decoration: underline;
    text-underline-offset: .15em;
}

.kbb-v3 .kbb-v3-content :is(.wp-block-button__link, .kbb-course-btn, input[type="submit"]) {
    background-color: var(--lime);
    color: var(--ink);
    border: 1px solid #78923d;
    border-radius: 4px;
    font-weight: 700;
    box-shadow: none;
}

.kbb-v3 .kbb-v3-content .kbb-card-actions a.kbb-course-btn:not(.secondary) {
    color: var(--ink) !important;
}

.kbb-v3 .kbb-v3-content :is(.kbb-form-panel, .kbb-course-inquiry, .kbb-course-card) {
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fff;
    box-shadow: none;
    min-width: 0;
}

.kbb-v3 .kbb-v3-content .kbb-form-panel.kbb-accent-band {
    background: var(--green);
    color: #fff;
}

.kbb-v3 .kbb-v3-content .kbb-accent-band :is(h2, h3, p, li, strong, a) {
    color: #fff;
}

.kbb-v3 :is(.kbb-v3-content, .kbb-v3-home-catalogue) :is(.kbb-course-card, .kbb-course-detail) header {
    display: block;
    position: static;
    height: auto;
}

.kbb-v3 .kbb-v3-content .kbb-course-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.kbb-v3 .kbb-v3-content .kbb-course-section .kbb-section-head {
    max-width: 100%;
}

.kbb-v3 .kbb-v3-content :is(input, select, textarea):not([type="checkbox"], [type="radio"], [type="submit"], [hidden]) {
    max-width: 100%;
    border-color: #8a9a87;
    border-radius: 4px;
}

.kbb-v3 :is(.kbb-v3-faq-search, .kbb-v3-course-search) {
    max-width: 38rem;
    margin: 0 auto 2rem;
}

.kbb-v3 :is(.kbb-v3-faq-search, .kbb-v3-course-search) input {
    display: block;
    width: 100%;
    margin-top: .5rem;
}

.kbb-v3 .kbb-v3-content details {
    border-block: 1px solid var(--line);
    padding: .9rem 0;
}

.kbb-v3 .kbb-v3-content summary {
    font-weight: 700;
    cursor: pointer;
}

.kbb-v3 .kbb-v3-content :is([hidden], .kbb-v3-search-hidden) {
    display: none !important;
}

.kbb-v3 .kbb-v3-general-contact {
    margin: 0 0 1rem;
}

.kbb-v3 :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #46710b;
    outline-offset: 3px;
}

.kbb-v3 #kbb-unternehmen-anfrage, .kbb-v3 #anfrage {
    scroll-margin-top: 7rem;
}

@media (max-width: 760px) {
    .kbb-v3 .kbb-v3-content .wp-block-column,
    .kbb-v3 .kbb-v3-content .kbb-inquiry-grid > * {
        min-width: 0;
    }

    .kbb-v3 .hero h1 {
        font-size: clamp(2.7rem, 12vw, 4.3rem);
    }
}

/* The same logo artwork is used with an alpha-trimmed web rendition. */
.kbb-v3 .kbb-v3-header .brand img {
    display: block;
    width: clamp(180px, 16vw, 204px);
    height: auto;
}

.kbb-v3-home .kbb-v3-header .brand img {
    width: clamp(185px, 17vw, 218px);
}

.kbb-v3 .footer-top img {
    display: block;
    width: clamp(150px, 15vw, 176px);
    height: auto;
}

.kbb-v3 .kbb-v3-header .menu {
    min-width: 44px;
    min-height: 44px;
}

.kbb-v3 .hero-visual > img {
    object-position: 58% 42%;
    filter: brightness(.94);
}

.kbb-v3 .hero-visual::after {
    background: linear-gradient(0deg, rgba(10, 40, 28, .88), rgba(10, 40, 28, .25) 40%, transparent 66%);
}

.kbb-v3 .hero-visual .visual-top > span:first-child {
    background: rgb(13 42 34 / 75%);
    border-radius: 2px;
    padding: .3rem .45rem;
}

.kbb-v3 .sub-visual > img {
    display: block;
    object-position: 50% 48%;
}

.kbb-v3 .sub-visual > img[src*="/workshop.webp"] {
    object-position: 68% 42%;
}

.kbb-v3 .sub-visual > img[src*="/coaching.webp"] {
    object-position: 45% 40%;
}

.kbb-v3 .sub-visual > img[src*="/it.webp"] {
    object-position: 56% 52%;
}

.kbb-v3 .contact-photo > img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: 50% 57%;
}

.kbb-v3 .wide-photo > img {
    object-position: 50% 58%;
}

.kbb-v3 .kbb-v3-search {
    max-width: 36rem;
    margin-block: 1.5rem 2rem;
}

.kbb-v3 .kbb-v3-search label {
    display: block;
    margin-bottom: .4rem;
    color: var(--ink);
    font-weight: 700;
}

.kbb-v3 .kbb-v3-search > div {
    display: flex;
    align-items: stretch;
    gap: .5rem;
}

.kbb-v3 .kbb-v3-search input[type="search"] {
    flex: 1;
    min-width: 0;
    min-height: 44px;
}

.kbb-v3 .kbb-v3-search button,
.kbb-v3 .kbb-v3-utility a.button {
    min-height: 44px;
    background: var(--ink);
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
}

.kbb-v3 .kbb-v3-utility a.button {
    /* Override Kadence's forced entry-content link color on this dark button. */
    color: #fff !important;
}

@media (max-width: 1050px) {
    .kbb-v3 .sub-visual {
        height: auto;
        aspect-ratio: 3 / 2;
        align-self: center;
    }
}

@media (max-width: 980px) {
    .kbb-v3 .kbb-v3-header .brand img { width: 162px; }
    .kbb-v3-home .kbb-v3-header .brand img { width: 178px; }
}

@media (min-width: 761px) and (max-width: 1150px) {
    .kbb-v3 .hero-visual {
        min-height: 0;
        aspect-ratio: 4 / 3;
        align-self: center;
    }

    .kbb-v3 .hero .image-label {
        bottom: 3rem;
        font-size: clamp(1.4rem, 3vw, 2rem);
    }
}

@media (max-width: 760px) {
    .kbb-v3 .hero-visual {
        min-height: clamp(318px, 86vw, 405px);
    }

    .kbb-v3 .hero-visual > img {
        object-position: 68% 40%;
    }

    .kbb-v3 .hero .image-label {
        bottom: 3rem;
        font-size: clamp(1.35rem, 6vw, 1.9rem);
    }

    .kbb-v3 .wide-photo {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .kbb-v3 .wide-photo > span {
        font-size: clamp(1.15rem, 4.6vw, 1.75rem);
    }
}

.kbb-v3 .catalog .kbb-v3-catalog {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.kbb-v3 .catalog .catalog-card[hidden],
.kbb-v3 .catalog .empty-state[hidden] {
    display: none !important;
}

.kbb-v3 .catalog .catalog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.kbb-v3 .catalog .catalog-content {
    flex: 1;
}

.kbb-v3 .catalog .catalog-content > h2 {
    color: var(--ink);
}

.kbb-v3 .catalog .course-filters button {
    border-radius: 999px !important;
    min-height: 2rem;
}

@media (max-width: 760px) {
    .kbb-v3.single-kbb_course .sub-visual {
        height: 280px;
        aspect-ratio: auto;
    }
}

.kbb-v3 .catalog .catalog-image .tag {
    text-transform: uppercase;
}

.kbb-v3 .catalog .catalog-content > dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.kbb-v3 .catalog .catalog-content > dl > div {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
}

.kbb-v3 .catalog .catalog-content dt {
    text-transform: none;
    font-weight: 400;
}

.kbb-v3 .catalog .catalog-content a {
    color: var(--ink);
    text-decoration: none;
}

.kbb-v3 :is(.catalog, .kbb-v3-native-course-form, .contact-form) .dark-button,
.kbb-v3 .contact-form .wpcf7-submit {
    background: var(--ink);
    color: white !important;
}

.kbb-v3 .consultation-options .outline-button,
.kbb-v3 .catalog .empty-state .outline-button {
    color: var(--ink) !important;
}

.kbb-v3 .kbb-v3-advanced-filters {
    margin-block: .8rem;
}

.kbb-v3 .kbb-v3-catalog-notes {
    margin-block: 1.5rem 0;
}

.kbb-v3 :is(.kbb-v3-advanced-filters, .kbb-v3-catalog-notes) > summary {
    cursor: pointer;
    width: fit-content;
    font-weight: 700;
    color: var(--ink);
}

.kbb-v3 .kbb-v3-course-body .kbb-v3-ref-course {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.kbb-v3 .kbb-v3-ref-course > .course-layout {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.kbb-v3 .kbb-v3-ref-course-grid .detail-prose > section {
    margin-block: 1.6rem;
}

.kbb-v3 .kbb-v3-ref-course-grid .detail-prose > section > :is(h2,h3) {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .6rem;
    letter-spacing: normal;
    line-height: 1.25;
}

.kbb-v3 .kbb-v3-course-links {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.kbb-v3 .kbb-v3-course-links a {
    display: block;
    white-space: normal;
}

.kbb-v3 .kbb-v3-native-course-form {
    max-width: 56rem;
    margin: clamp(2rem, 6vw, 5rem) auto 0;
}

.kbb-v3 .kbb-v3-native-course-form .kbb-course-inquiry {
    padding: clamp(1rem, 4vw, 2.5rem);
    background: #eaeedf;
}

.kbb-v3 .kbb-v3-native-course-form button.kbb-course-btn[type="submit"] {
    background-color: #d2ef76 !important;
    color: var(--ink) !important;
}

.kbb-v3 .kbb-v3-native-course-form button.kbb-course-btn[type="submit"]:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.kbb-v3 .kbb-v3-native-course-form .kbb-inquiry-grid,
.kbb-v3 .contact-form .kbb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.kbb-v3 .contact-form .kbb-field-full {
    grid-column: 1 / -1;
}

.kbb-v3 .contact-form .kbb-form-shell {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.kbb-v3 :is(.contact-form, .kbb-v3-native-course-form) :is(.wpcf7-not-valid-tip, .wpcf7-response-output) {
    line-height: 1.5;
}

@media (max-width: 1150px) {
    .kbb-v3 .contact-layout .kbb-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .kbb-v3 .kbb-v3-native-course-form .kbb-inquiry-grid,
    .kbb-v3 .contact-form .kbb-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
