/* ========================================
   Leistungen CSS
   Exakt wie Next.js Entwurf
   ======================================== */

/* ========================================
   Single Leistung - Hero Section
   ======================================== */
   .leistung-hero {
    min-height: 70vh;
    background-color: var(--color-foreground);
    color: var(--color-background);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .leistung-hero {
        min-height: 80vh;
    }
}

.leistung-hero__bg-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15vw;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    user-select: none;
}

.leistung-hero__grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    padding-top: 6rem;
}

@media (min-width: 1024px) {
    .leistung-hero__grid {
        flex-direction: row;
        padding-top: 8rem;
    }
}

.leistung-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 1.5rem;
}

@media (min-width: 1024px) {
    .leistung-hero__content {
        width: 50%;
        padding: 6rem 3rem;
    }
}

/* Breadcrumb */
.leistung-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
}

.leistung-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.leistung-hero__breadcrumb a:hover {
    color: var(--color-background);
}

.leistung-hero__breadcrumb-current {
    color: var(--color-brand);
}

.leistung-hero__subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.leistung-hero__title {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .leistung-hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 1280px) {
    .leistung-hero__title {
        font-size: 3.75rem;
    }
}

.leistung-hero__title--muted {
    color: rgba(255, 255, 255, 0.4);
}

.leistung-hero__description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    max-width: 32rem;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* Tags */
.leistung-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.leistung-hero__tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}
.leistung-hero__tag {
    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.leistung-hero__tag:hover {
    color: var(--color-foreground);
    border-color: var(--color-brand);
    background-color: var(--color-brand);
}

.leistung-produkt {
    scroll-margin-top: 7rem;
}

.leistung-produkt:target {
    position: relative;
}

.leistung-produkt:target::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-top: 2px solid var(--color-brand);
}
/* Buttons */
.leistung-hero__buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.leistung-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.leistung-hero__btn svg {
    width: 1rem;
    height: 1rem;
}

.leistung-hero__btn--primary {
    background-color: var(--color-brand);
    color: var(--color-foreground);
}

.leistung-hero__btn--primary:hover {
    background-color: rgba(146, 211, 52, 0.9);
}

.leistung-hero__btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-background);
}

.leistung-hero__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Image */
.leistung-hero__image-wrap {
    position: relative;
    min-height: 40vh;
}

@media (min-width: 1024px) {
    .leistung-hero__image-wrap {
        width: 50%;
        min-height: 0;
    }
}

.leistung-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leistung-hero__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.6), transparent);
}

@media (min-width: 1024px) {
    .leistung-hero__image-overlay {
        background: linear-gradient(to left, transparent, rgba(20, 20, 20, 0.4));
    }
}

/* Badge on Image */
.leistung-hero__badge {
    position: absolute;
    bottom: 2rem;
    left: 1.5rem;
    background-color: var(--color-background);
    color: var(--color-foreground);
    padding: 0.75rem 1.25rem;
}

@media (min-width: 1024px) {
    .leistung-hero__badge {
        bottom: 3rem;
        left: 3rem;
    }
}

.leistung-hero__badge-value {
    font-size: 1.5rem;
    font-weight: 500;
}

.leistung-hero__badge-label {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

/* Stats Bar */
.leistung-hero__stats {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
    .leistung-hero__stats {
        flex-direction: row;
    }
}

.leistung-hero__stat {
    flex: 1;
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
    .leistung-hero__stat {
        text-align: left;
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .leistung-hero__stat:last-child {
        border-right: 0;
    }
}

@media (min-width: 1024px) {
    .leistung-hero__stat {
        padding: 1rem 3rem;
    }
}

.leistung-hero__stat-value {
    font-size: 1.875rem;
    font-weight: 500;
}

.leistung-hero__stat-value--brand {
    color: var(--color-brand);
}

.leistung-hero__stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* ========================================
   Intro Section
   ======================================== */
.leistung-intro {
    background-color: var(--color-background);
    padding: 4rem 1.5rem;
}
  
@media (min-width: 1024px) {
    .leistung-intro {
        padding: 6rem 3rem;
    }
}
  
.leistung-intro__inner {
    max-width: 80rem;
    margin: 0 auto;
}

.leistung-intro__subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    margin-bottom: 1.5rem;
}

.leistung-intro__title {
    font-size: 1.875rem;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    max-width: 36rem;
}

@media (min-width: 1024px) {
    .leistung-intro__title {
        font-size: 2.5rem;
        margin-bottom: 4rem;
    }
}

.leistung-intro__title--muted {
    color: var(--color-muted-foreground);
}
  
.leistung-intro__content {
    display: grid;
    gap: 2rem;
}
  
@media (min-width: 1024px) {
    .leistung-intro__content {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}
  
.leistung-intro__text {
    color: var(--color-muted-foreground);
    line-height: 1.8;
    font-size: 1rem;
}

/* ========================================
   Produkte Section
   ======================================== */
.leistung-produkte {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
    .leistung-produkte {
        padding: 6rem 3rem;
    }
}

.leistung-produkte__header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .leistung-produkte__header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.leistung-produkte__subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.leistung-produkte__title {
    font-size: 1.875rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .leistung-produkte__title {
        font-size: 2.25rem;
    }
}

.leistung-produkte__header-text {
    color: var(--color-muted-foreground);
    max-width: 28rem;
}

@media (min-width: 1024px) {
    .leistung-produkte__header-text {
        text-align: right;
    }
}

/* Products Grid - Exakt wie Next.js */
.leistung-produkte__grid {
    display: grid;
    gap: 1px;
    background-color: transparent;
}

@media (min-width: 768px) {
    .leistung-produkte__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .leistung-produkte__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.leistung-produkt {
    background-color: var(--color-background);
    padding: 2rem;
    transition: all 0.3s;
}

@media (min-width: 1024px) {
    .leistung-produkt {
        padding: 2.5rem;
    }
}

.leistung-produkt:hover {
    background-color: var(--color-foreground);
    color: var(--color-background);
}

.leistung-produkt__nummer {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    transition: color 0.3s;
}

.leistung-produkt:hover .leistung-produkt__nummer {
    color: rgba(255, 255, 255, 0.5);
}

.leistung-produkt__titel {
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .leistung-produkt__titel {
        font-size: 1.5rem;
    }
}

.leistung-produkt__beschreibung {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-muted-foreground);
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.leistung-produkt:hover .leistung-produkt__beschreibung {
    color: rgba(255, 255, 255, 0.7);
}

.leistung-produkt__features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.leistung-produkt__feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    transition: color 0.3s;
}

.leistung-produkt:hover .leistung-produkt__feature {
    color: rgba(255, 255, 255, 0.7);
}

.leistung-produkt__feature svg {
    width: 1rem;
    height: 1rem;
    color: var(--color-brand);
    flex-shrink: 0;
}

/* ========================================
   Process Section
   ======================================== */
.leistung-process {
    background-color: var(--color-foreground);
    color: var(--color-background);
    padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
    .leistung-process {
        padding: 6rem 3rem;
    }
}

.leistung-process__header {
    margin-bottom: 3rem;
}

.leistung-process__subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.leistung-process__title {
    font-size: 1.875rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .leistung-process__title {
        font-size: 2.25rem;
    }
}

.leistung-process__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .leistung-process__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .leistung-process__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

.leistung-process__step {
    padding-left: 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.leistung-process__step--active {
    border-left-color: var(--color-brand);
}

.leistung-process__step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.leistung-process__step--active .leistung-process__step-label {
    color: var(--color-brand);
}

.leistung-process__step-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.leistung-process__step-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ========================================
   Materials Section
   ======================================== */
.leistung-materialien {
    background-color: var(--color-background);
    padding: 4rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

@media (min-width: 1024px) {
    .leistung-materialien {
        padding: 6rem 3rem;
    }
}

.leistung-materialien__inner {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .leistung-materialien__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem;
    }
}

.leistung-materialien__subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.leistung-materialien__title {
    font-size: 1.875rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .leistung-materialien__title {
        font-size: 2.25rem;
    }
}

.leistung-materialien__text {
    color: var(--color-muted-foreground);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.leistung-materialien__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.leistung-materialien__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.leistung-materialien__item-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--color-brand);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.leistung-materialien__item-title {
    font-weight: 500;
}

.leistung-materialien__item-text {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.leistung-materialien__image-wrap {
    position: relative;
    height: 400px;
}

@media (min-width: 1024px) {
    .leistung-materialien__image-wrap {
        height: 500px;
    }
}

.leistung-materialien__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.leistung-materialien__image-wrap:hover .leistung-materialien__image {
    filter: grayscale(0%);
}

.leistung-materialien__image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(12, 12, 12, 0.94) 0%, rgba(12, 12, 12, 0.82) 55%, rgba(12, 12, 12, 0.18) 100%);
    padding: 1.5rem;
}

.leistung-materialien__image-text {
    font-size: 0.875rem;
    color: var(--color-background);
}

.leistung-materialien__image-text strong {
    color: var(--color-brand);
    font-weight: 500;
}

/* ========================================
   Weitere Leistungen Section
   ======================================== */
.leistung-weitere {
    background-color: var(--color-background);
    padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
    .leistung-weitere {
        padding: 6rem 3rem;
    }
}

.leistung-weitere__header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .leistung-weitere__header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.leistung-weitere__subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.leistung-weitere__title {
    font-size: 1.875rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .leistung-weitere__title {
        font-size: 2.25rem;
    }
}

.leistung-weitere__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-foreground);
    transition: color 0.2s;
}

.leistung-weitere__link:hover {
    color: var(--color-brand);
}

.leistung-weitere__link svg {
    width: 1rem;
    height: 1rem;
}

.leistung-weitere__grid {
    display: grid;
    gap: 1px;
    background-color: var(--color-border);
}

@media (min-width: 768px) {
    .leistung-weitere__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.leistung-weitere__item {
    position: relative;
    background-color: var(--color-background);
    overflow: hidden;
    display: block;
}

.leistung-weitere__item-image {
    position: relative;
    height: 16rem;
}

@media (min-width: 1024px) {
    .leistung-weitere__item-image {
        height: 20rem;
    }
}

.leistung-weitere__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s;
}

.leistung-weitere__item:hover .leistung-weitere__item-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.leistung-weitere__item-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(20, 20, 20, 0.6);
    transition: background-color 0.3s;
}

.leistung-weitere__item:hover .leistung-weitere__item-overlay {
    background-color: rgba(20, 20, 20, 0.4);
}

.leistung-weitere__item-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .leistung-weitere__item-content {
        padding: 2rem;
    }
}

.leistung-weitere__item-nummer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.leistung-weitere__item-titel {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-background);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .leistung-weitere__item-titel {
        font-size: 1.5rem;
    }
}

.leistung-weitere__item-titel svg {
    width: 1.25rem;
    height: 1.25rem;
    opacity: 0;
    transform: translate(0, 0);
    transition: all 0.3s;
}

.leistung-weitere__item:hover .leistung-weitere__item-titel svg {
    opacity: 1;
    transform: translate(0.25rem, -0.25rem);
}

/* ========================================
   FAQ Section
   ======================================== */
.leistung-faq {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
    .leistung-faq {
        padding: 6rem 3rem;
    }
}

.leistung-faq__inner {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .leistung-faq__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem;
    }
}

.leistung-faq__subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.leistung-faq__title {
    font-size: 1.875rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .leistung-faq__title {
        font-size: 2.25rem;
    }
}

.leistung-faq__text {
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

.leistung-faq__list {
    display: flex;
    flex-direction: column;
}

.leistung-faq__item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.leistung-faq__item:first-child {
    border-top: 1px solid var(--color-border);
}

.leistung-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.leistung-faq__question-text {
    font-weight: 500;
    padding-right: 1rem;
}

.leistung-faq__question-icon {
    font-size: 1.25rem;
    color: var(--color-brand);
    transition: transform 0.3s;
}

.leistung-faq__item[open] .leistung-faq__question-icon {
    transform: rotate(45deg);
}

.leistung-faq__answer {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
    margin-top: 1rem;
    padding-right: 2rem;
}

/* ========================================
   CTA Section
   ======================================== */
.leistung-cta {
    background-color: var(--color-foreground);
    color: var(--color-background);
    padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
    .leistung-cta {
        padding: 6rem 3rem;
    }
}

.leistung-cta__inner {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.leistung-cta__subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.leistung-cta__title {
    font-size: 1.875rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .leistung-cta__title {
        font-size: 3rem;
    }
}

.leistung-cta__title--muted {
    color: rgba(255, 255, 255, 0.4);
}

.leistung-cta__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    max-width: 32rem;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.leistung-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .leistung-cta__buttons {
        flex-direction: row;
    }
}

.leistung-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.leistung-cta__btn svg {
    width: 1rem;
    height: 1rem;
}

.leistung-cta__btn--primary {
    background-color: var(--color-brand);
    color: var(--color-foreground);
}

.leistung-cta__btn--primary:hover {
    background-color: rgba(146, 211, 52, 0.9);
}

.leistung-cta__btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-background);
}

.leistung-cta__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.leistung-cta__features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.leistung-cta__feature {
    text-align: center;
}

.leistung-cta__feature-value {
    font-size: 1.5rem;
    font-weight: 500;
}

.leistung-cta__feature-value--brand {
    color: var(--color-brand);
}

.leistung-cta__feature-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* Back Link */
.leistung-back {
    background-color: var(--color-background);
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--color-border);
}

@media (min-width: 1024px) {
    .leistung-back {
        padding: 2rem 3rem;
    }
}

.leistung-back__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-muted-foreground);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.leistung-back__link:hover {
    color: var(--color-foreground);
}

.leistung-back__link svg {
    width: 1rem;
    height: 1rem;
}

/* ========================================
   ARCHIVE PAGE - Leistungen Übersicht
   ======================================== */
   
/* Archive Hero */
.leistungen-archive-hero {
    min-height: 50vh;
    background-color: var(--color-foreground);
    color: var(--color-background);
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .leistungen-archive-hero {
        min-height: 60vh;
        flex-direction: row;
    }
}

.leistungen-archive-hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 1.5rem 3rem;
}

@media (min-width: 1024px) {
    .leistungen-archive-hero__content {
        width: 50%;
        padding: 8rem 3rem;
    }
}

.leistungen-archive-hero__subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.leistungen-archive-hero__title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .leistungen-archive-hero__title {
        font-size: 3.5rem;
    }
}

.leistungen-archive-hero__title--muted {
    color: rgba(255, 255, 255, 0.4);
}

.leistungen-archive-hero__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    max-width: 28rem;
    margin-top: 1.5rem;
    line-height: 1.6;
}

.leistungen-archive-hero__image {
    position: relative;
    min-height: 40vh;
}

@media (min-width: 1024px) {
    .leistungen-archive-hero__image {
        width: 50%;
        min-height: 0;
    }
}

.leistungen-archive-hero__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Archive Grid */
.leistungen-archive-grid {
    background-color: var(--color-background);
    padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
    .leistungen-archive-grid {
        padding: 6rem 3rem;
    }
}

/* Zweispaltiges Layout: Kacheln + Kontakt-Sidebar */
.leistungen-archive-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .leistungen-archive-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
    }

    .leistungen-archive-layout__main {
        flex: 1 1 auto;
        min-width: 0;
    }

    .leistungen-archive-layout__aside {
        flex: 0 0 19rem;
        position: sticky;
        top: 6.5rem;
    }
}

.leistungen-archive-grid__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .leistungen-archive-grid__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .leistungen-archive-grid__inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

.leistungen-archive-item {
    display: flex;
    flex-direction: column;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.leistungen-archive-item:hover {
    background-color: var(--color-foreground);
    border-color: var(--color-foreground);
    color: var(--color-background);
    transform: translateY(-2px);
}

.leistungen-archive-item__image {
    position: relative;
    height: 9rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .leistungen-archive-item__image {
        height: 10rem;
    }
}

.leistungen-archive-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.leistungen-archive-item:hover .leistungen-archive-item__image img {
    transform: scale(1.05);
}

/* Nummer als Overlay auf dem Bild */
.leistungen-archive-item__nummer {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    padding: 0.125rem 0.4rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background-color: rgba(26, 26, 26, 0.82);
    color: #fff;
    backdrop-filter: blur(4px);
}

.leistungen-archive-item__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.125rem 1.25rem 1.25rem;
}

.leistungen-archive-item__titel {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.leistungen-archive-item__text {
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
    line-height: 1.55;
    margin-bottom: 0.875rem;
    transition: color 0.3s;
    /* Auf 3 Zeilen begrenzen, damit die Kacheln gleich hoch bleiben */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.leistungen-archive-item:hover .leistungen-archive-item__text {
    color: rgba(255, 255, 255, 0.7);
}

.leistungen-archive-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.875rem;
}

.leistungen-archive-item__tag {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.1875rem 0.5rem;
    border: 1px solid var(--color-border);
    color: var(--color-muted-foreground);
    transition: border-color 0.3s, color 0.3s;
}

.leistungen-archive-item:hover .leistungen-archive-item__tag {
    color: rgba(255, 255, 255, 0.75);
}

.leistungen-archive-item:hover .leistungen-archive-item__tag {
    border-color: rgba(255, 255, 255, 0.2);
}

.leistungen-archive-item__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: auto;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-brand);
}

.leistungen-archive-item__link svg {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.3s;
}

.leistungen-archive-item:hover .leistungen-archive-item__link svg {
    transform: translate(0.25rem, -0.25rem);
}

/* ========================================
   Kontakt-Sidebar (Leistungen Archiv)
   ======================================== */
.leistungen-aside {
    background-color: var(--color-foreground);
    color: #fff;
    padding: 1.75rem 1.5rem;
}

.leistungen-aside__subtitle {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    margin-bottom: 0.625rem;
}

.leistungen-aside__title {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.leistungen-aside__text {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

.leistungen-aside__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.25rem;
}

.leistungen-aside__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.leistungen-aside__item svg {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--color-brand);
}

.leistungen-aside__item-body {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.leistungen-aside__item-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
}

.leistungen-aside__item-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #fff;
    word-break: break-word;
    transition: color var(--transition-fast);
}

.leistungen-aside__item-value:hover,
.leistungen-aside__item-value:focus-visible {
    color: var(--color-brand);
}

.leistungen-aside__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.leistungen-aside__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.125rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.leistungen-aside__btn svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.leistungen-aside__btn--brand {
    background-color: var(--color-brand);
    color: var(--color-foreground);
}

.leistungen-aside__btn--brand:hover,
.leistungen-aside__btn--brand:focus-visible {
    background-color: #fff;
    color: var(--color-foreground);
}

.leistungen-aside__btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

.leistungen-aside__btn--ghost:hover,
.leistungen-aside__btn--ghost:focus-visible {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Archive Process */
.leistungen-archive-process {
    background-color: var(--color-foreground);
    color: var(--color-background);
    padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
    .leistungen-archive-process {
        padding: 6rem 3rem;
    }
}

.leistungen-archive-process__header {
    margin-bottom: 3rem;
}

.leistungen-archive-process__subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.leistungen-archive-process__title {
    font-size: 1.875rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .leistungen-archive-process__title {
        font-size: 2.25rem;
    }
}

.leistungen-archive-process__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .leistungen-archive-process__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .leistungen-archive-process__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.leistungen-archive-process__item {
    padding-left: 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.leistungen-archive-process__nummer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.leistungen-archive-process__item-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.leistungen-archive-process__item-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Archive CTA */
.leistungen-archive-cta {
    background-color: var(--color-brand);
    padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
    .leistungen-archive-cta {
        padding: 6rem 3rem;
    }
}

.leistungen-archive-cta__inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 1024px) {
    .leistungen-archive-cta__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.leistungen-archive-cta__title {
    font-size: 1.875rem;
    font-weight: 500;
    color: var(--color-foreground);
}

@media (min-width: 1024px) {
    .leistungen-archive-cta__title {
        font-size: 2.25rem;
    }
}

.leistungen-archive-cta__buttons {
    display: flex;
    gap: 1rem;
}

.leistungen-archive-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.leistungen-archive-cta__btn svg {
    width: 1rem;
    height: 1rem;
}

.leistungen-archive-cta__btn--primary {
    background-color: var(--color-foreground);
    color: var(--color-background);
}

.leistungen-archive-cta__btn--primary:hover {
    background-color: rgba(20, 20, 20, 0.9);
}

.leistungen-archive-cta__btn--secondary {
    border: 1px solid var(--color-foreground);
    color: var(--color-foreground);
}

.leistungen-archive-cta__btn--secondary:hover {
    background-color: rgba(20, 20, 20, 0.1);
}

.leistungen-archive-empty {
    padding: 4rem;
    text-align: center;
    color: var(--color-muted-foreground);
    background-color: var(--color-background);
    grid-column: 1 / -1;
}
/* =========================================================
   LEISTUNGS-TAGS – MOBILE DROPDOWN
   Desktop bleibt unverändert
   ========================================================= */

   .leistung-hero__tag-dropdown {
    display: none;
}


/* Nur Mobile */
@media (max-width: 767px) {

    /*
     * Nur wenn mehr als 3 Tags vorhanden sind:
     * normale Tags ausblenden.
     */
    .leistung-hero__tags--many {
        display: none;
    }


    /* Dropdown */
    .leistung-hero__tag-dropdown {
        display: block;
        position: relative;
        width: 100%;
        margin-top: 1.25rem;
        z-index: 20;
    }


    /* Button */
    .leistung-hero__tag-dropdown-button {
        width: 100%;
        min-height: 52px;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;

        padding: 0.9rem 1rem;

        border: 1px solid rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.06);

        color: #fff;

        font-family: inherit;
        font-size: 0.85rem;
        font-weight: 500;
        text-align: left;

        cursor: pointer;

        transition:
            background-color 0.2s ease,
            border-color 0.2s ease;
    }


    .leistung-hero__tag-dropdown-button:hover,
    .leistung-hero__tag-dropdown.is-open
    .leistung-hero__tag-dropdown-button {
        border-color: var(--color-brand);
        background: rgba(255, 255, 255, 0.1);
    }


    .leistung-hero__tag-dropdown-button svg {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;

        transition: transform 0.25s ease;
    }


    .leistung-hero__tag-dropdown.is-open
    .leistung-hero__tag-dropdown-button svg {
        transform: rotate(180deg);
    }


    /* Aufklappmenü */
    .leistung-hero__tag-dropdown-menu {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;

        background: var(--color-foreground);

        border: 1px solid rgba(255, 255, 255, 0.18);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-6px);

        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s ease;

        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);

        max-height: 320px;
        overflow-y: auto;
    }


    .leistung-hero__tag-dropdown.is-open
    .leistung-hero__tag-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


    /* Einzelne Leistung */
    .leistung-hero__tag-dropdown-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;

        padding: 1rem;

        color: #fff;

        font-size: 0.82rem;
        line-height: 1.3;

        border-bottom: 1px solid rgba(255, 255, 255, 0.1);

        transition:
            background-color 0.2s ease,
            color 0.2s ease;
    }


    .leistung-hero__tag-dropdown-item:last-child {
        border-bottom: 0;
    }


    .leistung-hero__tag-dropdown-item:hover {
        background: var(--color-brand);
        color: var(--color-foreground);
    }


    .leistung-hero__tag-dropdown-item svg {
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
    }
}
/* FAQ rich text: Absätze und Listen */
.leistung-faq__answer p + p { margin-top: .85rem; }
.leistung-faq__answer ul, .leistung-faq__answer ol { padding-left: 1.4rem; margin: .75rem 0; list-style: revert; }
.leistung-faq__answer li + li { margin-top: .3rem; }
.leistung-faq__answer a { text-decoration: underline; text-underline-offset: 3px; }
