/* Anbieter Page Styles */

/* Page Hero */
.page-hero {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, var(--background) 0%, #1e293b 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Providers Section */
.providers-section {
    padding: 4rem 0 8rem;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-label {
    color: var(--text-muted);
    font-weight: 500;
}

.filter-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Providers Grid */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Provider Card */
.provider-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.provider-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-link {
    display: block;
    color: inherit;
}

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

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

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

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-content {
    padding: 1.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.provider-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: white;
    border-radius: 10px;
    padding: 5px;
}

.placeholder-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.card-header h2 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.card-header .location {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.card-meta .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.card-meta .reviews {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* More Providers Section */
.more-providers {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.more-providers h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.simple-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.simple-provider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition);
}

.simple-provider:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateX(5px);
}

.simple-provider span:first-child {
    font-weight: 600;
}

.location-small {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Active Nav Link */
.nav-links a.active {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-bar {
        justify-content: center;
    }
}

/* ==================== */
/* DETAIL PAGE STYLES   */
/* ==================== */

.detail-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.detail-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.3) 100%);
    z-index: -1;
}

.detail-hero-content {
    padding-bottom: 3rem;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.detail-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: white;
    border-radius: 16px;
    padding: 10px;
}

.detail-logo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #1d4ed8));
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    padding: 0;
}

.detail-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.detail-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-top: 1rem;
}

.detail-rating .stars {
    color: #fbbf24;
}

/* Detail Content */
.detail-content {
    padding: 4rem 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.detail-main h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.detail-main h2:first-child {
    margin-top: 0;
}

.detail-main p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.detail-main ul {
    list-style: none;
    margin: 1.5rem 0;
}

.detail-main ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
}

.detail-main ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Sidebar */
.detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.price-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-display .from {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price-display .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 24px;
    text-align: center;
}

.sidebar-card .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    padding-top: 5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

/* Flight Options */
.flight-options {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.flight-option {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.flight-option:hover {
    border-color: var(--primary);
}

.flight-option-info h4 {
    margin-bottom: 0.25rem;
}

.flight-option-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.flight-option-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 968px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        position: static;
    }
    
    .detail-header h1 {
        font-size: 1.75rem;
    }
}

/* ==================== */
/* FAQ ACCORDION        */
/* ==================== */

.faq-section {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 1000px;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-answer-inner p {
    margin-bottom: 1rem;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer-inner li {
    margin-bottom: 0.5rem;
}

/* ==================== */
/* DEEP INFO SECTION    */
/* ==================== */

.deep-info-section {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.deep-info-toggle {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2rem;
    display: block;
}

.deep-info-toggle summary {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    list-style: none;
}

.deep-info-toggle summary::-webkit-details-marker {
    display: none;
}

.deep-info-toggle summary::before {
    content: "📖";
}

.deep-info-toggle summary::after {
    content: "▼";
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.deep-info-toggle[open] summary::after {
    transform: rotate(180deg);
}

.deep-info-toggle summary:hover {
    border-color: var(--primary);
}

.deep-info-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-top: 1rem;
}

.deep-info-content h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.deep-info-content h3:first-child {
    margin-top: 0;
}

.deep-info-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.deep-info-content ul,
.deep-info-content ol {
    color: var(--text-muted);
    margin: 1rem 0;
    padding-left: 1.5rem;
    line-height: 1.8;
}

.deep-info-content li {
    margin-bottom: 0.5rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.info-table th,
.info-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.info-table th {
    color: var(--text);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
}

.info-table td {
    color: var(--text-muted);
}

.info-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Pilot Cards */
.pilot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.pilot-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.25rem;
}

.pilot-card h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.pilot-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== Instagram Section ===== */
.instagram-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.instagram-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.instagram-embed {
    width: 100%;
    max-width: 400px;
}

.instagram-embed blockquote {
    margin: 0 !important;
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: 1fr;
    }
    
    .instagram-embed {
        max-width: 100%;
    }
}

/* Single Instagram embed - centered */
.instagram-single {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.instagram-single blockquote {
    margin: 0 !important;
}
