.lfs--desc-section {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #07152f;
}

.lfs--desc-section,
.lfs--desc-section * {
    box-sizing: border-box;
}

#tab-description .panel-body:has(.lfs--desc-section) {
    position: relative;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

#tab-description .panel-body:has(.lfs--desc-section)::before {
    content: "";
    position: absolute;
    top: -95px;
    right: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(45, 83, 160, 0.08);
    pointer-events: none;
}

#tab-description .panel-body:has(.lfs--desc-section)::after {
    content: "";
    position: absolute;
    left: -90px;
    bottom: -130px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(254, 119, 37, 0.06);
    pointer-events: none;
}

#tab-description .tab-content-wrapper:has(.lfs--desc-section),
#tab-description .desc:has(.lfs--desc-section) {
    background: transparent;
}

.lfs--desc-section__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

/* Top Images */

.lfs--desc-top-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 0.9rem;
    width: 100%;
    margin: 0 0 1.8rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
}

.lfs--desc-section__eyebrow + .lfs--desc-top-images {
    margin-top: 0.75rem;
}

/* Exakte Spaltenanzahl nach Bildanzahl */

/* Nur wenn exakt ein einziges Bild vorhanden ist, wird es auf Desktop kleiner und zentriert dargestellt */
.lfs--desc-top-images:has(> .lfs--desc-top-image:nth-child(1):last-child) {
    grid-template-columns: minmax(0, min(50%, 720px));
    justify-content: center;
}

.lfs--desc-top-images:has(> .lfs--desc-top-image:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lfs--desc-top-images:has(> .lfs--desc-top-image:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lfs--desc-top-images:has(> .lfs--desc-top-image:nth-child(4):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lfs--desc-top-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8.2;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d9dde7;
    border-radius: 12px;
    background: #ffffff;
    cursor: zoom-in;
}

.lfs--desc-top-image__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.18s ease;
}

@media (hover: hover) {
    .lfs--desc-top-image:hover .lfs--desc-top-image__img {
        transform: scale(1.03);
    }
}

/* Header */

.lfs--desc-section__header {
    width: 100%;
    margin-bottom: 1.8rem;
}

.lfs--desc-section__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.75rem;
    padding: 0.32rem 0.72rem;
    border-radius: 7px;
    background: rgba(45, 83, 160, 0.1);
    color: #2d53a0;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
}

.lfs--desc-section__title {
    width: 100%;
    margin: 0;
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    line-height: 1.15;
    font-weight: 800;
    color: #07152f;
}

.lfs--desc-section__intro {
    width: 100%;
    margin: 0.85rem 0 0;
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    line-height: 1.65;
    color: rgba(7, 21, 47, 0.78);
}

.lfs--desc-section__info-link {
    margin: 1rem 0 0;
    font-size: 0.96rem;
    line-height: 1.55;
    color: #07152f;
}

.lfs--desc-section__info-link a {
    color: #2d53a0;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lfs--desc-section__info-link a:hover,
.lfs--desc-section__info-link a:focus {
    color: #fe7725;
}

/* Content */

.lfs--desc-section__content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.lfs--desc-content-block {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.lfs--desc-content-block + .lfs--desc-content-block {
    margin-top: 2rem;
}

.lfs--desc-content-block__title {
    margin: 0;
    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
    line-height: 1.2;
    font-weight: 800;
    color: #07152f;
}

.lfs--desc-content-block__text {
    margin-top: 0.85rem;
}

.lfs--desc-content-block__text p {
    margin: 0;
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    line-height: 1.65;
    color: rgba(7, 21, 47, 0.78);
}

.lfs--desc-content-block__text p + p {
    margin-top: 0.8rem;
}

/* Highlights */

.lfs--desc-highlight-list {
    display: grid;
    gap: 0.65rem;
    width: 100%;
    margin-top: 1.15rem;
}

.lfs--desc-highlight {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    align-items: center;
    column-gap: 0.75rem;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #e1e7f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #07152f;
}

.lfs--desc-highlight__dot {
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #47783a;
}

.lfs--desc-highlight__text {
    display: block;
    min-width: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 500;
    color: #07152f;
}

.lfs--desc-highlight--green .lfs--desc-highlight__dot {
    background: #47783a;
}

.lfs--desc-highlight--orange .lfs--desc-highlight__dot {
    background: #fe7725;
}

.lfs--desc-highlight--red .lfs--desc-highlight__dot {
    background: #c53030;
}

/* Accordion / Video Layout */

.lfs--desc-media-layout {
    display: grid;
    width: 100%;
    gap: 1.25rem;
    margin-top: 1.35rem;
}

.lfs--desc-media-layout.has-accordion-and-single-video {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    align-items: start;
}

/* Accordions */

.lfs--desc-accordion-list {
    display: grid;
    gap: 0.75rem;
    width: 100%;
}

.lfs--desc-accordion {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
}

.lfs--desc-accordion__summary {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    align-items: start;
    column-gap: 0.65rem;
    width: 100%;
    padding: 0.9rem 1rem;
    color: #07152f;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}

.lfs--desc-accordion__summary::-webkit-details-marker {
    display: none;
}

.lfs--desc-accordion__summary::marker {
    content: "";
}

.lfs--desc-accordion__summary::before {
    content: "";
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.34rem;
    margin-left: 0.2rem;
    border-top: 3px solid #2d53a0;
    border-right: 3px solid #2d53a0;
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.lfs--desc-accordion[open] .lfs--desc-accordion__summary::before {
    transform: rotate(135deg);
}

.lfs--desc-accordion__summary span {
    display: block;
    min-width: 0;
    padding-top: 0;
    margin: 0;
    line-height: 1.35;
}

.lfs--desc-accordion__body {
    padding: 0 1rem 1rem 2.9rem;
}

.lfs--desc-accordion__body p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.6;
    color: rgba(7, 21, 47, 0.78);
}

.lfs--desc-accordion__body p + p {
    margin-top: 0.7rem;
}

/* Videos */

.lfs--desc-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    width: 100%;
    margin-top: 0;
}

.lfs--desc-accordion-list + .lfs--desc-video-grid {
    margin-top: 0.25rem;
}

.lfs--desc-video-grid.is-single {
    grid-template-columns: 1fr;
}

.lfs--desc-video {
    min-width: 0;
}

.lfs--desc-video__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #000000;
}

.lfs--desc-video__poster {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.lfs--desc-video__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lfs--desc-video__button {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.58rem 0.85rem;
    border-radius: 999px;
    background: rgba(7, 21, 47, 0.88);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.2;
    pointer-events: none;
}

.lfs--desc-video__play {
    display: inline-grid;
    place-items: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: #ffffff;
    color: #fe7725;
    font-size: 0.62rem;
    line-height: 1;
    font-weight: 800;
}

.lfs--desc-video__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.lfs--desc-video__title {
    margin: 0.55rem 0 0;
    font-size: 0.96rem;
    line-height: 1.35;
    font-weight: 800;
    color: #07152f;
}

/* Kontaktbox */

.lfs--desc-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin-top: 1.4rem;
    padding: 1rem;
    border-radius: 14px;
    background: #2d53a0;
    color: #ffffff;
}

.lfs--desc-contact__content {
    min-width: 0;
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

.lfs--desc-contact__content strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #ffffff;
    font-weight: 800;
}

.lfs--desc-contact__button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid #fe7725;
    border-radius: 8px;
    background: #fe7725;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.lfs--desc-contact__button:hover,
.lfs--desc-contact__button:focus {
    color: #ffffff;
    text-decoration: none;
    background: #e96516;
    border-color: #e96516;
}

/* Lightbox */

.lfs--desc-lightbox[hidden] {
    display: none;
}

.lfs--desc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.lfs--desc-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(7, 21, 47, 0.76);
    cursor: zoom-out;
}

.lfs--desc-lightbox__dialog {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: min(1100px, 94vw);
    max-height: 88vh;
    padding: 1rem;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.lfs--desc-lightbox__image {
    display: block;
    width: 100%;
    max-height: calc(88vh - 2rem);
    object-fit: contain;
    border-radius: 10px;
}

.lfs--desc-lightbox__close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #07152f;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

/* Responsive */

@media (max-width: 991px) {
    #tab-description .panel-body:has(.lfs--desc-section)::before {
        top: -80px;
        right: -90px;
        width: 220px;
        height: 220px;
    }

    #tab-description .panel-body:has(.lfs--desc-section)::after {
        left: -115px;
        bottom: -145px;
        width: 260px;
        height: 260px;
    }

    .lfs--desc-media-layout.has-accordion-and-single-video {
        grid-template-columns: 1fr;
    }

    .lfs--desc-video-grid {
        grid-template-columns: 1fr;
    }

    .lfs--desc-top-images {
        display: flex;
        width: 100%;
        max-width: 100%;
        margin: 0 0 1.35rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .lfs--desc-section__eyebrow + .lfs--desc-top-images {
        margin-top: 0.75rem;
    }

    .lfs--desc-top-images::-webkit-scrollbar {
        display: none;
    }

    .lfs--desc-top-image {
        flex: 0 0 min(86%, 330px);
        scroll-snap-align: start;
    }

    .lfs--desc-top-image + .lfs--desc-top-image {
        margin-left: 0.9rem;
    }
}

@media (max-width: 767px) {
    #tab-description .panel-body:has(.lfs--desc-section) {
        border-radius: 12px;
    }

    .lfs--desc-section__header {
        margin-bottom: 1.4rem;
    }

    .lfs--desc-content-block + .lfs--desc-content-block {
        margin-top: 1.6rem;
    }

    .lfs--desc-media-layout {
        gap: 1rem;
        margin-top: 1rem;
    }

    .lfs--desc-top-images {
        margin-bottom: 1.25rem;
    }

    .lfs--desc-top-image {
        flex: 0 0 min(88%, 310px);
        aspect-ratio: 16 / 9;
    }

    .lfs--desc-highlight-list {
        margin-top: 1rem;
    }

    .lfs--desc-highlight {
        grid-template-columns: 0.9rem minmax(0, 1fr);
        column-gap: 0.65rem;
        min-height: 2.75rem;
        padding: 0.72rem 0.8rem;
    }

    .lfs--desc-highlight__dot {
        width: 0.72rem;
        height: 0.72rem;
    }

    .lfs--desc-highlight__text {
        font-size: 0.92rem;
    }

    .lfs--desc-accordion__summary {
        grid-template-columns: 1.2rem minmax(0, 1fr);
        column-gap: 0.55rem;
        padding: 0.85rem 0.9rem;
        font-size: 0.93rem;
        line-height: 1.35;
    }

    .lfs--desc-accordion__summary::before {
        width: 0.45rem;
        height: 0.45rem;
        margin-top: 0.34rem;
        margin-left: 0.18rem;
        border-top-width: 3px;
        border-right-width: 3px;
    }

    .lfs--desc-accordion__body {
        padding: 0 0.9rem 0.9rem 2.45rem;
    }

    .lfs--desc-video__button {
        right: 0.65rem;
        bottom: 0.65rem;
        padding: 0.52rem 0.72rem;
        font-size: 0.8rem;
    }

    .lfs--desc-contact {
        align-items: flex-start;
        flex-direction: column;
    }

    .lfs--desc-contact__button {
        width: 100%;
    }

    .lfs--desc-lightbox {
        padding: 0.8rem;
    }

    .lfs--desc-lightbox__dialog {
        width: 96vw;
        padding: 0.65rem;
    }

    .lfs--desc-lightbox__close {
        top: 0.75rem;
        right: 0.75rem;
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.55rem;
    }
}