/* ===========================
   Blog Section Styles
   =========================== */

.blog {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--deep-black); /* GEÄNDERT: von luxury-gold zu deep-black */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700; /* GEÄNDERT: von 600 zu 700 (fetter) */
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
    font-family: var(--font-body);
}

.blog-card-meta svg {
    width: 16px;
    height: 16px;
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--charcoal);
    margin-bottom: 1rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-card-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--luxury-gold);
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-display);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 1rem;
}

.blog-card-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.blog-card-link:hover svg {
    transform: translateX(5px);
}

/* ===========================
   Blog Detail Modal
   =========================== */

.blog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.blog-modal.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.blog-modal-content {
    max-width: 900px;
    margin: 4rem auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    animation: slideUp 0.4s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.blog-modal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-modal-close:hover {
    transform: rotate(90deg);
    background: var(--luxury-gold);
    color: white;
}

.blog-modal-close svg {
    width: 24px;
    height: 24px;
}

.blog-modal-header {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.blog-modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-modal-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 3rem 2rem 2rem;
}

.blog-modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-modal-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
}

.blog-modal-body {
    padding: 3rem 3rem 4rem;
}

.blog-modal-body h2 {
    font-size: 2rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--charcoal);
    margin: 2.5rem 0 1.5rem;
}

.blog-modal-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--charcoal);
    margin: 2rem 0 1rem;
}

.blog-modal-body p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-modal-body strong {
    color: var(--charcoal);
    font-weight: 600;
}

.blog-modal-body ul,
.blog-modal-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-modal-body li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.blog-cta-box {
    background: linear-gradient(135deg, var(--luxury-gold) 0%, #d4a574 100%);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    color: white;
}

.blog-cta-box h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white !important;
}

.blog-cta-box p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95) !important;
}

.blog-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--luxury-gold);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-display);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.blog-faq-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.blog-faq-table th {
    background: var(--deep-black);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-family: var(--font-display);
}

.blog-faq-table td {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    font-family: var(--font-body);
}

.blog-faq-table tr:last-child td {
    border-bottom: none;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .blog-modal-content {
        margin: 2rem 1rem;
    }

    .blog-modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .blog-modal-title {
        font-size: 2rem;
    }

    .blog-modal-body {
        padding: 2rem 1.5rem 3rem;
    }

    .blog-modal-body h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .blog {
        padding: 4rem 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-card-image {
        height: 220px;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .blog-card-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .blog-card-excerpt {
        font-size: 0.9375rem;
    }

    .blog-modal-content {
        margin: 2rem 0.75rem;
    }

    .blog-modal-header {
        height: 250px;
    }

    .blog-modal-title {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }

    .blog-modal-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .blog-modal-body {
        padding: 2rem 1.25rem 3rem;
    }

    .blog-modal-body h2 {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .blog-modal-body h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .blog-modal-body p,
    .blog-modal-body li {
        font-size: 1rem;
    }

    .blog-cta-box {
        padding: 2rem 1.5rem;
    }

    .blog-faq-table {
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .blog-faq-table th,
    .blog-faq-table td {
        padding: 0.75rem 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}


/* ===========================
   Share Bar (BlogShare)
   =========================== */
.bsb-wrap {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.bsb-label {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c757d;
    white-space: nowrap;
}

.bsb-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bsb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}

.bsb-btn:hover { transform: scale(1.12); opacity: 0.88; }

.bsb-wa   { background: #25d366; color: #fff; }
.bsb-x    { background: #000;    color: #fff; }
.bsb-fb   { background: #1877f2; color: #fff; }
.bsb-ig   { background: radial-gradient(circle at 30% 107%, #fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%); color: #fff; }
.bsb-copy { background: #e9ecef; color: #495057; }

.bsb-copied { background: #d4af37 !important; color: #fff !important; }

/* ===========================
   Like Button (BlogLike)
   =========================== */
.blk-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
}

.blk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 0.55rem 1.1rem;
    cursor: pointer;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.blk-btn:hover {
    border-color: #e63946;
    color: #e63946;
}

.blk-btn.blk-liked {
    border-color: #e63946;
    color: #e63946;
    background: #fff5f5;
}

@keyframes blk-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.blk-btn.blk-pop .blk-heart {
    animation: blk-pop 0.4s ease;
}

.blk-label {
    font-size: 0.85rem;
    color: #6c757d;
}

@media (max-width: 600px) {
    .bsb-wrap { gap: 0.625rem; padding: 0.875rem 1rem; }
    .bsb-btn  { width: 36px; height: 36px; }
    .blk-label { display: none; }
}
