.resume-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resume-modal.show {
    opacity: 1;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.resume-modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--primary-color);
    color: white;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
   /* border-bottom: 3px solid #00ffff;  /* ← diese Zeile hinzufügen */
    box-shadow: 0 2px 8px rgba(0, 255, 255, 0.3); /* optional: Glow */*/
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    background: linear-gradient(90deg, #00ffff 0%, #80ffff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}


.close-modal {
    background: none;
    border: none;
    color: #00ffff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s ease;
}

.close-modal:hover {
    transform: scale(1.1);
}

.modal-body {
    flex: 1;
    overflow: auto;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
   /* background-color: #0a2463;*/
}

.pdf-container {
    width: 100%;
    height: 70vh;
    position: relative;
}

#pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#pdfjs-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: none;
}

.pdf-page {
    margin: 10px auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    max-width: 100%;
}

.pdf-page canvas {
    max-width: 100%;
    height: auto;
}

.modal-footer {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
        background-color: #0a2463;
}

.download-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-end;
}

.download-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.download-btn i {
    margin-right: 8px;
}

#ios-download-hint {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-color);
    text-align: center;
}


.placeholder-container {
    position: relative;
    height: 100%;
    min-height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease;
    overflow: hidden;
}


/* Beiges Rechteck – Abstand links + oben, unten bündig */
.placeholder-container::before {
    content: '';
    position: absolute;
    top: 25px;      /* ← Abstand oben = 20px (wie links) */
    bottom: 0;           /* ← kein Abstand unten */
    left: 25px;        /* ← Abstand links */
    width: calc(33.33% - 20px);
    background-color: #ede9e6;
    z-index: 0;
}


/* Inhalt */
.placeholder-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}


.lock-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 2.5rem;
    stroke: #928e8e;
    fill: #c8c4c4;
    stroke-width: 1.2;
}


.placeholder-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #928e8e;
}


.placeholder-content p {
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    color: #a8a4a4;
}


.modal-footer {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
    min-height: 60px;  /* ← feste Mindesthöhe */
    justify-content: center;
}



/* ===== TABLET (769px - 992px) ===== */
@media (min-width: 769px) and (max-width: 992px) {
    .lock-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 2rem;
    }
    
    .placeholder-content h3 {
        font-size: 1.5rem;
    }
    
    .placeholder-content p {
        font-size: 1rem;
        max-width: 400px;
    }
}




/* Responsive Anpassungen */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    
    .pdf-container {
        height: 60vh;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }

    .placeholder-content {
        padding: 1.5rem;
    }
    

    .placeholder-content h3 {
        font-size: 1.2rem;
    }
    

    .lock-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    

    .placeholder-content p {
        font-size: 0.9rem;
        max-width: 280px;
    }    
}







