.prodomo-berater-detail-intro {
    margin: 0 0 60px;
}

.prodomo-berater-detail-heading {
    color: #a51a1c;
}

.prodomo-berater-detail-subtitle {
    color: #a51a1c;
    margin-bottom: 25px;
}

.prodomo-berater-detail-intro-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}

.prodomo-berater-detail-intro-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

/* Hero image: matches Elementor's own default image behavior (natural
   aspect ratio, not stretched) - confirmed via DevTools that the original
   widget never forced height:100%/object-fit:cover. */
.prodomo-berater-hero-image-dynamic {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* The "cloud frame" is Elementor's own Mask feature (Advanced tab) applied
   to the original image widget - a PNG mask, not a border-radius/clip-path.
   Bound to our own class (not an Elementor element ID, which can change
   when a page is cloned per consultant) so it survives cloning reliably.
   Values confirmed via DevTools against the live reference page. */
.prodomo-berater-hero-image-dynamic {
    -webkit-mask-image: url(https://www.prodomo-pflegehilfe.de/wp-content/uploads/2023/05/mask.png);
    -webkit-mask-size: contain;
    -webkit-mask-position: bottom right;
    -webkit-mask-repeat: no-repeat;
    mask-image: url(https://www.prodomo-pflegehilfe.de/wp-content/uploads/2023/05/mask.png);
    mask-size: contain;
    mask-position: bottom right;
    mask-repeat: no-repeat;
}

.prodomo-berater-detail-intro-content {
    background: #e4efed;
    padding: 45px 58px;
    border-radius: 0 8px 8px 0;
    color: #526864;
}

.prodomo-berater-detail-intro-image + .prodomo-berater-detail-intro-content {
    border-radius: 0 8px 8px 0;
}


/* Areas / accordion */
.prodomo-berater-detail-areas {
    margin: 60px 0;
}

.prodomo-berater-area-summary {
    margin-bottom: 40px;
}

.prodomo-berater-area-summary h3 {
    color: #a51a1c;
}

.prodomo-berater-area-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prodomo-berater-area-section {
    border: 1px solid #e4efed;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.prodomo-berater-area-title {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border: 0;
    margin: 0;
    padding: 20px 28px;
    background: #e4efed;
    color: #526864;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.prodomo-berater-area-title:hover,
.prodomo-berater-area-title:focus {
    color: #354340;
    outline: none;
}

.prodomo-berater-area-toggle {
    flex: 0 0 auto;
    margin-left: 20px;
    font-size: 20px;
    line-height: 1;
    color: #526864;
}

.prodomo-berater-area-content {
    display: none;
    padding: 30px 45px;
    color: #526864;
    font-size: 17px;
    line-height: 1.65;
}

.prodomo-berater-area-section.is-open .prodomo-berater-area-content {
    display: block;
}

.prodomo-berater-area-content p {
    margin: 0 0 14px;
}

@media only screen and (max-width: 768px) {
    .prodomo-berater-detail-intro-card {
        grid-template-columns: 1fr;
    }

    .prodomo-berater-detail-intro-content {
        border-radius: 0 0 8px 8px;
        padding: 30px 28px;
    }

    .prodomo-berater-detail-intro-image img {
        height: auto;
        min-height: auto;
    }

    .prodomo-berater-area-content {
        padding: 25px 28px;
    }
}

/* Detail contact block: dedicated detail-page layout, not the overview card. */
.prodomo-berater-detail-contact-block {
    margin: 70px 0;
}

.prodomo-berater-detail-contact-main-title {
    color: #a51a1c;
    margin: 0 0 30px;
}

.prodomo-berater-detail-contact-inner {
    background: #e4efed;
    border-radius: 8px;
    padding: 42px 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
}

.prodomo-berater-detail-contact-inner.has-image {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
}

.prodomo-berater-detail-contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.prodomo-berater-detail-contact-kicker {
    color: #526864;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.prodomo-berater-detail-contact-name {
    color: #a51a1c;
    margin: 0 0 8px;
}

.prodomo-berater-detail-contact-subtitle {
    color: #526864;
    font-size: 17px;
    margin-bottom: 24px;
}

.prodomo-berater-detail-contact-grid {
    display: grid;
    gap: 13px;
    margin-top: 25px;
}

.prodomo-berater-detail-contact-row {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 18px;
    color: #526864;
    font-size: 17px;
    line-height: 1.5;
}

.prodomo-berater-detail-contact-label {
    font-weight: 500;
    color: #354340;
}

.prodomo-berater-detail-contact-value a {
    color: #526864;
    text-decoration: none;
}

.prodomo-berater-detail-contact-value a:hover {
    color: #8ba39f;
}

.prodomo-berater-detail-contact-map-button-wrap {
    margin: 30px 0 0;
}

.prodomo-berater-detail-contact-map-button {
    display: inline-block;
}

@media only screen and (max-width: 768px) {
    .prodomo-berater-detail-contact-inner,
    .prodomo-berater-detail-contact-inner.has-image {
        grid-template-columns: 1fr;
        padding: 30px 28px;
    }

    .prodomo-berater-detail-contact-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Phase 3C settings helper: shared overview intro output */
.prodomo-berater-overview-intro {
    max-width: 1180px;
    margin: 0 auto 50px;
}
.prodomo-berater-overview-intro h2 {
    margin-bottom: 18px;
}
.prodomo-berater-overview-intro-text p:last-child {
    margin-bottom: 0;
}


/* Phase 3E: Elementor-friendly contact atoms matching original QI/Marity widgets. */
.prodomo-berater-detail-contact-oldlike {
    text-align: center;
}

.prodomo-berater-detail-contact-oldlike .prodomo-berater-detail-contact-name {
    margin-bottom: 26px;
}

.prodomo-berater-detail-address-area {
    margin: 0 0 42px;
}

.prodomo-berater-address-line {
    display: inline-block;
    margin: 0 0 8px;
    text-align: left;
}

.prodomo-berater-address-line .qodef-e-title {
    margin: 0;
}

.prodomo-berater-address-line .qodef-e-title-inner {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}

.prodomo-berater-address-line a {
    color: #526864;
    text-decoration: none;
}

.prodomo-berater-address-line a:hover {
    color: #8ba39f;
}

.prodomo-berater-maps-button {
    display: inline-flex;
    margin-top: 6px;
}

.prodomo-berater-contact-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 18px;
    flex-wrap: wrap;
    margin: 24px auto 0;
}

.prodomo-berater-contact-buttons .prodomo-berater-contact-button {
    min-width: 220px;
    justify-content: center;
    text-align: center;
}

.prodomo-berater-contact-buttons .prodomo-berater-contact-button.is-email {
    min-width: 360px;
}

@media only screen and (max-width: 768px) {
    .prodomo-berater-contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .prodomo-berater-contact-buttons .prodomo-berater-contact-button,
    .prodomo-berater-contact-buttons .prodomo-berater-contact-button.is-email {
        min-width: 0;
        width: 100%;
        max-width: 420px;
    }
}

.prodomo-berater-news-button {
    margin: 12px 0;
}

.prodomo-berater-news-button-wrap {
    position: relative;
    display: inline-block;
}

.prodomo-berater-news-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e0b400;
    color: #3a2e00;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 7px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.prodomo-berater-news-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(20, 20, 20, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.prodomo-berater-news-modal {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 640px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.prodomo-berater-news-modal-image-link {
    display: block;
}

.prodomo-berater-news-modal-image {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.prodomo-berater-news-modal-body {
    padding: 28px 32px 32px;
    text-align: center;
}

.prodomo-berater-news-modal-label {
    color: #e0b400;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
    margin: 0 0 8px;
}

.prodomo-berater-news-modal-title {
    margin: 0 0 20px;
    font-size: 26px;
    line-height: 1.3;
}

.prodomo-berater-news-modal-link {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 4px;
    background: #8ba39f;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.prodomo-berater-news-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

.prodomo-berater-news-modal-slide {
    display: none;
}

.prodomo-berater-news-modal-slide.is-active {
    display: block;
}

.prodomo-berater-news-modal-arrow {
    position: absolute;
    top: 160px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.prodomo-berater-news-modal-arrow-prev {
    left: 12px;
}

.prodomo-berater-news-modal-arrow-next {
    right: 12px;
}

.prodomo-berater-news-modal-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    z-index: 1;
}

/*
 * !important throughout: this banner is injected via wp_body_open, ahead of
 * the theme's own header/nav in the DOM, a context whose existing CSS
 * (subtle/transparent link colors etc. by design for a slim utility bar)
 * would otherwise silently override plain-specificity rules here.
 */
.prodomo-berater-news-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: #fff3cd !important;
    border: 1px solid #f0d580 !important;
    border-left: 5px solid #e0b400 !important;
    border-radius: 4px !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 9999 !important;
}

.prodomo-berater-news-banner-text {
    font-size: 15px !important;
    line-height: 1.4 !important;
    color: #6b5300 !important;
}

.prodomo-berater-news-banner-label {
    font-weight: 700 !important;
    margin-right: 6px !important;
    color: #6b5300 !important;
}

.prodomo-berater-news-banner-text a {
    color: #6b5300 !important;
    text-decoration: underline !important;
    opacity: 1 !important;
}

.prodomo-berater-news-banner-close {
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #6b5300 !important;
    padding: 0 4px !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
}

.prodomo-berater-news-archive {
    padding: 40px 20px 60px;
}

.prodomo-berater-news-archive-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.prodomo-berater-news-archive-back {
    margin: 0 0 12px;
}

.prodomo-berater-news-archive-back a {
    color: #8ba39f;
    text-decoration: none;
    font-weight: 600;
}

.prodomo-berater-news-archive-title {
    margin: 0 0 28px;
}

.prodomo-berater-news-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.prodomo-berater-news-archive-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.prodomo-berater-news-archive-card-image {
    display: block;
}

.prodomo-berater-news-archive-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.prodomo-berater-news-archive-card-body {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prodomo-berater-news-archive-card-date {
    font-size: 13px;
    color: #8a8a8a;
}

.prodomo-berater-news-archive-card-title {
    font-size: 18px;
    margin: 6px 0 8px;
}

.prodomo-berater-news-archive-card-title a {
    color: inherit;
    text-decoration: none;
}

.prodomo-berater-news-archive-card-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    flex: 1;
    margin: 0 0 12px;
}

.prodomo-berater-news-archive-card-link {
    color: #8ba39f;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
}

.prodomo-berater-news-archive-pagination {
    margin-top: 36px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.prodomo-berater-news-archive-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
}

.prodomo-berater-news-archive-pagination .page-numbers.current {
    background: #8ba39f;
    border-color: #8ba39f;
    color: #fff;
}


/* Safety net: dynamic hero content should not be hidden by accidentally cloned Elementor mobile/tablet classes. */
@media (max-width: 1024px) {
    .prodomo-berater-hero-title-dynamic,
    .prodomo-berater-hero-text-dynamic,
    .prodomo-berater-image-dynamic {
        display: initial;
        visibility: visible;
    }
}


/* Phase 11e: mobile/tablet safety net for Detail-Einsatzgebiete.
   The area accordion is dynamic Berater content and must stay visible on mobile/tablet,
   even if an Elementor template/container was cloned with responsive hide flags. */
@media (max-width: 1024px) {
    .prodomo-berater-detail-areas,
    .prodomo-berater-detail-areas *,
    .prodomo-berater-area-summary,
    .prodomo-berater-area-sections,
    .prodomo-berater-area-section,
    .prodomo-berater-area-title,
    .prodomo-berater-area-content {
        visibility: visible !important;
    }

    .prodomo-berater-detail-areas,
    .prodomo-berater-area-summary,
    .prodomo-berater-area-section {
        display: block !important;
    }

    .prodomo-berater-area-sections {
        display: flex !important;
        flex-direction: column;
        gap: 14px;
    }

    .prodomo-berater-area-title {
        display: flex !important;
    }

    .prodomo-berater-area-content {
        padding: 24px 26px;
    }

    /* Modern browsers: if Elementor put a responsive-hidden class on the widget/container
       that contains the dynamic area shortcode, force that container visible as well. */
    .elementor-element.elementor-hidden-mobile:has(.prodomo-berater-detail-areas),
    .elementor-element.elementor-hidden-tablet:has(.prodomo-berater-detail-areas),
    .elementor-widget.elementor-hidden-mobile:has(.prodomo-berater-detail-areas),
    .elementor-widget.elementor-hidden-tablet:has(.prodomo-berater-detail-areas) {
        display: block !important;
        visibility: visible !important;
    }
}

/* Phase 11f: keep mobile/tablet accordion behavior intact.
   Visibility is fixed, but accordion contents remain closed until opened. */
@media (max-width: 1024px) {
    .prodomo-berater-area-content {
        display: none !important;
    }

    .prodomo-berater-area-section.is-open .prodomo-berater-area-content {
        display: block !important;
    }

    .prodomo-berater-area-toggle {
        display: inline-block !important;
        visibility: visible !important;
    }
}

/* Kooperationspartner */
.prodomo-berater-partners-heading {
    margin: 40px 0 20px;
}

.prodomo-berater-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin: 30px 0;
}

.prodomo-berater-partners--cards {
    align-items: stretch;
}

.prodomo-berater-partner {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Fixed width AND height (not "auto" on either side) so sizing never
   depends on the browser reading an intrinsic ratio from the image file -
   SVG logos without a width/height on their <svg> root (only a viewBox)
   collapse to 0x0 in some browsers when either dimension is "auto". */
.prodomo-berater-partners--logos .prodomo-berater-partner-logo {
    width: 160px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}

.prodomo-berater-partners--logos_text .prodomo-berater-partner-logo {
    width: 140px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}

.prodomo-berater-partners--cards .prodomo-berater-partner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    background: #f6f7f7;
    border-radius: 4px;
    max-width: 260px;
}

.prodomo-berater-partners--cards .prodomo-berater-partner-logo {
    width: 160px;
    height: 80px;
    object-fit: contain;
    object-position: left center;
}

.prodomo-berater-partner-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.prodomo-berater-partners--cards .prodomo-berater-partner-link {
    flex-direction: column;
    align-items: flex-start;
}

.prodomo-berater-partner-text {
    font-size: 0.9em;
}

/* Kundenstimmen / Testimonials */
.prodomo-berater-testimonials-heading {
    margin: 40px 0 20px;
}

.prodomo-berater-testimonials {
    margin: 0 0 40px;
}

.prodomo-berater-testimonials--cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.prodomo-berater-testimonials--list .prodomo-berater-testimonial {
    border-bottom: 1px solid #dcdcde;
    padding: 16px 0;
}

.prodomo-berater-testimonials--list .prodomo-berater-testimonial:first-child {
    padding-top: 0;
}

.prodomo-berater-testimonials--cards .prodomo-berater-testimonial {
    background: #f6f7f7;
    border-radius: 4px;
    padding: 20px;
}

.prodomo-berater-testimonial-title {
    font-weight: 600;
    margin: 0 0 10px;
}

.prodomo-berater-testimonial-text {
    margin: 0 0 14px;
}

.prodomo-berater-testimonial-author {
    font-weight: 600;
}

.prodomo-berater-testimonial-author-job {
    display: block;
    font-size: 0.85em;
    opacity: 0.75;
}

/* Accordion mode: native <details>/<summary>, no JS needed */
.prodomo-berater-testimonials--accordion .prodomo-berater-testimonial {
    background: #e4efed;
    border-radius: 2px;
    margin: 0 0 12px;
    padding: 0;
}

.prodomo-berater-testimonials--accordion .prodomo-berater-testimonial-title {
    cursor: pointer;
    list-style: none;
    margin: 0;
    padding: 16px 20px;
}

.prodomo-berater-testimonials--accordion .prodomo-berater-testimonial-title::-webkit-details-marker {
    display: none;
}

.prodomo-berater-testimonials--accordion .prodomo-berater-testimonial-title::after {
    content: '+';
    float: right;
}

.prodomo-berater-testimonials--accordion .prodomo-berater-testimonial[open] > .prodomo-berater-testimonial-title::after {
    content: '\2212';
}

.prodomo-berater-testimonials--accordion .prodomo-berater-testimonial-body {
    padding: 0 20px 16px;
}

@media (max-width: 600px) {
    .prodomo-berater-testimonials--cards {
        grid-template-columns: 1fr;
    }
}

/* Slider mode: shared between Partner and Testimonials sliders */
.prodomo-berater-partners--slider,
.prodomo-berater-testimonials--slider {
    position: relative;
    padding: 0 44px;
}

.prodomo-berater-slider-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.prodomo-berater-slider-track::-webkit-scrollbar {
    display: none;
}

.prodomo-berater-partners--slider .prodomo-berater-partner,
.prodomo-berater-testimonials--slider .prodomo-berater-testimonial {
    flex: 0 0 auto;
    width: min(280px, 80vw);
    scroll-snap-align: start;
}

.prodomo-berater-partners--slider .prodomo-berater-partner-logo {
    width: 160px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}

/* Centered slider: one card dominates the view, next/previous cards only
   peek in symmetrically on both sides. Percentage-based widths (not fixed
   px) so the left/right peek is always equal regardless of viewport size.
   Which card is "active" is determined by JS (IntersectionObserver, see
   berater-detail.js) toggling the .is-active class. */
.prodomo-berater-partners--slider_centered,
.prodomo-berater-testimonials--slider_centered {
    position: relative;
    padding: 0 50px;
}

.prodomo-berater-partners--slider_centered .prodomo-berater-slider-track,
.prodomo-berater-testimonials--slider_centered .prodomo-berater-slider-track {
    padding: 0 10%;
    gap: 0;
    align-items: stretch;
}

.prodomo-berater-partners--slider_centered .prodomo-berater-partner,
.prodomo-berater-testimonials--slider_centered .prodomo-berater-testimonial {
    flex: 0 0 80%;
    width: 80%;
    scroll-snap-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    margin: 0 2%;
    padding: 36px 32px;
    background: #f6f7f7;
    border-radius: 8px;
    opacity: 0.35;
    filter: grayscale(85%);
    transition: opacity .35s ease, filter .35s ease;
}

.prodomo-berater-partners--slider_centered .prodomo-berater-partner.is-active,
.prodomo-berater-testimonials--slider_centered .prodomo-berater-testimonial.is-active {
    opacity: 1;
    filter: none;
}

.prodomo-berater-partners--slider_centered .prodomo-berater-partner-logo {
    width: 220px;
    height: 100px;
    object-fit: contain;
    object-position: center;
}

.prodomo-berater-partners--slider_centered .prodomo-berater-partner-link {
    flex-direction: column;
}

.prodomo-berater-partners--slider_centered .prodomo-berater-partner-text {
    font-size: 1.05em;
}

.prodomo-berater-testimonials--slider .prodomo-berater-testimonial {
    width: min(320px, 85vw);
    background: #f6f7f7;
    border-radius: 4px;
    padding: 20px;
}

.prodomo-berater-slider-prev,
.prodomo-berater-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #dcdcde;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 0;
}

.prodomo-berater-slider-prev {
    left: 0;
}

.prodomo-berater-slider-next {
    right: 0;
}

@media (max-width: 480px) {
    .prodomo-berater-partners--slider,
    .prodomo-berater-testimonials--slider,
    .prodomo-berater-partners--slider_centered,
    .prodomo-berater-testimonials--slider_centered {
        padding: 0 36px;
    }
}

/* Section divider: a thin gradient line, matching the site's existing
   Elementor spacer widgets used between other detail-page blocks. Part of
   the shortcode output (not a separate Elementor widget) so it only shows
   up together with actual Partner/Testimonials content, never on its own. */
.prodomo-berater-section-divider {
    height: 2px;
    max-width: 600px;
    margin: 0 auto 40px;
    background: linear-gradient(90deg, #E4EFED 0%, #F0EBD8 100%);
}

/* Footer "24-Stunden-Pflege"/"Pflegekraft" wording disclaimer. Trigger link
   deliberately unstyled beyond a pointer/underline so it blends into
   whatever surrounding footer/copyright text styling already exists. */
/*
 * Fest erzwungene Farbe statt geerbter Theme-Werte: der Link sitzt im
 * dunklen Copyright-Balken, dessen globale a:hover-Regel dort offenbar
 * eine Farbe setzt, die kaum Kontrast zum Hintergrund hat (Link
 * "verschwindet" beim Hover). !important, damit diese generische Regel
 * hier sicher nicht mehr greift, in keinem Link-Zustand.
 */
.prodomo-pflegebegriffe-trigger {
    cursor: pointer;
    text-decoration: underline;
}

/*
 * Grundzustand bewusst unangetastet - erbt die Farbe der umgebenden
 * Copyright-Zeile, passt sich also automatisch an. Nur der Hover-Zustand
 * wird fest auf eine bereits im Projekt verwendete Markenfarbe (Salbei-
 * Grün, siehe z. B. .prodomo-berater-news-modal-link) gesetzt, damit er
 * nicht mehr mit dem dunklen Balken verschmelzen kann.
 */
.prodomo-pflegebegriffe-trigger:hover,
.prodomo-pflegebegriffe-trigger:focus {
    color: #8ba39f !important;
}

.prodomo-pflegebegriffe-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(20, 20, 20, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.prodomo-pflegebegriffe-modal {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 32px 32px 28px;
}

.prodomo-pflegebegriffe-modal-body {
    font-size: 15px;
    line-height: 1.6;
}

.prodomo-pflegebegriffe-modal-body p {
    margin: 0 0 16px;
}

.prodomo-pflegebegriffe-modal-body p:last-child {
    margin-bottom: 0;
}

.prodomo-pflegebegriffe-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

@media only screen and (max-width: 600px) {
    .prodomo-pflegebegriffe-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .prodomo-pflegebegriffe-modal {
        max-width: 100%;
        max-height: 80vh;
        border-radius: 12px 12px 0 0;
        padding: 26px 20px 24px;
    }
}

