/* ============================================================
   Leistungs-Landingpage – Basis (Tokens, Schriften, Resets)
   Übernommen von der Karriere-Seite, damit die Werte hier
   wiederverwendet werden können.
   ============================================================ */

@font-face {
    font-display: swap;
    font-family: "EC Crimson Text";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/crimson-text/CrimsonText-Regular.ttf") format("truetype");
}

.ec-leistung-page-active .main_color,
.ec-leistung-page-active .alternate_color,
.ec-leistung-page-active .primary-background,
.ec-leistung-page-active .secondary-background,
.ec-leistung-page-active .theme-color-background {
    --ec-landing-color-text: #132238;
    --ec-landing-color-surface: #ffffff;
    --ec-landing-color-surface-alt: #f4f7fb;
    --ec-landing-color-accent: #0f766e;
    --ec-landing-color-border: #d7e1ec;
}

.ec-leistung-page {
    --ec-type-h1-size: 50px;
    --ec-type-h1-line: 1.15;
    --ec-type-h2-size: 40px;
    --ec-type-h2-line: 1.15;
    --ec-type-h3-size: 30px;
    --ec-type-h3-line: 1.25;
    --ec-type-h4-size: 25px;
    --ec-type-h4-line: 1.3;
    --ec-type-h5-size: 22px;
    --ec-type-h5-line: 1.3;
    --ec-type-body-size: 18px;
    --ec-type-body-line: 1.5;
    --ec-type-small-size: 14px;
    --ec-type-small-line: 1.4;

    /* Brand colours */
    --ec-teal: #006A66;
    --ec-teal-dark: #095f5c;
    --ec-teal-soft: #9AE1DA;
    --ec-ink: #0C1318;
    --ec-muted: #6D7277;

    color: var(--ec-landing-color-text);
    isolation: isolate;
}

.ec-leistung-page,
.ec-leistung-page * {
    box-sizing: border-box;
}

.ec-leistung-page .container,
.ec-leistung-page .template-page,
.ec-leistung-page .content,
.ec-leistung-page .units,
.ec-leistung-page .flex_column,
.ec-leistung-page .av-layout-grid-container {
    max-width: none;
}

.ec-leistung-page .template-page.content,
.ec-leistung-page .template-page.content.av-content-full {
    float: none;
    margin: 0;
    width: 100%;
}

.ec-leistung-page .entry-content-wrapper,
.ec-leistung-page .entry-content-wrapper> :first-child {
    margin-top: 0;
}

.ec-leistung-page .container_wrap_first {
    border-top-width: 0;
}

/* Keep full-bleed sections from creating a horizontal scrollbar. */
.ec-leistung-page-active #main {
    overflow-x: clip;
}

/* ============================================================
   Hero  (ec-lh)  –  "Leistung" Hero mit Copy + Formular
   ============================================================ */

/* Enfold adds a bottom margin to the column – must not show here. */
#top #wrap_all .ec-leistung-hero-section .flex_column,
#top #wrap_all .ec-leistung-hero-section .av_one_full {
    margin-bottom: 0 !important;
}

.ec-lh {
    background: linear-gradient(180deg, #E7FAF7 0%, #FFFBF4 100%);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 64px;
    padding-bottom: 88px;
}

.ec-lh__inner {
    align-items: start;
    display: grid;
    gap: 56px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
}

/* ---- Left column ---- */
.ec-lh__badge {
    align-items: center;
    background: #fff;
    border: 1px solid #9CE1D7 !important;
    border-radius: 999px;
    color: #00504F;
    display: inline-flex;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 400;
    gap: 8px;
    line-height: 1;
    margin: 0 0 28px;
    padding: 10px 16px;
}

.ec-lh__badge::before {
    background: #00857D;
    border-radius: 50%;
    content: "";
    height: 8px;
    width: 8px;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lh__title,
#top #wrap_all .all_colors .ec-lh__title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h1-size, 50px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: var(--ec-type-h1-line, 1.15);
    margin: 0 0 24px;
    max-width: 560px;
    text-transform: none;
}

.ec-lh__title-highlight {
    color: var(--ec-teal, #006A66);
    font-family: "EC Crimson Text", Georgia, serif;
    letter-spacing: -0.01em;
}

#top #wrap_all .ec-lh__lead {
    color: #353B40;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0 0 28px;
    max-width: 560px;
}

.ec-lh__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    max-width: 600px;
}

#top #wrap_all .ec-lh__item {
    align-items: flex-start;
    color: #0C1318;
    display: flex;
    font-size: var(--ec-type-body-size, 18px);
    gap: 12px;
    line-height: var(--ec-type-body-line, 1.5);
    list-style: none;
    margin: 0;
    padding: 0;
}

.ec-lh__item::marker {
    content: "";
}

.ec-lh__check {
    align-items: center;
    background: var(--ec-teal, #006A66);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 26px;
    height: 26px;
    justify-content: center;
    margin-top: 1px;
    width: 26px;
}

.ec-lh__check svg {
    height: 14px;
    width: 14px;
}

.ec-lh__proof {
    border-top: 1px solid #D4D8DB;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding-top: 26px;
}

/* Two blocks side by side when there is room; they wrap cleanly below each
   other as soon as the space gets tight (no fixed breakpoint, so the overlap
   can never happen at any width). */
.ec-lh__proof-block {
    align-items: center;
    display: flex;
    flex: 1 1 240px;
    gap: 12px;
    min-width: 0;
}

.ec-lh__stars {
    color: #F2A93B;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
}

.ec-lh__rating {
    color: var(--ec-ink, #0C1318);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.ec-lh__rating small {
    color: var(--ec-muted, #6D7277);
    display: block;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 400;
}

.ec-lh__avatars {
    display: inline-flex;
    flex: 0 0 auto;
}

.ec-lh__avatar {
    align-items: center;
    background: #5FB3A8;
    border: 2px solid #FFF !important;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    margin-left: -10px;
    width: 36px;
}

.ec-lh__avatar:first-child {
    margin-left: 0;
}

.ec-lh__avatar--img {
    background: #EAF7F4;
    overflow: hidden;
}

.ec-lh__avatar--img img {
    border-radius: 50%;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ec-lh__proof-text {
    line-height: 1.3;
}

.ec-lh__proof-title {
    color: var(--ec-ink, #0C1318);
    display: block;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
}

.ec-lh__proof-note {
    color: var(--ec-muted, #6D7277);
    display: block;
    font-size: var(--ec-type-small-size, 14px);
}

/* ---- Right column: form card ---- */
.ec-lh__form {
    background: #fff;
    border: 1px solid #EAE0CF;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(10, 58, 54, 0.10);
    padding: 36px;
}

.ec-lh__form-eyebrow {
    align-items: center;
    background: #E7FAF7;
    border-radius: 999px;
    color: var(--ec-teal, #006A66);
    display: inline-flex;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
    gap: 8px;
    letter-spacing: 0.06em;
    line-height: 1;
    margin: 0 0 16px;
    padding: 8px 14px;
    text-transform: uppercase;
}

.ec-lh__form-eyebrow::before {
    background: var(--ec-teal, #006A66);
    border-radius: 50%;
    content: "";
    height: 8px;
    width: 8px;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lh__form-title,
#top #wrap_all .all_colors .ec-lh__form-title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h4-size, 25px);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 8px;
    text-transform: none;
}

#top #wrap_all .ec-lh__form-subtitle {
    color: #353B40;
    font-size: var(--ec-type-small-size, 14px);
    line-height: var(--ec-type-small-line, 1.4);
    margin: 0 0 24px;
    padding: 0 0 20px;
    border-bottom: 1px solid #E9EBEE;
}

.ec-lh__form-embed {
    min-height: 120px;
}

/* ---- Enfold contact form (av_contact) styling inside the hero card ---- */
#top #wrap_all .ec-lh__form-embed .avia_ajax_form,
#top #wrap_all .ec-lh__form-embed fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    max-width: none;
}

#top #wrap_all .ec-lh__form-embed .form_element {
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
    float: none;
    clear: both;
}

#top #wrap_all .ec-lh__form-embed .form_element:last-of-type {
    margin-bottom: 0;
}

/* Labels */
#top #wrap_all .ec-lh__form-embed label {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    width: 100%;
    color: #353B40;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
}

#top #wrap_all .ec-lh__form-embed abbr.required {
    border: 0;
    color: #D7263D;
    text-decoration: none;
}

/* Text inputs, textarea, select */
#top #wrap_all .ec-lh__form-embed .text_input,
#top #wrap_all .ec-lh__form-embed .text_area,
#top #wrap_all .ec-lh__form-embed textarea,
#top #wrap_all .ec-lh__form-embed select,
#top #wrap_all .ec-lh__form-embed input[type="text"],
#top #wrap_all .ec-lh__form-embed input[type="email"],
#top #wrap_all .ec-lh__form-embed input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 13px 16px;
    border: 1px solid #D4D8DB !important;
    border-radius: 10px !important;
    background: #FFFBF4 !important;
    box-shadow: none !important;
    color: var(--ec-ink, #0C1318);
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#top #wrap_all .ec-lh__form-embed textarea,
#top #wrap_all .ec-lh__form-embed .text_area {
    min-height: 120px;
    resize: vertical;
}

#top #wrap_all .ec-lh__form-embed .text_input:focus,
#top #wrap_all .ec-lh__form-embed textarea:focus,
#top #wrap_all .ec-lh__form-embed select:focus,
#top #wrap_all .ec-lh__form-embed input[type="text"]:focus,
#top #wrap_all .ec-lh__form-embed input[type="email"]:focus,
#top #wrap_all .ec-lh__form-embed input[type="tel"]:focus {
    border-color: var(--ec-teal, #006A66) !important;
    box-shadow: 0 0 0 3px rgba(0, 106, 102, 0.12) !important;
    outline: none;
}

#top #wrap_all .ec-lh__form-embed ::placeholder {
    color: #9AA0A6;
    opacity: 1;
}

/* Select: custom chevron */
#top #wrap_all .ec-lh__form-embed select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 5.25 7 8.75l3.5-3.5' stroke='%236D7277' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* Checkbox rows: checkbox + text side by side */
#top #wrap_all .ec-lh__form-embed .form_element:has(> .input_checkbox) {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

#top #wrap_all .ec-lh__form-embed .input_checkbox {
    width: 18px !important;
    height: 18px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    float: none;
    accent-color: var(--ec-teal, #006A66);
}

#top #wrap_all .ec-lh__form-embed .input_checkbox_label {
    display: block;
    flex: 1 1 auto;
    margin: 0;
    color: var(--ec-muted, #6D7277);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    text-transform: none;
}

#top #wrap_all .ec-lh__form-embed .input_checkbox_label a {
    display: inline;
    color: var(--ec-teal, #006A66);
    text-decoration: underline;
}

/* Submit button */
#top #wrap_all .ec-lh__form-embed .button[type="submit"],
#top #wrap_all .ec-lh__form-embed input.button {
    display: block;
    width: 100%;
    margin: 4px 0 0;
    padding: 16px 24px;
    border: 0 !important;
    border-radius: 999px !important;
    background-color: var(--ec-teal, #006A66) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h9M9 4l4 4-4 4' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 22px center !important;
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 106, 102, 0.18);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {

    #top #wrap_all .ec-lh__form-embed .button[type="submit"]:hover,
    #top #wrap_all .ec-lh__form-embed input.button:hover {
        background-color: var(--ec-teal-dark, #095f5c) !important;
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(0, 106, 102, 0.24);
    }
}

/* Contact-method selector rendered as pills (JS enhances a <select>) */
#top #wrap_all .ec-lh__form-embed select.ec-lh__pills-source {
    display: none !important;
}

.ec-lh__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#top #wrap_all .ec-lh__form-embed .ec-lh__pill {
    margin: 0;
    padding: 9px 18px;
    border: 1px solid #D4D8DB;
    border-radius: 999px;
    background: #FFFBF4;
    color: #353B40;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

#top #wrap_all .ec-lh__form-embed .ec-lh__pill.is-active {
    background: #fff;
    border-color: var(--ec-teal, #006A66);
    color: var(--ec-teal, #006A66);
    box-shadow: inset 0 0 0 1px var(--ec-teal, #006A66);
}

/* reCAPTCHA v3: the area is invisible (badge is position:fixed elsewhere),
   so fully collapse it – incl. any zero-token child reCAPTCHA injects –
   so it never adds a phantom gap. */
#top #wrap_all .ec-lh__form-embed .av-recaptcha-area {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

/* reCAPTCHA privacy notice – same styling as the field labels */
#top #wrap_all .ec-lh__form-embed .av-google-badge-message {
    margin: 0;
    padding: 8px 0 0;
    color: #353B40;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

#top #wrap_all .ec-lh__form-embed .av-google-badge-message a {
    color: var(--ec-teal, #006A66);
    text-decoration: underline;
}

/* Validation / success messages */
#top #wrap_all .ec-lh__form-embed .avia_ajax_form .hidden,
#top #wrap_all .ec-lh__form-embed p.hidden {
    display: none !important;
}

.ec-lh__form-foot {
    border-top: 1px solid rgba(12, 19, 24, 0.10);
    margin-top: 24px;
    padding-top: 20px;
    text-align: center;
}

.ec-lh__form-foot-label {
    color: var(--ec-muted, #6D7277);
    display: block;
    font-size: var(--ec-type-small-size, 14px);
    margin-bottom: 4px;
}

#top #wrap_all .ec-lh__form-phone {
    align-items: center;
    color: var(--ec-teal, #006A66);
    display: inline-flex;
    font-size: 18px;
    font-weight: 700;
    gap: 8px;
    text-decoration: none;
}

.ec-lh__form-phone svg {
    height: 18px;
    width: 18px;
}

.ec-lh__form-phone::before {
    content: unset !important;
}

/* ---- Hero load animation (CSS only) ---- */
@keyframes ec-lh-fade-up {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: no-preference) {

    .ec-lh__badge,
    .ec-lh__title,
    .ec-lh__lead,
    .ec-lh__list,
    .ec-lh__proof,
    .ec-lh__form {
        animation: ec-lh-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) both;
        will-change: opacity, transform;
    }

    .ec-lh__title {
        animation-delay: 0.08s;
    }

    .ec-lh__lead {
        animation-delay: 0.18s;
    }

    .ec-lh__list {
        animation-delay: 0.28s;
    }

    .ec-lh__proof {
        animation-delay: 0.38s;
    }

    .ec-lh__form {
        animation-delay: 0.2s;
    }
}

/* ---- Desktop: top offsets for the two columns ---- */
@media (min-width: 990px) {
    .ec-lh__copy {
        margin-top: 60px;
    }
}

/* ---- Tablet & below: stack the form under the copy ---- */
@media (max-width: 989px) {
    .ec-lh__inner {
        gap: 40px;
        grid-template-columns: 1fr;
    }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .ec-lh {
        background: linear-gradient(180deg, #E7FAF7 0%, #FFFBF4 100%);
        padding-top: 40px;
        padding-bottom: 56px;
    }

    .ec-lh__inner {
        gap: 36px;
        grid-template-columns: 1fr;
    }

    .ec-lh__form {
        border-radius: 20px;
        padding: 24px 20px;
    }

    .ec-lh__proof {
        border-bottom: 1px solid #D4D8DB;
        gap: 22px 32px;
        padding-bottom: 26px;
    }
}

/* ============================================================
   Logo-Loop  (ec-ll)  –  "Mitglied & zertifiziert bei"
   Endlos-Marquee (CSS-only, dupliziertes Track für nahtlose Schleife).
   ============================================================ */

/* Keep a subtle top border, drop Enfold's section shadow. */
#top #wrap_all .ec-leistung-logos-section {
    border-top: 1px solid #F1EDE5;
    box-shadow: none;
}

/* On desktop there should be no divider between the hero and the logo bar. */
@media (min-width: 990px) {
    #top #wrap_all .ec-leistung-logos-section {
        border-top: 0;
    }
}

/* On mobile, drop Enfold's default divider under the logo bar
   (the testimonials section's top border). */
@media (max-width: 767px) {
    #top #wrap_all .ec-leistung-testimonials-section {
        border-top: 0;
    }

    #top #wrap_all .ec-leistung-testimonials-section .flex_column,
    #top #wrap_all .ec-leistung-testimonials-section .av_one_full {
        margin-bottom: 0 !important;
    }
}

.ec-ll {
    padding: 40px 0;
}

.ec-ll__inner {
    align-items: center;
    display: flex;
    gap: 40px;
}

.ec-ll__label {
    color: #6D7277;
    flex: 0 0 auto;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.3;
    max-width: 170px;
    text-transform: uppercase;
}

.ec-ll__viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

.ec-ll__track {
    animation: ec-ll-scroll 35s linear infinite;
    display: flex;
    width: max-content;
    will-change: transform;
}

/* Pause on hover (nice-to-have, only where hover exists). */
@media (hover: hover) {
    .ec-ll__viewport:hover .ec-ll__track {
        animation-play-state: paused;
    }
}

.ec-ll__logo {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    margin-right: 64px;
}

.ec-ll__logo img {
    display: block;
    height: 52px;
    max-width: 180px;
    object-fit: contain;
    width: auto;
}

/* translateX(-50%) lands the duplicate set exactly where the first one
   started → seamless loop (the trailing margin provides the gap). */
@keyframes ec-ll-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .ec-ll {
        padding: 28px 0;
    }

    .ec-ll__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .ec-ll__label {
        max-width: none;
    }

    .ec-ll__viewport {
        align-self: stretch;
        flex: 0 0 auto;
        width: 100%;
    }

    .ec-ll__logo {
        margin-right: 44px;
    }

    .ec-ll__logo img {
        height: 38px;
        max-width: 140px;
    }
}

/* Respect reduced motion: stop the loop, show all logos wrapped & static. */
@media (prefers-reduced-motion: reduce) {
    .ec-ll__track {
        animation: none;
        flex-wrap: wrap;
        gap: 20px 48px;
        width: auto;
    }

    .ec-ll__logo {
        margin-right: 0;
    }

    .ec-ll__logo--dup {
        display: none;
    }

    .ec-ll__viewport {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* ============================================================
   Testimonials  (ec-lt)  –  "Stimmen von Familien"
   ============================================================ */

.ec-lt {
    background: #FBF4EA;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 80px;
    padding-bottom: 88px;
}

.ec-lt__eyebrow {
    color: var(--ec-teal, #006A66);
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: var(--ec-type-small-line, 1.4);
    margin: 0 0 14px;
    text-align: center;
    text-transform: uppercase;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lt__title,
#top #wrap_all .all_colors .ec-lt__title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 auto 48px;
    max-width: 560px;
    text-align: center;
    text-transform: none;
}

.ec-lt__viewport {
    position: relative;
}

#top #wrap_all .ec-lt__track,
#top #wrap_all .ec-lt__slide {
    list-style: none !important;
}

#top #wrap_all .ec-lt__slide {
    margin: 0;
    padding: 0;
}

#top #wrap_all .ec-lt__slide::marker {
    content: "" !important;
    font-size: 0 !important;
}

.ec-lt__track {
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    overflow-x: hidden;
    padding: 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.ec-lt__viewport.is-slider .ec-lt__track {
    cursor: grab;
    overflow-x: auto;
}

.ec-lt__track::-webkit-scrollbar {
    display: none;
}

.ec-lt__track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.ec-lt__slide {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

/* The card is a <blockquote>; the theme forces padding on blockquote, so the
   padding here needs !important to win. */
#top #wrap_all .ec-lt__card {
    background: #fff;
    border: 1px solid #EFE7D7;
    border-radius: 16px;
    font-style: normal;
    height: 100%;
    margin: 0;
    padding: 32px !important;
    position: relative;
}

.ec-lt__card::before {
    content: unset !important;
}

.ec-lt__stars {
    color: #F2A93B;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0 0 18px;
}

#top #wrap_all .ec-lt__quote {
    color: #353B40;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0 0 26px;
}

.ec-lt__hl {
    color: var(--ec-teal, #006A66);
    font-weight: 600;
}

.ec-lt__person {
    align-items: center;
    border-top: 1px solid #EFE7D7;
    display: flex;
    gap: 14px;
    padding-top: 20px;
}

.ec-lt__avatar {
    align-items: center;
    background: #8FCEC4;
    border-radius: 50%;
    color: #0C3A37;
    display: inline-flex;
    flex: 0 0 44px;
    font-size: 14px;
    font-weight: 700;
    height: 44px;
    justify-content: center;
    font-family: "EC Crimson Text";
    width: 44px;
}

.ec-lt__avatar--img {
    background: none;
    overflow: hidden;
}

.ec-lt__avatar--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ec-lt__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ec-lt__name {
    color: var(--ec-ink, #0C1318);
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
    line-height: 1.3;
}

.ec-lt__role {
    color: var(--ec-muted, #6D7277);
    font-size: var(--ec-type-small-size, 14px);
    line-height: 1.3;
}

/* ---- Dots ---- */
.ec-lt__dots {
    display: none;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
}

.ec-lt__viewport.is-slider .ec-lt__dots {
    display: flex;
}

.ec-lt__dot {
    background: #DBCFBC;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 8px;
    padding: 0;
    transition: background-color 0.25s ease, width 0.25s ease;
    width: 8px;
}

.ec-lt__dot.is-active {
    background: var(--ec-teal, #006A66);
    width: 22px;
}

/* ---- Mobile: one card per view ---- */
@media (max-width: 767px) {
    .ec-lt {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    #top #wrap_all .all_colors .ec-leistung-page .ec-lt__title,
    #top #wrap_all .all_colors .ec-lt__title {
        margin-bottom: 32px;
    }

    .ec-lt__slide {
        flex: 0 0 100%;
    }
}

/* ============================================================
   Hilfe-Karten  (ec-lhf)  –  "Wann wir helfen"
   ============================================================ */

/* No divider between the testimonials section and this one. */
#top #wrap_all .ec-leistung-help-section {
    border-top: 0;
    box-shadow: none;
}

.ec-lhf {
    background: #FFFBF4;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 80px;
    padding-bottom: 88px;
}

.ec-lhf__eyebrow {
    color: var(--ec-teal, #006A66);
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: var(--ec-type-small-line, 1.4);
    margin: 0 0 14px;
    text-align: center;
    text-transform: uppercase;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lhf__title,
#top #wrap_all .all_colors .ec-lhf__title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 auto 18px;
    max-width: 560px;
    text-align: center;
    text-transform: none;
}

.ec-lhf__title-hl {
    color: var(--ec-teal, #006A66);
}

#top #wrap_all .ec-lhf__subtitle {
    color: var(--ec-muted, #6D7277);
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0 auto 48px;
    max-width: 640px;
    text-align: center;
}

.ec-lhf__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.ec-lhf__card {
    background: #fff;
    border: 1px solid #EFE7D7;
    border-radius: 18px;
    padding: 30px 28px;
}

.ec-lhf__icon {
    align-items: center;
    background: #E3F4F1;
    border-radius: 14px;
    color: var(--ec-teal, #006A66);
    display: inline-flex;
    height: 54px;
    justify-content: center;
    margin-bottom: 22px;
    width: 54px;
}

.ec-lhf__icon svg {
    height: 26px;
    width: 26px;
}

.ec-lhf__icon img {
    height: 26px;
    object-fit: contain;
    width: 26px;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lhf__card-title,
#top #wrap_all .ec-lhf__card-title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h5-size, 22px);
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 12px;
    text-transform: none;
}

#top #wrap_all .ec-lhf__card-text {
    color: #5C6166;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0;
}

@media (max-width: 989px) {
    .ec-lhf__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .ec-lhf {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    #top #wrap_all .ec-lhf__subtitle {
        margin-bottom: 32px;
    }
}

/* ============================================================
   Service-Karten  (ec-ls)  –  "Unsere Leistungen"
   ============================================================ */

/* No divider between the help section and this one. */
#top #wrap_all .ec-leistung-services-section {
    border-top: 0;
    box-shadow: none;
}

/* On mobile, drop the previous section's column bottom margin. */
@media (max-width: 767px) {

    #top #wrap_all .ec-leistung-help-section .flex_column,
    #top #wrap_all .ec-leistung-help-section .av_one_full {
        margin-bottom: 0 !important;
    }
}

.ec-ls {
    background: #FBF4EA;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 80px;
    padding-bottom: 88px;
}

.ec-ls__eyebrow {
    color: var(--ec-teal, #006A66);
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: var(--ec-type-small-line, 1.4);
    margin: 0 0 14px;
    text-align: center;
    text-transform: uppercase;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-ls__title,
#top #wrap_all .all_colors .ec-ls__title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 auto 48px;
    max-width: 640px;
    text-align: center;
    text-transform: none;
}

.ec-ls__title-hl {
    color: var(--ec-teal, #006A66);
}

.ec-ls__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.ec-ls__card {
    background: #fff;
    border: 1px solid #EFE7D7;
    border-radius: 18px;
    padding: 30px 28px;
}

.ec-ls__icon {
    align-items: center;
    background: linear-gradient(135deg, #00857D 0%, #00504F 100%);
    border-radius: 12px;
    color: #fff;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 22px;
    width: 48px;
}

.ec-ls__icon svg {
    height: 24px;
    width: 24px;
}

.ec-ls__icon img {
    height: 24px;
    object-fit: contain;
    width: 24px;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-ls__card-title,
#top #wrap_all .ec-ls__card-title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h5-size, 22px);
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 12px;
    text-transform: none;
}

#top #wrap_all .ec-ls__card-text {
    color: #5C6166;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0 0 20px;
}

.ec-ls__points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#top #wrap_all .ec-ls__point {
    align-items: flex-start;
    color: #3D4348;
    display: flex;
    font-size: var(--ec-type-small-size, 14px);
    gap: 10px;
    line-height: var(--ec-type-small-line, 1.4);
    list-style: none;
    margin: 0;
    padding: 0;
}

#top #wrap_all .ec-ls__point::marker {
    content: "" !important;
    font-size: 0 !important;
}

.ec-ls__tick {
    color: var(--ec-teal, #006A66);
    flex: 0 0 16px;
    height: 16px;
    margin-top: 1px;
    width: 16px;
}

@media (max-width: 989px) {
    .ec-ls__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-left: auto;
        margin-right: auto;
        max-width: 560px;
    }
}

@media (max-width: 767px) {
    .ec-ls {
        padding-top: 56px;
        padding-bottom: 64px;
    }
}

/* ============================================================
   Ablauf  (ec-lp)  –  "So kommen wir zu Ihnen"
   ============================================================ */

/* No divider to the services section above; drop section shadow. */
#top #wrap_all .ec-leistung-process-section {
    border-top: 0;
    box-shadow: none;
}

/* On mobile, drop the previous (services) section's column bottom margin. */
@media (max-width: 767px) {

    #top #wrap_all .ec-leistung-services-section .flex_column,
    #top #wrap_all .ec-leistung-services-section .av_one_full {
        margin-bottom: 0 !important;
    }
}

.ec-lp {
    background: #FFFBF4;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 80px;
    padding-bottom: 88px;
}

.ec-lp__eyebrow {
    color: var(--ec-teal, #006A66);
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: var(--ec-type-small-line, 1.4);
    margin: 0 0 14px;
    text-align: center;
    text-transform: uppercase;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lp__title,
#top #wrap_all .all_colors .ec-lp__title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 auto 18px;
    max-width: 640px;
    text-align: center;
    text-transform: none;
}

.ec-lp__title-hl {
    color: var(--ec-teal, #006A66);
}

#top #wrap_all .ec-lp__subtitle {
    color: #353B40;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0 auto 48px;
    max-width: 600px;
    text-align: center;
}

#top #wrap_all .ec-lp__list {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(5, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}

#top #wrap_all .ec-lp__step {
    background: #fff;
    border: 1px solid #EFE7D7;
    border-radius: 16px;
    list-style: none;
    margin: 0;
    padding: 30px 22px;
    text-align: center;
}

.ec-lp__step::marker {
    content: "";
}

#top #wrap_all .ec-leistung-page .ec-lp__num {
    align-items: center;
    background: #FFF;
    border: 2px solid #00857D !important;
    border-radius: 24px;
    color: var(--ec-teal, #006A66);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: var(--ec-type-h5-size, 22px);
    font-weight: 700;
    height: 46px;
    justify-content: center;
    line-height: 1;
    margin: 0 auto 18px;
    width: 46px;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lp__step-title,
#top #wrap_all .ec-lp__step-title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h5-size, 22px);
    font-weight: 500;
    line-height: var(--ec-type-h5-line, 1.3);
    margin: 0 0 10px;
    text-transform: none;
}

#top #wrap_all .ec-lp__step-text {
    color: #5C6166;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0;
}

/* ---- Mobile / tablet: vertical timeline ---- */
@media (max-width: 991px) {
    .ec-lp {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    #top #wrap_all .ec-lp__subtitle {
        margin-bottom: 36px;
    }

    #top #wrap_all .ec-lp__list {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: 560px;
        margin: 0 auto;
    }

    #top #wrap_all .ec-lp__step {
        background: transparent;
        border: 0;
        border-radius: 0;
        display: flex;
        gap: 16px;
        padding: 0 0 26px;
        position: relative;
        text-align: left;
    }

    #top #wrap_all .ec-lp__step:last-child {
        padding-bottom: 0;
    }

    /* connecting line behind the circles */
    .ec-lp__step:not(:last-child)::before {
        background: #CDE9E4;
        bottom: 0;
        content: "";
        left: 19px;
        position: absolute;
        top: 40px;
        width: 2px;
        z-index: 0;
    }

    #top #wrap_all .ec-leistung-page .ec-lp__num {
        background: #FFF;
        flex: 0 0 40px;
        font-size: 16px;
        height: 40px;
        margin: 0;
        position: relative;
        width: 40px;
        z-index: 1;
    }

    .ec-lp__body {
        padding-top: 4px;
    }

    #top #wrap_all .ec-lp__step-title {
        margin-bottom: 4px;
    }
}

/* ============================================================
   Ansprechpartner  (ec-lc)  –  Kontakt-Karte
   ============================================================ */

/* No divider to the process section above; drop section shadow. */
#top #wrap_all .ec-leistung-contact-section {
    border-top: 0;
    box-shadow: none;
}

/* On mobile, drop the previous (process) section's column bottom margin. */
@media (max-width: 767px) {

    #top #wrap_all .ec-leistung-process-section .flex_column,
    #top #wrap_all .ec-leistung-process-section .av_one_full {
        margin-bottom: 0 !important;
    }
}

.ec-lc {
    background: #FBF4EA;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 56px;
    padding-bottom: 64px;
}

.ec-lc__card {
    align-items: center;
    background: linear-gradient(103deg, #00504F 0%, #003838 100%);
    border-radius: 24px;
    display: flex;
    gap: 40px;
    overflow: hidden;
    padding: 55px 48px 80px;
    position: relative;
}

/* Soft decorative blob (clipped by the card's overflow:hidden). */
.ec-lc__blob {
    aspect-ratio: 1 / 1;
    background: #00857D;
    border-radius: 50%;
    filter: blur(20px);
    height: 500px;
    opacity: 0.2;
    pointer-events: none;
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    z-index: 0;
}

.ec-lc__media {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.ec-lc__media img,
.ec-lc__initials {
    border-radius: 50%;
    height: 144px;
    object-fit: cover;
    width: 144px;
}

.ec-lc__initials {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    font-size: 36px;
    font-weight: 700;
    justify-content: center;
}

.ec-lc__content {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.ec-lc__eyebrow {
    color: #9CE1D7;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: var(--ec-type-small-line, 1.4);
    margin: 0 0 6px;
    text-transform: uppercase;
}

.ec-lc__name {
    color: #fff;
    font-family: "EC Crimson Text";
    font-size: var(--ec-type-h3-size, 30px);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 12px;
}

.ec-lc__role {
    color: #CBF1EB;
    font-size: var(--ec-type-small-size, 14px);
    line-height: var(--ec-type-small-line, 1.4);
    margin: 0 0 14px;
}

#top #wrap_all .ec-lc__quote {
    color: #E7FAF7;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0;
    max-width: 560px;
}

.ec-lc__actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

#top #wrap_all .ec-lc__btn {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    padding: 14px 22px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
    white-space: nowrap;
}

#top #wrap_all .ec-lc__btn svg {
    height: 16px;
    width: 16px;
    flex: 0 0 16px;
}

/* The theme adds a Font-Awesome icon to tel:/mailto: links – suppress it here. */
#top #wrap_all .ec-lc__btn::before {
    content: none !important;
    display: none !important;
    margin: 0 !important;
}

#top #wrap_all .ec-lc__btn--primary {
    background: #fff;
    border: 1px solid #fff;
    color: #0C3A37;
}

#top #wrap_all .ec-lc__btn--primary:hover {
    transform: translateY(-2px);
}

#top #wrap_all .ec-lc__btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

#top #wrap_all .ec-lc__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .ec-lc__card {
        flex-direction: column;
        gap: 18px;
        padding: 36px 24px;
        text-align: center;
    }

    .ec-lc__blob {
        filter: none;
        height: 280px;
        right: -70px;
        top: -70px;
        transform: none;
        width: 280px;
    }

    .ec-lc__media img,
    .ec-lc__initials {
        height: 120px;
        width: 120px;
    }

    #top #wrap_all .ec-lc__quote {
        margin: 0 auto;
    }

    .ec-lc__actions {
        align-self: stretch;
        width: 100%;
    }

    #top #wrap_all .ec-lc__btn {
        width: 100%;
    }
}

/* ============================================================
   Vorteile  (ec-lf)  –  "Darum Elfin Care"
   ============================================================ */

/* No divider to the contact section above; drop section shadow. */
#top #wrap_all .ec-leistung-features-section {
    border-top: 0;
    box-shadow: none;
}

/* On mobile, drop the previous (contact) section's column bottom margin. */
@media (max-width: 767px) {

    #top #wrap_all .ec-leistung-contact-section .flex_column,
    #top #wrap_all .ec-leistung-contact-section .av_one_full {
        margin-bottom: 0 !important;
    }
}

.ec-lf {
    background: #FFFBF4;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 80px;
    padding-bottom: 88px;
}

.ec-lf__eyebrow {
    color: var(--ec-teal, #006A66);
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: var(--ec-type-small-line, 1.4);
    margin: 0 0 14px;
    text-align: center;
    text-transform: uppercase;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lf__title,
#top #wrap_all .all_colors .ec-lf__title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 auto 56px;
    max-width: 640px;
    text-align: center;
    text-transform: none;
}

.ec-lf__title-hl {
    color: var(--ec-teal, #006A66);
}

.ec-lf__grid {
    display: grid;
    gap: 40px 64px;
    grid-template-columns: repeat(2, 1fr);
}

.ec-lf__item {
    align-items: flex-start;
    display: flex;
    gap: 18px;
}

.ec-lf__icon {
    align-items: center;
    background: #FFF;
    border: 1px solid #D4D8DB;
    border-radius: 12px;
    color: var(--ec-teal, #006A66);
    display: inline-flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.ec-lf__icon svg {
    height: 24px;
    width: 24px;
}

.ec-lf__icon img {
    height: 24px;
    object-fit: contain;
    width: 24px;
}

.ec-lf__body {
    min-width: 0;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lf__item-title,
#top #wrap_all .ec-lf__item-title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h5-size, 22px);
    font-weight: 500;
    line-height: var(--ec-type-h5-line, 1.3);
    margin: 0 0 8px;
    text-transform: none;
}

#top #wrap_all .ec-lf__item-text {
    color: #353B40;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0;
}

@media (max-width: 767px) {
    .ec-lf {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    #top #wrap_all .all_colors .ec-leistung-page .ec-lf__title,
    #top #wrap_all .all_colors .ec-lf__title {
        margin-bottom: 36px;
    }

    .ec-lf__grid {
        gap: 28px;
        grid-template-columns: 1fr;
        max-width: 560px;
    }
}

/* ============================================================
   Team-Galerie  (ec-lct)  –  "Über 100 Menschen …"
   ============================================================ */

/* No divider to the features section above; drop section shadow. */
#top #wrap_all .ec-leistung-team-section {
    border-top: 0;
    box-shadow: none;
}

/* On mobile, drop the previous (features) section's column bottom margin. */
@media (max-width: 767px) {

    #top #wrap_all .ec-leistung-features-section .flex_column,
    #top #wrap_all .ec-leistung-features-section .av_one_full {
        margin-bottom: 0 !important;
    }
}

.ec-lct {
    background: #00504F;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 64px;
    padding-bottom: 72px;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lct__title,
#top #wrap_all .all_colors .ec-lct__title {
    color: #fff;
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 auto 16px;
    max-width: 620px;
    text-align: center;
    text-transform: none;
}

.ec-lct__title-hl {
    color: #9CE1D7;
}

#top #wrap_all .ec-lct__subtitle {
    color: #CBF1EB;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0 auto 44px;
    max-width: 640px;
    text-align: center;
}

/* Endless marquee – full-bleed (no side edge) on all breakpoints. */
.ec-lct__viewport {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

/* Endless, auto-running marquee. Not interactive (no manual sliding); it just
   runs and pauses while the cursor rests on it. Two identical halves +
   translateX(-50%) = seamless loop; the trailing margin provides the seam gap. */
.ec-lct__track {
    animation-iteration-count: infinite;
    animation-name: ec-lct-marquee;
    animation-timing-function: linear;
    display: flex;
    width: max-content;
    will-change: transform;
}

@media (hover: hover) {
    .ec-lct__viewport:hover .ec-lct__track {
        animation-play-state: paused;
    }
}

.ec-lct__item {
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    flex: 0 0 auto;
    margin-right: 16px;
    overflow: hidden;
    width: 232px;
}

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

@keyframes ec-lct-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ec-lct__track {
        animation: none;
    }
}

/* ---- Desktop: static, centered row of the original photos (no slider) ---- */
@media (min-width: 768px) {
    .ec-lct__viewport {
        margin-left: 0;
        margin-right: 0;
    }

    .ec-lct__track {
        animation: none;
        gap: 20px;
        justify-content: center;
        width: auto;
    }

    .ec-lct__item {
        flex: 0 0 calc((100% - 80px) / 5);
        margin-right: 0;
        max-width: 232px;
    }

    /* The duplicates only exist for the mobile marquee loop. */
    .ec-lct__item--dup {
        display: none;
    }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .ec-lct {
        padding-top: 48px;
        padding-bottom: 52px;
    }

    #top #wrap_all .all_colors .ec-leistung-page .ec-lct__title,
    #top #wrap_all .all_colors .ec-lct__title {
        margin-bottom: 12px;
    }

    #top #wrap_all .ec-lct__subtitle {
        margin-bottom: 32px;
    }

    .ec-lct__item {
        width: 64vw;
        max-width: 300px;
    }
}

/* ============================================================
   FAQ  (ec-lfaq)  –  "Was Familien uns oft fragen"
   ============================================================ */

/* No divider to the team section above; drop section shadow. */
#top #wrap_all .ec-leistung-faq-section {
    border-top: 0;
    box-shadow: none;
}

/* On mobile, drop the previous (team) section's column bottom margin. */
@media (max-width: 767px) {

    #top #wrap_all .ec-leistung-team-section .flex_column,
    #top #wrap_all .ec-leistung-team-section .av_one_full {
        margin-bottom: 0 !important;
    }
}

.ec-lfaq {
    background: #FFFBF4;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 80px;
    padding-bottom: 88px;
}

.ec-lfaq__eyebrow {
    color: var(--ec-teal, #006A66);
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: var(--ec-type-small-line, 1.4);
    margin: 0 0 14px;
    text-align: center;
    text-transform: uppercase;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lfaq__title,
#top #wrap_all .all_colors .ec-lfaq__title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 auto 16px;
    max-width: 640px;
    text-align: center;
    text-transform: none;
}

.ec-lfaq__title-hl {
    color: var(--ec-teal, #006A66);
}

#top #wrap_all .ec-lfaq__subtitle {
    color: #353B40;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0 auto 44px;
    max-width: 600px;
    text-align: center;
}

.ec-lfaq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto;
    max-width: 940px;
}

.ec-lfaq__item {
    background: #fff;
    border: 1px solid #EFE7D7;
    border-radius: 14px;
    overflow: hidden;
}

#top #wrap_all .ec-lfaq__q {
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    cursor: pointer;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: 0;
    padding: 22px 24px;
    text-align: left;
    width: 100%;
}

.ec-lfaq__q-text {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h5-size, 22px);
    font-weight: 500;
    line-height: 1.3;
}

.ec-lfaq__icon {
    align-items: center;
    background: #E7FAF7;
    border-radius: 50%;
    color: var(--ec-teal, #006A66);
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 34px;
}

.ec-lfaq__icon svg {
    height: 16px;
    width: 16px;
}

.ec-lfaq__item.is-open .ec-lfaq__icon {
    transform: rotate(45deg);
}

.ec-lfaq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
}

#top #wrap_all .ec-lfaq__a-inner {
    color: #353B40;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    padding: 0 24px 24px;
}

@media (max-width: 767px) {
    .ec-lfaq {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    #top #wrap_all .ec-lfaq__subtitle {
        margin-bottom: 32px;
    }

    #top #wrap_all .ec-lfaq__q {
        gap: 12px;
        padding: 18px 18px;
    }

    .ec-lfaq__q-text {
        font-size: var(--ec-type-body-size, 18px);
    }

    #top #wrap_all .ec-lfaq__a-inner {
        font-size: var(--ec-type-small-size, 14px);
        line-height: var(--ec-type-small-line, 1.4);
        padding: 0 18px 18px;
    }
}

/* ============================================================
   Abschluss-CTA  (ec-lcta)  –  "Reden wir unverbindlich"
   ============================================================ */

/* No divider to the FAQ section above; drop section shadow. */
#top #wrap_all .ec-leistung-cta-section {
    border-top: 0;
    box-shadow: none;
}

/* On mobile, drop the previous (FAQ) section's column bottom margin. */
@media (max-width: 767px) {

    #top #wrap_all .ec-leistung-faq-section .flex_column,
    #top #wrap_all .ec-leistung-faq-section .av_one_full {
        margin-bottom: 0 !important;
    }
}

.ec-lcta {
    background: linear-gradient(112deg, #FBF4EA 0%, #E7FAF7 100%);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 80px;
    padding-bottom: 88px;
}

.ec-lcta__card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(10, 58, 54, 0.10);
    margin: 0 auto;
    max-width: 960px;
    padding: 64px 48px;
    text-align: center;
}

#top #wrap_all .all_colors .ec-leistung-page .ec-lcta__title,
#top #wrap_all .all_colors .ec-lcta__title {
    color: var(--ec-ink, #0C1318);
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 auto 16px;
    max-width: 560px;
    text-align: center;
    text-transform: none;
}

.ec-lcta__title-hl {
    color: var(--ec-teal, #006A66);
}

#top #wrap_all .ec-lcta__subtitle {
    color: var(--ec-muted, #6D7277);
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0 auto 32px;
    max-width: 560px;
    text-align: center;
}

.ec-lcta__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    justify-content: center;
    margin-bottom: 26px;
}

#top #wrap_all .ec-lcta__btn {
    align-items: center;
    background: var(--ec-teal, #006A66);
    border: 1px solid var(--ec-teal, #006A66);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: var(--ec-type-body-size, 18px);
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    padding: 16px 30px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#top #wrap_all .ec-lcta__btn:hover {
    background: var(--ec-teal-dark, #095f5c);
    box-shadow: 0 12px 26px rgba(0, 106, 102, 0.30);
    transform: translateY(-2px);
}

.ec-lcta__arrow {
    height: 16px;
    width: 16px;
}

#top #wrap_all .ec-lcta__phone {
    align-items: center;
    color: var(--ec-teal, #006A66);
    display: inline-flex;
    font-size: var(--ec-type-h5-size, 22px);
    font-weight: 700;
    gap: 10px;
    text-decoration: none;
}

#top #wrap_all .ec-lcta__phone::before {
    content: none !important;
}

.ec-lcta__phone svg {
    height: 20px;
    width: 20px;
}

.ec-lcta__badges {
    align-items: center;
    color: var(--ec-muted, #6D7277);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    justify-content: center;
}

.ec-lcta__badge {
    align-items: center;
    display: inline-flex;
    font-size: var(--ec-type-small-size, 14px);
    gap: 8px;
    line-height: 1.3;
}

.ec-lcta__badge-icon {
    align-items: center;
    color: var(--ec-teal, #006A66);
    display: inline-flex;
}

.ec-lcta__badge-icon svg {
    height: 14px;
    width: 14px;
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .ec-lcta {
        background: linear-gradient(180deg, #FBF4EA 0%, #E7FAF7 100%);
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .ec-lcta__card {
        padding: 36px 22px;
    }

    .ec-lcta__actions {
        flex-direction: column;
        gap: 18px;
    }

    #top #wrap_all .ec-lcta__btn {
        width: 100%;
    }
}

/* ============================================================
   Micro-interactions & scroll reveal (Leistung)
   ============================================================ */

/* ---- Scroll reveal (JS adds .ec-anim-ready on <body>) ---- */
@media (prefers-reduced-motion: no-preference) {
    .ec-anim-ready .ec-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition:
            opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: var(--ec-reveal-d, 0ms);
        will-change: opacity, transform;
    }

    .ec-anim-ready .ec-reveal.is-in {
        opacity: 1;
        transform: none;
    }
}

/* ---- Hover micro-animations (only on hover-capable devices) ---- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {

    /* Help + service cards: gentle lift */
    #top #wrap_all .ec-lhf__card,
    #top #wrap_all .ec-ls__card {
        transition:
            transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
            box-shadow 0.32s ease,
            border-color 0.32s ease;
    }

    #top #wrap_all .ec-lhf__card:hover,
    #top #wrap_all .ec-ls__card:hover {
        border-color: #E0D6C2;
        box-shadow: 0 16px 36px rgba(12, 19, 24, 0.08);
        transform: translateY(-5px);
    }

    /* Feature items: icon box reacts */
    .ec-lf__icon {
        transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    #top #wrap_all .ec-lf__item:hover .ec-lf__icon {
        background: #F1FBF9;
        border-color: #9CE1D7;
        transform: translateY(-3px);
    }

    /* Process cards (desktop only — mobile is a flat timeline) */
    #top #wrap_all .ec-lp__step {
        transition:
            transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
            box-shadow 0.32s ease,
            border-color 0.32s ease;
    }

    /* Team photos: subtle zoom (desktop static row) */
    .ec-lct__item img {
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .ec-lct__item:hover img {
        transform: scale(1.05);
    }

    /* FAQ rows: highlight the toggle on hover */
    .ec-lfaq__item .ec-lfaq__icon {
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    #top #wrap_all .ec-lfaq__item:hover .ec-lfaq__icon {
        background: #D8F3EE;
    }

    /* CTA / contact buttons: lift */
    #top #wrap_all .ec-lcta__btn:hover {
        box-shadow: 0 12px 26px rgba(0, 106, 102, 0.30);
        transform: translateY(-2px);
    }
}

@media (hover: hover) and (min-width: 992px) and (prefers-reduced-motion: no-preference) {
    #top #wrap_all .ec-lp__step:hover {
        border-color: #D8CDB7;
        box-shadow: 0 16px 36px rgba(12, 19, 24, 0.08);
        transform: translateY(-5px);
    }
}

/* ---- Accessible focus rings ---- */
#top #wrap_all .ec-lcta__btn:focus-visible,
#top #wrap_all .ec-lcta__phone:focus-visible,
#top #wrap_all .ec-lc__btn:focus-visible,
#top #wrap_all .ec-lfaq__q:focus-visible,
#top #wrap_all .ec-lh__form-phone:focus-visible {
    outline: 3px solid rgba(0, 106, 102, 0.55);
    outline-offset: 3px;
}