/* =========================================================================
   Blueglass LP — extras
   ========================================================================= */

/* -------------------------------------------------------------------------
   Cover — image-right
   ------------------------------------------------------------------------- */
.landingpage-blueglass .cover-blueglass-lp--image-right,
.cover-blueglass-lp--image-right {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0;
}

.landingpage-blueglass .cover-blueglass-lp--image-right .cover-content,
.cover-blueglass-lp--image-right .cover-content {
    position: static !important;
    inset: auto !important;
    z-index: auto;
    display: block;
    padding-block: clamp(40px, 6vw, 80px);
}

.cover-blueglass-lp--image-right .cover-content .row {
    --bs-gutter-x: clamp(24px, 4vw, 56px);
    align-items: center;
}

.landingpage-blueglass .cover-blueglass-lp--image-right .cover-content-box,
.cover-blueglass-lp--image-right .cover-content-box {
    backdrop-filter: none !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: 100%;
    color: #003a5b;
}

.landingpage-blueglass .cover-blueglass-lp--image-right .cover-content-box .headline--cover,
.cover-blueglass-lp--image-right .headline--cover {
    color: #003a5b;
    font-size: clamp(40px, 4.5vw, 64px) !important;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 8px;
}

.cover-blueglass-lp--image-right .text--lead {
    color: #003a5b;
    font-size: clamp(16px, 1.6vw, 21px);
    line-height: 1.6;
    font-weight: 400;
}

.cover-blueglass-lp--image-right .suptitle--cover {
    color: #003a5b;
    margin-bottom: 8px;
}

.cover-blueglass-lp__image {
    border-radius: 5px;
    overflow: hidden;
    line-height: 0;
    aspect-ratio: 1 / 1;
    width: 100%;
    margin-left: auto;
}

.cover-blueglass-lp__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cover-blueglass-lp--image-right .lp-btn-primary {
    margin-top: clamp(12px, 1.4vw, 20px);
    padding: 14px 8px;
    min-width: 192px;
    border-radius: 4px;
    font-size: clamp(16px, 1.4vw, 18px);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .landingpage-blueglass .cover-blueglass-lp--image-right .cover-content,
    .cover-blueglass-lp--image-right .cover-content {
        margin-top: 0 !important;
    }

    .cover-blueglass-lp__image {
        aspect-ratio: auto;
        margin: 0 auto clamp(24px, 5vw, 40px);
        max-width: 100%;
    }
    .cover-blueglass-lp--image-right .cover-content .row {
        --bs-gutter-x: 24px;
    }
}

@media (max-width: 550px) {
    .landingpage-blueglass .cover-blueglass-lp--image-right .cover-content-box .headline--cover,
    .cover-blueglass-lp--image-right .headline--cover {
        font-size: 48px !important;
    }
}

/* -------------------------------------------------------------------------
   Quote 
   ------------------------------------------------------------------------- */

.lp-quote__wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1145px;
    margin: 0 auto;
}

.lp-quote__image {
    aspect-ratio: 1 / 1;
    order: 1;
    width: 100%;
}

.lp-quote__image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.section--blueglass .lp-quote {
    position: relative;
    margin: 0;
    padding-bottom: 64px;
    padding-inline: 0;
    color: #003a5b;
    max-width: 968px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.lp-quote-section {
    padding: clamp(64px, 5vw, 80px) 0;
}

.lp-quote__mark {
    font-family: "Circular Std", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: clamp(64px, 8.5vw, 120px);
    line-height: 1;
    color: #003a5b;
    user-select: none;
    height: 30px;
}

.lp-quote__mark--open {
    position: absolute;
    top: -32px;
    left: 0;
    transform: translateY(-15%);
}

.lp-quote__text  { order: 1; }
.lp-quote__info  { order: 2; }

.lp-quote__mark--close {
    order: 3;
    align-self: flex-end;
    position: absolute;
    bottom: 20px;
    margin: 0;
    line-height: 0.7;
}

.lp-quote__text {
    font-family: "Circular Std", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.4;
    color: #003a5b;
    margin: 0 0 16px;
}

.lp-quote__info {
    display: block;
    font-family: "Circular Std", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.48;
    color: #003a5b;
    margin: 0;
}

@media (min-width: 1024px) {
    .section--blueglass .lp-quote {
        padding-bottom: 0;
        padding-inline: 56px;
        width: 68%;
    }

    .lp-quote__wrapper {
        align-items: center;
        flex-direction: row;
        gap: 64px;
    }

    .lp-quote__image {
        order: 0;
        width: 32%;
    }

     .lp-quote__mark--open {
        top: 0;
    }

    .lp-quote__mark--close {
        position: static;
        margin-top: -0.15em;
        margin-right: -0.05em;
    }
}

/* -------------------------------------------------------------------------
   Simple Cards 
   ------------------------------------------------------------------------- */
.lp-simple-cards-section {
    margin: 0 !important;
    padding-block: clamp(80px, 8vw, 120px);
}

.lp-simple-cards-section--numbers {
    padding-block: clamp(40px, 6vw, 80px);
}

.lp-simple-cards-section .container {
    max-width: min(calc(1120px + ((100vw / 27) * 4)), 100%);
}

.lp-simple-cards__heading {
    font-family: "Circular Std", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.48;
    color: #003a5b;
    margin: 0 0 clamp(48px, 5vw, 80px);
}

.lp-simple-cards__heading--default {
    text-align: left;
}

.lp-simple-cards__heading--numbers {
    text-align: center;
    margin-bottom: clamp(16px, 1.8vw, 24px);
}

.lp-simple-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(24px, 3.5vw, 54px);
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-simple-cards__col {
    display: flex;
    width: 100%;
    height: 100%;
}

.lp-simple-card {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 24px clamp(16px, 1.8vw, 24px);
    width: 100%;
    color: #003a5b;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.lp-simple-card__title {
    font-family: "Circular Std", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    min-height: 60px;
    color: #003a5b;
    margin: 0;
}

.lp-simple-card__content {
    font-family: "Circular Std", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: #003a5b;
}

.lp-simple-card__content p {
    margin: 0;
    line-height: 1.6;
}

.lp-simple-card__content p + p {
    margin-top: 8px;
}

.lp-simple-card__content ul {
    list-style: disc;
    padding: 0;
    margin: 8px 0 0;
}

.lp-simple-card__content ul li {
    margin-left: 27px;
    margin-bottom: 0;
    line-height: 1.6;
}

.lp-simple-card__content ul li + li {
    margin-top: 8px;
}

.lp-simple-card__content ul li::marker {
    color: #003a5b;
}

@media (max-width: 768px) {
    .lp-simple-card__title {
        min-height: 0;
    }
}

@media (min-width: 1200px) {
    .lp-simple-cards--default {
        display: flex;
        flex-flow: wrap;
        margin-inline: auto;
        justify-content: center;
    }

    .lp-simple-cards--default .lp-simple-cards__col {
        height: auto;
        width: calc(33.33% - 38px);
    }
}

.lp-simple-cards--numbers {
    justify-content: center;
}

.lp-simple-cards--numbers .lp-simple-card {
    background-color: #f2f2f2;
}

.lp-simple-cards--numbers .lp-simple-card__title {
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1;
}

/* -------------------------------------------------------------------------
   CTA — dark
   ------------------------------------------------------------------------- */
.lp-cta-section {
    margin: 0 !important;
    padding-block: clamp(80px, 10vw, 120px) !important;
}

.lp-cta--dark,
.lp-cta--dark-two-columns {
    background-color: #003a5b;
    color: #ffffff;
    border-radius: clamp(24px, 2vw, 30px);
    box-shadow: 0 0 25px rgba(0, 30, 47, 0.25);
    padding-block: clamp(32px, 6vw, 80px);
    padding-inline: clamp(32px, 10vw, 142px);
    max-width: min(1300px, 100%);
    margin-inline: auto;
}

.lp-cta--dark .lp-cta__title,
.lp-cta--dark-two-columns .lp-cta__title {
    font-family: "Circular Std", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.48;
    color: #ffffff;
    margin: 0 0 16px;
}

.lp-cta--dark .lp-cta__text,
.lp-cta--dark-two-columns .lp-cta__text {
    font-family: "Circular Std", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

.lp-cta--dark .lp-cta__btn--block {
    display: block;
    width: 100%;
    margin-top: clamp(16px, 3vw, 40px);
}

/* dark-two-columns */
.lp-cta--dark-two-columns {
    padding-block: clamp(32px, 4vw, 40px);
}

.lp-cta--dark-two-columns .row {
    --bs-gutter-x: clamp(24px, 4vw, 64px);
    align-items: center;
}

.lp-cta--dark-two-columns .lp-cta__action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.lp-btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #003a5b;
    border: 1px solid #003a5b;
    border-radius: 4px;
    padding: 0 16px;
    height: 50px;
    font-family: "Circular Std", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lp-btn-light:hover,
.lp-btn-light:focus {
    background-color: #003a5b;
    color: #ffffff;
    text-decoration: none;
}

.lp-cta__btn--block.lp-btn-light {
    width: 100%;
}

.lp-cta--dark-two-columns .lp-cta__btn {
    min-width: 174px;
}

@media (max-width: 1024px) {
    .lp-cta--dark,
    .lp-cta--dark-two-columns {
        padding: 32px;
        border-radius: 24px;
    }
    .lp-cta--dark-two-columns .lp-cta__action {
        justify-content: flex-start;
        margin-top: 24px;
    }
    .lp-cta--dark-two-columns .lp-cta__btn {
        width: 100%;
    }
}

/* -------------------------------------------------------------------------
   Text block
   ------------------------------------------------------------------------- */

.section--blueglass.lp-text-section {margin: 0 !important;}

.section--blueglass .lp-text {
    max-width: min(906px, 100%);
    margin-inline: auto;
    padding-block: clamp(64px, 6vw, 80px);
    color: #003a5b;
    font-family: "Circular Std", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
}

.section--blueglass .lp-text p {
    margin: 0 0 24px;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.section--blueglass .lp-text p:last-child {
    margin-bottom: 0;
}

.section--blueglass .lp-text a {
    color: #003a5b;
    text-decoration: underline;
}


/* Header changes */

@media (min-width: 1376px) and (max-width: 1700px) {
    .landingpage-template-page-blueglass-lp .navbar-custom .navbar-collapse .navbar--main.navbar-nav .nav-link, .page-template-page-homedesign-2024 .navbar-custom .navbar-collapse .navbar--main.navbar-nav .nav-link {
        padding: 0 .7rem;
    }

    .navbar-custom .navbar-collapse .navbar--main.navbar-nav .nav-link {
        font-size: 1.2rem;
    }
    
    .navbar .nav--btn--light .nav-link,
	.navbar .nav--btn--dark .nav-link {
        font-size: 1rem;
    }
	
	.navbar .nav--btn--light {
		margin-right: .7rem;
	}
}


/* Sticker button */

.sticker-button__block {
    align-items: center;
    background-color: #ffa5c7;
    border-radius: 50%;
    color: #003A5B;
    display: flex;
    flex-direction: column;
    font: 500 18px/1.1 "Circular Std", "Helvetica Neue", Arial, sans-serif;
    gap: 10px;
    height: 180px;
    justify-content: center;
    padding: 20px;
    position: fixed;
    right: 20px;
    text-align: center;
    text-decoration: none;
    bottom: 20px;
    transform: rotate(-11deg);
	transition: transform 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    width: 180px;
    z-index: 2;
}

.sticker-button__block:hover,
.sticker-button__block:focus {
    color: #003A5B;
    text-decoration: none;
    transform: rotate(0deg);
}

.sticker-button__icon {
    align-items: center;
    display: flex;
    justify-content: center;
    line-height: 0;
}

@media (min-width: 992px){
    .sticker-button__block {
        font-size: 20px;
        gap: 12px;
        height: 200px;
        padding: 25px;
        position: absolute;
        right: 30px;
        bottom: 160px;
        width: 200px;
    }
}

@media (min-width: 1200px){
    .sticker-button__block {
        height: 270px;
        font-size: 24px;
        gap: 16px;
        padding: 30px;
        width: 270px;
    }
}

@media (min-width: 1376px){
    .sticker-button__block {
        right: 105px;
        bottom: 50px;
    }
}

/* -------------------------------------------------------------------------
   CTA — dark-two-content-columns
   ------------------------------------------------------------------------- */
.lp-cta--dark-two-content-columns {
    background-color: #003a5b;
    color: #ffffff;
    border-radius: clamp(24px, 2vw, 30px);
    box-shadow: 0 0 25px rgba(0, 30, 47, 0.25);
    padding: clamp(32px, 4vw, 64px);
    max-width: min(1300px, 100%);
    margin-inline: auto;
}

.lp-cta--dark-two-content-columns .lp-cta__cols {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
} 

.lp-cta--dark-two-content-columns .lp-cta__col {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 clamp(16px, 3vw, 60px) 0 clamp(16px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 40px);
}

.lp-cta--dark-two-content-columns .lp-cta__col--second {
    border-left: 2px solid rgba(255, 255, 255, .1);
    padding: 0 clamp(16px, 3vw, 40px) 0 clamp(16px, 3vw, 60px);
}

.lp-cta--dark-two-content-columns .lp-cta__text {
    flex: 1 1 auto;
}

.lp-cta--dark-two-content-columns .lp-cta__text p,
.lp-cta--dark-two-content-columns .lp-cta__text .title--large {
    color: #fff;
}

.lp-cta--dark-two-content-columns .lp-cta__btn {
    align-self: stretch;
}

@media (max-width: 1024px) {
    .lp-cta--dark-two-content-columns {
        padding: 40px;
        border-radius: 24px;
    }
    .lp-cta--dark-two-content-columns .lp-cta__col {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 0 40px;
    }
    .lp-cta--dark-two-content-columns .lp-cta__col--second {
        border-left: 0;
        border-top: 2px solid rgba(255, 255, 255, .1);
        padding: 40px 0 0;
    }
}

@media (max-width: 550px) {
    .lp-cta--dark-two-content-columns {
        padding: 24px;
    }
    .lp-cta--dark-two-content-columns .lp-cta__col {
        padding: 0 0 24px;
    }
    .lp-cta--dark-two-content-columns .lp-cta__col--second {
        padding: 24px 0 0;
    }
}

/* -------------------------------------------------------------------------
   Ausbildungen — taxonomy filter pills + filtered "enlarged blocks" view
   ------------------------------------------------------------------------- */
.page--ausbildungen .ausbildung--section--mx .container {
    padding-left: var(--space-l);
    padding-right: var(--space-l);
}
.page-template-page-ausbildungen .ausbildung--filter {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 16px;
    margin-bottom: 44px;
}
.page-template-page-ausbildungen .ausbildung--filter__row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.page-template-page-ausbildungen .ausbildung--filter__label {
    margin: 0;
    color: #003a5b;
    font-size: 18px;
    font-weight: 500;
}
.page-template-page-ausbildungen .ausbildung--filter__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.page-template-page-ausbildungen .ausbildung--filter__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: #e5e5e5;
    color: #003a5b;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    border-radius: 38px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.page-template-page-ausbildungen .ausbildung--filter__pill:hover {
    background: #d8d8d8;
}
.page-template-page-ausbildungen .ausbildung--filter__pill .ausbildung--filter__x {
    display: none;
    flex: 0 0 auto;
}
.page-template-page-ausbildungen .ausbildung--filter__pill.is-active {
    background: #62a6db;
    padding-right: 1rem;
}
.page-template-page-ausbildungen .ausbildung--filter__pill.is-active .ausbildung--filter__x {
    display: inline-flex;
}
/* reset button (shown only while filtering) */
.page-template-page-ausbildungen .ausbildung--filter__reset {
    display: none;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    border: 2px solid #003a5b;
    background: transparent;
    color: #003a5b;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    border-radius: 6px;
    padding: 8px 24px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.page-template-page-ausbildungen .ausbildung--filter__reset:hover {
    background: #003a5b;
    color: #fff;
}
.page-template-page-ausbildungen .ausbildung--section--mx.is-filtering .ausbildung--filter__reset {
    display: inline-flex;
}

@media (min-width: 768px) {
    .page-template-page-ausbildungen .ausbildung--filter {
        gap: 40px;
        margin-top: 100px;
        margin-bottom: 80px;
        position: relative;
    }
    .page-template-page-ausbildungen .ausbildung--filter__label {
        font-size: 21px;
    }
    .page-template-page-ausbildungen .ausbildung--filter__pill {
        font-size: 21px;
        padding: 8px 32px;
    }
}

@media (min-width: 1024px) {
    .page-template-page-ausbildungen .ausbildung--filter__row:first-of-type {
        padding-right: 250px;
    }
    .page-template-page-ausbildungen .ausbildung--filter__reset {
        position: absolute;
        top: 46px;
        right: 0;
        min-width: 249px;
        font-size: 18px;
        padding: 10px 32px;
    }
}

/* default <-> filtered view toggle */
.page-template-page-ausbildungen .ausbildungen--default-view {
    margin-bottom: 32px;
}
.page-template-page-ausbildungen .ausbildungen--default-view .ausbildung--cat {
    padding: 1.5rem;
}
@media (min-width: 768px) {
    .page-template-page-ausbildungen .ausbildungen--default-view .ausbildung--cat {
        padding: 2.25rem;
    }
}
.page-template-page-ausbildungen .ausbildungen--filtered-view {
    display: none;
}
.page-template-page-ausbildungen .ausbildung--section--mx.is-filtering .ausbildungen--default-view {
    display: none;
}
.page-template-page-ausbildungen .ausbildung--section--mx.is-filtering .ausbildungen--filtered-view {
    display: block;
}

/* "no results" message — shown when the active filters match nothing */
.page-template-page-ausbildungen .ausbildung--filter__empty {
    display: none;
    margin: 0;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    color: #003a5b;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}
.page-template-page-ausbildungen .ausbildung--filter__empty.is-visible {
    display: block;
}
@media (min-width: 768px) {
    .page-template-page-ausbildungen .ausbildung--filter__empty {
        font-size: 21px;
    }
}

/* filtered results — reuse the .lp-job-card design from the Quereinsteiger page.
   .ausbildung--filter-card is the Bootstrap column wrapper (JS show/hide target);
   .lp-job-card replicates the component, scoped here because the theme's
   .lp-job-card rules are scoped to the blueglass/homedesign templates. */
.page-template-page-ausbildungen .lp-job-card {
    display: grid;
    grid-template-columns: 160px 1fr; /* fixed image column — don't stretch */
    gap: 2rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 29px;
    align-items: center;
}
.page-template-page-ausbildungen .lp-job-card .lp-job-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
}
@media (max-width: 550px) {
    .page-template-page-ausbildungen .lp-job-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-template-page-ausbildungen .lp-job-card .lp-job-img {
        height: 200px;
    }

    .page-template-page-ausbildungen .lp-job-card .lp-job-img img {
        height: 100%;
    }
}
.page-template-page-ausbildungen .lp-job-card .content--wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-template-page-ausbildungen .lp-job-card .lp-card-text-big {
    margin-bottom: 0.5rem;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    color: #023a5a;
}
.page-template-page-ausbildungen .lp-job-card .ausbildung--dot {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.25rem;
    font-size: 18px;
    font-weight: 500;
    color: #687192;
}
.page-template-page-ausbildungen .lp-job-card .ausbildung--dot::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cat-color, #023a5a); /* category colour (ACF), set inline per card */
}
.page-template-page-ausbildungen .lp-job-card .lp-jobs-details {
    display: block;
    font-size: 24px;
    font-weight: 500;
    color: #62a6db;
    text-decoration: none;
}
.page-template-page-ausbildungen .lp-job-card .lp-jobs-details:hover {
    color: #023a5a;
}

/* default view — category colour (ACF), set as --cat-color on each section */
.page-template-page-ausbildungen .ausbildung--cat .headline--dot::before {
    background: var(--cat-color, #023a5a);
}
.page-template-page-ausbildungen .ausbildung--cat .ausbildung--card .image--wrapper {
    border-color: var(--cat-color, #023a5a);
}
.page-template-page-ausbildungen .ausbildung--cat .ausbildung--card .ausbildung--dot::before {
    background: var(--cat-color, #023a5a);
}

/* appearance animation when filtering */
@keyframes ausbFilterFadeIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.page-template-page-ausbildungen .ausbildung--filter-card.is-animating {
    animation: ausbFilterFadeIn 0.4s ease both;
}
@media (prefers-reduced-motion: reduce) {
    .page-template-page-ausbildungen .ausbildung--filter-card.is-animating {
        animation: none;
    }
}

/* ============================================================
   Fullscreen mobile menu (< 1376px) — Figma nodes 656-8119 / 8160 / 8285.
   Replaces the old mmenu off-canvas menu. Markup in
   template-parts/navbar/header-basic.php, behaviour in js/mobile-menu.js.
   Shipped here because the gulp/SCSS build is unavailable.
   ============================================================ */

/* 1. Header logo: fixed widths while the burger menu is active (overrides the fluid interpolate) */
@media (max-width: 1375.98px) {
    .navbar-brand.brand { width: 250px; max-width: 250px; }
}
@media (max-width: 549.98px) {
    .navbar-brand.brand { width: 167px; max-width: 167px; }
}

/* 2. Smaller / thinner burger button (mobile only). The mburger-css bars are
      sized from these custom props, not the box, so override them here. */
@media (max-width: 1375.98px) {
    .mburger.mobile-menu-toggle {
        --mb-button-size: 24px;
        --mb-bar-height: 2px;
        --mb-bar-width: 1;
        --mb-bar-spacing: 6px;
        width: 24px;
        height: 16px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
}

/* lock page scroll while the menu is open */
html.menu-open,
body.menu-open { overflow: hidden; }

/* 3. Overlay + entrance (fade + scale from the top-right) */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    transform-origin: top right;
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .35s ease, transform .35s ease, visibility 0s;
}
/* never show the overlay on desktop, even with a stale state */
@media (min-width: 1376px) {
    .mobile-menu { display: none; }
}

/* one-shot staggered reveal of logo / items / buttons / language */
.mobile-menu.mnav-intro [data-stagger],
.mobile-menu.mnav-intro .mobile-menu__list.is-active > li,
.mobile-menu.mnav-intro .mobile-menu__cta > li {
    opacity: 0;
    animation: mmStaggerIn .45s ease forwards;
    animation-delay: calc(.22s + var(--i, 0) * .06s);
}
@keyframes mmStaggerIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

/* 4. Inner layout — footer pinned to bottom, min 32px gap, whole-menu scroll */
.mobile-menu__inner {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 24px 24px 0;
    box-sizing: border-box;
}
.mobile-menu__top {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}
.mobile-menu__logo { display: block; width: 167px; max-width: 60%; }
.mobile-menu__logo svg { display: block; width: 100%; height: auto; }
.mobile-menu__close {
    flex: none;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 0;
    cursor: pointer;
}
.mobile-menu__close svg { display: block; }

.mobile-menu__nav { position: relative; flex: 0 1 auto; }
.mobile-menu__footer { flex: none; margin-top: auto; padding-top: 32px; }

/* 5. Panels & nav items */
.mobile-menu .mnav-panel,
.mobile-menu .mnav-panel ul.sub-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu .mnav-panel { display: none; }
.mobile-menu .mnav-panel.is-active { display: block; }

.mobile-menu .mobile-menu__list > li,
.mobile-menu .mnav-subpanel > ul.sub-menu > li { border-bottom: 1px solid #F2F2F2; }

.mobile-menu .mobile-menu__list > li > a,
.mobile-menu .mobile-menu__list > li > span,
.mobile-menu .mnav-subpanel > ul.sub-menu > li > a,
.mobile-menu .mnav-subpanel > ul.sub-menu > li > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    color: #003A5B;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
}

/* chevron glyph (shared); points right by default */
.mobile-menu .mnav-chevron,
.mobile-menu .mobile-menu__list > li.menu-item-has-children > span::after,
.mobile-menu .mnav-subpanel > ul.sub-menu > li.menu-item-has-children > span::after {
    content: "";
    flex: none;
    width: 8px;
    height: 14px;
    background: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="8" height="14" viewBox="0 0 8 14"><path d="M1 1 7 7 1 13" fill="none" stroke="rgb(0,58,91)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
    transition: transform .3s ease;
}
/* sub-panel parents accordion: down, then up when expanded */
.mobile-menu .mnav-subpanel > ul.sub-menu > li.menu-item-has-children > span::after {
    transform: rotate(90deg);
}
.mobile-menu .mnav-subpanel > ul.sub-menu > li.menu-item-has-children.is-expanded > span::after {
    transform: rotate(-90deg);
}

/* back row (chevron left + parent title centred) */
.mobile-menu .mnav-back {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 24px 0;
    border: 0;
    border-bottom: 1px solid #F2F2F2;
    background: transparent;
    color: #003A5B;
    font-size: 21px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}
.mobile-menu .mnav-back .mnav-chevron--left { position: absolute; left: 0; transform: rotate(180deg); }

/* 6. Accordion (3rd level) */
.mobile-menu .mnav-subpanel > ul.sub-menu > li.menu-item-has-children > ul.sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.mobile-menu .mnav-subpanel > ul.sub-menu > li.menu-item-has-children > ul.sub-menu > li {
    border-top: 1px solid #F2F2F2;
}
.mobile-menu .mnav-subpanel > ul.sub-menu > li.menu-item-has-children > ul.sub-menu > li > a {
    display: block;
    padding: 19px 0 19px 34px;
    color: #003A5B;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.48;
    text-decoration: none;
}

/* 7. Drill animations */
@keyframes mmEnterRight { from { opacity: 0; transform: translateX(24px); }  to { opacity: 1; transform: none; } }
@keyframes mmEnterLeft  { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes mmLeaveLeft  { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-24px); } }
@keyframes mmLeaveRight { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(24px); } }

.mobile-menu .mnav-panel.is-entering        { animation: mmEnterRight .32s ease both; }
.mobile-menu .mnav-panel.is-entering--back  { animation: mmEnterLeft  .32s ease both; }
.mobile-menu .mnav-panel.is-leaving,
.mobile-menu .mnav-panel.is-leaving--back {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}
.mobile-menu .mnav-panel.is-leaving       { animation: mmLeaveLeft  .32s ease both; }
.mobile-menu .mnav-panel.is-leaving--back { animation: mmLeaveRight .32s ease both; }

/* 8. Buttons (header-menu-cta): first filled, rest outlined */
.mobile-menu .mobile-menu__cta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mobile-menu .mobile-menu__cta > li > a {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #003A5B;
    border-radius: 4px;
    background: #fff;
    color: #003A5B;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color .2s ease, color .2s ease;
}
.mobile-menu .mobile-menu__cta > li:first-child > a {
    background: #003A5B;
    color: #fff;
}

/* 9. Language list "DE / FR / IT" (active underlined) */
.mobile-menu__lang {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px -24px 0;
    padding: 16px 24px;
    border-top: 1px solid #F2F2F2;
    color: #003A5B;
    font-size: 18px;
    font-weight: 600;
}
.mobile-menu__lang a,
.mobile-menu__lang span { color: #003A5B; text-decoration: none; }
.mobile-menu__lang a:hover { color: #62A6DB; }
.mobile-menu__lang .is-active { text-decoration: underline; text-underline-offset: 3px; }
.mobile-menu__lang-sep { opacity: .55; }

/* 10. Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu.is-open { transition: opacity .15s ease, visibility 0s; transform: none; }
    .mobile-menu.mnav-intro [data-stagger],
    .mobile-menu.mnav-intro .mobile-menu__list.is-active > li,
    .mobile-menu.mnav-intro .mobile-menu__cta > li { animation: none; opacity: 1; }
    .mobile-menu .mnav-panel.is-entering,
    .mobile-menu .mnav-panel.is-entering--back,
    .mobile-menu .mnav-panel.is-leaving,
    .mobile-menu .mnav-panel.is-leaving--back { animation: none; }
    .mobile-menu .mnav-chevron,
    .mobile-menu .menu-item-has-children > span::after,
    .mobile-menu .mnav-subpanel > ul.sub-menu > li.menu-item-has-children > ul.sub-menu { transition: none; }
}

/* ==========================================================================
   Beitragsliste — intro, AJAX "Load more" button, CTA
   ========================================================================== */
.beitragsliste__head {
    margin-bottom: 40px;
}

.beitragsliste__head .text--lead {
    max-width: 820px;
}

.beitragsliste__button {
    margin-bottom: 48px;
}

/* Larger spacing between sections — only on the merged pages (body.has-beitragsliste).
   60px mobile / 80px tablet / 120px desktop. */
.has-beitragsliste .content__group > .content__section + .content__section:not(.vertical--even) {
    margin-top: 60px;
}
@media (min-width: 768px) {
    .has-beitragsliste .content__group > .content__section + .content__section:not(.vertical--even) {
        margin-top: 80px;
    }
}
@media (min-width: 992px) {
    .has-beitragsliste .content__group > .content__section + .content__section:not(.vertical--even) {
        margin-top: 120px;
    }
}

.load-more__wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

button.load-more__btn {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.load-more__btn.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.load-more__btn.is-loading::after {
    content: "";
    width: 1em;
    height: 1em;
    margin-left: 0.5em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: bg-spin 0.6s linear infinite;
}

@keyframes bg-spin {
    to { transform: rotate(360deg); }
}