/* BLOG - Insights */

.blog-module .category-allgemein {
    max-width: 49%;
    background: var(--color-bg);
    border-radius: var(--border-radius);
    padding: var(--space-l);
}

.blog-module .et_pb_ajax_pagination_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-module .category-allgemein img {
    border-radius: calc(var(--border-radius) / 2);
}

.blog-module .category-allgemein .h2, .blog-module .category-allgemein h2 {
    font-size: var(--text-3xl);
}

.category-allgemein a::after {
    display: none;
}

.category-allgemein {
    max-width: calc(50% - 10px);
}


section:not(.happy-end) {
    overflow: hidden;
    max-width: 100%;
}


.et_pb_section:nth-of-type(odd) {
    background-color: var(--color-bg);
}

.et_pb_section img {
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    border-radius: var(--border-radius);
}



.container.client-logos {
    padding-top: 0 !important;
}

/* Logo-Styles */
.logo {
    font-size: var(--text-4xl);
    font-weight: normal;
    text-transform: none;
}

.logo:hover {
    text-decoration: none;
}

/* VORTEILE */
.benefit-icon {
    background-color: var(--color-bg);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
}





/* Highlighted-Text-Styles */
.highlighted-text {
    color: var(--color-primary);
    background-color: var(--color-bg);
    padding: var(--space-sm) var(--space-md) !important;
    border-radius: var(--border-radius);
    margin-right: var(--space-md);
    margin-bottom: var(--space-md);
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: var(--text-base);
}


/* Headline-Text-Styles */
.headline-text {
    font-size: var(--text-xl);
    max-width: 700px;
}

/* Button-Styles */
.btn-section {
    position: relative;
    display: inline-block;
}

.btn-section .btn {
    margin-bottom: var(--space-sm);
}

/* Info-Text-Styles */
.info-text {
    font-size: var(--text-base);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

/* Batch-Styles */
.batch-white {
    background: var(--color-white);
    padding: var(--space-md) var(--space-md);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-bg);
    line-height: 0;
}

.batches {
    bottom: 20%;
    left: 11%;
}

.section-eyebrow {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-primary);
}

/* ==========================================================================
   Komponente: Step (ohne Unterstriche in Klassennamen)
   ========================================================================== */

.step {
    /* per-Step anpassbar */
    --step-badge-bg: var(--color-primary);
    --step-badge-fg: var(--color-white);
    display: flex;
    flex-direction: column;
    height: auto !important;
    padding-left: 0 !important;
}

/* runder Zähler */
.step-badge {
    width: 3rem;                         /* ~ w-12 */
    height: 3rem;                        /* ~ h-12 */
    border-radius: var(--border-radius-full);
    background: var(--step-badge-bg);
    color: var(--step-badge-fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    line-height: 1;
    box-shadow: 0 1px 2px rgba(var(--color-black-rgb), .06);
    margin-bottom: var(--space-md);
}

/* Überschrift */
.step-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    line-height: var(--line-height-sm);
    color: var(--color-black);
}

/* Beschreibung */
.step-text {
    margin: 0;
    max-width: 20rem;                    /* ~ max-w-xs */
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    line-height: var(--line-height-base);
    color: var(--color-gray);
    text-align: center;
}

/* Optional: Varianten via Modifier-Klasse (weiterhin ohne Unterstriche) */
.step-badge-alt { --step-badge-bg: var(--color-accent); }


/* Image-Logo-Styles */
.image-logo {
    left: -9%;
    bottom: -5%;
    transform: scale(1.4);
}

/* Client-Logos-Styles */
.client-logos {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

/* Card-Styles */
.card {
    background: var(--color-white);
    padding: 0;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    line-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.card-body {
    padding: var(--space-lg) var(--space-lg);
}

.card .btn {
    width: 100%;
}


/* Meta-Zeile (Dauer/Preis) */
.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding-top: var(--space-sm) !important;
    border-top: 1px solid var(--color-border) !important;
    margin-top: calc(var(--space-sm) * 1.25);
}

.card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--line-height-base);
    color: var(--color-black); /* Werte gut lesbar */
}

/* Icons */
.card-meta .icon {
    width: 1.1em;
    height: 1.1em;
    display: inline-block;
    color: var(--color-primary); /* markiert die Meta-Werte dezent in der Brand-Farbe */
    flex: none;
    margin: 0;
}


/* CARD */
.et_pb_section .card img {
    box-shadow: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Pain-Icon-Styles */
.icon-pain {
    margin-bottom: var(--space-md);
}

/* About-Me-Styles */
.about-me-image {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-right: var(--space-xl);
}

.about-me-image .batches {
    bottom: auto;
    left: -22%;
    top: 8%;
}

.about-me-image img {
    object-fit: cover;
    min-width: 461px;
    height: 625px;
}

.about-me-content {
    align-items: center;
    justify-content: center;
    max-width: 1090px;
    margin: 0 auto;
}

.img-text {
    font-size: var(--text-sm);
    margin-top: var(--space-sm);
}

/* Basis-Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.sticky-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.left-fixed{
    flex-basis: 38%;
}

.right-fixed {
    flex-basis: 60%;
}

.right-fixed {
    display: flex;
    flex-wrap: wrap;
}

.left-fixed {
    position: sticky;
    top: calc(var(--space-xl) * 2);
}


.icon-end {
    margin-bottom: var(--space-md);
}


/* Sticky-Section-Styles */
.right-fixed .card {
    flex-basis: 46%;
}

.testimonial {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    border-radius: var(--border-radius);
    padding: var(--space-md);
}

.testimonial-content .h3 {
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

.testimonial-content .h3 svg {
    margin-right: var(--space-sm);
}

/* ==========================================================================
   Komponenten: Hero-Badges
   ========================================================================== */

.hero-badges {
    list-style: none;
    margin: var(--space-l) 0;
    padding: 0 !important;
    display: grid;
    gap: var(--space-sm);
}

.hero-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: calc(var(--space-sm) + 2px) var(--space-md);
    border-radius: var(--border-radius-full);
    background: var(--color-secondary);
    border: 1px solid var(--color-border);
    color: var(--color-gray);
    line-height: 1;
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: 400;
    max-width: max-content;
    box-shadow: 0 1px 2px rgba(var(--color-black-rgb), .04);
}


.hero-badges .badge-lead {
    font-weight: 600;
    letter-spacing: .4px;
    color: var(--color-primary);
    opacity: .9;
}


.hero-badges .badge-text {
    white-space: nowrap;
}

.hero-badges br { display: none; }

@media (min-width: 768px) {
    .hero-badges.hero-badges--row {
        grid-auto-flow: column;
        justify-content: start;
        gap: var(--space-md);
    }
}



@media screen and (min-width: 768px) {
    .testimonial {
        flex-direction: row;
        padding: var(--space-xl);
    }

    .testimonial-image img {
        position: absolute;
        top: 0;
        left: -10%;
    }

    .testimonial-content {
        flex: 1 1 40%;
    }

    .testimonial-image {
        flex: 1 1 60%;
    }

    .hero-section .flexbox-grid-item-sm {
        flex: 1 1 45%;
        max-height: 638px;
    }

    .hero-section .flexbox-grid-item-sm:first-child {
        flex: 1 1 55%;
    }

    .center-image-text .et_pb_row {
        display: flex;
        align-items: center;
    }
}

.icon-quote {
    position: absolute;
    width: 84px;
    height: 84px;
    background: var(--color-primary);
    border-radius: var(--border-radius-full);
    padding: var(--space-lg);
    box-sizing: border-box;
    top: calc(-1 * var(--space-l));
}

.quote-text {
    color: var(--color-black);
    font-size: var(--text-2xl);
}

.testimonials .left-mask {
    position: absolute;
    top: calc(-1 * var(--space-l));
    height: 120%;
}

.quote-botton {
    display: flex;
    width: 100%;
    padding-top: var(--space-l);
    align-items: center;
    position: absolute;
    bottom: 40px;
}

.quote-logo {
    margin-right: var(--space-lg);
}

.quote-botton::before {
    content: '';
    width: 100%;
    position: absolute;
    height: 1px;
    background: var(--color-border);
    top: 0;
    left: calc(-1 * var(--space-l));
}

.quote-author-name {
    font-weight: bold;
    color: var(--color-black);
    padding-bottom: var(--space-sm);
    font-family: var(--font-mono);
}

.quote-author-position {
    color: var(--color-secondary);
    font-family: var(--font-mono);
}

/* Every Second Card */
.right-fixed .card {
    margin-bottom: var(--space-l);
}

.right-fixed .card:nth-child(2n) {
    margin-top: var(--space-l);
    margin-left: var(--space-l);
    margin-bottom: 0;
}


/* Calender Section */
.calender-booking .sub-headline{
    font-size: var(--text-lg);
}

.icon {
    margin-bottom: var(--space-md);
}

/* UX-Batch */
.ux-batch {
    background: var(--color-white);
    border-radius: var(--border-radius-full);
    z-index: 3;
    position: absolute;
    box-shadow: var(--shadow);
    top: -4%;
    right: 4vw;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-border);
    overflow: visible;
}

.ux-batch::before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent transparent var(--color-white) transparent;
    bottom: 12%;
    left: 11%;
    transform: translateY(43%) rotate(-7deg);
}

.ux-batch-inner {
    text-align: center;
    max-width: 100%;
}

.ux-batch-text-a {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 18px;
    color: var(--color-primary);
    line-height: 0.9;
    hyphens: auto;
}

.ux-batch-text-b {
    color: var(--color-black);
    font-weight: 500;
    font-family: var(--font-mono);
    hyphens: auto;
    font-size: 16px;
}


/* Mobile-Styles */

/* Tablet (Landscape) */
@media (max-width: 1280px) {
    .right-fixed {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .right-fixed .card:nth-child(2n) {
        margin-top: 0;
        margin-left: 0;
        margin-bottom: var(--space-l);
    }
}

@media screen and (max-width: 1024px) {
    .about-me-image img {
        min-width: 100%;
        height: auto;
    }

    .about-me-image .batches {
        left: -10%;
    }
}

@media screen and (max-width: 980px) {
    .hero-section .flexbox-grid-item-sm:last-child {
        display: none;
    }

    .sticky-section {
        flex-direction: column;
    }

    .left-fixed {
        position: relative;
        top: 0;
        margin-bottom: var(--space-l);
    }

    .about-me-content {
        flex-direction: column-reverse;
    }
    .about-me-image img {
        max-width: 300px;
        min-width: auto;
        margin: 0 auto;
    }

    .about-me-image .batches {
        left: 15%;
    }

    .img-text {
        text-align: center;
    }

    .testimonial-image img {
        position: relative;
        left: 0;
    }

    .testimonial-image {
        flex: 1 1 100%;
        margin-bottom: var(--space-l);
    }

    .testimonial-content {
        flex: 1 1 100%;
    }

    .testimonial {
        flex-direction: column;
        padding: var(--space-l);
    }

    .client-logos {
        justify-content: center;
        gap: 16px;
    }



    .client-logo img {
        height: 40px;
        object-fit: cover;
    }

    .quote-logo {
        margin-right: var(--space-lg);
        max-width: 80px;
    }

    .quote-author-name {
        font-size: var(--text-sm);
    }

    .quote-author-position {
        font-size: var(--text-sm);
    }

    .highlighted-text {
        padding: var(--space-md) var(--space-lg) !important;
    }

    .blog-module .category-allgemein {
        max-width: 100%;
    }


}



@media screen and (max-width: 768px) {
    .sticky-section {
        flex-direction: column;
    }

    .left-fixed,
    .right-fixed {
        flex-basis: 100%;
        margin-bottom: var(--space-l);
    }

    .left-fixed {
        position: static;
    }

    .right-fixed .card:nth-child(2n) {
        margin-top: 0;
    }



    .about-me-image {
        margin-right: 0;
    }

    .about-me-image .batches {
        left: auto;
        top: -20px;
        right: -40px;
        transform: scale(0.7);
    }

}