/* ============================================
   PR+.css – Kompakt, modern, responsiv
   Header mit länderabhängigen Farben
   16:9 Bilder, scharfe Kanten (border-radius: 0)
   ============================================ */
.pr-plus-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.pr-plus-header {
    border-radius: 1rem 1rem 0 0;
    padding: 0.75rem 1rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
    transition: background 0.3s ease;
    background: linear-gradient(135deg, #0D47A1, #B71C1C, #D32F2F);
}
.pr-plus-header.de {
    background: linear-gradient(135deg, #000000, #DD0000, #FFCC00);
}

.animated-sentences-wrapper {
    text-align: center;
    margin-bottom: 0.75rem;
}
.pr-animated-text {
    position: relative;
    height: 2.2em;
    overflow: hidden;
}
.pr-offer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.6s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.pr-offer.active { opacity: 1; }

.pr-plus-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(0,0,0,0.1);
    padding: 0.5rem 0.8rem;
    border-radius: 3rem;
    margin-bottom: 0.5rem;
}
.pr-plus-plz-search {
    display: flex;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 3rem;
    backdrop-filter: blur(4px);
}
.pr-plus-plz-search input {
    background: transparent;
    border: none;
    color: white;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    outline: none;
    width: 110px;
}
.pr-plus-plz-search input::placeholder { color: rgba(255,255,255,0.7); }
.pr-plus-plz-search button {
    background: rgba(255,255,255,0.25);
    border: none;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
}
.pr-plus-plz-search button:hover { background: rgba(255,255,255,0.4); }

.pr-plus-mode-switch {
    display: flex;
    gap: 0.25rem;
    background: rgba(0,0,0,0.3);
    border-radius: 3rem;
    padding: 0.2rem;
}
.pr-plus-mode-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 3rem;
    font-weight: 600;
    cursor: pointer;
}
.pr-plus-mode-btn.active {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.pr-plus-mode-btn:hover { background: rgba(255,255,255,0.15); }

.pr-plus-country-switch {
    display: flex;
    gap: 0.5rem;
}
.pr-plus-country-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pr-plus-country-btn.active {
    border-color: #ffd700;
    background: rgba(255,255,255,0.6);
}

.pr-plus-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0,0,0,0.2);
    padding: 0.2rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    white-space: nowrap;
}
.pr-plus-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.current-region-display {
    background: rgba(255,255,255,0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
}

.pr-plus-main-categories,
.pr-plus-sub-categories {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: thin;
}
.category-thumb, .subcategory-thumb {
    text-align: center;
    cursor: pointer;
    flex-shrink: 0;
}
.category-thumb { transition: transform 0.2s; }
.category-thumb:hover { transform: translateY(-5px); }
.category-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.5);
    margin-bottom: 0.3rem;
}
.category-thumb.active .category-image {
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255,215,0,0.5);
}
.category-thumb span {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
}
.subcategory-thumb {
    background: rgba(0,0,0,0.5);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    white-space: nowrap;
}
.subcategory-thumb:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.02);
}

.pr-plus-featured-container {
    background: white;
    border-radius: 1rem;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.pr-plus-featured-card {
    display: flex;
    flex-direction: row;
    min-height: 320px;
}
.pr-plus-featured-card > div:first-child {
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}
.pr-plus-featured-card.fade-out {
    opacity: 0;
    transform: translateX(8px);
    transition: 0.25s;
}
.pr-plus-featured-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}
.pr-plus-featured-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8fafc;
    overflow-x: auto;
}
.thumb-item {
    width: 80px;
    height: 60px;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}
.thumb-item.active {
    border-color: #10b981;
    transform: scale(1.02);
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pr-plus-category-rows {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.category-row {
    scroll-margin-top: 80px;
}
.category-row h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.carousel-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
}
.service-card, .product-card {
    flex: 0 0 260px;
    background: white;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: 0.2s;
}
.service-card:hover, .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.employee-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
}
.product-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
}
.service-info, .product-info {
    padding: 1rem;
    text-align: center;
}
.service-card button, .product-card button,
.book-service-btn, .cart-product-btn {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    margin-top: 0.75rem;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
}
.book-service-btn:hover { background: #059669; }
.payment-icons i {
    margin: 0 2px;
    font-size: 0.9rem;
    color: #4b5563;
}

.loading-placeholder, .initial-message, .no-results, .empty-state {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 1rem;
    margin: 1rem 0;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #10b981;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.initial-message i, .no-results i, .empty-state-icon {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
}
.initial-message h3, .no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}
.error-state {
    text-align: center;
    padding: 2rem;
    color: #dc2626;
}
.global-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.error-message {
    text-align: center;
    color: #dc2626;
    padding: 1rem;
}
.retry-btn {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 2rem;
    padding: 0.3rem 1rem;
    margin-left: 0.5rem;
    cursor: pointer;
}

.no-providers-region {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin: 2rem 0;
}
.no-providers-region .no-providers-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.no-providers-region h3 {
    font-size: 1.6rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}
.no-providers-region p {
    color: #475569;
    margin-bottom: 1.5rem;
}
.no-providers-region .retry-btn {
    background: #10b981;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .pr-plus-wrapper { padding: 0.5rem; }
    .pr-plus-header { padding: 0.5rem; }
    .pr-offer { font-size: 0.85rem; }
    .pr-plus-controls {
        flex-direction: column;
        align-items: stretch;
        border-radius: 1.5rem;
        gap: 0.5rem;
    }
    .pr-plus-plz-search,
    .pr-plus-mode-switch,
    .pr-plus-country-switch,
    .pr-plus-info {
        justify-content: center;
    }
    .pr-plus-info {
        white-space: normal;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .pr-plus-featured-card { flex-direction: column; min-height: auto; }
    .pr-plus-featured-card > div:first-child { min-height: 200px; background-size: cover; }
    .service-card, .product-card { flex: 0 0 220px; }
    .employee-img { width: 100%; }
    .product-img { width: 100%; }
    .initial-message h3, .no-results h3 { font-size: 1.2rem; }
}
@media (max-width: 480px) {
    .service-card, .product-card { flex: 0 0 180px; }
    .category-image { width: 44px; height: 44px; }
    .pr-plus-plz-search input { width: 90px; }
}

.plz-hint-message, .no-provider-card {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 1rem;
    margin: 1rem 0;
}
.plz-hint-message i, .no-provider-card i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
}
.plz-hint-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}
.no-provider-card {
    flex: 0 0 280px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}
.no-provider-card p {
    color: #991b1b;
    font-weight: 500;
}
.no-provider-card small {
    display: block;
    margin-top: 0.5rem;
    color: #6b7280;
}