/* Weight Doctors CSS Variables */
:root {
    --wd-primary: #74276C;
    --wd-logo: #4214A4;
    --wd-dark: #3B1236;
    --wd-light: #C1B2D2;
    --wd-gray-1: #777777;
    --wd-gray-2: #5B5B5B;
    --wd-gray-3: #605869;
    --wd-verified: #7a9c59;
    --wd-stars: #fbbf24;
    --wd-background: #ffffff;
    --wd-border: #e2e8f0;
    --wd-text-muted: #94a3b8;
}

/* Neue Farbschema-Vorschauen */
.color-scheme-preview.orange {
    --primary: #dc7831;
    --secondary: #f59e0b;
    --accent: #fb923c;
    --border: #fed7aa;
}

.color-scheme-preview.green {
    --primary: #038466;
    --secondary: #10b981;
    --accent: #34d399;
    --border: #a7f3d0;
}

/* ========================================
   BASE WIDGET STYLES
   ======================================== */

.cgce-provenexpert-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 20px 0;
    line-height: 1.4;
}

/* ========================================
   KOMPAKT WIDGET - MIT LOGO & STRICH
   ======================================== */

/* Durchgehender Strich über komplette Bildschirmbreite */
.provenexpert-widget-multilingual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: var(--wd-border);
    z-index: 1;
}

.provenexpert-widget-multilingual {
    background: var(--wd-background);
    overflow: hidden;
    margin: 0 auto 20px;
    position: relative;
}

.pe-link {
    text-decoration: none;
    color: inherit;
    display: block;
    outline: none;
}

.pe-link:focus {
    outline: 2px solid var(--wd-primary);
    outline-offset: 2px;
    border-radius: 8px;
}

.pe-compact-content {
    padding: 0;
}

.cgce-footer-member {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.pe-member-row {
    text-align: center;
    margin: 12px 0 16px 0;
}

.pe-member-text {
    font-size: 15px;
    color: var(--wd-gray-2);
    font-weight: 500;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
    color: #888;
    letter-spacing: 0.5px;
}

.cgce-grid-review-member {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.5px;
    margin-top: 2px;
    margin-bottom: 5px;
}

/* Logo Section oben */
.pe-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 28px;
    background: var(--wd-background);
    border-bottom: 1px solid var(--wd-border);
}

.pe-logo-section img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* Content nach Logo */
.pe-content-section {
    padding: 28px;
}

/* Company Header - clean ohne Linie */
.pe-company-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.pe-company {
    font-size: 19px;
    font-weight: 600;
    color: var(--wd-dark);
    letter-spacing: -0.01em;

}

/* ========================================
   VERIFIZIERT BADGE - STANDARD GRÜN
   ======================================== */

.cgce-verified-badge {
    display: inline-flex;
    align-items: center;
    background: var(--wd-verified);
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 20px;
}

.cgce-verified-icon {
    width: 12px;
    height: 12px;
    margin-right: 4px;
}

.cgce-verified-text {
    font-size: 11px;
    font-weight: 600;
}

/* Badge für Grid Reviews */
.cgce-grid-verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wd-verified);
    color: white;
    padding: 5px;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    z-index: 5;
}

.cgce-grid-verified-icon {
    width: 12px;
    height: 12px;
}

/* Badge für Slider Reviews */
.cgce-slider-verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wd-verified);
    color: white;
    padding: 6px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    z-index: 5;
}

.cgce-slider-verified-icon {
    width: 12px;
    height: 12px;
}

/* ========================================
   RATING SECTION - CLEAN OHNE LINIEN
   ======================================== */

.pe-stars-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
    min-height: 24px;
}

.pe-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.pe-star {
    width: 20px;
    height: 20px;
    color: var(--wd-stars);
}

.update-indicator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid var(--wd-border);
    border-top: 2px solid var(--wd-primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.update-indicator.updating {
    opacity: 1;
    animation: cgce-spin 1s linear infinite;
}

@keyframes cgce-spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.pe-count-row {
    text-align: center;
    margin-bottom: 16px;
}

.pe-count {
    font-size: 15px;
    color: var(--wd-gray-2);
    font-weight: 500;
}

.pe-count .review-count-number {
    color: var(--wd-primary);
    font-weight: 600;
    font-size: 16px;
}

.pe-description-row {
    text-align: center;
}

.pe-description {
    font-size: 14px;
    color: var(--wd-gray-2);
    line-height: 1.5;
}

.pe-highlight {
    color: var(--wd-primary);
    font-weight: 500;
}

/* ========================================
   REVIEWS SLIDER - FLACH MIT LINIEN
   ======================================== */

.cgce-reviews-slider-container {
    background: transparent;
    padding: 0;
    position: relative;
    width: 100vw;
    max-width: none;
    margin: 20px calc(50% - 50vw) 0;
    overflow: hidden;
}

.cgce-reviews-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--wd-dark); 
    margin-bottom: 30px;
    text-align: center;
    padding: 0 20px;
    letter-spacing: -0.01em;
}

.cgce-slider-wrapper {
    position: relative;
    overflow: visible;
    margin-bottom: 20px;
    padding: 0 20px;
}

.cgce-reviews-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    gap: 20px;
    padding: 0 40px;
    margin: 0 -40px;
}

.cgce-review-card {
    flex: 0 0 calc(20% - 16px);
    background: var(--wd-background);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    max-height: none;
    max-width: 100%;
    width: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid var(--wd-border);
}

.cgce-review-card:focus {
    outline: 2px solid var(--wd-primary);
    outline-offset: 2px;
}

.cgce-review-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-shrink: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--wd-border);
}

.cgce-review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--wd-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.cgce-review-info {
    flex-grow: 1;
    min-width: 0;
}

.cgce-review-stars {
    margin-bottom: 6px;
    line-height: 1;
    display: flex;
    gap: 1px;
}

.cgce-review-star {
    width: 14px;
    height: 14px;
    color: var(--wd-stars);
}

.cgce-review-author {
    font-size: 15px;
    color: var(--wd-dark);
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.cgce-review-date {
    font-size: 12px;
    color: var(--wd-text-muted);
    font-weight: 500;
}

.cgce-review-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--wd-gray-2);
    flex-grow: 1;
    margin-top: 6px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

/* Navigation */
.cgce-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 16px;
    padding: 0 20px;
}

.cgce-nav-dots {
    display: flex;
    gap: 8px;
}

.cgce-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--wd-border);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.cgce-nav-dot:hover {
    background: var(--wd-light);
}

.cgce-nav-dot.active {
    background: var(--wd-primary);
}

.cgce-nav-dot:focus {
    outline: 2px solid var(--wd-primary);
    outline-offset: 2px;
}

/* ========================================
   MASONRY GRID WIDGET - FLACH MIT LINIEN
   ======================================== */

.cgce-reviews-grid-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 40px 0;
    padding: 0;
}

.cgce-grid-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--wd-border);
}

.cgce-grid-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--wd-dark);
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cgce-grid-company {
    font-size: 18px;
    color: var(--wd-primary);
    font-weight: 600;
    margin: 0;
}

/* MASONRY DESIGN */
.cgce-grid-container {
    display: block;
    margin-bottom: 40px;
    position: relative;
}

/* Masonry Columns */
.cgce-grid-container[data-columns="2"] {
    column-count: 2;
    column-gap: 20px;
}

.cgce-grid-container[data-columns="3"] {
    column-count: 3;
    column-gap: 20px;
}

.cgce-grid-container[data-columns="4"] {
    column-count: 4;
    column-gap: 20px;
}

.cgce-grid-container[data-columns="5"] {
    column-count: 5;
    column-gap: 20px;
}

.cgce-grid-container[data-columns="auto"] {
    column-count: auto;
    column-width: 280px;
    column-gap: 20px;
}

.cgce-grid-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--wd-text-muted);
    width: 100%;
}

.cgce-grid-loading .cgce-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--wd-border);
    border-top: 3px solid var(--wd-primary);
    border-radius: 50%;
    animation: cgce-spin 1s linear infinite;
    margin: 0 auto 16px;
}

/* MASONRY REVIEW CARDS */
.cgce-grid-review-card {
    background: var(--wd-background);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--wd-border);
    cursor: pointer;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    break-inside: avoid;
    page-break-inside: avoid;
    min-height: 180px;
}

/* Künstliche Höhenvariation für natürlicheres Layout */
.cgce-grid-review-card:nth-child(3n+1) {
    min-height: 200px;
}

.cgce-grid-review-card:nth-child(4n+1) {
    min-height: 220px;
}

.cgce-grid-review-card:nth-child(5n+1) {
    min-height: 190px;
}

.cgce-grid-review-card:nth-child(7n+1) {
    min-height: 240px;
}

.cgce-grid-review-card:nth-child(8n+1) {
    min-height: 210px;
}

.cgce-grid-review-card:focus {
    outline: 2px solid var(--wd-primary);
    outline-offset: 2px;
}

.cgce-grid-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--wd-border);
}

.cgce-grid-review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--wd-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin-right: 16px;
    flex-shrink: 0;
}

/* Logo Avatar für Summary Card */
.cgce-logo-avatar {
    background: transparent !important;
    padding: 0;
    overflow: hidden;
    border-radius: unset;
}

.cgce-summary-card .cgce-grid-review-author {
    font-weight: 700 !important;
}

.cgce-summary-card .cgce-grid-review-date .review-count-number {
    color: var(--cgce-primary-color, #74276c) !important;
    font-weight: 700 !important;
}

/* Erweiterter Badge für Summary Card */
.cgce-summary-verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    background: var(--wd-verified);
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    gap: 4px;
    width: auto !important;
    height: auto !important;
}

.cgce-summary-verified-text {
    font-size: 11px;
    line-height: 1;
}

.cgce-summary-verified-badge .cgce-grid-verified-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.cgce-summary-card .cgce-grid-review-date {
    font-weight: 700 !important;
}

.cgce-summary-card .cgce-grid-review-text {
    font-weight: 400 !important;
    color: var(--wd-gray-2) !important;
}

.cgce-grid-review-info {
    flex-grow: 1;
    min-width: 0;
}

.cgce-grid-review-stars {
    margin-bottom: 6px;
    display: flex;
    gap: 2px;
}

.cgce-grid-review-star {
    width: 16px;
    height: 16px;
    color: var(--wd-stars);
}

.cgce-grid-review-author {
    font-size: 16px;
    color: var(--wd-dark);
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cgce-grid-review-date {
    font-size: 13px;
    color: var(--wd-text-muted);
    font-weight: 500;
}

.cgce-grid-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--wd-gray-2);
    white-space: normal;
    word-wrap: break-word;
}

.cgce-grid-review-language {
    position: absolute;
    top: 12px;
    right: 28px;
    background: var(--wd-primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    opacity: 0.8;
}

.cgce-grid-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid var(--wd-border);
}

.cgce-grid-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wd-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.cgce-grid-link:hover {
    box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2);
    color: white;
    text-decoration: none;
}

/* ========================================
   LOADING & ERROR STATES
   ======================================== */

.cgce-loading {
    text-align: center;
    padding: 30px;
    color: var(--wd-text-muted);
}

.cgce-loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--wd-border);
    border-top: 2px solid var(--wd-primary);
    border-radius: 50%;
    animation: cgce-spin 1s linear infinite;
    margin: 0 auto 12px;
}

.cgce-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin: 16px 0;
    font-weight: 500;
}

.cgce-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin: 16px 0;
    font-weight: 500;
}

/* ========================================
   CGCE GROUP SECTION
   ======================================== */

.cgce-group-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--wd-border);
    text-align: center;
}

.cgce-group-header {
    margin-bottom: 20px;
}

.cgce-proud-member {
    font-size: 18px;
    font-weight: 700;
    color: var(--wd-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cgce-group-stats {
    margin-bottom: 20px;
}

.cgce-review-count {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.cgce-count-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--wd-primary);
}

.cgce-count-text {
    font-size: 16px;
    color: var(--wd-gray-2);
}

.cgce-group-description {
    margin-bottom: 20px;
}

.cgce-group-description p {
    font-size: 15px;
    color: var(--wd-gray-1);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 600px;
}

.cgce-group-link {
    margin-top: 20px;
}

.cgce-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--wd-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cgce-view-all-link:hover {
    color: var(--wd-primary-hover);
    gap: 8px;
}

/* ========================================
   FOOTER WIDGET SPEZIFISCHE STYLES
   ======================================== */

/* Weißer Verified Badge für Footer */
.cgce-provenexpert-widget.footer .cgce-verified-badge-white {
    display: inline-flex;
    align-items: center;
    background: var(--wd-verified);
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    margin-left: 12px;
    gap: 4px;
}

.cgce-provenexpert-widget.footer .cgce-verified-badge-white .cgce-verified-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--wd-verified); 
}

.cgce-provenexpert-widget.footer .cgce-verified-badge-white .cgce-verified-text {
    color: white;
    font-weight: 700;
}

/* Company Row */
.cgce-provenexpert-widget.footer .pe-company-row {
    gap: 8px;
    margin-bottom: 12px;
}

.cgce-provenexpert-widget.footer .pe-company {
    font-size: 20px;
    color: var(--wd-dark, #3B1236);
    font-weight: 700;
}

/* Stars Row - ohne Rating-Zahl */
.cgce-provenexpert-widget.footer .pe-stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    justify-content: center;
}

.cgce-provenexpert-widget.footer .pe-stars {
    color: var(--wd-stars, #fbbf24);
    font-size: 18px;
}

/* Count Row */
.cgce-provenexpert-widget.footer .pe-count-row {
    margin-bottom: 12px;
}

.cgce-provenexpert-widget.footer .pe-count {
    font-size: 16px;
    color: var(--wd-dark, #3B1236);
}

.cgce-provenexpert-widget.footer .review-count-number {
    font-weight: 700;
}

/* Description */
.cgce-provenexpert-widget.footer .pe-description {
    font-size: 15px;
    color: var(--wd-gray-1, #777777);
    line-height: 1.5;
    margin-top: 8px;
}

/* Lila Text für "Patienten der Weight Doctors®" */
.cgce-purple-text {
    color: var(--wd-primary, #74276C) !important;
    font-weight: 700;
}

/* Update Indicator für Footer */
.cgce-provenexpert-widget.footer .cgce-update-indicator {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    /* MOBILE FIX: Nur eine Review anzeigen */
    .cgce-reviews-slider {
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 0 10px 0 !important;
        transform: none !important;
        justify-content: center !important;
    }
    
    .cgce-review-card {
        flex: 0 0 calc(100% - 20px) !important;
        min-height: 160px;
        max-height: none;
        padding: 16px;
        margin: 0 auto !important;
        max-width: 100% !important;
        width: calc(100% - 40px);
    }
    
    .cgce-review-card:not(.mobile-active) {
        display: none !important;
    }
    
    .update-indicator {
        right: 10px !important;
        top: 10px !important;
        transform: none !important;
        width: 12px;
        height: 12px;
        z-index: 10;
    }
    
    .pe-stars-row {
        position: relative;
        min-height: 24px;
        justify-content: center;
    }

    .cgce-slider-wrapper {
        padding: 0 10px;
        overflow: hidden !important;
    }

    .cgce-review-avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
        margin-right: 10px;
    }

    .cgce-review-text {
        font-size: 12px;
        -webkit-line-clamp: 5;
    }

    .cgce-reviews-title {
        font-size: 20px;
        margin-bottom: 20px;
        padding: 0 20px;
    }

    .pe-company {
        font-size: 16px;
    }

    .pe-star {
        width: 18px;
        height: 18px;
    }

    .pe-compact-content {
        padding: 20px;
    }

    .provenexpert-widget-multilingual {
        max-width: 100%;
        margin: 0 0 16px;
    }

    /* MASONRY MOBILE */
    .cgce-grid-container[data-columns="2"],
    .cgce-grid-container[data-columns="3"],
    .cgce-grid-container[data-columns="4"],
    .cgce-grid-container[data-columns="5"],
    .cgce-grid-container[data-columns="auto"] {
        column-count: 1 !important;
        column-gap: 0;
    }
    
    .cgce-grid-review-card {
        margin-bottom: 16px;
        padding: 20px;
        min-height: 160px !important;
    }
    
    .cgce-grid-title {
        font-size: 24px;
    }
    
    .cgce-grid-review-avatar {
        width: 44px;
        height: 44px;
        font-size: 16px;
        margin-right: 12px;
    }

    .cgce-grid-verified-badge {
        width: 20px;
        height: 20px;
        padding: 4px;
    }
    
    .cgce-slider-verified-badge {
        width: 22px;
        height: 22px;
        padding: 5px;
    }
    
    .cgce-grid-verified-icon,
    .cgce-slider-verified-icon {
        width: 10px;
        height: 10px;
    }
    
    /* Group Section Mobile */
    .cgce-group-section {
        margin-top: 30px;
        padding-top: 30px;
    }
    
    .cgce-proud-member {
        font-size: 16px;
    }
    
    .cgce-count-number {
        font-size: 24px;
    }
    
    .cgce-count-text {
        font-size: 14px;
    }
    
    .cgce-group-description p {
        font-size: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cgce-review-card {
        flex: 0 0 calc(33.333% - 14px);
        max-width: 100%;
        width: 100%;
    }
    
    .cgce-reviews-title {
        font-size: 21px;
    }

    /* MASONRY TABLET */
    .cgce-grid-container[data-columns="4"],
    .cgce-grid-container[data-columns="5"] {
        column-count: 3;
    }
    
    .cgce-grid-container[data-columns="auto"] {
        column-width: 250px;
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .cgce-review-card {
        flex: 0 0 calc(25% - 15px);
        max-width: 100%;
        width: 100%;
    }

    /* MASONRY DESKTOP */
    .cgce-grid-container[data-columns="5"] {
        column-count: 4;
    }
}

@media (min-width: 1401px) {
    .cgce-review-card {
        flex: 0 0 calc(20% - 16px);
        max-width: 100%;
        width: 100%;
    }
    
    .cgce-reviews-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
}

/* Fallback für Browser ohne CSS Columns Support */
@supports not (column-count: 1) {
    .cgce-grid-container {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .cgce-grid-review-card {
        display: block;
        width: auto;
    }
}

/* ========================================
   NEUES FOOTER WIDGET LAYOUT
   ======================================== */

/* Top Section - Lokale Bewertungen */
.cgce-widget-top-section {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px 8px 0 0;
}

.cgce-widget-top-section a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cgce-local-count {
    margin-bottom: 10px;
}

.cgce-count-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--wd-primary, #74276C);
    display: block;
}

.cgce-count-text {
    font-size: 16px;
    color: #666;
}

.cgce-scroll-hint {
    margin-top: 10px;
    color: var(--wd-primary, #74276C);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Bottom Section - CGCE Group Info */
.cgce-widget-bottom-section {
    padding: 20px;
    background: white;
    border-radius: 0 0 8px 8px;
}

.cgce-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 20px 0;
}

.cgce-group-info {
    text-align: center;
}

.cgce-proud-member {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cgce-total-reviews {
    margin-bottom: 15px;
}

.cgce-total-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--wd-primary, #74276C);
    display: inline-block;
    margin-right: 5px;
}

.cgce-total-text {
    font-size: 14px;
    color: #666;
}

.cgce-read-more {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cgce-read-more strong {
    color: var(--wd-primary, #74276C);
    font-weight: 600;
}

.cgce-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wd-primary, #74276C);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cgce-cta-button:hover {
    background: var(--wd-primary-hover, #5a1e54);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(116, 39, 108, 0.3);
}

.cgce-reviews-container {
    margin-top: 30px;
    min-height: 300px;
}