/* Reiserücktritt Info Icon Styles */
.reiseruecktritt-info {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #0073aa;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 8px;
    font-style: normal;
    text-decoration: none;
    line-height: 1;
    vertical-align: middle;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

.reiseruecktritt-info:hover {
    background: #005a87;
    transform: scale(1.1);
}

/* Popup Styles - WICHTIG: Höhere z-index */
.reiseruecktritt-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.reiseruecktritt-popup-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000000;
}

.reiseruecktritt-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000001;
}

.reiseruecktritt-popup-close:hover {
    background: #f0f0f0;
    color: #333;
}

.reiseruecktritt-popup-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-top: 10px;
}

.reiseruecktritt-popup-text strong {
    color: #0073aa;
}

.reiseruecktritt-popup-text p {
    margin-bottom: 15px;
}

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

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .reiseruecktritt-popup-content {
        padding: 20px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .reiseruecktritt-popup-text {
        font-size: 13px;
    }
}