/* opg-list.css - Spezifisches CSS für OPG-Liste */

/* Body Styling mit Beige-Gradient */
.opg-list-page {
    background: linear-gradient(135deg, #F9EAD3 0%, #FFFBF5 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #3A3A2E;
}

/* Container Anpassungen */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Anpassungen */
.main-header {
    background: white;
    box-shadow: 0 2px 15px rgba(58, 58, 46, 0.08);
    padding: 15px 0;
    position: relative;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 15px;
    border-bottom: 1px solid #E7E7E0;
}

.logo-container {
    flex: 1;
}

.logo img {
    height: 40px;
    width: auto;
}

.language-selector select {
    padding: 8px 15px;
    border: 1px solid #D9C8A9;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #3A3A2E;
    cursor: pointer;
    transition: all 0.3s;
}

.language-selector select:hover {
    border-color: #C5B597;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 20px;
    background: #FFFBF5;
}

.nav-link {
    text-decoration: none;
    color: #7A7565;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.nav-link:hover {
    background: #F9EAD3;
    color: #5D5A4C;
}

.nav-link.active {
    background: #E7A800;
    color: white;
}

.nav-link.active:hover {
    background: #D69A00;
}

/* Seiten-Header */
.page-header.opg-header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
    color: white;
    border-radius: 15px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.page-header.opg-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" opacity="0.1"><path d="M0,50 Q25,30 50,50 T100,50 L100,100 L0,100 Z" fill="white"/></svg>');
    background-size: cover;
}

.page-header.opg-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-header.opg-header .subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Aktive Kategorie Info */
.current-category-info {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border: 1px solid #81C784;
    border-radius: 12px;
    margin: 30px 0;
    padding: 20px;
    position: relative;
}

.category-info-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-icon {
    background: #4CAF50;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-details {
    flex: 1;
}

.category-details h3 {
    margin: 0 0 5px 0;
    color: #2E7D32;
}

.category-details p {
    margin: 0;
    color: #555;
}

.btn-clear-category {
    background: #DC3545;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-clear-category:hover {
    background: #C82333;
}

/* Kategorien Abschnitt */
.category-section {
    margin: 40px 0;
}

.section-title {
    color: #3A3A2E;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.category-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid #E7E7E0;
    border-radius: 25px;
    color: #5D5A4C;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-weight: 500;
}

.category-btn:hover {
    background: #F9EAD3;
    border-color: #D9C8A9;
    transform: translateY(-2px);
}

.category-btn.active {
    background: #2E8B57;
    color: white;
    border-color: #2E8B57;
}

/* Featured Section */
.featured-section {
    margin: 50px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    color: #3A3A2E;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-count {
    background: #E7A800;
    color: #3A3A2E;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.featured-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(58, 58, 46, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(58, 58, 46, 0.15);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #E7A800;
    color: #3A3A2E;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-title {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.card-title a {
    color: #3A3A2E;
    text-decoration: none;
    transition: color 0.3s;
}

.card-title a:hover {
    color: #2E8B57;
}

.card-meta {
    display: flex;
    gap: 15px;
    color: #7A7565;
    font-size: 14px;
    margin-bottom: 15px;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.product-tag {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.more-tag {
    background: #F9EAD3;
    color: #7A7565;
}

.card-description {
    color: #5D5A4C;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-actions {
    text-align: center;
}

.btn-view {
    display: inline-block;
    background: #2E8B57;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view:hover {
    background: #257348;
}

/* Suchfilter */
.search-filters {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(58, 58, 46, 0.08);
}

.filter-header {
    margin-bottom: 25px;
}

.filter-header h3 {
    color: #3A3A2E;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #5D5A4C;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input-group {
    position: relative;
}

.search-input-group .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7A7565;
}

.search-input-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #D9C8A9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-input-group input:focus {
    border-color: #2E8B57;
    outline: none;
}

.search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7A7565;
    cursor: pointer;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D9C8A9;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    color: #3A3A2E;
    cursor: pointer;
    transition: border-color 0.3s;
}

.form-select:focus {
    border-color: #2E8B57;
    outline: none;
}

.filter-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-search {
    background: #2E8B57;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-search:hover {
    background: #257348;
}

.btn-reset {
    background: #6c757d;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-reset:hover {
    background: #545b62;
}

/* Aktive Filter */
.active-filters {
    background: #E3F2FD;
    border: 1px solid #90CAF9;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}

.active-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.active-filters-header h4 {
    margin: 0;
    color: #1565C0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clear-all-link {
    color: #DC3545;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    background: white;
    border: 1px solid #BBDEFB;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.remove-filter {
    color: #DC3545;
    text-decoration: none;
    font-size: 12px;
    margin-left: 5px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.remove-filter:hover {
    opacity: 1;
}

/* Ergebnisse Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(58, 58, 46, 0.05);
}

.results-count {
    color: #5D5A4C;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-count strong {
    color: #3A3A2E;
    font-size: 18px;
}

.pagination-summary {
    color: #7A7565;
    font-size: 14px;
}

/* Keine Ergebnisse */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(58, 58, 46, 0.08);
    margin: 40px 0;
}

.no-results-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-results i {
    color: #D9C8A9;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #3A3A2E;
    margin-bottom: 15px;
}

.no-results p {
    color: #7A7565;
    margin-bottom: 30px;
}

.no-results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    background: #2E8B57;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: #257348;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #545b62;
}

/* OPG Grid */
.opg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.opg-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(58, 58, 46, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.opg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(58, 58, 46, 0.15);
}

.opg-card.featured {
    border: 3px solid #E7A800;
}

.opg-featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #E7A800;
    color: #3A3A2E;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.opg-image {
    height: 200px;
    overflow: hidden;
}

.opg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.opg-card:hover .opg-image img {
    transform: scale(1.05);
}

.opg-content {
    padding: 25px;
}

.opg-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.opg-title {
    margin: 0;
    font-size: 20px;
    flex: 1;
}

.opg-title a {
    color: #3A3A2E;
    text-decoration: none;
    transition: color 0.3s;
}

.opg-title a:hover {
    color: #2E8B57;
}

.opg-rating {
    background: #FFD700;
    color: #3A3A2E;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.opg-meta {
    margin-bottom: 15px;
}

.opg-location,
.opg-address,
.opg-phone {
    color: #7A7565;
    font-size: 14px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.opg-categories {
    margin-bottom: 15px;
}

.categories-label {
    color: #5D5A4C;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.categories-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    background: #F3E5AB;
    color: #5D5A4C;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.opg-description {
    color: #5D5A4C;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.opg-actions {
    display: flex;
    gap: 10px;
}

.btn-view-details {
    flex: 1;
    background: #2E8B57;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view-details:hover {
    background: #257348;
}

.btn-website {
    flex: 1;
    background: #6c757d;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-website:hover {
    background: #545b62;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(58, 58, 46, 0.05);
}

.page-link {
    padding: 12px 20px;
    border: 1px solid #D9C8A9;
    background: white;
    color: #2E8B57;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-link:hover:not(.disabled) {
    background: #F9EAD3;
    border-color: #C5B597;
}

.page-link.disabled {
    color: #B8B2A1;
    cursor: not-allowed;
    background: #F9F9F9;
}

.page-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-number {
    padding: 8px 15px;
    border: 1px solid #D9C8A9;
    background: white;
    color: #5D5A4C;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
}

.page-number:hover {
    background: #F9EAD3;
}

.page-number.active {
    background: #2E8B57;
    color: white;
    border-color: #2E8B57;
}

.page-dots {
    color: #7A7565;
    padding: 0 5px;
}

/* Footer Navigation */
.footer-nav {
    background: white;
    border-top: 2px solid #F9EAD3;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -2px 15px rgba(58, 58, 46, 0.1);
}

.footer-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-nav-item {
    flex: 1;
    text-align: center;
}

.footer-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #7A7565;
    padding: 8px 5px;
    border-radius: 8px;
    transition: all 0.3s;
}

.footer-nav-link i {
    font-size: 20px;
    margin-bottom: 5px;
}

.footer-nav-text {
    font-size: 12px;
    font-weight: 500;
}

.footer-nav-link:hover {
    background: #F9EAD3;
    color: #5D5A4C;
}

.footer-nav-link.active {
    color: #2E8B57;
    font-weight: bold;
}

.footer-nav-link.active i {
    color: #2E8B57;
}

.footer-nav-highlight .footer-nav-link-highlight {
    background: #E7A800;
    color: #3A3A2E;
    padding: 8px 10px;
    border-radius: 12px;
}

.footer-nav-highlight .footer-nav-link-highlight:hover {
    background: #D69A00;
}

.price-badge {
    background: #2E8B57;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .page-header.opg-header {
        padding: 40px 20px;
    }
    
    .page-header.opg-header h1 {
        font-size: 28px;
    }
    
    .category-info-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .featured-grid,
    .opg-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .btn-search,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .no-results-actions {
        flex-direction: column;
    }
    
    .opg-actions {
        flex-direction: column;
    }
    
    .footer-nav-text {
        font-size: 10px;
    }
    
    .footer-nav-link i {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .category-buttons {
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-btn {
        white-space: nowrap;
    }
    
    .footer-nav-items {
        padding: 0 5px;
    }
    
    .footer-nav-link {
        padding: 8px 3px;
    }
    
    .footer-nav-text {
        font-size: 9px;
    }
}

/* Animationen */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.featured-card,
.opg-card {
    animation: fadeIn 0.5s ease-out;
}