/* ============================================
   DOKUMENTE-BEREICH
   ============================================ */

.documents-section {
    background: #121212;
    padding: 6rem 2rem;
    position: relative;
}

.documents-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.documents-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.documents-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    margin: 0 0 1rem;
}

.documents-header p {
    color: rgba(255,255,255,0.5);
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.05rem;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.doc-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(220, 65, 65, 0.18);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.doc-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.doc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgb(220, 65, 65), #b02222);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.doc-card:hover {
    border-color: rgb(220, 65, 65);
    box-shadow: 0 8px 35px rgba(220, 65, 65, 0.2);
    background: rgba(220, 65, 65, 0.05);
    transform: translateY(-4px) !important;
}

.doc-card:hover::before {
    transform: scaleX(1);
}

.doc-icon-wrap {
    width: 55px;
    height: 55px;
    background: rgba(220, 65, 65, 0.1);
    border: 1px solid rgba(220, 65, 65, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.3s, border-color 0.3s;
}

.doc-card:hover .doc-icon-wrap {
    background: rgba(220, 65, 65, 0.2);
    border-color: rgb(220, 65, 65);
}

.doc-info {
    flex: 1;
}

.doc-title {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.4rem;
}

.doc-meta {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.doc-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.doc-desc {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin: 0;
}

.doc-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(220, 65, 65, 0.5);
    color: rgb(220, 65, 65);
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: auto;
}

.doc-card:hover .doc-download-btn {
    background: rgb(220, 65, 65);
    border-color: rgb(220, 65, 65);
    color: white;
}

.doc-coming-soon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}

.doc-card.unavailable {
    opacity: 0.5 !important;
    pointer-events: none;
}

@media (max-width: 768px) {
    .documents-section {
        padding: 4rem 1rem;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }
}